sk98lin(marvell yukon gigabit ethernet网卡)总安装不上..

xxgamexx 2008-09-07 04:23:56
有人能帮忙么? 小弟在装网卡驱动总装不上..
网卡:marvell yukon gigabit ethernet 10/100/1000Base-T(ASUS笔记本自带的网卡)
模块名:sk98lin
错误提示: compile the kernel faild
check the kernel 的时候 unkonwn version...
内核版本:2.6.26

但我加载进了内核 /usr/src/linux/drivers/net/sk98lin

重新编译后,reboot还是找不到网卡..不知道我编译是不是正确....

希望得到大家的帮助,谢谢!

...全文
358 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xxgamexx 2008-09-11
  • 打赏
  • 举报
回复
Download the latest vesion of the dirver... and it's ok ...it knew the kernel vertion~ tks...
stanley0310 2008-09-09
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xxgamexx 的回复:]
Check kernel gcc version (Linux)./install.sh: line 749: [: Linux: unary operator expected
(Kernel:Linux != gcc:4.1.1) [ failed ]
[/Quote]

首先这里出错吧,gcc 版本跟编绎内核的版本不同。

其实 2.6.26 内核有内建驱动的,叫 skge。内建的 sk98lin 已经在这一版本移除了。
试着不要用 install.sh,自己下 make menuconfig

Device Drivers --->
Network device support --->
Ethernet (1000 Mbit) --->
New SysKonnect GigaEthernet support

然后 make modules_install

xxgamexx 2008-09-09
  • 打赏
  • 举报
回复
晕,竟然没人啊??????????这个问题很难?
xxgamexx 2008-09-07
  • 打赏
  • 举报
回复
问题描述继续如下:
用install.sh安装时报错:
Create tmp dir (/tmp/Sk98InRKfJTUZjYNKUjEOEUCW) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.6.26.3) [ OK ]
Check kernel symbol file (/proc/kallsyms) [ OK ]
Check kernel type (SMP) [ OK ]
Check number of CPUs (2) [ OK ]
Check architecture (found) [ OK ]
Set architecture (x86_64) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (kernel) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (Linux)./install.sh: line 749: [: Linux: unary operator expected
(Kernel:Linux != gcc:4.1.1) [ failed ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux) [ OK ]
Unpack the sources (done) [ OK ]
Check sources for .config file (/usr/src/linux/.config) [ OK ]
Copy and check .config file (done) [ OK ]
Check the mem address space (lowmem) [ OK ]
Change IOMMU (enabled) [ OK ]
Create new .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Check kernel header version (not recognized) [ warn ]
Check firmware availability (not available) [ OK ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (error) [ failed ]
An error has occurred during the compile proces which prevented
the installation from completing.
Take a look at the log file install.log for more informations.
Installation of sk98lin driver module failed.



install.log文件内容如下:

common/h/sktwsi.h
common/h/sktypes.h
common/h/skversion.h
common/h/skvpd.h
common/h/sky2le.h
common/h/xmac_ii.h
common/skaddr.c
common/skcsum.c
common/skfops.c
common/skgeasf.c
common/skgeasfconv.c
common/skgehwt.c
common/skgeinit.c
common/skgemib.c
common/skgepnmi.c
common/skgesirq.c
common/skgespi.c
common/skgespilole.c
common/sklm80.c
common/skqueue.c
common/skrlmt.c
common/sktimer.c
common/sktwsi.c
common/skvpd.c
common/skxmac2.c
common/sky2le.c
common/sk98lin.txt
common/sk98lin.htm
common/sk98lin.4
misc/
misc/Configure.help
misc/Kconfig
+++ Compile the driver
+++ ====================================
make: Entering directory `/usr/src/linux-2.6.26.3'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-2.6.26.3'
+++ Compiler error

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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