From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 09:57:38 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 D076A37B401 for ; Thu, 10 Jul 2003 09:57:38 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0296643FAF for ; Thu, 10 Jul 2003 09:57:38 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 3879 invoked by uid 1001); 10 Jul 2003 16:57:48 -0000 Date: Thu, 10 Jul 2003 09:57:48 -0700 From: Joshua Oreman To: Dustin Puryear Message-ID: <20030710165748.GD3656@webserver.get-linux.org> References: <20030708140952.GA18349@globnix.org> <5.2.1.1.0.20030707125459.04c46fe0@mail.puryear-it.com> <20030708140952.GA18349@globnix.org> <5.2.1.1.0.20030709201951.030358f8@pop.netaddress.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.1.1.0.20030709201951.030358f8@pop.netaddress.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: [SAGE] FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem. 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: Thu, 10 Jul 2003 16:57:39 -0000 On Wed, Jul 09, 2003 at 08:53:02PM -0500 or thereabouts, Dustin Puryear wrote: > Before reading below: I am considering a new install rather than an upgrade > of our servers. However, now I just want to beat this problem. :) > > At 02:19 PM 7/8/2003 +0000, Phil Pennock wrote: > >On 2003-07-08 at 14:09 +0000, Phil Pennock wrote: > >> There was a fairly major update to the IDE disk device handlers which > >> required new device nodes. Bringing in the new MAKEDEV script and > >> running that to create the disk devices will probably let you boot on > >> the new kernel and try to repair things from there. > > > >Okay, I'll go get more coffee after sending this. You noticed this one. > >Sorry. > > > >There are two mergemaster steps, one which does the minimum needed to > >let the rest of the build continue. > > Yes, I ran 'mergemaster -p' but found that it really only merged my passwd > and group files with the new ones. Unless it did some other things behind > the scenes then there is no fix here. mergemaster -p -- run before installworld or (preferably) buildworld -- good. > > >The issue is, as you note, the device stuff. As I said though, just > >pull in MAKEDEV manually and run it. That will fix this. Either > >"sh MAKEDEV all" or "sh MAKEDEV ad0" ... > > I keep thinking it's the device stuff myself, but even MAKEDEV didn't do > the trick (interesting notes below this stuff): > > # cd /usr/src > # make update > # /usr/src/usr.sbin/mergemaster/mergemaster.sh -p > # make buildworld > # make buildkernel > # make installkernel You might have to installworld before rebooting -- I know I always do. > # cd /etc > # mv MAKEDEV MAKEDEV.old > # cp /usr/src/etc/MAKEDEV . > # sh MAKEDEV all # ls ad4s1* || sh MAKEDEV ad4s1 > # reboot > > Upon reboot I get my favorite lines: > > blah, blah > blah, blah > ar0: ... [...] status: READY subdisks: > 0 READY ad4: ... at ata2-master UDMA100 > 1 READY ad6: ... at ata3-master UDMA100 > acd0: CDROM ... at ata0-master PIO4 > Mounting root from ufs:/dev/ad4s1a > Root mount failed: 16 > > Manual root filesystem specification: > blah, blah According to intro(2), error 16 is EBUSY ("Device busy"). I think the kernel is not letting you use a device in the RAID. After all, it says subdisks: ad4 ad6 and you're trying to boot from ad4. Could that be it? HTH, -- Josh > ...snip... > Mounting root from ufs:/dev/ad4s1a > > > --- > Dustin Puryear > Puryear Information Technology, LLC > Providing expertise in the management, integration, and > security of Windows and UNIX systems, networks, and applications. > > _______________________________________________ > 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"