From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?=22B=FCtow=2C_Michael=22?= Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: 5.1B genvmunix kernel panic Date: Thu, 20 Mar 2003 19:12:47 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <0179401DB2ACA249ADE27697A16F36362BCD3F@cspop.comsoft.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1048184181 5892 80.91.224.249 (20 Mar 2003 18:16:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 18:16:21 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Mar 20 19:16:20 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18w4aR-0001Wr-00 for ; Thu, 20 Mar 2003 19:16:20 +0100 Original-Received: (qmail 4619 invoked by uid 5); 20 Mar 2003 18:16:16 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4610 invoked by uid 49493); 20 Mar 2003 18:16:15 -0000 Original-Received: from michael.buetow@comsoft.de by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.445336 secs); 20 Mar 2003 18:16:15 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 20 Mar 2003 18:16:15 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HC200C4482YZH@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Mar 2003 13:16:14 -0500 (EST) Original-Received: from cspop.comsoft.de (csdc.comsoft.de [212.86.205.70]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HC2001N882WHU@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Mar 2003 13:16:09 -0500 (EST) Original-Received: by cspop.comsoft.de with Internet Mail Service (5.5.2653.19) id ; Thu, 20 Mar 2003 19:12:52 +0100 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3727 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3727 My deep thanks to all who contributed to solve my immediate problem: Bluejay Adametz, B.Krieg, David Stacks, and Dr Thomas Blinn. The "PCI configuration failure" kernel panic resulted from the presence = of persistent data in "device databases" located under /etc, even when = booting from a generic kernel. It is not as straightforward to get a restored dump to work on a = different hardware platform under v5.x as it was under 4.0(F), where I could boot = the generic kernel into single user mode and rebuild a kernel tailored to = the new hardware. To quote Bluejay Adametz: "Tru64 v5 keeps a lot of device information in device database files, = rather than depending on how the kernel is built. This means that, even though = you booted a generic kernel, it's still using the device information from = the previous system." Eventually, the procedure that got the new system working was:=20 (I have only UFS filesystems so YMMV..) 1. boot from 5.1B install CD and restore the dump from tape 2. delete the device databases on the restored system, specifically dec_devsw_db*, dec_hw_db*, dec_hwc_ldb*, dec_scsi_db* in /etc 3. replace the restored /etc/dfsl.dat with the dfsl.dat from /var/etc = of the booted install CD 4. now should be able to boot into single user from the restored = genvmunix kernel, which should create new device databases 5. run "dn_setup -init" and "dsfmgr -K" to get rid of old device names = and regenerate new ones 6. now should be able to mount the non-root filesystems (I preferred to = use bcheckrc) without necessarily adjusting /etc/fstab 7. reinstall the generic sysconfigtab either from CD or from /etc/sysconfigtab.GENERIC 8. rebuild a new kernel using "doconfig" and copy it to /vmunix=20 9. now should be able to boot normally on the restored disk I think these steps represent the essentials, but since I didn=B4t know = the sequence I also tried other options to get the device naming correct, = such as "dsfmgr -v -F" but these didn=B4t fix things completely. For = example, the /dev/disk/dsk0* devices hung around, with the two new disks being named = as dsk1 and dsk2 . The sequence in step (5) did the trick . Other helpful comments suggested that patch kit 1 for 5.1B should at = least be installed since this fixes diverse problems, some of which affected booting. In my case I didn=B4t have to do it, but it may help someone. Also, the "btcreate" command may be used to create a bootable tape dump = of a system can be used to work around the dilemma. I have not tried this = utility yet, but when I do I=B4ll probably have some more questions and answers = :-) Michael B=FCtow