NetBSD-Bugs archive

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

Re: kern/38246: another simple_lock deadlock in netbsd-4, possibly scheduler related (sa_switch(2073.2): no upcall data.)



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

From: "Greg A. Woods" <woods%planix.com@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: NetBSD Kernel Bug People <kern-bug-people%netbsd.org@localhost>,
        Nick Hudson <nick.hudson%dsl.pipex.com@localhost>
Subject: Re: kern/38246: another simple_lock deadlock in netbsd-4, possibly 
scheduler related (sa_switch(2073.2): no upcall data.)
Date: Sat, 22 Mar 2008 17:07:57 -0400

 --pgp-sign-Multipart_Sat_Mar_22_17:07:57_2008-1
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 At Fri, 21 Mar 2008 23:15:05 +0000 (UTC), Me-planix.com wrote:
 Subject: Re: kern/38246: another simple_lock deadlock in netbsd-4, possibly=
  scheduler related (sa_switch(2073.2): no upcall data.)
 >=20
 >  I'll now reboot my Dell PE2650 with the working kernel and see if it
 >  lasts the night without problems or not.....
 
 No improvement at all so far as I could see.  The machine was wedged
 solid this morning with no response on the console except to a BREAK.
 
 Note all the processes stuck in vmmapva:
 
 [-- break #1 sent -- `\z' -- Sat Mar 22 10:58:25 2008]
 [Sat Mar 22 10:58:25 2008]Stopped at      netbsd:cpu_Debugger+0x4:        p=
 opl    %ebp
 [Sat Mar 22 10:58:25 2008]db{0}> trace
 [Sat Mar 22 10:58:27 2008]cpu_Debugger(c6910f38,c098595c,805,c099f554,0) at=
  netbsd:cpu_Debugger+0x4
 [Sat Mar 22 10:58:27 2008]comintr(c6910e00,0,d0060010,c0990030,c0990010) at=
  netbsd:comintr+0x7ca
 [Sat Mar 22 10:58:27 2008]Xintr_ioapic_edge4() at netbsd:Xintr_ioapic_edge4=
 +0x9c
 [Sat Mar 22 10:58:27 2008]--- interrupt ---
 [Sat Mar 22 10:58:27 2008]netbsd:cpu_switch+0xdd:
 [Sat Mar 22 10:58:27 2008]db{0}> machine cpu 1
 [Sat Mar 22 10:58:43 2008]using CPU 1
 [Sat Mar 22 10:58:43 2008]db{0}> trace
 [Sat Mar 22 10:58:46 2008]netbsd:cpu_switch+0xdd:
 [Sat Mar 22 10:58:46 2008]db{0}> machine cpu 2
 [Sat Mar 22 10:58:58 2008]CPU 2 not configured
 [Sat Mar 22 10:58:58 2008]db{0}> machine cpu 3
 [Sat Mar 22 10:59:01 2008]CPU 3 not configured
 [Sat Mar 22 10:59:01 2008]db{0}> machine cpu 4
 [Sat Mar 22 10:59:04 2008]CPU 4 not configured
 [Sat Mar 22 10:59:04 2008]db{0}> machine cpu 5
 [Sat Mar 22 10:59:07 2008]CPU 5 not configured
 [Sat Mar 22 10:59:07 2008]db{0}> machine cpu 6
 [Sat Mar 22 10:59:11 2008]using CPU 6
 [Sat Mar 22 10:59:11 2008]db{0}> trace
 [Sat Mar 22 10:59:14 2008]netbsd:cpu_switch+0xdd:
 [Sat Mar 22 10:59:14 2008]db{0}> machine cpu 7
 [Sat Mar 22 10:59:17 2008]using CPU 7
 [Sat Mar 22 10:59:17 2008]db{0}> trace
 [Sat Mar 22 10:59:20 2008]netbsd:cpu_switch+0xdd:
 [Sat Mar 22 10:59:20 2008]db{0}> machine cpu 8
 [Sat Mar 22 10:59:22 2008]CPU 8 not configured
 [Sat Mar 22 10:59:22 2008]db{0}> machine cpu 0
 [Sat Mar 22 10:59:30 2008]using CPU 0
 [Sat Mar 22 10:59:30 2008]db{0}> trace
 [Sat Mar 22 10:59:32 2008]cpu_Debugger(c6910f38,c098595c,805,c099f554,0) at=
  netbsd:cpu_Debugger+0x4
 [Sat Mar 22 10:59:32 2008]comintr(c6910e00,0,d0060010,c0990030,c0990010) at=
  netbsd:comintr+0x7ca
 [Sat Mar 22 10:59:32 2008]Xintr_ioapic_edge4() at netbsd:Xintr_ioapic_edge4=
 +0x9c
 [Sat Mar 22 10:59:32 2008]--- interrupt ---
 [Sat Mar 22 10:59:32 2008]netbsd:cpu_switch+0xdd:
 [Sat Mar 22 10:59:43 2008]db{0}> ps
 [Sat Mar 22 10:59:46 2008] PID           PPID     PGRP        UID S   FLAGS=
  LWPS          COMMAND    WAIT
 [Sat Mar 22 10:59:46 2008] 330           1772     1772          0 2       0=
     1             cron vmmapva
 [Sat Mar 22 10:59:46 2008] 25407          511       16          0 2 0x10001=
 0    1               sh vmmapva
 [Sat Mar 22 10:59:46 2008] 23293        20082    23699          0 2  0x4000=
     1             sort  piperd
 [Sat Mar 22 10:59:46 2008] 4587         20082    23699          0 2  0x4000=
     1            xargs  piperd
 [Sat Mar 22 10:59:46 2008] 19213        20082    23699          0 2  0x4000=
     1             find vmmapva
 [Sat Mar 22 10:59:46 2008] 20082         9293    23699          0 2       0=
     1               sh    wait
 [Sat Mar 22 10:59:46 2008] 9293          8073    23699          0 2  0x4000=
     1               sh    wait
 [Sat Mar 22 10:59:46 2008] 10510        23699    23699          0 2  0x4100=
     1            smail  piperd
 [Sat Mar 22 10:59:46 2008] 19505        23699    23699          0 2  0x4000=
     1              tee  piperd
 [Sat Mar 22 10:59:46 2008] 8073         23699    23699          0 2  0x4000=
     1               sh    wait
 [Sat Mar 22 10:59:46 2008] 23699        29364    23699          0 2  0x4000=
     1               sh    wait
 [Sat Mar 22 10:59:46 2008] 29364         1772     1772          0 2       0=
     1             cron  piperd
 [Sat Mar 22 10:59:46 2008] 7329          8987     7329       1000 2  0x4000=
     1      emacsserver  select
 [Sat Mar 22 10:59:46 2008] 8987          7247     8987       1000 2  0x4000=
     1            emacs vmmapva
 [Sat Mar 22 10:59:46 2008] 7247          1839     1839          0 2  0x4100=
     1             rshd    poll
 [Sat Mar 22 10:59:46 2008] 6746          4553     6746       1000 2  0x4000=
     1      emacsserver  select
 [Sat Mar 22 10:59:46 2008] 4553          4637     4553       1000 2  0x4000=
     1            emacs vmmapva
 [Sat Mar 22 10:59:46 2008] 4637          1839     1839          0 2  0x4100=
     1             rshd    poll
 [Sat Mar 22 10:59:46 2008] 5866          4845     5866       1000 2  0x4002=
     1              ksh   ttyin
 [Sat Mar 22 10:59:46 2008] 4845          5688     4845       1000 2  0x4000=
     1            xterm  select
 [Sat Mar 22 10:59:46 2008] 5688          1839     1839          0 2  0x4100=
     1             rshd    poll
 [Sat Mar 22 10:59:46 2008] 5786          2839     5786          0 2  0x4002=
     1              ksh   ttyin
 [Sat Mar 22 10:59:46 2008] 3404          2495     3404          0 2  0x4002=
     1              ksh   ttyin
 [Sat Mar 22 10:59:46 2008] 5223          2495     5223       1000 2  0x4002=
     1            xload    poll
 [Sat Mar 22 10:59:47 2008] 2839          3093     2839       1000 2  0x4002=
     1              ksh   pause
 [Sat Mar 22 10:59:47 2008] 3093          2759     3093       1000 2  0x4000=
     1            xterm  select
 [Sat Mar 22 10:59:47 2008] 2759          1839     1839          0 2  0x4100=
     1             rshd    poll
 [Sat Mar 22 10:59:47 2008] 2495          2613     2495       1000 2  0x4002=
     1              ksh   pause
 [Sat Mar 22 10:59:47 2008] 2613          2278     2613       1000 2  0x4000=
     1            xterm  select
 [Sat Mar 22 10:59:47 2008] 2278          1839     1839          0 2  0x4100=
     1             rshd    poll
 [Sat Mar 22 10:59:47 2008] 196              1      196          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 195              1      195          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 194              1      194          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 193              1      193          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 192              1      192          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 2393             1     2393          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 1959             1     1959          0 2  0x4002=
     1            getty   ttyin
 [Sat Mar 22 10:59:47 2008] 813              1      813          0 2  0x4002=
     1            getty vmmapva
 [Sat Mar 22 10:59:47 2008] 2429             1     2429          0 2       0=
     1             afpd  select
 [Sat Mar 22 10:59:47 2008] 2078             1     2078          0 2   0x400=
     3          apcupsd       *
 [Sat Mar 22 10:59:47 2008] 1772             1     1772          0 2       0=
     1             cron vmmapva
 [Sat Mar 22 10:59:47 2008] 1839             1     1839          0 2       0=
     1            inetd vmmapva
 [Sat Mar 22 10:59:47 2008] 1826          1939     1648        111 2  0x4001=
     1          rrdtool  piperd
 [Sat Mar 22 10:59:47 2008] 1939             1     1648        111 2   0x100=
     1         lighttpd vmmapva
 [Sat Mar 22 10:59:47 2008] 1911             1     1911          0 2       0=
     1             papd  select
 [Sat Mar 22 10:59:47 2008] 1706          1643     1643          0 2     0x1=
     1        saslauthd   lockf
 [Sat Mar 22 10:59:47 2008] 2008          1643     1643          0 2     0x1=
     1        saslauthd   lockf
 [Sat Mar 22 10:59:47 2008] 2041          1643     1643          0 2     0x1=
     1        saslauthd   lockf
 [Sat Mar 22 10:59:47 2008] 1704          1643     1643          0 2     0x1=
     1        saslauthd   lockf
 [Sat Mar 22 10:59:47 2008] 1643             1     1643          0 2     0x1=
     1        saslauthd  netcon
 [Sat Mar 22 10:59:47 2008] 1784             1     1755          0 2       0=
     1            snmpd  select
 [Sat Mar 22 10:59:47 2008] 1572             1     1572          0 2       0=
     1        snmptrapd vmmapva
 [Sat Mar 22 10:59:47 2008] 1906             1     1906          0 2       0=
     1            sshd2 vmmapva
 [Sat Mar 22 10:59:47 2008] 1876             1     1876          0 2       0=
     1         timelord   netio
 [Sat Mar 22 10:59:47 2008] 465              1      465          0 2  0x1000=
     1           atalkd  select
 [Sat Mar 22 10:59:47 2008] 476              1      476         19 2   0x100=
     1            rwhod vmmapva
 [Sat Mar 22 10:59:47 2008] 629              1      629         15 2   0x100=
     1             ntpd vmmapva
 [Sat Mar 22 10:59:47 2008] 166              1      166          0 2       0=
     1              lpd    poll
 [Sat Mar 22 10:59:47 2008] 163              0        0          0 2 0x20200=
     1          physiod physiod
 [Sat Mar 22 10:59:47 2008] 511              1       16          0 2  0x4002=
     1               sh  ppwait
 [Sat Mar 22 10:59:47 2008] 278              1       16          0 2       0=
     1         arpwatch vmmapva
 [Sat Mar 22 10:59:47 2008] 101              1      101          0 2       0=
     1        rpc.lockd  select
 [Sat Mar 22 10:59:47 2008] 97               1       97          0 2 0xa0008=
     1        rpc.statd  select
 [Sat Mar 22 10:59:47 2008] 96             402      402          0 2       0=
     1             nfsd vmmapva
 [Sat Mar 22 10:59:47 2008] 477            402      402          0 2       0=
     1             nfsd vmmapva
 [Sat Mar 22 10:59:47 2008] 415            402      402          0 2       0=
     1             nfsd vmmapva
 [Sat Mar 22 10:59:47 2008] 469            402      402          0 2       0=
     1             nfsd vmmapva
 [Sat Mar 22 10:59:47 2008] 402              1      402          0 2       0=
     1             nfsd    poll
 [Sat Mar 22 10:59:47 2008] 380              1      380          0 2       0=
     1           mountd  select
 [Sat Mar 22 10:59:47 2008] 305              0        0          0 2 0x20200=
     1            nfsio  nfsidl
 [Sat Mar 22 10:59:47 2008] 246              0        0          0 2 0x20200=
     1            nfsio  nfsidl
 [Sat Mar 22 10:59:47 2008] 315              0        0          0 2 0x20200=
     1            nfsio  nfsidl
 [Sat Mar 22 10:59:47 2008] 307              0        0          0 2 0x20200=
     1            nfsio  nfsidl
 [Sat Mar 22 10:59:47 2008] 314              1      314          0 2       0=
     1        mount_mfs  mfsidl
 [Sat Mar 22 10:59:47 2008] 254              1      254          0 2       0=
     1          rpcbind    poll
 [Sat Mar 22 10:59:47 2008] 215              1      215          0 2       0=
     1          syslogd  kqread
 [Sat Mar 22 10:59:47 2008] 15               0        0          0 2 0x20200=
     1         aiodoned aiodone
 [Sat Mar 22 10:59:47 2008] 14               0        0          0 2 0x20200=
     1          ioflush  syncer
 [Sat Mar 22 10:59:47 2008] 13               0        0          0 2 0x20200=
     1       pagedaemon pgdaemo
 [Sat Mar 22 10:59:47 2008] 12               0        0          0 2 0x20200=
     1        atapibus0  sccomp
 [Sat Mar 22 10:59:47 2008] 11               0        0          0 2 0x20200=
     1        cryptoret crypto_
 [Sat Mar 22 10:59:47 2008] 10               0        0          0 2 0x20200=
     1       usbtask-dr  usbtsk
 [Sat Mar 22 10:59:47 2008] 9                0        0          0 2 0x20200=
     1       usbtask-hc  usbtsk
 [Sat Mar 22 10:59:47 2008] 8                0        0          0 2 0x20200=
     1             usb0  usbevt
 [Sat Mar 22 10:59:47 2008] 7                0        0          0 2 0x20200=
     1          atabus1   atath
 [Sat Mar 22 10:59:47 2008] 6                0        0          0 2 0x20200=
     1          atabus0   atath
 [Sat Mar 22 10:59:47 2008] 5                0        0          0 2 0x20200=
     1            ipmi0 smicwai
 [Sat Mar 22 10:59:47 2008] 4                0        0          0 2 0x20200=
     1             pms0 pmsrese
 [Sat Mar 22 10:59:47 2008] 3                0        0          0 2 0x20200=
     1             apm0   apmev
 [Sat Mar 22 10:59:47 2008] 2                0        0          0 2 0x20200=
     1           sysmon smtaskq
 [Sat Mar 22 10:59:47 2008] 1                0        1          0 2  0x4001=
     1             init    wait
 [Sat Mar 22 10:59:47 2008] 0               -1        0          0 2 0x20200=
     1          swapper schedul
 [Sat Mar 22 10:59:47 2008]db{0}> reboot
 [Sat Mar 22 11:00:11 2008]syncing disks... done
 [Sat Mar 22 11:00:15 2008]unmounting file systems...
 [Sat Mar 22 11:00:15 2008]unmounting /var/package-distfiles (most:/var/spoo=
 l/ftp/pub/mirror)...panic: assert_sleepable: NULL curlwp
 [Sat Mar 22 11:00:15 2008]Stopped at      netbsd:cpu_Debugger+0x4:        p=
 opl    %ebp
 [Sat Mar 22 11:00:15 2008]db{0}> trace
 [Sat Mar 22 11:00:22 2008]cpu_Debugger(c0965bce,d0069b18,d0069b0c,246,c6b56=
 01c) at netbsd:cpu_Debugger+0x4
 [Sat Mar 22 11:00:22 2008]panic(c093bd8b,c0995dd4,398,c0492965,c6b56968) at=
  netbsd:panic+0x155
 [Sat Mar 22 11:00:22 2008]assert_sleepable(0,c07cd6f5,0,c099bc00,0) at netb=
 sd:assert_sleepable+0x44
 [Sat Mar 22 11:00:22 2008]specificdata_fini(cffab0c0,c6b56968,d0069b8c,c048=
 deda,c6b56000) at netbsd:specificdata_fini+0x24
 [Sat Mar 22 11:00:22 2008]mount_finispecific(c6b56000,10006,c09ef4c4,c099bc=
 00,27a) at netbsd:mount_finispecific+0x1f
 [Sat Mar 22 11:00:22 2008]dounmount(c6b56000,80000,c0a84280,c099b84c,896) a=
 t netbsd:dounmount+0x1da
 [Sat Mar 22 11:00:22 2008]vfs_unmountall(c0a84280,0,0,c017e960,0) at netbsd=
 :vfs_unmountall+0xf5
 [Sat Mar 22 11:00:22 2008]vfs_shutdown(20,0,c0a84280,0,0) at netbsd:vfs_shu=
 tdown+0xa2
 [Sat Mar 22 11:00:22 2008]cpu_reboot(0,0,d0069c9c,c044fd3c,c07b5ba0) at net=
 bsd:cpu_reboot+0xd9
 [Sat Mar 22 11:00:22 2008]db_reboot_cmd(c04f0864,0,c0a3f807,d0069c50,a) at =
 netbsd:db_reboot_cmd+0x48
 [Sat Mar 22 11:00:22 2008]db_command(c09295ab,0,c0b47171,0,0) at netbsd:db_=
 command+0xb0
 [Sat Mar 22 11:00:22 2008]db_command_loop(c04f0864,d0069d40,d0069d4c,c05025=
 6d,800) at netbsd:db_command_loop+0xe5
 [Sat Mar 22 11:00:22 2008]db_trap(1,0,58,c6b8279c,ffffffff) at netbsd:db_tr=
 ap+0x119
 [Sat Mar 22 11:00:22 2008]kdb_trap(1,0,d0069eb8,c5ed7af8,0) at netbsd:kdb_t=
 rap+0x117
 [Sat Mar 22 11:00:22 2008]trap() at netbsd:trap+0x37e
 [Sat Mar 22 11:00:22 2008]--- trap (number 1) ---
 [Sat Mar 22 11:00:22 2008]cpu_Debugger(c6910f38,c098595c,805,c099f554,0) at=
  netbsd:cpu_Debugger+0x4
 [Sat Mar 22 11:00:22 2008]comintr(c6910e00,0,d0060010,c0990030,c0990010) at=
  netbsd:comintr+0x7ca
 [Sat Mar 22 11:00:22 2008]Xintr_ioapic_edge4() at netbsd:Xintr_ioapic_edge4=
 +0x9c
 [Sat Mar 22 11:00:22 2008]--- interrupt ---
 [Sat Mar 22 11:00:22 2008]netbsd:cpu_switch+0xdd:
 [Sat Mar 22 11:00:22 2008]db{0}> reboot
 [Sat Mar 22 11:00:53 2008]rebooting...
 
 
 --=20
                                                Greg A. Woods
                                                Planix, Inc.
 
 <woods%planix.com@localhost>     +1 416 489-5852 x122     
http://www.planix.com/
 
 --pgp-sign-Multipart_Sat_Mar_22_17:07:57_2008-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: PGPfreeware 5.0i for non-commercial use
 MessageID: NhDu4TdTIT/j/gDiyenNu1h0WPEU0vpf
 
 iQA/AwUBR+V1LWZ9cbd4v/R/EQKsYACff7/LA5tGIK7mOGidyaLO3oWshiUAniSY
 NGfXULPGBHDNrUVS36UO5qsn
 =ErRw
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Sat_Mar_22_17:07:57_2008-1--
 


Home | Main Index | Thread Index | Old Index