[195] in NetBSD-Development
Panics when starting afsd
daemon@ATHENA.MIT.EDU (Peter Wieland)
Sun Nov 13 02:59:18 1994
From: Peter Wieland <peter@tripwire.org>
To: netbsd-afs@MIT.EDU
Date: Sun, 13 Nov 1994 02:58:09 -0500 (EST)
I've had a bit of trouble getting afs running on my NetBSD 1.0 system. The
lkm installs fine, but when starting afsd my machine panics. I've also had
this happen once or twice when trying to run the klog included in
usr/athena/bin ... if i run klog with no parameters (if i run with my
andrew.cmu.edu name i get a segmentation fault after entering my passwd).
The system is running on a 386 with 8mb of ram and ~20 mb of swap space. A
copy of my config file is included at the end of this message.
The first couple of times i tried running afsd, i got the following panic
messages:
fatal priviledged instruction fault in supervisor mode
trap type 0 code 0 f87179c9 cs f86f0008 eflags 10202 cr2 100340b8 cpl 0
and
rx_NewService: A non-zero port must be specified on this call if a non-zero
port was not provided at Rx initialization (service afs)
trap type 6 code 0 eip f868f510 cs f86f0008 eflags 10282 cr 2 cpl c0000000
and the same above with an added (or i just didn't write it down the first
time)
vm_fault(f8680e00, 0, 1, 0) -> 1
fatal page fault in supervisor mode.
So i decided to install DDB and report back the trace information.
show all procs (limited to the afs procs since i didn't want to write
everything down ... please let me know if i should):
pid proc addr uid ppid pgrp flag stat comm wchan
720 f8726e00 f987c000 0 705 635 000006 2 afsd
719 f8726c00 f9879000 0 705 635 000006 2 afsd
718 f8726200 f9876000 0 705 635 000006 2 afsd
717 f8726400 f9873000 0 705 635 000006 2 afsd
716 f8726600 f9870000 0 705 635 000006 3 afsd f8758ba0
715 f8726800 f986d000 0 705 635 000006 3 afsd f8724130
705 f871a800 f9855000 0 635 635 004006 2 afsd
and the trace:
_end(833d05c1, 0, 5b1b, 2, 0) at _end+0x59ee59
_end(f86d7100, f7bffea8, 2, 0, 0) at _end+0x59dc77
_end(1d, f7bfddb4, 3d004, 2, 0) at _end+0x5a9501
_end(f871a800, f7bfff98, f7bfff90) at _end+0x5a9915
_syscall() at _syscall+0xfa
--- syscall (number 210) ---
0x100340c2:
If there is anymore information i can provide, please let me know.
thank you
-peter wieland
*****************
my config file:
machine "i386"
cpu "I386_CPU"
cpu "I486_CPU"
ident TRIPWIRE
timezone 5 dst
maxusers 10
# paging stuff
options SWAPPAGER
options VNODEPAGER
options DEVPAGER
# net stuff
options INET
options NFSCLIENT
# pc0 console options
options XSERVER
options UCONSOLE
# compatibility
options "COMPAT_43"
options "TCP_COMPAT_42"
options "MATH_EMULATE"
options "COMPAT_NOMID"
options "COMPAT_09"
options "MACHINE_NONCONTIG"
options FIFO
# loadable kernel modules
options LKM
options DDB
# sys v shared mem
options SYSVMSG
options SYSVSEM
options SYSVSHM
options SHMMAXPGS=1024
# file system options
options FFS
options MSDOSFS
options FDESC
options KERNFS
options PROCFS
options "USER_LDT"
# pcvt options
options PCVT_META_ESC # alt-character sends escape-character
options PCVT_SETCOLOR # allow color changing
options "PCVT_VT220KEYB" # vt220 keyboard bindings
config netbsd root on wd0 swap on wd0 and wd1
# isa bus
controller isa0
# vt220 console driver
device vt0 at isa? port "IO_KBD" irq 1
# standard serial ports
device com0 at isa? port "IO_COM1" irq 4
device com1 at isa? port "IO_COM2" irq 3
device com2 at isa? port "IO_COM2" irq 5
# printer
device lpt0 at isa? port "IO_LPT1" irq 7
# ide bus
controller wdc0 at isa? port "IO_WD1" irq 14
disk wd0 at wdc0 drive ?
disk wd1 at wdc0 drive ?
# floppy bus
controller fdc0 at isa? port "IO_FD1" irq 6 drq 2
disk fd0 at fdc0 drive ?
disk fd1 at fdc0 drive ?
# wd8013
device ed0 at isa? port 0x280 irq 9 iomem 0xd0000
# math co-processor (and emulator)
device npx0 at isa? port "IO_NPX" irq 13
pseudo-device ether
pseudo-device log
pseudo-device loop
pseudo-device pty 64
#pseudo-device sl 1
pseudo-device speaker
#pseudo-device audio