Current-Users archive

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

Re: Some alpha problems in current



On Mon, 07 Jan 2008 02:27:25 +0100, Anders Hjalmarsson wrote:

> On Mon, 07 Jan 2008 00:44:39 GMT, Andrew Doran wrote:
> 
> > > The following patch got me far enough that it hanged late in the boot whi
le
> > > starting local daemons.
> > 
> > Can you get into the debugger? Can you get a backtrace, and what does ps/l
> > show?
> > 
> Unfortunately I have not found out how to get into ddb voluntarily. It seems
> sending a break does not put me in ddb (or my terminal server is misconfigure
d)

I made a new attempt with a slightly newer kernel (sources from this evening)
and disabled start of squid.
It hanged at approximately the same point, after starting rwhod.
I made a "halt in" which paniced the kernel and I got the following:

Updating motd.
Starting ntpd.
Starting rwhod.
RMC>halt in    

Returning to COM port    
              
halted CPU 0  
CPU 1 is not halted      
CPU 2 is not halted      
CPU 3 is not halted      
              
halt code = 1 
operator initiated halt  
PC = fffffc0000506050    
P00>>>cont    
              
continuing CPU 0 
CP - RESTORE_TERM routine to be called

panic: user requested console halt
Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x4:        ret     zero,(ra
)
db{0}> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x1c8
console_restart() at netbsd:console_restart+0x78
XentRestart() at netbsd:XentRestart+0x90
--- console restart (from ipl 5) ---
nullop() at netbsd:nullop
mutex_vector_enter() at netbsd:mutex_vector_enter+0x320
pool_put() at netbsd:pool_put+0x40
pmap_tlb_shootdown_job_put() at netbsd:pmap_tlb_shootdown_job_put+0x30
pmap_do_tlb_shootdown() at netbsd:pmap_do_tlb_shootdown+0x16c
alpha_ipi_process() at netbsd:alpha_ipi_process+0xb8
interrupt() at netbsd:interrupt+0x80
XentInt() at netbsd:XentInt+0x1c
--- interrupt (from ipl 0) ---
idle_loop() at netbsd:idle_loop+0x164
exception_return() at netbsd:exception_return
--- root of call graph ---


db{0}> ps/l
 PID         LID S     FLAGS       STRUCT LWP *               NAME WAIT
 284           1 7  20000004   fffffc003ddc2b80              rwhod
 293           1 3        84   fffffc003ddc2e60                 sh wait
 285           1 3         4   fffffc003b0b1140               ntpd uvn_fp2
 262           1 3        84   fffffc003b0b1420               mopd select
 255           1 3        84   fffffc003b0b1700              httpd select
 239           1 3        84   fffffc003b0b1cc0              httpd select
 215           5 3        84   fffffc003ddc3700               nfsd nfsd
               4 3        84   fffffc003dd8cb80               nfsd nfsd
               3 3        84   fffffc003dd8d420               nfsd nfsd
               2 3        84   fffffc003ddc25c0               nfsd nfsd
               1 3        84   fffffc003ddc2000               nfsd select
 210           1 3        84   fffffc003dd8d140             mountd select
 152           1 3        84   fffffc003dd8dcc0            rpcbind select
 122           1 3        84   fffffc003dd8c5c0            syslogd kqread
 46            1 3        84   fffffc003ddc3cc0          mount_mfs mfsidl
 2             1 3        84   fffffc003ea26000                 sh wait
 1             1 3        84   fffffc003f4ffcc0               init wait
