On Fri, Apr 21, 2023 at 1:39 PM Aaron Mason <simplersolut...@gmail.com> wrote: > > On Fri, Apr 7, 2023 at 3:25 AM Antun Matanović > <matanovic.an...@gmail.com> wrote: > > > > On Thu, 6 Apr 2023 at 12:55, Fabio Martins <fosf...@gmail.com> wrote: > > > > > > Try to add an entry in grub like in this article: > > > > > > https://raby.sh/installing-openbsd-on-ovhs-vps-2016-kvm-machines.html > > > > I have tried that, but it did not resolve the issue. Sorry I forgot to > > mention it originally. > > > > On Thu, 6 Apr 2023 at 14:24, Janne Johansson <icepic...@gmail.com> wrote: > > > > > > That is very much not the same issue. The arm64 instances on Oracle > > > finds the correct kernel and boots it, it just crashes at or after the > > > scsi attachment. > > > > This has been my experience as well, except on the amd64 instance, > > haven't tried arm64. > > > > Yeah I'm getting the same thing. Trying a build in QEMU and > transferring in to see if that helps. Will report back. >
Ok, good news, it still crashes at the same spot, but this time I've got more data. Copying in tech@ - if I've forgotten anything let me know and I'll fire up a fresh instance. OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1056817152 (1007MB) avail mem = 1005449216 (958MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf7050 (9 entries) bios0: vendor SeaBIOS version "?-20171121_152543-x86-ol7-builder-01.us.oracle.c om-4.el7.1" date 04/01/2014 bios0: QEMU Standard PC (i440FX + PIIX, 1996) acpi0 at bios0: ACPI 1.0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP APIC HPET acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD EPYC 7551 32-Core Processor, 1997.30 MHz, 17-01-02 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C FLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MO VBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP, LONG,LAHF,CMPLEG,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,TOPEXT,CPCTR,FSGSBASE,TSC_AD JUST,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,VIRTSSBD,XSAVEOPT, XSAVEC,XGETBV1,XSAVES cpu0: 64KB 64b/line 2-way D-cache, 64KB 64b/line 2-way I-cache, 512KB 64b/line 1 6-way L2 cache, 16MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 1000MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD EPYC 7551 32-Core Processor, 3377.48 MHz, 17-01-02 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C FLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MO VBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP, LONG,LAHF,CMPLEG,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,TOPEXT,CPCTR,FSGSBASE,TSC_AD JUST,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,VIRTSSBD,XSAVEOPT, XSAVEC,XGETBV1,XSAVES cpu1: 64KB 64b/line 2-way D-cache, 64KB 64b/line 2-way I-cache, 512KB 64b/line 1 6-way L2 cache, 16MB 64b/line 16-way L3 cache cpu1: smt 0, core 0, package 1 ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins acpihpet0 at acpi0: 100000000 Hz acpiprt0 at acpi0: bus 0 (PCI0) "ACPI0006" at acpi0 not configured acpipci0 at acpi0 PCI0 acpicmos0 at acpi0 com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: console "QEMU0001" at acpi0 not configured "PNP0A06" at acpi0 not configured "PNP0A06" at acpi0 not configured "PNP0A06" at acpi0 not configured "QEMU0002" at acpi0 not configured "ACPI0010" at acpi0 not configured acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) pvbus0 at mainbus0: KVM pvclock0 at pvbus0 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 w ired to compatibility, channel 1 wired to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11 piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9 iic0 at piixpm0 vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02 wsdisplay at vga1 not configured virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 vio0 at virtio0: address 02:00:17:00:21:c1 virtio0: msix shared virtio1 at pci0 dev 4 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio1: qsize 128 scsibus1 at vioscsi0: 255 targets uvm_fault(0xffffffff82533360, 0x8, 0, 1) -> e kernel: page fault trap, code=0 Stopped at vioscsi_req_done+0x26: movl 0x8(%r15),%ebx TID PID UID PRFLAGS PFLAGS CPU COMMAND * 0 0 0 0x10000 0x200 0K swapper vioscsi_req_done(e,ffff800000024a00,fffffd803f81c338,e,ffff800000024a00,ffff800 0000d3228) at vioscsi_req_done+0x26 vioscsi_vq_done(ffff8000000d3228,ffff8000000d3228,35f25523f6bb4a1e,0,ffff800000 024a00,2) at vioscsi_vq_done+0x8c virtio_check_vqs(ffff800000024a00,ffff800000024a00,7218c93d8ba63b0a,0,ffff80000 0024a00,fffffd803f81c338) at virtio_check_vqs+0xfe virtio_pci_poll_intr(ffff800000024a00,ffff800000024a00,87e9bb6ded25bbbf,ffff800 000024a00,fffffd803f895e58,ffffffff8245b448) at virtio_pci_poll_intr+0x3f vioscsi_scsi_cmd(fffffd803f895e58,fffffd803f895e58,ffffffff82924538,fffffd803f8 95e58,0,0) at vioscsi_scsi_cmd+0x2c0 scsi_xs_sync(fffffd803f895e58,fffffd803f895e58,8312711db5ecb4a,5,fffffd803f895e 58,e00000009) at scsi_xs_sync+0xaf scsi_test_unit_ready(ffff80000002fc00,5,1c3,ffff80000002fc00,d564ea3c4e52b90a,0 ) at scsi_test_unit_ready+0x4a scsi_probe_link(ffff80000004ff00,0,0,0,c225e22095c10a2d,0) at scsi_probe_link+0 x250 scsi_get_target_luns(ffff80000004ff00,0,ffffffff829246b0,ffff80000004ff00,d02af 0639b0c5a7b,ffff8000000d3000) at scsi_get_target_luns+0x2d scsi_probe_bus(ffff80000004ff00,ffff80000004ff00,2db3cd8db8293209,ffff8000000d3 000,ffffffff82924880,ffffffff8246bb68) at scsi_probe_bus+0x6e config_attach(ffff8000000d3000,ffffffff82427018,ffffffff82924880,ffffffff81d63f f0,3343b04140c8ae63,ffff8000000d3000) at config_attach+0x1f4 vioscsi_attach(ffff800000024a00,ffff8000000d3000,ffff800000024a00,ffff800000024 a00,b2076b89359255f4,ffff800000024a00) at vioscsi_attach+0x29a config_attach(ffff800000024a00,ffffffff82427788,ffff800000024a00,0,3343b041405a 908c,0) at config_attach+0x1f4 virtio_pci_attach(ffff80000002fd00,ffff800000024a00,ffffffff82924a80,ffff800000 02fd00,a597209ed784cd58,ffff80000002fd00) at virtio_pci_attach+0x185 end trace frame: 0xffffffff82924a70, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> trace vioscsi_req_done(e,ffff800000024a00,fffffd803f81c338,e,ffff800000024a00,ffff800 0000d3228) at vioscsi_req_done+0x26 vioscsi_vq_done(ffff8000000d3228,ffff8000000d3228,35f25523f6bb4a1e,0,ffff800000 024a00,2) at vioscsi_vq_done+0x8c virtio_check_vqs(ffff800000024a00,ffff800000024a00,7218c93d8ba63b0a,0,ffff80000 0024a00,fffffd803f81c338) at virtio_check_vqs+0xfe virtio_pci_poll_intr(ffff800000024a00,ffff800000024a00,87e9bb6ded25bbbf,ffff800 000024a00,fffffd803f895e58,ffffffff8245b448) at virtio_pci_poll_intr+0x3f vioscsi_scsi_cmd(fffffd803f895e58,fffffd803f895e58,ffffffff82924538,fffffd803f8 95e58,0,0) at vioscsi_scsi_cmd+0x2c0 scsi_xs_sync(fffffd803f895e58,fffffd803f895e58,8312711db5ecb4a,5,fffffd803f895e 58,e00000009) at scsi_xs_sync+0xaf scsi_test_unit_ready(ffff80000002fc00,5,1c3,ffff80000002fc00,d564ea3c4e52b90a,0 ) at scsi_test_unit_ready+0x4a scsi_probe_link(ffff80000004ff00,0,0,0,c225e22095c10a2d,0) at scsi_probe_link+0 x250 scsi_get_target_luns(ffff80000004ff00,0,ffffffff829246b0,ffff80000004ff00,d02af 0639b0c5a7b,ffff8000000d3000) at scsi_get_target_luns+0x2d scsi_probe_bus(ffff80000004ff00,ffff80000004ff00,2db3cd8db8293209,ffff8000000d3 000,ffffffff82924880,ffffffff8246bb68) at scsi_probe_bus+0x6e config_attach(ffff8000000d3000,ffffffff82427018,ffffffff82924880,ffffffff81d63f f0,3343b04140c8ae63,ffff8000000d3000) at config_attach+0x1f4 vioscsi_attach(ffff800000024a00,ffff8000000d3000,ffff800000024a00,ffff800000024 a00,b2076b89359255f4,ffff800000024a00) at vioscsi_attach+0x29a config_attach(ffff800000024a00,ffffffff82427788,ffff800000024a00,0,3343b041405a 908c,0) at config_attach+0x1f4 virtio_pci_attach(ffff80000002fd00,ffff800000024a00,ffffffff82924a80,ffff800000 02fd00,a597209ed784cd58,ffff80000002fd00) at virtio_pci_attach+0x185 config_attach(ffff80000002fd00,ffffffff824298c8,ffffffff82924a80,ffffffff814174 b0,3343b0414074c839,80002000) at config_attach+0x1f4 pci_probe_device(ffff80000002fd00,80002000,0,0,77cde88a7c5e3a10,0) at pci_probe _device+0x4e0 pci_enumerate_bus(ffff80000002fd00,0,0,ffff80000002fd00,37004db1c2d246e4,ffff80 000002c280) at pci_enumerate_bus+0x179 config_attach(ffff80000002c280,ffffffff824277f8,ffffffff82924c98,ffffffff814ea2 70,3343b041407b1095,ffff80000002f800) at config_attach+0x1f4 acpipci_attach_bus(ffff80000002c280,ffff80000002f800,f0820088fdd15b15,0,ffff800 00002c280,ffffffff82469ae0) at acpipci_attach_bus+0x1ac acpipci_attach_busses(ffff80000002c280,ffff80000002c280,cda6c298e36d3411,ffffff ff82924db8,ffff80000002c280,ffff800000070400) at acpipci_attach_busses+0x5d mainbus_attach(0,ffff80000002c280,0,0,be028cf40d2706ff,0) at mainbus_attach+0x1 c3 config_attach(0,ffffffff82427328,0,0,3343b04140719b0a,0) at config_attach+0x1f4 cpu_configure(b5e5435a030b56f4,0,0,ffff80000002d000,ffffffff814429d3,ffffffff82 924f00) at cpu_configure+0x33 main(0,0,0,0,0,1) at main+0x3a3 end trace frame: 0x0, count: -24 -- Typing "machine ddbcpu 1" led to a hard hang. -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta or for worse