Subject: crash, bang...
To: None <port-arm32@netbsd.org>
From: Erik E. Fair <fair@digital.clock.org>
List: port-arm32
Date: 10/07/1998 08:02:31
While attempting to do a -current build, my poor netbooted shark panic'd, thusly:

panic: pmap_enter: No more physical pages

Stopped in cron at      _Debugger+0x10: ldmdb   r11, {r11, r13, r15}
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
 5631             123        123          0 1   0x104             cron
 5630            5618      29383          0 2  0x4006               ar
 5618           15995      29383          0 3  0x4082               sh    wait
 15995          15994      29383          0 3  0x4082             make    wait
 15994          15747      29383          0 3  0x4082               sh    wait
 15747          14892      29383          0 3  0x4082             make    wait
 14892          14891      29383          0 3    0x82               sh    wait
 14891           9083      29383          0 3  0x4082               sh    wait
 9084           29383      29383          0 3  0x4082              tee   netio
 9083           29383      29383          0 3  0x4082             make    wait
 29459          29369      29459          0 3  0x4086             tail  select
 29383          29369      29383          0 3  0x4082              csh   pause
 29369            312      29369          0 3  0x4082              csh   pause
 319              312        319      13507 2  0x4006           rc5des
 312              311        312      13507 3  0x4082              csh   pause
 311              129        129          0 3  0x4080          telnetd  select
 145                1        145          0 3  0x4082            getty   ttyin
 129                1        129          0 3    0x80            inetd  select
 125                1        125          0 3    0x84            xntpd   pause
>123                1        123          0 2   0x104             cron
 121                1        121          0 3    0x84           update   pause
 96                 1         91          0 3    0x84           nfsiod  nfsidl
 95                 1         91          0 3    0x84           nfsiod  nfsidl
 93                 1         91          0 3     0x4           nfsiod nfsrcvl
 92                 1         91          0 2     0x4           nfsiod
 84                 1         84          0 3    0x84        mount_mfs  mfsidl
 77                 1         77          0 3    0x80          portmap  select
 73                 1         73          0 3    0x84          syslogd  select
 2                  0          0          0 2   0x204       pagedaemon
 1                  0          1          0 3  0x4080             init    wait
 0                 -1          0          0 3   0x204          swapper schedul
db> help
machine     print       examine     x           search      set         write
w           delete      d           break       dwatch      watch       step
s           continue    c           until       next        match       trace
call        ps          kill        callout     reboot      show
db> help machine
machine     print       examine     x           search      set         write
w           delete      d           break       dwatch      watch       step
s           continue    c           until       next        match       trace
call        ps          kill        callout     reboot      show
db> mach vmstat
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  7605 VM pages: 3069 active, 3443 inactive, 26 wired, 4 free
  freemin=64, free-target=85, inactive-target=2170, wired-max=2535
  faults=15489666, traps=49169484, intrs=90644101, ctxswitch=28906830
  softint=31397238, syscalls=40384535, swapins=21, swapouts=37
  fault counts:
    noram=1525, noanon=0, pgwait=0, pgrele=0
    ok relocks(total)=49533(49533), anget(retrys)=2698791(0), amapcopy=1872842
    neighbor anon/obj pg=1405103/14270737, gets(lock/unlock)=6828277/49533
    cases: anon=1718832, anoncow=979959, obj=5086413, prcopy=1741864, przero=59
62598
  daemon and swap counts:
    woke=1762, revs=1759, scans=5110653, swout=1758
    busy=0, freed=531, reactivate=352, deactivate=5177
    pageouts=24, pending=24, nswget=0
    nswapdev=1, nanon=23481, nfreeanon=17138
  kernel pointers:
    objs(kmem/mb)=0xf00efbfc/0xf00efc14
