Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 04:19:01 -0400
From:      Allan Fields <bsd@afields.ca>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-current@freebsd.org
Subject:   Re: slice weirdness
Message-ID:  <20040809081901.GB3155@afields.ca>
In-Reply-To: <20040809075228.GC91609@pcwin002.win.tue.nl>
References:  <20040808211337.GB91609@pcwin002.win.tue.nl> <20040809074732.GA3155@afields.ca> <20040809075228.GC91609@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 09, 2004 at 09:52:28AM +0200, Stijn Hoop wrote:
> On Mon, Aug 09, 2004 at 03:47:32AM -0400, Allan Fields wrote:
> > On Sun, Aug 08, 2004 at 11:13:37PM +0200, Stijn Hoop wrote:
> > I've had some partition/slice issues in the past w/ install CD and
> > missing device entries with non-standard slice (anything except s1
> > entry), can't recall details, but running sysinstall w/ newfs
> > flag to N creates appropriate entries.  Else I've found suitable
> > device entries elsewhere or make them temporarily with mknod.
> > Maybe this was only an issue in -stable.
>=20
> I don't know, but obviously I can't mknod / do something about it when
> the kernel has just been booted.

True. ;)

Something to try: once in a kernel, try either not using devfs or
manually creating device nodes and see if you can make it work with
ad1s2.

> > i.e. if you were to go the sysinstall route and do a fresh install
> > on ad1, exhibit same behaviour?
>=20
> Yes, it does. I didn't use sysinstall but 'make installworld' but either =
doing
> fdisk / disklabel by hand or by doing it using sysinstall, both methods s=
top
> at the same 'cannot find root' prompt when booting off the slice. A reboot
> into the old install later and my device entry is gone again.

You mean you can't see the new ad1s2 slice from a kernel booted off
ad0 either?  Which would be consistent to the problem.

> > > PS: I thought that there was a sysctl that showed the GEOM topology i=
n XML;
> > >     however I was unable to find it in sysctl -a. Is it still around?
> >=20
> > I believe so, phk recently (few months back) mentioned it's staying in.
>=20
> Too bad I couldn't find it...

Try:
sysctl -b kern.geom.confxml

> Thanks for your reply,
>=20
> --Stijn
>=20
> --=20
> Fairy tales do not tell children that dragons exist. Children already
> know dragons exist. Fairy tales tell children the dragons can be
> killed.
> 		-- G.K. Chesterton


--=20
 Allan Fields, AFRSL - http://afields.ca
 2D4F 6806 D307 0889 6125  C31D F745 0D72 39B4 5541



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040809081901.GB3155>