Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 19:21:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 211062] [ixv] sr-iov virtual function driver fails to attach
Message-ID:  <bug-211062-2472-9LfjFxb8Bx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211062-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211062-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211062

--- Comment #8 from Richard Gallamore <ultima@freebsd.org> ---
Booting up a windows 10:

nice -n -20 bhyve \
        -c 4 -m 8G -w -H -S \
        -s 0,hostbridge \
        -s 3,ahci-cd,${IMAGES}/null.iso \
        -s 5,ahci-hd,${ZVOL_DIR}/${NAME} \
        -s 6:0,passthru,129/0/133 \
        -l bootrom,${IMAGES}/BHYVE_UEFI.fd \
        -s 29,fbuf,tcp=3D${VNC},w=3D1600,h=3D900 \
        -s 30,xhci,tablet \
        -s 31,lpc -l com1,stdio \
        ${NAME}

pciconf -lv:
ppt0@pci0:129:0:133:    class=3D0x020000 card=3D0x00001458 chip=3D0x1515808=
6 rev=3D0x01
hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'X540 Ethernet Controller Virtual Function'
    class      =3D network
    subclass   =3D ethernet

While windows 10 is booting an error is received:
Assertion failed: (error =3D=3D 0), function modify_bar_registration, file
/usr/src/head/src/usr.sbin/bhyve/pci_emul.c, line 491.
Abort trap

Booting a debian 8 (jessie):
nice -n -20 bhyve \
        -c 2 -m 4G -w -H -S \
        -s 0,hostbridge \
        -s 5,ahci-hd,${ZVOL_DIR}/${NAME} \
        -s 6:0,passthru,129/0/133 \
        -l bootrom,${IMAGES}/BHYVE_UEFI.fd \
        -s 29,fbuf,tcp=3D${VNC},w=3D1440,h=3D900 \
        -s 30,xhci,tablet \
        -s 31,lpc -l com1,stdio \
        ${NAME}

This boots successfully, however # dmesg | grep ixgbe has errors:
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver -
version 2. 12.1-k
ixgbevf: Copyright (c) 2009 - 2012 Intel corporation.
ixgbevf: 0000:00:06.0: enabling device (0004 -> 0006)
ixgbevf: 0000:00:06.0: PF still in reset state. Is the PF interface up?
ixgbevf: 0000:00:06.0: Assigning random MAC address
ixgbevf: 0000:00:06.0: irq 48 for MSI/MSI-X
ixgbevf: 0000:00:06.0: irq 49 for MSI/MSI-X

# ip link set eth0 up
ixgbevf: Unable to start - perhaps the PF Driver isn't up yet
RTNETLINK answers: Network is down


Hope this helps.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211062-2472-9LfjFxb8Bx>