linux-pmac 2.2.10: media bay panics on PBG3

Dave Weis djweis at plconline.com
Thu Jul 8 23:49:30 EST 1999



> I added lots of printk's to mediabay.c, and apparently the panic occurs at (or
> near) line 276 in media_bay_task:
> 
> if (bay->cd_timer && (--bay->cd_timer == 0 || MB_IDE_READY(i))
                        ^^
>     && bay->cd_index < 0) {

i'm probably way off, but should the decrement be after the cd timer? i
wouldn't think you would want to do math on that pointer in that way.

dave


-- 
David Weis                | 10520 New York Ave, Des Moines, IA 50322
djweis at plconline.com      | Voice 515-278-0133 Ext 231

When they took the Fourth Amendment, I was quiet because I didn't deal drugs.
When they took the Sixth Amendment, I was quiet because I was innocent.
When they took the Second Amendment, I was quiet because I didn't own a gun.
Now they've taken the First Amendment and I can't say anything.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list