NetBSD-Bugs archive

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

Re: port-amd64/40159: can't boot with multiple cpus anymore



The following reply was made to PR port-amd64/40159; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost, ad%NetBSD.org@localhost
Cc: 
Subject: Re: port-amd64/40159: can't boot with multiple cpus anymore
Date: Sun, 22 Feb 2009 10:33:00 +0100

 Just for the record, I still see this problem with -current, but things
 have slightly changed, so here a few new traces from a 
LOCKDEBUG/DEBUG/DIAGNOSTIC
 kernel:
 
 db{0}> show lock kernel_lock                                     
 lock address : 0xffffffff8058f680 type     :               spin
 initialized  : 0xffffffff801acb07                              
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  2
 current cpu  :                  0 last held:                  0
 current lwp  : 0xffff80004b2aebc0 last held: 0xffff80004b2ac000
 last locked  : 0xffffffff801f2485 unlocked : 0xffffffff801b545b
 curcpu holds :                  2 wanted by: 000000000000000000
 
 db{0}> bt          
 breakpoint() at netbsd:breakpoint+0x5
 comintr() at netbsd:comintr+0x53a    
 Xintr_ioapic_edge1() at netbsd:Xintr_ioapic_edge1+0xef
 --- interrupt ---                                     
 bus_space_read_1() at netbsd:bus_space_read_1+0xe
 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x1d
 Xintr_ioapic_edge7() at netbsd:Xintr_ioapic_edge7+0xef    
 --- interrupt ---                                     
 Xspllower() at netbsd:Xspllower+0xe
 DDB lost frame for netbsd:Xsoftintr+0x50, trying 0xffff80004bac8d70
 Xsoftintr() at netbsd:Xsoftintr+0x50                               
 --- interrupt ---                   
 
 db{0}> mach cpu 1
 using CPU 1      
 db{0}> bt  
 x86_pause() at netbsd:x86_pause+0x2
 ip_slowtimo() at netbsd:ip_slowtimo+0x23
 pfslowtimo() at netbsd:pfslowtimo+0x3b  
 callout_softclock() at netbsd:callout_softclock+0x2df
 softint_dispatch() at netbsd:softint_dispatch+0xe7   
 DDB lost frame for netbsd:Xsoftintr+0x50, trying 0xffff80004c892d70
 Xsoftintr() at netbsd:Xsoftintr+0x50                               
 
 db{0}> ps  
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 5    >   1 7   1         4   ffff80004e3e3ba0            rcorder     
 2        1 3   1        84   ffff80004da62040                 sh piperd
 1        1 3   1        84   ffff80004da603e0               init wait  
 0       46 3   1       204   ffff80004da62420        vmem_rehash vmem_rehash
               45 3   1       204   ffff80004da62800           aiodoned aiodoned
               44 3   1       204   ffff80004da60ba0            ioflush syncer  
               43 3   1       204   ffff80004da607c0           pgdaemon pgdaemon
               39 3   1       204   ffff80004da62be0               usb1 usbevt  
               38 3   1       204   ffff80004da61bc0         usbtask-dr usbtsk
               37 3   1       204   ffff80004da617e0         usbtask-hc usbtsk
               36 3   1       204   ffff80004da61400               usb0 usbdly
               35 3   0       204   ffff80004da61020          atapibus0 sccomp
               25 3   0       204   ffff80004b2be040            atabus5 atath 
               24 3   1       204   ffff80004b2be420            atabus4 atath
               23 3   0       204   ffff80004b2be800            atabus3 atath
               22 3   1       204   ffff80004b2bebe0            atabus2 atath
               21 3   1       204   ffff80004b2bb020            atabus1 atath
               20 3   0       204   ffff80004b2bb400            atabus0 atath
               19 3   1       204   ffff80004b2bb7e0            xcall/1 xcall
               18 1   1       204   ffff80004b2bbbc0          softser/1      
            >  17 7   1       204   ffff80004b2ba000          softclk/1
               16 1   1       204   ffff80004b2ba3e0          softbio/1
               15 1   1       204   ffff80004b2ba7c0          softnet/1
               14 1   1       205   ffff80004b2baba0             idle/1
               13 3   0       204   ffff80004b2b1040             sysmon smtaskq
               12 3   0       204   ffff80004b2b1420           pmfevent pmfevent
               11 3   0       204   ffff80004b2b1800           nfssilly nfssilly
               10 3   1       204   ffff80004b2b1be0            cachegc cachegc 
                9 3   0       204   ffff80004b2ae020              vrele vrele  
                8 3   0       204   ffff80004b2ae400          modunload 
