Linux ATA/IDE development
 help / color / mirror / Atom feed
* 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

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