On Wed, 2005-11-09 at 15:56 -0500, Bill Davidsen wrote:
> Given the large number of possible valid configurations, I'm trying to
> determine which you are trying to fix and if that will break the others.
I'm primarily fixing ide-cs but the same fix equally applies to any
CompactFlash interface directly accessed as an ide device.
> There are, at minimum, three possible hardware attach cases, each of
> which may be on a distribution which uses udev or not. I'm assuming that
> if this is a udev problem is would be fixed at the udev level, but your
> comment on "userspace hacks" does sound like fixes to userspace bugs.
Initially I'd have blamed udev but its actually doing exactly the right
thing in this case and is definitely not at fault. (I've described this
in detail in the past if you want more information.)
> The three attach methods are pcmcia, direct plugin slots (laptops only
> AFAIK)
These both generally use ide-cs and the patch was written with this in
mind.
There are a small number of broken adaptors which have been discussed
and the known ones are already worked around.
> , and USB devices.
>
> It seems that the pcmcia cases for laptops and desktops are the same,
> and the whole media and device go away as a unit with the card. But for
> USB and direct plug-in, the "device" seems to be present even without
> media. I can't easily check that for laptop before tonight, but attached
> USB devices show up as sdX currently, with or without media.
USB devices have secondary controllers between the card and the USB bus.
The ide interface is not exposed to the system and they're handled by a
totally different interface and driver (sd = scsidisk). This patch
doesn't change anything to do with that and their behaviour is correct.
Richard
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]