Subject: modload crashing kernel
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: current-users
Date: 11/02/2004 00:23:04
Hello,
after updating a current i386 system which uses the aperture driver
(pkgsrc/sysutils/aperture) using todays sources, the kernel dropped
into ddb during boot (AFAICT while /etc/rc.d/lkm3 called modload):
xf86.o: uvm_fault(0xcb43c540, 0, 0, 1) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 695.1 (modload) at netbsd:_lkm_checkver+0xb: compl
$
0x2,0xc(%edx)
db> tr
_lkm_checkver(...) at netbsd:_lkm_checkver+0xb
lkmdispatch(...) at netbsd:__qdivrem+0xb578577
lkmioctl(...) at netbsd:lkmioctl+0x147
spec_ioctl(...) at netbsd:spec_ioctl+0x46
VOP_IOCTL(...) at netbsd:VOP_IOCTL+0x40
vn_ioctl(...) at netbsd:vn_ioctl+0x7a
sys_ioctl(...) at netbsd:sys_ioctl+0x122
syscall_plain() at netbsd:syscall_plain+0x7e
--- syscall (number 54) ---
0x480fb10f:
db>
(copied manually, typos possible...)
After rebuilding the aperture driver modload succeeded to load the
module.
The "old" kernel had the same version number as the new one (2.99.10)
and was built using sources from 2004-10-18; the "old" aperture module
was built using sources from 2004-10-24.
Should I send-pr?
Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~