Subject: Re: kern/24829
To: None <chs@netbsd.org>
From: Jarle Greipsland <jarle@uninett.no>
List: netbsd-bugs
Date: 11/08/2005 09:50:21
chs@netbsd.org writes:
> Synopsis: panic: postsig action on SMP system
> State-Changed-From-To: open->feedback
> State-Changed-By: chs@netbsd.org
> State-Changed-When: Sun, 06 Nov 2005 20:11:31 +0000
> State-Changed-Why:
> maybe LWP/SA/libpthread bugs have been fixed since then,
> do you still see the problem in 2.0 or later?
It is still there.  On a 3.0_BETA kernel from around October
20th, I still got the same panic.  It is not the same system that
for which the original problem report was filed, but the current
system is also a quad-cpu i386-family system.  Console log below.
Please let me know if there is any other information you want me
to try and gather.
					-jarle

panic: postsig action
Stopped in pid 19751.15 (httpd) at      netbsd:cpu_Debugger+0x4:        leave
db{0}> trace
cpu_Debugger(c07fe614,c07aef00,176,cdcaf1dc,4000) at netbsd:cpu_Debugger+0x4
panic(c07582ab,1,3878db,0,0) at netbsd:panic+0x121
postsig(f,d4d39f64,d4d39f5c,c07fc5b0,c039650b) at netbsd:postsig+0x9e
syscall_plain() at netbsd:syscall_plain+0xf0
--- syscall (number 186) ---
0xbd987e4b:
db{0}> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
 5718         29868    29868       1006 2   0x500   17            httpd       *
 13202        29868    29868       1006 2   0x500   14            httpd       *
 8336         29868    29868       1006 2   0x500   19            httpd       *
 28143        29868    29868       1006 2   0x500   13            httpd       *
*19751        29868    29868       1006 2   0x500   11            httpd       *
 672          29868    29868       1006 2   0x100    1            httpd  netcon
 18888         7153    18888       1001 2  0x4002    1        http_load  select
 29868            1    29868          0 2       0    1            httpd  select
 28537         7450    28537          0 2  0x5002    1             tcsh   ttyin
 7450         28105     7450       1001 2  0x4002    1             bash    wait
 28105        29138    29138       1001 2  0x4000    1            xterm  select
 29138         1999    29138       1001 2  0x4000    1              csh   pause
 1999          7901     7901       1001 2   0x100    1             sshd  select
 7901           695     7901          0 2  0x4100    1             sshd   netio
 23472         7153    23472          0 4  0x5002    1             tcsh
 7153          7780     7153       1001 2  0x4002    1             bash    wait
 7780         18752    18752       1001 2  0x4000    1            xterm  select
 18752        13565    18752       1001 2  0x4000    1              csh   pause
 13565        23884    23884       1001 2   0x100    1             sshd  select
 23884          695    23884          0 2  0x4100    1             sshd   netio
 161              1      563       1000 2  0x4000    1       setiathome
 162              1      852       1000 2  0x4000    1       setiathome
 884              1      662       1000 2  0x4000    1       setiathome
 539              1      539          0 2  0x4002    1            getty   ttyin
 442              1      442          0 2  0x4002    1            getty   ttyin
 313              1      313          0 2  0x4002    1            getty   ttyin
 856              1        1          0 2  0x4000    1            getty nanosle
 727              1      727          0 2  0x4002    1            login   ttyin
 109              1      109          0 2       0    1             cron nanosle
 105              1      105          0 2       0    1            inetd  kqread
 818              1      818         17 2   0x100    1         sendmail   pause
 824              1      824          0 2   0x100    1         sendmail  select
 695              1      695          0 2       0    1             sshd  select
 630              1      630          0 2       0    1             ntpd   pause
 467            507      507          0 2       0    1             nfsd    nfsd
 433            507      507          0 2       0    1             nfsd    nfsd
 533            507      507          0 2       0    1             nfsd    nfsd
 479            507      507          0 2       0    1             nfsd    nfsd
 507              1      507          0 2       0    1             nfsd    poll
 476              1      476          0 2       0    1           mountd  select
 413              1      413          0 2       0    1        mount_mfs  mfsidl
 346              1      346          0 2       0    1          rpcbind    poll
 217              1      217          0 2       0    1          syslogd  kqread
 13               0        0          0 2 0x20200    1         aiodoned aiodone
 12               0        0          0 2 0x20200    1          ioflush  syncer
 11               0        0          0 2 0x20200    1       pagedaemon pgdaemo
 10               0        0          0 2 0x20200    1          raidio0 raidiow
 9                0        0          0 2 0x20200    1            raid0 rfwcond
 8                0        0          0 2 0x20200    1          raidio1 raidiow
 7                0        0          0 2 0x20200    1            raid1 rfwcond
 6                0        0          0 2 0x20200    1         scsibus3  sccomp
 5                0        0          0 2 0x20200    1         scsibus2  sccomp
 4                0        0          0 2 0x20200    1         scsibus1  sccomp
 3                0        0          0 2 0x20200    1         scsibus0  sccomp
 2                0        0          0 2 0x20200    1        cryptoret crypto_
 1                0        1          0 2  0x4000    1             init    wait
 0               -1        0          0 2 0x20200    1          swapper schedul
