From owner-freebsd-stable Sun Mar 15 12:43:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27704 for freebsd-stable-outgoing; Sun, 15 Mar 1998 12:43:57 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27627; Sun, 15 Mar 1998 12:42:59 -0800 (PST) (envelope-from hajime@vnet.net) Received: from katie.vnet.net (hajime@katie.vnet.net [166.82.1.7]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id PAA18964; Sun, 15 Mar 1998 15:43:45 -0500 (EST) Received: from localhost (hajime@localhost) by katie.vnet.net (8.8.8/8.8.8) with SMTP id PAA05278; Sun, 15 Mar 1998 15:43:54 -0500 (EST) X-Authentication-Warning: katie.vnet.net: hajime owned process doing -bs Newsgroups: comp.unix.bsd.freebsd.misc Date: Sun, 15 Mar 1998 15:43:48 -0500 (EST) From: Jim Hodges To: Colin Eric Johnson cc: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, Free Unix Users of New Mexico Subject: Re: Trouble with kernel from FreeBSD-stable (2.2.6-beta?) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk On Sun, 15 Mar 1998, Colin Eric Johnson wrote: > I've been trying to follow, via cvsup, the freebsd-stable branch. I just > rebuilt the kernel on my machine and I've run into a problem that I'm not > sure what to do about. > Make sure you have cvsup'ed recently. Then be sure to make world. > I'm using the same config file that I used with the 2.2.5-release source > and that kernel works just fine. When I build the kernel and boot I get > the following: > > the kernel is labeled: 2.2.6-beta #0 > Rebuild the kernel before you reboot. > Once all of the devices have been found and checked this new kernel > attempts to change the device that root is on: > > changing root device to: wd0s2a I am unclear why this is wd0s2a instead of wd0s1a if the latter is really your root partition. > > it then mounts swap and then begins the fsck. at this point it give the > following error > > /dev/wd0a on /: specified device does not match mounted device. > The compatability slice wd0a is going away and the code to mount root on the actual slice has been put in place. > Now, I understand that it is trying to mount a different device then what > I have specified in the config file: > > config kernel root on wd0 > > What I am not at all sure about is why this is. Have the config options > changed with the the stable branch? Am I missing something from the config > file for the kernel? My disks look like this: > Change /etc/fstab to reflect the actual slice root is to be mounted from: /dev/wd0s1a or wd0s2a .... Again before you reboot. > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd0a 180495 43910 122146 26% / > /dev/wd1s1e 1205727 944425 164844 85% /usr > /dev/wd0s1e 149279 4360 132977 3% /var > procfs 4 4 0 100% /proc > Looks like should be /dev/wd0s1a from your note below but wd0s2a from the kernel message above ???? Also you should update the /dev/MAKEDEV script from /usr/src/etc/etc.i386 and them make your boot device. > the actual slices on my first disk are > wd0s1a / > wd0s1b swap > wd0s1e /var > > ? > > Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/ > ``Science explains the world, but only Art can reconcile us to it.'' > -Stanislaw Lem "King Globare and the Sages" > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message