Hi,

I have several SPARCclassic and SPARCstation IPX boxes I'm setting up to
run OpenBSD 5.9 headless and diskless. They will all be booting via
TFTP/NFS off a linux server. I mostly have everything working except for a
few quirks/annoyances.

One SPARCclassic has a Sun SunSwift 100BaseT ethernet SBus Adapter (X1018A)
in addition to the on-board Lance Ethernet. I want to use the hme instead
of the le. I don't know if it will result in much of a performance boost
since it's not a very fast system, but since I have it I might as well use
it! Everything works just find EXCEPT for a little hitch in the boot chain
of events. After the kernel identifies all the hardware it asks for the
"root device". If you just hit enter it prompts you to "use one of: exit
le0 hme0". So it knows the Happymeal is there, and if you chose hme0 then
it proceds to complete the boot process and the machine comes up just fine
with rootfs and swap running off of NFS.

Is there anyway to pass the "root device" parameter to bsd as an argument?
I've tried "boot hme0 bsd hme0" and things like that from OpenBoot, but no
go. It doesn't matter if I have an ethernet cable plugged into le0 or not.

Oddly, the IPX has a Lance Ethernet SBus card and I use that to boot off of
rather than the on-board AUI le0 interface, and with OpenBoot set for
booting le1 OpenBSD has no problem booting that way without prompting for
which of the two interfaces to boot from. It even works if both interfaces
are connected to a hub.

I've searched for days and not found any way to pass the argument. Maybe
I'm missing it, but I don't see the info I seek in any of the OpenBSD man
pages, guides or FAQs. I've seen where in some situations people use things
like "boot /bsd -r sd0a" to specify which partition to boot from, but it
doesn't seem to work when I try "boot /bsd -r hme0", "boot bsd -r /hme0",
"boot hme0 bsd hme0", or etc. As best as I can tell "-r" is not even an
option with the Sparc architecture.

Any help or pointers?  I've been looking at the man pages for boot_config,
config, etc. but I don't see anything obvious there that would rectify my
problem.

Thanks,
DJ




SPARCclassic, No Keyboard
ROM Rev. 2.9, 128 MB memory installed, Serial #173474.
Ethernet address 8:0:20:5:20:a2, Host ID: 8002a5a2.

Boot device: /iommu@0,10000000/sbus@0,10001000/SUNW,hme@0,8c00000 File and
args:
13800
>> OpenBSD BOOT 2.11
Booting bsd
boot: client IP address: 192.168.0.11
boot: client name: sun1
root addr=192.168.0.21 path=/export/nfs/sun1/rootfs
Loading at physical address 400000
3149424+115348+489756 [72+157504+138879]=0x3de354
boot: client IP address: 192.168.0.11
boot: client name: sun1
root addr=192.168.0.21 path=/export/nfs/sun1/rootfs
[ using 296868 bytes of bsd ELF symbol table ]
console is ttya
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 5.9 (GENERIC) #2: Tue Mar 1 11:54:38 CET 2016
    t...@ss10.tmux.org:/usr/src/sys/arch/sparc/compile/GENERIC
real mem = 133828608 (127MB)
avail mem = 126152704 (120MB)
mainbus0 at root: SUNW,SPARCclassic
cpu0 at mainbus0: TMS390S10 @ 50 MHz, on-chip FPU
cpu0: physical 4K instruction (32 b/l), 2K data (16 b/l) cache enabled
obio0 at mainbus0
clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
timer0 at obio0 addr 0x71d00000: delay constant 23, frequency 1000000 Hz
zs0 at obio0 addr 0x71100000 pri 12, softpri 6
zstty0 at zs0 channel 0: console
zstty1 at zs0 channel 1
zs1 at obio0 addr 0x71000000 pri 12, softpri 6
zskbd0 at zs1 channel 0: no keyboard
zsms0 at zs1 channel 1
wsmouse0 at zsms0 mux 0
slavioconfig at obio0 addr 0x71800000 not configured
auxreg0 at obio0 addr 0x71900000
power0 at obio0 addr 0x71910000
fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
iommu0 at mainbus0 addr 0x10000000: version 0x1/0x4, page-size 4096, range
64MB
sbus0 at iommu0: 25 MHz
dma0 at sbus0 slot 4 offset 0x8400000: rev 2
esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz
scsibus0 at esp0: 8 targets, initiator 7
audioamd0 at sbus0 slot 4 offset 0x1300000 pri 13, softpri 4
audio0 at audioamd0
bpp0 at sbus0 slot 4 offset 0xc800000: DMA2
ledma0 at sbus0 slot 4 offset 0x8400010: rev 2
le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:05:20:a2
le0: 16 receive buffers, 4 transmit buffers
hme0 at sbus0 slot 0 offset 0x8c00000 pri 7: address 08:00:20:05:20:a2 rev
34
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
esp1 at sbus0 slot 0 offset 0x8800000 pri 5: FAS366/HME, 40MHz
scsibus1 at esp1: 16 targets, initiator 7
cgthree0 at sbus0 slot 3 offset 0x0 pri 9: SUNW,501-1718, 1152x900
wsdisplay0 at cgthree0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /iommu@0,10000000/sbus@0,10001000/SUNW,hme@0,8c00000

root device:
use one of: exit le0 hme0
root device: hme0

nfs_boot: using interface hme0, with revarp & bootparams
nfs_boot: client_addr=192.168.0.11
nfs_boot: server_addr=192.168.0.21 hostname=sun1
root on server3:/export/nfs/sun1/rootfs
swap on server3:/export/nfs/sun1/swapfile
Automatic boot in progress: starting file system checks.

Reply via email to