Re: 3.1.3 2.6.37.6 2.6.33.4 kernel bug in pata_oldpiix driver

From: Alan Cox
Date: Mon Nov 28 2011 - 16:26:09 EST


> BUG: unable to handle kernel paging request at 45230451

That looks like junk from somewhere.

> IP: [<c17bb1f3>] oldpiix_set_dmamode+0xb3/0x120

> [<c17bb3b0>] ? oldpiix_qc_issue+0x40/0x60
> [<c1788d8a>] ? ata_qc_issue+0x1ea/0x330

So we were issuing a command, we called the oldpiix code, it decided that
the timings were not loaded for this drive (ie it was those loaded for
the other device on the bus)

It will then have gone into oldpiix_set_piomode which ran succesfully
implying that ap and adev were valid at that point but seem to have
mysteriously gone invalid later.

No idea, and the fact that changing things like the pre-empt behaviour or
build options makes me wonder if it was scribbled on from elsewhere.


--
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/