View Single Post
  #7   (View Single Post)  
Old 5th May 2008
s2scott's Avatar
s2scott s2scott is offline
Package Pilot
 
Join Date: May 2008
Location: Toronto, Ontario Canada
Posts: 198
Default

FYI ... the default flag is 0x0, and, when set as such, it fails softly and self-adjusts. You will boot successfully.

When the flags are manually set, if they're incorrect, then the boot just loops in the timeout-retry cycle. It's not a hard failure, but it won't self-adjust and won't boot. Manual intervention is required.

Adjust with care and do so with a back out at the ready.

Code:
# config -o /bsd.pio -e /bsd
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
Enter 'help' for information
ukc> change wd*
 44 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0x0
change [n] y
channel [-1] ? 
flags [0] ? 0xffc
 44 wd* changed
 44 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0xffc
ukc>quit
I reboot, hit space to intercept the boot, then type
Code:
boot> boot /bsd.pio 
If /bsd.pio should happen to be bad, then a reset button gets me back to /bsd (original).

Once I know bsd.pio is good, then,
  1. mv bsd bsd.orig
  2. mv bsd.pio bsd
/S
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience.
Reply With Quote