Kernel hangs booting fresh -current

2000-03-03 Thread Nik Clayton

How do,

I just tried to go from -stable (built on Feb 24th) to -current, fresh
yesterday (Thursday).

"make buildworld" completed cleanly, and following /usr/src/UPDATING I
made and installed a fresh kernel, and updated /dev (by running
"MAKEDEV da0s1a" and "MAKEDEV da1s1a" with a -current mknod).

Then I rebooted (without doing an "installworld", UPDATING says you do
this *after* the reboot).

The new kernel boots, but fails to mount the disks.  Thinking this was 
just a mismatch between the kernel and the mount binary, I dug out my
fixit floppy, got back in to the system, installed the new mount binaries
(including the mount_* ones), and tried to reboot.  This time, the system
froze after the last kernel message was printed, but before the "swapon"
message appears.  This was a complete lock, the LED keys didn't work, 
neither did CTRL-ALT-DEL.

Thinking there was something odd in my kernel config file, I recovered the
system again, got back in, and built a -current GENERIC kernel, figuring
that it should definitely work.  I tried rebooting with this, and got an
error message from the npx probe and an immediate reboot.  That happened
so quickly I couldn't get a good look at it, but the word "nexus" was
in there somewhere.  I stress this was with a stock GENERIC -current
kernel (but built on a 3.4 system).

Have I just hit a bad patch?  I've been following the -current list for 
years, and watch for problems religiously -- I figured with the OpenSSL
stuff out of the way, this was as good a time as any.

On a related note, why does UPDATING say to build and install the kernel,
and then reboot, before doing the "installworld"?  That contradicts the
advice in the Handbook (which I wrote), and I would've thought it's wrong
precisely because it allows for things like kernel/mount mismatches to
occur.

I'd be very surprised if this is hardware failure.  This system has been
rock solid on all versions of 3.x, and gets stressed quite highly most
days.

I realise I haven't been able to provide a great deal of information about
this, but I hope it rings bells with someone.

N
-- 
If you want to imagine the future, imagine a tennis shoe stamping
on a penguin's face forever.
--- with apologies to George Orwell


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Kernel hangs booting fresh -current

2000-03-03 Thread Jim Bloom

Nik Clayton wrote:
 
 On a related note, why does UPDATING say to build and install the kernel,
 and then reboot, before doing the "installworld"?  That contradicts the
 advice in the Handbook (which I wrote), and I would've thought it's wrong
 precisely because it allows for things like kernel/mount mismatches to
 occur.

Because the signal interface changed several months ago.  If you ran
installworld on an old kernel, the machine would panic part way through
the install.  It is almost impossible to do forward compatibility on
major changes.  I guess you need to update the handbook to reflect this
change.

Jim Bloom
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Kernel hangs booting fresh -current

2000-03-03 Thread Nik Clayton

On Fri, Mar 03, 2000 at 07:38:33AM -0500, Jim Bloom wrote:
 Nik Clayton wrote:
  On a related note, why does UPDATING say to build and install the kernel,
  and then reboot, before doing the "installworld"?  That contradicts the
  advice in the Handbook (which I wrote), and I would've thought it's wrong
  precisely because it allows for things like kernel/mount mismatches to
  occur.
 
 Because the signal interface changed several months ago.  If you ran
 installworld on an old kernel, the machine would panic part way through
 the install.  

OK.  That just about makes sense.

 It is almost impossible to do forward compatibility on
 major changes.  I guess you need to update the handbook to reflect this
 change.

Not sure.  As a corner case it should probably stay in UPDATING.

N
-- 
If you want to imagine the future, imagine a tennis shoe stamping
on a penguin's face forever.
--- with apologies to George Orwell


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message