Subject: Re: 3.99.7 system crashed while shutting down
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 08/01/2005 16:39:13
Jukka Salmi --> current-users (2005-07-11 18:07:21 +0200):
> a i386 system running -current (3.99.7) crashed after I issued a
> 'shutdown -h now'.

It happened again:

uvm_fault(0xca628d20, 0, 0, 1) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 110.1 (ksh) at	netbsd:spec_ioctl+0xe:	movl	0xc(%eax),%esi
db> tr /l
spec_ioctl(cb423ce4,c0f09918,3e8,c01b1004,c03cd420) at netbsd:spec_ioctl+0xe
VOP_IOCTL(cb0a1b2c,802c7415,cb423ea4,3,ffffffff) at netbsd:VOP_IOCTL+0x40
cttyioctl(100,802c7415,cb423ea4,3,cb3fe33c) at netbsd:cttyioctl+0x52
spec_ioctl(cb423d84,1e44a000,cb423dfc,c0337ad6,c03cd420) at netbsd:spec_ioctl+0x46
VOP_IOCTL(cb0af7f4,802c7415,cb423ea4,3,cb3fb100) at netbsd:VOP_IOCTL+0x40
vn_ioctl(cb3fab2c,802c7415,cb423ea4,cb3fe33c,0) at netbsd:vn_ioctl+0x9a
sys_ioctl(cb40110c,cb423f64,cb423f5c,0,c0da2f00) at netbsd:sys_ioctl+0x122
syscall_plain() at netbsd:syscall_plain+0x7e
--- syscall (number 54) ---
0xbdbc75ff:
db> show registers
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0
esi         0x802c7415
ebp         0xcb423ccc
ebx         0xcb423ce4
edx         0xcb0a1b2c
ecx         0xcb3fe33c
eax         0
eip         0xc02e296a	spec_ioctl+0xe
cs          0x8
eflags      0x10286
esp         0xcb423cc4
ss          0x10
netbsd:spec_ioctl+0xe:	movl	0xc(%eax),%esi
db> sync
syncing disks... 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 giving up

dumping to dev 0,1 offset 1049383
dump 511 510 [...] 2 1


$ gdb netbsd.2
GNU gdb 5.3nb1
[...]
This GDB was configured as "i386--netbsdelf"...(no debugging symbols found)...
(gdb) target kcore netbsd.2.core
#0  0x1fefc000 in ?? ()
(gdb) bt
#0  0x1fefc000 in ?? ()
#1  0xc0331e93 in cpu_reboot ()
#2  0xc0263c2c in db_sync_cmd ()
#3  0xc026367b in db_command ()
#4  0xc026338e in db_command_loop ()
#5  0xc0266494 in db_trap ()
#6  0xc032f6ba in kdb_trap ()
#7  0xc033a168 in trap ()
#8  0xc0102cd7 in calltrap ()
#9  0xc02dccb4 in VOP_IOCTL ()
#10 0xc02c06da in cttyioctl ()
#11 0xc02e29a2 in spec_ioctl ()
#12 0xc02dccb4 in VOP_IOCTL ()
#13 0xc02dac52 in vn_ioctl ()
#14 0xc02b2e2a in sys_ioctl ()
#15 0xc0339b56 in syscall_plain ()
(gdb) quit

I'll keep kernel and core available for some days in case somebody is
interested.


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~