Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 1998 15:43:48 -0500 (EST)
From:      Jim Hodges <hajime@vnet.net>
To:        Colin Eric Johnson <colinj@cs.unm.edu>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, Free Unix Users of New Mexico <fuunm@data.netdot.net>
Subject:   Re: Trouble with kernel from FreeBSD-stable (2.2.6-beta?)
Message-ID:  <Pine.GSO.3.96.980315152635.3148D-100000@katie.vnet.net>
In-Reply-To: <Pine.SUN.3.96.980315124605.6897A-100000@viper.cs.unm.edu>
References:  <Pine.SUN.3.96.980315124605.6897A-100000@viper.cs.unm.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.980315152635.3148D-100000>