linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Mike Hokenson <logan+kernel@gozer.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: Long delay when booting with SATA DVD on Marvell 88SE6121
Date: Mon, 31 Aug 2009 23:02:07 +0900	[thread overview]
Message-ID: <4A9BD7DF.8030606@kernel.org> (raw)
In-Reply-To: <20090817002918.GA2805@gozer.dminteractive.com>

Mike Hokenson wrote:
> Hi list,
> 
> I've got a MSI P35 Platinum with a Marvell 88SE6121 (one PATA, one SATA)
> controller and when I have a SATA DVD drive connected to the port, my
> system takes a good 30+ seconds longer to boot. The HDD activity LED is
> solid the whole time and I see a series of messages like this:
> 
> [    6.312129] ata2.00: qc timeout (cmd 0xa1)
> [    6.312135] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> [   11.352006] ata2: link is slow to respond, please be patient (ready=0)
> [   16.336009] ata2: device not ready (errno=-16), forcing hardreset
> [   21.532007] ata2: link is slow to respond, please be patient (ready=0)
> [   26.348009] ata2: SRST failed (errno=-16)
> [   31.544008] ata2: link is slow to respond, please be patient (ready=0)
> [   36.360014] ata2: SRST failed (errno=-16)
> [   36.544307] ata2.00: ATAPI: ASUS    DRW-2014L1T, 1.02, max UDMA/66
> [   36.560317] ata2.00: configured for UDMA/66
> [   36.576547] scsi 1:0:0:0: CD-ROM            ASUS     DRW-2014L1T     
> 1.02 PQ: 0 ANSI: 5
> 
> And then the system boots normally. I don't have any problems reading or
> writing and I've seen the same issues with another DVD drive. However,
> there are some messages that appear when writing a disc (from an older
> /var/log/messages):
> 
> [2136249.058984] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [2136249.058987] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [2136249.058990] sr 1:0:0:0: [sr0] Add. Sense: Logical block address out
> of range
> [2136249.059891] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [2136249.059893] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [2136249.059896] sr 1:0:0:0: [sr0] Add. Sense: Logical block address out
> of range
> 
> These messages don't really concern me, because the discs always test
> fine. The only reason I mention it is in case there's some relation to
> the first issue.
> 
> The slow boot issue doesn't occur when I'm using my Intel ICH9R
> controller (not sure anymore about the errors while writing), but all 4
> ports are now in use by hard drives and I'd like to keep them on the
> ICH9R since the controller has been rock solid. This has been happening
> for as long as I've had this motherboard - January of 2008. It's more of
> a nuisance than anything else..
> 
> I'm not sure if there's an option I could pass to the libata module to
> help with issues on this port, forcing a specific mode or speed or
> something, but I thought I'd ask.

"libata.force=2:udma33" would force it to udma/33 but I don't think
that would be the problem here.  IDENTIFY doesn't use udma anyway.
Does the problem go away if you do "libata.force=2:pio0"?

Thanks.

-- 
tejun


  reply	other threads:[~2009-08-31 14:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17  0:29 Long delay when booting with SATA DVD on Marvell 88SE6121 Mike Hokenson
2009-08-31 14:02 ` Tejun Heo [this message]
     [not found]   ` <5ffd7e260908311856j1fd42765rbdc5245bf4e7bd71@mail.gmail.com>
2009-09-01  2:00     ` Fwd: " Mike Hokenson
2009-09-03 13:43       ` Tejun Heo
2009-09-03 21:05         ` Mark Lord
2009-09-03 22:25           ` Mike Hokenson
2009-09-04  2:41           ` Tejun Heo

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=4A9BD7DF.8030606@kernel.org \
    --to=tj@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=logan+kernel@gozer.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).