NetBSD-Bugs archive

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

port-evbarm/56551: panic: pmap_growkernel: cannot allocate L3 table error=12



>Number:         56551
>Category:       port-evbarm
>Synopsis:       panic: pmap_growkernel: cannot allocate L3 table error=12
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 14 22:35:00 +0000 2021
>Originator:     mac%culver.net@localhost
>Release:        NetBSD 9.99.92
>Organization:
	
>Environment:
System: NetBSD arm64 9.99.92 NetBSD 9.99.92 (M64) #5: Sun Dec 12 00:57:02 UTC 2021 mac@arm64:/obj/sys/arch/evbarm/compile/M64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
	panic: pmap_growkernel: cannot allocate L3 table error=12
	Occurred while running a test program (attached at end) to cycle through 2**32 mmap'ed unsigned short array
	===> Machine is 8 GB  RPi 4
>How-To-Repeat:
I have to run this many times to 'catch' this bug; maybe a day or two, in a while() loop, but it always fails, eventually.

$ swapctl -l                                                                                               ~/December.21/xprod
Device      1048576-blocks     Used    Avail Capacity  Priority
/swapfile0            4096     4091        4   100%    0

# df                                                                                                       ~/December.21/xprod
Filesystem    1G-blocks       Used      Avail %Cap Mounted on
/dev/dk1            458        344         90  79% /
/dev/dk0              0          0          0   5% /boot
kernfs                0          0          0 100% /kern
ptyfs                 0          0          0 100% /dev/pts
procfs                0          0          0 100% /proc
tmpfs                 1          0          1   0% /var/shm


/**
 *  mm.c
 *
 * play with mmap; we will need 2**32 short int buckets
 *
 * compile:  cc mm.c -o mm
 *
 * that is, with NO optimizations for now
 *
 */

#include <stdio.h>
#include <math.h>
#include <sys/mman.h>


// 2**32
#define SIZE (4294967296)

