NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange virtio(4) behavior on Linode



	hello.  Following up on my own post, by porting the latest fixes to the scsipi sources and
the vioscsi driver with respect to probing discontiguous luns, I am now able to utilize all the
virtual disks I created for my virtual machine.  It would be nice if these fixes could be back
ported to NetBSD-9, but since I'm working with something newer than  that, I probably am not
going to be the one to do that.

-thanks
-Brian


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 9.99.77 (LINODE) #0: Mon Aug 15 11:21:33 PDT 2022
	buhrow%loth-9.nfbcal.org@localhost:/usr/local/netbsd/src-9977/sys/arch/amd64/compile/LINODE
total memory = 4095 MB
avail memory = 3943 MB
entropy: entering seed from bootloader with 256 bits of entropy
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
QEMU Standard PC (Q35 + ICH9, 2009) (pc-q35-7.0)
mainbus0 (root)
ACPI: RSDP 0x00000000000F59A0 000014 (v00 BOCHS )
ACPI: RSDT 0x000000007FFE2303 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: FACP 0x000000007FFE20F3 0000F4 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: DSDT 0x000000007FFE0040 0020B3 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: FACS 0x000000007FFE0000 000040
ACPI: APIC 0x000000007FFE21E7 000080 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: HPET 0x000000007FFE2267 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: MCFG 0x000000007FFE229F 00003C (v01 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: WAET 0x000000007FFE22DB 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
ACPI: 1 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x11, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Use mfence to serialize rdtsc
cpu0: AMD EPYC 7642 48-Core Processor                , id 0x830f10
cpu0: node 0, package 0, core 0, smt 0
cpu1 at mainbus0 apid 1
cpu1: AMD EPYC 7642 48-Core Processor                , id 0x830f10
cpu1: node 0, package 0, core 1, smt 0
acpi0 at mainbus0: Intel ACPICA 20201113
acpi0: X/RSDT: OemId <BOCHS ,BXPC    ,00000001>, AslId <BXPC,00000001>
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000b0000000
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 100000000 Hz quality 2000
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
COM1 (PNP0501) at acpi0 not configured
qemufwcfg0 at acpi0 (FWCF, QEMU0002): io 0x510-0x51b
qemufwcfg0: <QEMU>
DRAC (PNP0C01) at acpi0 not configured
ACPI: Enabled 2 GPEs in block 00 to 3F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 29c0 (rev. 0x00)
agp0 at pchb0autoconfiguration error: : can't find internal VGA config space
vga0 at pci0 dev 1 function 0: vendor 1234 product 1111 (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
drm at vga0 not configured
virtio0 at pci0 dev 2 function 0
virtio0: Virtio SCSI Device (rev. 0x00)
vioscsi0 at virtio0: Features: 0x10000000<INDIRECT_DESC>
virtio0: allocated 86016 byte for virtqueue 0 for control, size 256
virtio0: using 73728 byte (4608 entries) indirect descriptors
virtio0: allocated 86016 byte for virtqueue 1 for event, size 256
virtio0: using 73728 byte (4608 entries) indirect descriptors
virtio0: allocated 86016 byte for virtqueue 2 for request, size 256
virtio0: using 73728 byte (4608 entries) indirect descriptors
vioscsi0: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
virtio0: config interrupting at msix0 vec 0
virtio0: queues interrupting at msix0 vec 1
scsibus0 at vioscsi0: 256 targets, 16384 luns per target
virtio1 at pci0 dev 3 function 0
virtio1: Virtio SCSI Device (rev. 0x00)
vioscsi1 at virtio1: Features: 0x10000000<INDIRECT_DESC>
virtio1: allocated 86016 byte for virtqueue 0 for control, size 256
virtio1: using 73728 byte (4608 entries) indirect descriptors
virtio1: allocated 86016 byte for virtqueue 1 for event, size 256
virtio1: using 73728 byte (4608 entries) indirect descriptors
virtio1: allocated 86016 byte for virtqueue 2 for request, size 256
virtio1: using 73728 byte (4608 entries) indirect descriptors
vioscsi1: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
virtio1: config interrupting at msix1 vec 0
virtio1: queues interrupting at msix1 vec 1
scsibus1 at vioscsi1: 256 targets, 16384 luns per target
virtio2 at pci0 dev 4 function 0
virtio2: Virtio Network Device (rev. 0x00)
vioif0 at virtio2: Features: 0x11070020<INDIRECT_DESC,NOTIFY_ON_EMPTY,CTRL_RX,CTRL_VQ,STATUS,MAC>
vioif0: Ethernet address f2:3c:93:b4:0d:1d
virtio2: allocated 20480 byte for virtqueue 0 for rx0, size 256
virtio2: using 8192 byte (512 entries) indirect descriptors
virtio2: allocated 81920 byte for virtqueue 1 for tx0, size 256
virtio2: using 69632 byte (4352 entries) indirect descriptors
virtio2: allocated 8192 byte for virtqueue 2 for control, size 64
virtio2: config interrupting at msix2 vec 0
virtio2: queues interrupting at msix2 vec 1
ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 2918 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
tco0 at ichlpcib0: TCO (watchdog) timer configured.
tco0: Min/Max interval 1/367 seconds
ahcisata0 at pci0 dev 31 function 2: vendor 8086 product 2922 (rev. 0x02)
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.0, 6 ports, 32 slots, CAP 0xc0141f05<SAM,ISS=0x1=Gen1,SNCQ,S64A>
ahcisata0: interrupting at msi3 vec 0
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
atabus4 at ahcisata0 channel 4
atabus5 at ahcisata0 channel 5
ichsmb0 at pci0 dev 31 function 3: vendor 8086 product 2930 (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 16
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, 1-byte FIFO
com0: console
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
spkr0 at pcppi0: PC Speaker
wsbell at spkr0 not configured
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer0: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
sd0 at scsibus0 target 0 lun 0: <QEMU, QEMU HARDDISK, 2.5+> disk fixed
sd0: 8000 MB, 16253 cyl, 16 head, 63 sec, 512 bytes/sect x 16384000 sectors
IPsec: Initialized Security Association Processing.
sd0: async, 8-bit transfers, tagged queueing
aes: Intel AES-NI
chacha: x86 SSE2 ChaCha
adiantum: self-test passed
aes_ccm: self-test passed
blake2s: self-test passed
NVMM: SVM not supported
autoconfiguration error: nvmm: cpu not supported
WARNING: module error: built-in module nvmm failed its MODULE_CMD_INIT, error 86
sd1 at scsibus1 target 1 lun 2: <QEMU, QEMU HARDDISK, 2.5+> disk fixed
sd1: 3000 MB, 6095 cyl, 16 head, 63 sec, 512 bytes/sect x 6144000 sectors
sd1: async, 8-bit transfers, tagged queueing
cgd: self-test aes-xts-256
cgd: self-test aes-xts-512
cgd: self-test aes-cbc-128
cgd: self-test aes-cbc-256
cgd: self-test 3des-cbc-192
cgd: self-test blowfish-cbc-448
cgd: self-test aes-cbc-128 (encblkno8)
cgd: self-tests passed
WARNING: 2 errors while detecting hardware; check system log.
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
kern.module.path=/stand/amd64/9.99.77/modules
wsbell0 at spkr0 mux 1
Accounting started


Home | Main Index | Thread Index | Old Index