Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2022 10:21:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264253] [13.0 on hyper-V] Getting error when we set link speed in hyperV VM
Message-ID:  <bug-264253-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 264253
           Summary: [13.0 on hyper-V] Getting error when we set link speed
                    in hyperV VM
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: prakashs0234@gmail.com

FreeBSD 13.0 HyperV VM:=20
  when I type this command "ifconfig nic0 media autoselect" I see following
"error: ifconfig: SIOCSIFMEDIA (media): Operation not supported".

FreeBSD 10.4 HyperV Vm:
  Running same command does not throw this error on the same hyperV host.=20

HyperV host NIC card: Intel X550-TX 10Gig


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
FreeBSD 10.4 log:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
bsd-10.4# ifconfig hn0 media autoselect
bsd-10.4# uname -r
10.4-RELEASE
bsd-10.4# ifconfig -mvvvv hn0
hn0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8051b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,LINK=
STATE>
=20=20=20=20=20=20=20
capabilities=3D48071b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,TSO6,LRO,L=
INKSTATE,TXCSUM_IPV6>
        ether 00:15:5d:01:0a:3c
        hwaddr 00:15:5d:01:0a:3c
        inet 192.168.1.41 netmask 0xffffffe0 broadcast 192.168.1.63=20
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        supported media:
                media autoselect
bsd-10.4# dmesg |grep hn
hn0: <Hyper-V Network Interface> on vmbus0
hn0: Ethernet address: 00:15:5d:01:0a:3c
hn1: <Hyper-V Network Interface> on vmbus0
hn0: link state changed to UP
hn1: Ethernet address: 00:15:5d:01:0a:3d
hn2: <Hyper-V Network Interface> on vmbus0
hn1: link state changed to UP
hn2: Ethernet address: 00:15:5d:01:0a:3e
hn2: link state changed to UP


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
FreeBSD 13.0 log:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
bsd-13.0:~ # dmesg |grep hn
hn0: <Hyper-V Network Interface> on vmbus0
hn0: Ethernet address: 00:15:5d:01:0a:58
hn1: <Hyper-V Network Interface> on vmbus0
hn0: link state changed to UP
hn1: Ethernet address: 00:15:5d:01:0a:59
hn1: link state changed to UP
root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #0
releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021=20=20=20=20
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
bsd-13.0:~ # ifconfig -mvvvv hn0
hn0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8051b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,LINK=
STATE>
=20=20=20=20=20=20=20
capabilities=3D48071b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,TSO6,LRO,L=
INKSTATE,TXCSUM_IPV6>
        ether 00:15:5d:01:0a:58
        inet6 fe80::215:5dff:fe01:a58%hn0 prefixlen 64 scopeid 0x2
        inet 192.168.1.36 netmask 0xffffffe0 broadcast 192.168.1.33
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        supported media:
                media autoselect
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
bsd-13.0:~ # ifconfig hn0 media autoselect
ifconfig: SIOCSIFMEDIA (media): Operation not supported
bsd-13.0:~ #

--=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-264253-227>