From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 19:23:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E998416A4C0 for ; Mon, 8 Sep 2003 19:23:56 -0700 (PDT) Received: from mailhost.tue.nl (mailhost.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21B1643FBF for ; Mon, 8 Sep 2003 19:23:54 -0700 (PDT) (envelope-from frank@masolijn.nl) Received: from mailhost.tue.nl ([127.0.0.1]) by localhost (mailhost.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52406-09 for ; Tue, 9 Sep 2003 04:23:52 +0200 (CEST) Received: from raven (t-17-211.athome.tue.nl [131.155.229.211]) by mailhost.tue.nl (Postfix) with SMTP id 372E514D68F for ; Tue, 9 Sep 2003 04:23:52 +0200 (CEST) Message-ID: <00a501c376c5$b50367c0$0200a8c0@raven> From: "Frank Masolijn" To: Date: Tue, 9 Sep 2003 04:30:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Problem with boot/loader I can't seem to solve. Anyone ideas? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 02:23:57 -0000 L.S. For about a week now I've been trying unsuccesfully to solve the problem below. My machine was installed with 4.8-Release. The problem started after compiling and installing a new kernel to replace kernel.GENERIC What happens is: The system starts. Detects the AH2940 SCSI controller. The controller detects 3 devices. -SCSI ID#2 CDROM -SCSI ID#1 IBM 4,3 GB Disk 0x80 (probably recognized later as da1) -SCSI ID#0 IBM 4,3 GB Disk 0x81 (probably recognized later as da0) It then starts boot0 and shows the boot0 selection-screen. F1 FreeBSD F5 Drive 1 Default: F1 -Choosing F5 results in errors since that one isn't bootable. -Choosing F1 (in my opinion the correct one) yields the following. Having choosen something at boot0 the system continues. At this point it should be able to find /boot.config, but as I'll later show it apparently ignores it. It then shows the boot2 screen. >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: At this point I've tried entering the following things. X:da(Y,a)/Z with -X anywhere between 0 and 5. -Y anywhere between 0 and 2. -Z either /kernel or /boot/loader. The following options allowed a continued boot. 1:da(0,a)/kernel 1:da(1,a)/kernel 1:da(2,a)/kernel 1:da(0,a)/boot/loader 1:da(1,a)/boot/loader 1:da(2,a)/boot/loader All the others didn't work. Having discovered the correct input I assumed putting the same into /boot.config would solve the problem and would ensure I wouldn't have to fill it in manually every time the system boots (this is not practial sincec the system neither has a viewscreen or a keyboard) this however isn't the case. Whatever I fill in into /boot.config the result remains the same. The system tries to boot tells me twice "Invalid partition' followed by "Can't find /kernel". I've reinstalled boot0, boot1 and boot2 to no effect. Reïnstalling FreeBSD from scratch and making another kernel resulted in the same problem. My guts tell me the problems lies in boot0 or boot1's apparent inabillity to execute the correct value specified in /boot.config but I can't find any cause for this. Has anyone got any ideas on how to resolve this problem or where to find additional documentation since I can't find enough information in the Handbook to determine whether the problem indeed lies in the system's inabillity to find /boot.config? Thanks in advance, Frank Masolijn PS. Below anyone interested will find all information I think might be required. (If somethings missing please mail me.) DMESG Copyright (c) 1992-2003 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 4.8-RELEASE #1: Mon Sep 1 18:47:33 CEST 2003 kalizec@qequoia:/usr/src/sys/compile/QEQUOIA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (233.87-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x633 Stepping = 3 Features=0x80f9ff real memory = 100663296 (98304K bytes) avail memory = 94269440 (92060K bytes) Preloaded elf kernel "kernel" at 0xc0392000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fda50 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: at device 7.1 on pci0 atapci0: ATA channel disabled by BIOS pci0: at 7.2 irq 15 chip0: port 0x5f00-0x5f0f at device 7.3 on pci0 rl0: port 0x6800-0x68ff mem 0xef000000-0xef0000ff irq 15 at device 9.0 on pci0 rl0: Ethernet address: 00:50:fc:2a:88:ff miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0x6c00-0x6cff mem 0xef001000-0xef001fff irq 12 at device 10.0 on pci0 aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs pci0: at 11.0 irq 10 ed0: port 0x7000-0x701f irq 11 at device 12.0 on pci0 ed0: address 48:54:e8:90:55:96, type NE2000 (16 bit) eisa0: on motherboard eisa0: unknown card ADP7871 (0x04907871) at slot 6 orm0: