请教各位大大,RHEL5,INTEL 82574L 驱动不能MAKE,急盼,解决!THANKS

xxhxmk 2013-03-17 04:07:57
[root@host ~]# uname -r
2.6.18-274.el5


[root@host ~]# rpm -qa|grep kernel
kernel-headers-2.6.18-274.el5
kernel-devel-2.6.18-274.el5
kernel-2.6.18-274.el5
kernel-doc-2.6.18-274.el5
均做过校验,都无输出。


[root@host ~]# [root@host /]# lspci
(网卡相关)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
09:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08)


class: NETWORK
bus: PCI
detached: 0
device: eth0
desc: "Intel Corporation 82574L Gigabit Network Connection"
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
desc: "Intel Corporation 82574L Gigabit Network Connection"
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 0
pcifn: 0


[root@host ~]# lsmod
Module Size Used by
dm_raid45 99785 0
dm_message 36289 1 dm_raid45
dm_region_hash 46145 1 dm_raid45
dm_log 44993 2 dm_raid45,dm_region_hash
dm_mod 102289 2 dm_raid45,dm_log
dm_mem_cache 38977 1 dm_raid45
usb_storage 122401 0
ata_piix 57541 0
libata 208977 1 ata_piix
shpchp 70637 0
mptsas 86865 3
mptscsih 71105 1 mptsas
mptbase 123973 2 mptsas,mptscsih
scsi_transport_sas 68929 1 mptsas
sd_mod 56513 4
scsi_mod 199129 6 usb_storage,libata,mptsas,mptscsih,scsi_transport_sas,sd_mod
ext3 169297 2
jbd 94897 1 ext3
uhci_hcd 57433 0
ohci_hcd 56181 0
ehci_hcd 66381 0



[root@host ~]# kudzu
[root@host ~]#
此操作无输出


[root@host src]# rpmbuild -tb /x/3224872_1308358475/e1000e-1.3.17.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.93189
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf e1000e-1.3.17
+ /usr/bin/gzip -dc /x/3224872_1308358475/e1000e-1.3.17.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root 0 2011-05-19 06:51:20 e1000e-1.3.17/
-rwxr--r-- root/root 3942 2011-05-19 06:51:20 e1000e-1.3.17/pci.updates
-rwxr--r-- root/root 9504 2011-05-19 06:51:20 e1000e-1.3.17/e1000e.7
-rwxr--r-- root/root 763 2011-05-19 06:51:20 e1000e-1.3.17/SUMS
drwxr-xr-x root/root 0 2011-05-19 06:51:20 e1000e-1.3.17/src/
-rwxr--r-- root/root 3241 2011-05-19 06:51:19 e1000e-1.3.17/src/manage.h
-rwxr--r-- root/root 3538 2011-05-19 06:51:19 e1000e-1.3.17/src/mac.h
-rwxr--r-- root/root 110989 2011-05-19 06:51:19 e1000e-1.3.17/src/ich8lan.c
-rwxr--r-- root/root 60422 2011-05-19 06:51:19 e1000e-1.3.17/src/ethtool.c
-rwxr--r-- root/root 200808 2011-05-19 06:51:19 e1000e-1.3.17/src/netdev.c
-rwxr--r-- root/root 16627 2011-05-19 06:51:19 e1000e-1.3.17/src/nvm.c
-rwxr--r-- root/root 52891 2011-05-19 06:51:19 e1000e-1.3.17/src/82571.c
-rwxr--r-- root/root 23461 2011-05-19 06:51:19 e1000e-1.3.17/src/kcompat.c
-rwxr--r-- root/root 10124 2011-05-19 06:51:19 e1000e-1.3.17/src/manage.c
-rwxr--r-- root/root 91523 2011-05-19 06:51:19 e1000e-1.3.17/src/phy.c
-rwxr--r-- root/root 14629 2011-05-19 06:51:19 e1000e-1.3.17/src/param.c
-rwxr--r-- root/root 21541 2011-05-19 06:51:19 e1000e-1.3.17/src/regs.h
-rwxr--r-- root/root 77717 2011-05-19 06:51:19 e1000e-1.3.17/src/kcompat.h
-rwxr--r-- root/root 12562 2011-05-19 06:51:19 e1000e-1.3.17/src/phy.h
-rwxr--r-- root/root 2322 2011-05-19 06:51:19 e1000e-1.3.17/src/82571.h
-rwxr--r-- root/root 4032 2011-05-19 06:51:19 e1000e-1.3.17/src/80003es2lan.h
-rwxr--r-- root/root 19 2011-05-19 06:51:20 e1000e-1.3.17/src/Module.supported
-rwxr--r-- root/root 2073 2011-05-19 06:51:19 e1000e-1.3.17/src/nvm.h
-rwxr--r-- root/root 18790 2011-05-19 06:51:19 e1000e-1.3.17/src/hw.h
-rwxr--r-- root/root 41087 2011-05-19 06:51:19 e1000e-1.3.17/src/80003es2lan.c
-rwxr--r-- root/root 22207 2011-05-19 06:51:19 e1000e-1.3.17/src/e1000.h
-rwxr--r-- root/root 76596 2011-05-19 06:51:19 e1000e-1.3.17/src/defines.h
-rwxr--r-- root/root 11196 2011-05-19 06:51:19 e1000e-1.3.17/src/ich8lan.h
-rwxr--r-- root/root 50881 2011-05-19 06:51:19 e1000e-1.3.17/src/mac.c
-rwxr--r-- root/root 29791 2011-05-19 06:51:19 e1000e-1.3.17/src/kcompat_ethtool.c
-rwxr--r-- root/root 10750 2011-05-19 06:51:19 e1000e-1.3.17/src/Makefile
-rwxr--r-- root/root 9548 2011-05-19 06:51:20 e1000e-1.3.17/e1000e.spec
-rwxr--r-- root/root 18671 2011-05-19 06:51:20 e1000e-1.3.17/COPYING
-rwxr--r-- root/root 31613 2011-05-19 06:51:20 e1000e-1.3.17/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd e1000e-1.3.17
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.93189
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd e1000e-1.3.17
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make -C src clean
make: Entering directory `/usr/src/redhat/BUILD/e1000e-1.3.17/src'
Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop.
make: Leaving directory `/usr/src/redhat/BUILD/e1000e-1.3.17/src'
error: Bad exit status from /var/tmp/rpm-tmp.93189 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93189 (%build)
[root@host src]#
驱动2.2.14报错相同。


不能重做操作系统。

已经晕菜啦!
现不知该如何继续,烦请指出如何进行下一步操作,并写出完整命令。
需要其它信息,请说
感谢所有大大的帮助。
...全文
504 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

1,318

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