From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29646 invoked from network); 23 Mar 1999 08:47:01 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Mar 1999 08:47:01 -0000 Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [194.39.131.165]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA31864 for ; Tue, 23 Mar 1999 03:34:20 -0500 Received: from sap-ag.de ([194.39.131.3]) by smtpde01.sap-ag.de (out) with ESMTP id JAA15110 for ; Tue, 23 Mar 1999 09:33:13 +0100 (MEZ) Received: from sharon.qkal.sap-ag.de (sharon.qkal.sap-ag.de [10.55.144.3]) by sap-ag.de (8.8.8/8.8.8) with SMTP id JAA25057 for ; Tue, 23 Mar 1999 09:31:13 +0100 (MET) Received: from storm.qkal.sap-ag.de by sharon.qkal.sap-ag.de (5.65v4.0/1.1.19.2/20Jan99-0715PM) id AA07734; Tue, 23 Mar 1999 09:33:15 +0100 From: Andreas Krebs Received: from localhost by storm.qkal.sap-ag.de (8.8.8/1.1.19.2/15Jan99-1021AM) id JAA0000018139; Tue, 23 Mar 1999 09:33:14 +0100 (MET) Message-Id: <199903230833.JAA0000018139@storm.qkal.sap-ag.de> X-Mailer: exmh version 2.0.2 2/24/98 To: axp-list@redhat.com Subject: Re: cdrom with CY82C693 driver on 164SX In-Reply-To: Your message of Mon, 22 Mar 1999 13:11:09 -0500. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Mar 1999 09:33:14 +0100 X-Mts: smtp > > is it a 2.2.3 only problem - or does it also occur with other kernel versions? > > 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 _____________________________________________________________________________