Re: Kernel Oops in 2.4.18 (ide.c)

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Fri Mar 08 2002 - 07:32:55 EST


On Wed, 6 Mar 2002, Beef Arrowny wrote:

> Code; c01d80c6 <ide_output_data+a6/b0>
> 00000000 <_EIP>:
> Code; c01d80c6 <ide_output_data+a6/b0> <=====
> 0: f3 66 6f repz outsw
> %ds:(%esi),(%dx) <=====
> Code; c01d80c9 <ide_output_data+a9/b0>

Check out drivers/ide/ide.c:ide_output_data you're dying here...

if (drive->slow) {
        unsigned short *ptr = (unsigned short *) buffer; <==
        while (wcount--) {
                outw_p(*ptr++, IDE_DATA_REG); <== whoopdedoo
                outw_p(*ptr++, IDE_DATA_REG);
                }
        } else

http://groups.google.com/groups?hl=en&threadm=linux.kernel.Pine.LNX.4.44.0202070911321.8308-100000%40netfinity.realnet.co.sz&rnum=1&prev=/groups%3Fq%3Ddrivers/ide/ide.c.orig%2Bgroup:mlist.linux.kernel%2Bgroup:mlist.linux.kernel%26hl%3Den%26selm%3Dlinux.kernel.Pine.LNX.4.44.0202070911321.8308-100000%2540netfinity.realnet.co.sz%26rnum%3D1

is my original posting. Jens sent in a patch which stopped the oops from
happening in 2.5, i *think* it might have been backported to 2.4,
essentially it all boiled down to something b0rking the scatter gather
list (referenced via buffer).

Regards,
        Zwane

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



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:08 EST