Current-Users archive

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

Re: 9.99.86 HEAD



Same output again, augmented with stack traces.

Martin

db{0}> show locks
[Locks tracked through LWPs]

****** LWP 1856.1856 (rxvt) @ 0x1372f100, l_stat=3

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at fstrans_init)
lock address : 0x0000000000c0f2c0 type     :     sleep/adaptive
initialized  : 0x000000000081f444
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  1
relevant cpu :                  1 last held:                  0
relevant lwp : 0x000000001372f100 last held: 0x00000000116aa080
last locked* : 0x0000000000820c6c unlocked : 0x0000000000812878
owner field  : 0x00000000116aa080 wait/spin:                1/0
Turnstile:
=> 0 waiting readers:
=> 1 waiting writers: 0x1372f100

db{0}> bt/a 0x1372f100
trace: pid 1856 lid 1856 at 0x1076f9d0
0x1076fa30: at cpu_switchto+0x28
0x1076fa40: at mi_switch+0x284
0x1076fa80: at sleepq_block+0xd4
0x1076faa0: at turnstile_block+0x3c4
0x1076faf0: at mutex_enter+0x1e8
0x1076fb40: at vfs_suspend+0x120
0x1076fb60: at vrevoke_suspend_next+0x38
0x1076fb70: at vrevoke+0x4c
0x1076fba0: at genfs_revoke+0x1c
0x1076fbb0: at VOP_REVOKE+0x80
0x1076fbd0: at pty_grant_slave+0xbc
0x1076fca0: at ptyioctl+0x638
0x1076fce0: at cdev_ioctl+0xb0
0x1076fd10: at VOP_IOCTL+0x8c
0x1076fd40: at vn_ioctl+0xe4
0x1076fe00: at sys_ioctl+0x2e0
0x1076feb0: at syscall+0x368
0x1076ff20: user SC trap #54 by 0xfdc9a598: srr1=0xf032
            r1=0xffffe760 cr=0x48000448 xer=0 ctr=0xfdc9a590


****** LWP 1587.1587 (umount) @ 0x116aa080, l_stat=3

*** Locks held:

* Lock 0 (initialized at fstrans_init)
lock address : 0x0000000000c0f2c0 type     :     sleep/adaptive
initialized  : 0x000000000081f444
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  1
relevant cpu :                  0 last held:                  0
relevant lwp : 0x00000000116aa080 last held: 0x00000000116aa080
last locked* : 0x0000000000820c6c unlocked : 0x0000000000812878
owner field  : 0x00000000116aa080 wait/spin:                1/0
Turnstile:
=> 0 waiting readers:
=> 1 waiting writers: 0x1372f100

* Lock 1 (initialized at vfs_mountalloc)
lock address : 0x0000000012a00340 type     :     sleep/adaptive
initialized  : 0x000000000080fdbc
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x00000000116aa080 last held: 0x00000000116aa080
last locked* : 0x0000000000812678 unlocked : 0x00000000008127ac
owner field  : 0x00000000116aa080 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

* Lock 2 (initialized at vcache_alloc)
lock address : 0x00000000144f8940 type     :     sleep/adaptive
initialized  : 0x0000000000822174
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x00000000116aa080 last held: 0x00000000116aa080
last locked* : 0x000000000083f058 unlocked : 0x000000000083f0c0
owner/count  : 0x00000000116aa080 flags    : 0x0000000000000004
Turnstile: no active turnstile for this lock.

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x00000000116aa080 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0x116aa080
trace: pid 1587 lid 1587 at 0x11d33a70
0x11d33ad0: at cpu_switchto+0x28
0x11d33ae0: at mi_switch+0x284
0x11d33b20: at sleepq_block+0xd4
0x11d33b40: at turnstile_block+0x3c4
0x11d33b90: at rw_enter+0x16c
0x11d33be0: at cache_purge1+0x1e4
0x11d33c10: at vcache_reclaim+0xf4
0x11d33ca0: at vrecycle+0x174
0x11d33cd0: at vflush+0x230
0x11d33dd0: at ffs_flushfiles+0xac
0x11d33df0: at ffs_unmount+0x5c
0x11d33e10: at VFS_UNMOUNT+0x38
0x11d33e20: at dounmount+0x9c
0x11d33e50: at sys_unmount+0x100
0x11d33eb0: at syscall+0x368
0x11d33f20: user SC trap #22 by 0xfdc60b78: srr1=0xd032
            r1=0xffffd9f0 cr=0x24002484 xer=0 ctr=0xfdc60b70


