From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Tejun Heo <htejun@gmail.com>
Cc: Marc Howard Zuckman <marc@fallon.classyad.com>,
linux-ide@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3
Date: Sat, 12 Jan 2008 15:42:34 +0100 [thread overview]
Message-ID: <200801121542.34435.bzolnier@gmail.com> (raw)
In-Reply-To: <47861B05.2010201@gmail.com>
On Thursday 10 January 2008, Tejun Heo wrote:
> Marc Howard Zuckman wrote:
> > With apologies if this was supposed to be an attachment:
>
> Inline is fine.
>
> > IT8212: IDE controller at PCI slot 0000:03:0c.0
> > IT8212: chipset revision 17
> > it821x: controller in smart mode.
> > IT8212: 100% native mode on irq 21
> > ide2: BM-DMA at 0xb800-0xb807, BIOS settings: hde:DMA, hdf:pio
> > ide3: BM-DMA at 0xb808-0xb80f, BIOS settings: hdg:pio, hdh:pio
> > Probing IDE interface ide2...
> > hde: Integrated Technology Express Inc, ATA DISK drive
> > hde: IT8212 RAID 1 volume.
> > hde: selected mode 0x0
> > ide2 at 0xa810-0xa817,0xac02 on irq 21
> > Probing IDE interface ide3...
> > Probing IDE interface ide3...
> > Probing IDE interface ide4...
> > Probing IDE interface ide5...
> > hda: max request size: 128KiB
> > hda: Host Protected Area detected.
> > current capacity is 195369455 sectors (100029 MB)
> > native capacity is 195371568 sectors (100030 MB)
> > hda: Host Protected Area disabled.
> > hda: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=65535/16/63,
> > UDMA(100)
> > hda: cache flushes not supported
> > hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
>
> Oh... I thought you were using libata drivers because you mentioned
> pata_it821x on the subject. The IDE driver supports 'hdparm -d 1' fine.
> I wonder why that's not working. Also, the driver is configuring your
> disk to PIO0.
In "smart mode" controller takes care of mode programming.
> Cc'ing Alan and Bartlomiej. Guys, is this the smart mode problem? Do
> ide and libata have this fixed in 2.6.24-rc?
[ added Alan and myself ;) to cc: ]
Possibly.
Marc, please also send output of 'hdparm --Istdout /dev/hde' command.
Thanks,
Bart
next prev parent reply other threads:[~2008-01-12 14:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-05 22:34 Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3 Marc Zuckman
2008-01-09 2:43 ` Tejun Heo
2008-01-10 13:02 ` Marc Howard Zuckman
2008-01-10 13:17 ` Tejun Heo
2008-01-11 3:00 ` Marc Howard Zuckman
2008-01-11 3:11 ` Tejun Heo
2008-01-13 5:12 ` Marc Howard Zuckman
2008-01-13 5:36 ` Tejun Heo
2008-01-13 5:59 ` Marc Howard Zuckman
2008-01-13 6:37 ` Marc Howard Zuckman
2008-01-12 14:42 ` Bartlomiej Zolnierkiewicz [this message]
2008-01-13 5:39 ` Marc Howard Zuckman
2008-01-13 6:01 ` Tejun Heo
2008-01-13 13:12 ` Alan Cox
2008-01-13 15:18 ` Marc Howard Zuckman
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=200801121542.34435.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=htejun@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=marc@fallon.classyad.com \
/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).