Jumpstart Solaris 8 vs. Solaris 10 (sparc)

Jumpstart Solaris 8 vs. Solaris 10 (sparc)

Post by Spor » Sun, 26 Feb 2006 00:09:14



Hello Solaris Community.

I'm wondering if anyone else has seen this behaviour.

With Solaris 8, we've had a process in place for a while now which has
worked well.  We've simply been creating compressed configuration
tarfiles, parking them on an nfs share, then booting the Sun client
from cd/dvd rom drive, using the appropriate obp command line:

boot cdrom - install nowin dhcp \
nfs://<nfsserver>/<path_to_compressed_config>/<config_tarball>

The machine would then go through the process of starting the kernel,
grabbing an IP address, grabbing the compressed config file, then
kicking off the automated install.  No need to mess with creating boot
servers, etc.

With the inception of Solaris 10, however, this seems to have become
broken.  The system will start the kernel, obtain an IP address (with
success), then promptly bust into an un-breakable loop of death.
Here's the output:

.... [snip]

Configuring devices.
Trying DHCP on hme0
Success
Using DHCP for network configuration information.

<unknown>: warning: dhcpagent: daemonize: timed out awaiting adoption.

DHCP: using local media

/sbin/install-discovery: /usr/bin/loadkeys: not found

[ network/physical:default failed (see 'svcs -x' for details) ]

Feb 24 06:38:17 svc.startd[7]: svc:/network/loopback:default: Method
"/lib/svc/method/net-loopback" failed with exit status 1.

[ network/loopback:default failed (see 'svcs -x' for details) ]

Feb 24 06:38:17 svc.startd[7]: svc:/system/filesystem/usr:default:
Method "/lib/svc/method/fs-usr" failed with exit status 1.

Feb 24 06:38:18 svc.startd[7]: svc:/system/filesystem/usr:default:
Method "/lib/svc/method/fs-usr" failed with exit status 1.

Feb 24 06:38:18 svc.startd[7]: svc:/system/filesystem/usr:default:
Method "/lib/svc/method/fs-usr" failed with exit status 1.

[ system/filesystem/usr:default failed (see 'svcs -x' for details) ]

Requesting System Maintenance Mode

(See /lib/svc/share/README for more information.)

Console login serice(s) cannot run

svc.startd: Could not exec() sulogin: No such file or directory

Requesting System Maintenance Mode

(See /lib/svc/share/README for more information.)

....... endless loop.

Something's obviously been modified for 10 -- has Sun removed the
option for using compressed tar configuration files or something?

Thanks.

 
 
 

Jumpstart Solaris 8 vs. Solaris 10 (sparc)

Post by Bruce Porte » Sun, 26 Feb 2006 05:15:25



> Hello Solaris Community.

> I'm wondering if anyone else has seen this behaviour.

> With Solaris 8, we've had a process in place for a while now which has
> worked well.  We've simply been creating compressed configuration
> tarfiles, parking them on an nfs share, then booting the Sun client
> from cd/dvd rom drive, using the appropriate obp command line:

> boot cdrom - install nowin dhcp \
> nfs://<nfsserver>/<path_to_compressed_config>/<config_tarball>

Not a method I have ever used, but surely flash archives would be more
appropriate

Quote:

> The machine would then go through the process of starting the kernel,
> grabbing an IP address, grabbing the compressed config file, then
> kicking off the automated install.  No need to mess with creating boot
> servers, etc.

As you have an NFS server, why not just use that for rthe boot server ?
You would then not have to walk/drive/run to the server to be built ot put
a CD/DVD in and just do a boot net<:dhcp> - install

Quote:

> With the inception of Solaris 10, however, this seems to have become
> broken.  The system will start the kernel, obtain an IP address (with
> success), then promptly bust into an un-breakable loop of death.
> Here's the output:

Browsing through http://docs.sun.com, there appears to be no method for
compressed tar install with nfs on Sol10, but there is for http, I am sure
more delving will find the answer to why it is removed (either security or
no one was using it :-) ).

So, maybe setup as http ? or configure JumpStart, Sun supply JET
(JumpStart Enterprise Toolkit) free on http://sun.com/downloads and there
is usefull setup  info at

http://www.sun.com/bigadmin/content/jet/
and Resources at http://jet.maui.co.uk

HTH

Quote:

> .... [snip]

> Configuring devices.
> Trying DHCP on hme0
> Success
> Using DHCP for network configuration information.

> <unknown>: warning: dhcpagent: daemonize: timed out awaiting adoption.

> DHCP: using local media

> /sbin/install-discovery: /usr/bin/loadkeys: not found

> [ network/physical:default failed (see 'svcs -x' for details) ]

