linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Slagter <erik@slagter.name>
To: dbueso@linuxchile.cl
Cc: linux-ide@vger.kernel.org
Subject: Re: Problems with DMA enabling
Date: Thu, 18 Aug 2005 11:01:01 +0200	[thread overview]
Message-ID: <1124355661.8720.23.camel@localhost.localdomain> (raw)
In-Reply-To: <1124299885.3851.7.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]

On Wed, 2005-08-17 at 13:31 -0400, Davidlohr Bueso A. wrote:
> On Wed, 2005-08-17 at 17:59 +0200, Erik Slagter wrote:
> > On Wed, 2005-08-17 at 11:40 -0400, Davidlohr Bueso A. wrote:
> > ROFL! Sorry...
> 
> I didn't mention that I recompiled/rebooted my system after making the
> changes because it is obvious that I did it. I'm also not using my
> debian-precompiled kernel -> I got 2.6.12.3 from kernel.org

Oops, apologies. Please mention you're using a vanilla kernel next time.

> > If you have built the new kernel and booted it, your cd/dvd drive will
> > now be claimed by libata and show up as /dev/scd0 instead of /dev/hdc
> > (or similar). Hdparm -d 1 will not work (either), but DMA will be used
> > anyway.
> 
> I added the patch you attached, recompiled, rebooted and still can't
> use /dev/scd0 (not a valid block device), here's what I get with dmes|
> grep ata:
> 
> libata version 1.11 loaded.
> ata_piix version 1.03
> ata: 0x170 IDE port busy
> ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14
> ata1: dev 0 cfg 49:0f00 82:746b 83:7fe9 84:4023 85:f469 86:3e49 87:4023
> 88:203f
> ata1: dev 0 ATA, max UDMA/100, 117210240 sectors: lba48
> ata1: dev 0 configured for UDMA/100
> scsi0 : ata_piix

For this to work, you must disable (legacy) IDE altogether. It looks it
has claimed the second port before libata can do it.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-08-18  9:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 15:40 Problems with DMA enabling Davidlohr Bueso A.
2005-08-17 15:59 ` Erik Slagter
2005-08-17 17:31   ` Davidlohr Bueso A.
2005-08-18  9:01     ` Erik Slagter [this message]
2005-08-18 23:52       ` Davidlohr Bueso A.

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=1124355661.8720.23.camel@localhost.localdomain \
    --to=erik@slagter.name \
    --cc=dbueso@linuxchile.cl \
    --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;
as well as URLs for NNTP newsgroup(s).