db> reboot
boot: howto=00000000 curproc=0xf10cac30
current_mask=0000c3b8 spl_mask=00000000
ipl_bio=fffcbfff ipl_net=fffcbfdf ipl_tty=fffcbf47 ipl_imp=fffcbf47
ipl_audio=fffc3d47 ipl_clock=fffc3c47 ipl_none=fffcffff
spl0=ffffffff splsoft=fffcffff splbio=fffcbfff splnet=fffcbfdf
spltty=fffcbf47 splimp=fffcbf47 splaudio=fffc3d47 splclock=fffc3c47
splhigh=00000000
syncing disks... done
rebooting...
DNARD Rev. 5, 08:00:2b:81:65:64 , 32 MB memory
Open Firmware  Built February 25, 1998 17:19:25
Copyright 1997 FirmWorks  All Rights Reserved

Rebooting with command: boot
Boot device: /isa/ethernet  Arguments:
ddb: [ preserving 94020 bytes of netbsd symbol table ]
Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

Number of pages to handle = 8192
pmap_init: 20000 bytes (1db5 pgs)
NetBSD 1.3G (SHARK) #3: Thu Aug 20 07:52:55 PDT 1998
    root@cuckoo.clock.org:/usr/obj/sys/arch/arm32/compile/SHARK
real mem  = 33554432
avail mem = 28659712
using 128 buffers containing 524288 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: SA-110 rev 3 DC enabled IC enabled WB enabled EABT
ofbus0 (root)
ofbus1 at ofbus0 (vlbus)
ofisa0 at ofbus1 (isa)
dma-controller@i00 at ofisa0 not configured
interrupt-controller@i20 at ofisa0 not configured
timer@i40 at ofisa0 not configured
configuration@i15c at ofisa0 not configured
com0 at ofisa0 (serial@i3f8): ns16550a, working fifo
com0: console
lpt0 at ofisa0 (parallel@i378)
ofbus2 at ofisa0 (8042@i60)
ofisapc0 at ofbus2 (keyboard@)
kbc command: 0
mouse@aux at ofbus2 not configured
power@i380 at ofisa0 not configured
ofbus3 at ofisa0 (gpio@i3e0)
eeprom at ofbus3 not configured
ofrtc0 at ofisa0 (rtc@i70): rtc
ofisascr0 at ofisa0 (scr@i24)
scr0 at ofisascr0
com1 at ofisa0 (ir@i2f8): ns16550a, working fifo
cs0 at ofisa0 (ethernet@i300): CRUS,CS8900
cs0: CS8900 rev. F, address 08:00:2b:81:65:64, media UTP
game@i201 at ofisa0 not configured
midi@i330 at ofisa0 not configured
ess0 at ofisa0 (sound@i220): ESST,es1887-codec
ess0 ESS Technology ES1887 [version 0x688b]
audio0 at ess0
wdc0 at ofisa0 (ide@i1f0)
atapibus0 at wdc0
pci at ofbus1 not configured
display@it3b0 at ofbus1 not configured
ofrom0 at ofbus0 (flash@7000000): 0x7000000-0x707ffff
ofrom1 at ofbus0 (romcard@10000000): 0x10000000-0x10ffffff
clock: hz=64 stathz = 0 profhz = 0
boot device: <unknown>
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server: 0xc0a86e19
nfs_boot: my_domain=clock.org
nfs_boot: my_addr=0xc0a86e1a
nfs_boot: my_mask=0xffffff00
nfs_boot: gateway=0xc0a86e19
root on digital-nfs:/export/root/wall
Automatic boot in progress: starting file system checks.
setting tty flags
starting network
hostname: wall.clock.org
default              digital              done
configuring network interfaces:.
add net default: gateway digital-nfs.clock.org
swapctl: adding digital-nfs:/export/swap/wall as swap device at priority 0
swapctl: SWAP_STATS
starting system logger
checking for core dump...
savecore: can't find device 0/0
starting rpc daemons: portmap.
Oct  7 07:53:30 wall savecore: can't find device 0/0
starting nfs daemons: nfsiod rpc.statdrpc.statd: Cannot open `/var/db/statd.stat
us': Inappropriate file type or format
.
creating runtime link editor directory cache.
checking quotas: done.
building databases...
clearing /tmp
updating motd.
standard daemons: update cron.
starting network daemons: xntpd inetd.
starting local daemons:.
Wed Oct  7 07:53:38 PDT 1998

NetBSD/arm32 (wall.clock.org) (console)

login: fair
Password: