[Bug 454891] [NEW] Kernel OOPSs with USB unplug

Justin Schoeman justin at schoeman.org.za
Sun Oct 18 18:57:53 UTC 2009


Public bug reported:

I am using ubuntu 9.10 Beta.

Motherboard is an Intel Littlefalls 2.

When I unplug my Huawei E220 (12d1:1003), I occasionaly (maybe 1 out of
every two times) get a kernel oops.  There are two separate oopses that
have ocurred:

Oct 18 19:10:52 mediapc kernel: [  225.584069] usb 5-2: USB disconnect, address 3
Oct 18 19:10:52 mediapc kernel: [  225.585895] option: option_instat_callback: error -108
Oct 18 19:10:52 mediapc kernel: [  225.586107] BUG: unable to handle kernel NULL pointer dereference at 0000006e
Oct 18 19:10:52 mediapc kernel: [  225.586118] IP: [<f92d90bd>] usb_serial_disconnect+0xdd/0x160 [usbserial]
Oct 18 19:10:52 mediapc kernel: [  225.586141] *pde = 7f021067 
Oct 18 19:10:52 mediapc kernel: [  225.586147] Oops: 0000 [#1] SMP 
Oct 18 19:10:52 mediapc kernel: [  225.586154] last sysfs file: /sys/devices/virtual/net/ppp0/type
Oct 18 19:10:52 mediapc kernel: [  225.586161] Modules linked in: ppp_deflate zlib_deflate ppp_async crc_ccitt nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ppdev saa7134_alsa snd_hda_codec_realtek snd_hda_intel snd_hda_codec tda827x tda8290 snd_pcm_oss snd_mixer_oss tuner snd_pcm snd_seq_dummy snd_seq_oss saa7134 snd_seq_midi snd_rawmidi ir_common snd_seq_midi_event iptable_filter ip_tables x_tables snd_seq snd_timer snd_seq_device v4l2_common videodev v4l1_compat videobuf_dma_sg videobuf_core tveeprom psmouse option snd usbserial joydev soundcore snd_page_alloc lp serio_raw parport fbcon tileblit font bitblit softcursor hid_logitech ff_memless usbhid usb_storage i915 intel_agp drm i2c_algo_bit video output r8169 mii agpgart
Oct 18 19:10:52 mediapc kernel: [  225.586267] 
Oct 18 19:10:52 mediapc kernel: [  225.586275] Pid: 40, comm: khubd Not tainted (2.6.31-11-generic #36-Ubuntu)         
Oct 18 19:10:52 mediapc kernel: [  225.586282] EIP: 0060:[<f92d90bd>] EFLAGS: 00010246 CPU: 0
Oct 18 19:10:52 mediapc kernel: [  225.586296] EIP is at usb_serial_disconnect+0xdd/0x160 [usbserial]
Oct 18 19:10:52 mediapc kernel: [  225.586302] EAX: f69fec60 EBX: f69fec98 ECX: 00000000 EDX: 0000000a
Oct 18 19:10:52 mediapc kernel: [  225.586308] ESI: f6b3b41c EDI: f69fec60 EBP: f7173e20 ESP: f7173e00
Oct 18 19:10:52 mediapc kernel: [  225.586314]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Oct 18 19:10:52 mediapc kernel: [  225.586321] Process khubd (pid: 40, ti=f7172000 task=f715bed0 task.ti=f7172000)
Oct 18 19:10:52 mediapc kernel: [  225.586326] Stack:
Oct 18 19:10:52 mediapc kernel: [  225.586330]  00000003 f7173e20 c040cc59 00000000 f6b3b400 f6b3b400 f6b3b41c f93302e0
Oct 18 19:10:52 mediapc kernel: [  225.586344] <0> f7173e3c c040fd49 00000000 f6a83c00 f6b3b41c f9330314 c076f020 f7173e4c
Oct 18 19:10:52 mediapc kernel: [  225.586360] <0> c039dc9e f6b3b450 f6b3b41c f7173e5c c039ddb0 c076f020 f6b3b41c f7173e70
Oct 18 19:10:52 mediapc kernel: [  225.586376] Call Trace:
Oct 18 19:10:52 mediapc kernel: [  225.586389]  [<c040cc59>] ? usb_disable_interface+0x39/0x50
Oct 18 19:10:52 mediapc kernel: [  225.586401]  [<c040fd49>] ? usb_unbind_interface+0xe9/0x120
Oct 18 19:10:52 mediapc kernel: [  225.586413]  [<c039dc9e>] ? __device_release_driver+0x3e/0x90
Oct 18 19:10:52 mediapc kernel: [  225.586421]  [<c039ddb0>] ? device_release_driver+0x20/0x40
Oct 18 19:10:52 mediapc kernel: [  225.586430]  [<c039d0f3>] ? bus_remove_device+0x73/0x90
Oct 18 19:10:52 mediapc kernel: [  225.586437]  [<c039b85f>] ? device_del+0xef/0x150
Oct 18 19:10:52 mediapc kernel: [  225.586445]  [<c040cbad>] ? usb_disable_device+0x7d/0xf0
Oct 18 19:10:52 mediapc kernel: [  225.586455]  [<c04077fe>] ? usb_disconnect+0x9e/0x110
Oct 18 19:10:52 mediapc kernel: [  225.586464]  [<c0407bac>] ? hub_port_connect_change+0x7c/0x830
Oct 18 19:10:52 mediapc kernel: [  225.586472]  [<c040d880>] ? usb_control_msg+0xd0/0x120
Oct 18 19:10:52 mediapc kernel: [  225.586480]  [<c0400100>] ? register_cdrom+0xb0/0x2d0
Oct 18 19:10:52 mediapc kernel: [  225.586489]  [<c0409415>] ? hub_events+0x1f5/0x500
Oct 18 19:10:52 mediapc kernel: [  225.586498]  [<c05693bc>] ? schedule+0x40c/0x730
Oct 18 19:10:52 mediapc kernel: [  225.586508]  [<c0157a7a>] ? finish_wait+0x4a/0x70
Oct 18 19:10:52 mediapc kernel: [  225.586516]  [<c0409720>] ? hub_thread+0x0/0x150
Oct 18 19:10:52 mediapc kernel: [  225.586523]  [<c0409755>] ? hub_thread+0x35/0x150
Oct 18 19:10:52 mediapc kernel: [  225.586531]  [<c0157920>] ? autoremove_wake_function+0x0/0x40
Oct 18 19:10:52 mediapc kernel: [  225.586539]  [<c015762c>] ? kthread+0x7c/0x90
Oct 18 19:10:52 mediapc kernel: [  225.586546]  [<c01575b0>] ? kthread+0x0/0x90
Oct 18 19:10:52 mediapc kernel: [  225.586555]  [<c0103f17>] ? kernel_thread_helper+0x7/0x10
Oct 18 19:10:52 mediapc kernel: [  225.586560] Code: 01 c7 83 94 01 00 00 03 00 00 00 e8 ce 26 0c c7 c7 83 94 01 00 00 00 00 00 00 0f b6 47 0e 39 f0 7f 87 8d 74 26 00 8b 57 04 89 f8 <ff> 52 64 89 f8 e8 b9 fd ff ff 8b 45 f0 8b 58 24 83 c0 1c e8 ab 
Oct 18 19:10:52 mediapc kernel: [  225.586646] EIP: [<f92d90bd>] usb_serial_disconnect+0xdd/0x160 [usbserial] SS:ESP 0068:f7173e00
Oct 18 19:10:52 mediapc kernel: [  225.586665] CR2: 000000000000006e


AND

Oct 18 18:41:42 mediapc kernel: [ 1441.049107] option: option_instat_callback: error -108
Oct 18 18:41:42 mediapc kernel: [ 1441.049293] BUG: unable to handle kernel paging request at 0010b89b
Oct 18 18:41:42 mediapc kernel: [ 1441.049302] IP: [<c0124438>] __ticket_spin_lock+0x8/0x20
Oct 18 18:41:42 mediapc kernel: [ 1441.049319] *pde = 7e245067 
Oct 18 18:41:42 mediapc kernel: [ 1441.049325] Oops: 0002 [#1] SMP 
Oct 18 18:41:42 mediapc kernel: [ 1441.049331] last sysfs file: /sys/devices/virtual/net/ppp0/flags
Oct 18 18:41:42 mediapc kernel: [ 1441.049338] Modules linked in: ppp_deflate zlib_deflate ppp_async crc_ccitt nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ppdev saa7134_alsa snd_hda_codec_realtek snd_hda_intel snd_hda_codec tda827x tda8290 snd_pcm_oss snd_mixer_oss snd_pcm tuner snd_seq_dummy snd_seq_oss snd_seq_midi saa7134 snd_rawmidi snd_seq_midi_event ir_common snd_seq v4l2_common snd_timer videodev snd_seq_device v4l1_compat videobuf_dma_sg videobuf_core snd tveeprom iptable_filter option ip_tables soundcore psmouse usbserial snd_page_alloc lp serio_raw x_tables joydev parport hid_logitech ff_memless usbhid fbcon tileblit font bitblit softcursor usb_storage i915 drm i2c_algo_bit video r8169 mii intel_agp output agpgart
Oct 18 18:41:42 mediapc kernel: [ 1441.049444] 
Oct 18 18:41:42 mediapc kernel: [ 1441.049452] Pid: 40, comm: khubd Not tainted (2.6.31-11-generic #36-Ubuntu)         
Oct 18 18:41:42 mediapc kernel: [ 1441.049459] EIP: 0060:[<c0124438>] EFLAGS: 00010096 CPU: 0
Oct 18 18:41:42 mediapc kernel: [ 1441.049465] EIP is at __ticket_spin_lock+0x8/0x20
Oct 18 18:41:42 mediapc kernel: [ 1441.049471] EAX: 0010b89b EBX: 00000296 ECX: 0010b89b EDX: 00000100
Oct 18 18:41:42 mediapc kernel: [ 1441.049477] ESI: 0010b89b EDI: f54e1ae0 EBP: f7173dc8 ESP: f7173dc8
Oct 18 18:41:42 mediapc kernel: [ 1441.049483]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Oct 18 18:41:42 mediapc kernel: [ 1441.049490] Process khubd (pid: 40, ti=f7172000 task=f715bed0 task.ti=f7172000)
Oct 18 18:41:42 mediapc kernel: [ 1441.049494] Stack:
Oct 18 18:41:42 mediapc kernel: [ 1441.049498]  f7173dd0 c01244c8 f7173de4 c056b21a 0010b893 0010b89b f54e1ae0 f7173df8
Oct 18 18:41:42 mediapc kernel: [ 1441.049513] <0> c0381f8d 0010b88f 00000003 f54e1ae0 f7173e20 f92e104b 00000003 f7173e20
Oct 18 18:41:42 mediapc kernel: [ 1441.049528] <0> c040cc59 00000000 f697eb00 f697eb00 f697eb1c f93512e0 f7173e3c c040fd49
Oct 18 18:41:42 mediapc kernel: [ 1441.049544] Call Trace:
Oct 18 18:41:42 mediapc kernel: [ 1441.049544] Call Trace:
Oct 18 18:41:42 mediapc kernel: [ 1441.049553]  [<c01244c8>] ? default_spin_lock_flags+0x8/0x10
Oct 18 18:41:42 mediapc kernel: [ 1441.049564]  [<c056b21a>] ? _spin_lock_irqsave+0x2a/0x40
Oct 18 18:41:42 mediapc kernel: [ 1441.049573]  [<c0381f8d>] ? tty_port_tty_get+0x1d/0x50
Oct 18 18:41:42 mediapc kernel: [ 1441.049593]  [<f92e104b>] ? usb_serial_disconnect+0x6b/0x160 [usbserial]
Oct 18 18:41:42 mediapc kernel: [ 1441.049603]  [<c040cc59>] ? usb_disable_interface+0x39/0x50
Oct 18 18:41:42 mediapc kernel: [ 1441.049613]  [<c040fd49>] ? usb_unbind_interface+0xe9/0x120
Oct 18 18:41:42 mediapc kernel: [ 1441.049624]  [<c039dc9e>] ? __device_release_driver+0x3e/0x90
Oct 18 18:41:42 mediapc kernel: [ 1441.049632]  [<c039ddb0>] ? device_release_driver+0x20/0x40
Oct 18 18:41:42 mediapc kernel: [ 1441.049640]  [<c039d0f3>] ? bus_remove_device+0x73/0x90
Oct 18 18:41:42 mediapc kernel: [ 1441.049648]  [<c039b85f>] ? device_del+0xef/0x150
Oct 18 18:41:42 mediapc kernel: [ 1441.049656]  [<c040cbad>] ? usb_disable_device+0x7d/0xf0
Oct 18 18:41:42 mediapc kernel: [ 1441.049665]  [<c04077fe>] ? usb_disconnect+0x9e/0x110
Oct 18 18:41:42 mediapc kernel: [ 1441.049674]  [<c0407bac>] ? hub_port_connect_change+0x7c/0x830
Oct 18 18:41:42 mediapc kernel: [ 1441.049681]  [<c040d880>] ? usb_control_msg+0xd0/0x120
Oct 18 18:41:42 mediapc kernel: [ 1441.049690]  [<c0400100>] ? register_cdrom+0xb0/0x2d0
Oct 18 18:41:42 mediapc kernel: [ 1441.049698]  [<c0409415>] ? hub_events+0x1f5/0x500
Oct 18 18:41:42 mediapc kernel: [ 1441.049706]  [<c05693bc>] ? schedule+0x40c/0x730
Oct 18 18:41:42 mediapc kernel: [ 1441.049715]  [<c0157a7a>] ? finish_wait+0x4a/0x70
Oct 18 18:41:42 mediapc kernel: [ 1441.049723]  [<c0409720>] ? hub_thread+0x0/0x150
Oct 18 18:41:42 mediapc kernel: [ 1441.049731]  [<c0409755>] ? hub_thread+0x35/0x150
Oct 18 18:41:42 mediapc kernel: [ 1441.049738]  [<c0157920>] ? autoremove_wake_function+0x0/0x40
Oct 18 18:41:42 mediapc kernel: [ 1441.049746]  [<c015762c>] ? kthread+0x7c/0x90
Oct 18 18:41:42 mediapc kernel: [ 1441.049753]  [<c01575b0>] ? kthread+0x0/0x90


In both cases, the kernel stopped responding ro USB plug events, and had to be rebooted.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  justin     3515 F.... pulseaudio
 /dev/snd/controlC0:  justin     3515 F.... pulseaudio
 /dev/snd/pcmC0D1p:   justin     3515 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x903c0000 irq 22'
   Mixer name	: 'Realtek ALC662 rev1'
   Components	: 'HDA:10ec0662,8086d604,00100101'
   Controls      : 24
   Simple ctrls  : 14
Card1.Amixer.info:
 Card hw:1 'SAA7134'/'saa7133[0] at 0x90100000 irq 21'
   Mixer name	: 'SAA7134 Mixer'
   Components	: ''
   Controls      : 6
   Simple ctrls  : 3
Date: Sun Oct 18 20:40:04 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=e1dd0e6f-083b-450b-b7b8-0e9d858726d7
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
 
 ppp0      no wireless extensions.
Package: linux-generic 2.6.31.11.22
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-11-generic root=UUID=9d3aedb3-34fe-44ab-9366-c2da3611856f ro quiet splash
ProcEnviron:
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
RelatedPackageVersions: linux-firmware 1.22
RfKill:
 
SourcePackage: linux-meta
Uname: Linux 2.6.31-11-generic i686
dmi.bios.date: 05/28/2009
dmi.bios.vendor: Intel Corp.
dmi.bios.version: LF94510J.86A.0182.2009.0528.2014
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: D945GCLF2
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE46416-107
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrLF94510J.86A.0182.2009.0528.2014:bd05/28/2009:svn:pn:pvr:rvnIntelCorporation:rnD945GCLF2:rvrAAE46416-107:cvn:ct3:cvr:

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Kernel OOPSs with USB unplug
https://bugs.launchpad.net/bugs/454891
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.




More information about the kernel-bugs mailing list