LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 696|回复: 3

2.6.28.8编译aic7xxx.ko的问题

[复制链接]
发表于 2009-3-19 14:57:17 | 显示全部楼层 |阅读模式
我在IBM xSeries 330服务器上安裝了Centos5.2,想编译最新內核,結果搞了兩天沒成功

机器配置:
处理器:双INTEL PIII-S 1.13G
内存:SDRAM ECC REG 1024MB
硬盘:SCSI 18GB * 2
PCI插槽类型/数量:2个PCI(64位/33MHz)(一个全长,一个半长)
主板I/O接口:1个串口,2个USB口,2个RS485,2个C2T电缆接口
SCSI控制器类型/数量:集成Ultra160 SCSI
外部驱动器架数:3个(2个薄型,热插拔;24X-10X IDE CD-ROM;1.44MB磁盘驱动器)
网卡型号:集成的双10/100以太网卡82559

lspci
00:00.0 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
00:00.1 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
00:01.0 VGA compatible controller: S3 Inc. Savage 4 (rev 06)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)
00:0a.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 51)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
01:03.0 SCSI storage controller: Adaptec AIC-7892P U160/m (rev 02)

編譯完後用新內核啟動,出現錯誤:
insmod: error inserting '/lib/ohci-hcd.ko': -1 Invalid module format
insmod: error inserting '/lib/aic7xxx.ko': -1 Invalid module format

後動修改.config,CONFIG_MODVERSIONS=n以後再重新編譯,故障依舊

后来搜到rhel关于aic7xxx的需求说明:
http://www.centos.org/docs/5/htm ... -modules-scsi.html#
但是上面列出的那些选项不知道对应内核中哪些项,请大侠帮帮忙
发表于 2009-3-19 15:06:32 | 显示全部楼层
Post by yslue;1963147
我在IBM xSeries 330服务器上安裝了Centos5.2,想编译最新內核,結果搞了兩天沒成功

机器配置:
处理器:双INTEL PIII-S 1.13G
内存:SDRAM ECC REG 1024MB
硬盘:SCSI 18GB * 2
PCI插槽类型/数量:2个PCI(64位/33MHz)(一个全长,一个半长)
主板I/O接口:1个串口,2个USB口,2个RS485,2个C2T电缆接口
SCSI控制器类型/数量:集成Ultra160 SCSI
外部驱动器架数:3个(2个薄型,热插拔;24X-10X IDE CD-ROM;1.44MB磁盘驱动器)
网卡型号:集成的双10/100以太网卡82559

lspci
00:00.0 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
00:00.1 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
00:01.0 VGA compatible controller: S3 Inc. Savage 4 (rev 06)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)
00:0a.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 51)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
01:03.0 SCSI storage controller: Adaptec AIC-7892P U160/m (rev 02)

編譯完後用新內核啟動,出現錯誤:
insmod: error inserting '/lib/ohci-hcd.ko': -1 Invalid module format
insmod: error inserting '/lib/aic7xxx.ko': -1 Invalid module format

後動修改.config,CONFIG_MODVERSIONS=n以後再重新編譯,故障依舊

后来搜到rhel关于aic7xxx的需求说明:
http://www.centos.org/docs/5/htm ... -modules-scsi.html#
但是上面列出的那些选项不知道对应内核中哪些项,请大侠帮帮忙



2.6.27.18内核里都有这个选项呀:

  1. Adaptec AIC7xxx Fast -> U160 support (New Driver) (SCSI_AIC7XXX)

  2. This driver supports all of Adaptec's Fast through Ultra 160 PCI
  3. based SCSI controllers as well as the aic7770 based EISA and VLB
  4. SCSI controllers (the 274x and 284x series). For AAA and ARO based
  5. configurations, only SCSI functionality is provided.

  6. To compile this driver as a module, choose M here: the
  7. module will be called aic7xxx.


复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-19 16:55:44 | 显示全部楼层
选项当然有,但是只选上这个是编译不出aic7xxx.ko的

verbose — Enable verbose/diagnostic logging

allow_memio — Allow device registers to be memory mapped

debug — Bitmask of debug values to enable

no_probe — Toggle EISA/VLB controller probing

probe_eisa_vl — Toggle EISA/VLB controller probing

no_reset — Supress initial bus resets

extended — Enable extended geometry on all controllers

periodic_otag — Send an ordered tagged transaction periodically to prevent tag starvation. This may be required by some older disk drives or RAID arrays.

tag_info:<tag_str> — Set per-target tag depth

global_tag_depth:<int> — Global tag depth for every target on every bus

seltime:<int> — Selection Timeout (0/256ms,1/128ms,2/64ms,3/32ms)

官网上说的是还需要这些
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-22 11:00:33 | 显示全部楼层
这个系统在服务器上应该用的不少吧,怎么没人用这个SCSI吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表