[47] in netbsd-help mailing list archive

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

Re: installing NetBSD 1.0; AFS probs

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Feb 8 09:14:24 1995

To: Eric Ding <ericding@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Wed, 08 Feb 1995 02:01:54 EST."
             <9502080701.AA16007@unca-donald.MIT.EDU> 
Date: Wed, 08 Feb 1995 09:17:00 EST
From: Greg Hudson <ghudson@MIT.EDU>


> 1) the athena install sh script didn't work entirely; got hung up on
> the AFS cache when I just hit return to accept the default value,
> and wound up only sending "afs:/usr/vice/cache:" to
> /usr/vice/etc/cacheinfo.  No biggie; I just fixed that myself.
> Otherwise, it seemed to work smoothly... but...

Okay, I usually override the default value when I test the script, so
I can see this breaking.  (Your next message also makes it pretty
clear.)  It'll be fixed shortly, thanks.

> 2) I then rebooted, but AFS was broken.  I get the following panic
> (I tried to get all the numbers and stuff right...)

> AFS 3.3 ($ Revision 1.15 $)
> Module loaded as ID 0
> fatal privileged instruction fault in supervisor mode
> type 0 code 0 eip f870eb9d cs f8750008 eflags 10202 cr2 160dc cpl 0

> panic: trap
> syncing disks... 3 3 1 done

> dumping to dev 9, offset 17528

I had a problem similar to this once when I failed to install the
comp10 package, but this looks more like there's a problem with
libafs.o.

Try the following:

	* Boot your machine single-user by typing "-s" at the NetBSD
	  boot prompt (you have to be fairly quick).

	* When you get a shell prompt, do "fsck -p", "mount /", and
	  "mount /usr".  Then "cd /var/tmp".

	* Start up your net like you did during installation (with
	  the "ifconfig" and "route" commands).

	* ftp to 18.181.0.24, log in as "ftp", your email address as
	  username.

	* Do "cd installkits/i386_nbsd1", "bin", and "get libafs.o"

	* Quit out of ftp and do:

		mv /usr/vice/etc/dkload/libafs.o /usr/vice/etc/libafs.o.old
		cp libafs.o /usr/vice/etc/dkload/libafs.o

	* Reboot your machine.

Note that the version of libafs.o you will be installing has a known
bug in it (relating to setting file times--not very serious for normal
use), but it's also known to work on my system while it was running a
stock Athena kernel.

I'll do some testing to try to figure out what went wrong here.


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