int main(){

  unsigned short r5[4][3] = {
    {0,1,2},
    {3,4,5},
    {6,7,8},
    {9,10,11}
};

  for(int i=0; i<4; i++){
    printf("%d %d %d\n", r5[i][0],  r5[i][1],  r5[i][2]);
  }



  unsigned short* p;
  p = (unsigned short *)mmap(0, (size_t)(2*SIZE), PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
  if(p != NULL){

#if 1
    unsigned long long u;
    for(u=0; u<SIZE; u++){
      // printf("u=%lu\n",u); fflush(stdout);
      if(u% 100000000 == 0){printf("."); fflush(stdout);}
      if((u+1)% (SIZE/4)== 0){printf("\n"); fflush(stdout);}
      p[u] = (unsigned short)(u & 0xffff);
    }


    for(u=0; u<SIZE; u++){
      if(u% 100000000 == 0){printf("."); fflush(stdout);}
      if(u% (SIZE/4)== 0){printf("\n"); fflush(stdout);}
      if (p[u] != (unsigned short)(u & 0xffff)) printf("u=%lu\n"u,);
    }

#endif
    p[0] = 3;
    p[SIZE-1] = 7;

    printf("\n%d\n", (int) p[0]);
    printf("%d\n", (int) p[SIZE-1]);
    printf("%u\n",(unsigned int) p[SIZE-1234]);
  }
}


>Fix:
	Unknown.


Full dump follows

[ 6039.3363199] panic: pmap_growkernel: cannot allocate L3 table error=12
[ 6039.3403208] cpu3: Begin traceback...
[ 6039.3443213] trace fp ffffc000ee5d72b0
[ 6039.3483228] fp ffffc000ee5d72e0 vpanic() at ffffc00000572ebc netbsd:vpanic+0x14c
[ 6039.3553234] fp ffffc000ee5d7340 panic() at ffffc00000572fb4 netbsd:panic+0x44
[ 6039.3623244] fp ffffc000ee5d73d0 pmap_growkernel() at ffffc000000b2b40 netbsd:pmap_growkernel+0xac
[ 6039.3713259] fp ffffc000ee5d7420 uvm_map_prepare() at ffffc000004d7b74 netbsd:uvm_map_prepare+0x350
[ 6039.3803270] fp ffffc000ee5d74c0 uvm_map() at ffffc000004d8ab8 netbsd:uvm_map+0x84
[ 6039.3883282] fp ffffc000ee5d7550 uvm_km_alloc() at ffffc000004d3748 netbsd:uvm_km_alloc+0xb8
[ 6039.3963294] fp ffffc000ee5d75e0 pool_grow() at ffffc0000056defc netbsd:pool_grow+0x5c
[ 6039.4043305] fp ffffc000ee5d7650 pool_get() at ffffc0000056d864 netbsd:pool_get+0x400
[ 6039.4123317] fp ffffc000ee5d76b0 allocbuf() at ffffc000005bd670 netbsd:allocbuf+0x120
[ 6039.4203329] fp ffffc000ee5d7720 getblk() at ffffc000005be460 netbsd:getblk+0x200
[ 6039.4273340] fp ffffc000ee5d7780 bio_doread() at ffffc000005be620 netbsd:bio_doread+0x20
[ 6039.4353351] fp ffffc000ee5d77b0 bread() at ffffc000005be76c netbsd:bread+0x1c
[ 6039.4433367] fp ffffc000ee5d77e0 ffs_init_vnode() at ffffc000004ae258 netbsd:ffs_init_vnode+0x98
[ 6039.4523385] fp ffffc000ee5d7840 ffs_loadvnode() at ffffc000004ae454 netbsd:ffs_loadvnode+0x54
[ 6039.4603395] fp ffffc000ee5d78a0 vcache_get() at ffffc000005db33c netbsd:vcache_get+0x188
[ 6039.4683403] fp ffffc000ee5d7940 ufs_lookup() at ffffc000004b9830 netbsd:ufs_lookup+0x84c
[ 6039.4773421] fp ffffc000ee5d7a40 VOP_LOOKUP() at ffffc000005e5c1c netbsd:VOP_LOOKUP+0x3c
[ 6039.4853433] fp ffffc000ee5d7a80 lookup_once() at ffffc000005c5f48 netbsd:lookup_once+0x208
[ 6039.4933446] fp ffffc000ee5d7b00 namei_tryemulroot() at ffffc000005c6a5c netbsd:namei_tryemulroot+0x4bc
[ 6039.5023456] fp ffffc000ee5d7c70 namei() at ffffc000005c842c netbsd:namei+0x2c
[ 6039.5093467] fp ffffc000ee5d7cb0 do_sys_statat() at ffffc000005d3d6c netbsd:do_sys_statat+0xec
[ 6039.5183505] fp ffffc000ee5d7d60 sys___lstat50() at ffffc000005d3e64 netbsd:sys___lstat50+0x20
[ 6039.5273495] fp ffffc000ee5d7e20 syscall() at ffffc000000ad18c netbsd:syscall+0x19c
[ 6039.5343505] tf ffffc000ee5d7ed0 el0_trap() at ffffc000000afff0 netbsd:el0_trap
[ 6039.5413515] ---- trapframe 0xffffc000ee5d7ed0 (304 bytes) ----
[ 6039.5473523]     pc=0000f514ff206244,   spsr=0000000040000000
[ 6039.5523532]    esr=00000000560001b9,    far=0000fd75fd984000
[ 6039.5583540]     x0=0000f514fefe82b0,     x1=0000f514fefe82c0
[ 6039.5643549]     x2=0000000000000000,     x3=000000000074722d
[ 6039.5703558]     x4=000000000000002f,     x5=0000000003c217d0
[ 6039.5753564]     x6=0000f514fefe82bc,     x7=000000000000002f
[ 6039.5813573]     x8=0000000000000036,     x9=0000f514ff4ad5c0
[ 6039.5873581]    x10=000000000003efdb,    x11=0000f514fe8000c0
[ 6039.5933590]    x12=0000f514ff280000,    x13=0000000000000027
[ 6039.5953593]    x14=0000f514fec008c0,    x15=0000000000000129
[ 6039.5953593]    x16=0000f514ff283380,    x17=0000f514ff206240
[ 6039.5953593]    x18=000000000000006b,    x19=0000f514fefe82c0
[ 6039.5953593]    x20=0000f514fefe8240,    x21=0000000000000000
[ 6039.5953593]    x22=000000000000002b,    x23=000000000000000b
[ 6039.5953593]    x24=000000000000000b,    x25=0000f514ff07f4c8
[ 6039.5953593]    x26=0000f514ff088000,    x27=0000f514fefe8240
[ 6039.5953593]    x28=0000f514ff080c80, fp=x29=0000ffffff95c920
[ 6039.5953593] lr=x30=0000f514ff143064,     sp=0000ffffff95c920
[ 6039.5953593] ------------------------------------------------
[ 6039.5953593] cpu3: End traceback...
[ 6039.5953593] rebooting...

PM_RSTS: 0x00000020
RPi: BOOTLOADER release VERSION:c305221a DATE: Sep  3 2020 TIME: 13:11:46 BOOTMODE: 0x00000006 part: 0 BUILD_TIMESTAMP=1599135103 0xda840a2d 0x00d03114
uSD voltage 3.3V
Initialising SDRAM 'Micron' 32Gb x2 total-size: 64 Gbit 3200
VLI: HUB2: 0xfff00000 0x24e6 MCU: 0xfff20000 0x15218
VL805 0xfff00000 0xfff20000
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
Boot mode: SD (01) order f4
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000f00 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
EMMC
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SDV1
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
Boot mode: USB-MSD (04) order f
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
USB3 rport 2 status 00000000 -> 000002b1
USB3 rport 3 status 00000000 -> 000002a0
USB3 rport 4 status 00000000 -> 000002a0
USB3 rport 5 status 00000000 -> 000002a0
USB2 rport 1 status 00000000 -> 400002e1
USB2 rport 1 status 400002f1 -> 40200e03
root HUB port 1 init
DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
HUB init [01:00] 2.16 000000:01
USB3 rport 2 status 000002b1 -> 00281203
root HUB port 2 init
DEV [02:00] 3.16 000000:02 class 0 VID 04e8 PID 61f5
MSD device [02:00] 3.16 000000:02 conf 0 iface 0 ep 81#1024 02#1024
MSD [02:00] 3.16 000000:02 register MSD
PM_RSTS: 0x00000020
MSD [02:00] 3.16 000000:02 LUN 0
MSD [02:00] 3.16 000000:02 lun 0 block-count 976773168 block-size 512
MBR: 0x00008000,  163840 type: 0x0c
MBR: 0x00000000,       0 type: 0x00
MBR: 0x00000000,       0 type: 0x00
MBR: 0x00000001,   32767 type: 0xee
lba: 32768 oem: 'NetBSD  ' volume: ' NETBSD     '
rsc 32 fat-sectors 635 c-count 81269 c-size 2 r-dir 2 r-sec 0
PM_RSTS: 0x00000020
Partition: 0
lba: 32768 oem: 'NetBSD  ' volume: ' NETBSD     '
rsc 32 fat-sectors 635 c-count 81269 c-size 2 r-dir 2 r-sec 0
Read config.txt bytes      206 hnd 0x00000036 hash 'b3a1293338fcea0c'
recover4.elf not found (6)
recovery.elf not found (6)
Read start4.elf bytes  2213312 hnd 0x000096f2 hash '19bbfbc3ec1da69d'
Read fixup4.dat bytes     5428 hnd 0x0000fdaf hash '5481e23d9a139ecb'
0x00d03114 0x00000000 0x0000003f
MEM GPU: 76 ARM: 947 TOTAL: 1023
Starting start4.elf @ 0xfeb00200 partition 0

MESS:00:00:05.321761:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:05.324546:0: brfs: File read: 206 bytes
MESS:00:00:05.392411:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:05.410967:0: brfs: File read: 206 bytes
MESS:00:00:05.906793:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:05.914044:0: *** Restart logging
MESS:00:00:05.919076:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:05.928372:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:05.934306:0: HDMI0: hdmi_pixel_encoding: 300000000
MESS:00:00:05.939773:0: HDMI1: hdmi_pixel_encoding: 300000000
MESS:00:00:05.949987:0: dtb_file 'bcm2711-rpi-4-b.dtb'
MESS:00:00:05.954713:0: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
MESS:00:00:05.958094:0: Loading 'bcm2711-rpi-4-b.dtb' to 0x1f0000 size 0xbb64
MESS:00:00:05.977165:0: brfs: File read: 47972 bytes
MESS:00:00:06.034575:0: brfs: File read: /mfs/sd/confi  1.0000000] cpu3: package 0, core 3, smt 0

