Hugo Villeneuve
2010-02-19 15:06:14 UTC
I know that mac68k is mostly abandonware here and that's why I
deleted the au/x parition on my quadra.
But I was curious about running diskless.
It works. Kind of.
A kernel with "config bsd root on nfs" crash into ddb with an MMU
fault. But if I tell the booter to ask for root and write my network
interface name at the prompt, it boots diskless properly.
This differ from GENERIC by (and was compiled disklessly):
option BUFCACHEPERCENT=15
config bsd root on nfs
OpenBSD 4.6-stable (ROOTNFS) #0: Wed Feb 17 19:05:13 EST 2010
***@mac.EINTR.net:/usr/src/sys/arch/mac68k/compile/ROOTNFS
Apple Macintosh Quadra 650, 68040 CPU+MMU+FPU, 4k on-chip physical I/D caches
real mem = 142606336 (136MB)
avail mem = 132976640 (126MB)
mainbus0 at root
obio0 at mainbus0
adb0 at obio0: II series
asc0 at obio0: Apple Sound Chip
macfb0 at obio0: DAFB, monitor sense 0
macfb0: 800x600, monochrome display
wsdisplay0 at macfb0 mux 1: console (std, vt100 emulation)
sn0 at obio0: integrated ethernet adapter, address 08:00:07:9c:f8:76
esp0 at obio0 (pseudo-DMA): NCR53C96, 16MHz
scsibus0 at esp0: 8 targets, initiator 7
sd0 at scsibus0 targ 2 lun 0: <IBM, DPES-31080 !t, S31R> SCSI2 0/direct fixed
sd0: 1034MB, 512 bytes/sec, 2118144 sec total
cd0 at scsibus0 targ 3 lun 0: <SONY, CD-ROM CDU-8003A, 1.9a> SCSI2 5/cdrom removable
zsc0 at obio0
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
adb0: 2 targets
akbd0 at adb0 addr 2: extended keyboard (ISO layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
softraid0 at root
root device: sn0
nfs_boot: using interface sn0, with revarp & bootparams
nfs_boot: client_addr=192.168.12.50
nfs_boot: server_addr=192.168.12.220 hostname=mac
root on jwales:/exports/mac/root
swap on jwales:/exports/mac/swap
I can't tell if the swap works as it isn't using any of it with
136MB of memory. I was surprised I had to re-mount it in fstab, I
tought it was automated.
/etc/fstab:
jwales:/exports/mac/root / nfs rw 0 0
jwales:/exports/mac/swap none swap sw,nfsmntpt=/swap 0 0
swap /tmp mfs rw,nodev,nosuid,-s=40960 0 0
jwales:/exports/mac/src /usr/src nfs rw 0 0
jwales:/exports/mac/XF4 /usr/obj nfs rw 0 0
It's fun.
deleted the au/x parition on my quadra.
But I was curious about running diskless.
It works. Kind of.
A kernel with "config bsd root on nfs" crash into ddb with an MMU
fault. But if I tell the booter to ask for root and write my network
interface name at the prompt, it boots diskless properly.
This differ from GENERIC by (and was compiled disklessly):
option BUFCACHEPERCENT=15
config bsd root on nfs
OpenBSD 4.6-stable (ROOTNFS) #0: Wed Feb 17 19:05:13 EST 2010
***@mac.EINTR.net:/usr/src/sys/arch/mac68k/compile/ROOTNFS
Apple Macintosh Quadra 650, 68040 CPU+MMU+FPU, 4k on-chip physical I/D caches
real mem = 142606336 (136MB)
avail mem = 132976640 (126MB)
mainbus0 at root
obio0 at mainbus0
adb0 at obio0: II series
asc0 at obio0: Apple Sound Chip
macfb0 at obio0: DAFB, monitor sense 0
macfb0: 800x600, monochrome display
wsdisplay0 at macfb0 mux 1: console (std, vt100 emulation)
sn0 at obio0: integrated ethernet adapter, address 08:00:07:9c:f8:76
esp0 at obio0 (pseudo-DMA): NCR53C96, 16MHz
scsibus0 at esp0: 8 targets, initiator 7
sd0 at scsibus0 targ 2 lun 0: <IBM, DPES-31080 !t, S31R> SCSI2 0/direct fixed
sd0: 1034MB, 512 bytes/sec, 2118144 sec total
cd0 at scsibus0 targ 3 lun 0: <SONY, CD-ROM CDU-8003A, 1.9a> SCSI2 5/cdrom removable
zsc0 at obio0
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
adb0: 2 targets
akbd0 at adb0 addr 2: extended keyboard (ISO layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
softraid0 at root
root device: sn0
nfs_boot: using interface sn0, with revarp & bootparams
nfs_boot: client_addr=192.168.12.50
nfs_boot: server_addr=192.168.12.220 hostname=mac
root on jwales:/exports/mac/root
swap on jwales:/exports/mac/swap
I can't tell if the swap works as it isn't using any of it with
136MB of memory. I was surprised I had to re-mount it in fstab, I
tought it was automated.
/etc/fstab:
jwales:/exports/mac/root / nfs rw 0 0
jwales:/exports/mac/swap none swap sw,nfsmntpt=/swap 0 0
swap /tmp mfs rw,nodev,nosuid,-s=40960 0 0
jwales:/exports/mac/src /usr/src nfs rw 0 0
jwales:/exports/mac/XF4 /usr/obj nfs rw 0 0
It's fun.
--
Hugo Villeneuve <***@EINTR.net>
http://EINTR.net/
Hugo Villeneuve <***@EINTR.net>
http://EINTR.net/