> Feb 24 06:38:17 svc.startd[7]: svc:/network/loopback:default: Method
> "/lib/svc/method/net-loopback" failed with exit status 1.

> [ network/loopback:default failed (see 'svcs -x' for details) ]

> Feb 24 06:38:17 svc.startd[7]: svc:/system/filesystem/usr:default:
> Method "/lib/svc/method/fs-usr" failed with exit status 1.

> Feb 24 06:38:18 svc.startd[7]: svc:/system/filesystem/usr:default:
> Method "/lib/svc/method/fs-usr" failed with exit status 1.

> Feb 24 06:38:18 svc.startd[7]: svc:/system/filesystem/usr:default:
> Method "/lib/svc/method/fs-usr" failed with exit status 1.

> [ system/filesystem/usr:default failed (see 'svcs -x' for details) ]

> Requesting System Maintenance Mode

> (See /lib/svc/share/README for more information.)

> Console login serice(s) cannot run

> svc.startd: Could not exec() sulogin: No such file or directory

> Requesting System Maintenance Mode

> (See /lib/svc/share/README for more information.)

> ....... endless loop.

> Something's obviously been modified for 10 -- has Sun removed the
> option for using compressed tar configuration files or something?

> Thanks.

--
        Bruce

"The internet is a huge and diverse community and  
not every one is friendly"                            
        http://www.ytc1.co.uk                    

 
 
 

Jumpstart Solaris 8 vs. Solaris 10 (sparc)

Post by Chris » Sun, 26 Feb 2006 09:56:38


I don't think this is the solution, but check.  Ensure you jumpstart
shares are shared out exactly as they are on the original operational
server.

I too would not have attempted just a tar bar.  I would have only
tarred up some of the profiles and config start scripts, but
re-installed the software images from scratch.

Good luck.

 
 
 

1. Jumpstart solaris 10 b69 and solaris 10 b72 on an Ultra 30

I am trying to jumpstart a Sun Ultra 30 using Solaris 10 b69
(b72 gives the same results) from a Linux jumpstart server.

I have scripts for all this (soon to be release opensource!) but
..although I can get b55, beta5(b60) and b63  and b55 to work
b63 and b72 do not work!

since this is an Ultra 30 I went to

http://sunsolve.sun.com/handbook_pub/Devices/Boot_PROM/BootPROM_Sun4u...
and ran Patch 105930-06 with no problems.

Even now it does not boot.

- bpgetfile shows all parameters can be retreived ok.
- nfs mounts all work
- pfinstall shows the profile is ok
- I've checked the rules file and it is fine.
- The /tftpboot directory is setup correctly with the right inetboot file.

reset
boot net - install
I can see the tftp transfer clock up ok to 38600
The linux server shows the correct mount of the root= directory.

Normally the kernel banner should appear next but instead I get
loads of messages

not found: vmem_create
not found: vmem_alloc
not found: cv_signal
not found: wake_sched_sec
not found: physmax
not found: putreg
not found: fp_precise
not found: ddi_prop_lookup_init_array
not found: sema_v
not found: traceregs
not found: psignal
not found: strcmp
not found: fop_putpage
not found: strcmp
not found: global_zone
not found: fastscan

etc.. and eventually

krtld:error during initial load/link phase
panic - boot:exitto64 returned from client program

and I'm back at the ok prompt

1. From the book "Solaris Internals: Core Kernel Architecture" using

/usr/ccs/bin/dump -Lv /platform/sun4u/kernel/sparcv9/unix

mentions the line NEEDED..dtracestubs

but I cannot find dtracestubs under that /platform directory.
Is this a problem?

2. nm on things seems to indicate the missing symbols are in genunix
but I'm not sure how to debug what is going on??

3. eeprom | grep boot-file give
boot-file: data not available so I assume a 64-bit boot should occur.

On the net I've seen add set moddebug to /etc/system but the
Solaris Internals boot indicates that /etc/system is read AFTER
krtld does an inital link.

I'm totally stumped why this will not work...Any ideas?

2. Access to ARP Cache

3. Sparc 5 vs Sparc 10 vs Sparc 20

4. Problems with xcdroast

5. upgrade solaris 9 -> solaris 10 with jumpstart: insufficient space

6. MTU change under Linux

7. Sparc 10 vs. P3 800MHz - Web Server (and Sparc 10 value)

8. Connecting to RR

9. sparc (ultra sparc) solaris 8 vs. intel solaris 8 comparison

10. SunOS 5.6 vs Solaris 2.6 vs Solaris 7 vs Solaris 8

11. Evaluation pointers: x86-Solaris vs x86-NT vs SPARC-Solaris

12. Benchmarks x86 Solaris vs Linux and Solaris 2.6 x86 vs sparc

13. Cross Compiler for Solaris 10 x86 on Solaris 8 Sparc.