[   1.0000000] gic0 at acpi0: GIC
[   1.0000000] armgic0 at gic0: Generic Interrupt Controller, 256 sources (247 valid)
[   1.0000000] armgic0: 16 Priorities, 224 SPIs, 7 PPIs, 16 SGIs
[   1.0000000] gtmr0 at acpi0: irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (54000 kHz, virtual)
[   1.0000030] PEPD (BCM2854) at acpi0 not configured
[   1.0000030] xhci0 at acpi0 (XHC0, PNP0D10-0): mem 0x600000000-0x600000fff irq 175
[   1.0000030] usb0 at xhci0: USB revision 3.0
[   1.0000030] usb1 at xhci0: USB revision 2.0
[   1.0000030] CPU0 (ACPI0007) at acpi0 not configured
[   1.0000030] CPU1 (ACPI0007) at acpi0 not configured
[   1.0000030] CPU2 (ACPI0007) at acpi0 not configured
[   1.0000030] CPU3 (ACPI0007) at acpi0 not configured
[   1.0000030] USB0 (BCM2848) at acpi0 not configured
[   1.0000030] GPU0 (BCM2850) at acpi0 not configured
[   1.0000030] bcmmbox0 at acpi0 (RPIQ, BCM2849-0): mem 0xfe00b880-0xfe00b8a3 irq 65
[   1.0000030] vcmbox0 at bcmmbox0
[   1.0000030] vchiq0 at acpi0 (VCIQ, BCM2835-0): mem 0xfe00b840-0xfe00b84f irq 66
[   1.0000030] VCSM (BCM2856) at acpi0 not configured
[   1.0000030] GPI0 (BCM2845) at acpi0 not configured
[   1.0000030] bsciic0 at acpi0 (I2C1, BCM2841-1): mem 0xfe804000-0xfe80401f irq 149
[   1.0000030] iic0 at bsciic0: I2C bus
[   1.0000030] bsciic1 at acpi0 (I2C2, BCM2841-2): mem 0xfe805000-0xfe80501f irq 149
[   1.0000030] iic1 at bsciic1: I2C bus
[   1.0000030] SPI0 (BCM2838) at acpi0 not configured
[   1.0000030] SPI1 (BCM2839) at acpi0 not configured
[   1.0000030] PWM0 (BCM2844) at acpi0 not configured
[   1.0000030] plcom0 at acpi0 (URT0, BCM2837-4): mem 0xfe201000-0xfe201fff irq 153
[   1.0000030] plcom0: console
[   1.0000030] com0 at acpi0 (URTM, BCM2836-0): mem 0xfe215000-0xfe21506f irq 125
[   1.0000030] com0: BCM AUX UART, 1-byte FIFO
[   1.0000030] BTH0 (BCM2EA6) at acpi0 not configured
[   1.0000030] RHPX (MSFT8000) at acpi0 not configured
[   1.0000030] sdhc0 at acpi0 (SDC1, BCM2847-0): mem 0xfe300000-0xfe3000ff irq 158
[   1.0000030] SDC2 (BCM2855) at acpi0 not configured
[   1.0000030] genet0 at acpi0 (ETH0, BCM6E4E-0): mem 0xfd580000-0xfd58ffff irq 189,190
[   1.0000030] genet0: GENETv5.0
[   1.0000030] genet0: Ethernet address dc:a6:32:b1:b5:6f
[   1.0000030] brgphy0 at genet0 phy 1: BCM54213PE 1000BASE-T media interface, rev. 2
[   1.0000030] brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[   1.0000030] EC00 (PNP0C06) at acpi0 not configured
[   1.0000030] acpitz0 at acpi0 (TZ00): cpu0 cpu1 cpu2 cpu3
[   1.0000030] sdhc0: SDHC 3.0, rev 153, PIO, 250000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[   1.0000030] sdmmc0 at sdhc0 slot 0
[   1.3142311] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[   1.3202327] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[   1.3392376] pic_establish_intr: pic armgic irq 23 already present
[   1.3422373] cpu0: couldn't establish pmu interrupt
[   1.4812603] sdmmc0: couldn't enable card: 60
[   1.7333017] uhub2 athub1 port 1: vendor 2109 (0x2109) USB2.0 b (0x3431), class 9/0, rev 2.10/4.21, addr 1
[   1.7403028] uhub2: single ransaction translator
[   1.7473039] umass0 at uhub0 port 1 configuration 1 interface 0
[   1.7503048] umass0: Samsung (0x04e8) Portable SSD T5 (0x61f5), rev 3.10/1.00, addr 2
[   1.7593065] scsibus0 at umass0: 2 targets, 1 lun per target
[   1.7643074] sd0 at scsibus0 target 0 lun 0: <Samsung, Portable SSD T5, 0> disk fixed
[   1.7733089] sd0: 465 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
[   1.7903119] dk0 at sd0: "EFI", 163840 blocks at 32768, type: msdos
[   1.7943125] dk1 at sd0: "netbsd-root", 976576512 blocks at 196608, type: ffs
[   2.0983628] WARNING: 2 errors while detecting hardware; check system log.
[   2.1023634] boot device: dk1
[   2.1053641] root on dk1
[   2.1093649] root file system type: ffs
[   2.1113650] kern.module.path=/stand/evbarm/9.99.92/modules
[   2.1163658] WARNING: preposterous TOD clock time
[   2.1163658] WARNING: using filesystem time
[   2.1255989] WARNING: CHECK AND RESET THE DATE!
[   2.1256058] vcaudio0 at vchiq0: auds
[   2.1328874] audio0 at vcaudio0: playback
[   2.1374859] audio0: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk 7680 byt for playback
[   2.1464233] spkr0 at audio0: PC Speaker (sythesized)
[   2.1514560] wsbell at spkr0 not configured
Sun Dec 12 04:15:24 UTC 2021
Starting root file system check:
/dev/rdk1: 2405390 files, 45124752 used, 14949247 free (101671 frags, 1855947 blocks, 0.2% fragmentation)
/dev/rdk1: MARKING FILE SYSTEM CLEAN
Not resizing / (NAME=netbsd-root): already correct size
Starting file system checks:
/dev/rdk0: 15 files, 76875 free (76875 clusters)
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
sysctl: /etc/sysctl.conf#24: top level name '  ddb' in '  ddb.onpanic' is invalid
sysctl: /etc/sysctl.conf#25: top level name '  ddb' in '  ddb.commandonenter' is invalid
ddb.onpanic: 1 -> 0
/etc/rc.d/sysctl exited with code 1
Starting network.
Hostname: arm64
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Starting dhcpcd.
Starting mdnsd.
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all file systems...
Updating fontconfig cache: done.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
/etc/rc.d/swap2 exited with code 1
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting devpubd.
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting timed.
Starting sshd.
Starting postfix.
/etc/rc.d/nginx: [/usr/pkg/share/examples/rc.d/nginx]: not found
/etc/rc.d/nginx stopped with signal 0
Starting inetd.
Starting cron.
The following components reported failures:
    /etc/rc.d/sysctl /etc/rc.d/swap2 /etc/rc.d/nginx
