Jmicron 以太网不工作(尝试了所有方法)

Jmicron 以太网不工作(尝试了所有方法)

我最近安装了带有 Windows 双启动的 ubuntu 16.04。现在,我的以太网在 Ubuntu 上无法使用,但在 Windows 上可以。我用 Google 搜索并尝试了所有方法,但没有任何变化。以下是一些输出:

sudo lshw-类网络

    *-network DISABLED      
       description: Wireless interface
       product: RTL8191SEvB Wireless LAN Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: wlp5s0
       version: 10
       serial: 48:5d:60:44:42:f4
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192se driverversion=4.15.0-46-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:18 ioport:3000(size=256) memory:f0500000-f0503fff
  *-network
       description: Ethernet interface
       product: JMC250 PCI Express Gigabit Ethernet Controller
       vendor: JMicron Technology Corp.
       physical id: 0.5
       bus info: pci@0000:06:00.5
       logical name: enp6s0f5
       version: 03
       serial: 00:90:f5:ae:76:c7
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msix msi bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=jme driverversion=1.0.8 duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:27 memory:f0600000-f0603fff ioport:4400(size=128) ioport:4000(size=256)
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: enp0s29u1u1
       serial: 36:2f:77:15:b4:6b
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.35 link=yes multicast=yes

sudo ethtool enp6s0f5

Settings for enp6s0f5:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pg
Wake-on: g
Current message level: 0x000020c6 (8390)
               probe link rx_err tx_err hw
Link detected: no

消息 | grep -e jme -e enp6

[    5.490070] jme: JMicron JMC2XX ethernet driver version 1.0.8
[    5.492985] jme 0000:06:00.5: can't disable ASPM; OS doesn't have ASPM control
[    5.493973] jme 0000:06:00.5 eth0: JMC250 Gigabit Ethernet chiprev:23 pcirev:3 macaddr:00:90:f5:ae:76:c7
[    5.550393] jme 0000:06:00.5 enp6s0f5: renamed from eth0
[   27.900666] jme 0000:06:00.5 enp6s0f5: Link is down
[   27.900725] IPv6: ADDRCONF(NETDEV_UP): enp6s0f5: link is not ready
[   31.555055] IPv6: ADDRCONF(NETDEV_UP): enp6s0f5: link is not ready

lsmod | grep jme

jme                    40960  0
mii                    16384  2 usbnet,jme

配置文件

enp0s29u1u1 Link encap:Ethernet  HWaddr 36:2f:77:15:b4:6b  
          inet addr:192.168.42.35  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::7834:7173:24c5:7b14/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3726480 (3.7 MB)  TX bytes:1225159 (1.2 MB)

enp6s0f5  Link encap:Ethernet  HWaddr 00:90:f5:ae:76:c7  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:27 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:695 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:51893 (51.8 KB)  TX bytes:51893 (51.8 KB)

wlp5s0    Link encap:Ethernet  HWaddr 48:5d:60:44:42:f4  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

请帮忙..

答案1

这是一个知道错误从几年前开始,这个问题就没有得到彻底解决。JMicron 对此作出了如下回应:

JMC25x/JMC26x 千兆以太网芯片于 2008 年量产,当时 IEEE802.3az 规范尚未完成。因此,此芯片在连接到所有支持 IEEE 802.3az 的设备时都会出现连接问题,即如果“速度和双工”功能设置为“自动协商”模式或“1Gbps/全双工”模式,则链接功能不正常,即链接断开。因此,我们的软件工程师制定了一个解决方法 - ASD(自动降速)功能,当“速度和双工”功能设置为“自动协商”模式或“1Gbps/全双工”模式时,强制 LAN 速度保持在 100Mbps。我的建议是使用非 IEEE802.3az 千兆设备,这样您的连接速度将保持为 1Gbps。

为了使其正常工作,您可以做的就是将链接速度限制为 100 mbps:

sudo ethtool -s eth0 speed 100 duplex full

但这通常会在重启时丢失(我不知道如何正确地使其永久保留)。

我遇到了完全相同的问题。在我的 Ubuntu 和 Windows 分区中一切都正常,直到我切换了路由器。现在只有 Windows 分区可以以 1000 mbps 的速度工作,但我不完全明白微软是如何让它工作的。

相关内容