****** LWP 855.855 (ntpd) @ 0x1187c340, l_stat=3

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x000000001187c340 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0x1187c340
trace: pid 855 lid 855 at 0x11403dc0
0x11403e20: at cpu_switchto+0x28
0x11403e30: at mi_switch+0x284
0x11403e70: at sleepq_block+0xd4
0x11403e90: at sys___sigsuspend14+0x6c
0x11403eb0: at syscall+0x368
0x11403f20: user SC trap #294 by 0xfd8a08f8: srr1=0xf032
            r1=0xffffe560 cr=0x22000428 xer=0 ctr=0xfd8a08f0

****** LWP 341.341 (dhcpcd) @ 0x10795c40, l_stat=3

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  1 last held:                  0
relevant lwp : 0x0000000010795c40 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0x10795c40
trace: pid 341 lid 341 at 0x1077cbd0
0x1077cc30: at cpu_switchto+0x28
0x1077cc40: at mi_switch+0x284
0x1077cc80: at sleepq_block+0xd4
0x1077cca0: at sel_do_scan+0x58c
0x1077cd40: at pollcommon+0xec
0x1077ce70: at sys___pollts50+0x80
0x1077ceb0: at syscall+0x368
0x1077cf20: user SC trap #437 by 0xfdc409c8: srr1=0xd032
            r1=0xffffe630 cr=0x44000482 xer=0x20000000 ctr=0xfdc409c0


****** LWP 339.339 (dhcpcd) @ 0x10795340, l_stat=3

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x0000000010795340 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0x10795340
trace: pid 339 lid 339 at 0x106f6bd0
0x106f6c30: at cpu_switchto+0x28
0x106f6c40: at mi_switch+0x284
0x106f6c80: at sleepq_block+0x134
0x106f6ca0: at sel_do_scan+0x58c
0x106f6d40: at pollcommon+0xec
0x106f6e70: at sys___pollts50+0x80
0x106f6eb0: at syscall+0x368
0x106f6f20: user SC trap #437 by 0xfdc409c8: srr1=0xd032
            r1=0xffffe630 cr=0x44000422 xer=0x20000000 ctr=0xfdc409c0


****** LWP 0.19 (softclk/1) @ 0x5f8f0700, l_stat=7

*** Locks held:

* Lock 0 (initialized at soinit)
lock address : 0x000000005fbcc080 type     :     sleep/adaptive
initialized  : 0x00000000007ee6b4
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  0
relevant cpu :                  1 last held:                  1
relevant lwp : 0x000000005f8f0700 last held: 0x000000005f8f0700
last locked* : 0x000000000046c98c unlocked : 0x00000000007dfa44
owner field  : 0x000000005f8f0700 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  1 last held:                  0
relevant lwp : 0x000000005f8f0700 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0x5f8f0700
trace: pid 0 lid 19 at 0x10047e00
0x10047e40: at ip_slowtimo+0x20
0x10047e50: at pfslowtimo+0x60
0x10047e70: at callout_softclock+0x10c
0x10047eb0: at softint_dispatch+0x140
0x10047f20: at softint_fast_dispatch+0xdc
saved LR(0xff3ffb79) is invalid.


****** LWP 0.11 (iflnkst) @ 0x5fb17c80, l_stat=3

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x000000005fb17c80 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.


db{0}> bt/a 0x5fb17c80
trace: pid 0 lid 11 at 0x10027df0
0x10027e50: at cpu_switchto+0x28
0x10027e60: at mi_switch+0x284
0x10027ea0: at sleepq_block+0xd4
0x10027ec0: at cv_wait+0x50
0x10027ee0: at workqueue_worker+0xe4
0x10027f20: at cpu_lwp_bootstrap+0xc
saved LR(0xff3ffb79) is invalid.


