From owner-freebsd-current Sat May 29 9:56:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id B146F14CFF for ; Sat, 29 May 1999 09:56:22 -0700 (PDT) (envelope-from ambrisko@whistle.com) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id JAA06340; Sat, 29 May 1999 09:56:17 -0700 (PDT) Received: (from ambrisko@localhost) by whistle.com (8.9.1/8.9.1) id JAA11770; Sat, 29 May 1999 09:55:55 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <199905291655.JAA11770@whistle.com> Subject: Re: NFS diskless on -current In-Reply-To: <199905290519.OAA07075@gizmo.internode.com.au> from Mark Newton at "May 29, 99 02:49:44 pm" To: newton@internode.com.au (Mark Newton) Date: Sat, 29 May 1999 09:55:54 -0700 (PDT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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