LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   External hard disk causes kernel panic (https://www.linuxquestions.org/questions/linux-hardware-18/external-hard-disk-causes-kernel-panic-405731/)

blimbo 01-20-2006 06:20 AM

External hard disk causes kernel panic
 
Hi everyone,

I've just got one of those IDE hard disk caddies and put an old disk in it, and tried to connect it to my FC4 box (2.6.13-1.1526_FC4) with a USB cable.

After about 20 seconds it hangs the system with a kernel panic (see /var/log/messages below). It seems to work on my colleagues' box with is running FC2, and also before I put the hard disk in the caddy it used to be inside my machine. I've tried all the different USB ports, tried plugging it in then turning the power on, turning the power on then plugging it in etc.. USB works with my flashdisk ok so I'm a bit stumped. Anybody got any ideas?

Cheers,
Tim

Jan 20 11:54:06 localhost kernel: usb 1-3: new high speed USB device using ehci_hcd and address 4
Jan 20 11:54:07 localhost kernel: Initializing USB Mass Storage driver...
Jan 20 11:54:07 localhost kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jan 20 11:54:07 localhost kernel: usbcore: registered new driver usb-storage
Jan 20 11:54:07 localhost kernel: USB Mass Storage support registered.
Jan 20 11:54:18 localhost kernel: usb 1-3: USB disconnect, address 4
Jan 20 11:54:18 localhost kernel: scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
Jan 20 11:54:18 localhost kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000060
Jan 20 11:54:18 localhost kernel: printing eip:
Jan 20 11:54:18 localhost kernel: c020f0fb
Jan 20 11:54:18 localhost kernel: *pde = 31029067
Jan 20 11:54:18 localhost kernel: Oops: 0000 [#1]
Jan 20 11:54:18 localhost kernel: Modules linked in: usb_storage parport_pc lp parport autofs4 smbfs rfcomm l2cap bluetooth sunrpc video button battery ac nvidia(U) ipv6 snd_usb_audio snd_usb_lib snd_rawmidi snd_hwdep ohci1394 ieee1394 uhci_hcd ehci_hcd i2c_i801 i2c_core snd_intel8x0 snd_ac97_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc e1000 dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod ata_piix libata sd_mod scsi_mod
Jan 20 11:54:18 localhost kernel: CPU: 0
Jan 20 11:54:18 localhost kernel: EIP: 0060:[<c020f0fb>] Tainted: P VLI
Jan 20 11:54:18 localhost kernel: EFLAGS: 00010286 (2.6.13-1.1526_FC4)
Jan 20 11:54:18 localhost kernel: EIP is at sysfs_hash_and_remove+0xe/0x106
Jan 20 11:54:18 localhost kernel: eax: 00000000 ebx: e5bb532c ecx: 00000000 edx: c0420279
Jan 20 11:54:18 localhost kernel: esi: e5bb5324 edi: f88bb914 ebp: f88bb880 esp: c198adc0
Jan 20 11:54:18 localhost kernel: ds: 007b es: 007b ss: 0068
Jan 20 11:54:18 localhost kernel: Process khubd (pid: 72, threadinfo=c198a000 task=c1989aa0)
Jan 20 11:54:18 localhost kernel: Stack: badc0ded c0420279 00000000 00000001 e5bb532c e5bb5324 f88bb914 f88bb880
Jan 20 11:54:18 localhost kernel: c02e951d f88bb91c e5bb5324 e5bb5000 f5207858 e4a9c200 c02e9567 f5207800
Jan 20 11:54:18 localhost kernel: f88a4367 e5bb5000 f5207800 f52077f8 f88a4541 e4a9c67c 00000282 c198ae4c
Jan 20 11:54:18 localhost kernel: Call Trace:
Jan 20 11:54:18 localhost kernel: [<c02e951d>] class_device_del+0x98/0xda
Jan 20 11:54:18 localhost kernel: [<c02e9567>] class_device_unregister+0x8/0x10
Jan 20 11:54:18 localhost kernel: [<f88a4367>] scsi_remove_device+0x4e/0x91 [scsi_mod]
Jan 20 11:54:18 localhost kernel: [<f88a4541>] __scsi_remove_target+0x197/0x56c [scsi_mod]
Jan 20 11:54:18 localhost kernel: [<f88a3134>] scsi_forget_host+0x149/0x4e1 [scsi_mod]
Jan 20 11:54:18 localhost kernel: [<c03ff867>] wait_for_completion+0x1f/0x52d
Jan 20 11:54:18 localhost kernel: [<f8897c06>] scsi_remove_host+0x9/0x4b [scsi_mod]
Jan 20 11:54:18 localhost kernel: [<f8e15168>] storage_disconnect+0x64/0x7e [usb_storage]
Jan 20 11:54:18 localhost kernel: [<c0332b18>] usb_unbind_interface+0x34/0x60
Jan 20 11:54:18 localhost kernel: [<c02e853a>] __device_release_driver+0x4c/0x64
Jan 20 11:54:18 localhost kernel: [<c02e857c>] device_release_driver+0x2a/0x38
Jan 20 11:54:18 localhost kernel: [<c02e7ef1>] bus_remove_device+0x52/0x60
Jan 20 11:54:18 localhost kernel: [<c02e73a0>] device_del+0x2b/0x5b
Jan 20 11:54:18 localhost kernel: [<c033efda>] usb_disable_device+0xbb/0x108
Jan 20 11:54:18 localhost kernel: [<c0335bfb>] usb_disconnect+0xaa/0x3b8
Jan 20 11:54:18 localhost kernel: [<c0336d6a>] hub_port_connect_change+0x51/0x857
Jan 20 11:54:18 localhost kernel: [<c0337a3e>] hub_events+0x4ce/0x764
Jan 20 11:54:18 localhost kernel: [<c0337cd4>] hub_thread+0x0/0xe2
Jan 20 11:54:18 localhost kernel: [<c0337ce8>] hub_thread+0x14/0xe2
Jan 20 11:54:18 localhost kernel: [<c01519c2>] autoremove_wake_function+0x0/0x37
Jan 20 11:54:18 localhost kernel: [<c01508ab>] kthread+0x87/0x8b
Jan 20 11:54:18 localhost kernel: [<c0150824>] kthread+0x0/0x8b
Jan 20 11:54:18 localhost kernel: [<c01012ed>] kernel_thread_helper+0x5/0xb
Jan 20 11:54:18 localhost kernel: Code: 0c c7 44 24 08 d8 00 00 00 c7 44 24 04 95 8d 41 c0 c7 04 24 e8 f5 40 c0 e8 76 8a f1 ff 55 57 56 53 83 ec 0c 89 44 24 04 89 14 24 <8b> 70 60 8b 58 20 85 db 0f 84 87 00 00 00 ba 66 00 00 00 b8 90
Jan 20 11:54:18 localhost kernel: <0>Fatal exception: panic in 5 seconds

halvy 01-22-2006 03:56 PM

you have hotplug install?

blimbo 01-23-2006 04:53 AM

Yes hotplug is installed (/sbin/hotplug)

The system works fine with flashdisks and also my ipod btw.

Cheers,
Tim

Matir 01-23-2006 09:43 AM

Actually does look like it might be a kernel bug of some sort. Is that the latest FC4 kernel available?

blimbo 01-23-2006 10:38 AM

There's a thought.. ok I just upgraded to kernel 2.6.14-1.1656_FC4 via yum

I'll try the external disk again tomoro.

Cheers,

T

Matir 01-23-2006 11:30 AM

Good luck with it and do post back how it turns out. :)


All times are GMT -5. The time now is 07:55 AM.