From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 17:21:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0240D16A400 for ; Fri, 22 Jun 2007 17:21:45 +0000 (UTC) (envelope-from mcs@vpm.com) Received: from omta09.mta.everyone.net (sitemail2.everyone.net [216.200.145.36]) by mx1.freebsd.org (Postfix) with ESMTP id E216E13C483 for ; Fri, 22 Jun 2007 17:21:44 +0000 (UTC) (envelope-from mcs@vpm.com) Received: from dm02.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta09.mta.everyone.net (Postfix) with ESMTP id 22D8F4108F; Fri, 22 Jun 2007 10:21:44 -0700 (PDT) X-Eon-Dm: dm02 Received: by dm02.mta.everyone.net (EON-AUTHRELAY2 - 403968d3) id dm02.46789559.67859; Fri, 22 Jun 2007 10:21:28 -0700 X-Eon-Sig: AQFgCwNGfAUYO8l6ogIAAAAF,a8479e23db809b00508bdcb8dd4c515d From: "Mark Stout" To: "Brian A. Seklecki" Date: Fri, 22 Jun 2007 10:18:57 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <1182437459.68077.106.camel@soundwave.pgh.priv.collaborativefusion.com> Cc: jackbarnett@gmail.com, illoai@gmail.com, Mark Stout , freebsd-questions@freebsd.org Subject: RE: Upgrading to 6.2-RELEASE from 6.2-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 17:21:45 -0000 The mountroot was failing to find and mount /dev/da0s1a. The device /dev/da0s1a is in /etc/fstab. Going to the loader prompt and loading the old kernel booted fine. So the problem appears to lie somewhere in the boot files or I added a option/device I probably should not have in the kernel. > -----Original Message----- > From: Brian A. Seklecki [mailto:bseklecki@collaborativefusion.com] > Sent: Thursday, June 21, 2007 7:51 AM > To: Mark Stout > Cc: Mark Stout; jackbarnett@gmail.com; illoai@gmail.com; > freebsd-questions@freebsd.org > Subject: RE: Upgrading to 6.2-RELEASE from 6.2-STABLE > > > not sure about fbsd but nbsd tries to resolve the BIOS drive ID (hex > 0x80?) that the 1st stage boot loader loaded off of into a candidate to > initialize the file system mount from. > > Then it goes after /etc/fstab, which has to agree . > > ~BAS > > On Wed, 2007-06-20 at 21:25 -0700, Mark Stout wrote: > > Well I got the server up and running on the old kernel. I redid the > > buildworld and buildkernel. I've held off for now on doing > installworld and > > installkernel until I get a better understanding of what caused me to go > > into mountroot. I use the "Escape to loader prompt" prompt to > load the old > > kernel. > > > > Does anyone know what causes one to load into a mountroot prompt? > > > > > > > > > -----Original Message----- > > > From: Brian A. Seklecki [mailto:bseklecki@collaborativefusion.com] > > > Sent: Wednesday, June 13, 2007 8:52 AM > > > To: Mark Stout > > > Cc: jackbarnett@gmail.com; illoai@gmail.com; mcs@vpm.com; > > > freebsd-questions@freebsd.org > > > Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE > > > > > > > > > entering: > > > > > > mountroot> ufs:da0s1a > > > > > > ...doesn't work > > > > > > What does "?" command list. > > > > > > ~BAS > > > > > > On Tue, 2007-06-12 at 19:37 -0700, Mark Stout wrote: > > > > I couldn't load da0s1a even though /dev/da0s1a is my root > > > drive. Manually load my old kernel from the prompt worked. > > > > > > > > I believe the mountroot is during the boot load. I'm not > > > anywhere near being able to do anything. > > > > > > > > I have no idea what the problem is. > > > > > > > > [jackbarnett@gmail.com] wrote: > > > > > > > > no idea, but maybe: > > > > boot /boot/kernel/kernel > > > > or > > > > boot /boot/kernel.old/kernel > > > > > > > > What is 'mountroot' - is that the boot loader or the kernel/system > > > > giving you that? > > > > > > > > try mounting your root drive! > > > > > > > > do a `df -k`, anything already mounted? > > > > > > > > oh! or try: > > > > fsck > > > > > > > > did it ask you to login? > > > > > > > > > > > > Mark Stout wrote: > > > > > I followed all the steps in the handbook as well as UPDATED > > > and after a installworld and mergemaster its booting into > > > 'mountroot>' and nothing I type mounts. This is a production > > > machine so I'm in dire need of assistence. > > > > > > > > > > [illoai@gmail.com] wrote: > > > > > On 11/06/07, Mark Stout wrote: > > > > > > > > > > > > > > >>> Following the tasks in Rebuilding "world" in the handbook > > > > >>> > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworl > > > d.html I removed the > > > > >>> /usr/obj directory and did a buildworld. When tryinmg to > > > compile the kernel its failing on > > > > >>> unknown option "MD5". Commenting that out it fails on the > > > line above MD5, options LKM. > > > > >>> What's happening here? These two options papear in the > > > LINT file. I can't find anything > > > > >>> that explains why this would happen. > > > > >>> > > > > >> A follow-up to my last email. I copied GENERIC to RADIUS2 and > > > > >> symlinked to /root/kernel. Then added the various LINT options. > > > > >> > > > > >> I started commenting out what is failing when I try to > compile a new > > > > >> kernel. All are from the LINT file. Is MD5 a default > that does not > > > > >> need to be specifically added? What about ICMP_BANDLIM? And > > > > >> support for IDE drives. Are these already handed elsewhere > > > in GENERIC? > > > > >> > > > > >> # These all failed as unknown options: > > > > >> unknown option "MD5" > > > > >> unknown option "LKM" > > > > >> unknown option "CD9660_ROOTDELAY" > > > > >> unknown option "NSWAPDEV" > > > > >> unknown option "TCP_COMPAT_42" > > > > >> unknown option "ICMP_BANDLIM" (found in Handbook in Chapter > > > 14 Securing FreeBSD) > > > > >> > > > > >> > > > > >> # Do not understand why these are fialing > > > > >> config: Error: device "acd0" is unknown > > > > >> config: Error: device "wfd0" is unknown > > > > >> config: Error: device "wst0" is unknown > > > > >> > > > > >> # This failed as a syntax error > > > > >> controller wdc0 at isa? port "IO_WD1" bio irq 14 > > > > >> > > > > >> > > > > > > > > > > Most of the above looks like old, deprecated > > > > > stuff from 5.x and earlier (the "controller wdc0" > > > > > line reminds me of 3.x or maybe NetBSD). > > > > > > > > > > IDE drive support is all handled by ata(4), all > > > > > you should need for those in your kernel config > > > > > is: > > > > > device ata > > > > > device atadisk > > > > > device atapicd > > > > > (and obviously:) > > > > > device eisa > > > > > device pci > > > > > Which are already part of GENERIC. > > > > > > > > > > /usr/src/sys//conf/LINT doesn't exist in 6.x. > > > > > Try looking at /usr/src/sys//conf/NOTES > > > > > and /usr/src/sys/conf/NOTES for knobs to twist > > > > > and buttons to push. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > -- > > > Brian A. Seklecki > > > Collaborative Fusion, Inc. > > > > > > > > > > > > > > > IMPORTANT: This message contains confidential information and is > > > intended only for the individual named. If the reader of this > > > message is not an intended recipient (or the individual > > > responsible for the delivery of this message to an intended > > > recipient), please be advised that any re-use, dissemination, > > > distribution or copying of this message is prohibited. Please > > > notify the sender immediately by e-mail if you have received this > > > e-mail by mistake and delete this e-mail from your system. > > > > > > > > > > > > > > > > > > > > > -- > Brian A. Seklecki > Collaborative Fusion, Inc. > > > > > IMPORTANT: This message contains confidential information and is > intended only for the individual named. If the reader of this > message is not an intended recipient (or the individual > responsible for the delivery of this message to an intended > recipient), please be advised that any re-use, dissemination, > distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received this > e-mail by mistake and delete this e-mail from your system. > >