Date: Sat, 29 May 1999 09:55:54 -0700 (PDT) From: Doug Ambrisko <ambrisko@whistle.com> To: newton@internode.com.au (Mark Newton) Cc: current@FreeBSD.ORG Subject: Re: NFS diskless on -current Message-ID: <199905291655.JAA11770@whistle.com> In-Reply-To: <199905290519.OAA07075@gizmo.internode.com.au> from Mark Newton at "May 29, 99 02:49:44 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905291655.JAA11770>
