Linux ATA/IDE development
 help / color / mirror / Atom feed
From: "Ian Atkin" <ian.atkin@ict.ox.ac.uk>
To: linux-ide@vger.kernel.org
Subject: Compiling ahci.c as a module for the 2.6.18.8 kernel
Date: Tue, 27 Jan 2009 12:19:36 -0000	[thread overview]
Message-ID: <02c701c98079$852d0c90$d1664381@oucsiana2> (raw)

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./


             reply	other threads:[~2009-01-27 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 12:19 Ian Atkin [this message]
2009-01-27 13:44 ` Compiling ahci.c as a module for the 2.6.18.8 kernel Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='02c701c98079$852d0c90$d1664381@oucsiana2' \
    --to=ian.atkin@ict.ox.ac.uk \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox