Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 1998 19:34:40 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        FreeBSD current users <FreeBSD-current@freebsd.org>
Subject:   Re: Latest -current kernel panics on boot
Message-ID:  <19980309193440.42123@freebie.lemis.com>
In-Reply-To: <199803090627.WAA13511@dingo.cdrom.com>; from Mike Smith on Sun, Mar 08, 1998 at 10:27:05PM -0800
References:  <19980309163916.42581@freebie.lemis.com> <199803090627.WAA13511@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun,  8 March 1998 at 22:27:05 -0800, Mike Smith wrote:
>> On Sun,  8 March 1998 at 21:41:57 -0800, Mike Smith wrote:
>>>> before the swap partition gets mounted, so I don't have a dump.  I
>>>> wrote down a trace, but I'm assuming that we don't need that level of
>>>> detail, so I won't type it in unless somebody wants it.
>>>
>>> What does the 'config' line in your kernel look like?  It's possible
>>> that some of the static configuration code can't deal with the slice
>>> number in the minor.
>>
>> Yes, I thought of that too.  Nothing spectacular:
>>
>> config		kernel	root on wd0
>
> *mumble*   Where does the trace go back through?  Is it still in
> configure()?

No, the kernel is running.  It's process 0 (swapper).

ffs_vget+0x27
ufs_root+0x1c
xxx_vfs_root_fdtab+0x1f (yup, that's the name)
main+0x9a
begin+0x4a


>>>> This doesn't seem to be problem, though: it doesn't work either way.
>>>> The old kernel only works with wd0a, and the new kernel doesn't work
>>>> with either fstab entry.
>>>
>>> You should receive a "changing root device to ..." message after your
>>> device probes with the new kernel.
>>
>> That's where it dies.
>
> Before or after the message?  The message won't get emitted until
> setroot() is called.  (This part of the system is a pile of rubble.)

Damn.  I'm pretty sure one message appeared.  I'm no longer so sure
that it's the one you're looking for.  When I rebooted with the old
kernel, ISTR that it was different.

> What is the root device that it's nominating?

As I said, /dev/wd0s2a.  My notes say "changing to /dev/wd0s2a", but
those were things which made sense to me at the time.

Greg

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?19980309193440.42123>