Hi,

Sorry, copy-paste error.

This is the non-working boot output:

com0: 19200 baud

boot> 

booting hd0a:/bsd: entry point at 0xffffffff81001000

[ using 4028328 bytes of bsd ELF symbol table ]

Copyright (c) 1982, 1986, 1989, 1991, 1993

        The Regents of the University of California.  All rights
reserved.

Copyright (c) 1995-2024 OpenBSD. All rights reserved.
https://www.OpenBSD.org


OpenBSD 7.6 (GENERIC.MP) #1: Mon Feb 10 00:14:14 MST 2025

    
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

real mem = 4278046720 (4079MB)

avail mem = 4125204480 (3934MB)

random: good seed from bootblocks

mpath0 at root

scsibus0 at mpath0: 256 targets

mainbus0 at root

bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf6500 (10 entries)

bios0: vendor SeaBIOS version "Arch Linux 1.16.3-1-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 WAET

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 Opteron(TM) Processor 6276, 2300.54 MHz, 15-01-02

cpu0: cpuid 1
edx=178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT>
ecx=97b82203<SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,HV>

cpu0: cpuid 6 eax=4<ARAT>

cpu0: cpuid 7.0 ebx=2<TSC_ADJUST> edx=20000000

cpu0: cpuid 80000001 edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG>
ecx=810bf7<LAHF,CMPLEG,SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,XOP,FMA4,CPCTR>

cpu0: cpuid 80000008 ebx=2001000<IBPB,VIRTSSBD>

cpu0: 64KB 64b/line 2-way D-cache, 64KB 64b/line 2-way I-cache

cpu0: 512KB 64b/line 16-way L2 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 Opteron(TM) Processor 6276, 2300.46 MHz, 15-01-02

cpu1: smt 0, core 1, package 0

cpu2 at mainbus0: apid 2 (application processor)

cpu2: AMD Opteron(TM) Processor 6276, 2300.73 MHz, 15-01-02

cpu2: smt 0, core 2, package 0

cpu3 at mainbus0: apid 3 (application processor)

cpu3: AMD Opteron(TM) Processor 6276, 2300.93 MHz, 15-01-02

cpu3: smt 0, core 3, package 0

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

"PNP0A06" at acpi0 not configured

"PNP0A06" at acpi0 not configured

"PNP0A06" at acpi0 not configured

"QEMU0002" at acpi0 not configured

com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo

com0: console

acpicmos0 at acpi0

"ACPI0010" at acpi0 not configured

acpicpu0 at acpi0: C1(@1 halt!)

acpicpu1 at acpi0: C1(@1 halt!)

acpicpu2 at acpi0: C1(@1 halt!)

acpicpu3 at acpi0: C1(@1 halt!)

pvbus0 at mainbus0: KVM

pvclock0 at pvbus0

pci0 at mainbus0 bus 0

0:3:0: mem address conflict 0x380000000000/0x4000

0:4:0: mem address conflict 0x380000004000/0x4000

0:5:0: mem address conflict 0x380000008000/0x4000

0:6:0: mem address conflict 0x38000000c000/0x4000

0:7:0: mem address conflict 0x380000010000/0x4000

0:8:0: mem address conflict 0x380000014000/0x4000

0:9:0: mem address conflict 0x380000018000/0x4000

0:10:0: mem address conflict 0x38000001c000/0x4000

0:11:0: mem address conflict 0x380000020000/0x4000

0:12:0: mem address conflict 0x380000024000/0x4000

0:13:0: mem address conflict 0x380000028000/0x4000

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)

atapiscsi0 at pciide0 channel 1 drive 0

scsibus1 at atapiscsi0: 2 targets

cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2

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 52:54:00:12:29:16

virtio0: msix per-VQ

virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00

vio1 at virtio1, address 52:54:00:12:40:22

virtio1: msix per-VQ

virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Network" rev 0x00

vio2 at virtio2, address 52:54:00:12:41:33

virtio2: msix per-VQ

virtio3 at pci0 dev 6 function 0 "Qumranet Virtio Network" rev 0x00

vio3 at virtio3, address 52:54:00:12:41:44

virtio3: msix per-VQ

virtio4 at pci0 dev 7 function 0 "Qumranet Virtio Network" rev 0x00

vio4 at virtio4, address 52:54:00:12:41:55

