From: Albert Lee <albertcc@tw.ibm.com>
To: YUP <yupadmin@gmail.com>
Cc: albertl@mail.com, linux-ide@vger.kernel.org
Subject: Re: libata: CD and dvd devices not recognized
Date: Fri, 16 Mar 2007 23:06:24 +0800 [thread overview]
Message-ID: <45FAB270.8090909@tw.ibm.com> (raw)
In-Reply-To: <45FA6E8A.5070507@gmail.com>
YUP wrote:
> Hi Albert,
>
>> 2. Turn off ATAPI DMA by adding one line of
>> { "CD-ROM 56X/AKH", NULL, ATA_HORKAGE_NODMA },
>> to ata_device_blacklist[] and see if it helps.
>
>
> Here is dmesg with blacklisted cdrom:
>
>
>
> ------------------------------------------------------------------------
<snip>
> [ 50.889690] eth0: no IPv6 routers present
> [ 62.013082] ata2.01: qc timeout (cmd 0xa0)
> [ 62.013098] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> [ 62.013160] ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x12 data 254 in
> [ 62.013163] res 51/51:03:00:12:00/00:00:00:00:00/b0 Emask 0x5 (timeout)
> [ 69.002638] ata2: port is slow to respond, please be patient (Status 0xd8)
> [ 91.984233] ata2: port failed to respond (30 secs, Status 0xd8)
> [ 91.984292] ata2: soft resetting port
> [ 92.151391] ATA: abnormal status 0x7F on port 0xE08515DF
> [ 92.162767] ATA: abnormal status 0x7F on port 0xE08515DF
> [ 92.323758] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x1)
> [ 92.323766] ata2.01: revalidation failed (errno=-5)
> [ 92.323821] ata2: failed to recover some devices, retrying in 5 secs
> [ 97.320272] ata2: soft resetting port
> [ 97.487428] ATA: abnormal status 0x7F on port 0xE08515DF
> [ 97.498808] ATA: abnormal status 0x7F on port 0xE08515DF
> [ 97.660041] ata2.01: device is on DMA blacklist, disabling DMA
> [ 97.823822] ata2.01: configured for PIO4
> [ 97.823874] ata2: EH complete
> [ 127.798684] ata2.01: qc timeout (cmd 0xa0)
> [ 127.798702] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> [ 127.798762] ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x12 data 254 in
> [ 127.798764] res 51/51:03:00:12:00/00:00:00:00:00/b0 Emask 0x5 (timeout)
Hi Yarema,
The dmesg looks bad. The AOpen CD-956E/AKH doesn't work under PIO mode 4 either.
Device status 0x51 means "device error". The drive should interrupt the software to
report the error but it didn't and caused qc timeout eventually.
BTW, the problem only affect the ATAPI commands;
ATA commands (e.g. IDENTIFY PACKET DEVICE and set transfer mode) look fine.
I've checked some local forum about the AOpen CD-952E drive (close relative of CD-956E)
(http://www.arclink.com.tw/TopicProductList.do?p_id=495&page=2). It's said
that the AOpen 52x drives have quality issues and over-heat problem.
Some drive even stop working after 4-days of use.
So, I guess your AOpen 56x hardware is broken. If true, there is little hope we can
workaround it from the software.
Could you please check whether the IDE driver work for it? (Please configure the
IDE pdc202xx_new and deconfig the libata pata_pdc2027x driver, recompile/reboot
the kernel and try read some cd using the IDE driver.) Thanks.
--
albert
next prev parent reply other threads:[~2007-03-16 15:06 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 22:14 libata: CD and dvd devices not recognized YUP
2007-03-15 3:56 ` Albert Lee
2007-03-15 13:11 ` YUP
2007-03-15 17:32 ` Albert Lee
2007-03-16 10:16 ` YUP
2007-03-16 15:06 ` Albert Lee [this message]
2007-03-16 15:50 ` YUP
2007-03-17 13:29 ` Bartlomiej Zolnierkiewicz
2007-03-17 14:39 ` Albert Lee
2007-03-17 15:00 ` Bartlomiej Zolnierkiewicz
2007-03-17 18:38 ` YUP
2007-03-17 18:47 ` YUP
2007-03-17 19:12 ` Bartlomiej Zolnierkiewicz
2007-03-17 19:22 ` YUP
2007-03-17 20:07 ` Bartlomiej Zolnierkiewicz
2007-03-18 10:07 ` YUP
2007-03-18 15:10 ` Bartlomiej Zolnierkiewicz
2007-03-18 15:22 ` YUP
2007-03-18 15:54 ` Bartlomiej Zolnierkiewicz
2007-03-18 15:49 ` YUP
2007-03-18 22:48 ` YUP
2007-03-19 3:31 ` Albert Lee
2007-03-19 8:22 ` YUP
2007-03-19 8:29 ` Albert Lee
2007-03-19 12:10 ` Sergei Shtylyov
2007-03-19 19:35 ` YUP
2007-03-20 7:27 ` Albert Lee
2007-03-20 9:07 ` Albert Lee
2007-03-21 4:52 ` Albert Lee
2007-03-21 9:01 ` YUP
2007-03-22 6:06 ` Albert Lee
2007-03-22 7:09 ` Tejun Heo
2007-03-22 12:37 ` Alan Cox
2007-03-23 3:40 ` Albert Lee
2007-03-23 15:19 ` Douglas Gilbert
2007-03-26 5:50 ` Albert Lee
2007-03-22 14:50 ` Sergei Shtylyov
2007-03-23 3:21 ` Albert Lee
2007-03-19 23:02 ` YUP
2007-03-20 15:23 ` Sergei Shtylyov
2007-03-23 22:13 ` Bartlomiej Zolnierkiewicz
2007-03-26 5:53 ` Albert Lee
2007-03-18 6:42 ` YUP
2007-03-16 22:37 ` YUP
2007-03-17 3:24 ` Albert Lee
2007-03-17 9:09 ` YUP
2007-03-17 10:51 ` Albert Lee
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=45FAB270.8090909@tw.ibm.com \
--to=albertcc@tw.ibm.com \
--cc=albertl@mail.com \
--cc=linux-ide@vger.kernel.org \
--cc=yupadmin@gmail.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).