Re: 2.5.11 ide kernel panic

Martin Dalecki (dalecki@evision-ventures.com)
Tue, 30 Apr 2002 10:55:09 +0200


Uz.ytkownik Ivan G. napisa?:
> Here's my next attempt to get the kernel working.
> This is 2.5.11 + framebuffer patch for compilation + framebuffer patch for
> kernel panic (both from James Simmons).
>
> Oops portion below was copied from the screen.
> It's a portion since the rest scrolled off the screen.
> Inaccuracies are possible but unlikely ( I double-checked).
>

Coudl you please remove the following code (or similar)
from the ata_irq_request() function and see whatever the crash still
happens? It could very well we that hwgroup->drive isn't
initialized during boot under seom cirumstances.

if (hwgroup->drive->channel->sharing_irq && ch != hwgroup->drive->channel &&
ch->io_ports[IDE_CONTROL_OFFSET]) {
/* set nIEN for previous channel */
/* FIXME: check this! It appears to act on the current channel! */

if (ch->intrproc)
ch->intrproc(drive);
else
OUT_BYTE((drive)->ctl|2, ch->io_ports[IDE_CONTROL_OFFSET]);
}

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