See /var/run/rc.log for more information.
Sun Dec 12 04:17:28 UTC 2021

NetBSD/evbarm (arm64) (constty)

login:




HERE IS A LATER TIME WHERE THE SAME PANIC OCCURRED:



[     2.146423] spkr0 at audio0: PC Speaker (synthesized)
[     2.151456] wsbell at spkr0 not configured
[  5762.226081] vcmbox0: workqueue busy: updates stopped
[ 86493.817076] panic: pmap_growkernel: cannot allocate L3 table error=12
[ 86493.820076] cpu3: Begin traceback...
[ 86493.824077] trace fp ffffc000ee64f2b0
[ 86493.829082] fp ffffc000ee64f2e0 vpanic() at ffffc00000572ebc netbsd:vpanic+0x14c
[ 86493.836083] fp ffffc000ee64f340 panic() at ffffc00000572fb4 netbsd:panic+0x44
[ 86493.843084] fp ffffc000ee64f3d0 pmap_growkernel() at ffffc000000b2b40 netbsd:pmap_growkernel+0xac
[ 86493.852088] fp ffffc000ee64f420 uvm_map_prepare() at ffffc000004d7b74 netbsd:uvm_map_prepare+0x350
[ 86493.861091] fp ffffc000ee64f4c0 uvm_map() at ffffc000004d8ab8 netbsd:uvm_map+0x84
[ 86493.869093] fp ffffc000ee64f550 uvm_km_alloc() at ffffc000004d3748 netbsd:uvm_km_alloc+0xb8
[ 86493.878099] fp ffffc000ee64f5e0 pool_grow() at ffffc0000056defc netbsd:pool_grow+0x5c
[ 86493.885099] fp ffffc000ee64f650 pool_get() at ffffc0000056d864 netbsd:pool_get+0x400
[ 86493.893102] fp ffffc000ee64f6b0 allocbuf() at ffffc000005bd670 netbsd:allocbuf+0x120
[ 86493.901106] fp ffffc000ee64f720 getblk() at ffffc000005be460 netbsd:getblk+0x200
[ 86493.909109] fp ffffc000ee64f780 bio_doread() at ffffc000005be620 netbsd:bio_doread+0x20
[ 86493.917113] fp ffffc000ee64f7b0 bread() at ffffc000005be76c netbsd:bread+0x1c
[ 86493.924113] fp ffffc000ee64f7e0 ffs_init_vnode() at ffffc000004ae258 netbsd:ffs_init_vnode+0x98
[ 86493.933116] fp ffffc000ee64f840 ffs_loadvnode() at ffffc000004ae454 netbsd:ffs_loadvnode+0x54
[ 86493.942119] fp ffffc000ee64f8a0 vcache_get() at ffffc000005db33c netbsd:vcache_get+0x188
[ 86493.950122] fp ffffc000ee64f940 ufs_lookup() at ffffc000004b9830 netbsd:ufs_lookup+0x84c
[ 86493.958125] fp ffffc000ee64fa40 VOP_LOOKUP() at ffffc000005e5c1c netbsd:VOP_LOOKUP+0x3c
[ 86493.966128] fp ffffc000ee64fa80 lookup_once() at ffffc000005c5f48 netbsd:lookup_once+0x208
[ 86493.975131] fp ffffc000ee64fb00 namei_tryemulroot() at ffffc000005c6a5c netbsd:namei_tryemulroot+0x4bc
[ 86493.984133] fp ffffc000ee64fc70 namei() at ffffc000005c842c netbsd:namei+0x2c
[ 86493.991136] fp ffffc000ee64fcb0 do_sys_statat() at ffffc000005d3d6c netbsd:do_sys_statat+0xec
[ 86494.000138] fp ffffc000ee64fd60 sys___lstat50() at ffffc000005d3e64 netbsd:sys___lstat50+0x20
[ 86494.009141] fp ffffc000ee64fe20 syscall() at ffffc000000ad18c netbsd:syscall+0x19c
[ 86494.017145] tf ffffc000ee64fed0 el0_trap() at ffffc000000afff0 netbsd:el0_trap
[ 86494.024146] ---- trapframe 0xffffc000ee64fed0 (304 bytes) ----
[ 86494.030148]     pc=0000ffb90cc86244,   spsr=0000000040000000
[ 86494.035150]    esr=00000000560001b9,    far=0000f03edc482000
[ 86494.041151]     x0=0000ffb90caf2fb0,     x1=0000ffb90caf2fc0
[ 86494.047153]     x2=0000000000000000,     x3=0000000000000000
[ 86494.053155]     x4=0000000000000013,     x5=0000000044fc9f80
[ 86494.059156]     x6=0000ffb90caf2fb5,     x7=0000000000000013
[ 86494.064158]     x8=0000000000000003,     x9=0000ffb90cf61280
[ 86494.070159]    x10=00000000000001ad,    x11=0000ffb90c6016e8
[ 86494.076162]    x12=000000000005456d,    x13=00000000001436c8
[ 86494.082163]    x14=000000000000010d,    x15=0000000000000122
[ 86494.088165]    x16=0000ffb90cd03380,    x17=0000ffb90cc86240
[ 86494.093166]    x18=0000000000000005,    x19=0000ffb90caf2fc0
[ 86494.099167]    x20=0000ffb90caf2f40,    x21=0000000000000000
[ 86494.105169]    x22=00000000000000d8,    x23=0000000000000004
[ 86494.111171]    x24=0000000000000004,    x25=0000ffb90cb02648
[ 86494.117173]    x26=0000ffb90cb0b000,    x27=0000ffb90caf2f40
[ 86494.123174]    x28=0000ffb90cab7640, fp=x29=0000ffffffa69860
[ 86494.128176] lr=x30=0000ffb90cbc3064,     sp=0000ffffffa69860
[ 86494.134177] ------------------------------------------------
[ 86494.140179] cpu3: End traceback...
[ 86494.145182] rebooting...
[     1.000000] WARNING: no console device
[     1.000000] WARNING: no console device
[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 9.99.92 (M64) #5: Sun Dec 12 00:57:02 UTC 2021
[     1.000000]         mac@arm64:/obj/sys/arch/evbarm/compile/M64
[     1.000000] total memory = 8025 MB
[     1.000000] avail memory = 7748 MB
[     1.000000] entropy: ready
[     1.000000] timecounter: Timecounters tick every 1.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] armfdt0 (root)
[     1.000000] armfdt0: using EFI runtime services for RTC
[     1.000000] simplebus0 at armfdt0: Raspberry Pi Foundation Raspberry Pi 4 Model B
[     1.000000] simplebus1 at simplebus0
[     1.000000] acpifdt0 at simplebus0
[     1.000000] acpifdt0: SMBIOS rev. 3.3.0 @ 0x370d0000
[     1.000000] ACPI: RSDP 0x0000000033A20018 000024 (v02 RPIFDN)
[     1.000000] ACPI: XSDT 0x0000000033A2FE98 000064 (v01 RPIFDN RPI4     00000200      01000013)
[     1.000000] ACPI: FACP 0x0000000033A2E998 000114 (v06 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: DSDT 0x0000000033A27518 0024AC (v05 RPIFDN RPI      00000002 INTL 20180105)
[     1.000000] ACPI: CSRT 0x0000000033A2FA98 000169 (v00 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: DBG2 0x0000000033A2FD18 000061 (v00 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: GTDT 0x0000000033A2F998 000068 (v03 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: IORT 0x0000000033A2F598 00005D (v00 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: APIC 0x0000000033A2F698 000184 (v05 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: PPTT 0x0000000033A2EB18 000184 (v02 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: SPCR 0x0000000033A2F918 000050 (v02 RPIFDN RPI4     00000200 EDK2 00000300)
[     1.000000] ACPI: 1 ACPI AML tables successfully acquired and loaded
[     1.000000] acpi0 at acpifdt0: Intel ACPICA 20210930
[     1.000000] acpi0: X/RSDT: OemId <RPIFDN,RPI4    ,00000200>, AslId <    ,01000013>
[     1.000000] cpu0 at acpi0: Arm Cortex-A72 r0p3 (v8-A), id 0x0
[     1.000000] cpu0: package 0, core 0, smt 0
[     1.000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000000] cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000000] cpu0: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000000] cpu0: L1 48KB/64B 3-way (256 set) PIPT Instruction cache
[     1.000000] cpu0: L1 32KB/64B 2-way (256 set) PIPT Data cache
[     1.000000] cpu0: L2 1024KB/64B 16-way (1024 set) PIPT Unified cache
[     1.000000] cpu0: revID=0x0, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu0: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000000] cpu1 at acpi0: Arm Cortex-A72 r0p3 (v8-A), id 0x1
[     1.000000] cpu1: package 0, core 1, smt 0
[     1.000000] cpu1: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000000] cpu1: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000000] cpu1: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000000] cpu1: L1 48KB/64B 3-way (256 set) PIPT Instruction cache
[     1.000000] cpu1: L1 32KB/64B 2-way (256 set) PIPT Data cache
[     1.000000] cpu1: L2 1024KB/64B 16-way (1024 set) PIPT Unified cache
[     1.000000] cpu1: revID=0x0, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu1: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000000] cpu2 at acpi0: Arm Cortex-A72 r0p3 (v8-A), id 0x2
[     1.000000] cpu2: package 0, core 2, smt 0
[     1.000000] cpu2: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000000] cpu2: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000000] cpu2: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000000] cpu2: L1 48KB/64B 3-way (256 set) PIPT Instruction cache
[     1.000000] cpu2: L1 32KB/64B 2-way (256 set) PIPT Data cache
[     1.000000] cpu2: L2 1024KB/64B 16-way (1024 set) PIPT Unified cache
[     1.000000] cpu2: revID=0x0, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu2: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000000] cpu3 at acpi0: Arm Cortex-A72 r0p3 (v8-A), id 0x3
[     1.000000] cpu3: package 0, core 3, smt 0
[     1.000000] cpu3: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000000] cpu3: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000000] cpu3: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000000] cpu3: L1 48KB/64B 3-way (256 set) PIPT Instruction cache
[     1.000000] cpu3: L1 32KB/64B 2-way (256 set) PIPT Data cache
[     1.000000] cpu3: L2 1024KB/64B 16-way (1024 set) PIPT Unified cache
[     1.000000] cpu3: revID=0x0, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu3: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000000] gic0 at acpi0: GIC
[     1.000000] armgic0 at gic0: Generic Interrupt Controller, 256 sources (247 valid)
[     1.000000] armgic0: 16 Priorities, 224 SPIs, 7 PPIs, 16 SGIs
[     1.000000] gtmr0 at acpi0: irq 27
[     1.000000] armgtmr0 at gtmr0: Generic Timer (54000 kHz, virtual)
[     1.000000] timecounter: Timecounter "armgtmr0" frequency 54000000 Hz quality 500
[     1.000003] PEPD (BCM2854) at acpi0 not configured
[     1.000003] xhci0 at acpi0 (XHC0, PNP0D10-0): mem 0x600000000-0x600000fff irq 175
[     1.000003] xhci0: 64-bit DMA
[     1.000003] xhci0: xHCI version 1.0
[     1.000003] usb0 at xhci0: USB revision 3.0
[     1.000003] usb1 at xhci0: USB revision 2.0
[     1.000003] CPU0 (ACPI0007) at acpi0 not configured
[     1.000003] CPU1 (ACPI0007) at acpi0 not configured
[     1.000003] CPU2 (ACPI0007) at acpi0 not configured
[     1.000003] CPU3 (ACPI0007) at acpi0 not configured
[     1.000003] USB0 (BCM2848) at acpi0 not configured
[     1.000003] GPU0 (BCM2850) at acpi0 not configured
[     1.000003] bcmmbox0 at acpi0 (RPIQ, BCM2849-0): mem 0xfe00b880-0xfe00b8a3 irq 65
[     1.000003] vcmbox0 at bcmmbox0
[     1.000003] vchiq0 at acpi0 (VCIQ, BCM2835-0): mem 0xfe00b840-0xfe00b84f irq 66
[     1.000003] VCSM (BCM2856) at acpi0 not configured
[     1.000003] GPI0 (BCM2845) at acpi0 not configured
[     1.000003] bsciic0 at acpi0 (I2C1, BCM2841-1): mem 0xfe804000-0xfe80401f irq 149
[     1.000003] iic0 at bsciic0: I2C bus
[     1.000003] bsciic1 at acpi0 (I2C2, BCM2841-2): mem 0xfe805000-0xfe80501f irq 149
[     1.000003] iic1 at bsciic1: I2C bus
[     1.000003] SPI0 (BCM2838) at acpi0 not configured
[     1.000003] SPI1 (BCM2839) at acpi0 not configured
[     1.000003] PWM0 (BCM2844) at acpi0 not configured
[     1.000003] plcom0 at acpi0 (URT0, BCM2837-4): mem 0xfe201000-0xfe201fff irq 153
[     1.000003] plcom0: console
[     1.000003] com0 at acpi0 (URTM, BCM2836-0): mem 0xfe215000-0xfe21506f irq 125
[     1.000003] com0: BCM AUX UART, 1-byte FIFO
[     1.000003] BTH0 (BCM2EA6) at acpi0 not configured
[     1.000003] RHPX (MSFT8000) at acpi0 not configured
[     1.000003] sdhc0 at acpi0 (SDC1, BCM2847-0): mem 0xfe300000-0xfe3000ff irq 158
[     1.000003] SDC2 (BCM2855) at acpi0 not configured
[     1.000003] genet0 at acpi0 (ETH0, BCM6E4E-0): mem 0xfd580000-0xfd58ffff irq 189,190
[     1.000003] genet0: GENETv5.0
[     1.000003] genet0: Ethernet address dc:a6:32:b1:b5:6f
[     1.000003] brgphy0 at genet0 phy 1: BCM54213PE 1000BASE-T media interface, rev. 2
[     1.000003] brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000003] EC00 (PNP0C06) at acpi0 not configured
[     1.000003] acpitz0 at acpi0 (TZ00): cpu0 cpu1 cpu2 cpu3
[     1.000003] acpitz0: levels: critical 90.0 C, hot 85.0 C, passive 80.0 C, passive cooling
[     1.000003] sdhc0: SDHC 3.0, rev 153, caps <01210000/00000000>, PIO, 250000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[     1.000003] sdmmc0 at sdhc0 slot 0
[     1.000003] timecounter: Timecounter "clockinterrupt" frequency 1000 Hz quality 0
[     1.314183] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[     1.320185] uhub0: 4 ports with 4 removable, self powered
[     1.320185] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[     1.329187] uhub1: 1 port with 1 removable, self powered
[     1.339190] pic_establish_intr: pic armgic irq 23 already present
[     1.342190] cpu0: autoconfiguration error: couldn't establish pmu interrupt
[     1.349193] IPsec: Initialized Security Association Processing.
[     1.350194] aes: ARM NEON vpaes
[     1.350194] chacha: ARM NEON ChaCha
[     1.481213] sdmmc0: autoconfiguration error: couldn't enable card: 60
[     1.734255] uhub2 at uhub1 port 1: vendor 2109 (0x2109) USB2.0 Hub (0x3431), class 9/0, rev 2.10/4.21, addr 1
[     1.741256] uhub2: single transaction translator
[     1.746257] uhub2: 4 ports with 4 removable, self powered
[     1.748258] umass0 at uhub0 port 1 configuration 1 interface 0
[     1.751258] umass0: Samsung (0x04e8) Portable SSD T5 (0x61f5), rev 3.10/1.00, addr 2
[     1.759260] umass0: using SCSI over Bulk-Only
[     1.760260] scsibus0 at umass0: 2 targets, 1 lun per target
[     1.765261] sd0 at scsibus0 target 0 lun 0: <Samsung, Portable SSD T5, 0> disk fixed
[     1.774263] sd0: 465 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
[     1.788265] sd0: GPT GUID: dc54a68e-aed1-4cf4-b868-d13abbc6be02
[     1.791266] dk0 at sd0: "EFI", 163840 blocks at 32768, type: msdos
[     1.794266] dk1 at sd0: "netbsd-root", 976576512 blocks at 196608, type: ffs
[     2.099316] WARNING: 2 errors while detecting hardware; check system log.
[     2.103317] boot device: dk1
[     2.106318] root on dk1
[     2.110320] root file system type: ffs
[     2.112319] kern.module.path=/stand/evbarm/9.99.92/modules
[     2.117320] WARNING: preposterous TOD clock time
[     2.118321] vchiq: vchiq_init_state: slot_zero = 0xffffc000ee010000, is_master = 0
[     2.118321] WARNING: using filesystem time
[     2.122854] vchiq: local ver 8 (min 3), remote ver 8.
[     2.126921] WARNING: CHECK AND RESET THE DATE!
[     2.126928] vcaudio0 at vchiq0: auds
[     2.134210] audio0 at vcaudio0: playback
[     2.138808] audio0: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk 7680 bytes (40ms) for playback
[     2.147745] spkr0 at audio0: PC Speaker (synthesized)
[     2.152778] wsbell at spkr0 not configured
[ 86714.393410] vcmbox0: workqueue busy: updates stopped

>Unformatted:
 NetBSD arm64 9.99.92 NetBSD 9.99.92 (M64) #5: Sun Dec 12 00:57:02 UTC 2021  mac@arm64:/obj/sys/arch/evbarm/compile/M64 evbarm
 This is GENERIC64 with "HZ=1000" added to that config


Home | Main Index | Thread Index | Old Index