From owner-freebsd-stable Wed Jan 1 23:43:41 2003 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 E9E1B37B401 for ; Wed, 1 Jan 2003 23:43:38 -0800 (PST) Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [210.49.20.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id C86D343EC2 for ; Wed, 1 Jan 2003 23:43:37 -0800 (PST) (envelope-from scottpenno@optusnet.com.au) Received: from jupiter (c17292.brodm1.vic.optusnet.com.au [210.49.161.152]) by mail019.syd.optusnet.com.au (8.11.1/8.11.1) with SMTP id h027hVs28289; Thu, 2 Jan 2003 18:43:31 +1100 Message-ID: <003801c2b232$a4c925f0$0128a8c0@jupiter> From: "Scott Penno" To: , "Dmitry Morozovsky" References: <000501c2aef7$aa3636b0$519f31d2@jupiter> <20021229172935.O41406@woozle.rinet.ru> Subject: Re: Problems starting init Date: Thu, 2 Jan 2003 11:08:45 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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 Thanks for your help Dmitry. Unfortunately I'd already tried a known good version of init and the date and time modified on the existing file indicated that it had not been modified. In order to get things up and running again as quickly as possible, I have decided to restore the system from backups and everything is now back up and running. Scott. ----- Original Message ----- From: "Dmitry Morozovsky" To: "Scott Penno" Cc: Sent: Monday, December 30, 2002 1:37 AM Subject: Re: Problems starting init 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