Current-Users archive

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

LOCKDEBUG panic when hitting the shutdown button


This may be one of the _known_ locking problems, but with kernels from 
yesterday and from this morning, I get a panic when hitting the shutdown 
button immediately after a reboot (at the login prompt).  The system is a 
Thinkpad T42 running i386 4.99.62 with a slightly modified GENERIC kernel 
(see attached config).  A kernel from 30 April does not panic.  I would have 
assumed that this was the same panic reported by Geoff Wing in current-users 
yesterday except for the fact that my kernel from this morning includes the 
changes from

and still panics.

I should point out that my userland is from 30 April, but it seems that that 
ought not to be the cause of the panic.


Here's a backtrace (from the dump)

#9  0xc0473ddd in panic (fmt=0xc09c2df3 "LOCKDEBUG")
    at /usr/src/sys/kern/subr_prf.c:257
#10 0xc046d711 in lockdebug_abort1 (ld=0xce81d540, lk=0xc0ae0920,
    func=0xc07c8e36 "lockdebug_wantlock",
    msg=0xc09c077d "locking against myself", dopanic=true)
    at /usr/src/sys/kern/subr_lockdebug.c:799
#11 0xc0453133 in rw_vector_enter (rw=0xcc5cc128, op=RW_READER)
    at /usr/src/sys/kern/kern_rwlock.c:297
#12 0xc079c825 in prop_dictionary_iterator (pd=0xcc5cc120)
at /usr/src/sys/lib/libkern/../../../common/lib/libprop/prop_dictionary.c:764
#13 0xc079c8e7 in _prop_dictionary_externalize (ctx=0xc329b080, v=0xcc5cc120)
at /usr/src/sys/lib/libkern/../../../common/lib/libprop/prop_dictionary.c:412
#14 0xc079c037 in prop_dictionary_externalize (pd=0xcc5cc120)
at /usr/src/sys/lib/libkern/../../../common/lib/libprop/prop_dictionary.c:1125
#15 0xc0798c08 in _prop_object_copyout_ioctl (pref=0xce313c60,
    cmd=<value optimized out>, obj=0xcc5cc120)
    at /usr/src/sys/lib/libkern/../../../common/lib/libprop/prop_kern.c:323
#16 0xc0119e03 in sysmonioctl_power (dev=17154, cmd=3221770241,
    data=0xce313c60, flag=5, l=0xce00a580)
    at /usr/src/sys/dev/sysmon/sysmon_power.c:591
#17 0xc04bc5fa in spec_ioctl (v=0xce313b50)
    at /usr/src/sys/miscfs/specfs/spec_vnops.c:665
#18 0xc04b5ed2 in VOP_IOCTL (vp=0xce1a9e5c, command=3221770241,
    data=0xce313c60, fflag=5, cred=0xcc5c5f00)
    at /usr/src/sys/kern/vnode_if.c:562
#19 0xc04b3663 in vn_ioctl (fp=0xcdfa9980, com=3221770241, data=0xce313c60)
    at /usr/src/sys/kern/vfs_vnops.c:624
#20 0xc047b27d in sys_ioctl (l=0xce00a580, uap=0xce313d00, retval=0xce313d28)
    at /usr/src/sys/kern/sys_generic.c:616
#21 0xc051dbd0 in syscall (frame=0xce313d48)
    at /usr/src/sys/arch/i386/i386/syscall.c:102
#22 0xc0100514 in syscall1 ()
#       $Id$
#       ABBOR -- GENERIC_LAPTOP minus apm0 plus enable ACPI devices

include "arch/i386/conf/GENERIC"

options         DDB_VERBOSE_HELP

options         LOCKDEBUG
makeoptions     DEBUG="-g"              # compile full symbol table

no attimer0     at isa?                 # Use ACPI version
no pcppi0       at isa?                 # Use ACPI version

no com* at isapnp?                      # Modems and serial boards
no com0 at isa?
no com1 at isa?
no com2 at isa?

options         MPACPI

com*            at acpi?                # Serial communications interface
fdc*            at acpi?                # Floppy disk controller
lpt*            at acpi?                # Parallel port

# VESA framebuffer console
options         KVM86                   # required for vesabios
vesabios*       at vesabiosbus?
vesafb*         at vesabios?
options         VESAFB_WIDTH=1280
options         VESAFB_HEIGHT=1024
options         VESAFB_DEPTH=16
#options        VESAFB_PM               # power management support
wsdisplay*      at vesafb? console ?

ichlpcib* at pci? dev ? function ?      # Intel ICH PCI-ISA w/ watchdog and
                                        # SpeedStep support
isa0    at ichlpcib?

# IBM Thinkpad Active Protection System
aps0    at isa? port 0x1600

Home | Main Index | Thread Index | Old Index