[148] in netbsd-help mailing list archive

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

Re: Problems with -Athena AFS

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Apr 8 16:10:39 1995

To: efoo@MIT.EDU (Edwin Foo )
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Sat, 08 Apr 1995 15:55:15."
             <9504081955.AA01742@MIT.EDU> 
Date: Sat, 08 Apr 1995 16:10:08 EDT
From: Greg Hudson <ghudson@MIT.EDU>


> Hi there.  I've gotten NetBSD to install, but everytime I follow the
> instructions from SIPB to FTP the Athena binaries and AFS support
> the next reboot freezes my computer with the message "Privileged
> Instruction Fault" after the message "Scanning AFS Cache..."  I've
> reinstalled NetBSD twice already and gotten the same results.  Right
> now I reinstalled again (for the third time and have gotten a
> functional NetBSD system, version 1.0 (i think. whatever's on the
> NFS server, I suppose) but have not installed the Athena software.
> Any ideas on what I'm doing wrong?  Thanks in advance.

This is because you're using a 386, and the AFS code uses some 486
instructions unless you compile it not to.  I thought we had dealt
with this problem in the distribution, but it seems not.

Try FTPing installkits/i386_nbsd1/libafs1_0.o from picayune and
replacing /usr/vice/etc/libafs1_0.o with it.  Tell me if it works
(it's a copy of libafs1_0.o from one of our development machines,
instead of from the afsdev locker).

If your system won't boot because it dies loading AFS, you may find it
useful to be able to boot single-user.  At the NetBSD boot prompt,
type "-s" (you only have a few seconds before it automatically
defaults).  After you get a shell prompt, you can mount your
filesystems and bring up your network manually:

	fsck -p
	mount /
	mount /usr
	ifconfig <device> 18.xx.yy.zz netmask 0xffff0000 <flags>
	route add default 18.xx.0.1

(You may have to mount other filesystems depending on how you set up
your disk partitions.)  That should get you up far enough to FTP.
It's often a good idea to reboot ("shutdown -r now") after you're done
working in single-user mode, but you can also exit the shell ("exit"
or ^D) to go multi-user if you don't think anything you did will
conflict with that.


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