[Bug 264253] [13.0 on hyper-V] Getting error when we set link speed in hyperV VM
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 May 2022 10:21:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264253
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:
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.
HyperV host NIC card: Intel X550-TX 10Gig
==========================
FreeBSD 10.4 log:
==========================
bsd-10.4# ifconfig hn0 media autoselect
bsd-10.4# uname -r
10.4-RELEASE
bsd-10.4# ifconfig -mvvvv hn0
hn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8051b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,LINKSTATE>
capabilities=48071b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,TSO6,LRO,LINKSTATE,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
nd6 options=29<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
==========================
FreeBSD 13.0 log:
==========================
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
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
bsd-13.0:~ # ifconfig -mvvvv hn0
hn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8051b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,LINKSTATE>
capabilities=48071b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,TSO6,LRO,LINKSTATE,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=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
bsd-13.0:~ # ifconfig hn0 media autoselect
ifconfig: SIOCSIFMEDIA (media): Operation not supported
bsd-13.0:~ #
--
You are receiving this mail because:
You are the assignee for the bug.