On Tue, 14 Sep 2004, Andrew Morton wrote: > Someone tried to create an already-existing slab cache.
Judging from the stack trace, it looks like the guilty party lies in the SCSI subsystem. This bug should be reassigned to them. > Begin forwarded message: > > Date: Tue, 14 Sep 2004 21:53:22 -0700 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [Bugme-new] [Bug 3400] New: Kernel reports a bug when unmounting USB > keychain > > > http://bugme.osdl.org/show_bug.cgi?id=3400 > > Summary: Kernel reports a bug when unmounting USB keychain > Kernel Version: 2.6.8-gentoo-r3 (I'm not sure what patches they include) > Status: NEW > Severity: normal > Owner: [EMAIL PROTECTED] > Submitter: [EMAIL PROTECTED] > > > The kernel printed out the following when I tried to unmount my USB keychain. > I have *not* been able to reproduce this bug consistantly. I hope that the > following is useful. By the way, this happened after the keychain had been > mounted, but not used for about half an hour. If you're interested, it is a > Memorex 512 MB keychain using FAT32. I > mounted /dev/sda (not sda1 like my other fried one) for it to work. I don't understand. You say this appeared when you tried to unmount your keychain. But the stack trace shows that the error occurred not during an unmount (which doesn't involve unplugging or plugging in the device but merely running the 'umount' program) -- it occurred when the device was plugged in. > kernel BUG at mm/slab.c:1382! > invalid operand: 0000 [#1] > PREEMPT > Modules linked in: usb_storage sd_mod scsi_mod rtc ohci_hcd > CPU: 0 > EIP: 0060:[<c013f409>] Not tainted > EFLAGS: 00010202 (2.6.8-gentoo-r3) > EIP is at kmem_cache_create+0x3b9/0x550 > eax: 00000032 ebx: c13adc50 ecx: c0479018 edx: c03a9458 > esi: d096f68f edi: d096f68f ebp: c13adb60 esp: cfeffd2c > ds: 007b es: 007b ss: 0068 > Process khubd (pid: 21, threadinfo=cfefe000 task=cfed1100) > Stack: c036ec5c d096f680 00000020 00002000 cfeffd4c c13adb9c ffffffff ffffffe0 > 000000a0 cfeeac00 d09799e0 cfeeac0c d0979a08 d0966384 d096f680 00000160 > 00000020 00002000 00000000 00000000 000001d8 cfeeac00 cfeeadd8 d0956920 > Call Trace: > [<d0966384>] scsi_setup_command_freelist+0x74/0x100 [scsi_mod] > [<d096745b>] scsi_host_alloc+0x1ab/0x2b0 [scsi_mod] > [<d0941f34>] usb_stor_Bulk_max_lun+0x74/0xc0 [usb_storage] > [<d094338e>] usb_stor_acquire_resources+0x6e/0x130 [usb_storage] > [<d094374b>] storage_probe+0x13b/0x240 [usb_storage] > [<c028397a>] usb_probe_interface+0x5a/0x60 > [<c025450f>] bus_match+0x3f/0x70 > [<c0254581>] device_attach+0x41/0xa0 > [<c025485b>] bus_add_device+0x5b/0xb0 > [<c0253611>] device_add+0xa1/0x130 > [<c028ae3e>] usb_set_configuration+0x2de/0x460 > [<c0285d24>] usb_new_device+0xb4/0x170 > [<c0286a12>] hub_port_connect_change+0x212/0x400 > [<c02848d8>] clear_port_feature+0x58/0x60 > [<c0286e75>] hub_events+0x275/0x3c0 > [<c0286ff5>] hub_thread+0x35/0x110 > [<c0119a40>] autoremove_wake_function+0x0/0x60 > [<c0105ade>] ret_from_fork+0x6/0x14 > [<c0119a40>] autoremove_wake_function+0x0/0x60 > [<c0286fc0>] hub_thread+0x0/0x110 > [<c0103d91>] kernel_thread_helper+0x5/0x14 > Code: 0f 0b 66 05 73 e5 36 c0 8b 0b e9 63 ff ff ff 8b 47 34 c7 04 > > /proc/bus/usb/devices includes > > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=0d7d ProdID=1400 Rev= 0.02 > S: Manufacturer= > S: Product=Memorex TD 2B > S: SerialNumber=07470E081240 > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > I found the following in my /var/log/messages file. <snip> Your log files show the device was plugged in but then not mounted or used in any way at all. How could you unmount it if it was never mounted? Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
