NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40246: current panics when removing swap devices

>Number:         40246
>Category:       kern
>Synopsis:       current panics when removing swap devices
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 21 15:40:01 +0000 2008
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.5
The NetBSD Foundation, Inc.
System: NetBSD 5.99.5 NetBSD 5.99.5 (MARTINS) #29: Sat Dec 
20 17:03:45 CET 2008 
Architecture: x86_64
Machine: amd64

I have this filesystems:
/dev/wd0a on / type ffs (log, NFS exported, local)
kernfs on /kern type kernfs (local)
procfs on /proc type procfs (local)
ptyfs on /dev/pts type ptyfs (local)

When I "shutdown -r now" the machine, it panics:

Stopping inetd.
Removing block-type swap devices
panic: kernel diagnostic assertion "vp->v_specmountpoint != NULL" failed: file 
"../../../../ufs/ffs/ffs_vnops.c", line 414
fatal breakpoint trap in supervisor mode                          
trap type 1 code 0 rip ffffffff80152825 cs 8 rflags 246 cr2  7f7ffd9e6912 cpl 0 
rsp ffff80004e72e710
Stopped in pid 347.1 (swapctl) at       netbsd:breakpoint+0x5:  leave
db{0}> bt                                                            
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x24d        
__kernassert() at netbsd:__kernassert+0x2d
ffs_full_fsync() at netbsd:ffs_full_fsync+0x495
ffs_fsync() at netbsd:ffs_fsync+0x6c           
VOP_FSYNC() at netbsd:VOP_FSYNC+0x71
vinvalbuf() at netbsd:vinvalbuf+0xf6
spec_close() at netbsd:spec_close+0x8c
VOP_CLOSE() at netbsd:VOP_CLOSE+0x62  
sys_swapctl() at netbsd:sys_swapctl+0x6e7
syscall() at netbsd:syscall+0xb6         


Home | Main Index | Thread Index | Old Index