modunload
                7 3   0       204   ffff80004b2ae7e0            xcall/0 xcall
            >   6 7   0       204   ffff80004b2aebc0          softser/0      
            >   5 7   0       204   ffff80004b2ac000          softclk/0
                4 1   0       204   ffff80004b2ac3e0          softbio/0
                3 1   0       204   ffff80004b2ac7c0          softnet/0
            >   2 7   0       205   ffff80004b2acba0             idle/0
                1 3   1       204   ffffffff8053dec0            swapper schedule
 
 db{0}> t/a 0xffff80004b2acba0                                                  
 trace: pid 0 lid 2 at 0xffff80004b824bc0
 pmap_pageidlezero() at netbsd:pmap_pageidlezero+0x67
 uvm_pageidlezero() at netbsd:uvm_pageidlezero+0xe5  
 idle_loop() at netbsd:idle_loop+0x185             
 db{0}> t/a 0xffff80004b2ac000        
 trace: pid 0 lid 5 at 0xffff80004bac4ca0
 callout_softclock() at netbsd:callout_softclock+0x21b
 softint_dispatch() at netbsd:softint_dispatch+0xe7   
 DDB lost frame for netbsd:Xsoftintr+0x50, trying 0xffff80004bac4d70
 Xsoftintr() at netbsd:Xsoftintr+0x50                               
 db{0}> t/a 0xffff80004b2aebc0
 trace: pid 0 lid 6 at 0xffff80004bac8a38
 breakpoint() at netbsd:breakpoint+0x5   
 comintr() at netbsd:comintr+0x53a    
 Xintr_ioapic_edge1() at netbsd:Xintr_ioapic_edge1+0xef
 --- interrupt ---                                     
 bus_space_read_1() at netbsd:bus_space_read_1+0xe
 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x1d
 Xintr_ioapic_edge7() at netbsd:Xintr_ioapic_edge7+0xef    
 --- interrupt ---                                     
 Xspllower() at netbsd:Xspllower+0xe
 DDB lost frame for netbsd:Xsoftintr+0x50, trying 0xffff80004bac8d70
 Xsoftintr() at netbsd:Xsoftintr+0x50                               
 --- interrupt ---                   
 
 db{0}> t/a 0xffff80004b2ba000
 trace: pid 0 lid 17 at 0xffff80004b2ba000
 0:                                       
 
 db{0}> t/a 0xffff80004b2ba000
 trace: pid 0 lid 17 at 0xffff80004b2ba000
 0:                                       
 db{0}> t/a 0xffff80004e3e3ba0
 trace: pid 5 lid 1 at 0xffff80004e3c71b0
 bdev_strategy() at netbsd:bdev_strategy+0x4a
 spec_strategy() at netbsd:spec_strategy+0x5f
 VOP_STRATEGY() at netbsd:VOP_STRATEGY+0x65  
 genfs_getpages() at netbsd:genfs_getpages+0x111b
 VOP_GETPAGES() at netbsd:VOP_GETPAGES+0x81      
 uvn_get() at netbsd:uvn_get+0xcf          
 ubc_fault() at netbsd:ubc_fault+0x15c
 uvm_fault_internal() at netbsd:uvm_fault_internal+0x62f
 trap() at netbsd:trap+0x827                            
 
 Anything else I could check?
 
 Martin
 


Home | Main Index | Thread Index | Old Index