From: Tejun Heo <tj@kernel.org>
To: Maxim Gorbachyov <maxim.gorbachyov@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: SATA DVD drive problem on ICH8M
Date: Fri, 21 Nov 2008 17:37:30 +0900 [thread overview]
Message-ID: <4926734A.5050707@kernel.org> (raw)
In-Reply-To: <291f35090811170047w7cade8aci2676a878168835df@mail.gmail.com>
Hello,
Sorry about the delay.
Maxim Gorbachyov wrote:
> On Sun, Nov 16, 2008 at 12:04 PM, Tejun Heo <tj@kernel.org> wrote:
>
>>> I have a problem with SATA DVD drive and ICH8M on ASUS F80L. I insert
>>> a disk, try mounting it, mount fails. Then the drive gets lost, and I
>>> can't even eject the tray until power cycle. Kernel is vanilla
>>> 2.6.27.6. See dmesg, lspci, lshw output and kernel config attached.
>>> Let me know if more info is needed.
>> Looks like your drive doesn't like hald polling for media presence.
>> Does hal-disable-polling /dev/sr0 help?
>
> It doesn't. The thing changed is I get this:
>
> [145864.448091] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> [145864.448103] ata2.00: cmd a0/01:00:00:00:08/00:00:00:00:00/a0 tag 0
> dma 2048 in
> [145864.448104] cdb 28 00 00 00 00 11 00 00 01 00 00 00 00 00 00 00
> [145864.448106] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask
> 0x4 (timeout)
> [145864.448109] ata2.00: status: { DRDY }
> [145864.448116] ata2: hard resetting link
> [145869.808081] ata2: link is slow to respond, please be patient (ready=0)
> [145874.468074] ata2: COMRESET failed (errno=-16)
> [145874.468084] ata2: hard resetting link
> [145879.828096] ata2: link is slow to respond, please be patient (ready=0)
> [145884.476079] ata2: COMRESET failed (errno=-16)
> [145884.476090] ata2: hard resetting link
> [145889.836093] ata2: link is slow to respond, please be patient (ready=0)
> [145919.516093] ata2: COMRESET failed (errno=-16)
> [145919.516103] ata2: limiting SATA link speed to 1.5 Gbps
> [145919.516106] ata2: hard resetting link
> [145924.540080] ata2: COMRESET failed (errno=-16)
> [145924.540089] ata2: reset failed, giving up
> [145924.540092] ata2.00: disabled
> [145924.540107] ata2: EH complete
> [145924.540148] sr 1:0:0:0: [sr0] Result: hostbyte=DID_BAD_TARGET
> driverbyte=DRIVER_OK,SUGGEST_OK
> [145924.540153] end_request: I/O error, dev sr0, sector 68
> [145924.540181] UDF-fs: No VRS found
>
> after mount attempt (not right after disk is inserted).
Ehhh... I really don't have much idea at this point. Does
"libata.force=udma4" make any difference? If not, how about
"libata.force=pio4"? Note that depending on your distro, you need to do
different things to pass parameters to modules loaded from initrd. If
ahci is built into the kernel, simple libata.force=xxx on kernel boot
prompt will do.
Does the drive work in other environments (ie. windows)?
--
tejun
next prev parent reply other threads:[~2008-11-21 8:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-14 10:46 SATA DVD drive problem on ICH8M Maxim Gorbachyov
2008-11-16 9:04 ` Tejun Heo
2008-11-17 8:47 ` Maxim Gorbachyov
2008-11-21 8:37 ` Tejun Heo [this message]
2008-11-21 12:58 ` Maxim Gorbachyov
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=4926734A.5050707@kernel.org \
--to=tj@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=maxim.gorbachyov@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).