Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?

From: Greg KH
Date: Thu Feb 24 2005 - 12:20:31 EST


On Thu, Feb 24, 2005 at 06:06:39PM +0100, Laurent Riffard wrote:
>
>
> Le 24.02.2005 00:47, Greg KH a ?crit :
> >On Wed, Feb 23, 2005 at 11:36:50PM +0100, Laurent Riffard wrote:
> >
> >>hey, what's this /dev/hds ? digging into /sys/block...
> >>
> >>~$ ls -l /sys/block/hds/device
> >>lrwxrwxrwx 1 root root 0 f?v 23 22:45 /sys/block/hds/device ->
> >>../../devices/pci0000:00/0000:00:04.1/ide1/1.1/
> >>
> >>/dev/hdq should be /dev/hdd...
> >>
> >>~$ ls -l /proc/ide
> >>total 4
> >>-r--r--r-- 1 root root 0 f?v 23 23:28 drivers
> >>lrwxrwxrwx 1 root root 8 f?v 23 23:28 hda -> ide0/hda/
> >>lrwxrwxrwx 1 root root 8 f?v 23 23:28 hdb -> ide0/hdb/
> >>lrwxrwxrwx 1 root root 8 f?v 23 23:28 hdc -> ide1/hdc/
> >>lrwxrwxrwx 1 root root 8 f?v 23 23:28 hdd -> ide1/hdd/
> >>dr-xr-xr-x 4 root root 0 f?v 23 23:28 ide0/
> >>dr-xr-xr-x 4 root root 0 f?v 23 23:28 ide1/
> >>-r--r--r-- 1 root root 0 f?v 23 23:28 via
> >>~$ ls -d /sys/block/hd*
> >>/sys/block/hda/ /sys/block/hdc/ /sys/block/hdq/ /sys/block/hds/
> >
> >
> >What does /proc/devices show?
>
> Character devices:
> 1 mem
> 4 /dev/vc/0
> 4 tty
> 5 /dev/tty
> 5 /dev/console
> 5 /dev/ptmx
> 6 lp
> 7 vcs
> 10 misc
> 13 input
> 14 sound
> 29 fb
> 116 alsa
> 128 ptm
> 136 pts
> 171 ieee1394
> 180 usb
>
> Block devices:
> 1 ramdisk
> 2 fd
> 3 ide0
> 7 loop
> 22 ide1
> 253 pktcdvd
> 254 device-mapper
>
> Do you see something strange here ?

No, ide0 is 3 and ide1 is 22, which is "standard". Hm, what's that
pktcdvd and device-mapper doing there? Do you need those drivers? Can
you try it without building them and see if that helps?

thanks,

greg k-h
-
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/