Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2018 14:23:36 -0700
From:      Mark Millard <marklmi26-fbsd@yahoo.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, freebsd-amd64@freebsd.org
Subject:   "Could not allocate I/O space" and "intsmb0 attach returned 6" in a under-Hyper-V context on Ryzen Threadripper: Is this expected?
Message-ID:  <621E84E6-D42C-4778-B028-AF3E1042CE7D@yahoo.com>

next in thread | raw e-mail | index | archive | help
For:

# uname -apKU
FreeBSD FBSDHUGE 12.0-CURRENT FreeBSD 12.0-CURRENT  r331831M  amd64 =
amd64 1200060 1200060

I get:

. . .
pci0: <bridge> at device 7.3 (no driver attached)
. . .
intsmb0: <Intel PIIX4 SMBUS Interface> at device 7.3 on pci0
intsmb0: Could not allocate I/O space
device_attach: intsmb0 attach returned 6

on a Ryzen Threadripper 1950X where FreeBSD is being run under
Hyper-V (on a Windows 10 Pro machine).

Is this expected? Did I misconfigure something in Hyper-V?

This may have been true for a long time and I just
had not noticed until now.

For reference:

# pciconf -l
hostb0@pci0:0:0:0:      class=3D0x060000 card=3D0x00000000 =
chip=3D0x71928086 rev=3D0x03 hdr=3D0x00
isab0@pci0:0:7:0:       class=3D0x060100 card=3D0x00001414 =
chip=3D0x71108086 rev=3D0x01 hdr=3D0x00
atapci0@pci0:0:7:1:     class=3D0x010180 card=3D0x00000000 =
chip=3D0x71118086 rev=3D0x01 hdr=3D0x00
none0@pci0:0:7:3:       class=3D0x068000 card=3D0x00000000 =
chip=3D0x71138086 rev=3D0x02 hdr=3D0x00
vgapci0@pci0:0:8:0:     class=3D0x030000 card=3D0x00000000 =
chip=3D0x53531414 rev=3D0x00 hdr=3D0x00

# pciconf -l -v 0:0:7:3
none0@pci0:0:7:3:       class=3D0x068000 card=3D0x00000000 =
chip=3D0x71138086 rev=3D0x02 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '82371AB/EB/MB PIIX4 ACPI'
    class      =3D bridge

And . . .

Hyper-V Version: 10.0.16299 [SP0]
  =
Features=3D0x2e7f<VPRUNTIME,TMREFCNT,SYNIC,SYNTM,APIC,HYPERCALL,VPINDEX,RE=
FTSC,IDLE,TMFREQ>
  PM Features=3D0x0 [C2]
  Features3=3D0xbed7b2<DEBUG,XMMHC,IDLE,NUMA,TMFREQ,SYNCMC,CRASH,NPIEP>
Timecounter "Hyper-V" frequency 10000000 Hz quality 2000
CPU: AMD Ryzen Threadripper 1950X 16-Core Processor  (3393.73-MHz =
K8-class CPU)
  Origin=3D"AuthenticAMD"  Id=3D0x800f11  Family=3D0x17  Model=3D0x1  =
Stepping=3D1
  =
Features=3D0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
  =
Features2=3D0xfed83203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,P=
OPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=3D0x3f3<LAHF,CMP,CR8,ABM,SSE4A,MAS,Prefetch,OSVW>
  Structured Extended =
Features=3D0x201c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,SHA>
  XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=3D0x4<XSaveErPtr>
Hypervisor: Origin =3D "Microsoft Hv"
real memory  =3D 53687091200 (51200 MB)
avail memory =3D 52206305280 (49787 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <VRTUAL MICROSFT>
FreeBSD/SMP: Multiprocessor System Detected: 29 CPUs
FreeBSD/SMP: 1 package(s) x 29 core(s)



The local changes to /usr/src/ are mostly tied to
powerpc64 and powerpc experimental activity, but
there is some arm64 and arm material:

# svnlite status /usr/src/ | sort
?       /usr/src/nohup.out
?       /usr/src/sys/amd64/conf/GENERIC-DBG
?       /usr/src/sys/amd64/conf/GENERIC-NODBG
?       /usr/src/sys/arm/conf/GENERIC-DBG
?       /usr/src/sys/arm/conf/GENERIC-NODBG
?       /usr/src/sys/arm64/conf/GENERIC-DBG
?       /usr/src/sys/arm64/conf/GENERIC-NODBG
?       /usr/src/sys/dts/arm/a83t.dtsi
?       /usr/src/sys/dts/arm/sinovoip-bpi-m3.dts
?       /usr/src/sys/dts/arm/sun8i-a83t-sinovoip-bpi-m3.dts
?       /usr/src/sys/dts/arm/sun8i-a83t.dtsi
?       /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG
?       /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG
?       /usr/src/sys/powerpc/conf/GENERICvtsc-DBG
?       /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG
M       /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M       /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp
M       /usr/src/crypto/openssl/crypto/armcap.c
M       /usr/src/lib/libkvm/kvm_powerpc.c
M       /usr/src/lib/libkvm/kvm_private.c
M       /usr/src/stand/defs.mk
M       /usr/src/stand/powerpc/boot1.chrp/Makefile
M       /usr/src/stand/powerpc/kboot/Makefile
M       /usr/src/sys/arm64/arm64/identcpu.c
M       /usr/src/sys/conf/kmod.mk
M       /usr/src/sys/conf/ldscript.powerpc
M       /usr/src/sys/kern/subr_pcpu.c
M       /usr/src/sys/modules/dtb/allwinner/Makefile
M       /usr/src/sys/powerpc/aim/mmu_oea64.c
M       /usr/src/sys/powerpc/ofw/ofw_machdep.c
M       /usr/src/sys/powerpc/powerpc/interrupt.c
M       /usr/src/sys/powerpc/powerpc/mp_machdep.c
M       /usr/src/sys/powerpc/powerpc/trap.c
M       /usr/src/usr.bin/top/machine.c

I've modified top to show "MaxObsUsed" (Maximum Observed
used) for Swap when it is positive:

Swap: 194G Total, 4235M Used, 4235M MaxObsUsed, 190G Free, 2% Inuse, =
416K In


=3D=3D=3D
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?621E84E6-D42C-4778-B028-AF3E1042CE7D>