From owner-freebsd-stable@FreeBSD.ORG Sat Oct 15 16:32:51 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 DC94016A41F for ; Sat, 15 Oct 2005 16:32:51 +0000 (GMT) (envelope-from carl.gustavsson@telia.com) Received: from mx1.kth.se (mx1.kth.se [130.237.32.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3450B43D46 for ; Sat, 15 Oct 2005 16:32:50 +0000 (GMT) (envelope-from carl.gustavsson@telia.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.kth.se (Postfix) with ESMTP id 8F4F114110D for ; Sat, 15 Oct 2005 18:32:49 +0200 (CEST) Received: from mx1.kth.se ([127.0.0.1]) by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25953-01-25 for ; Sat, 15 Oct 2005 18:32:47 +0200 (CEST) Received: from [192.168.0.6] (c213-100-49-147.swipnet.se [213.100.49.147]) by mx1.kth.se (Postfix) with ESMTP id AA00C1410FF for ; Sat, 15 Oct 2005 18:32:47 +0200 (CEST) Message-ID: <43512F32.9050309@telia.com> Date: Sat, 15 Oct 2005 18:32:50 +0200 From: Carl Johan Gustavsson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051001) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at kth.se Subject: 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 16:32:52 -0000 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