From owner-freebsd-stable Thu Aug 22 18:35:47 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 D64EA37B400 for ; Thu, 22 Aug 2002 18:35:43 -0700 (PDT) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA40043E4A for ; Thu, 22 Aug 2002 18:35:40 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.3) with ESMTP id g7N1ZYgD007481 for ; Fri, 23 Aug 2002 11:05:37 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Fixit CD annoyance and other fun things From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 23 Aug 2002 11:05:33 +0930 Message-Id: <1030066536.410.9.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Spam-Score: -100 () USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) 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 I recently had my laptop double fault after it suspended and then it would hang when booting trying to run init (maybe the disk was too hosed). I booted the fixit CD and then proceeded to fsck the drive.. It started spewing 'duplicate inode ... unexpected softupdate inconsistency' and wanted to delete every file on the disk. I mounted the drive read-only and made a tar backup (dump cried about -ve offsets near the end of the dump and then stopped.. grr). Unfortunately I couldn't get ssh to work so I had to enable rsh :-/ Afterwards I figured out that ssh wasn't working because /dev/*random doesn't exist on the MFS root floppy. ssh doesn't give a good error message in this case though. I am wondering if it is possible to add these device nodes, copy them from the fixit cd into /dev (since the mfs image doesn't have MAKEDEV either), or even just write a note about it. Interestingly after I backed up the drive and restored it on a freshly newfs'd system init would seg fault on boot(!). I ended up installing 4.6 on the drive and then splatting my old data back on the system (but avoiding restoring anything in /) I am curious as to what would cause init to segfault at boot since it isn't linked to any libraries etc.. My /etc scripts were pretty hosed though as I let fsck chew on the disk for a bit (eg my /etc/passwd file had the contents on /etc/rc.diskless2) BTW now my laptop crashes on suspend - anyone else see similar behaviour? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message