From owner-freebsd-stable@FreeBSD.ORG Sat Oct 15 18:29:55 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D449D16A420 for ; Sat, 15 Oct 2005 18:29:55 +0000 (GMT) (envelope-from oweandre@stud.ntnu.no) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id B219F43D6A for ; Sat, 15 Oct 2005 18:29:46 +0000 (GMT) (envelope-from oweandre@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id 4B4DB33680 for ; Sat, 15 Oct 2005 20:29:45 +0200 (CEST) Received: from [129.241.134.240] (m240g.studby.ntnu.no [129.241.134.240]) by signal.itea.ntnu.no (Postfix) with ESMTP for ; Sat, 15 Oct 2005 20:29:44 +0200 (CEST) Message-ID: <43514A9F.7000006@stud.ntnu.no> Date: Sat, 15 Oct 2005 20:29:51 +0200 From: =?ISO-8859-1?Q?Owe_J=F8rgensen?= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <43512F32.9050309@telia.com> In-Reply-To: <43512F32.9050309@telia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Subject: Re: Boot manager problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 18:29:56 -0000 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@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@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 > > real memory = 402653184 (384 MB) > avail memory = 384335872 (366 MB) > npx0: on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: pcibus 0 on motherboard > pir0: on motherboard > pci0: on pcib0 > agp0: mem > 0x44000000-0x47ffffff at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 15.0 on pci0 > pci2: 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: port 0x1c00-0x1c1f mem > 0x40000000-0x400fffff,0x40500000-0x40500fff irq 10 at device 5.0 on pci2 > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:50:8b:94:ab:35 > pci2: at device 6.0 (no driver attached) > pci2: at device 7.0 (no driver attached) > pci0: at device 16.0 (no driver attached) > isab0: at device 20.0 on pci0 > isa0: on isab0 > atapci0: 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: port 0x2040-0x205f irq > 10 at device 20.2 on pci0 > usb0: 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: at device 20.3 (no driver attached) > orm0: at iomem > 0xe0000-0xe7fff,0xc8000-0xcdfff,0xc0000-0xc7fff on isa0 > pmtimer0 on isa0 > atkbdc0: at port 0x64,0x60 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 > ppc0: 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: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > Timecounter "TSC" frequency 497435902 Hz quality 800 > Timecounters tick every 10.000 msec > ad0: 76319MB [155061/16/63] at ata0-master UDMA33 > ad2: 190782MB [387621/16/63] at > ata1-master UDMA33 > acd0: CDROM 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: 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@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