boot GRUB and running system GRUB disagree on Promise hda/hde hd0/hd1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ASUS K7V333 with Promise RAID controller
Mandrake 8.2 2.4.18-6mdk kernel patched to recognize the controller.

Two drives (Linux) on primary of onboard IDE controller.
One drive (Windows) on primary of Promise RAID controller.

I boot and GRUB appears with its menu of choices.  I don't boot the
kernel; I ask for a GRUB command line and tell it to list my hard disks.
It shows hd0 hd1 and hd2 as possible disks, and I confirm that hd0 and hd1
are the linux disks and hd2 is the Windows disk.  (Using "find /io.sys"
shows the file on hd2.  "find /grub/stage1" lists hd0 and hd1.)

I boot Linux, and the two mainboard Linux disks appear as hde and hdf (!).
The RAID Windows disk is hda.  I run GRUB in command line mode while Linux
is up and running and it confirms that hd0 is the Windows disk and hd1
and hd2 are the Linux disks.  ("find /io.sys" shows the file on hd0!)

Looking at the kernel boot messages, I see that the kernel finds the
Promise controller *before* it sees the onboard IDE controller, so it
assigns ide0 and ide1 to the Promise, not to the onboard.

It is rather awkward that the booting GRUB sees the disks in a different
order than the kernel when it boots.  How can I make the kernel see the
Promise controller *after* the onboard controller?  The boot block GRUB
sees the disks in the correct order; why is the kernel re-arranging things?

dmesg:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20276: IDE controller on PCI bus 00 dev 30
PCI: Found IRQ 5 for device 00:06.0
PCI: Sharing IRQ 5 with 00:09.0
PDC20276: chipset revision 1
PDC20276: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xb000-0xb007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xb008-0xb00f, BIOS settings: hdc:pio, hdd:pio
VP_IDE: IDE controller on PCI bus 00 dev 89
PCI: No IRQ known for interrupt pin A of device 00:11.1. Please try using pci=bi
osirq.
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci00:11.1
    ide2: BM-DMA at 0x9400-0x9407, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0x9408-0x940f, BIOS settings: hdg:DMA, hdh:DMA
hda: FUJITSU MPB3043ATU, ATA DISK drive
hde: MAXTOR 6L080J4, ATA DISK drive
hdf: MAXTOR 6L080L4, ATA DISK drive
hdg: HL-DT-ST GCE-8320B, ATAPI CD/DVD-ROM drive
hdh: YAMAHA CRW8824E, ATAPI CD/DVD-ROM drive
ide0 at 0xd400-0xd407,0xd002 on irq 5
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
ide3 at 0x170-0x177,0x376 on irq 15
hda: 8448300 sectors (4326 MB), CHS=8940/15/63, UDMA(33)
hde: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=9732/255/63, UDMA(133)
hdf: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=9732/255/63, UDMA(133)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: [PTBL] [525/255/63] p1
 /dev/ide/host2/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 >
 /dev/ide/host2/bus0/target1/lun0: p1 p2 p3 < p5 p6 p7 >

-- 
-IAN!  Ian! D. Allen   Ottawa, Ontario, Canada   idallen@xxxxxx
       Home Page on the Ottawa FreeNet: http://www.ncf.ca/~aa610/
       College professor at: http://www.algonquincollege.com/~alleni/
       Board Member, TeleCommunities CANADA  http://www.tc.ca/





[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux