cmd64x not happy about being hotplugged, 2.6.17

From: Josh Litherland
Date: Fri Jun 23 2006 - 11:34:11 EST


I have a thinkpad dock 2 which includes a Silicon Image CMD648 IDE controller (1095:0648 (rev 01)) for the UltraBay2000 slot. The dock now works as an acpiphp PCI hotplug device, and the PCI devs get detected safely and removed more or less safely when undocking. The cmd64x doesn't seem to handle the hotplugging as well. When it is attached, it doesn't enumerate the CDRW device that is connected to it (although the drive works if it is inserted at boot time.). When the laptop is undocked, cmd64x seems not to notice at all. Any further access to it, such as "cat /proc/ide/cmd64x", will cause a segfault as seen here:

http://downloads.emperorlinux.com/support/misc/bug.txt

Let me know if there's any further information I can provide. Thanks!

--
Josh Litherland (josh@xxxxxxxxxxx)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/