discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Segfault


From: Stefan Ott
Subject: Re: [Discuss-gnuradio] Segfault
Date: Wed, 4 Apr 2012 16:04:38 +0200

On Wed, Apr 4, 2012 at 15:36, Philip Balister <address@hidden> wrote:
> On 04/04/2012 05:24 AM, Stefan Ott wrote:
>> On Tue, Apr 3, 2012 at 16:12, Stefan Ott <address@hidden> wrote:
>>>
>>> Ah thanks. I just built a new kernel using that patch (i.e. from the
>>> e100-3.0-pm-2-bugfixes branch). I hope that was the right one, the
>>> usrp_e driver looks ok but is only at version 0.2 as opposed to the
>>> one from the e100-3.0-pm-2-fixes-from-review branch which is at
>>> version 0.3. I still get a segfault / kernel NULL pointer dereference
>>> as soon as I modprobe usrp_e though.
>>
>> Sorry about that, I had some sort of mess and tried the wrong kernel
>> again. With the e100-3.0-pm-2-bugfixes branch it seems to basically
>> work (i.e. I can load the module and uhd_find_devices shows the E100)
>> but uhd_usrp_probe aborts:
>>
>> # uhd_usrp_probe
>> linux; GNU C++ version 4.6.1; Boost_104800; UHD_003.003.002-unknown
>>
>> -- Opening device node /dev/usrp_e0...
>>
>> I will try again with the latest development version of uhd and report back.
>>
>> cheers & sorry for the noise
>
> OK, so instead of crashing, it just aborts. This suggests my check on
> ioctl arguments is working. We need to poke around uhd and see what is
> passing to the kernel.

Yup, seems your changes helped! Just FYI, the situation doesn't change
regardless of whether I use uhd 3.3.2, 3.4.0, git master or git next.
I'll try to have a closer look at the ioctls (I'm not particularly
good / experienced at this) to see whether I can find anything that's
different on my installation when compared to the shipped microSD
cards. In particular I think it would be interesting to try my kernel
with your cards to see what happens, i.e. to figure out whether the
problem is on the kernel side or in the user-space tools.

I'll report back when I find something new.

cheers
-- 
Stefan Ott
Communication and Distributed Systems
Institute of Computer Science and Applied Mathematics
University of Bern



reply via email to

[Prev in Thread] Current Thread [Next in Thread]