From owner-freebsd-stable Sun Dec 29 6:37:11 2002 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 E98BA37B401 for ; Sun, 29 Dec 2002 06:37:09 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB2243EC2 for ; Sun, 29 Dec 2002 06:37:08 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id gBTEb5TJ043160; Sun, 29 Dec 2002 17:37:06 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 29 Dec 2002 17:37:05 +0300 (MSK) From: Dmitry Morozovsky To: Scott Penno Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Problems starting init In-Reply-To: <000501c2aef7$aa3636b0$519f31d2@jupiter> Message-ID: <20021229172935.O41406@woozle.rinet.ru> References: <000501c2aef7$aa3636b0$519f31d2@jupiter> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 29 Dec 2002, Scott Penno wrote: SP> Yesterday I grabbed the latest source for -stable, compiled and installed as SP> I've done on a number of occasions in the past. Unfortunately this time SP> things didn't go quite so smoothly. After building world and the kernel, I SP> installed the new kernel and rebooted without a problem, then installed SP> world and ran mergemaster. After rebooting the kernel appears to load OK, SP> but when attempting to start init appears to be stuck in a loop. What I see SP> is: SP> SP> Mounting root from ufs:/dev/ad0s1a SP> ad0s1: type 0xa5, start 63, end = 39102335, size = 39102273 : OK SP> start_init: trying /sbin/init SP> SP> The cursor then changes from high intensity to normal and just sits there. SP> If I press Ctrl-Alt-Del, I see a couple of lines with waiting, syncing disks SP> and the box reboots Any chance you've used wrong CPUTYPE setting? If you have another FreeBSD machine, you may copy /sbin/init from there to floppy, then boot to loader prompt, do set init_path="/bin/sh" and boot (maybe `boot -s' also works, but I'm not sure it does not try to execute init) then do your usual recovery. However, I'm afraid in case of wrong CPUTYPE setting, you'll stuck with the same problem with /bin/sh also... In that case, I'm afraid fixit floppy (or reattaching the drive somewhere else) would be the only solution. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message