db{0}> mach cpu 0
using CPU 0
db{0}> trace
cpu_Debugger(c07fe614,c07aef00,176,cdcaf1dc,4000) at netbsd:cpu_Debugger+0x4
panic(c07582ab,1,3878db,0,0) at netbsd:panic+0x121
postsig(f,d4d39f64,d4d39f5c,c07fc5b0,c039650b) at netbsd:postsig+0x9e
syscall_plain() at netbsd:syscall_plain+0xf0
--- syscall (number 186) ---
0xbd987e4b:
db{0}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0x1
esi         0x100
ebp         0xd4d39e9c
ebx         0x1
edx         0xc22e0000
ecx         0x286
eax         0x2476
eip         0xc0456f9c  cpu_Debugger+0x4
cs          0x8
eflags      0x202
esp         0xd4d39e9c
ss          0x10
netbsd:cpu_Debugger+0x4:        leave
db{0}> mach cpu 1
using CPU 1
db{0}> tr
_simple_lock_try(c087ca8c,c0757933,585,0,c07fe614) at netbsd:_simple_lock_try+0x
53
_kernel_lock(0,1,0,0,0) at netbsd:_kernel_lock+0xa9
sa_upcall_userret(cde76320,d4a2ff64,d4a2ff5c,c07fc73c,246) at netbsd:sa_upcall_u
serret+0x3c
syscall_plain() at netbsd:syscall_plain+0x129
--- syscall (number 0) ---
0xbd98808b:
db{0}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xc
esi         0x1
ebp         0xd4a2fecc
ebx         0xc087ca8c  kernel_lock
edx         0x1
ecx         0x246
eax         0
eip         0xc0396307  _simple_lock_try+0x53
cs          0x8
eflags      0x297
esp         0xcc36ffbc
ss          0xcc360010
netbsd:_simple_lock_try+0x53:   movl    %fs:0x4,%edx
db{0}> mach cpu 2
using CPU 2
db{0}> tr
_simple_lock_try(c087ca8c,c0757933,5cf,d,437053b9) at netbsd:_simple_lock_try+0x
74
_kernel_lock_acquire_count(1,0,dc5fae1c,c03a7cbe,ce00d348) at netbsd:_kernel_loc
k_acquire_count+0x6d
mi_switch(cdc368c8,0,ce00d014,246,0) at netbsd:mi_switch+0x172
sa_switch(cdc368c8,2,1a7,c,f424e) at netbsd:sa_switch+0x1a5
ltsleep(ccc62058,112,c07592a4,0,0) at netbsd:ltsleep+0x444
sys_semop(cdc368c8,dc5faf64,dc5faf5c,c07fcfe8,246) at netbsd:sys_semop+0x352
syscall_plain() at netbsd:syscall_plain+0x1a5
--- syscall (number 222) ---
0xbd988433:
db{0}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xd
esi         0x2
ebp         0xdc5fad9c
ebx         0xc087ca8c  kernel_lock
edx         0xc22e3000
ecx         0x293
eax         0x80000000
eip         0xc0396328  _simple_lock_try+0x74
cs          0x8
eflags      0x293
esp         0xcc38bfbc
ss          0xcc380010
netbsd:_simple_lock_try+0x74:   movl    0xfffffff0(%ebp),%eax
db{0}> mach cpu 3
using CPU 3
db{0}> tra
_kernel_lock(42,c0757933,bfe4497e,0,bfbfebd4) at netbsd:_kernel_lock+0xd1
x86_softintlock(1f,4001f,ca001f,bfbf001f,100000) at netbsd:x86_softintlock+0xd
db{0}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xc
esi         0xc080ac40  cpu_info_primary
ebp         0xcdcf7f80
ebx         0x4
edx         0xc080ac40  cpu_info_primary
ecx         0x246
eax         0xd8014cf8
eip         0xc03969d5  _kernel_lock+0xd1
cs          0x8
eflags      0x246
esp         0xcc337fbc
ss          0xcc330010
netbsd:_kernel_lock+0xd1:       repe nop