Re: OOPS in read_cd... what to do?

From: Brian Gerst (bgerst@didntduck.org)
Date: Mon Jan 27 2003 - 11:23:59 EST


Mauricio Martinez wrote:
> I reported twice (Jan 15 the last time) to this list a kernel oops when
> reading a CD in a SONY CDU-31A unit with kernels 2.4.18 - 2.4.20 (and
> probably all the 2.4 series), which works fine on 2.2.x (and even
> 1.2.x!!), maybe the maintainer of this part os the code is offline... Are
> there any alternatives to fix this problem? Thank you.

Drivers for older hardware like this are more than likely unmaintained,
and suffer from bit-rot. I don't have this hardware, but I can offer a
bit of analysis to help you debug this further. From the oops message
in your previous email, it looks like the oops occurred on line 1326 of
cdu31a.c. From the stack dump, I can see that input_data was called
with bytesleft=0x4000. This caused readahead_buffer + bytesleft to go
past the end of the module and oops.

--
				Brian Gerst

- 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 Jan 31 2003 - 22:00:17 EST