Re: IDE controller detection 2.4 +devfs

Richard Gooch (rgooch@ras.ucalgary.ca)
Thu, 29 Nov 2001 17:17:59 -0700


Rene Rebe writes:
> I like to rereport that the IDE Controllers get strange device-
> node-number in Linux-2.4 (currently vanilla 2.4.16) at least using DevFS.
>
> I reported (~a year ago) that when I disable the primary channel of the
> on-board controller of the Asus-K7M (Irongate based) the second channel
> will be host1 - no host0 can be found.
>
> My today's issue is our K6-2 based server with an Gigabyte Ali-Aladin5
> board. The on-board controller is host0 but the additional Promisse
> TX2 Ultra100 will be host2 ??? no host1 there ... :
>
> server1:~ # l /dev/ide/
> total 0
> drwxr-xr-x 1 root root 0 Jan 1 1970 .
> drwxr-xr-x 1 root root 0 Jan 1 1970 ..
> drwxr-xr-x 1 root root 0 Jan 1 1970 host0
> drwxr-xr-x 1 root root 0 Jan 1 1970 host2

So what's the problem? It's a similar naming scheme as used for
SCSI. It doesn't matter if you have something plugged into a bus, the
host numbering doesn't change. This is a Feature[tm].

If you want to access your drives according to detection order, use
/dev/discs instead.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/