Ubuntu 10.10 网卡检测问题

Ubuntu 10.10 网卡检测问题

大多数时候,Ubuntu 无法检测到我的网线。

我的系统配置

水星主板通过内置以太网卡

ifconfig 结果

lo     Link encap:Local Loopback
       inet addr:120.0.0.1 Mask:255.0.0.0
       inet6 addr: ::1/128 Scope:Host
       UP LOOPBACK RUNNING MTU:16436 Metric:1
       RX packets:12 errors:0 dropped:0 overruns:0 frame:0   
       TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 
       collisions:0 txqueuelen:0
       RX bites:720 (720.0 B)  TX bites:720(720.0 B)

lspci 不工作时的结果

00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro] (rev 01)

工作状态

00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro] (rev 01)

我怎样才能解决这个问题?

答案1

如果 lspci 没有显示您的以太网卡,则意味着您没有以太网卡。a- 这可能是 BIOS 问题。Bios 可能会禁用内置以太网接口 b- 这是硬件问题。您的主板需要维修或更换。

我认为,这不是驱动程序、电缆或操作系统问题。我投票选择“b”,即硬件问题。

答案2

这看上去是硬件问题或者驱动程序中的竞争条件。

如果您可以获得便宜的网卡(PCI、PC 卡、PCIe)并在 BIOS 中禁用板载网卡。

答案3

由于您说您在两台计算机上遇到了同样的问题(大概是使用相同的主板),这表明该主板和 Linux pci 驱动程序之间可能存在不兼容。

您可以尝试以下方法:添加pci=nocrs到内核命令行。您可以在启动时通过在 GRUB 屏幕上按“c”来执行此操作,或者编辑文件 /etc/default/grub 并添加pci=nocrs到 GRUB_CMDLINE_LINUX_DEFAULT,使其看起来像这样:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nocrs"

请确保在重新启动之前运行 update-grub。

答案4

我想说它是驱动模块,尝试检查它是否已加载:

lsmod | grep via-rhine

如果你没有得到任何结果,这意味着模块没有加载,那么你应该使用以下命令加载它:

modprobe via-rhine

如果您可以看到模块已加载,请尝试将其删除并重新加载:

modeprobe -r via-rhine
modeprobe via-rhine 

还有一个已知错误对这个。

相关内容