From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,11ec3e33ab32ac2e X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-03-21 09:40:35 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: michael.buetow@comsoft.de (Michael Buetow) Newsgroups: comp.unix.tru64 Subject: Re: genvmunix kernel panic - get_bus failure, you must remove hardware databases , to build new.. Date: 21 Mar 2003 09:40:34 -0800 Organization: http://groups.google.com/ Message-ID: References: <3e78a4ad$0$31957$edfadb0f@dread12.news.tele.dk> NNTP-Posting-Host: 212.86.205.70 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1048268435 29222 127.0.0.1 (21 Mar 2003 17:40:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Mar 2003 17:40:35 GMT Xref: archiver1.google.com comp.unix.tru64:9745 Thanks MArtin, I shall try the script. The very helpful folks on the Tru64 Manager�s mailing list also proposed similar steps. Here is what I eventually used to get my system running (maybe it will help others too): 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. 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. mount the non-root filesystems (I preferred to use bcheckrc) without having to adjust /etc/fstab (now have same old device names) 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 9. boot normally on the restored disk Other comments I received included the "btcreate" utility which apparently can create a bootable tape dump which can be more easily restored. I have not tried this yet though, perhaps someone else can comment on their experience... Thanks for the help. Michael mra wrote in message news:<3e78a4ad$0$31957$edfadb0f@dread12.news.tele.dk>... > Michael Buetow wrote: > > Hello all, > > > > After creating a suitable disklabel on the first disk of a new DS10, I > > restored a Tru64 5.1B installation from a PWS-500 using vrestore. Then I > > tried to boot into single-user mode with the genvmunix kernel, expecting to > > be able to perform a kernel rebuild and do some minor tweaking to /etc/fstab > > and the network configuration to get the new machine running. > > > > Instead, the genvmunix kernel panicked with a message similar to the > > following > > > > PANIC (CPU0) KN600-pci_confl1 = cannot configure PCI subsystem -- get_bus > > failure > > > > Does anyone know what this means and if there�s anything else I can do > > except to install from CD? > > > > Regards, > > > > Michael B�tow > > > I found this, and I tried it some time ago on AS800 to DS10 move of > system disk. It worked for me then. > > regards MArtin R�nde Andersen , ex. DEC,CPQ and HP - Tru64 mangler .. :-)) > > From tru64.org search on tru64-unix-managers list "get_bus failure" > http://www.ornl.gov/its/archives/mailing-lists/tru64-unix-managers/2002/02/msg00345.html > > Thanks to all of you that responded to our problem. > > A big thanks goes to Jan Mark Holzer who's advice we followed and managed to > get the system to restore OK. > > Our Question : > > We have tried to do a restore of the operating system (file systems /, /usr > y /var) in a different model computer than that where these file systems > were saved (from a ES40 to an Alphaserver 4100). We have followed the method > in the Installation Guide-Advanced Topics and in the System Administration > Guide. After the restore, when we try to reboot the system with generic > kernel to single user it can't boot and produces a panic with the message > "panic (cpu 0): mcbusconfl1: cannot configure PCI subsystem -get-bus > failure". The problem is not in the new computer, because it runs perfectly > when you boot the system with the Installation CD and even if you install > operating system with the Installation CD in the same disks that we restored > the file systems. This is the first time that we try to do this with version > 5.1. In versions 4.0X we have done this procedure several times without > problems. > > The Answer : > > Hello, > > yep V5 is a 'little' bit different. We now 'remember' the PCI > bus > locations and configuration. The side effect is that you can't > just boot a system disk (or restore it) on another > system/configuration. > In order to restore a system disk to another system (ie. > different > hardware) you have to delete the existing hardware database > information and re-create it after the restore operation. > The V5.1 System Admin guide has all the information in > chapter 5.7.6 > > Below you'll find a simple procedure you could use to clean out > the existing hardware databases and have them recreated at the > first boot off your next from the newly restored disk . > If you have an existing V5 system disk on the same system > make sure the bootdef_dev variable is reset to "" as otherwise > the boot process will read the device database off you > old system disk (this can be very confusing if you re-install > a system as you'll keep seeing the old device numbering/names) . > > Here's the procedure, I'd suggest to run it on a test system > as this is mostly from memory :) : > > 1) Invoke this script on the system > > #!/bin/sh > # Replace 'new_disk' with the mount point > # where you mount the newly restored root filesystem > # on your old system > # > rm /new_disk/etc/dec* > rm /new_disk/etc/dccd.* > rm /new_disk/etc/dcdd.* > rm /new_disk/etc/dfsc.* > rm /new_disk/etc/dfsl.* > rm /new_disk/cluster/members/member0/etc/cfginfo > rm /new_disk/etc/cfginfo > rm /new_disk/cluster/members/member0/etc/dfsl.dat > rm /new_disk/dev/tty0* > rm /new_disk/dev/lp* > rm /new_disk/dev/kevm* > rm /new_disk/dev/scp* > rm /new_disk/devices/disk/* > rm /new_disk/devices/rdisk/* > rm /new_disk/devices/tape/* > rm /new_disk/devices/ntape/* > rmdir /new_disk/devices/disk > rmdir /new_disk/devices/rdisk > rmdir /new_disk/devices/tape > rmdir /new_disk/devices/ntape > rm /new_disk/dev/disk /new_disk/dev/rdisk /new_disk/dev/tape > /new_disk/dev/ntape > rm /new_disk/cluster/members/member0/.Booted > > 2) Shutdown the system > > 3) Boot to single user > > 4) /sbin/mountroot > > 5) fix all files that know about device special files > - AdvFS > - LSM > - sysconfigtab (device special file name of swap device) > - fstab (ufs mounted devices) > - use hwmgr -v d to get new device special file names > > 6) Exit to continue booting > > Hth, > > Jan