tech-kern archive

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

Re: bug in softint_execute() ?



>>> Takeshi Nakayama <tn%catvmics.ne.jp@localhost> wrote

> FYI, I got a similar strange assertion panic on sparc64 SMP box.
> 
> panic: kernel diagnostic assertion "curcpu() == ci" failed: file 
> "../../../../kern/vfs_bio.c", line 1541
> Stopped in pid 19327.1 (troff) at       netbsd:cpu_Debugger+0x4:        nop
> db{1}> t
> __kernassert(1430560, 1462168, 605, 1462290, 1, c418000) at 
> netbsd:__kernassert+0x2c
> biointr(0, 2b60400, 0, 400, 5, 27cc00) at netbsd:biointr+0xc0
> softint_overlay(2b6ac00, 0, 0, 21, 0, 27cc00) at netbsd:softint_overlay+0x3e4
> lwp_userret(10cddc40, 0, 2, ffffffffffffab00, 1, 1c14000) at 
> netbsd:lwp_userret+0x170
> trap(d1cded0, fffffffffffffffe, 14c2b4, 820082, 132a500, 80) at 
> netbsd:trap+0x408
> ?(ffffffffffffa7b6, 0, 0, 21, 27bc80, 27cc00) at 0x1008b64
> db{1}> mach lwp
> lwp 0x10cddc40: lid 1
> wchan:0x0 pri:25 epri:204 tf:0xd1cded0
> pcb: 0xd1ca000 fpstate: 0x3593c00
> db{1}> mach cpu 0
> db{0}> t
> lwp_trampoline(f0067260, fff83cf8, 110c00, 10f978, fff83df8, 0) at 
> netbsd:lwp_trampoline+0x8
> db{0}> mach lwp
> lwp 0xbd4bc00: lid 2
> wchan:0x0 pri:0 epri:0 tf:0xbd1ded0
> pcb: 0xbd1a000 fpstate: 0x0
> db{0}> 

Additional info:

db{1}> ps/l
 PID         LID S     FLAGS       STRUCT LWP *               NAME WAIT
 3595          1 2         4           106a5c00              groff
 25399         1 2         4            d22cac0              groff
 25752         1 3        84            e7bc700              groff wait
 21093         1 2         4            e48eaa0                 sh
 15417         1 3        84            d22c740                 sh wait
 24599         1 2         4            d1baaa0                cc1
 13229         1 3        84           106a5880             nbmake select
 5379          1 3        84           106a4a80                 sh wait
 29656         1 3        84           10cdc040             grotty piperd
>19327     >   1 7  a0000004           10cddc40              troff
 16817         1 3        84            d22ce40              groff wait
 8669          1 3        84            deb9c00                 sh wait
 20532         1 3        84           106a4380                 sh wait
 6334          1 3        84            d0c31c0             nbmake select
  :
(snip)
  :
 1             1 3        80            bd5c740               init wait
 0            43 3       204            cedc720              nfsio nfsiod
              42 3       204            bd76a80              nfsio nfsiod
              41 3       204            bd76000              nfsio nfsiod
              40 3       204            bd76e00              nfsio nfsiod
              39 2       204            cedcaa0         lfs_writer
              38 3       204            bd76700            physiod physiod
              37 3       204            bd77880        vmem_rehash vmem_rehash
              36 3       204            bd77c00           aiodoned aiodoned
              35 3       204            bd5ce40            ioflush syncer
              34 3       204            bd5d8c0           pgdaemon pgdaemon
              33 3       204            bd5d1c0               usb2 usbevt
              32 3       204            bd5d540               usb1 usbevt
              31 3       204            bd5cac0         usbtask-dr usbtsk
              30 3       204            bd5c3c0         usbtask-hc usbtsk
              29 3       204            bd5c040               usb0 usbevt
              20 3       204            bd5dc40          cardslot1 cardslotev
              19 3       204            bd56020          cardslot0 cardslotev
              18 3       204            bd563a0           scsibus1 sccomp
              17 3       204            bd56720           scsibus0 sccomp
              16 3       204            bd56aa0             sysmon smtaskq
              15 3  80000204            bd56e20            xcall/1 xcall
              14 1  80000204            bd571a0          softser/1
              13 1  80000204            bd57520          softclk/1
              12 1  80000204            bd578a0          softbio/1
              11 1  80000204            bd57c20          softnet/1
              10 1  80000205            bd4a000             idle/1
               9 3       204            bd4a380           pmfevent pmfevent
               8 3       204            bd4a700              vrele vrele
               7 3  80000204            bd4aa80            xcall/0 xcall
               6 1  80000204            bd4ae00          softser/0
               5 1  80000204            bd4b180          softclk/0
               4 1  80000204            bd4b500          softbio/0
               3 1  80000204            bd4b880          softnet/0
               2 7  a0000205            bd4bc00             idle/0
               1 3       204            18154a0            swapper schedule

-- Takeshi Nakayama


Home | Main Index | Thread Index | Old Index