****** LWP 0.5 (softclk/0) @ 0x5fb21940, l_stat=1

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x000000005fb21940 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0x5fb21940
trace: pid 0 lid 5 at 0x1000feb0
0x1000ff20: at softint_fast_dispatch+0xdc
saved LR(0xfb3ffb79) is invalid.


****** LWP 0.3 (softnet/0) @ 0x5fb21340, l_stat=1

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  0 last held:                  0
relevant lwp : 0x000000005fb21340 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.


db{0}> bt/a 0x5fb21340
trace: pid 0 lid 3 at 0x10007e00
0x5f8a9a88: at 0xfffffffc
0x5fbbdac0: at 0xfffffffc

****** LWP 0.0 (swapper) @ 0xc06200, l_stat=3

*** Locks held: none

*** Locks wanted:

* Lock 0 (initialized at module_hook_init)
lock address : 0x0000000000c06580 type     :     sleep/adaptive
initialized  : 0x0000000000744c7c
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
relevant cpu :                  1 last held:                  0
relevant lwp : 0x0000000000c06200 last held: 000000000000000000
last locked  : 000000000000000000 unlocked*: 000000000000000000
owner field  : 000000000000000000 wait/spin:                0/0
Turnstile: no active turnstile for this lock.

db{0}> bt/a 0xc06200
trace: pid 0 lid 0 at 0xd3fdd0
0x00d3fe30: at cpu_switchto+0x28
0x00d3fe40: at mi_switch+0x284
0x00d3fe80: at sleepq_block+0x134
0x00d3fea0: at uvm_scheduler+0xe4
0x00d3fec0: at main+0x868
0x00d3ff10: at 0x1000b4


[Locks tracked through CPUs]

******* Locks held on cpu0:

* Lock 0 (initialized at main)
lock address : 0x0000000000c061c0 type     :               spin
initialized  : 0x0000000000924328
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  1
relevant cpu :                  0 last held:                  0
relevant lwp : 0x000000005fb21040 last held: 0x000000005fb21040
last locked* : 0x000000000013e2a4 unlocked : 0x0000000000491e60
curcpu holds :                  1 wanted by: 000000000000000000

this is the kernel lock, taken by:

