Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
On Thu, Feb 24, 2005 at 09:42:24PM +0100, Laurent Riffard wrote: > I do need device-mapper, since I put /usr and /var on LVM filesystems. I > use ptkcdvd to copy data to CD-RW. I can remove this one. > > Anyway, this patch from Andrew fixed the problem : > http://lkml.org/lkml/2005/2/23/214. Yeah, it's not in my code! :) > So I won't try to remove pktcdvd and device-mapper driver (except if you > _really_ want me to do so). Nope, as long as the above patch works for you, I'm happy. thanks, greg k-h - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Le 24.02.2005 18:18, Greg KH a écrit : 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/pci:00/: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? I do need device-mapper, since I put /usr and /var on LVM filesystems. I use ptkcdvd to copy data to CD-RW. I can remove this one. Anyway, this patch from Andrew fixed the problem : http://lkml.org/lkml/2005/2/23/214. So I won't try to remove pktcdvd and device-mapper driver (except if you _really_ want me to do so). Thanks for your interest. -- laurent signature.asc Description: OpenPGP digital signature
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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/pci:00/: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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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/pci:00/: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 ? -- laurent signature.asc Description: OpenPGP digital signature
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Le 24.02.2005 00:20, Andrew Morton a écrit : Laurent Riffard <[EMAIL PROTECTED]> wrote: Le 23.02.2005 21:12, Andrew Morton a écrit : Helge Hafting <[EMAIL PROTECTED]> 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"... Confusing. Are you saying that the hdd->hdq problem is happening even with CONFIG_BASE_FULL=y? yes, I do. -- laurent signature.asc Description: OpenPGP digital signature
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Le 24.02.2005 00:20, Andrew Morton a écrit : Laurent Riffard [EMAIL PROTECTED] wrote: Le 23.02.2005 21:12, Andrew Morton a écrit : Helge Hafting [EMAIL PROTECTED] 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... Confusing. Are you saying that the hdd-hdq problem is happening even with CONFIG_BASE_FULL=y? yes, I do. -- laurent signature.asc Description: OpenPGP digital signature
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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/pci:00/: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 ? -- laurent signature.asc Description: OpenPGP digital signature
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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/pci:00/: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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Le 24.02.2005 18:18, Greg KH a écrit : 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/pci:00/: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? I do need device-mapper, since I put /usr and /var on LVM filesystems. I use ptkcdvd to copy data to CD-RW. I can remove this one. Anyway, this patch from Andrew fixed the problem : http://lkml.org/lkml/2005/2/23/214. So I won't try to remove pktcdvd and device-mapper driver (except if you _really_ want me to do so). Thanks for your interest. -- laurent signature.asc Description: OpenPGP digital signature
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
On Thu, Feb 24, 2005 at 09:42:24PM +0100, Laurent Riffard wrote: I do need device-mapper, since I put /usr and /var on LVM filesystems. I use ptkcdvd to copy data to CD-RW. I can remove this one. Anyway, this patch from Andrew fixed the problem : http://lkml.org/lkml/2005/2/23/214. Yeah, it's not in my code! :) So I won't try to remove pktcdvd and device-mapper driver (except if you _really_ want me to do so). Nope, as long as the above patch works for you, I'm happy. thanks, greg k-h - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
On Thu, Feb 24, 2005 at 12:32:59AM +0100, Mathieu Segaud wrote: > Andrew Morton <[EMAIL PROTECTED]> disait derni??rement que : > > > Helge Hafting <[EMAIL PROTECTED]> 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'. > > I've got the same problem here on my box, udev creates hds and hdu > entries when running 2.6.11-rc4-mm1, whereas it creates correctly hdf > et hdh, on other kernels. Are these misnamed and misnumbered devices mountable? If not, can you mknod device nodes at the proper major:minor location and have them work? Seems ->disk_name is getting modified between ide_setup() and add_disk() somehow, giving us: hdb: ... hdq: hdq1 hdq2... -- Mathematics is the supreme nostalgia of our time. - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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/pci:00/: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? thanks, greg k-h - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Andrew Morton <[EMAIL PROTECTED]> disait derniÃrement que : > Helge Hafting <[EMAIL PROTECTED]> 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'. I've got the same problem here on my box, udev creates hds and hdu entries when running 2.6.11-rc4-mm1, whereas it creates correctly hdf et hdh, on other kernels. here follows .config: # # Automatically generated make config: don't edit # Linux kernel version: 2.6.11-rc4-mm1 # Wed Feb 23 22:11:44 2005 # CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y # # General setup # CONFIG_LOCALVERSION="" CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_SYSCTL=y # CONFIG_AUDIT is not set CONFIG_HOTPLUG=y CONFIG_KOBJECT_UEVENT=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_BASE_FULL=y CONFIG_BASE_SMALL=0 CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_CC_ALIGN_FUNCTIONS=0 CONFIG_CC_ALIGN_LABELS=0 CONFIG_CC_ALIGN_LOOPS=0 CONFIG_CC_ALIGN_JUMPS=0 # CONFIG_TINY_SHMEM is not set # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_OBSOLETE_MODPARM=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y # # Processor type and features # CONFIG_X86_PC=y # CONFIG_X86_ELAN is not set # CONFIG_X86_VOYAGER is not set # CONFIG_X86_NUMAQ is not set # CONFIG_X86_SUMMIT is not set # CONFIG_X86_BIGSMP is not set # CONFIG_X86_VISWS is not set # CONFIG_X86_GENERICARCH is not set # CONFIG_X86_ES7000 is not set # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMII is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUMM is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set CONFIG_MK7=y # CONFIG_MK8 is not set # CONFIG_MCRUSOE is not set # CONFIG_MEFFICEON is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MCYRIXIII is not set # CONFIG_MVIAC3_2 is not set # CONFIG_X86_GENERIC is not set CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_USE_3DNOW=y # CONFIG_HPET_TIMER is not set # CONFIG_SMP is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y CONFIG_X86_UP_APIC=y CONFIG_X86_UP_IOAPIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y CONFIG_X86_TSC=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=m # CONFIG_X86_MCE_P4THERMAL is not set # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set # # Firmware Drivers # # CONFIG_EDD is not set # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y CONFIG_HIGHPTE=y # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_EFI is not set CONFIG_HAVE_DEC_LOCK=y CONFIG_REGPARM=y CONFIG_SECCOMP=y # # Performance-monitoring counters support # # CONFIG_PERFCTR is not set CONFIG_PHYSICAL_START=0x10 CONFIG_KEXEC=y # # Power management options (ACPI, APM) # # CONFIG_PM is not set # # ACPI (Advanced Configuration and Power Interface) Support # CONFIG_ACPI=y CONFIG_ACPI_BOOT=y CONFIG_ACPI_INTERPRETER=y CONFIG_ACPI_AC=m CONFIG_ACPI_BATTERY=m CONFIG_ACPI_BUTTON=m # CONFIG_ACPI_VIDEO is not set CONFIG_ACPI_FAN=m CONFIG_ACPI_PROCESSOR=m CONFIG_ACPI_THERMAL=m # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_IBM is not set # CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_PCC=m CONFIG_ACPI_SONY=m CONFIG_ACPI_BLACKLIST_YEAR=0 # CONFIG_ACPI_DEBUG is not set
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Laurent Riffard <[EMAIL PROTECTED]> wrote: > > Le 23.02.2005 21:12, Andrew Morton a écrit : > > Helge Hafting <[EMAIL PROTECTED]> 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"... Confusing. Are you saying that the hdd->hdq problem is happening even with CONFIG_BASE_FULL=y? - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
On Wed, Feb 23, 2005 at 11:36:50PM +0100, Laurent Riffard wrote: > Le 23.02.2005 21:12, Andrew Morton a ?crit : > >Helge Hafting <[EMAIL PROTECTED]> 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 : > > hdb: cache flushes supported > hdq: hdq1 hdq2 < hdq5 hdq6 hdq7 hdq8 > Neat. > ~$ ls -l /dev/hd* > brw-rw 1 rootdisk 3,0 f?v 23 22:45 /dev/hda > brw-rw 1 rootdisk 3,1 f?v 23 22:45 /dev/hda1 > brw-rw 1 rootdisk 3, 10 f?v 23 22:45 /dev/hda10 > brw-rw 1 rootdisk 3,2 f?v 23 22:45 /dev/hda2 > brw-rw 1 rootdisk 3,3 f?v 23 22:45 /dev/hda3 > brw-rw 1 rootdisk 3,4 f?v 23 22:45 /dev/hda4 > brw-rw 1 rootdisk 3,5 f?v 23 22:45 /dev/hda5 > brw-rw 1 rootdisk 3,6 f?v 23 22:45 /dev/hda6 > brw-rw 1 rootdisk 3,7 f?v 23 22:45 /dev/hda7 > brw-rw 1 rootdisk 3,8 f?v 23 22:45 /dev/hda8 > brw-rw 1 rootdisk 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 rootroot 22, 64 f?v 23 22:45 /dev/hdd > brw-rw 1 rootdisk 3, 1024 f?v 23 22:45 /dev/hdq Looks like you're using udev. > CONFIG_BASE_FULL=y > CONFIG_BASE_SMALL=0 Ok, that's unrelated to the weird IDE numbering then. -- Mathematics is the supreme nostalgia of our time. - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Le 23.02.2005 21:12, Andrew Morton a écrit : Helge Hafting <[EMAIL PROTECTED]> 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 :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 pci: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 rootdisk 3,0 fév 23 22:45 /dev/hda brw-rw 1 rootdisk 3,1 fév 23 22:45 /dev/hda1 brw-rw 1 rootdisk 3, 10 fév 23 22:45 /dev/hda10 brw-rw 1 rootdisk 3,2 fév 23 22:45 /dev/hda2 brw-rw 1 rootdisk 3,3 fév 23 22:45 /dev/hda3 brw-rw 1 rootdisk 3,4 fév 23 22:45 /dev/hda4 brw-rw 1 rootdisk 3,5 fév 23 22:45 /dev/hda5 brw-rw 1 rootdisk 3,6 fév 23 22:45 /dev/hda6 brw-rw 1 rootdisk 3,7 fév 23 22:45 /dev/hda7 brw-rw 1 rootdisk 3,8 fév 23 22:45 /dev/hda8 brw-rw 1 rootdisk 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 rootroot 22, 64 fév 23 22:45 /dev/hdd brw-rw 1 rootdisk 3, 1024 fév 23 22:45 /dev/hdq brw-rw 1 rootdisk 3, 1025 fév 23 22:45 /dev/hdq1 brw-rw 1 rootdisk 3, 1026 fév 23 22:45 /dev/hdq2 brw-rw 1 rootdisk 3, 1029 fév 23 22:45 /dev/hdq5 brw-rw 1 rootdisk 3, 1030 fév 23 22:45 /dev/hdq6 brw-rw 1 rootdisk 3, 1031 fév 23 22:45 /dev/hdq7 brw-rw 1 rootdisk 3, 1032 fév 23 22:45 /dev/hdq8 brw-rw 1 rootdisk 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/pci:00/: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 # # Automatically generated make config: don't edit # Linux kernel version: 2.6.11-rc4-mm1 # Wed Feb 23 21:30:41 2005 # CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_BROKEN_ON_SMP=y # # General setup # CONFIG_LOCALVERSION="" CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y # CONFIG_AUDIT is not set CONFIG_HOTPLUG=y CONFIG_KOBJECT_UEVENT=y # CONFIG_IKCONFIG is not set CONFIG_EMBEDDED=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set #
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Helge Hafting <[EMAIL PROTECTED]> 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'. - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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. Helge Hafting - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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. Helge Hafting - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Helge Hafting [EMAIL PROTECTED] 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'. - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Le 23.02.2005 21:12, Andrew Morton a écrit : Helge Hafting [EMAIL PROTECTED] 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 :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 pci: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 rootdisk 3,0 fév 23 22:45 /dev/hda brw-rw 1 rootdisk 3,1 fév 23 22:45 /dev/hda1 brw-rw 1 rootdisk 3, 10 fév 23 22:45 /dev/hda10 brw-rw 1 rootdisk 3,2 fév 23 22:45 /dev/hda2 brw-rw 1 rootdisk 3,3 fév 23 22:45 /dev/hda3 brw-rw 1 rootdisk 3,4 fév 23 22:45 /dev/hda4 brw-rw 1 rootdisk 3,5 fév 23 22:45 /dev/hda5 brw-rw 1 rootdisk 3,6 fév 23 22:45 /dev/hda6 brw-rw 1 rootdisk 3,7 fév 23 22:45 /dev/hda7 brw-rw 1 rootdisk 3,8 fév 23 22:45 /dev/hda8 brw-rw 1 rootdisk 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 rootroot 22, 64 fév 23 22:45 /dev/hdd brw-rw 1 rootdisk 3, 1024 fév 23 22:45 /dev/hdq brw-rw 1 rootdisk 3, 1025 fév 23 22:45 /dev/hdq1 brw-rw 1 rootdisk 3, 1026 fév 23 22:45 /dev/hdq2 brw-rw 1 rootdisk 3, 1029 fév 23 22:45 /dev/hdq5 brw-rw 1 rootdisk 3, 1030 fév 23 22:45 /dev/hdq6 brw-rw 1 rootdisk 3, 1031 fév 23 22:45 /dev/hdq7 brw-rw 1 rootdisk 3, 1032 fév 23 22:45 /dev/hdq8 brw-rw 1 rootdisk 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/pci:00/: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 # # Automatically generated make config: don't edit # Linux kernel version: 2.6.11-rc4-mm1 # Wed Feb 23 21:30:41 2005 # CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_BROKEN_ON_SMP=y # # General setup # CONFIG_LOCALVERSION= CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y # CONFIG_AUDIT is not set CONFIG_HOTPLUG=y CONFIG_KOBJECT_UEVENT=y # CONFIG_IKCONFIG is not set CONFIG_EMBEDDED=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set #
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
On Wed, Feb 23, 2005 at 11:36:50PM +0100, Laurent Riffard wrote: Le 23.02.2005 21:12, Andrew Morton a ?crit : Helge Hafting [EMAIL PROTECTED] 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 : hdb: cache flushes supported hdq: hdq1 hdq2 hdq5 hdq6 hdq7 hdq8 Neat. ~$ ls -l /dev/hd* brw-rw 1 rootdisk 3,0 f?v 23 22:45 /dev/hda brw-rw 1 rootdisk 3,1 f?v 23 22:45 /dev/hda1 brw-rw 1 rootdisk 3, 10 f?v 23 22:45 /dev/hda10 brw-rw 1 rootdisk 3,2 f?v 23 22:45 /dev/hda2 brw-rw 1 rootdisk 3,3 f?v 23 22:45 /dev/hda3 brw-rw 1 rootdisk 3,4 f?v 23 22:45 /dev/hda4 brw-rw 1 rootdisk 3,5 f?v 23 22:45 /dev/hda5 brw-rw 1 rootdisk 3,6 f?v 23 22:45 /dev/hda6 brw-rw 1 rootdisk 3,7 f?v 23 22:45 /dev/hda7 brw-rw 1 rootdisk 3,8 f?v 23 22:45 /dev/hda8 brw-rw 1 rootdisk 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 rootroot 22, 64 f?v 23 22:45 /dev/hdd brw-rw 1 rootdisk 3, 1024 f?v 23 22:45 /dev/hdq Looks like you're using udev. CONFIG_BASE_FULL=y CONFIG_BASE_SMALL=0 Ok, that's unrelated to the weird IDE numbering then. -- Mathematics is the supreme nostalgia of our time. - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
Laurent Riffard [EMAIL PROTECTED] wrote: Le 23.02.2005 21:12, Andrew Morton a écrit : Helge Hafting [EMAIL PROTECTED] 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... Confusing. Are you saying that the hdd-hdq problem is happening even with CONFIG_BASE_FULL=y? - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
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/pci:00/: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? thanks, greg k-h - 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/
Re: 2.6.11-rc4-mm1 : IDE crazy numbers, hdb renumbered to hdq ?
On Thu, Feb 24, 2005 at 12:32:59AM +0100, Mathieu Segaud wrote: Andrew Morton [EMAIL PROTECTED] disait derni??rement que : Helge Hafting [EMAIL PROTECTED] 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'. I've got the same problem here on my box, udev creates hds and hdu entries when running 2.6.11-rc4-mm1, whereas it creates correctly hdf et hdh, on other kernels. Are these misnamed and misnumbered devices mountable? If not, can you mknod device nodes at the proper major:minor location and have them work? Seems -disk_name is getting modified between ide_setup() and add_disk() somehow, giving us: hdb: ... hdq: hdq1 hdq2... -- Mathematics is the supreme nostalgia of our time. - 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/