QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1421|回复: 4

编译2.6内核碰到的scsi的问题

[复制链接]
发表于 2004-10-21 09:27:47 | 显示全部楼层 |阅读模式
我的机器用的是 Adaptec AIC-7899P U160/m ,但是我在编译内核时无论是将SCSI low-level drivers 中的
<M> Adaptec AIC7xxx Fast -> U160 support (New Driver)
<M> Adaptec AIC7xxx support (old driver)
还是直接写到内核,
在make modules_install install时,就会出现以下问题


if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.9; fi
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.9/arch/i386/boot/install.sh 2.6.9 arch/i386/boot/bzImage System.map ""
No module aic7xxx found for kernel 2.6.9
make[1]: *** [install] Error 1
make: *** [install] Error 2

我的内核选项如下
Linux Kernel v2.6.9 Configuration
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq SCSI low-level drivers qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are hotkeys.  Pressing <Y>      x
  x  includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.         x
  x  Legend:
  • built-in  [ ] excluded  <M> module  < > module capable                                                 x
      x                                                                                                                     x
      x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
      x x                   <M> 3ware 5/6/7/8xxx ATA-RAID support                                                         x x
      x x                   < > 3ware 9xxx SATA-RAID support                                                              x x
      x x                   <M> 7000FASST SCSI support                                                                    x x
      x x                   <M> ACARD SCSI support                                                                        x x
      x x                   <M> Adaptec AHA152X/2825 support                                                              x x
      x x                   <M> Adaptec AHA1542 support                                                                   x x
      x x                   <M> Adaptec AHA1740 support                                                                   x x
      x x                   <M> Adaptec AACRAID support (EXPERIMENTAL)                                                    x x
      x x                   <M> Adaptec AIC7xxx Fast -> U160 support (New Driver)                                         x x
      x x                   (32)  Maximum number of TCQ commands per device                                               x x
      x x                   (15000) Initial bus reset delay in milli-seconds                                              x x
      x x                   [ ]   Probe for EISA and VL AIC7XXX Adapters                                                  x x
      x x                  
  •    Compile in Debugging Code                                                               x x
      x x                   (0)   Debug code enable mask (2047 for all debugging)                                         x x
      x x                  
  •    Decode registers during diagnostics                                                     x x
      x x                   <M> Adaptec AIC7xxx support (old driver)                                                      x x
      x x                   <M> Adaptec AIC79xx U320 support         

    但我没有scsi设备的机器,用2.6.9默认的没有出现这个问题
  •  楼主| 发表于 2004-10-21 11:19:25 | 显示全部楼层
    我现在用linux2.6.9默认的SCSI配置也不行
    scis aic 7xxx make 过程正常
    LD      drivers/scsi/aic7xxx/built-in.o
      SHIPPED drivers/scsi/aic7xxx/aic79xx_seq.h
      SHIPPED drivers/scsi/aic7xxx/aic79xx_reg.h
      CC [M]  drivers/scsi/aic7xxx/aic79xx_core.o
      CC [M]  drivers/scsi/aic7xxx/aic79xx_pci.o
      SHIPPED drivers/scsi/aic7xxx/aic79xx_reg_print.c
      CC [M]  drivers/scsi/aic7xxx/aic79xx_reg_print.o
      CC [M]  drivers/scsi/aic7xxx/aic79xx_osm.o
      CC [M]  drivers/scsi/aic7xxx/aic79xx_proc.o
      CC [M]  drivers/scsi/aic7xxx/aic79xx_osm_pci.o
      SHIPPED drivers/scsi/aic7xxx/aic7xxx_seq.h
      SHIPPED drivers/scsi/aic7xxx/aic7xxx_reg.h
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_core.o
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_93cx6.o
      CC [M]  drivers/scsi/aic7xxx/aic7770.o
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_pci.o
      SHIPPED drivers/scsi/aic7xxx/aic7xxx_reg_print.c
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_reg_print.o
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_osm.o
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_proc.o
      CC [M]  drivers/scsi/aic7xxx/aic7770_osm.o
      CC [M]  drivers/scsi/aic7xxx/aic7xxx_osm_pci.o
      LD [M]  drivers/scsi/aic7xxx/aic7xxx.o
      LD [M]  drivers/scsi/aic7xxx/aic79xx.o

    make modules_install install的过程也正常
    INSTALL drivers/scsi/3w-xxxx.ko
      INSTALL drivers/scsi/53c700.ko
      INSTALL drivers/scsi/BusLogic.ko
      INSTALL drivers/scsi/NCR53c406a.ko
      INSTALL drivers/scsi/a100u2w.ko
      INSTALL drivers/scsi/aacraid/aacraid.ko
      INSTALL drivers/scsi/aha152x.ko
      INSTALL drivers/scsi/aha1542.ko
      INSTALL drivers/scsi/aha1740.ko
      INSTALL drivers/scsi/aic7xxx/aic79xx.ko
      INSTALL drivers/scsi/aic7xxx/aic7xxx.ko
      INSTALL drivers/scsi/aic7xxx_old.ko
      INSTALL drivers/scsi/atp870u.ko
    但在make modules_install install到以下时就总是出错


    INSTALL net/wanrouter/wanrouter.ko
      INSTALL sound/soundcore.ko
    if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.9; fi
      CHK     include/linux/version.h
    make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
      CHK     include/linux/compile.h
    Kernel: arch/i386/boot/bzImage is ready
    sh /usr/src/linux-2.6.9/arch/i386/boot/install.sh 2.6.9 arch/i386/boot/bzImage System.map ""
    No module aic7xxx found for kernel 2.6.9
    make[1]: *** [install] Error 1
    make: *** [install] Error 2
    回复

    使用道具 举报

    发表于 2004-10-21 15:34:14 | 显示全部楼层
    怪事,不明白,帮顶
    make modules_install install和make modules_install有什么不同?
    回复

    使用道具 举报

     楼主| 发表于 2004-10-21 20:05:57 | 显示全部楼层
    我看了一下,很多人都碰到了关于SCSI 驱动的问题,但是都没有写解决方法
    回复

    使用道具 举报

    发表于 2005-7-6 16:44:24 | 显示全部楼层
    偶有个adeptec AHA2940的老卡,RH9.0 在编译2.6.11的时候
    实际上是在mkinitrd  的时候就报这个错了

    sudo make install   也是报这个错

    不知道大哥你的问题解决了吗 ??
    回复

    使用道具 举报

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

    本版积分规则

    GMT+8, 2024-9-30 07:45 , Processed in 0.078960 second(s), 16 queries .

    © 2021 Powered by Discuz! X3.5.

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