Re: [RESOLVED]: kernel hangs on CD-R HP8100i if compiled w/ VIA IDE

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Fri Feb 09 2001 - 16:44:00 EST


On Fri, Feb 09, 2001 at 10:18:05PM +0100, Henryk Paluch wrote:

> Shortly: kernel (2.2.x, 2.4.x) hangs on CD-R HP8100i, VIA KT133 chipset
> (w/ ATA100 support) if kernel is compiled with VIA IDE chipset support.
> Please, see my previous post from 21 Jan 2001 for full description.
>
> After little tweaking via82cxxx.c driver I found, that the cause is
> 'Prefetch Buffer: ' (/proc/ide/via) - if disabled for appropriate IDE
> channel, everything works well. It also explains, why the kernel works
> properly if VIA IDE support is not compiled in - BIOS leaves Prefetch
> disabled (I hacked that driver a bit more to show chipset configuration
> either before and after modification).
>
> So I have a little question: What could be a clean way, to make a kernel
> option to disable prefetch for VIA (use something like 'ide1=noprefetch'?)
> Any idea?

Since version 2.30 of the VIA driver (2.4.2-pre2), the driver leaves
prefetch as is set by BIOS. It seems that ATAPI devices need this set to
off at least on some of the VIA chips.

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



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:14 EST