* S3C6410 SDHCI driver crash
@ 2009-09-24 15:32 Maurus Cuelenaere
2009-09-24 19:00 ` Ben Dooks
0 siblings, 1 reply; 3+ messages in thread
From: Maurus Cuelenaere @ 2009-09-24 15:32 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
I'm currently experiencing an SDHCI bug in 2.6.31 and linux-next, which
didn't
seem to appear in 2.6.31-rc8.
This is on a new S3C6410 platform (SmartQ 7, see [1]) and it seems to be
consistently happening right after displaying "Loading hardware drivers" (in
user-space; Ubuntu-based).
The relevant kernel log lines are:
blk: request botched
kernel BUG at drivers/mmc/host/sdhci.c:298!
This is on 2.6.31-next-20090923, but I've also had this on regular
2.6.31, Ben
Dooks latest tree and linux-next with the ADMA patches applied.
Any ideas?
[1]
http://gitorious.org/mcuelenaere-smartq-kernel/mcuelenaere-smartq-kernel/commits/experimental-2.6.31
Regards,
Maurus Cuelenaere
^ permalink raw reply [flat|nested] 3+ messages in thread
* S3C6410 SDHCI driver crash
2009-09-24 15:32 S3C6410 SDHCI driver crash Maurus Cuelenaere
@ 2009-09-24 19:00 ` Ben Dooks
2009-09-28 18:06 ` Maurus Cuelenaere
0 siblings, 1 reply; 3+ messages in thread
From: Ben Dooks @ 2009-09-24 19:00 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Sep 24, 2009 at 05:32:37PM +0200, Maurus Cuelenaere wrote:
> Hi,
>
> I'm currently experiencing an SDHCI bug in 2.6.31 and linux-next, which
> didn't
> seem to appear in 2.6.31-rc8.
>
> This is on a new S3C6410 platform (SmartQ 7, see [1]) and it seems to be
> consistently happening right after displaying "Loading hardware drivers" (in
> user-space; Ubuntu-based).
>
> The relevant kernel log lines are:
>
> blk: request botched
> kernel BUG at drivers/mmc/host/sdhci.c:298!
Having a look at the code in mainline, this is being triggered in
sdhci_write_block_pio(), by the following code:
296 while (blksize) {
297 if (!sg_miter_next(&host->sg_miter))
298 BUG();
Which suggests that the size of the transfer was bigger than the sg list
passed to the transfer, which is worrying as this seems to suggest there
is a problem with the PIO code writing insufficient data to the card.
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 3+ messages in thread* S3C6410 SDHCI driver crash
2009-09-24 19:00 ` Ben Dooks
@ 2009-09-28 18:06 ` Maurus Cuelenaere
0 siblings, 0 replies; 3+ messages in thread
From: Maurus Cuelenaere @ 2009-09-28 18:06 UTC (permalink / raw)
To: linux-arm-kernel
Op 24-09-09 21:00, Ben Dooks schreef:
> On Thu, Sep 24, 2009 at 05:32:37PM +0200, Maurus Cuelenaere wrote:
>> Hi,
>>
>> I'm currently experiencing an SDHCI bug in 2.6.31 and linux-next, which
>> didn't
>> seem to appear in 2.6.31-rc8.
>>
>> This is on a new S3C6410 platform (SmartQ 7, see [1]) and it seems to be
>> consistently happening right after displaying "Loading hardware
drivers" (in
>> user-space; Ubuntu-based).
>>
>> The relevant kernel log lines are:
>>
>> blk: request botched
>> kernel BUG at drivers/mmc/host/sdhci.c:298!
>
> Having a look at the code in mainline, this is being triggered in
> sdhci_write_block_pio(), by the following code:
>
> 296 while (blksize) {
> 297 if (!sg_miter_next(&host->sg_miter))
> 298 BUG();
>
> Which suggests that the size of the transfer was bigger than the sg list
> passed to the transfer, which is worrying as this seems to suggest there
> is a problem with the PIO code writing insufficient data to the card.
>
An update on this: apparently this issue was caused by using the EXT4 driver
for loading an EXT3 FS, so it has nothing to do with the SDHCI driver...
Sorry for the false alarm.
I also want to mention that the ADMA patch from kki_ap/linux-2.6-samsung.git
seems to be working smoothly here.
Regards,
Maurus Cuelenaere
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-28 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 15:32 S3C6410 SDHCI driver crash Maurus Cuelenaere
2009-09-24 19:00 ` Ben Dooks
2009-09-28 18:06 ` Maurus Cuelenaere
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).