From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,c0d361a99759aac7 X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!newsfeed.freenet.de!bolzen.all.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!citadel.nobulus.com!fi.sn.net!newsfeed1.fi.sn.net!news.song.fi!not-for-mail Date: Tue, 12 Feb 2008 23:18:15 +0200 From: =?ISO-8859-1?Q?Uusim=E4ki?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: SCSI controller PCI slot change References: <1202806010.32278.0@proxy02.news.clara.net> In-Reply-To: <1202806010.32278.0@proxy02.news.clara.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <47b20d09$0$15003$9b536df3@news.fv.fi> Organization: FINNET customers NNTP-Posting-Host: 62-197-174-30.ktab.customers.dnainternet.fi X-Trace: 1202851081 news.fv.fi 15003 62.197.174.30:2203 X-Complaints-To: abuse@news.fv.fi Xref: g2news1.google.com comp.unix.tru64:1203 Artem Alimarine wrote: > Hi, > > I have a problem booting 5.1 after when the controller is replugged to > another PCI slot. It is obviously because the old disk device mapping is > incorrect in the new configuration. How can I fix that? The same problem > in 4.0g. I cannot even boot to level 3 with the GENERIC kernel. The > error is > > > # init 3 > > INIT: New run level: 3 > Checking device naming: > Passed. > Checking local filesystems > /sbin/ufs_fsck -p > Error: /dev/rdisk/dsk0a is an invalid device or cannot be opened. > Can't open /dev/rdisk/dsk0a: No such device or address > /dev/rdisk/dsk0a: CAN'T CHECK FILE SYSTEM. > Error: /dev/rdisk/dsk0g is an invalid device or cannot be opened. > Can't open /dev/rdisk/dsk0g: No such device or address > /dev/rdisk/dsk0g: CAN'T CHECK FILE SYSTEM. > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: > /dev/rdisk/dsk0g (/usr) > Unknown error in reboot > > INIT: SINGLE-USER MODE > > Thanks, > Artem Hi Artem, I try to remember the needed tasks, because I cannot test it right now. On V4.0* the problem needs some more work, before you get it corrected. First you have to boot the generic kernel from the OS CD and mount the system disk root partition and the /usr partition to temporary mount points. Then you have to run sizer (-n TEMP) then compare the /tmp/TEMP file and the /sys/conf/YOURSYSTEM to find the new scsi controller entry in the /tmp/TEMP file. Then you have to add that line into the /sys/conf/YOURSYSTEM file and rebuild the kernel and copy it to the root partition and then boot to single user from the system disk. Now you can try to run the bcheckrc script. If the disk was found and the needed device files were generated the other filesystems will be mounted. If not, you have to cd to the /dev directory and run the MAKEDEV rz* <--- whichever the disks (new) scsi address is. You have to edit the /etc/fstab to correct the new disk name for the mounts. But if you are using Advfs, you have to correct the links in the /etc/fdmns/*_domain directories to the new disk device name. Then you should be able to run the bcheckrc and then boot up to run level 3. On 5.1* many tasks are easier and don't need so much work. This problem should be solved by booting the generic kernel to single user, run hwmgr -scan scsi (which should find all the needed devices and their possibly new addresses. After that you should be able to run the bcheckrc to get the other filesystems mounted and boot up to run level 3. Hope I didn't forget something critical. Good Luck! Regards, Kari