Boot manager problem

Owe Jørgensen oweandre at stud.ntnu.no
Sat Oct 15 11:29:56 PDT 2005


Carl Johan Gustavsson wrote:
> Hello,
> 
> I have a Compaq ProLiant 400, that i'm using as a fileserver.
> (FreeBSD balder.home.swe 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
> 10:21:06 UTC 2005     
> root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386)
> 
> It has a scsi-disk (da0) and two ide-disks, ad0 (at ata0-master) and ad2 
> (at ata1-master).
> da0 contains the system, ad0 and ad2 is just for storage.
> 
> The problem is that the bios doesn't allow me to boot directly to da0. I 
> solve this by having a MBR on ad0, the problem is that it tries to find 
> a loader on the ad0 which is wrong, and i get a error message that says 
> "Invalid partition". Then I get a boot-prompt and if i write 
> "1:da(0,a)/boot/loader" it boots correctly.
> 
> Upon booting i get:
> 
> F1   FreeBSD
> F5   Drive 1
> 
> Default: F1
> 
> Invalid partition
> 
> FreeBSD/i386 boot
> Default: 0:ad(0,a)/boot/loader
> boot: Invalid partition
> No /boot/loader
> 
> FreeBSD/i368 boot
> Default: 0:ad(0,a)/boot/loader
> boot: 1:da(0,a)/boot/loader    (i write this)
> 
> After this it boots correct.
> 
> How do i get the bootloader to boot 1:da(0,a)/boot/kernel directly?
> 
> With regards Carl Gustavsson
> 
> dmesg:
> 
> Copyright (c) 1992-2005 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>    The Regents of the University of California. All rights reserved.
> FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005
>    root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Pentium III/Pentium III Xeon/Celeron (497.44-MHz 686-class CPU)
>  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
>  
> Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> 
> 
> real memory  = 402653184 (384 MB)
> avail memory = 384335872 (366 MB)
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> cpu0 on motherboard
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard
> pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard
> pci0: <PCI bus> on pcib0
> agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 
> 0x44000000-0x47ffffff at device 0.0 on pci0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pcib2: <PCI-PCI bridge> at device 15.0 on pci0
> pci2: <PCI bus> on pcib2
> sym0: <895> port 0x1000-0x10ff mem 
> 0x40100000-0x40100fff,0x40300000-0x403000ff irq 10 at device 4.0 on pci2
> sym0: No NVRAM, ID 7, Fast-40, SE, parity checking
> fxp0: <Intel 82558 Pro/100 Ethernet> port 0x1c00-0x1c1f mem 
> 0x40000000-0x400fffff,0x40500000-0x40500fff irq 10 at device 5.0 on pci2
> miibus0: <MII bus> on fxp0
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:50:8b:94:ab:35
> pci2: <display, VGA> at device 6.0 (no driver attached)
> pci2: <base peripheral> at device 7.0 (no driver attached)
> pci0: <multimedia, audio> at device 16.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 20.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 UDMA33 controller> port 
> 0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2040-0x205f irq 
> 10 at device 20.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> pci0: <bridge> at device 20.3 (no driver attached)
> orm0: <ISA Option ROMs> at iomem 
> 0xe0000-0xe7fff,0xc8000-0xcdfff,0xc0000-0xc7fff on isa0
> pmtimer0 on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> unknown: <PNP0401> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <PNP0700> can't assign resources (port)
> unknown: <PNP0303> can't assign resources (port)
> unknown: <PNP0c02> can't assign resources (port)
> unknown: <PNP0c02> can't assign resources (port)
> Timecounter "TSC" frequency 497435902 Hz quality 800
> Timecounters tick every 10.000 msec
> ad0: 76319MB <ST380011A/3.04> [155061/16/63] at ata0-master UDMA33
> ad2: 190782MB <WDC WD2000JB-00GVA0/08.02D08> [387621/16/63] at 
> ata1-master UDMA33
> acd0: CDROM <COMPAQ XM-6402B/1723> at ata1-slave PIO4
> Waiting 15 seconds for SCSI devices to settle
> (noperiph:sym0:0:-1:-1): SCSI BUS mode change from SE to SE.
> da0 at sym0 bus 0 target 0 lun 0
> da0: <COMPAQ BB00921B91 3B05> Fixed Direct Access SCSI-2 device
> da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing 
> Enabled
> da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
> Mounting root from ufs:/dev/da0s1a
> 
> 
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

I recently installed FreeBSD on a Compaq ProLiant 350 and I experienced 
similar problems.

I urge you to take a look into the BIOS/Firmware on the Motherboard. 
There you will have an option called Boot Device Order.
Make sure that the SCSI controller channel with that system disk is set 
as the first boot device. Then you set up your OS to be of type Other 
(in BIOS). Save and exit the BIOS. From now on, you stay away from the BIOS.

NOTE: You might want to disconnect ALL ide-disks (and CDROMs if you have 
a SCSI cdrom) if you are reinstalling.

Finish the installation, and power down. Reconnect all IDE-devices, and 
boot up again. Continue to format and arrange the ide-drives as desired. 
  Then install src distribution, recompile kernel and reboot.

Good luck, and remember to drink a lot of coffee. ;-)

Owe Jørgensen


More information about the freebsd-stable mailing list