Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43337 - No Adaptec SCSI I2O Support in 2.6
Summary: No Adaptec SCSI I2O Support in 2.6
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 18:08 UTC by Lee Simpson
Modified: 2004-06-13 19:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Simpson 2004-02-29 18:08:43 UTC
linux-2.6.4-rc1 which comes with current sys-kernel/development-sources is missing the option for I2O SCSI support. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-02-29 19:14:06 UTC
are you saying `make menuconfig` is missing it or a livecd is missing it or something ?
Comment 2 Lee Simpson 2004-02-29 19:21:07 UTC
Option for the Adaptec I2O RAID driver is missing from make menuconfig under the SCSI section

Sorry for not being clearer.
Comment 3 SpanKY gentoo-dev 2004-02-29 19:29:00 UTC
Device Drivers ->
  SCSI device support -> SCSI device support
  I2O device support -> I2O support -> I2O SCSI OSM
  Multi-device support (RAID and LVM) -> RAID support

do you have all these options turned on ?
Comment 4 Lee Simpson 2004-03-01 06:56:52 UTC
Thats the generic I2O driver. If you turn those options on then on bootup the driver detects the Adaptec card, by says skipping in favour of native driver. Its this native driver which seems to be missing.

In 2.4.x this card has its own drver under the scsi section.
Comment 5 SpanKY gentoo-dev 2004-03-01 08:34:51 UTC
i know that's the generic driver, i was asking if you turned on those options and the driver still did not appear
Comment 6 Lee Simpson 2004-03-01 09:40:48 UTC
with those options on, the driver does still not appear
Comment 7 Jason Cox (RETIRED) gentoo-dev 2004-04-11 14:34:20 UTC
Which exact option is missing? I'm seeing I20 SCSI OSM here as well with those options enabled.
Comment 8 Lee Simpson 2004-04-11 14:51:32 UTC
The following option is missing for the Adaptec I20 Raid card;

Device Drivers  --->
 SCSI device support  --->
  SCSI low-level drivers  --->
   Adaptec I2O RAID support


If you try to use the I20 SCSI OSM driver with that card, then during kernel bootup it says skiping card in favor of native driver (or something to that effect)

The driver was removed from the 2.6 source a long time ago due to a bug, but was resolved and put back in.
Comment 9 Jason Cox (RETIRED) gentoo-dev 2004-04-11 15:06:25 UTC
I have checked 2.6.4 and 2.6.5 kernels and that option does appear. 
 < > Adaptec AIC79xx U320 support  
 < > Adaptec I2O RAID support  
 < > AdvanSys SCSI support

This was taken directly from my menuconfig without I20 support or RAID support selected.
Comment 10 Lee Simpson 2004-04-12 08:48:07 UTC
Are you using sys-kernel/development-sources ? 

I can find the option if i use one of the other 2.6.x packages, but its the gentoo improved sys-kernel/development-sources that is missing the option.
Comment 11 Jason Cox (RETIRED) gentoo-dev 2004-04-13 21:45:15 UTC
Yeah, this was one 2.6.5-gentoo. Could you try a make defconfig then make menuconfig and see if it shows up then? Or possibly echo "CONFIG_BROKEN=y" >> .config ?
Comment 12 Lee Simpson 2004-04-19 17:05:25 UTC
Cheers for the info, but i still cant see the adaptec i20 driver.

Current sys-kernel/development-sources is now v2.6.6-rc1. 

 I get the following list;

  &#9474; &#9474;                   < > ACARD SCSI support                                                                      
  &#9474; &#9474;                   < > Adaptec AHA152X/2825 support                                                                &#9474; &#9474;
  &#9474; &#9474;                   < > Adaptec AHA1542 support                                                                   &#9474; &#9474;
  &#9474; &#9474;                   < > Adaptec AACRAID support (EXPERIMENTAL)                                                    &#9474; &#9474;
  &#9474; &#9474;                   < > Adaptec AIC7xxx Fast -> U160 support (New Driver)                                         &#9474; &#9474;
  &#9474; &#9474;                   < > Adaptec AIC7xxx support (old driver)                                                      &#9474; &#9474;
  &#9474; &#9474;                   < > Adaptec AIC79xx U320 support                                                              &#9474; &#9474;
  &#9474; &#9474;                   < > AdvanSys SCSI support                                                                     &#9474; &#9474;
  &#9474; &#9474;                   < > Always IN2000 SCSI support


