CentOS 5에서 네트워크 카드 누락 - AsteriskNow 1.7.1

CentOS 5에서 네트워크 카드 누락 - AsteriskNow 1.7.1

네트워크 카드가 두 개 있는데 두 번째 카드를 로드할 수 없습니다.

lspci -vvv


04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
    Subsystem: Super Micro Computer Inc Unknown device 0000
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 169
    Region 0: Memory at fb900000 (32-bit, non-prefetchable) [size=128K]
    Region 2: I/O ports at e000 [size=32]
    Region 3: Memory at fb920000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: [c8] Power Management version 2
            Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
            Status: D0 PME-Enable- DSel=0 DScale=1 PME-
    Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
            Address: 0000000000000000  Data: 0000
    Capabilities: [e0] Express Endpoint IRQ 0
            Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
            Device: Latency L0s <512ns, L1 <64us
            Device: AtnBtn- AtnInd- PwrInd-
            Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
            Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
            Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
            Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
            Link: Latency L0s <128ns, L1 <64us
            Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
            Link: Speed 2.5Gb/s, Width x1
    Capabilities: [a0] MSI-X: Enable+ Mask- TabSize=5
            Vector table: BAR=3 offset=00000000
            PBA: BAR=3 offset=00002000

Intels e1000e 드라이버를 사용하여 알아냈지만 make install을 사용하면 다음과 같은 결과가 나타납니다.

[root@lan3 src]# make install
Makefile:67: *** Kernel header files not in any of the expected locations.
Makefile:68: *** Install the appropriate kernel development package, e.g.
Makefile:69: *** kernel-devel, for building kernel modules and try again.  Stop.
[root@lan3 src]#


[root@lan3 src]# yum install kernel-devel
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile                                                * addons: centos.mirror.nac.net
 * base: centos.chi.host-engine.com
 * extras: mirror.metrocast.net
 * updates: mirror.trouble-free.net
Setting up Install Process
Package kernel-devel-2.6.18-409.el5.x86_64 already installed and latest version
Nothing to do
[root@lan3 src]#

OS 변경은 선택 사항이 아니며 오래되었다는 것을 알고 있지만 표준 Intel Gigabit NIC입니다. 도움을 주시면 감사하겠습니다!

고쳐 쓰다:

# uname -r
2.6.18-194.11.1.el5

ifconfig는 네트워크 카드를 전혀 표시하지 않습니다.

답변1

해결책!

설치하다엘레포 저장소. && elrepo에서 커널 독립적인 e1000e 드라이버를 설치합니다&& 커널에 새 드라이버를 사용하도록 지시합니다&& 재부팅합니다.

rpm -Uvh http://www.elrepo.org/elrepo-release-5-5.el5.elrepo.noarch.rpm && yum install kmod-e1000e && sudo nano /etc/modprobe.conf && reboot

바꾸다

#alias eth0 e100e
alias eth0 kmod-e1000e

관련 정보