NetBSD-Bugs archive

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

port-arm/54616: one-off kernel panic in plcom (possibly a race)



>Number:         54616
>Category:       port-arm
>Synopsis:       one-off kernel panic in plcom (possibly a race)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 13 10:15:00 +0000 2019
>Originator:     coypu
>Release:        NetBSD 9.99.15
>Organization:
>Environment:
NetBSD arm64 9.99.15 NetBSD 9.99.15 (GENERIC64) #0: Sat Oct 12 00:49:30 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
Using qemu to build something,

qemu-system-aarch64 \
                   -m \
                   8192 \
                   -smp 4 \
                   -drive \
                   file=work-https---nycdn.netbsd.org-pub-NetBSD-daily-HEAD-latest-evbarm-aarch64-+a5c35c60/wd0.img,format=raw,media=disk,if=none,id=hd0 \
                   -device \
                   virtio-blk-device,drive=hd0 \
                   -nographic \
                   -M \
                   virt \
                   -cpu \
                   cortex-a57 \
                   -kernel \
                   work-https---nycdn.netbsd.org-pub-NetBSD-daily-HEAD-latest-evbarm-aarch64-+a5c35c60/netbsd-GENERIC64.img \
                   -append \
                   root=ld4a \
                   -netdev type=user,id=net0 -device virtio-net-device,netdev=net0,mac=00:11:66:33:44:55


I found the image ran out of space but it triggered a panic in plcom.

The output before the panic also looks a bit mangled.


make[1]: Working in: /root/pkgsrc/www/firefox
In: 1623332864 bytes, compression 0%;  Out: 218891 files, 1623332864 bytes
Current: firefox-69.0.2/js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-await-nested-imports.js (1268 bytes)
 77.3 %      232.8 MiB / 1548.2 MiB = 0.150   878 KiB/s      30:05   8 min 50 s

[ 72997.449909108] /: write  faiiledd, file systeem is fullll

[ 72297.5099488] /:: write failedd, fiile system is full

[ 72977.5099488] /: write failed, file system is full
firefox-69.0.2/js/src/jsdate.cpp: Write failed


[ 7297.55000602] /: write failedd, file system is full


[ 7297.5500602]  /: write failed, file system is full

[ 7297.5500602] /: write failed, ffile system is full

[ 7297.57017944] /: write failed, file system is full
firefox-69.0.2/js/src/ctypes/: Write to restore size failed

[ 7297..5701794] //: write failed, file system is full

[ 7297.5701794] /: write failed, file system is full


[ 7297.57701794] /: write failed, , file system is full

