Re: A little more help for a new sparc user
"Erin O'Meara" <[email protected]>
| Newsgroups | gmane.os.openbsd.sparc |
|---|---|
| Message-ID | <[email protected]> |
Thanks this was a really big help in geting things started, I have just
about got the solaris install booted.
My config files
# more exports
# $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
#
# NFS exports Database
# See exports(5) for more information. Be very careful: misconfiguration
# of this file can result in your filesystems being readable by the world.
/export/root -maproot=root -alldirs webserver01
/export/sparc sunbox
#/exports/sparc -rw -no_root_squash sunbox not sure if this is right
/usr -ro webserver01
# more bootparams
webserver01 root=192.168.2.177:/export/root \
swap=192.168.2.177:/export/swap
sunbox root=192.168.2.177:/export/sparc \
boottype=192.168.2.177:in \
rootopts=192.168.2.177:rsize=32768:nfsvers=3:vers=3 \
install=192.168.2.177:/export/sparc/miniroot \
term=192.168.2.177:xterm
I get this error on the terminal
Sun Netra X1 (UltraSPARC-IIe 500MHz), No Keyboard
OpenBoot 4.0, 512 MB memory installed, Serial #51370167.
Ethernet address 0:3:ba:f:d8:b7, Host ID: 830fd8b7.
Boot device: net File and args:
3a000 cannot open neither boot_archive nor miniroot
Enter filename [boot_archive]:
this is rpc.bootparamd output
# rpc.bootparamd -d
rpc.bootparamd: whoami got question for 192.168.2.147
rpc.bootparamd: This is host sunbox
rpc.bootparamd: Returning sunbox 127.0.0.1
rpc.bootparamd: getfile got question for "sunbox" and file "root"
rpc.bootparamd: returning server:192.168.2.177 path:/export/sparc address:
192.168.2.177
rpc.bootparamd: getfile got question for "sunbox" and file "rootopts"
rpc.bootparamd: returning server:192.168.2.177
path:rsize=32768:nfsvers=3:vers=3 address: 192.168.2.177
here is the contents of /export/sparc
# ls -la
total 395080
drwxr-xr-x 2 root wheel 512 Mar 12 20:22 .
drwxr-xr-x 4 root wheel 512 Mar 11 18:26 ..
-rw-r--r-- 1 root wheel 212582400 Mar 12 20:21 SPARC.MINIROOT
lrwxr-xr-x 1 root wheel 16 Mar 11 18:26 bsd -> /tftproot/bsd.rd
-rw-r--r-- 1 root wheel 2371073 Mar 11 20:33 bsd.rd
lrwxr-xr-x 1 root wheel 14 Mar 12 20:22 miniroot -> SPARC.MINIROOT
lrwxr-xr-x 1 root wheel 24 Mar 12 19:17 test ->
/tftpboot/SPARC.MINIROOT
# pwd
/export/sparc
Things look right, i think
the tftp server is sending the INETBOOT file I pulled from the solaris 10
install DVD
and I put the SPARC.MINIROOT file in the export directory (also pulled from
the DVD)
OpenBoot Loads INETBOOT Then that loads SPARC.MINIROOT
does it have something to do with the fact that in bootparamd returns
127.0.0.1 and not its network IP?
Thanks,
Erin
On Fri, Mar 12, 2010 at 5:12 PM, Nick Schmalenberger <[email protected]
> wrote:
> On Fri, Mar 12, 2010 at 03:44:49PM -0800, Erin O'Meara wrote:
> > Well I got the install up and running an have my netra X1 running
> openBSD.
> >
> > In the install.sparc64 file in mentions applying the latest firmware
> patch
> > for openbsd to run. the firmware on the box is from 2001 and the latest
> is
> > 2003.
> > I have download the patch file from sun (111952-03) and the file is a
> shell
> > script that contains an encoded file, which is a shell script with
> another
> > enocode file.
> > in the end I get the tar file that is double encoded and contains
> > flashprom.64bit, flashprom.32bit and obp_image.
> >
> > from reading the scripts the flashprom files are drivers for sun's OS and
> > the other file is the firmware image.
> >
> > any suggestions on how to flash the netra X1 firmware from openBSD?
> >
> > I have played around with these steps and tried to boot the image file
> with
> > no luck, should this work with the obp_image file?
> > http://www.smtps.net/netboot_flash_obp.html
> >
> What I needed to do to update the prom on my Netra T1 105, was
> boot the Solaris installer with a similar arrangement to openbsd,
> and I was able to run the prom update from the Solaris installer
> without installing Solaris. Getting all the nfs and bootparams
> stuff seemed to be a big pain with Solaris like OpenBSD, but
> slightly different. Here are my exports and bootparams files:
> nick@gwynn:~$ cat /etc/exports
> # /etc/exports: the access control list for filesystems which may be
> exported
> # to NFS clients. See exports(5).
> /var/lib/tftpboot tuolumne(rw,no_root_squash)
> /var/lib/tftpboot -ro minerva
> nick@gwynn:~$ cat /etc/bootparams
> # /etc/bootparams: provide diskless clients with information necessary
> # for booting. See bootparamd(8) for further information.
> #
> # Format : client id=server:path
> #
> # Example: client_1 base=server_1:/path/to/basedir
> #
> tuolumne
> root=gwynn-boot:/var/lib/tftpboot/solaris/Solaris_10/Tools/Boot \
> rootopts=gwynn-boot:rsize=32768:nfsvers=3:vers=3 \
> install=gwynn-boot:/var/lib/tftpboot/solaris \
> #
> sysid_config=gwynn-boot:/var/lib/tftpboot/sparc/sysidcfg.d/solaris10 \
> boottype=bootp-server:in \
> term=bootp-server:xterm
> minerva root=gwynn:/var/lib/tftpboot
>
> Some of those settings are for other installations of OpenBSD, I
> think, tuolumne is the netra. gwynn is a debian system too, with
> tftpd-hpa, nfs-user-server, and netkit-bootparamd. The versions
> of those now are different from what I used before I suppose.
> Maybe that config will help you though. I used various howtos
> also, I don't remember which one was the most helpful, sorry.
> Nick Schmalenberger
>
>
--
Erin O'Meara
Office: 206.905.9520
Cell: 425.785.2226