NetBSD-Bugs archive

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

Re: kern/38291: panic: LOCKDEBUG, _kernel_unlock: assertion failed: nlocks <= 0, unmounting MFS /tmp



The following reply was made to PR kern/38291; it has been noted by GNATS.

From: "Greg A. Woods" <woods%planix.com@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/38291: panic: LOCKDEBUG, _kernel_unlock: assertion failed: 
nlocks <= 0, unmounting MFS /tmp
Date: Tue, 25 Mar 2008 12:07:09 -0400

 --pgp-sign-Multipart_Tue_Mar_25_12:07:09_2008-1
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 I'm not sure if this one is a little different or not....
 
 
 historically# reboot
 Mar 25 11:37:13 historically reboot: rebooted by root
 
 Mar 25 11:37:13 reboot: rebooted by root
 Mar 25 11:37:14 historically syslogd: Exiting on signal 15
 reboot: Notice: Kernel lock error: _kernel_unlock: assertion failed: nlocks=
  <=3D 0
 
 lock address : 0x00000000c0d51a40 type     :               spin
 shared holds :                  0 exclusive:                  0
 shares wanted:                  0 exclusive:                  0
 current cpu  :                  1 last held:                  0
 current lwp  : 0x00000000cdaec640 last held: 000000000000000000
 last locked  : 0x00000000c053b365 unlocked : 0x00000000c053b392
 initialized  : 0x00000000c0526d14
 curcpu holds :                  0 wanted by: 000000000000000000
 
 panic: LOCKDEBUG
 Stopped in pid 156.1 (mount_mfs) at     netbsd:breakpoint+0x4:  popl    %ebp
 db{1}> x/I 0x00000000c053b365
 netbsd:knote_detach+0x9f:       movl    0x8(%ebp),%eax
 db{1}> x/I 0x00000000c0526d14
 netbsd:main+0x2f:       call    netbsd:uvm_init
 db{1}> x/I 0x00000000c0d51a40
 netbsd:kernel_lock:     addl    %eax,0(%eax)
 db{1}> x/I 0x00000000cdaec640
 0xcdaec640:     addb    %al,0(%eax)
 db{1}> whatis 0xcdaec640
 0xcdaec640 is 0xcdaec000+1600 in POOL 'kvakernel' (allocated)
 0xcdaec640 is 0xcdaec640+0 in POOL 'lwppl' (allocated)
 0xcdaec640 is 0xcdae0000+50752 from VMMAP 0xc0d2f720
 db{1}> trace
 breakpoint(cdb13a58,0,cdb13a8c,c0582fb7,c0a2932f) at netbsd:breakpoint+0x4
 cpu_Debugger(c0a2932f,cdb13a98,c36b1800,c0583e67,0) at netbsd:cpu_Debugger+=
 0xb
 panic(c0a284f0,c0583e06,c0a229ee,c0a22a1a,1f) at netbsd:panic+0x164
 lockdebug_abort1(c0d54c40,c0d5e6a0,c0a229ee,c0a22a1a,1) at netbsd:lockdebug=
 _abort1+0x8d
 lockdebug_abort(c0d51a40,c0c92eb8,c0a229ee,c0a22a1a,cddb6cdc) at netbsd:loc=
 kdebug_abort+0x4b
 _kernel_unlock(1,cdaec640,0,c05c9e56,cdc5d000) at netbsd:_kernel_unlock+0x7d
 VFS_START(cdc5d000,0,3,cdb13cb0,0) at netbsd:VFS_START+0x6f
 mount_domount(cdaec640,cdb13c7c,c0c902a0,bfbfffa2,58) at netbsd:mount_domou=
 nt+0x3f5
 do_sys_mount(cdaec640,c0c902a0,8076522,bfbfffa2,58) at netbsd:do_sys_mount+=
 0x254
 compat_40_sys_mount(cdaec640,cdb13d04,cdb13cfc,cdb13d30,c064b7db) at netbsd=
 :compat_40_sys_mount+0x59
 syscall(cdb13d48,b3,ab,bfbf001f,1f) at netbsd:syscall+0x17b
 db{1}> reboot
 syncing disks... panic: lock error
 Stopped in pid 156.1 (mount_mfs) at     netbsd:breakpoint+0x4:  popl    %ebp
 db{1}> trace
 breakpoint(cdb135bc,0,cdb135f0,c0582fb7,c0a2932f) at netbsd:breakpoint+0x4
 cpu_Debugger(c0a2932f,cdb135fc,c36b1800,c057bf22,c0d54c40) at netbsd:cpu_De=
 bugger+0xb
 panic(c0a28585,c0d5e6a0,c0a22960,c0a229e6,1) at netbsd:panic+0x164
 lockdebug_abort(c0d51a40,c0c92eb8,c0a22960,c0a229e6,cdc5e028) at netbsd:loc=
 kdebug_abort+0xc6
 _kernel_lock(1,cdaec640,cdb136b0,c05c9d5e,c0d5f800) at netbsd:_kernel_lock+=
 0x219
 VFS_SYNC(cdc5e000,2,cc864f00,0,c0100ddf) at netbsd:VFS_SYNC+0x29
 sys_sync(cdaec640,0,0,c058a548,cd1c6ccc) at netbsd:sys_sync+0xa3
 vfs_shutdown(d,7000000,cdb13730,c01e587f,cdb1375c) at netbsd:vfs_shutdown+0=
 x5d
 cpu_reboot(0,0,c01e3d61,c0d425c0,c09c7360) at netbsd:cpu_reboot+0x3f
 db_sifting_cmd(c0355f62,0,cdaf0d09,cdb13798,7) at netbsd:db_sifting_cmd
 db_command(c0c85520,1,cdb13860,cdaf0d09,cdb13834) at netbsd:db_command+0x39c
 db_command_loop(c0660bfc,9c,1,cdaf0d09,7) at netbsd:db_command_loop+0xa2
 db_trap(1,0,58,2,d) at netbsd:db_trap+0x1a8
 kdb_trap(1,0,cdb139fc,c0526d14,0) at netbsd:kdb_trap+0x1d1
 trap() at netbsd:trap+0x34c
 --- trap (number 1) ---
 breakpoint(cdb13a58,0,cdb13a8c,c0582fb7,c0a2932f) at netbsd:breakpoint+0x4
 cpu_Debugger(c0a2932f,cdb13a98,c36b1800,c0583e67,0) at netbsd:cpu_Debugger+=
 0xb
 panic(c0a284f0,c0583e06,c0a229ee,c0a22a1a,1f) at netbsd:panic+0x164
 lockdebug_abort1(c0d54c40,c0d5e6a0,c0a229ee,c0a22a1a,1) at netbsd:lockdebug=
 _abort1+0x8d
 lockdebug_abort(c0d51a40,c0c92eb8,c0a229ee,c0a22a1a,cddb6cdc) at netbsd:loc=
 kdebug_abort+0x4b
 _kernel_unlock(1,cdaec640,0,c05c9e56,cdc5d000) at netbsd:_kernel_unlock+0x7d
 VFS_START(cdc5d000,0,3,cdb13cb0,0) at netbsd:VFS_START+0x6f
 mount_domount(cdaec640,cdb13c7c,c0c902a0,bfbfffa2,58) at netbsd:mount_domou=
 nt+0x3f5
 do_sys_mount(cdaec640,c0c902a0,8076522,bfbfffa2,58) at netbsd:do_sys_mount+=
 0x254
 compat_40_sys_mount(cdaec640,cdb13d04,cdb13cfc,cdb13d30,c064b7db) at netbsd=
 :compat_40_sys_mount+0x59
 syscall(cdb13d48,b3,ab,bfbf001f,1f) at netbsd:syscall+0x17b
 db{1}> reboot
 rebooting...
 
 --=20
                                                Greg A. Woods
                                                Planix, Inc.
 
 <woods%planix.com@localhost>     +1 416 489-5852 x122     
http://www.planix.com/
 
 --pgp-sign-Multipart_Tue_Mar_25_12:07:09_2008-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: PGPfreeware 5.0i for non-commercial use
 MessageID: 2lpGzYC0uoE/U1dOUjCjVNGMERuqm7UD
 
 iQA/AwUBR+kjLWZ9cbd4v/R/EQJdpACg2iM8IMoIdxdzGlOvpuDx4R1Qcl8AoJv+
 qib7BQ7JoJgLFRlYPwNFNGgQ
 =zkiw
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Tue_Mar_25_12:07:09_2008-1--
 


Home | Main Index | Thread Index | Old Index