SI_ROOTDISK is wrong on Sun Blade-1000 (Casper?).

SI_ROOTDISK is wrong on Sun Blade-1000 (Casper?).

Post by Vadim V. Kouevd » Sat, 19 May 2001 03:00:00



===============================================================
Casper Dik, in case there is no some fixing patch, could you
contact internally Engineering group responsible for jumpstart?
===============================================================

I just installed new jumpstart image from 4/01 set and got a
problem with installation of Sun Blade-1000.

Sun's "chkprobe/probe_rootdisk()" subroutine determines default
rootdisk (variable SI_ROOTDISK). And it does it in quite funny way:

1. Check for /dev/dsk/c0t3d0s0 and set, if exists.
2. If no - pick first one in /dev/dsk:

        # nothing else has worked so just pick the first
        # available disk
        if [ -z "${SI_ROOTDISK}" ] ; then
            for i in /dev/dsk/*s0 ; do
                SI_ROOTDISK=`basename ${i}`
                break
            done
        fi

As result on Sun Blade-1000 it gets DVD drive as first device in
/dev/dsk: DVD is c0t6 and disk is c1t1 !!!!! Afterwards it checks
size of "root disk", gets 0 and jumpstart fails.

Here is quick and dirty fix (hope Sun will implement something
similar to avoid mentioned problem) to skip CD/DVD drives:

        # nothing else has worked so just pick the first
        # available disk
        if [ -z "${SI_ROOTDISK}" ] ; then
            for i in /dev/dsk/*s0 ; do
                SI_ROOTDISK=`basename ${i}`
                SI_RD=`echo ${SI_ROOTDISK} | sed 's/s0//g'`
                [ "`echo | format | grep ${SI_RD}`" != "" ] && { break; }
            done
        fi

Just tested this... And guess what - it's working :-)

--

Bear Stearns       Engineering Task Force       ITG UNIX

 
 
 

1. Boot Blade 1000 or Blade 100 into 32-bit mode OS

Hi,

   I am just wondering whether you can boot Blade 1000 or Blade 100 into
32-bit mode Solaris 8?  I know it can be done on Ultra-10 with Solaris 8
installed, but how about Blade 1000/100?  Has anyone done this before?  Are
we issuing the same boot command?  Your help is really appreciated.

Thanks.

2. DNS MX records?

3. Sun Blade 1000 can't boot

4. Bill disses Linux

5. Barrier Timeout on Sun Blade 1000

6. DOSEMU Crush & burn!

7. Does Solaris 7 support Sun-Blade-1000 workstations?

8. Using intr. USR 28K8 with linux

9. Sun Blade 1000 shutting down...

10. Sun Blade 1000 and Expert 3D card

11. Sun Blade 1000-600

12. Does Sun Blade 1000 accept 80GB ATA hard disk?

13. ? Solaris 7 / SUNW,Sun-Blade-1000 platform files