[TUHS] BSD PL500 booting woes
Adam Thornton via TUHS
tuhs at tuhs.org
Wed Dec 2 07:24:31 AEST 2026
I've installed a new PL500 system from the tape. I have one (emulated)
ra92 disk with separate filesystems:
a: /
b: swap
c: whole-disk
d: /usr
e: /var
f: /home
Thus that ought to be device 5,0: the first (and only) ra device.
Once it's up everything is fine as long as I'm in GENUNIX (specifically,
all the filesystems are present and accounted for) but of course I have no
networking.
A recompilation of the kernel builds fine, except that there is no radump() so
I set the dump routine to null.
But then when I try to boot it:
sim> boot rq0
70Boot from ra(0,0,0) at 0172150
: ra(0,0)unix
Boot: bootdev=02400 bootcsr=0172150
2.11 BSD UNIX #3: Tue Dec 1 13:05:04 MST 2026
root at 211bsd.fsf.net:/usr/src/sys/FSF
panic: jump to 0
no fs on dev 5/0
syncing disks... done
dumping to dev 2401 off 512
dump succeeded
There most certainly is a filesystem on 5/0 (or at least there was when I
rebooted and tried to use /unix + /netnix) assuming ra is really major
device 5 (which I believe it is). The error seems to be coming from a
"can't happen" in ufs_subr.c in getfs().
Beyond that, though, I'm lost. What's going on here?
We're looping through:
for (mp = &mount[0]; mp < &mount[NMOUNT]; mp++) {
if (mp->m_inodp == NULL || mp->m_dev != dev)
continue;
without ever finding both a non-null inode pointer and mp->m_dev equal
to dev (presumably 5), and falling out the bottom of the loop into the
kernel panic.
How is that happening?
Adam
More information about the TUHS
mailing list