>0            68 3       204   fffffc003ddc3420            physiod physiod
              67 3       204   fffffc003ea262e0        vmem_rehash vmem_rehash
              66 7  20000204   fffffc003ea265c0           aiodoned
              65 3       204   fffffc003ea268a0            ioflush syncer
              64 3       204   fffffc003ea26b80           pgdaemon pgdaemon
              63 3       204   fffffc003ea26e60            raidio7 raidiow
              62 3       204   fffffc003ea27140              raid7 rfwcond
              61 3       204   fffffc003ea27420            raidio6 raidiow
              60 3       204   fffffc003ea27700              raid6 rfwcond
              59 3       204   fffffc003ea279e0            raidio5 raidiow
              58 3       204   fffffc003f9a62e0              raid5 rfwcond
              57 3       204   fffffc003ea27cc0            raidio4 raidiow
              56 3       204   fffffc003f4fe000              raid4 rfwcond
              55 3       204   fffffc003f4fe2e0            raidio3 raidiow
              54 3       204   fffffc003f4fe5c0              raid3 rfwcond
              53 3       204   fffffc003f4fe8a0            raidio2 raidiow
              52 3       204   fffffc003f4feb80              raid2 rfwcond
              51 3       204   fffffc003f4fee60            raidio1 raidiow
              50 3       204   fffffc003f4ff140              raid1 rfwcond
              49 3       204   fffffc003f4ff420            raidio0 raidiow
              48 3       204   fffffc003f4ff700              raid0 rfwcond
              47 3       204   fffffc003f4ff9e0          atapibus0 sccomp
              46 3       204   fffffc003f9a6000          cryptoret crypto_wait
              43 3       204   fffffc003f9a65c0           scsibus5 sccomp
              42 3       204   fffffc003f9a68a0           scsibus4 sccomp
              41 3       204   fffffc003f9a6b80           scsibus3 sccomp
              40 3       204   fffffc003f9a6e60           scsibus2 sccomp
              39 3       284   fffffc003f9a7140          fw1_probe -
              38 3       284   fffffc003f9a7420          fw0_probe -
              37 3       204   fffffc003f9a7700               usb3 usbevt
              36 3       204   fffffc003f9a79e0            atabus1 atath
              35 3       204   fffffc003f9a7cc0            atabus0 atath
              34 3       204   fffffc003fa12000               usb2 usbevt
              33 3       204   fffffc003fa122e0               usb1 usbevt
              32 3       204   fffffc003fa125c0         usbtask-dr usbtsk
              31 3       204   fffffc003fa128a0         usbtask-hc usbtsk
              30 3       204   fffffc003fa12b80               usb0 usbevt
              29 3       204   fffffc003fa12e60           scsibus1 sccomp
              28 3       204   fffffc003fa13140           scsibus0 sccomp
              27 3  80000204   fffffc003fa13420            xcall/3 xcall
              26 1  80000204   fffffc003fa13700          softser/3
              25 1  80000204   fffffc003fa139e0          softclk/3
              24 1  80000204   fffffc003fa13cc0          softbio/3
              23 1  80000204   fffffc003fa4a000          softnet/3
              22 1  80000205   fffffc003fa4a2e0             idle/3
              21 3  80000204   fffffc003fa4a5c0            xcall/2 xcall
              20 1  80000204   fffffc003fa4a8a0          softser/2
              19 1  80000204   fffffc003fa4ab80          softclk/2
              18 1  80000204   fffffc003fa4ae60          softbio/2
              17 1  80000204   fffffc003fa4b140          softnet/2
              16 7  a0000205   fffffc003fa4b420             idle/2
              15 3  80000204   fffffc003fa4b700            xcall/1 xcall
              14 1  80000204   fffffc003fa4b9e0          softser/1
              13 1  80000204   fffffc003fa4bcc0          softclk/1
              12 1  80000204   fffffc003fc58000          softbio/1
              11 1  80000204   fffffc003fc582e0          softnet/1
              10 1  80000205   fffffc003fc585c0             idle/1
               9 3       204   fffffc003fc588a0           pmfevent pmfevent
               8 3       204   fffffc003fc58b80              vrele vrele
               7 3  80000204   fffffc003fc58e60            xcall/0 xcall
               6 1  80000204   fffffc003fc59140          softser/0
               5 1  80000204   fffffc003fc59420          softclk/0
               4 1  80000204   fffffc003fc59700          softbio/0
               3 1  80000204   fffffc003fc599e0          softnet/0
           >   2 7  a0000205   fffffc003fc59cc0             idle/0
               1 3       204   fffffc000077a8e0            swapper schedule

db{0}> show all callout
hardclock_ticks now: 319328
    ticks  wheel               arg  func
       83  0/179                 0  pffasttimo
       83  0/179  fffffe00002b4000  firewire_watchdog
       83  0/179  fffffe00002ee000  firewire_watchdog
       95  0/191                 0  if_slowtimo
       95  0/191                 0  rt_timer_timer
       96  0/192                 0  sched_pstats
    26675  1/327  fffffc003bcd7e00  filt_timerexpire
    29224  1/337  fffffc003dd8d140  sleepq_timeout
    29288  1/337  fffffc003dd8dcc0  sleepq_timeout
    49940  1/418  fffffc003fa122e0  sleepq_timeout
    49940  1/418  fffffc003fa12b80  sleepq_timeout
    49940  1/418  fffffc003fa12000  sleepq_timeout
    49944  1/418  fffffc003f9a7700  sleepq_timeout
    61434  1/463  fffffe000027ba40  ahc_timeout
      187  1/480                 0  pfslowtimo
      696  1/482  fffffe000032c000  wm_tick
      699  1/482  fffffe00003bc000  tlp_mii_tick
      699  1/482  fffffc003fc58b80  sleepq_timeout
      699  1/482  fffffc003ea268a0  sleepq_timeout
     3332  1/492                 0  vmem_rehash_all_kick
   241208  2/520                 0  arptimer
db{0}> show sched_qs
PID     LID     PRI     IPRI    EPRI    LWP              NAME
CPUIDX  RESCHED CURPRI  FLAGS
0       0       0       0000
3       0       125     0000
2       0       0       0000
1       1       42      0003
NEXTLWP      
0000000000000000
db{0}> ps/n  
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
 284            293        2          0 2  0x4000    1            rwhod
 293              2        2          0 2       0    1               sh    wait
 285              1      285          0 2       0    1             ntpd uvn_fp2
 262              1      262          0 2       0    1             mopd  select
 255              1      255         51 2   0x100    1            httpd  select
 239              1      239         51 2   0x100    1            httpd  select
 215              1      215          0 2       0    5             nfsd       *
 210              1      210          0 2       0    1           mountd  select
 152              1      152          0 2       0    1          rpcbind  select
 122              1      122          0 2       0    1          syslogd  kqread
 46               1       46          0 2       0    1        mount_mfs  mfsidl
 2                1        2          0 2  0x4000    1               sh    wait
 1                0        1          0 2  0x4000    1             init    wait
>0               -1        0          0 2 0x20002   66           system       *









Home | Main Index | Thread Index | Old Index