* Compiling ahci.c as a module for the 2.6.18.8 kernel
@ 2009-01-27 12:19 Ian Atkin
2009-01-27 13:44 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Ian Atkin @ 2009-01-27 12:19 UTC (permalink / raw)
To: linux-ide
Hi,
I am trying to compile ahci.c as a loadable module for the 2.6.18.8 kernel
which I used a PXE environment. This is so that I can see disks on the new
generation of hardware coming out with the ICH10 SATA controllers.
I've downloaded my Linux 2.6.28 source, and have tried compiling the ahci
module against the 2.6.18.8 source tree, by the following steps:
1) Built the 2.6.18.8 kernel with modules
`make bzImage modules`
2) grabbed the ata folder from /usr/src/linux-2.6.28/drivers and tried
compiling against the /usr/src/linux-2.6.18.28 source,
`make -C /usr/src/linux-2/6/18/8 SUBDIRS=$PWD modules`
make: Entering directory `/usr/src/linux-2.6.18.8'
Building modules, stage 2
MODPOST
make: Leaving directory `/usr/src/linux-2.6.18.8'
I just can't appear to build the module -the ata folder doesn't appear to
have been touched. I used to use Linux a long time ago, and have never been
expert. Apologies in advance if this is a dummy post.
Kind Regards,
Ian./
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compiling ahci.c as a module for the 2.6.18.8 kernel
2009-01-27 12:19 Compiling ahci.c as a module for the 2.6.18.8 kernel Ian Atkin
@ 2009-01-27 13:44 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2009-01-27 13:44 UTC (permalink / raw)
To: Ian Atkin; +Cc: linux-ide
On Tue, 27 Jan 2009 12:19:36 -0000
"Ian Atkin" <ian.atkin@ict.ox.ac.uk> wrote:
> Hi,
>
> I am trying to compile ahci.c as a loadable module for the 2.6.18.8 kernel
> which I used a PXE environment. This is so that I can see disks on the new
> generation of hardware coming out with the ICH10 SATA controllers.
>
> I've downloaded my Linux 2.6.28 source
You'll also need to update all the config scripts and Makefile bits. Even
if you do that however 2.6.18 and 2.6.28 are somewhat different -
sufficiently different it wouldn't build or work.
There is a backport of the later ATA code for kernels of that sort of era
in RHEL and thus Centos that might be more helpful to you, but its a
backport of the entire layer rather than just odd driver bits.
Assuming you don't need any of the latest and greatest features however
the 2.6.18 ahci driver *ought* to drive the ICH10 SATA controller just
fine if you add the idents from 2.6.28 (or the class match for AHCI) to
it
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-27 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 12:19 Compiling ahci.c as a module for the 2.6.18.8 kernel Ian Atkin
2009-01-27 13:44 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox