Hi Daniel, On 08/07/07, Daniel J Blueman <[EMAIL PROTECTED]> wrote:
When plugging in a USB 2 mass-storage device which I've been seeing problems with, I caught a khubd oops [1]. Kernel is 2.6.22-rc7
Is this a regression?
on ia32 built with Ubuntu's 2.6.22 .config.
Please send this config.
Let me know if you need more details, Daniel --- [1] [ 4764.112000] usb 5-3: new high speed USB device using ehci_hcd and address 8 [ 4764.244000] PM: Adding info for usb:5-3 [ 4764.244000] PM: Adding info for No Bus:usbdev5.8_ep00 [ 4764.244000] usb 5-3: configuration #1 chosen from 1 choice [ 4764.244000] PM: Adding info for usb:5-3:1.0 [ 4764.244000] scsi6 : SCSI emulation for USB Mass Storage devices [ 4764.244000] PM: Adding info for No Bus:host6 [ 4764.244000] PM: Adding info for No Bus:usbdev5.8_ep81 [ 4764.244000] PM: Adding info for No Bus:usbdev5.8_ep02 [ 4764.244000] PM: Adding info for No Bus:usbdev5.8 [ 4764.244000] usb-storage: device found at 8 [ 4764.244000] usb-storage: waiting for device to settle before scanning [ 4769.244000] usb-storage: device scan complete [ 4769.244000] PM: Adding info for No Bus:target6:0:0 [ 4769.244000] scsi 6:0:0:0: Direct-Access Maxtor 6 Y120L0 0811 PQ: 0 ANSI: 0 [ 4769.244000] PM: Adding info for No Bus:target6:0:1 [ 4769.244000] PM: Removing info for No Bus:target6:0:1 [ 4769.244000] PM: Adding info for No Bus:target6:0:2 [ 4769.244000] PM: Removing info for No Bus:target6:0:2 [ 4769.244000] PM: Adding info for No Bus:target6:0:3 [ 4769.244000] PM: Removing info for No Bus:target6:0:3 [ 4769.244000] PM: Adding info for No Bus:target6:0:4 [ 4769.244000] PM: Removing info for No Bus:target6:0:4 [ 4769.244000] PM: Adding info for No Bus:target6:0:5 [ 4769.244000] PM: Removing info for No Bus:target6:0:5 [ 4769.244000] PM: Adding info for No Bus:target6:0:6 [ 4769.244000] PM: Removing info for No Bus:target6:0:6 [ 4769.244000] PM: Adding info for No Bus:target6:0:7 [ 4769.244000] PM: Removing info for No Bus:target6:0:7 [ 4769.244000] PM: Adding info for scsi:6:0:0:0 [ 4769.248000] sd 6:0:0:0: [sdb] 240121728 512-byte hardware sectors (122942 MB) [ 4769.248000] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled [ 4769.248000] sd 6:0:0:0: [sdb] Assuming drive cache: write through [ 4769.248000] sd 6:0:0:0: [sdb] 240121728 512-byte hardware sectors (122942 MB) [ 4769.252000] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled [ 4769.252000] sd 6:0:0:0: [sdb] Assuming drive cache: write through [ 4769.252000] sdb: sdb1 < sdb5 sdb6<6>usb 5-3: reset high speed USB device using ehci_hcd and address 8 [ 4769.544000] usb 5-3: device descriptor read/64, error -71 [ 4769.760000] usb 5-3: device descriptor read/64, error -71 [ 4769.976000] usb 5-3: reset high speed USB device using ehci_hcd and address 8 [ 4770.088000] usb 5-3: device descriptor read/64, error -71 [ 4770.304000] usb 5-3: device descriptor read/64, error -71 [ 4770.520000] usb 5-3: reset high speed USB device using ehci_hcd and address 8 [ 4770.928000] usb 5-3: device not accepting address 8, error -71 [ 4771.040000] usb 5-3: reset high speed USB device using ehci_hcd and address 8 [ 4771.448000] usb 5-3: device not accepting address 8, error -71 [ 4771.448000] usb 5-3: USB disconnect, address 8 [ 4771.448000] PM: Removing info for No Bus:usbdev5.8_ep81 [ 4771.448000] PM: Removing info for No Bus:usbdev5.8_ep02 [ 4771.448000] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 4771.448000] printing eip: [ 4771.448000] c0255cc7 [ 4771.448000] *pde = 00000000 [ 4771.448000] Oops: 0000 [#1] [ 4771.448000] SMP [ 4771.448000] Modules linked in: usb_storage ide_core libusual binfmt_misc nfs lockd sunrpc ipv6 sonypi ppdev acpi_cpufreq cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_userspace cpufreq_ondemand freq_table button ac video dock container sbs battery af_packet sbp2 parport_pc lp parport fuse snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss joydev snd_seq_midi snd_rawmidi snd_seq_midi_event tifm_7xx1 pcmcia snd_seq snd_timer snd_seq_device sky2 serio_raw tifm_core snd soundcore yenta_socket rsrc_nonstatic pcmcia_core psmouse iTCO_wdt iTCO_vendor_support snd_page_alloc shpchp pci_hotplug intel_agp agpgart evdev ext3 jbd mbcache sg sd_mod sr_mod cdrom ata_generic ata_piix ohci1394 ieee1394 libata scsi_mod ehci_hcd uhci_hcd usbcore thermal processor fan [ 4771.448000] CPU: 0 [ 4771.448000] EIP: 0060:[<c0255cc7>] Not tainted VLI [ 4771.448000] EFLAGS: 00010202 (2.6.22-rc7-50 #1) [ 4771.448000] EIP is at make_class_name+0x27/0x80 [ 4771.448000] eax: 00000000 ebx: ffffffff ecx: ffffffff edx: 0000000b [ 4771.448000] esi: f89ffca6 edi: 00000000 ebp: 00000000 esp: f7d05e5c [ 4771.448000] ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068 [ 4771.448000] Process khubd (pid: 2188, ti=f7d04000 task=c190f480 task.ti=f7d04000) [ 4771.448000] Stack: dfc9a608 dfc9a494 dfc9a600 dfc9a608 f8a12ac0 c0255e59 00000000 f8a12b88 [ 4771.448000] dfc9a600 dfc9a494 00000246 00000000 c0255ee8 dfc9a400 f89f9b56 dfc9a400 [ 4771.448000] efc26800 f89f71fb efc26830 efc26800 f89f17e5 efc26af8 f41ce818 f8be1100 [ 4771.448000] Call Trace: [ 4771.448000] [<c0255e59>] class_device_del+0x99/0x120 [ 4771.448000] [<c0255ee8>] class_device_unregister+0x8/0x10 [ 4771.448000] [<f89f9b56>] __scsi_remove_device+0x26/0x60 [scsi_mod] [ 4771.448000] [<f89f71fb>] scsi_forget_host+0x4b/0x60 [scsi_mod] [ 4771.448000] [<f89f17e5>] scsi_remove_host+0x55/0xe0 [scsi_mod] [ 4771.448000] [<f8bd2c3e>] storage_disconnect+0xe/0x20 [usb_storage] [ 4771.448000] [<f8a4ea24>] usb_unbind_interface+0x44/0x90 [usbcore] [ 4771.448000] [<c0255408>] __device_release_driver+0x68/0xa0 [ 4771.448000] [<c0255813>] device_release_driver+0x23/0x40 [ 4771.448000] [<c0254d1c>] bus_remove_device+0x5c/0x90 [ 4771.448000] [<c0253020>] device_del+0x160/0x260 [ 4771.448000] [<f8a4bf28>] usb_disable_device+0x78/0xe0 [usbcore] [ 4771.448000] [<f8a48285>] usb_disconnect+0x95/0x130 [usbcore] [ 4771.448000] [<f8a48910>] hub_thread+0x270/0xc30 [usbcore] [ 4771.448000] [<c012a4e6>] do_exit+0x516/0x800 [ 4771.448000] [<c0139b00>] autoremove_wake_function+0x0/0x40 [ 4771.448000] [<f8a486a0>] hub_thread+0x0/0xc30 [usbcore] [ 4771.448000] [<c0139834>] kthread+0x34/0x60 [ 4771.448000] [<c0139800>] kthread+0x0/0x60 [ 4771.448000] [<c0105397>] kernel_thread_helper+0x7/0x10 [ 4771.448000] ======================= [ 4771.448000] Code: 00 00 00 00 55 57 56 53 83 ec 04 31 ed 83 cb ff 89 c6 89 c7 89 14 24 89 d9 89 e8 f2 ae f7 d1 49 8b 04 24 89 ca 89 d9 8b 38 89 e8 <f2> ae f7 d1 49 8d 44 0a 02 ba d0 00 00 00 e8 06 36 f2 ff 31 d2 [ 4771.448000] EIP: [<c0255cc7>] make_class_name+0x27/0x80 SS:ESP 0068:f7d05e5c [ 4771.448000] sd 6:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK [ 4771.448000] end_request: I/O error, dev sdb, sector 163846928 [ 4771.448000] printk: 84 messages suppressed. [ 4771.448000] Buffer I/O error on device sdb, logical block 20480866 [ 4771.448000] Buffer I/O error on device sdb, logical block 20480866 [ 4771.448000] > [ 4771.448000] sd 6:0:0:0: [sdb] Attached SCSI disk [ 4771.448000] sd 6:0:0:0: Attached scsi generic sg2 type 0 [ 4771.556000] Buffer I/O error on device sdb, logical block 30015200 -- Daniel J Blueman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Regards, Michal -- LOG http://www.stardust.webpages.pl/log/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/