Le 23.02.2005 21:12, Andrew Morton a écrit : > Helge Hafting wrote: > >>This kernel came up, but my boot script complained about no /dev/hdb3 >> when trying to mount /var. >> (I have two IDE disks on the same cable, and an IDE cdrom on another.) >> They are usually hda, hdb, and hdc. >> >> MAKEDEV hdq did not help. Looking at sysfs, it turns out that >> /dev/hdq1 is at major:3 minor:1025 if I interpret things right. >> (/dev/hda1 is at 3:1, which is correct.) >> These numbers did not work with my mknod, it created 7:1 instead. >> So I didn't get to test this mysterious device. >> >> But I assume this is a mistake of some sort, I haven't heard about any >> change in the IDE numbering coming up? 2.6.1-rc3-mm1 works as expected. >> >> It may be interesting to note that my root raid-1 came up fine, >> consisting of hdq1 and hda1 instead of the usual hdb1 and hda1. > > > I don't know what could be causing that. Please send .config. If you set > CONFIG_BASE_FULL=n, try setting it to `y'. > this is just a "me too"... Here is some few lines from dmesg : Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:04.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:04.1 ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA Probing IDE interface ide0... hda: ST340016A, ATA DISK drive hdb: Maxtor 6Y080L0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: CD-950E/AKU, ATAPI CD/DVD-ROM drive hdd: LITE-ON LTR-48125S, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 Probing IDE interface ide2... Probing IDE interface ide3... Probing IDE interface ide4... Probing IDE interface ide5... hda: max request size: 128KiB hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100) hda: cache flushes not supported hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 > hda4 hdb: max request size: 128KiB hdb: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100) hdb: cache flushes supported hdq: hdq1 hdq2 < hdq5 hdq6 hdq7 hdq8 > ~$ ls -l /dev/hd* brw-rw---- 1 root disk 3, 0 fév 23 22:45 /dev/hda brw-rw---- 1 root disk 3, 1 fév 23 22:45 /dev/hda1 brw-rw---- 1 root disk 3, 10 fév 23 22:45 /dev/hda10 brw-rw---- 1 root disk 3, 2 fév 23 22:45 /dev/hda2 brw-rw---- 1 root disk 3, 3 fév 23 22:45 /dev/hda3 brw-rw---- 1 root disk 3, 4 fév 23 22:45 /dev/hda4 brw-rw---- 1 root disk 3, 5 fév 23 22:45 /dev/hda5 brw-rw---- 1 root disk 3, 6 fév 23 22:45 /dev/hda6 brw-rw---- 1 root disk 3, 7 fév 23 22:45 /dev/hda7 brw-rw---- 1 root disk 3, 8 fév 23 22:45 /dev/hda8 brw-rw---- 1 root disk 3, 9 fév 23 22:45 /dev/hda9 brw-rw---- 1 laurent cdrom 22, 0 fév 23 22:45 /dev/hdc brw------- 1 root root 22, 64 fév 23 22:45 /dev/hdd brw-rw---- 1 root disk 3, 1024 fév 23 22:45 /dev/hdq brw-rw---- 1 root disk 3, 1025 fév 23 22:45 /dev/hdq1 brw-rw---- 1 root disk 3, 1026 fév 23 22:45 /dev/hdq2 brw-rw---- 1 root disk 3, 1029 fév 23 22:45 /dev/hdq5 brw-rw---- 1 root disk 3, 1030 fév 23 22:45 /dev/hdq6 brw-rw---- 1 root disk 3, 1031 fév 23 22:45 /dev/hdq7 brw-rw---- 1 root disk 3, 1032 fév 23 22:45 /dev/hdq8 brw-rw---- 1 root disk 22, 1024 fév 23 22:45 /dev/hds /dev/hdq should be /dev/hdb. 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/ .config is attached ~~ laurent