Hi,

On Thu, 31 Oct 2024, Stefan Fritsch wrote:
> please also post the messages from 7.6 or -current, so that we see where
> exactly it reboots. Even better would be to re-compile the -current kernel
> with VIRTIO_DEBUG set to 1 in sys/dev/pv/virtiovar.h and post the boot console
> output.
> 
> Am 29.10.24 um 04:16 schrieb yokizf PT7HZr:
> > Hi Team,
> > 
> > I have been using openbsd on Alibaba Cloud Server since 6.8,
> > but since openbsd 7.4, I cannot install or upgrade openbsd.
> > 
> > Whenever I upgrade/install and step in configure vio0 (set static IP or
> > autoconf),
> > the kernel will crash, and the ECS machine will reboot immediately.
> > It will not stop in bbd console prompt (ddb.console=1, ddb.panic=1)
> > I cannot obtain and give specific and effective information,
> > 
> > But I can confirm the crash caused by vio driver (vio0),

for the list: I got some more info from the reporter and am now convinced 
that this is the same issue as reported at

https://marc.info/?l=openbsd-bugs&m=172565469817124&w=2

It should be fixed in qemu versions 8.2.7, 9.0.3, and 9.1 by this commit:

https://gitlab.com/qemu-project/qemu/-/commit/a8e63ff289d137197ad7a701a587cc432872d798

Cheers,
Stefan

> > 
> > I tried booting directly from openbsd 7.4 kernel, not from bsd.rd,
> > but it still passed the ddb console prompt and rebooted immediately.
> > 
> > Here is the dmesg from openbsd 7.3,
> > 
> > /OpenBSD 7.3 (GENERIC) #5: Fri Dec  8 21:38:24 CET 2023
> >      r...@syspatch-73-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/
> > GENERIC
> > real mem = 1056833536 (1007MB)
> > avail mem = 1005568000 (958MB)
> > random: good seed from bootblocks
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5850 (9 entries)
> > bios0: vendor SeaBIOS version "449e491" date 04/01/2014
> > bios0: Alibaba Cloud Alibaba Cloud ECS
> > acpi0 at bios0: ACPI 1.0
> > acpi0: sleep states S5
> > acpi0: tables DSDT FACP SSDT APIC SRAT
> > 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: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz, 2500.61 MHz, 06-55-04
> > cpu0:
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512CD,AVX512BW,AVX512VL,IBRS,IBPB,STIBP,ARAT,XSAVEOPT,XSAVEC,XGETBV1,MELTDOWN
> > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/
> > line 16-way L2 cache, 33MB 64b/line 11-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
> > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > "ACPI0006" at acpi0 not configured
> > acpipci0 at acpi0 PCI0
> > "QEMU0002" at acpi0 not configured
> > acpicmos0 at acpi0
> > com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> > "QEMU0001" at acpi0 not configured
> > "PNP0A06" at acpi0 not configured
> > "ACPI0007" at acpi0 not configured
> > acpicpu0 at acpi0: C1(@1 halt!)
> > cpu0: using Skylake AVX MDS workaround
> > 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 wired 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 "Cirrus Logic CL-GD5446" rev 0x00
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
> > vio0 at virtio0: address 00:16:3e:05:b4:d5
> > virtio0: msix shared
> > virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Console" rev 0x00
> > virtio1: no matching child driver; not configured
> > virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00
> > vioblk0 at virtio2
> > scsibus1 at vioblk0: 1 targets
> > sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
> > sd0: 40960MB, 512 bytes/sector, 83886080 sectors
> > virtio2: msix shared
> > virtio3 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev 0x00
> > viomb0 at virtio3
> > virtio3: apic 0 int 10
> > isa0 at pcib0
> > isadma0 at isa0
> > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> > pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> > pckbd0 at pckbc0 (kbd slot)
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pms0 at pckbc0 (aux slot)
> > wsmouse0 at pms0 mux 0
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > usb0 at uhci0: USB revision 1.0
> > uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev
> > 1.00/1.00 addr 1
> > uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet"
> > rev 2.00/0.00 addr 2
> > uhidev0: iclass 3/0
> > ums0 at uhidev0: 3 buttons, Z dir
> > wsmouse1 at ums0 mux 0
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > softraid0: sd1 was not shutdown properly
> > sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
> > sd1: 40954MB, 512 bytes/sector, 83874773 sectors
> > root on sd1a (6498d4e47c95d485.a) swap on sd1b dump on sd1b
> > WARNING: / was not properly unmounted
> > fd0 at fdc0 drive 1: density unknown/
> > /
> > /
> > Thank you
> 
> 

Reply via email to