From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Charles Hooks Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Cannot boot system with kernel error due to bad sysconfigtab file. Date: Wed, 03 Jul 2002 13:18:10 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1025716668 26253 127.0.0.1 (3 Jul 2002 17:17:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2002 17:17:48 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17PnlD-0006pC-00 for ; Wed, 03 Jul 2002 19:17:48 +0200 Original-Received: (qmail 29579 invoked by uid 5); 3 Jul 2002 17:18:13 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29571 invoked from network); 3 Jul 2002 17:18:13 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 3 Jul 2002 17:18:13 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYO00JSKO2B0B@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Jul 2002 13:18:12 -0400 (EDT) Original-Received: from istmail.ist.psu.edu (istmail.ist.psu.edu [130.203.129.12]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYO001UZO2AIG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Jul 2002 13:18:10 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 Thread-Topic: SUMMARY: Cannot boot system with kernel error due to bad sysconfigtab file. Thread-Index: AcIitZrBAevxygUDTOq4jufO3vKUPA== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:819 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:819 Thanks to all that replied, Dr. Tom Blinn's answer helped with booting = the system without the sysconfigtab file being loaded. (See Below).=A0 = The answer was to boot from CD, open a terminal, run MAKEDEV to create = the device files, run fsck against the root disk, mount the root disk, = cd /etc, copy a previously saved version of the sysconfigtab file into = place and reboot the machine.=A0 The answer did help me diagnose another = issue as well. =A0 =A0 Thanks, Charles =A0 =A0 1)=A0 It's MUCH easier to capture the real error messages if you can set = up to run with a serial console and log things from, say, a PC or = another UNIX system (e.g., via a "tip" session). =A0 2)=A0 You have probably changed the /etc/sysconfigtab file.=A0 There is = a way to tell the kernel to ignore that file with boot flags.=A0 But I = can't find the documentation -- I *think* it's the "n" flag.=A0 No, from = src/kernel/arch/alpha/alpha_init.c I find this: =A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = case 'C': =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = case 'c': =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 /* =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 * ignore the configuration defaults =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 * stored in /etc/sysconfigtab =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/ =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 sysconfigtab =3D NULL; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 break; =A0 So try "boot -flags sc" (single user mode, ignore the sysconfigtab) and = you can put your sysconfigtab changes back to the originals (you did = save a backup copy of the file, right?). =A0 Tom Charles Hooks Manager Network Operations Penn State University School of Information Sciences and Technology chooks@ist.psu.edu ist.psu.edu 865-6455