0x13e2a4 is in intr_deliver (../../../../arch/powerpc/pic/intr.c:474).
469                          "NULL interrupt handler!\n", __func__,
470                          virq, is->is_hwirq, is, ih);
471                     if (ih->ih_ipl == IPL_VM) {
472                             if (!locked) {
473                                     KERNEL_LOCK(1, NULL);
474                                     locked = true;


db{0}> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
1856  1856 3   1         0           1372f100               rxvt tstile
1725  1725 3   0       180           10627680               tcsh pause
1724  1724 3   1       180           1187c640               sshd select
2017  2017 3   0       180           1161f400               sshd poll
1708  1708 3   0         0           10795940                 dd fstchg
1587  1587 3   0         0           116aa080             umount tstile
1790  1790 3   1       180           105dfa00                 sh wait
868    868 3   0       180           1061d9c0                 sh pipe_rd
1354  1354 3   0       180           1372fa00         atf-report pipe_rd
1369  1369 3   0       180           1372f700            atf-run poll
550    550 3   0       180           1061dcc0               tcsh pause
1209  1209 3   1       180           1372fd00               tcsh pause
1074  1074 3   1       1c0           5f8aac80               rxvt select
1073  1073 3   1       180           1187c040               tcsh pause
1071  1071 3   1       180           1372f400               sshd select
1188  1188 3   0       180           10795040               sshd poll
967    967 3   1       1c0           1061d6c0              getty ttyraw
977    977 3   0       180           1061d3c0              getty nanoslp
969    969 3   1       180           1061d0c0              getty nanoslp
895    895 3   0       180           116aac80              getty nanoslp
984    984 3   1       180           105df100              getty nanoslp
971    971 3   1       180           1161f700               cron nanoslp
958    958 3   1       180           116aa980              inetd kqueue
809    809 3   1       180           116aa680               sshd select
861    861 3   1       180           1187cc40             powerd kqueue
855    855 3   0       180           1187c340               ntpd pause
442    442 3   1       180           1161f100            syslogd kqueue
342    342 3   0       180           105df400             dhcpcd poll
340    340 3   0       180           10795640             dhcpcd poll
341    341 3   1       180           10795c40             dhcpcd poll
339    339 3   0       180           10795340             dhcpcd poll
1        1 3   0       180           10270380               init wait
0     1498 3   0       200           1187c940               vnd0 vndbp
0      198 3   1       200           1024e3c0            physiod physiod
0      165 3   1       200           1024ecc0          pooldrain pooldrain
0      163 3   1       200           1024e9c0            ioflush syncer
0       31 3   0       200           1024e6c0           pgdaemon pgdaemon
0      125 3   0       200           10270980          swwreboot swwreboot
0      124 3   0       200           1021a3c0               usb0 usbevt
0      123 3   1       200           1024e0c0               usb1 usbevt
0      122 3   1       200           10270c80          atapibus0 sccomp
0      119 3   1       200           10270680             npfgc0 npfgcw
0      118 3   0       200           10270080            rt_free rt_free
0      117 3   0       200           1026fc40              unpgc unpgc
0      116 3   0       200           1026f940    key_timehandler key_timehandler
0      115 3   1       200           1021a6c0    icmp6_wqinput/1 icmp6_wqinput
0      114 3   0       200           1021acc0    icmp6_wqinput/0 icmp6_wqinput
0      113 3   0       200           1026f640          nd6_timer nd6_timer
0      112 3   1       200           1026f340    carp6_wqinput/1 carp6_wqinput
0      111 3   0       200           1026f040    carp6_wqinput/0 carp6_wqinput
0      110 3   1       200           10239d00     carp_wqinput/1 carp_wqinput
0      109 3   0       200           10239a00     carp_wqinput/0 carp_wqinput
0      108 3   1       200           10239700     icmp_wqinput/1 icmp_wqinput
0      107 3   0       200           10239400     icmp_wqinput/0 icmp_wqinput
0      106 3   0       200           10239100           rt_timer rt_timer
0      105 3   1       200           1021a0c0        vmem_rehash vmem_rehash
0      104 3   1       200           1021a9c0          entbutler entropy
0       30 3   0       380           5f8aa980           fw0probe ieee1394
0       29 3   0       200           5f8aa680         usbtask-dr usbtsk
0       28 3   1       200           5f8aa380         usbtask-hc usbtsk
0       27 3   0       200           5f8aa080            atabus2 atath
0       26 3   1       240           5f8e1c40            atabus1 atath
0       25 3   1       240           5f8e1940            atabus0 atath
0       24 3   0       200           5f8e1640               iic1 iicintr
0       23 3   0       200           5f8e1340                pmu wait
0       22 3   0       200           5f8e1040               iic0 iicintr
0       21 3   1       200           5f8f0d00            xcall/1 xcall
0       20 1   1       200           5f8f0a00          softser/1
0    >  19 7   1       200           5f8f0700          softclk/1
0       18 1   1       200           5f8f0400          softbio/1
0       17 1   1       200           5f8f0100          softnet/1
0    >  16 1   1       201           5f907cc0             idle/1
0       15 3   0       200           5f9079c0             sysmon smtaskq
0       14 3   0       200           5f9076c0         pmfsuspend pmfsuspend
0       13 3   0       200           5f9073c0           pmfevent pmfevent
0       12 3   0       200           5f9070c0         sopendfree sopendfr
0       11 3   0       200           5fb17c80            iflnkst iflnkst
0       10 3   0       200           5fb17980           nfssilly nfssilly
0        9 3   0       200           5fb17680             vdrain vdrain
0        8 3   0       200           5fb17380          modunload mod_unld
0        7 3   0       200           5fb17080            xcall/0 xcall
0        6 1   0       200           5fb21c40          softser/0
0        5 1   0       200           5fb21940          softclk/0
0        4 1   0       200           5fb21640          softbio/0
0        3 1   0       200           5fb21340          softnet/0
0    >   2 1   0       201           5fb21040             idle/0
0        0 3   1       200             c06200            swapper uvm



Home | Main Index | Thread Index | Old Index