[970] in NetBSD-Development

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

Dialup boots (except AFS still crashes)

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Thu Aug 24 15:13:40 1995

From: ghudson@MIT.EDU
Date: Thu, 24 Aug 1995 15:13:07 -0400
To: pc-dialup@MIT.EDU, netbsd-afs@MIT.EDU, netbsd-dev@MIT.EDU

At jhawk's suggestion, I added a shutdown hook for the le driver to
have it turn off the card.  I also had to add a call to
doshutdownhooks() in arch/i386/i386/machdep.c (apparently only the
alpha port actually called doshutdownhooks() previously); I will check
in that change to the NetBSD source tree with a note that other port
maintainers should add such a call to their ports.  The dialup now
boots properly after a reboot.

However, AFS still crashes.  I updated the afsd to the newest version
(from the build tree on granola, dated Aug 4), and now it crashes much
more quickly (since afsd responds to SIGTERM), but in essentially the
same way.  Here's the crash and stack trace:

[...]
BkG... shutdown
vm_fault(f8252000, 487fe000, 1, 0) > 1
Kernel: page fault trap, code = 0
Stopped at 0xf87d1c58: cmpl $0,026(%esi)
db> trace
_end(f87c6924, f8774a00, f7bffebc, f87b8703, f8774a00) at 0xf87d1c58
_end(f8774a00, f7bffecc, f87ae8c6, f8774a00, 0) at 0xf87c6ab9
_end(f8774a00, 0, f7bffeec, f812c9af, f8774a00) at 0xf87b8703
_end(f8774a00, 0, f8930800, f8730d00, f877e500) at 0xf87ae8c6
_dounmount(f8774a00, 0, f8930800, f877e500, f7bfdd34) at _dounmount_0x87
_unmount(f8930800, f7bfff98, f7bfff90, 0, 1) at +unmount+0x98
_syscall() at _syscall+0x21d
--- syscall (number 22) ---
0x1004e337
db>

The libafs.o is 1.25, which was taken from limekiller after jtkohl
installed it there.  (limekiller currently has an old afsd because I
didn't update the afsd on the packs before the last time I reinstalled
limekiller.)


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