OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Help! Drive order changes!

From: Alexander Yurchenko (grangert.mipt.ru)
Date: Mon Feb 07 2005 - 03:29:29 CST


On Sun, Feb 06, 2005 at 11:40:48PM -0800, Sean Hafeez wrote:
> >>as you can see the kernel id's the (pci card) pciide0 at pci0 dev 8
> >>function 0 "CMD Technology PCI0680" rev 0x02 as the 1st ide device,
> >>and
> >>the (onboard) pciide1 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev
> >>0x06: ATA133, channel 0 configured to compatibility, channel 1
> >>configured to compatibility as the second.
> >>
> >>i have looked at the UKC man page but have had no luck. is there away
> >>i
> >>can change this with a custom kernel?
> >
> >why?
> >
>
> I need the system to keep the motherboard IDE as wd0 or figure out how

use smth like

wd0 at pciide1 channel 0 drive 0

in kernel config file.

> to make it work with wd4. I tried booting with -a and specifying the /
> root as wd4 but it craps out (changed the fstab to wd4 to btw)
>
>
> See my other post:
>
> OK. I have:
>
> 1. Read the FAQ
> 2. Read the boot man page.
> 3. Googled
>
> I had a system running 3.6.
>
> wd0 is the boot drive and is on the primary IDE on the motherboad.
>
> wd1-wd4 are on a pci card, setup in a raid5.
>
> This worked just fine, booting with hd0=wd0 and staying that way,
> adding the PCI IDE card on as wd1-wd4.
>
> I switch to a new motherboad because the old one died.
>
> Now the system boots to the boot> with hd0 being the BIOS 1st IDE
> drive. However as OBSD boots it reorders everything. For some reason,
> it switched wd0 (primary motherboad ide) down to wd4 and moves the PCI
> cards drives to be wd0-wd3.
>
> I have tried the boot -a and giving the answer of wd4. I have changed
> the /etc/fstab to have wd4 vs. wd0.
>
> Nothing works. Drops to a shell.
>
> dmesg shows (I have not got a console working yet..sorry):
>
> dkcsum: wd4 matched BIOS disk 80
>
> Help!
>
>
>

--
   Alexander Yurchenko (aka grange)