Port-RISCV archive

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

Re: Panic while compiling



 distcc certainly helps). However, it paniced while compiling lang/llvm :(

I this should be fixed now with

https://mail-index.netbsd.org/source-changes/2023/06/12/msg145288.html

This has helped tremendously - it has been compiling tons of packages it hadn't been able to finish before. we're up to about 1,500. However, there was one more panic.

Can't wait to try on real hardware soon :)

John



[ 40819.141179] Mutex error: mutex_vector_enter,476: locking against myself

[ 40819.141179] lock address : ffffffe17f500938
[ 40819.141179] current cpu  :                  0
[ 40819.141179] current lwp  : 0xffffffe17ee38300
[ 40819.141179] owner field : 0x0000000000000150 wait/spin: 0/1

[ 40819.141179] panic: lock error: Mutex: mutex_vector_enter,476: locking against myself: lock 0xffffffe17f500938 cpu 0 lwp 0xffffffe17ee38300
[ 40819.141179] cpu0: Begin traceback...
[ 40819.141179] have_addr: true
[ 40819.141179] addr: ffffffc12c36f3f0
[ 40819.141179] count: 65535
[ 40819.141179] modif:
[ 40819.141179] trace fp ffffffc12c36f3f0
[ 40819.141179] fp ffffffc12c36f430 vpanic() at ffffffc0002fb032 netbsd:vpanic+0x114 [ 40819.141179] fp ffffffc12c36f450 panic() at ffffffc0002fb0d4 netbsd:panic+0x24 [ 40819.141179] fp ffffffc12c36f550 lockdebug_abort() at ffffffc0002f1b4a netbsd:lockdebug_abort+0xbc [ 40819.141179] fp ffffffc12c36f570 lddone() at ffffffc00009e5ca netbsd:lddone+0x20 [ 40819.141179] fp ffffffc12c36f5b0 ld_virtio_vq_done() at ffffffc0003ebb24 netbsd:ld_virtio_vq_done+0x30 [ 40819.141179] fp ffffffc12c36f5f0 virtio_vq_intr() at ffffffc0003e9b3e netbsd:virtio_vq_intr+0x34 [ 40819.141179] fp ffffffc12c36f620 virtio_mmio_intr() at ffffffc00019c65c netbsd:virtio_mmio_intr+0x6c [ 40819.141179] fp ffffffc12c36f680 plic_intr() at ffffffc00000fe46 netbsd:plic_intr+0x6e [ 40819.141179] fp ffffffc12c36f6e0 intc_intr_handler() at ffffffc000010b88 netbsd:intc_intr_handler+0x66 [ 40819.141179] tf ffffffc12c36f6e0 exception_kernexit() at ffffffc0000033f2 netbsd:cpu_exception_handler+0x9a
[ 40819.141179] ---- trapframe 0xffffffc12c36f6e0 (280 bytes) ----
[ 40819.141179] Trapframe @ 0xffffffc12c36f6e0 (cause=9 (interrupt), status=0x120, pc=0xffffffc0003eb8be, va=0): [ 40819.141179] ra =0xffffffc0003eb8be sp =0xffffffc12c36f7f8 gp =0xffffffc000922600 [ 40819.141179] tp =0xffffffc12c36f858 t0 = 0x126554000 t1 = 0x896500 t2 = 0x14 [ 40819.141179] s0 =0xffffffc12c36f858 s1 = 0 a0 =0xffffffe17f50f700 a1 = 0x89731780 [ 40819.141179] a2 = 0x10 a3 = 0x4 a4 =0xffffffc000800060 a5 =0xffffffc000003194 [ 40819.141179] a6 = 0x18 a7 = 0x8965 s2 =0xffffffe1552f74c0 s3 =0xffffffe17fd6f400 [ 40819.141179] s4 =0xffffffe17f5009c8 s5 = 0 s6 =0xffffffe089731780 s7 = 0x1 [ 40819.141179] s8 = 0x100000 s9 =0xffffffe17db42b30 s10=0xffffffc0006b58c8 s11=0xffffffc0006b5868 [ 40819.141179] t3 = 0 t4 =0xffffffe17f2b1260 t5 = 0 t6 = 0x10000
[ 40819.141179] ------------------------------------------------
[ 40819.141179] fp ffffffc12c36f858 ld_virtio_start() at ffffffc0003eb8be netbsd:ld_virtio_start+0x118 [ 40819.141179] fp ffffffc12c36f888 ld_diskstart() at ffffffc00009e026 netbsd:ld_diskstart+0x98 [ 40819.141179] fp ffffffc12c36f8f8 dk_start() at ffffffc00036c620 netbsd:dk_start+0xde [ 40819.141179] fp ffffffc12c36f938 spec_strategy() at ffffffc00036aef0 netbsd:spec_strategy+0x5e [ 40819.141179] fp ffffffc12c36f978 VOP_STRATEGY() at ffffffc00035fa04 netbsd:VOP_STRATEGY+0x30 [ 40819.141179] fp ffffffc12c36f9d8 dkstart() at ffffffc00036d69c netbsd:dkstart+0xda [ 40819.141179] fp ffffffc12c36fa18 spec_strategy() at ffffffc00036aef0 netbsd:spec_strategy+0x5e [ 40819.141179] fp ffffffc12c36fa58 VOP_STRATEGY() at ffffffc00035fa04 netbsd:VOP_STRATEGY+0x30 [ 40819.141179] fp ffffffc12c36fb18 genfs_do_io() at ffffffc000361924 netbsd:genfs_do_io+0x15e [ 40819.141179] fp ffffffc12c36fd78 genfs_do_putpages() at ffffffc0003633ca netbsd:genfs_do_putpages+0x648 [ 40819.141179] fp ffffffc12c36fdc8 VOP_PUTPAGES() at ffffffc00035fd3c netbsd:VOP_PUTPAGES+0x38 [ 40819.141179] fp ffffffc12c36fe18 ffs_full_fsync() at ffffffc000233ac8 netbsd:ffs_full_fsync+0x11c [ 40819.141179] fp ffffffc12c36fe68 VOP_FSYNC() at ffffffc00035efb4 netbsd:VOP_FSYNC+0x3a [ 40819.141179] fp ffffffc12c36fee8 sched_sync() at ffffffc000349e88 netbsd:sched_sync+0x160 [ 40819.141179] fp 0000000000000000 exception_kernexit() at ffffffc000003450 netbsd:exception_kernexit+0x5e
[ 40819.141179] cpu0: End traceback...
[ 40819.141179] rebooting...



Home | Main Index | Thread Index | Old Index