[Suns-at-Home] problem moving Solaris 9 system disk from U60 to U2

Craig Dewick Keywords: ;
Sun, 25 Feb 2007 20:34:39 +1100 (EST)


Hi everyone,

I'm sure we've all done this sort of thing - shift an installed system 
disk with Solaris on it from one Ultra system to another, or similarly 
with sun4m systems or even sun4c systems.

Anyway, I have a U60 system which I want to replace with a U2 so that I 
can use a Sbus magma serial port card. The magma Sbus Solaris 9 driver 
actually works, while the PCI driver (I have a PCI version of the Magma 
4-port card too) does not.

Anyway, I loaded the OS from a Solaris 9 CD copy with the target disk in 
slot 0 of the U2 that's replacing the U60 system, manually mounted the 
root partition as /tmp/root/t0, removed the contents of /dev and /devices, 
replaced the path_to_inst file with '#path_to_inst_bootstrap_1', unmounted 
the disk, made sure the bootblk was correct using 'installboot', and 
rebooted with '-rv'.

The kernel on the target disk then loads fine, gets to the point of 
displaying the properties of the two 300 Mhz CPU's in the U2, and hangs.

I've already tried breaking out of the kernel, syncing the disks, and 
trying the whole process again, with the same end-result.

The second time I tried it with an extra step - manually re-creating all 
the device nodes with 'devfsadm -r /tmp/root/t0' before unmounting the 
target disk and doing the reconfiguration boot.

The next think I'm going to try is re-doing it a third time, re-creating 
/dev and /devices manually as above before trying to boot off the target 
disk, but I won't pass the '-r' option and see if the kernel will act 
correctly when it sees the path_to_inst file in the default state.

I might try connecting up this machine and running tip on the serial port 
in case the U2 is dumping some debug info but I don't think it would be as 
the kernel loads and that would be taking control of the system.

Can any of you think of something I'm missing?

Thanks,

Craig.

-- 
Post by Craig Dewick (tm). Web @ "http://lios.apana.org.au/~cdewick".
Email 2 "cdewick@lios.apana.org.au". SunShack @ "http://www.sunshack.org"
Galleries @ "http://www.sunshack.org/gallery2". Also lots of tech data, etc.
Sun Microsystems webring at "http://n.webring.com/hub?ring=sunmicrosystemsu".