View previous topic :: View next topic |
Author |
Message |
tuxwatcher Tux's lil' helper
Joined: 05 Jun 2003 Posts: 121 Location: USA
|
Posted: Tue Apr 20, 2004 9:52 pm Post subject: 2.6.5-r1 and dtp_i2o |
|
|
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 |
|
|
sunwukong n00b
Joined: 22 Mar 2004 Posts: 20 Location: Alberta, Canada
|
Posted: Wed Apr 21, 2004 9:40 pm Post subject: Re: 2.6.5-r1 and dtp_i2o |
|
|
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 |
|
|
tuxwatcher Tux's lil' helper
Joined: 05 Jun 2003 Posts: 121 Location: USA
|
Posted: Thu Apr 22, 2004 5:53 pm Post subject: |
|
|
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 |
|
|
sunwukong n00b
Joined: 22 Mar 2004 Posts: 20 Location: Alberta, Canada
|
Posted: Thu Apr 22, 2004 6:49 pm Post subject: |
|
|
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 |
|
|
tuxwatcher Tux's lil' helper
Joined: 05 Jun 2003 Posts: 121 Location: USA
|
Posted: Fri Apr 23, 2004 2:00 am Post subject: |
|
|
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 |
|
|
sunwukong n00b
Joined: 22 Mar 2004 Posts: 20 Location: Alberta, Canada
|
Posted: Fri Apr 23, 2004 6:15 am Post subject: |
|
|
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 |
|
|
tuxwatcher Tux's lil' helper
Joined: 05 Jun 2003 Posts: 121 Location: USA
|
Posted: Fri Apr 23, 2004 8:23 pm Post subject: |
|
|
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 there is no Adaptec I20 driver to choose. |
|
Back to top |
|
|
sunwukong n00b
Joined: 22 Mar 2004 Posts: 20 Location: Alberta, Canada
|
Posted: Mon Apr 26, 2004 4:12 pm Post subject: |
|
|
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 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 |
|
|
tuxwatcher Tux's lil' helper
Joined: 05 Jun 2003 Posts: 121 Location: USA
|
Posted: Tue Apr 27, 2004 7:55 pm Post subject: |
|
|
That did it. Thanks for all the help and patience. |
|
Back to top |
|
|
|