USB 3G modem causes system crash - WARNING: at include/linux/kref.h:42 usb_get_urb+0x40/0x48()

Bug #1236475 reported by Vilem Jirous
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

USB 3G modem with active PPP connection ocassionally causes system crash with following message in /var/log/messages:

Oct 5 13:20:46 linux kernel: [83312.629525] ------------[ cut here ]------------
Oct 5 13:20:46 linux kernel: [83312.629598] WARNING: at include/linux/kref.h:42 usb_get_urb+0x40/0x48()
Oct 5 13:20:46 linux kernel: [83312.629636] Modules linked in: ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt ppp_generic slhc w1_therm w1_gpio wire cn snd_bcm2835 snd_pcm snd_seq snd_timer snd_seq_device snd snd_page_alloc sr_mod cdrom option usb_wwan cdc_ncm usbserial leds_gpio led_class
Oct 5 13:20:46 linux kernel: [83312.629789] [<c0013a7c>] (unwind_backtrace+0x0/0xf0) from [<c001e2b4>] (warn_slowpath_common+0x4c/0x64)
Oct 5 13:20:46 linux kernel: [83312.629818] [<c001e2b4>] (warn_slowpath_common+0x4c/0x64) from [<c001e2e8>] (warn_slowpath_null+0x1c/0x24)
Oct 5 13:20:46 linux kernel: [83312.629863] [<c001e2e8>] (warn_slowpath_null+0x1c/0x24) from [<c027473c>] (usb_get_urb+0x40/0x48)
Oct 5 13:20:46 linux kernel: [83312.629894] [<c027473c>] (usb_get_urb+0x40/0x48) from [<c02732a8>] (usb_hcd_submit_urb+0x2c/0x77c)
Oct 5 13:20:46 linux kernel: [83312.629950] [<c02732a8>] (usb_hcd_submit_urb+0x2c/0x77c) from [<bf02cb44>] (usb_wwan_write+0x14c/0x2d4 [usb_wwan])
Oct 5 13:20:46 linux kernel: [83312.630066] [<bf02cb44>] (usb_wwan_write+0x14c/0x2d4 [usb_wwan]) from [<bf0084cc>] (serial_write+0x58/0xbc [usbserial])
Oct 5 13:20:46 linux kernel: [83312.630155] [<bf0084cc>] (serial_write+0x58/0xbc [usbserial]) from [<bf12410c>] (ppp_async_push+0x37c/0x598 [ppp_async])
Oct 5 13:20:46 linux kernel: [83312.630208] [<bf12410c>] (ppp_async_push+0x37c/0x598 [ppp_async]) from [<bf1244e8>] (ppp_async_process+0x60/0x74 [ppp_async])
Oct 5 13:20:46 linux kernel: [83312.630275] [<bf1244e8>] (ppp_async_process+0x60/0x74 [ppp_async]) from [<c0025710>] (tasklet_action+0x60/0xb4)
Oct 5 13:20:46 linux kernel: [83312.630307] [<c0025710>] (tasklet_action+0x60/0xb4) from [<c0025840>] (__do_softirq+0xa0/0x154)
Oct 5 13:20:46 linux kernel: [83312.630334] [<c0025840>] (__do_softirq+0xa0/0x154) from [<c0025d08>] (irq_exit+0x8c/0x94)
Oct 5 13:20:46 linux kernel: [83312.630383] [<c0025d08>] (irq_exit+0x8c/0x94) from [<c000e920>] (handle_IRQ+0x34/0x84)
Oct 5 13:20:46 linux kernel: [8Oct 5 13:17:16 linux kernel: imklog 5.8.11, log source = /proc/kmsg started.

Sometimes the system runs without problem for 1 month, sometimes crashes after 1 day.
Used USB modem: Huawei E303
Linux version: Linux linux 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux

Thanks for help!

Revision history for this message
dlundh (dlundh) wrote :

I started having this after the latest updates to Raspbian last week.

Hardware:
Device : /dev/ttyUSB0
Manufacturer : Huawei
Model : E220 (E220)
Firmware : 11.117.09.00.00

Revision history for this message
Diederik (didi-debian) wrote :

Is this still an issue?

If so, could you provide the output of 'lsusb' and 'uname -a' ?

Changed in raspbian:
status: New → Incomplete
Revision history for this message
dlundh (dlundh) wrote : Re: [Bug 1236475] Re: USB 3G modem causes system crash - WARNING: at include/linux/kref.h:42 usb_get_urb+0x40/0x48()
Download full text (3.7 KiB)

Hello.

I re-installed this yesterday and yes it is still an issue.

lsusb:
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.

uname -a:
Linux pi 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux

Thanks,
Daniel

On Tue, Jan 12, 2016 at 5:26 PM, Diederik <email address hidden> wrote:

> Is this still an issue?
>
> If so, could you provide the output of 'lsusb' and 'uname -a' ?
>
> ** Changed in: raspbian
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1236475
>
> Title:
> USB 3G modem causes system crash - WARNING: at include/linux/kref.h:42
> usb_get_urb+0x40/0x48()
>
> Status in Raspbian:
> Incomplete
>
> Bug description:
> USB 3G modem with active PPP connection ocassionally causes system
> crash with following message in /var/log/messages:
>
> Oct 5 13:20:46 linux kernel: [83312.629525] ------------[ cut here
> ]------------
> Oct 5 13:20:46 linux kernel: [83312.629598] WARNING: at
> include/linux/kref.h:42 usb_get_urb+0x40/0x48()
> Oct 5 13:20:46 linux kernel: [83312.629636] Modules linked in:
> ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt
> ppp_generic slhc w1_therm w1_gpio wire cn snd_bcm2835 snd_pcm snd_seq
> snd_timer snd_seq_device snd snd_page_alloc sr_mod cdrom option usb_wwan
> cdc_ncm usbserial leds_gpio led_class
> Oct 5 13:20:46 linux kernel: [83312.629789] [<c0013a7c>]
> (unwind_backtrace+0x0/0xf0) from [<c001e2b4>]
> (warn_slowpath_common+0x4c/0x64)
> Oct 5 13:20:46 linux kernel: [83312.629818] [<c001e2b4>]
> (warn_slowpath_common+0x4c/0x64) from [<c001e2e8>]
> (warn_slowpath_null+0x1c/0x24)
> Oct 5 13:20:46 linux kernel: [83312.629863] [<c001e2e8>]
> (warn_slowpath_null+0x1c/0x24) from [<c027473c>] (usb_get_urb+0x40/0x48)
> Oct 5 13:20:46 linux kernel: [83312.629894] [<c027473c>]
> (usb_get_urb+0x40/0x48) from [<c02732a8>] (usb_hcd_submit_urb+0x2c/0x77c)
> Oct 5 13:20:46 linux kernel: [83312.629950] [<c02732a8>]
> (usb_hcd_submit_urb+0x2c/0x77c) from [<bf02cb44>]
> (usb_wwan_write+0x14c/0x2d4 [usb_wwan])
> Oct 5 13:20:46 linux kernel: [83312.630066] [<bf02cb44>]
> (usb_wwan_write+0x14c/0x2d4 [usb_wwan]) from [<bf0084cc>]
> (serial_write+0x58/0xbc [usbserial])
> Oct 5 13:20:46 linux kernel: [83312.630155] [<bf0084cc>]
> (serial_write+0x58/0xbc [usbserial]) from [<bf12410c>]
> (ppp_async_push+0x37c/0x598 [ppp_async])
> Oct 5 13:20:46 linux kernel: [83312.630208] [<bf12410c>]
> (ppp_async_push+0x37c/0x598 [ppp_async]) from [<bf1244e8>]
> (ppp_async_process+0x60/0x74 [ppp_async])
> Oct 5 13:20:46 linux kernel: [83312.630275] [<bf1244e8>]
> (ppp_async_process+0x60/0x74 [ppp_async]) from [<c0025710>]
> (tasklet_action+0x60/0xb4)
> Oct 5 13:20:46 linux kernel: [83312.630307] [<c0025710>]
> (tasklet_action+0x60/0xb4) from [<c0025840>] (__do_softirq+0xa0/0x154)
> Oct 5 13:20:46 linux kernel: [83312.630334] [<c0025840>]
> (__do_softirq+0xa0/0x154) from [<c0025d08>] (irq_exit+0x8c/0x94)
> Oct 5 13:...

Read more...

Revision history for this message
Diederik (didi-debian) wrote :

As this is an issue with the kernel from raspberrypi.org, you should report it here: https://github.com/raspberrypi/linux/issues

Also include the USB ID of your USB 3G modem as that seems to be missing from your 'lsusb' output.
They will also want to know the kernel version, so provide the output of 'uname -a' as well.

Changed in raspbian:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.