NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57292: GENERIC64 virtio panic on aarch64
>Number: 57292
>Category: kern
>Synopsis: GENERIC64 virtio panic on aarch64
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 24 22:50:00 +0000 2023
>Originator: Chavdar Ivanov
>Release: 10.99.2
>Organization:
CI4 Consulting Ltd
>Environment:
NetBSD narvi 10.99.2 NetBSD 10.99.2 (GENERIC64) #0: Wed Mar 22 03:17:18 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
Kernel from 2023/03/22 works fine, http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202303231250Z/evbarm-aarch64/binary/kernel/netbsd-GENERIC64.gz crashes, as follows:
.....
> boot
8547120+3683584+4183008+1742616 [588886+1183824+708887]=0x16053c8
GOP: PixelBltOnly pixel format not supported
GOP: PixelBltOnly pixel format not supported
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.99.2 (GENERIC64) #1: Fri Mar 24 21:00:30 GMT 2023
[ 1.0000000] sysbuild%ymir.lorien.lan@localhost:/home/sysbuild/sysbuild/evbarm64/obj/home/sysbuild/src/sys/arch/evbarm/compile/GENERIC64
[ 1.0000000] total memory = 12261 MB
[ 1.0000000] avail memory = 11820 MB
[ 1.0000000] armfdt0 (root)
[ 1.0000000] armfdt0: using EFI runtime services for RTC
[ 1.0000000] simplebus0 at armfdt0: QEMU KVM Virtual Machine
[ 1.0000000] simplebus1 at simplebus0
[ 1.0000000] acpifdt0 at simplebus0
[ 1.0000000] acpifdt0: SMBIOS rev. 3.0.0 @ 0x33bec0000
[ 1.0000000] ACPI: RSDP 0x00000003385F0018 000024 (v02 BOCHS )
[ 1.0000000] ACPI: XSDT 0x00000003385FFE98 00005C (v01 BOCHS BXPCFACP 00000001 01000013)
[ 1.0000000] ACPI: FACP 0x00000003385FFA98 00010C (v05 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 1.0000000] ACPI: DSDT 0x00000003385F7518 004842 (v02 BOCHS BXPCDSDT 00000001 BXPC 00000001)
[ 1.0000000] ACPI: APIC 0x00000003385FFC18 000100 (v03 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 1.0000000] ACPI: GTDT 0x00000003385FFD98 000060 (v02 BOCHS BXPCGTDT 00000001 BXPC 00000001)
[ 1.0000000] ACPI: MCFG 0x00000003385FFF98 00003C (v01 BOCHS BXPCMCFG 00000001 BXPC 00000001)
[ 1.0000000] ACPI: SPCR 0x00000003385FE998 000050 (v02 BOCHS BXPCSPCR 00000001 BXPC 00000001)
[ 1.0000000] ACPI: IORT 0x00000003385FF898 00007C (v00 BOCHS BXPCIORT 00000001 BXPC 00000001)
[ 1.0000000] ACPI: BGRT 0x00000003385FF998 000038 (v01 INTEL EDK2 00000002 01000013)
[ 1.0000000] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.0000000] acpi0 at acpifdt0: Intel ACPICA 20221020
[ 1.0000000] cpu0 at acpi0: Arm Neoverse N1 r3p1 (v8.2-A+), id 0x0
[ 1.0000000] cpu0: package 0, core 0, smt 0
[ 1.0000000] cpu1 at acpi0: Arm Neoverse N1 r3p1 (v8.2-A+), id 0x1
[ 1.0000000] cpu1: package 0, core 1, smt 0
[ 1.0000000] gicvthree0 at acpi0: GICv3
[ 1.0000000] gicvthree0: ITS #0 at 0x8080000
[ 1.0000000] gicvthree0: ITS [#0] Devices table @ 0x5a0b0000/0x80000, Cacheable WA WB, Inner shareable
[ 1.0000000] gicvthree0: ITS [#1] Collections table @ 0x5a130000/0x10000, Cacheable WA WB, Inner shareable
[ 1.0000000] gtmr0 at acpi0: irq 27
[ 1.0000000] armgtmr0 at gtmr0: Generic Timer (25000 kHz, virtual)
[ 1.0000040] C000 (ACPI0007) at acpi0 not configured
[ 1.0000040] C001 (ACPI0007) at acpi0 not configured
[ 1.0000040] plcom0 at acpi0 (COM0, ARMH0011-0): mem 0x9000000-0x9000fff irq 33
[ 1.0000040] plcom0: txfifo 16 bytes
[ 1.0000040] plcom0: console
[ 1.0000040] FLS0 (LNRO0015) at acpi0 not configured
[ 1.0000040] FLS1 (LNRO0015) at acpi0 not configured
[ 1.0000040] qemufwcfg0 at acpi0 (FWCF, QEMU0002): mem 0x9020000-0x9020017
[ 1.0000040] virtio0 at acpi0 (VR00, LNRO0005-0): mem 0xa000000-0xa0001ff irq 48
[ 1.0000040] virtio1 at acpi0 (VR01, LNRO0005-1): mem 0xa000200-0xa0003ff irq 49
[ 1.0000040] virtio2 at acpi0 (VR02, LNRO0005-2): mem 0xa000400-0xa0005ff irq 50
[ 1.0000040] virtio3 at acpi0 (VR03, LNRO0005-3): mem 0xa000600-0xa0007ff irq 51
[ 1.0000040] virtio4 at acpi0 (VR04, LNRO0005-4): mem 0xa000800-0xa0009ff irq 52
[ 1.0000040] virtio5 at acpi0 (VR05, LNRO0005-5): mem 0xa000a00-0xa000bff irq 53
[ 1.0000040] virtio6 at acpi0 (VR06, LNRO0005-6): mem 0xa000c00-0xa000dff irq 54
[ 1.0000040] virtio7 at acpi0 (VR07, LNRO0005-7): mem 0xa000e00-0xa000fff irq 55
[ 1.0000040] virtio8 at acpi0 (VR08, LNRO0005-8): mem 0xa001000-0xa0011ff irq 56
[ 1.0000040] virtio9 at acpi0 (VR09, LNRO0005-9): mem 0xa001200-0xa0013ff irq 57
[ 1.0000040] virtio10 at acpi0 (VR10, LNRO0005-10): mem 0xa001400-0xa0015ff irq 58
[ 1.0000040] virtio11 at acpi0 (VR11, LNRO0005-11): mem 0xa001600-0xa0017ff irq 59
[ 1.0000040] virtio12 at acpi0 (VR12, LNRO0005-12): mem 0xa001800-0xa0019ff irq 60
[ 1.0000040] virtio13 at acpi0 (VR13, LNRO0005-13): mem 0xa001a00-0xa001bff irq 61
[ 1.0000040] virtio14 at acpi0 (VR14, LNRO0005-14): mem 0xa001c00-0xa001dff irq 62
[ 1.0000040] virtio15 at acpi0 (VR15, LNRO0005-15): mem 0xa001e00-0xa001fff irq 63
[ 1.0000040] virtio16 at acpi0 (VR16, LNRO0005-16): mem 0xa002000-0xa0021ff irq 64
[ 1.0000040] virtio17 at acpi0 (VR17, LNRO0005-17): mem 0xa002200-0xa0023ff irq 65
[ 1.0000040] virtio18 at acpi0 (VR18, LNRO0005-18): mem 0xa002400-0xa0025ff irq 66
[ 1.0000040] virtio19 at acpi0 (VR19, LNRO0005-19): mem 0xa002600-0xa0027ff irq 67
[ 1.0000040] virtio20 at acpi0 (VR20, LNRO0005-20): mem 0xa002800-0xa0029ff irq 68
[ 1.0000040] virtio21 at acpi0 (VR21, LNRO0005-21): mem 0xa002a00-0xa002bff irq 69
[ 1.0000040] virtio22 at acpi0 (VR22, LNRO0005-22): mem 0xa002c00-0xa002dff irq 70
[ 1.0000040] virtio23 at acpi0 (VR23, LNRO0005-23): mem 0xa002e00-0xa002fff irq 71
[ 1.0000040] virtio24 at acpi0 (VR24, LNRO0005-24): mem 0xa003000-0xa0031ff irq 72
[ 1.0000040] virtio25 at acpi0 (VR25, LNRO0005-25): mem 0xa003200-0xa0033ff irq 73
[ 1.0000040] virtio26 at acpi0 (VR26, LNRO0005-26): mem 0xa003400-0xa0035ff irq 74
[ 1.0000040] virtio27 at acpi0 (VR27, LNRO0005-27): mem 0xa003600-0xa0037ff irq 75
[ 1.0000040] virtio28 at acpi0 (VR28, LNRO0005-28): mem 0xa003800-0xa0039ff irq 76
[ 1.0000040] virtio29 at acpi0 (VR29, LNRO0005-29): mem 0xa003a00-0xa003bff irq 77
[ 1.0000040] virtio30 at acpi0 (VR30, LNRO0005-30): mem 0xa003c00-0xa003dff irq 78
[ 1.0000040] virtio31 at acpi0 (VR31, LNRO0005-31): mem 0xa003e00-0xa003fff irq 79
[ 1.0000040] acpipchb0 at acpi0 (PCI0, PNP0A08-PCI0): PCI Express Host Bridge
[ 1.0000040] pci0 at acpipchb0 bus 0
[ 1.0000040] vendor 1b36 product 0008 (host bridge) at pci0 dev 0 function 0 not configured
[ 1.0000040] virtio32 at pci0 dev 1 function 0
[ 1.0000040] virtio32: Unknown device (id 16, rev. 0x01)
[ 1.0000040] virtio32: no matching child driver; not configured
[ 1.0000040] xhci0 at pci0 dev 2 function 0: vendor 1b36 product 000d (rev. 0x01)
[ 1.0000040] xhci0: interrupting at irq 8192 (MSI-X vec 0)
[ 1.0000040] xhci0: xHCI version 0.0 not known to be supported
[ 1.0000040] usb0 at xhci0: USB revision 3.0
[ 1.0000040] usb1 at xhci0: USB revision 2.0
[ 1.0000040] virtio33 at pci0 dev 3 function 0
[ 1.0000040] virtio33: network device (id 1, rev. 0x01)
[ 1.0000040] vioif0 at virtio33: features: 0x130870020<V1,EVENT_IDX,INDIRECT_DESC,CTRL_MAC,CTRL_RX,CTRL_VQ,STATUS,MAC>
[ 1.0000040] vioif0: Ethernet address 02:00:17:00:06:fa
[ 1.0000040] panic: Trap: Data Abort (EL1): Translation Fault L0 with read access for 000000000000000c, PAN Set: pc ffffc0000014d1ec: ldr w0, [x24,#12]
[ 1.0000040] cpu0: Begin traceback...
[ 1.0000040] trace fp ffffc00001204790
[ 1.0000040] fp ffffc000012047c0 vpanic() at ffffc00000590718 netbsd:vpanic+0x178
[ 1.0000040] fp ffffc00001204820 panic() at ffffc00000590824 netbsd:panic+0x44
[ 1.0000040] fp ffffc000012048b0 data_abort_handler() at ffffc000000b5c8c netbsd:data_abort_handler+0x1ec
[ 1.0000040] tf ffffc00001204920 el1_trap() at ffffc000000b7784 netbsd:el1_vectors+0x784
[ 1.0000040] ---- Data Abort (EL1): trapframe 0xffffc00001204920 (304 bytes) ----
[ 1.0000040] pc=ffffc0000014d1ec, spsr=0000000060400005
[ 1.0000040] esr=0000000096000004, far=000000000000000c
[ 1.0000040] x0=0000000000000000, x1=00000000000000e8
[ 1.0000040] x2=000000005a149000, x3=0000000000000000
[ 1.0000040] x4=0000000000000001, x5=0000000000000001
[ 1.0000040] x6=0000000000005000, x7=ffff00033b49c280
[ 1.0000040] x8=0000000000002000, x9=0000000000000806
[ 1.0000040] x10=ffffc000000abde4, x11=000000000000003f
[ 1.0000040] x12=fffffc0001685240, x13=fffffc0001685380
[ 1.0000040] x14=0000000000000020, x15=ffff00005a14e000
[ 1.0000040] x16=ffffc000000abde4, x17=4283ee3a136a590e
[ 1.0000040] x18=0000000000001000, x19=ffffc00040888020
[ 1.0000040] x20=ffffc0035f91b000, x21=ffff00033b7b2600
[ 1.0000040] x22=0000000000000000, x23=000000005a149000
[ 1.0000040] x24=0000000000000000, x25=0000000000002000
[ 1.0000040] x26=0000000000000002, x27=0000000000005000
[ 1.0000040] x28=0000000000000000, fp=x29=ffffc00001204c50
[ 1.0000040] lr=x30=ffffc000007b2c20, sp=ffffc00001204c50
[ 1.0000040] ------------------------------------------------
[ 1.0000040] fp ffffc00001204c50 virtio_pci_setup_queue_10() at ffffc0000014d1ec netbsd:virtio_pci_setup_queue_10+0x38
[ 1.0000040] fp ffffc00001204ca0 virtio_alloc_vq() at ffffc000007b2c1c netbsd:virtio_alloc_vq+0x1dc
[ 1.0000040] fp ffffc00001204d60 vioif_attach() at ffffc000007b8560 netbsd:vioif_attach+0x360
[ 1.0000040] fp ffffc00001204e80 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc00001204ee0 config_found() at ffffc000005702b8 netbsd:config_found+0xd8
[ 1.0000040] fp ffffc00001204f50 virtio_pci_attach() at ffffc0000014cd44 netbsd:virtio_pci_attach+0x294
[ 1.0000040] fp ffffc00001205080 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc000012050e0 config_found() at ffffc000005702b8 netbsd:config_found+0xd8
[ 1.0000040] fp ffffc00001205150 pci_probe_device() at ffffc000000cb244 netbsd:pci_probe_device+0x5b4
[ 1.0000040] fp ffffc00001205290 pci_enumerate_bus() at ffffc000000cb418 netbsd:pci_enumerate_bus+0x1b8
[ 1.0000040] fp ffffc00001205340 pcirescan() at ffffc000000cb5c0 netbsd:pcirescan+0x4c
[ 1.0000040] fp ffffc00001205370 pciattach() at ffffc000000cb768 netbsd:pciattach+0x134
[ 1.0000040] fp ffffc000012053b0 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc00001205410 config_found() at ffffc000005702b8 netbsd:config_found+0xd8
[ 1.0000040] fp ffffc00001205480 acpipchb_attach() at ffffc000000107a0 netbsd:acpipchb_attach+0x1f0
[ 1.0000040] fp ffffc00001205570 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc000012055d0 config_found() at ffffc000005702b8 netbsd:config_found+0xd8
[ 1.0000040] fp ffffc00001205640 acpi_rescan() at ffffc0000007a2d4 netbsd:acpi_rescan+0x2d4
[ 1.0000040] fp ffffc00001205760 acpi_attach() at ffffc0000007a838 netbsd:acpi_attach+0x3c8
[ 1.0000040] fp ffffc00001205830 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc00001205890 config_found() at ffffc000005702b8 netbsd:config_found+0xd8
[ 1.0000040] fp ffffc00001205900 acpi_fdt_attach() at ffffc000000784d0 netbsd:acpi_fdt_attach+0xb0
[ 1.0000040] fp ffffc00001205980 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc000012059e0 config_attach() at ffffc000005703d4 netbsd:config_attach+0x54
[ 1.0000040] fp ffffc00001205a50 fdt_scan() at ffffc000006a4fe4 netbsd:fdt_scan+0x164
[ 1.0000040] fp ffffc00001205be0 fdt_rescan() at ffffc000006a5500 netbsd:fdt_rescan+0x50
[ 1.0000040] fp ffffc00001205c10 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc00001205c70 config_found() at ffffc000005702b8 netbsd:config_found+0xd8
[ 1.0000040] fp ffffc00001205ce0 arm_fdt_attach() at ffffc00000072de8 netbsd:arm_fdt_attach+0x94
[ 1.0000040] fp ffffc00001205d40 config_attach_internal() at ffffc0000057005c netbsd:config_attach_internal+0x1b8
[ 1.0000040] fp ffffc00001205da0 config_rootfound() at ffffc00000570484 netbsd:config_rootfound+0x64
[ 1.0000040] fp ffffc00001205e00 cpu_configure() at ffffc0000006e69c netbsd:cpu_configure+0x4c
[ 1.0000040] fp ffffc00001205e30 main() at ffffc000008265a4 netbsd:main+0x2d4
[ 1.0000040] fp 0000000000000000 aarch64_start() at ffffc0000000189c netbsd:aarch64_start+0x109c
[ 1.0000040] cpu0: End traceback...
Stopped in pid 0.0 (system) at netbsd:cpu_Debugger+0xc: ldp x29, x30
, [sp],#16
db{0}>
>How-To-Repeat:
NetBSD-current aarch64 is running as a client on Oracle OCI under QEMU. Install a kernel post 2023/03/23.
>Fix:
N/A
Home |
Main Index |
Thread Index |
Old Index