[[ 72297.5903311] /: write failed, file system is full
firefox-69.0.2/js/src/ctypes/libffi-patches/: Write to restore size failed

[ 7297.5903311] /: write faileed,, file system is full

[ 72297.5903311] /: write failed, file system is full

[ 7297.6096013] /: write failed, fiile system  iis full


[ 7297.6096013] /: writee failed, file syyststem iis full
firefox-69.0.2/js/src/ctypes/libffi-patches/02-clang-cl.patch: Write to restore size failed

[[ 7297.60960133] /: write failed, file system is full

[ 7297.6298184] /: write failed, file syystem is full

[ 72297.6298184] /: write failled,, file system is full

[ 72297.97.6298184] /: write failed, fiile system is full
firefox-69.0.2/js/src/ctypes/libffi-patches/03-asan.patch: Write to restore size failed

[ 7297.6495375] /: write failed, file system is full

[ 7297.6495375] /: write failed, file system is full

[[ 7297.6495375] /: write failed, file system is full

[[ 7297.6695344] /: write failed, file system is full
firefox-69.0.2/js/src/ctypes/libffi-patches/01-1014976-rtl.patch: Write to restore size failed

[ 72977.6695344] /: write failed, filee system is full

[ 72997.66955344] /: write failed, file  syystem is  fulll

[ 7297.6695344] /: write failed, file system iis ffull

[ 7297.689676896770] /: write  faileled, file systemm is full
firefox-69.0.2/js/src/ctypes/libffi-patches/00-base.patch: Write to restore size failed

[ 72997.6896770] /: wwrite failed, file system is full

[ 7297.6896770] /:: write failed, file system is full


[ 72297.6896770] /: write failed, file system is full


[ 72297.6896770] /: write failed, file syystem is  full
firefox-69.0.2/js/src/ctypes/libffi/: Write to restore size failed

[ 7297.7099005] /: wwrite faileed, file system is full

[ 7297.7099005] /: write failed, ffille system is ffulll

[ 7297.700990005] /: write failed, fiile systemm is fulll

[ 7297..7298931] /: write faailed, file systeem is full
firefox-69.0.2/js/src/ctypes/libffi/libffi.xcodeproj/: Write to restore size failed


[ 7297.7298931] /: write failled, file sysstem is full

[ 7297.7298931] /: write e failed, file sysstemm is full

[ 7297.72988931] /: write failed, file system is fuull

[ 72977.7498927]] /: write failed, file system iis full
firefox-69.0.2/js/src/ctypes/libffi/libffi.xcodeproj/project.pbxproj: Write to restore size failed


[ 7297.7603118] /: write failed, file systemm is  full

[ 7297.76.76003118] /: write failed, filee syssteem  is fuull

[ 7297.7603118] /: write failled, file system isis fulll

[ 72977.7603118] /:: write failed, file system  is fulull
firefox-69.0.2/js/src/ctypes/libffi/aclocal.m4: Write to restore size failed

[[ 7297.7806108] panic: Trap: Data Abort (EL1): Translation Fault L1 with read access for 0000000000000000: pc ffffffc00004f79c: opcode 38401683: ldrb w3, [x20],#1

[ 7297.7806108] cpu0: Begin traceback...
[ 7297.7806108] trace fp ffffffc0b407f200
[ 7297.7806108] fp ffffffc0b407f220 vpanic() at ffffffc00049a258 netbsd:vpanic+0x198
[ 7297.7806108] fp ffffffc0b407f280 panic() at ffffffc00049a328 netbsd:panic+0x48
[ 7297.7806108] fp ffffffc0b407f310 data_abort_handler() at ffffffc00007855c netbsd:data_abort_handler+0x4c4
[ 7297.7806108] tf ffffffc0b407f390 el1_trap() at ffffffc0000757d4 netbsd:el1_trap
[ 7297.7806108] ---- trapframe 0xffffffc0b407f390 (304 bytes) ----
[ 7297.7806108]     pc=ffffffc00004f79c,   spsr=0000000060000005
[ 7297.7806108]    esr=0000000096000005,    far=0000000000000000
[ 7297.7806108]     x0=ffffffc000a30e58,     x1=fffffffff1000000
[ 7297.7806108]     x2=0000000000000000,     x3=000000000000007f
[ 7297.7806108]     x4=ffffffc000070fdc,     x5=ffffffc000070fdc
[ 7297.7806108]     x6=0000000000000005,     x7=0000000000000064
[ 7297.7806108]     x8=0000000000000038,     x9=00000000fffffff8
[ 7297.7806108]    x10=ffffffc0b407f5b0,    x11=ffffffc0b407f5b0
[ 7297.7806108]    x12=0000000000000006,    x13=ffffffff020aa800
[ 7297.7806108]    x14=0000000029b63398,    x15=ffffffc082aa0000
[ 7297.7806108]    x16=0000fbd7cca3a8a0,    x17=0000fbd7cc9b7df8
[ 7297.7806108]    x18=0000fbd7ccfb5e40,    x19=ffff00023e81a0e0
[ 7297.7806108]    x20=0000000000000000,    x21=0000000000000001
[ 7297.7806108]    x22=ffff00023e81a220,    x23=0000000000000001
[ 7297.7806108]    x24=0000000000000001,    x25=0000000000000000
[ 7297.7806108]    x26=00000000fffffffe,    x27=0000000000000002
[ 7297.7806108]    x28=0000000000000000, fp=x29=ffffffc0b407f4c0
[ 7297.7806108] lr=x30=ffffffc00004f918,     sp=ffffffc0b407f4c0
[ 7297.7806108] ------------------------------------------------
[ 7297.7806108] fp ffffffc0b407f4c0 pwritem1.constprop.9() at ffffffc00004f79c netbsd:pwritem1.constprop.9+0x54
[ 7297.7806108] fp ffffffc0b407f4f0 plcomstart() at ffffffc00004f914 netbsd:plcomstart+0x14c
[ 7297.7806108] fp ffffffc0b407f540 tputchar() at ffffffc0004bbce4 netbsd:tputchar+0x5c
[ 7297.7806108] fp ffffffc0b407f570 putone() at ffffffc00049866c netbsd:putone+0x15c
[ 7297.7806108] fp ffffffc0b407f5b0 putchar() at ffffffc00049a484 netbsd:putchar+0x104
[ 7297.7806108] fp ffffffc0b407f650 kprintf() at ffffffc000498a98 netbsd:kprintf+0x1c0
[ 7297.7806108] fp ffffffc0b407f720 uprintf() at ffffffc000499b58 netbsd:uprintf+0x80
[ 7297.7806108] fp ffffffc0b407f7c0 ffs_realloccg() at ffffffc0003e48c8 netbsd:ffs_realloccg+0x468
[ 7297.7806108] fp ffffffc0b407f890 ffs_balloc() at ffffffc0003e63b8 netbsd:ffs_balloc+0xaa8
[ 7297.7806108] fp ffffffc0b407fa00 ufs_gop_alloc() at ffffffc0003fe604 netbsd:ufs_gop_alloc+0xb4
[ 7297.7806108] fp ffffffc0b407fa60 ufs_balloc_range() at ffffffc0003f61a0 netbsd:ufs_balloc_range+0x130
[ 7297.7806108] fp ffffffc0b407faf0 ffs_truncate() at ffffffc0003e839c netbsd:ffs_truncate+0x13c
[ 7297.7806108] fp ffffffc0b407fc50 ufs_truncate_retry() at ffffffc0003f635c netbsd:ufs_truncate_retry+0x6c
[ 7297.7806108] fp ffffffc0b407fca0 ufs_setattr() at ffffffc0003fc898 netbsd:ufs_setattr+0x448
[ 7297.7806108] fp ffffffc0b407fcf0 VOP_SETATTR() at ffffffc0005068e0 netbsd:VOP_SETATTR+0x38
[ 7297.7806108] fp ffffffc0b407fd30 sys_ftruncate() at ffffffc0004f6220 netbsd:sys_ftruncate+0xe0
[ 7297.7806108] fp ffffffc0b407fe20 syscall() at ffffffc000077164 netbsd:syscall+0x19c
[ 7297.7806108] tf ffffffc0b407fed0 el0_trap() at ffffffc000075838 netbsd:el0_trap
[ 7297.7806108] ---- trapframe 0xffffffc0b407fed0 (304 bytes) ----
[ 7297.7806108]     pc=0000fbd7cc9b7dfc,   spsr=0000000020000000
[ 7297.7806108]    esr=00000000560000c9,    far=ffffffc0b31bc000
[ 7297.7806108]     x0=0000000000000004,     x1=0000000000000000
[ 7297.7806108]     x2=0000000000017b61,     x3=0000fbd7cd0a7c40
[ 7297.7806108]     x4=0000fbd7cd0afc38,     x5=0000000000000000
[ 7297.7806108]     x6=0000000000000000,     x7=0fffffffffffffff
[ 7297.7806108]     x8=0000000000000008,     x9=0000fbd7cd0e5200
[ 7297.7806108]    x10=00000000000000c5,    x11=00000000000000c4
[ 7297.7806108]    x12=000000000000094e,    x13=000000000000094f
[ 7297.7806108]    x14=0000000029b63398,    x15=0000000029b633b8
[ 7297.7806108]    x16=0000fbd7cca3a8a0,    x17=0000fbd7cc9b7df8
[ 7297.7806108]    x18=0000fbd7ccfb5e40,    x19=0000fbd7ccc99000
[ 7297.7806108]    x20=0000000000000000,    x21=0000fbd7ccc94000
[ 7297.7806108]    x22=0000fbd7ccc94000,    x23=0000fbd7ccc99000
[ 7297.7806108]    x24=0000fbd7ccc66000,    x25=000000020010c1e8
[ 7297.7806108]    x26=000000020011e000,    x27=0000000000000004
[ 7297.7806108]    x28=0000000000000000, fp=x29=0000000000000000
[ 7297.7806108] lr=x30=0000fbd7cd051998,     sp=0000ffffffd87ba0
[ 7297.7806108] ------------------------------------------------
[ 7297.7806108] cpu0: End traceback...

[ 7297.7806108] dump to dev 92,33 not possible
[ 7297.7806108] rebooting...

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index