From: Tejun Heo <htejun@gmail.com>
To: Quel Qun <kelk1@comcast.net>
Cc: "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>,
linux-ide@vger.kernel.org
Subject: Re: Boot fails on Intel SATA controller
Date: Wed, 01 Aug 2007 23:36:07 +0900 [thread overview]
Message-ID: <46B09A57.50806@gmail.com> (raw)
In-Reply-To: <080120071418.11784.46B09645000B42BF00002E082200735834CE05040A05@comcast.net>
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
Quel Qun wrote:
> -------------- Original message ----------------------
> From: Tejun Heo <htejun@gmail.com>
>> Hello,
>>
>> Luiz Fernando N. Capitulino wrote:
>>> Hi there,
>>>
>>> A Mandriva user is reporting that his machine hangs while booting
>>> kernels 2.6.22.1 and 2.6.23-rc1.
>>>
>>> But boots fine with 2.6.21.
>>>
>>> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>>> ata1.00: qc timeout (cmd 0x27)
>>> ata1.00: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (781422768)
>>> ata1.00: ATA-7: HDS724040KLSA80, KFAOA20N, max UDMA/133
>>> ata1.00: 781422768 sectors, multi 8: LBA48
>>> ata1.00: failed to set xfermode (err_mask=0x40)
>>> ata1: failed to recover some devices, retrying in 5 secs
>> What happens after this?
>>
> It basically retries a few times, then fails to boot. Here is a more complete log with 2.6.23-rc1:
Does the attached patch change anything?
--
tejun
[-- Attachment #2: debug.patch --]
[-- Type: text/x-patch, Size: 522 bytes --]
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index d8c6789..af5db69 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1915,8 +1915,8 @@ int ata_dev_configure(struct ata_device *dev)
dev->flags |= ATA_DFLAG_FLUSH_EXT;
}
- if (ata_id_hpa_enabled(dev->id))
- dev->n_sectors = ata_hpa_resize(dev);
+ //if (ata_id_hpa_enabled(dev->id))
+ // dev->n_sectors = ata_hpa_resize(dev);
/* config NCQ */
ata_dev_config_ncq(dev, ncq_desc, sizeof(ncq_desc));
next prev parent reply other threads:[~2007-08-01 14:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 14:18 Boot fails on Intel SATA controller Quel Qun
2007-08-01 14:36 ` Tejun Heo [this message]
2007-08-01 14:39 ` Luiz Fernando N. Capitulino
-- strict thread matches above, loose matches on Subject: below --
2007-08-06 19:17 Quel Qun
2007-08-06 20:03 ` Luiz Fernando N. Capitulino
[not found] <080320071730.15251.46B3662E0002B87600003B932207020853CE05040A05@comcast.net>
2007-08-04 7:40 ` Tejun Heo
2007-08-02 16:49 Quel Qun
2007-08-03 11:00 ` Tejun Heo
2007-07-31 14:00 Luiz Fernando N. Capitulino
2007-08-01 6:06 ` 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=46B09A57.50806@gmail.com \
--to=htejun@gmail.com \
--cc=kelk1@comcast.net \
--cc=lcapitulino@mandriva.com.br \
--cc=linux-ide@vger.kernel.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).