2.6.21-rc3-mm2: oops in pl2303_shutdown

Jim Radford <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
I get the following oopses when unplugging my Prolific PL2303 serial
adaptor.  Sometimes I get one, sometimes the other.  I think I've seen
something similar with the ftdi_sio driver as well, so I don't think
it started with 2.6.21-rc3-mm2.

-Jim

pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000168
 printing eip:
f8c278eb
*pde = 2b927067
*pte = 00000000
Oops: 0000 [#1]
PREEMPT
last sysfs file: devices/system/cpu/cpu0/cpufreq/scaling_setspeed
Modules linked in: i915 ipv6 autofs4 hidp l2cap sunrpc acpi_cpufreq pl2303 usbserial vfat fat dm_mirror dm_mod video thermal processor fan dock button battery asus_acpi ac parport_pc lp parport nvram snd_intel8x0m snd_intel8x0 snd_ac97_codec pcmcia ac97_bus snd_seq_dummy shpchp snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm i2c_i801 joydev yenta_socket ipw2200 pcspkr fw_ohci fw_core ieee80211 ieee80211_crypt rsrc_nonstatic pcmcia_core snd_timer snd ohci1394 soundcore i2c_core hci_usb ieee1394 snd_page_alloc bluetooth tg3 irda crc_ccitt ata_piix ata_generic libata sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd ssb uhci_hcd
CPU:    0
EIP:    0060:[<f8c278eb>]    Not tainted VLI
EFLAGS: 00010297   (2.6.21-rc3-mm2 #4)
EIP is at pl2303_shutdown+0x35/0x6b [pl2303]
eax: 00000000   ebx: f7b19940   ecx: f7fff4c0   edx: f8c278b6
esi: 00000000   edi: f7b19940   ebp: f784ca18   esp: c19d3e4c
ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
Process khubd (pid: 152, ti=c19d2000 task=f7d0da90 task.ti=c19d2000)
Stack: f784da78 00000000 f784da78 f7b19940 00000001 00000001 f8c669b7 f75301c0
       f7b19940 00000000 f784ca18 c025109f f7b19974 f8c6692e c01bcb1f f784ca18
       c0252b5c f784da00 00000000 f784da00 f7b19940 f8c66841 f784ca50 c01bcb1f
Call Trace:
 [<f8c669b7>] destroy_serial+0x89/0x12e [usbserial]
 [<c025109f>] usb_kill_urb+0x4e/0xcb
 [<f8c6692e>] destroy_serial+0x0/0x12e [usbserial]
 [<c01bcb1f>] kref_put+0x75/0x82
 [<c0252b5c>] usb_resume_both+0x13/0xb6
 [<f8c66841>] usb_serial_disconnect+0x74/0x9d [usbserial]
 [<c01bcb1f>] kref_put+0x75/0x82
 [<c025132d>] usb_disable_interface+0x22/0x2f
 [<c02536c8>] usb_unbind_interface+0x3e/0x7c
 [<c0228c1b>] __device_release_driver+0x6e/0x8b
 [<c0228f6a>] device_release_driver+0x1d/0x32
 [<c0228605>] bus_remove_device+0x6a/0x7a
 [<c0226d41>] device_del+0x136/0x190
 [<c02512ac>] usb_disable_device+0x5c/0xbb
 [<c024df86>] usb_disconnect+0x82/0x114
 [<c024ea66>] hub_thread+0x375/0xa8a
 [<c01169e5>] __wake_up_common+0x31/0x4f
 [<c0129537>] autoremove_wake_function+0x0/0x35
 [<c024e6f1>] hub_thread+0x0/0xa8a
 [<c012947b>] kthread+0xa0/0xc9
 [<c01293db>] kthread+0x0/0xc9
 [<c01048e3>] kernel_thread_helper+0x7/0x10
 =======================
Code: 80 ad c2 f8 00 74 1c c7 44 24 08 e4 84 c2 f8 c7 44 24 04 f4 84 c2 f8 c7 04 24 44 8a c2 f8 e8 86 34 4f c7 31 f6 eb 2b 8b 44 b7 14 <8b> 98 68 01 00 00 85 db 74 1c 8b 03 e8 64 ec ff ff 89 d8 e8 8e
EIP: [<f8c278eb>] pl2303_shutdown+0x35/0x6b [pl2303] SS:ESP 0068:c19d3e4c


drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
usb 1-1: USB disconnect, address 5
pl2303 1-1:1.0: device disconnected
pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000168
 printing eip:
f8b888eb
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
last sysfs file: class/tty/ttyUSB0/dev
Modules linked in: pl2303 ftdi_sio usbserial vfat fat dm_mirror dm_mod video thermal processor fan dock button battery asus_acpi ac parport_pc lp parport nvram snd_intel8x0 snd_intel8x0m snd_ac97_codec ac97_bus shpchp snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device pcmcia snd_pcm_oss snd_mixer_oss i2c_i801 yenta_socket snd_pcm joydev snd_timer ipw2200 i2c_core rsrc_nonstatic fw_ohci fw_core pcmcia_core snd ohci1394 ieee1394 soundcore pcspkr tg3 hci_usb ieee80211 snd_page_alloc ieee80211_crypt irda bluetooth crc_ccitt ata_piix ata_generic libata sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd ssb uhci_hcd
CPU:    0
EIP:    0060:[<f8b888eb>]    Not tainted VLI
EFLAGS: 00210297   (2.6.21-rc3-mm2 #4)
EIP is at pl2303_shutdown+0x35/0x6b [pl2303]
eax: 00000000   ebx: f7ba4e40   ecx: f7fff4c0   edx: f8b888b6
esi: 00000000   edi: f7ba4e40   ebp: 00000000   esp: f7601e6c
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process golem (pid: 2095, ti=f7600000 task=f7d1da10 task.ti=f7600000)
Stack: f7d7b278 00000000 f7d7b278 f7ba4e40 00000001 00000000 f8b759b7 00100100
       00200200 f7d7b200 f7d7b208 c19c1bc0 f7ba4e74 f8b7592e c01bcb1f c01feba4
       f7db30cc f7db3000 f7db3000 f7db3000 c19c1bc0 c01fedf7 0000000e c02e007b
Call Trace:
 [<f8b759b7>] destroy_serial+0x89/0x12e [usbserial]
 [<f8b7592e>] destroy_serial+0x0/0x12e [usbserial]
 [<c01bcb1f>] kref_put+0x75/0x82
 [<c01feba4>] tty_fasync+0x3e/0xb2
 [<c01fedf7>] release_dev+0x1df/0x5e7
 [<c02e007b>] unix_detach_fds+0xc/0x36
 [<c01d224e>] vgacon_set_cursor_size+0xbd/0xe0
 [<c01ff20e>] tty_release+0xf/0x18
 [<c01643b3>] __fput+0x96/0x15e
 [<c0161f9a>] filp_close+0x51/0x58
 [<c0162f2e>] sys_close+0x75/0xbf
 [<c0103d2e>] sysenter_past_esp+0x5f/0x85
 =======================
Code: 80 bd b8 f8 00 74 1c c7 44 24 08 e4 94 b8 f8 c7 44 24 04 f4 94 b8 f8 c7 04 24 44 9a b8 f8 e8 86 24 59 c7 31 f6 eb 2b 8b 44 b7 14 <8b> 98 68 01 00 00 85 db 74 1c 8b 03 e8 64 ec ff ff 89 d8 e8 8e
EIP: [<f8b888eb>] pl2303_shutdown+0x35/0x6b [pl2303] SS:ESP 0068:f7601e6c

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.