From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 01:56:06 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 49FE516A4BF for ; Fri, 12 Sep 2003 01:56:06 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A45243FDD for ; Fri, 12 Sep 2003 01:56:05 -0700 (PDT) (envelope-from sandshrimp@comcast.net) Received: from comcast.net (unknown[12.242.162.139]) by comcast.net (rwcrmhc13) with SMTP id <2003091208560401500ddpgge> (Authid: sandshrimp); Fri, 12 Sep 2003 08:56:04 +0000 Message-ID: <3F618A24.5000506@comcast.net> Date: Fri, 12 Sep 2003 01:56:04 -0700 From: Ryan Merrick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Masolijn References: <003101c3793e$53fda190$0200a8c0@raven> In-Reply-To: <003101c3793e$53fda190$0200a8c0@raven> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: Retry: Problem with boot/loader I can't seem to solve. Ideas anyone? 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: Fri, 12 Sep 2003 08:56:06 -0000 Frank Masolijn wrote: > 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 MX> > 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: