[193] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: modload errors...

daemon@ATHENA.MIT.EDU (John Hawkinson)
Fri May 5 10:16:18 1995

Date: Fri, 5 May 95 10:15:57 -0400
To: efoo@MIT.EDU
Cc: netbsd-help@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>


> Hello.  I had an unexpected reboot occur early this morning (reset switch
> pressed unknowinly) and now my machine keeps booting into single-user mode.
> It says "abnormal termination of /etc/rc" or something very similar, and
> I've managed to trace the abnormal termination down to the line running
> /sbin/modload in the /etc/athena/rc.athena script.  NetBSD reports the
> following error message on that line:

Funny you should ask.

I believe we fixed and discovered this bug last week, and it doesn't relate
to modload.

Rather, the AFS module gets loaded the first time, and then the rc.athena
script terminates due to a problem at the end (see below), dumping you
in single-user mode.

Hitting ^D causes rc.athena to run again, and AFS fails to load multiple
times (not too surprising).

THe problem is due to a bug in zhm (the zephyr host manager), wherein it
will refuse to start properly if the /etc/athena/zhm.pid file is zero length.
(It's not clear how that state ocurs, but evidently it can...)

Therefore, perform the following steps:

	Boot your machine single user	(-s at the twiddler prompt)
	fsck -p
	mount -a
	rm /etc/athena/zhm.pid
	^D
	Send mail to netbsd-help if it doesn't work.

We've updated the version of zhm in AFS to fix this. You can copy
/afs/sipb/system/i386_nbsd1/etc/athena/zhm to /etc/athena/zhm.

--jhawk


home help back first fref pref prev next nref lref last post