Mark Newton writes:
| I tried to upgrade my diskless router this afternoon to -current as
| cvsupped last night.
|
| I can't make it boot, though.
|
| It now panics with "Can't mount root" when I boot it. And yes, I have
| updated the kernel config for new-bus.
|
| I noticed the BOOTP stuff in LINT, but that's been there for a while and
| I've never needed to use it before. I turned it on anyway just to see
| what happens, but tcpdump doesn't show it sending any bootp requests.
I have a fix for you based on the MFS mount root problem! Note it is
a best guess and works for me. It seems rootdev needs to be defined
or it ignores trying to mount it. I ran into this a couple of days
ago.
Doug A.
Index: bootp_subr.c
===================================================================
RCS file: /cvs/freebsd/src/sys/nfs/bootp_subr.c,v
retrieving revision 1.19
diff -c -r1.19 bootp_subr.c
*** bootp_subr.c 1999/01/27 23:45:39 1.19
--- bootp_subr.c 1999/05/29 16:52:14
***************
*** 1043,1048 ****
--- 1043,1049 ----
panic("nfs_boot: lookup swap, error=%d", error);
}
nfs_diskless_valid = 3;
+ rootdev = makedev(255,0);
}
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message