virtio4: msix per-VQ

virtio5 at pci0 dev 8 function 0 "Qumranet Virtio Network" rev 0x00

vio5 at virtio5, address 52:54:00:12:41:66

virtio5: msix per-VQ

virtio6 at pci0 dev 9 function 0 "Qumranet Virtio Network" rev 0x00

vio6 at virtio6, address 52:54:00:12:41:77

virtio6: msix per-VQ

virtio7 at pci0 dev 10 function 0 "Qumranet Virtio Network" rev 0x00

vio7 at virtio7, address 52:54:00:12:41:88

virtio7: msix per-VQ

virtio8 at pci0 dev 11 function 0 "Qumranet Virtio Network" rev 0x00

vio8 at virtio8, address 52:54:00:12:41:99

virtio8: msix per-VQ

virtio9 at pci0 dev 12 function 0 "Qumranet Virtio Network" rev 0x00

vio9 at virtio9, address 52:54:00:12:42:10

virtio9: msix per-VQ

virtio10 at pci0 dev 13 function 0 "Qumranet Virtio Storage" rev 0x00

vioblk0 at virtio10

scsibus2 at vioblk0: 1 targets

sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, >

sd0: 102400MB, 512 bytes/sector, 209715200 sectors

virtio10: msix per-VQ

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 mux 1

pms0 at pckbc0 (aux slot)

wsmouse0 at pms0 mux 0

pcppi0 at isa0 port 0x61

spkr0 at pcppi0

lpt0 at isa0 port 0x378/4 irq 7

vmm0 at mainbus0: SVM/RVI

vscsi0 at root

scsibus3 at vscsi0: 256 targets

softraid0 at root

scsibus4 at softraid0: 256 targets

fd0 at fdc0 drive 1: density unknown


On Tue, 25 Feb 2025 16:14:07 +0100
Claudio Jeker <[email protected]> wrote:

> On Tue, Feb 25, 2025 at 02:42:21PM +0100, Jan wrote:
> > Hello together,
> > 
> > i tried this question on @misc but did not get a response.
> > Hope it is okay to ask here after a few weeks?
> > 
> > I used a Qotom Box with 1G Interfaces 8G Ram and i5 8th generation
> > for some years, but recently i changed due to various reasons from
> > hardware to a qemu-vm (ArchLinux Host) on another host. The OpenBSD
> > Box/VM also routes / pf between some internal vlans.
> > 
> > Everything seems to work great and reasonably fast, as i'm used from
> > OpenBSD.
> > 
> > But i think i hit a small bug or perhaps a known limit (i did not find
> > anything in the man pages though):
> > 
> > I'm doing the vlan-tagging on the VM-Host-Side, so i have 9 interfaces
> > that connects to a bridge on the qemu host, and one interface for the
> > Internet-Uplink which connects also via a hostbridge, so 10 interfaces
> > alltogether.
> > 
> > If i add more than 9 vio Interfaces to the qemu-vm-config, OpenBSD
> > boots only to "fd0 at fdc0 drive 1: density unknown". I'm using stable.
> > 
> > As a workaround, i added the last interface as a intel-nic, and
> > everything works fine again.
> > 
> > dmesg with added ifconfig from a working config:
> > https://me.zediria.de/logs/dmesg-working.txt
> > 
> > serial-boot-output from a failure config (stable):
> > https://me.zediria.de/logs/dmesg-working.txt
> > 
> > I can reproduce this on a different machines with the same qemu
> > options / version. The qemu-version is 9.2.0 (Package-Version
> > Archlinux: 9.2.0-2)
> > 
> > Here is how i fire up the OpenBSD vm using QEMU:
> > https://me.zediria.de/logs/qemu.txt
> > 
> > I tried the same configuration with a Linux Guest, no problems.
> > It is completly irrelevant if i configure the interfaces in OpenBSD or
> > not (i think the boot stops long before the network scripts)
> > 
> > I tried upgrading to a the latest snapshot, but the bsd.upgrade kernel
> > is not finding the storage device, so i stopped trying that.
> > (Error: "vioblk0 at virtio9virtio9: Feature negotiation failed")
> 
> It would help to include the not working dmesg.
> 
> -- 
> :wq Claudio


-- 
Jan <[email protected]>

Reply via email to