tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: patchset review: full VirtIO console implementation
On Wednesday, January 21, 2026 12:17:26 AM Pacific Standard Time Emile
`iMil' Heitor wrote:
> Hi,
>
> This series of patches implements the full VirtIO console feature set
> as specified in the VirtIO 1.4 specification:
> https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html#x1-398
> 0003
>
> [1]: 01_mmio_cmdline_rework.patch
>
> This patch is not directly related to viocon(4). It reworks the VirtIO
> MMIO command-line handling to improve early console detection and to
> make the overall pv(4) integration cleaner.
>
> [2]: 02_viocon_console.patch
>
> Initial viocon(4) console support, originally written by
> Taylor R. Campbell.
>
> [3]: 03_viocon_early_console.patch
>
> Adds early console support to viocon(4), allowing console output
> before the full device configuration phase.
>
> [4]: 04_viocon_multiport.patch
>
> Adds multiport support to viocon(4), adapted from initial work by
> Jonathan A. Kollasch.
>
> Review and comments appreciated.
Sorry for the reply to an older patchset. I wanted to give it a try as
it'd be useful for libvirtd VMs using QEMU Guest Agent, which requires
multiport VirtIO serial for libvirt-specific reasons.
I tested this against NetBSD 11.1, and get an early panic with a VirtIO
serial with 2 ports attached.
Unfortunately it boots too early for the disk wedges to be generated,
so I'm not able to get a crash dump with this VM. I can try to get one
from a new VM if that'd be helpful.
`boot -v` dmesg follows:
---
[ 1.0000000] WARNING: system needs entropy for security; see
entropy(7)
[ 1.0000000] cpu_rng: rdrand/rdseed
[ 1.0000000] entropy: ready
[ 1.0000000] Found CTF at 0xffffffff81a00af8, size 0xf896d
[ 1.0000000] Loaded initial symtab at 0xffffffff81af9468, strtab at
0xffffffff81c53c08, # entries 59132
[ 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] 2024, 2025, 2026
[ 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 11.1 (GENERIC) #3: Thu Nov 26 13:55:54 PST 2026
[ 1.0000000] flurry@rinyousei:/home/flurry/Projects/NetBSD/usr/obj/
sys/arch/amd64/compile/GENERIC
[ 1.0000000] total memory = 2047 MB
[ 1.0000000] avail memory = 1952 MB
[ 1.0000000] timecounter: Timecounters tick every 10.000 msec
[ 1.0000000] Kernelized RAIDframe activated
[ 1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz
quality 100
[ 1.0000040] mainbus0 (root)
[ 1.0000040] ACPI: RSDP 0x00000000000F5420 000014 (v00 BOCHS )
[ 1.0000040] ACPI: RSDT 0x000000007FFE2056 000030 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 1.0000040] ACPI: FACP 0x000000007FFE1F2A 000074 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 1.0000040] ACPI: DSDT 0x000000007FFDFDC0 00216A (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 1.0000040] ACPI: FACS 0x000000007FFDFD80 000040
[ 1.0000040] ACPI: APIC 0x000000007FFE1F9E 000090 (v03 BOCHS BXPC
00000001 BXPC 00000001)
[ 1.0000040] ACPI: WAET 0x000000007FFE202E 000028 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 1.0000040] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.0000040] ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x11,
24 pins
[ 1.0000040] cpu0 at mainbus0 apid 0
[ 1.0000040] cpu0: Use mfence to serialize rdtsc
[ 1.0000040] cpu0: AMD Ryzen AI 7 PRO 350 w/ Radeon 860M ,
id 0xb60f00
[ 1.0000040] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000040] cpu1 at mainbus0 apid 1
[ 1.0000040] cpu1: AMD Ryzen AI 7 PRO 350 w/ Radeon 860M ,
id 0xb60f00
[ 1.0000040] cpu1: node 0, package 1, core 0, smt 0
[ 1.0000040] cpu2 at mainbus0 apid 2
[ 1.0000040] cpu2: AMD Ryzen AI 7 PRO 350 w/ Radeon 860M ,
id 0xb60f00
[ 1.0000040] cpu2: node 0, package 2, core 0, smt 0
[ 1.0000040] cpu3 at mainbus0 apid 3
[ 1.0000040] cpu3: AMD Ryzen AI 7 PRO 350 w/ Radeon 860M ,
id 0xb60f00
[ 1.0000040] cpu3: node 0, package 3, core 0, smt 0
[ 1.0000040] acpi0 at mainbus0: Intel ACPICA 20241212
[ 1.0000040] acpi0: X/RSDT: OemId <BOCHS ,BXPC ,00000001>, AslId
<BXPC,00000001>
[ 1.0000040] allocated pic ioapic0 type level pin 9 level 6 to cpu0
slot 0 idt entry 96
[ 1.0000040] LNKD: Links after initial probe:
[ 1.0000040] Link Device LNKD:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 11 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKD: Links after initial validation:
[ 1.0000040] Link Device LNKD:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 11 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKD: Links after disable:
[ 1.0000040] Link Device LNKD:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 255 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKA: Links after initial probe:
[ 1.0000040] Link Device LNKA:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 10 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKA: Links after initial validation:
[ 1.0000040] Link Device LNKA:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 10 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKA: Links after disable:
[ 1.0000040] Link Device LNKA:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 255 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKB: Links after initial probe:
[ 1.0000040] Link Device LNKB:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 10 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKB: Links after initial validation:
[ 1.0000040] Link Device LNKB:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 10 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKB: Links after disable:
[ 1.0000040] Link Device LNKB:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 255 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKC: Links after initial probe:
[ 1.0000040] Link Device LNKC:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 11 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKC: Links after initial validation:
[ 1.0000040] Link Device LNKC:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 11 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKC: Links after disable:
[ 1.0000040] Link Device LNKC:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 255 N 0 5 10 11 polarity 0 trigger 0
[ 1.0000040] LNKS: Links after initial probe:
[ 1.0000040] Link Device LNKS:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 9 N 0 9 polarity 0 trigger 0
[ 1.0000040] LNKS: Links after initial validation:
[ 1.0000040] Link Device LNKS:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 9 N 0 9 polarity 0 trigger 0
[ 1.0000040] LNKS: Links after disable:
[ 1.0000040] Link Device LNKS:
[ 1.0000040] Index IRQ Rtd Ref IRQs
[ 1.0000040] 0 255 N 0 9 polarity 0 trigger 0
[ 1.0000040] LNKS: ACPI: Found matching pin for 0.1.INTA at func 3: 9
[ 1.0000040] LNKB: ACPI: Found matching pin for 0.2.INTA at func 0: 10
[ 1.0000040] LNKC: ACPI: Found matching pin for 0.3.INTA at func 0: 11
[ 1.0000040] LNKD: ACPI: Found matching pin for 0.4.INTA at func 0: 11
[ 1.0000040] LNKA: ACPI: Found matching pin for 0.5.INTA at func 0: 10
[ 1.0000040] LNKB: ACPI: Found matching pin for 0.5.INTB at func 1: 10
[ 1.0000040] LNKC: ACPI: Found matching pin for 0.5.INTC at func 2: 11
[ 1.0000040] LNKD: ACPI: Found matching pin for 0.5.INTD at func 7: 11
[ 1.0000040] LNKB: ACPI: Found matching pin for 0.6.INTA at func 0: 10
[ 1.0000040] LNKC: ACPI: Found matching pin for 0.7.INTA at func 0: 11
[ 1.0000040] acpi0: SCI interrupting at int 9
[ 1.0000040] acpi0: fixed power button present
[ 1.0000040] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz
quality 1000
[ 1.0193967] qemufwcfg0 at acpi0 (FWCF, QEMU0002): io 0x510-0x51b
[ 1.0193967] qemufwcfg0: <QEMU>
[ 1.0193967] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0193967] com0: ns16550a, 16-byte FIFO
[ 1.0193967] com0: console
[ 1.0193967] allocated pic ioapic0 type edge pin 4 level 8 to cpu0
slot 1 idt entry 129
[ 1.0193967] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64
irq 1
[ 1.0193967] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0193967] fdc0 at acpi0 (FDC0, PNP0700): io 0x3f2-0x3f5,0x3f7 irq 6
drq 2
[ 1.0193967] allocated pic ioapic0 type edge pin 6 level 6 to cpu0
slot 2 idt entry 97
[ 1.0193967] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 1.0193967] pckbd0 at pckbc1 (kbd slot)
[ 1.0193967] allocated pic ioapic0 type edge pin 1 level 6 to cpu0
slot 3 idt entry 98
[ 1.0193967] pckbc1: using irq 1 for kbd slot
[ 1.0193967] wskbd0 at pckbd0 mux 1
[ 1.0193967] pms0 at pckbc1 (aux slot)
[ 1.0193967] allocated pic ioapic0 type edge pin 12 level 6 to cpu0
slot 4 idt entry 99
[ 1.0193967] pckbc1: using irq 12 for aux slot
[ 1.0193967] wsmouse0 at pms0 mux 0
[ 1.0193967] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0193967] pci0: i/o space, memory space enabled, rd/line, rd/mult,
wr/inv ok
[ 1.0193967] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI
and Memory Controller (rev. 0x02)
[ 1.0193967] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3)
PCI-ISA Bridge (rev. 0x00)
[ 1.0193967] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE
Interface (PIIX3) (rev. 0x00)
[ 1.0193967] piixide0: bus-master DMA support present
[ 1.0193967] piixide0: primary channel wired to compatibility mode
[ 1.0193967] allocated pic ioapic0 type edge pin 14 level 6 to cpu0
slot 5 idt entry 100
[ 1.0193967] piixide0: primary channel interrupting at ioapic0 pin 14
[ 1.0193967] atabus0 at piixide0 channel 0
[ 1.0193967] piixide0: secondary channel wired to compatibility mode
[ 1.0193967] allocated pic ioapic0 type edge pin 15 level 6 to cpu0
slot 6 idt entry 101
[ 1.0193967] piixide0: secondary channel interrupting at ioapic0 pin
15
[ 1.0193967] atabus1 at piixide0 channel 1
[ 1.0193967] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4)
Power Management Controller (rev. 0x03)
[ 1.0193967] timecounter: Timecounter "piixpm0" frequency 3579545 Hz
quality 1000
[ 1.0193967] piixpm0: 24-bit timer
[ 1.0193967] piixpm0: allocated pic ioapic0 type level pin 9 level 6
to cpu0 slot 0 idt entry 96
[ 1.0193967] interrupting at ioapic0 pin 9
[ 1.0193967] iic0 at piixpm0 port 0: I2C bus
[ 1.0193967] vga0 at pci0 dev 2 function 0: Red Hat QXL Video (rev.
0x05)
[ 1.0193967] wsdisplay0 at vga0 kbdmux 1
[ 1.0193967] wsmux1: connecting to wsdisplay0
[ 1.0193967] wskbd0: connecting to wsdisplay0
[ 1.0193967] drm at vga0 not configured
[ 1.0193967] wm0 at pci0 dev 3 function 0, 64-bit DMA: Intel i82540EM
1000BASE-T Ethernet (rev. 0x03)
[ 1.0193967] allocated pic ioapic0 type level pin 11 level 6 to cpu0
slot 7 idt entry 102
[ 1.0193967] wm0: interrupting at ioapic0 pin 11
[ 1.0193967] wm0: 32-bit 33MHz PCI bus
[ 1.0193967] wm0: 64 words (6 address bits) MicroWire EEPROM
[ 1.0193967] wm0: RX packet buffer size: 48KB
[ 1.0193967] wm0: Ethernet address 52:54:00:13:df:88
[ 1.0193967] wm0: 0x200002<LOCK_EECD,WOL>
[ 1.0193967] makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 0
[ 1.0193967] makphy0: Failed to access EADR. Are you an emulator?
[ 1.0193967] makphy0: Failed to read EXTSR. Are you an emulator?.
Regard as 1000BASE-T.
[ 1.0193967] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT, 1000baseT-FDX, auto
[ 1.0193967] hdaudio0 at pci0 dev 4 function 0: HD Audio Controller
[ 1.0193967] allocated pic msi0 type edge pin 0 level 7 to cpu0 slot
16 idt entry 112
[ 1.0193967] hdaudio0: interrupting at msi0 vec 0
[ 1.0193967] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-
bit
[ 1.0193967] hdafg0 at hdaudio0: vendor 1af4 product 0022
[ 1.0193967] hdafg0: DAC00 2ch: Speaker [Jack]
[ 1.0193967] hdafg0: ADC01 2ch: Line In [Jack]
[ 1.0193967] hdafg0: 2ch/2ch 16000Hz 22050Hz 32000Hz 44100Hz 48000Hz
88200Hz 96000Hz PCM16
[ 1.0193967] audio0 at hdafg0: playback, capture, full duplex,
independent
[ 1.0193967] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for playback
[ 1.0193967] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for recording
[ 1.0193967] spkr0 at audio0: PC Speaker (synthesized)
[ 1.0193967] wsbell at spkr0 not configured
[ 1.0193967] uhci0 at pci0 dev 5 function 0: Intel 82801I USB UHCI
Controller (rev. 0x03)
[ 1.0193967] allocated pic ioapic0 type level pin 10 level 6 to cpu0
slot 8 idt entry 103
[ 1.0193967] uhci0: interrupting at ioapic0 pin 10
[ 1.0193967] usb0 at uhci0: USB revision 1.0
[ 1.0193967] uhci1 at pci0 dev 5 function 1: Intel 82801I USB UHCI
Controller (rev. 0x03)
[ 1.0193967] allocated pic ioapic0 type level pin 10 level 6 to cpu0
slot 8 idt entry 103
[ 1.0193967] uhci1: interrupting at ioapic0 pin 10
[ 1.0193967] usb1 at uhci1: USB revision 1.0
[ 1.0193967] uhci2 at pci0 dev 5 function 2: Intel 82801I USB UHCI
Controller (rev. 0x03)
[ 1.0193967] allocated pic ioapic0 type level pin 11 level 6 to cpu0
slot 7 idt entry 102
[ 1.0193967] uhci2: interrupting at ioapic0 pin 11
[ 1.0193967] usb2 at uhci2: USB revision 1.0
[ 1.0193967] ehci0 at pci0 dev 5 function 7: Intel 82801I USB EHCI
Controller (rev. 0x03)
[ 1.0193967] ehci0: 32-bit DMA
[ 1.0193967] allocated pic ioapic0 type level pin 11 level 6 to cpu0
slot 7 idt entry 102
[ 1.0193967] ehci0: interrupting at ioapic0 pin 11
[ 1.0193967] ehci0: EHCI version 1.0
[ 1.0193967] ehci0: 3 companion controllers, 2 ports each: uhci0 uhci1
uhci2
[ 1.0193967] ehci0: Using DMA subregion for control data structures
[ 1.0193967] usb3 at ehci0: USB revision 2.0
[ 1.0193967] virtio0 at pci0 dev 6 function 0
[ 1.0193967] virtio0: console device (id 3, rev. 0x00)
[ 1.0193967] viocon0 at virtio0: features:
0x30000006<EVENT_IDX,INDIRECT_DESC,MULTIPORT,EMERG_WRITE>
[ 1.0193967] viocon0: has multiport feature, max_ports: 31
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 0 for p0rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 1 for p0tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 2 for
control_rx, size 32
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 3 for
control_tx, size 32
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 4 for p1rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 5 for p1tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 6 for p2rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 7 for p2tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 8 for p3rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 9 for p3tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 10 for p4rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 11 for p4tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 12 for p5rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 13 for p5tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 14 for p6rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 15 for p6tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 16 for p7rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 17 for p7tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 18 for p8rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 19 for p8tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 20 for p9rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 21 for p9tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 22 for p10rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 23 for p10tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 24 for p11rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 25 for p11tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 26 for p12rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 27 for p12tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 28 for p13rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 29 for p13tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 30 for p14rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 31 for p14tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 32 for p15rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 33 for p15tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 34 for p16rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 35 for p16tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 36 for p17rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 37 for p17tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 38 for p18rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 39 for p18tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 40 for p19rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 41 for p19tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 42 for p20rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 43 for p20tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 44 for p21rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 45 for p21tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 46 for p22rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 47 for p22tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 48 for p23rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 49 for p23tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 50 for p24rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 51 for p24tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 52 for p25rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 53 for p25tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 54 for p26rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 55 for p26tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 56 for p27rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 57 for p27tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 58 for p28rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 59 for p28tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 60 for p29rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 61 for p29tx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 62 for p30rx,
size 128
[ 1.0193967] virtio0: allocated 8192 byte for virtqueue 63 for p30tx,
size 128
[ 1.0193967] allocated pic ioapic0 type level pin 10 level 6 to cpu0
slot 8 idt entry 103
[ 1.0193967] virtio0: interrupting at ioapic0 pin 10
[ 1.0193967] virtio1 at pci0 dev 7 function 0
[ 1.0193967] virtio1: memory balloon device (id 5, rev. 0x00)
[ 1.0193967] viomb0 at virtio1: features: 0x10000000<INDIRECT_DESC>
[ 1.0193967] virtio1: allocated 8192 byte for virtqueue 0 for inflate,
size 128
[ 1.0193967] virtio1: allocated 8192 byte for virtqueue 1 for deflate,
size 128
[ 1.0193967] allocated pic ioapic0 type level pin 11 level 6 to cpu0
slot 7 idt entry 102
[ 1.0193967] virtio1: interrupting at ioapic0 pin 11
[ 1.0193967] isa0 at pcib0
[ 1.0193967] attimer0 at isa0 port 0x40-0x43
[ 1.0193967] pcppi0 at isa0 port 0x61
[ 1.0193967] spkr1 at pcppi0: PC Speaker
[ 1.0193967] wsbell at spkr1 not configured
[ 1.0193967] midi0 at pcppi0: PC speaker
[ 1.0193967] sysbeep0 at pcppi0
[ 1.0193967] attimer0: attached to pcppi0
[ 1.0193967] acpicpu0 at cpu0: ACPI CPU
[ 1.0193967] acpicpu0: C1: HLT, lat 0 us, pow 0 mW
[ 1.0193967] acpicpu1 at cpu1: ACPI CPU
[ 1.0193967] acpicpu2 at cpu2: ACPI CPU
[ 1.0193967] acpicpu3 at cpu3: ACPI CPU
[ 1.5861243] viocon0: adding port 1
[ 1.5869621] panic: assert_sleepable: interrupt caller=0xffffffff80d3fb54
[ 1.5869621] cpu0: Begin traceback...
[ 1.5869621] vpanic() at netbsd:vpanic+0x171
[ 1.5869621] panic() at netbsd:panic+0x3c
[ 1.5869621] assert_sleepable() at netbsd:assert_sleepable+0x99
[ 1.5869621] pool_cache_get_paddr() at
netbsd:pool_cache_get_paddr+0x8e
[ 1.5974048] kmem_intr_alloc() at netbsd:kmem_intr_alloc+0x108
[ 1.5974048] kmem_zalloc() at netbsd:kmem_zalloc+0x11
[ 1.5974048] tty_alloc() at netbsd:tty_alloc+0x16
[ 1.5974048] viocon_port_create() at netbsd:viocon_port_create+0x16b
[ 1.6066199] viocon_control_rx_intr() at
netbsd:viocon_control_rx_intr+0x2ce
[ 1.6066199] virtio_vq_intr() at netbsd:virtio_vq_intr+0x4d
[ 1.6066199] virtio_pci_intr() at netbsd:virtio_pci_intr+0x78
[ 1.6172500] intr_kdtrace_wrapper() at
netbsd:intr_kdtrace_wrapper+0x32
[ 1.6172500] intr_biglock_wrapper() at
netbsd:intr_biglock_wrapper+0x1e
[ 1.6172500] Xhandle_ioapic_level8() at
netbsd:Xhandle_ioapic_level8+0x7d
[ 1.6270496] --- interrupt ---
[ 1.6270496] Xspllower() at netbsd:Xspllower+0xe
[ 1.6270496] DDB lost frame for netbsd:Xsoftintr+0x4c, trying
0xffffc200b25eb0f0
[ 1.6270496] Xsoftintr() at netbsd:Xsoftintr+0x4c
[ 1.6367573] --- interrupt ---
[ 1.6367573] cpu0: End traceback...
[ 1.6367573] fatal breakpoint trap in supervisor mode
[ 1.6367573] trap type 1 code 0 rip 0xffffffff8023537d cs 0x8 rflags 0x202
cr2 0 ilevel 0x6 rsp 0xffffc200b25eac48
[ 1.6474678] curlwp 0xffffb081b8c7dc00 pid 0.5 lowest kstack
0xffffc200b25e62c0
Home |
Main Index |
Thread Index |
Old Index