Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.5-r1 and dtp_i2o
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tuxwatcher
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 121
Location: USA

PostPosted: Tue Apr 20, 2004 9:52 pm    Post subject: 2.6.5-r1 and dtp_i2o Reply with quote

I just graded my kernel from 2.6.3-r1 to 2.6.5-r1 and now I don't have the option to compile the module dpt_i2o. Does anyone have any ideas.
Back to top
View user's profile Send private message
sunwukong
n00b
n00b


Joined: 22 Mar 2004
Posts: 20
Location: Alberta, Canada

PostPosted: Wed Apr 21, 2004 9:40 pm    Post subject: Re: 2.6.5-r1 and dtp_i2o Reply with quote

tuxwatcher wrote:
I just graded my kernel from 2.6.3-r1 to 2.6.5-r1 and now I don't have the option to compile the module dpt_i2o. Does anyone have any ideas.

Do you have
Code:
CONFIG_CLEAN_COMPILE=y
set in .config? ("Code maturity level options/Select only drivers expected to compile cleanly")

Note that the official 2.6.5 kernel has an old, unusable version of the driver. The gentoo-dev-sources-2.6.5-r1 version is a beta from the maintainer.

Finally, I've patched the drivers/scsi/Makefile line 58 to look like this:
Code:
obj-$(CONFIG_SCSI_DPT_I2O)      += dpt_i2o.o    dpti2oscsi2.o

where it was just
Code:
obj-$(CONFIG_SCSI_DPT_I2O)      += dpt_i2o.o


I haven't bothered asking but it looks necessary from what I can tell in the driver code.
Back to top
View user's profile Send private message
tuxwatcher
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 121
Location: USA

PostPosted: Thu Apr 22, 2004 5:53 pm    Post subject: Reply with quote

I tried what you show above but still it doesn't compile. The option is not even there when I do menuconfig although it does show M in .config.
Back to top
View user's profile Send private message
sunwukong
n00b
n00b


Joined: 22 Mar 2004
Posts: 20
Location: Alberta, Canada

PostPosted: Thu Apr 22, 2004 6:49 pm    Post subject: Reply with quote

tuxwatcher wrote:
I tried what you show above but still it doesn't compile. The option is not even there when I do menuconfig although it does show M in .config.

That's odd since that isn't a loadable module!

How did you upgrade from 2.6.3 to 2.6.5-r1? Did you copy over the .config and run make oldconfig?
Back to top
View user's profile Send private message
tuxwatcher
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 121
Location: USA

PostPosted: Fri Apr 23, 2004 2:00 am    Post subject: Reply with quote

Yes, I copied it over and used genkernel to build. So, if it is not in .config how do I compile the module
Back to top
View user's profile Send private message
sunwukong
n00b
n00b


Joined: 22 Mar 2004
Posts: 20
Location: Alberta, Canada

PostPosted: Fri Apr 23, 2004 6:15 am    Post subject: Reply with quote

tuxwatcher wrote:
Yes, I copied it over and used genkernel to build. So, if it is not in .config how do I compile the module

Manual configuration will let you select "Code maturity level options/Select only drivers expected to compile cleanly".

The driver is located at "Drivers/SCSI/SCSI Low-level Drivers/Adaptec I2O".
Back to top
View user's profile Send private message
tuxwatcher
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 121
Location: USA

PostPosted: Fri Apr 23, 2004 8:23 pm    Post subject: Reply with quote

sunwukong wrote:
Manuall configuration will let you select "Code maturity level options/Select only drivers expected to compile cleanly".

The driver is located at "Drivers/SCSI/SCSI Low-level Drivers/Adaptec I2O".

That what I was talking about earlier. When I run
Code:
make menuconfig
there is no Adaptec I20 driver to choose.
Back to top
View user's profile Send private message
sunwukong
n00b
n00b


Joined: 22 Mar 2004
Posts: 20
Location: Alberta, Canada

PostPosted: Mon Apr 26, 2004 4:12 pm    Post subject: Reply with quote

tuxwatcher wrote:
sunwukong wrote:
Manuall configuration will let you select "Code maturity level options/Select only drivers expected to compile cleanly".

The driver is located at "Drivers/SCSI/SCSI Low-level Drivers/Adaptec I2O".

That what I was talking about earlier. When I run
Code:
make menuconfig
there is no Adaptec I20 driver to choose.

The line
Code:
CONFIG_CLEAN_COMPILE=y

in your 2.6.5 config disables access to the Adaptec I2O driver.

In menuconfig you need to deselect
Code:
Code maturity level options/Select only drivers expected to compile cleanly

Once that's cleared, you can find the driver in the place listed above.
Back to top
View user's profile Send private message
tuxwatcher
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 121
Location: USA

PostPosted: Tue Apr 27, 2004 7:55 pm    Post subject: Reply with quote

That did it. Thanks for all the help and patience.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum