Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

IP1000A linux driver 的編譯

2007-08-03 @ 10:57 in Linux

因為 Fedora 7 沒有支援網路卡 ip1000a 的 drvier ,所以只有自己 complier

20070308/10:50:00

在 kernel 2.6.21.6 的版本 complier 時會顯示找不到 linux/config.h,及一些參數,忘記在那裡看到,解決方式是在

  1. /kernel_source/include/linux 下 touch config.h
  2. 修改 ipg.h 加入紅色那行
    #include <linux/config.h>
    #include <linux/version.h>
    #include <linux/utsrelease.h>
    #include <linux/module.h>
  3. 最後記得 make install ,再做一次 depmod -a 就好了

在 kernel 2.6.22 的版本 complier 時會顯示 pci_module_init 這個參數找不到,很笨的方式去 2.6.21 找這個參數在 /kernel_source/include/linux/pci.h 約 408行位置,結果在 2.6.22 內卻沒有,因為只是一個定義,所以將它加入一行如下(約在 410位置):
#define pci_module_init pci_register_driver
結果就 ok 了

20080326/08:00:00

將系統升級到 fedora 8 後,網卡 ip1000A 竟然無法編繹成功,去 download 新版的 ip1000 V2.10c 也不行,後來在網上有人說 linux 2.6.24 後的版本有支援 ip1000,只是內定沒有編成模組,因為要使用 L7-Filter ,所以有 download linux 2.6.24.3 的 source ,在 Device Drivers -> Network device support -> Ethernet(1000Mbit) 內找到 IP1000 的選項,趕快將它選定編成模組,核心編繹完成後,IP1000A 就可以使用了

 

迴響

我只是愛你的有趣博客

我想說,你真的幫助我理解的主題 IP1000A linux driver ??? | ??

作者 seo services vancouver @ 02:38, 2012-03-03
發表迴響
 authimage