Re: Kernel oops when shutting down program using usb device

Philip Balister
2008-07-16T21:59:05Z

[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]

Alan Stern wrote:
> On Wed, 16 Jul 2008, Philip Balister wrote:
>
>> The program streams data from the USRP (Universal Software Radio
>> Peripheral) and calculates a transfer rate. It looks like the test
>> completes and the program ooops as it is exiting.
>>
>> Let me know if I can collect anything else. I am not much of a usb guy :(
>>
>> Philip
>>
>> root@beagleboard:~/gnuradio-3.1.2/usrp/host/apps#
>> ./test_usrp_standard_rx -D 200rx_overrun
>> eth0: set allmulti
>> eth0: set allmulti
>> eth0: set allmulti
>> eth0: set allmulti
>> xfered 1.34e+08 bytes in 116 seconds. 1.159e+06 bytes/sec. cpu time =
>> 1.633
>> noverruns = 1
>> ------------[ cut here ]------------
>> WARNING: at lib/kref.c:43 kref_get+0x28/0x44()
>
> This is just a warning, not an oops. Nevertheless, it should not
> happen.
>
> What version of the kernel were you running? On what hardware and
> using which USB host controller driver? Is the problem reproducible?

Doh, silly me for leaving out details ....

Beagle Board, OMAP3 based. Kernel is a fairly recent git + some patches.
I can backtrack to an exact collection if necessary.

I ran the test program several times and the system hangs when the
program ends. I do not think I get the warning message every time
though, the system does hang every time.

Philip

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]