Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andreas Krebs <krebs@qkal.sap-ag.de>
To: axp-list@redhat.com
Subject: Re: cdrom with CY82C693 driver on 164SX
Date: Tue, 23 Mar 1999 09:33:14 +0100	[thread overview]
Message-ID: <199903230833.JAA0000018139@storm.qkal.sap-ag.de> (raw)
In-Reply-To: Your message of Mon, 22 Mar 1999 13:11:09 -0500. <Pine.LNX.3.96.990322130948.291A-100000@spiffy.localnet>

> > is it a 2.2.3 only problem - or does it also occur with other kernel versions\b?
> > i haven't changed the code for quite some time, so there may be a problem in
> > the generic ide part (if it is only in 2.2.3) - could you please check and let 
> > me know. i can't test it, since i don't own an atapi cdrom.
> 
> The corruption occurs with every 2.2.x, including some ac's.
have you tried different dma transfer modes (use hdparm -X to change them), have you
tried it with a different cdrom?

> > > Additionally, this patch fixes the awful squeaking I get on my es1371 that
> > > occurs with other I/O, which suggests maybe a more fundamental problem (with
> > > PCI perhaps?).
> > i found the fix to this problem by trial and error. take a look at the dma 
> > busmaster timeout value in my drivers source - this value is responsible for 
> > fixing the squeaking problem.
> > i havn't been able to find out why changing the ide dma busmaster timeout value 
> > solves this problem, but it works so i don't really care. but since the cy82c693 
> > is responsible for ide, pci and isa the ide dma timeout register seems to have
> > an effekt on the whole chip.
> 
> I don't know what range I should be playing with but I tried the following
> values for BUSMASTER_TIMEOUT and none had any affect on sound or cdrom
> corruption: 0x25, and 0x[46789]0.
depending on the version of the cy82c693 the default value is either 0x0 or 0x28.
so with very small values (< 0x20) my soundcard (sb16) caused trouble with to
large values (> 0x80) the whole machine froze when doing heavy dma transfers. 
or simply remove the code setting the BUSMASTER_TIMEOUT, to check wether it has
any effect or not.


Andreas


-- 
_____________________________________________________________________________

                               Andreas S. Krebs

                CEC Karlsruhe, SAP AG, krebs@qkal.sap-ag.de
_____________________________________________________________________________


  reply	other threads:[~1999-03-23  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-21 22:46 AlphaPC 164SX, AlphaBIOS, and SRM Eric Dittman
1999-03-22  9:44 ` Oleg Gusev
1999-03-22 14:50   ` cdrom with CY82C693 driver on 164SX norvierk
1999-03-22 15:06     ` Andreas Krebs
1999-03-22 18:11       ` norvierk
1999-03-23  8:33         ` Andreas Krebs [this message]
1999-03-22 19:41       ` norvierk
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox