09-23-04 02:24 AM
On Wed, 14 Jul 2004 07:56:58 +0000, Chris Tenney wrote:
> This is an install of Redhat Fedora FC2 on a Sager NP-8790
>
> I was getting a dma error of: dma_timer_expiry: dma status == 0x20
> which was causing slow downs and lockups.
>
> I found this patch listed in my notebook forum as stated here:
> http://www.powernotebooks.com/forum...opic.php?t=1063
>
> This is what one user listed as a fix:
>
> OK, it turns out that the DMA timeout problem was indeed a kernel bug in t
he
> 2.6.x tree. There is now a patch to solve the problem, and I can report th
at
> it works perfectly. Here is a link to the patch and the patch itself:
>
> --- linux-2.6.7/drivers/ide/ide-probe.c 2004-06-21 15:25:51.000000000 +020
0
> +++ linux/drivers/ide/ide-probe.c 2004-06-21 15:29:19.901710936 +0200
> @@ -897,7 +897,7 @@
> blk_queue_segment_boundary(q, 0xffff);
>
> if (!hwif->rqsize)
> - hwif->rqsize = hwif->no_lba48 ? 256 : 65536;
> + hwif->rqsize = 256;
> if (hwif->rqsize < max_sectors)
> max_sectors = hwif->rqsize;
> blk_queue_max_sectors(q, max_sectors);
>
>
> And the link:
>
> http://lkml.org/lkml/2004/6/21/101
>
> How do I get that into the kernel? And, the 2nd question, can I place thi
s
> in the command line when I do a install to avoid the errors or patch the
> kernel before doint the install?
Just fyi, there is released errate kernels, probably this fix is in a
newer kernel, so see e.g. www.fedoranews.org for an update kernel-
Installing an official ready to use kernel will save you countless
hours, especially if you're a newbie.
[ Post a follow-up to this message ]
|