From: Tejun Heo <htejun@gmail.com>
To: Marc Howard Zuckman <marc@fallon.classyad.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.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: Sun, 13 Jan 2008 15:01:06 +0900 [thread overview]
Message-ID: <4789A922.40005@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0801130031370.6579@classyad.com>
Marc Howard Zuckman wrote:
> On Sat, 12 Jan 2008, Bartlomiej Zolnierkiewicz wrote:
>
>>
>> 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: ]
>>
>> Marc, please also send output of 'hdparm --Istdout /dev/hde' command.
>>
> This is the output from hdparm with my non-working vanilla 2.6.23.12.
>
>
> /dev/hde:
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 2008 1301 0501 ****4721**** 0101 0005
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 496e 7465 6772 6174 6564
> 2054 6563 686e 6f6c 6f67 7920 4578 7072
> 6573 7320 496e 6320 2020 2020 2020 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 ffff 0fff 0000 0007
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 003f 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 9eae 12a1 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0001 0003 3133 2121 9111 0091 3266
> 0021 0021 0001 0505 0005 0500 0000 0005
> 0005 0005 0040 0000 0000 0000 0000 0000
> 0000 0000 0001 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
Hmm... this is horrifying.
$ hdparm --Istdin < hdparm.out
ATA device, with non-removable media
Model Number: Integrated Technology Express Inc
Serial Number: G!
Standards:
Likely used: 1
Configuration:
Logical max current
cylinders 0 0
heads 0 0
sectors/track 0 0
--
device size with M = 1024*1024: 0 MBytes
device size with M = 1000*1000: 0 MBytes
Capabilities:
IORDY not likely
Cannot perform double-word IO
R/W multiple sector transfer: not supported
DMA: not supported
PIO: pio0
The only thing which matches the number of sectors is at word 100 which
is in reserved area. What's going on here?
--
tejun
next prev parent reply other threads:[~2008-01-13 6:01 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
2008-01-13 5:39 ` Marc Howard Zuckman
2008-01-13 6:01 ` Tejun Heo [this message]
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=4789A922.40005@gmail.com \
--to=htejun@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@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).