From: Bas Vermeulen <bvermeul@blackstar.nl>
To: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
Cc: Jeff Garzik <jgarzik@pobox.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: ATAPI+SATA support in 2.6.13-rc3
Date: Fri, 15 Jul 2005 14:08:46 +0200 [thread overview]
Message-ID: <1121429327.5110.15.camel@laptop.blackstar.nl> (raw)
In-Reply-To: <42D7A3D1.5080609@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
On Fri, 2005-07-15 at 13:53 +0200, Carl-Daniel Hailfinger wrote:
> Bas Vermeulen schrieb:
> > On Fri, 2005-07-15 at 11:31 +0200, Carl-Daniel Hailfinger wrote:
> >
> >>Hi Jeff,
> >>
> >>I have a Intel ICH6M chipset and am using ata_piix as my
> >>default disk driver. With the SUSE patched 2.6.11.4 kernel
> >>(it has some libata patches) my DVD-RAM drive works, with
> >>2.6.13-rc3 it doesn't work. My .config is nearly identical
> >>for both kernels (except options introduced after 2.6.11).
> >>
> >>I have two suspects: the changed interrupt routing and
> >>libata version differences. Especially strange is the fact
> >>that both kernels seem to disagree with lspci about the
> >>interrupts assigned to the SATA controller.
> >>
> >>Please find dmesg, /proc/interrupts and lspci -v attached
> >>for both kernels.
> >>
> >>Regards,
> >>Carl-Daniel
> >
> >
> > You'll need to enable ATAPI support for ata_piix in
> > include/linux/libata.h
> >
> > Change:
> > #undef ATA_ENABLE_ATAPI
> >
> > into
> > #define ATA_ENABLE_ATAPI
> >
> > Suse has probably done that for you, it's disabled by default.
>
> Thanks, I'll try that.
>
> Are there any unmerged (in 2.6.13-rc3) libata patches and
> where can I find them?
Not sure about that. I currently use the following patch to make
ata_piix work with my PATA controller (ICH3-M). I think you'll only need
the defines in libata.h, and without the PATA define.
--
Bas Vermeulen <bvermeul@blackstar.nl>
[-- Attachment #2: ata_piix.patch --]
[-- Type: text/x-patch, Size: 1275 bytes --]
--- linux-2.6.12/drivers/scsi/ata_piix.c 2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6/drivers/scsi/ata_piix.c 2005-07-08 11:29:48.000000000 +0200
@@ -77,6 +77,8 @@
static struct pci_device_id piix_pci_tbl[] = {
#ifdef ATA_ENABLE_PATA
{ 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
+ { 0x8086, 0x244a, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
+ { 0x8086, 0x248a, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
{ 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
{ 0x8086, 0x25a2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
#endif
--- linux-2.6.12/include/linux/libata.h 2005-07-11 17:21:08.000000000 +0200
+++ linux-2.6/include/linux/libata.h 2005-07-08 11:32:43.000000000 +0200
@@ -37,8 +37,8 @@
#undef ATA_VERBOSE_DEBUG /* yet more debugging output */
#undef ATA_IRQ_TRAP /* define to ack screaming irqs */
#undef ATA_NDEBUG /* define to disable quick runtime checks */
-#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */
-#undef ATA_ENABLE_PATA /* define to enable PATA support in some
+#define ATA_ENABLE_ATAPI /* define to enable ATAPI support */
+#define ATA_ENABLE_PATA /* define to enable PATA support in some
* low-level drivers */
#undef ATAPI_ENABLE_DMADIR /* enables ATAPI DMADIR bridge support */
next prev parent reply other threads:[~2005-07-15 12:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-15 9:31 Carl-Daniel Hailfinger
2005-07-15 9:59 ` Bas Vermeulen
2005-07-15 11:53 ` Carl-Daniel Hailfinger
2005-07-15 12:08 ` Bas Vermeulen [this message]
2005-07-15 16:34 ` Domenico Andreoli
2005-07-15 16:37 ` Jeff Garzik
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=1121429327.5110.15.camel@laptop.blackstar.nl \
--to=bvermeul@blackstar.nl \
--cc=c-d.hailfinger.devel.2005@gmx.net \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®