Re: Samsung N130 ATA exception after 5min uptime -- PhoenixFailSafe issue?

From: Johannes Stezenbach
Date: Sun Jan 03 2010 - 19:41:58 EST


On Mon, Jan 04, 2010 at 07:59:59AM +0900, Tejun Heo wrote:
> On 01/04/2010 07:11 AM, Johannes Stezenbach wrote:
> >
> > FWIW, I just tested a current git kernel (v2.6.33-rc2-268-g45d28b0)
> > with Tejun's patch applied on my N130. The ATA exception and hang is
> > indeed gone, just "ata1: clearing spurious IRQ" is logged.
> >
> > I've see Tejun's comment in
> > http://bugzilla.kernel.org/show_bug.cgi?id=14314
> > and I would like to add that the ATA irq is not shared.
> >
> > 14: 43885 0 IO-APIC-edge ata_piix
> > 15: 0 0 IO-APIC-edge ata_piix
>
> Can you please post that on bug#14314? If the IRQ line indeed wasn't
> shared, it might mean that the controller raised the IRQ line before
> getting its internal state in order and the IRQ checking sequence
> cleared the external IRQ status while leaving the internal pending bit
> intact, which I've never heard of on piix and don't think is possible.
> Hmmmm... given that the problem was dependent on BIOS on the other
> model (is it the N130?), maybe the BIOS is doing something funny. :-(
> Anyways, please post full output of "cat /proc/interrupts" at the bz.

I've updated bug#14314. It is certainly a BIOS issue, but the
"spurious IRQ" check deals way better with it than the previous
30sec hang waiting for timeout. IMHO the patch should be merged
into mainline asap. Or do you think it has any downside?


Thanks
Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/