Any ideas why my system seems to be missing this option?


bash-2.05b# emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=pentium4 -mmmx -mfpmath=sse,387 -msse2 -ffast-math -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=pentium4 -mmmx -mfpmath=sse,387 -msse2 -ffast-math -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://maryjane.buzz-in.org.uk/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd firebird foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"





Comment 13 Jason Cox (RETIRED) gentoo-dev 2004-04-19 21:08:41 UTC
This one is escaping me. Could you try mm-sources and see if it shows up? Is there something specific to gentoo-dev-sources that you want/need?
Comment 14 Jason Cox (RETIRED) gentoo-dev 2004-06-02 17:31:30 UTC
I'm marking this can't fix. There's something in the Kconfig that is/isn't enabled that we can't track down.
Comment 15 Brett I. Holcomb 2004-06-13 19:35:18 UTC
It's still broken in 2.6.6.  I used the development sources and found that I had to uncheck the "use only drivers that compile cleanly".  Then I had the ADaptec RAID dpt in my SCSI low level driver list.  However, it breaks with
the errors shown below.


drivers/scsi/dpt_i2o.c:32:2: #error Please convert me to Documentation/DMA-mapping.txt
drivers/scsi/dpt_i2o.c: In function `adpt_queue':
drivers/scsi/dpt_i2o.c:434: warning: use of cast expressions as lvalues is deprecated
drivers/scsi/dpt_i2o.c: In function `adpt_install_hba':
drivers/scsi/dpt_i2o.c:977: warning: passing arg 2 of `request_irq' from incompatible pointer type
drivers/scsi/dpt_i2o.c: In function `adpt_scsi_to_i2o':
drivers/scsi/dpt_i2o.c:2118: error: structure has no member named `address'
drivers/scsi/dpt_i2o.c: In function `adpt_scsi_register':
drivers/scsi/dpt_i2o.c:2161: warning: use of cast expressions as lvalues is deprecated
drivers/scsi/dpt_i2o.c: At top level:
drivers/scsi/dpt_i2o.c:165: warning: `dptids' defined but not used
make[2]: *** [drivers/scsi/dpt_i2o.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

Comment 16 Brett I. Holcomb 2004-06-13 19:35:54 UTC
It's still broken in 2.6.6.  I used the development sources and found that I had to uncheck the "use only drivers that compile cleanly".  Then I had the ADaptec RAID dpt in my SCSI low level driver list.  However, it breaks with
the errors shown below.


drivers/scsi/dpt_i2o.c:32:2: #error Please convert me to Documentation/DMA-mapping.txt
drivers/scsi/dpt_i2o.c: In function `adpt_queue':
drivers/scsi/dpt_i2o.c:434: warning: use of cast expressions as lvalues is deprecated
drivers/scsi/dpt_i2o.c: In function `adpt_install_hba':
drivers/scsi/dpt_i2o.c:977: warning: passing arg 2 of `request_irq' from incompatible pointer type
drivers/scsi/dpt_i2o.c: In function `adpt_scsi_to_i2o':
drivers/scsi/dpt_i2o.c:2118: error: structure has no member named `address'
drivers/scsi/dpt_i2o.c: In function `adpt_scsi_register':
drivers/scsi/dpt_i2o.c:2161: warning: use of cast expressions as lvalues is deprecated
drivers/scsi/dpt_i2o.c: At top level:
drivers/scsi/dpt_i2o.c:165: warning: `dptids' defined but not used
make[2]: *** [drivers/scsi/dpt_i2o.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2