* IDE DMA driver for 164SX
@ 1998-11-02 8:26 krebs
0 siblings, 0 replies; 9+ messages in thread
From: krebs @ 1998-11-02 8:26 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 743 bytes --]
hi everyone,
after being really depressed by the slow IDE performance, I started
looking into the issue and decided to write my own driver for the
cy82c693u chip used on the sx board.
here come's the first released version of this driver. I've tested it
on my machine with disks on the primary and secondary channel and it
seems to work fine. I also spend some time with trying to solve the
problem with IDE DMA and sound playback - this also seems to work,
at least on my machine.
Note: the driver is a patch to the 2.1.126 kernel, it may work with
other 2.1.x kernels (i've never tested it). I won't work with 2.0.x
kernels.
For more information see the readme that is included in the tar file.
bye,
Andreas
here comes the driver
[-- Attachment #2: cy82c693_patch.tar.gz --]
[-- Type: application/x-gzip , Size: 8256 bytes --]
[-- Attachment #3: Type: text/plain, Size: 239 bytes --]
_____________________________________________________________________________
Andreas S. Krebs
Email mailto:krebs@kar.dec.com
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* IDE DMA driver for 164SX
@ 1998-11-10 9:13 krebs
1998-11-10 19:10 ` Guenter Geiger
0 siblings, 1 reply; 9+ messages in thread
From: krebs @ 1998-11-10 9:13 UTC (permalink / raw)
To: axp-list
a few days ago, I posted a driver for the cy82c693u chip used on 164SX alphas,
there was an error in the patch file - sorry.
an updated version can be found at:
http://flowserv.teco.edu/crew/krebs/linux/cy82c693.html
Andreas
--
_____________________________________________________________________________
Andreas S. Krebs
Email mailto:krebs@kar.dec.com
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IDE DMA driver for 164SX
1998-11-10 19:10 ` Guenter Geiger
@ 1998-11-10 10:22 ` krebs
1998-11-10 10:34 ` Francois LAPERRUQUE
0 siblings, 1 reply; 9+ messages in thread
From: krebs @ 1998-11-10 10:22 UTC (permalink / raw)
To: axp-list; +Cc: guenter.geiger
hi,
> Does this update affect the functionality of the driver too, or just the
> patch format ?
it's just the patch format - the wrong header file was patched
> I had it running the last week with no problems, until yesterday, where I
> had a
> bad lockup (drive LED stayed on, if that says something).
>
> The machine was on rather heavy load, doing sound and compilation via nfs.
> So I think that has to do with the sound problems you mentioned.
i also have some problems with heavy load on my machine, but in most cases
it's only a short interruption of the sound playback. i never had the lockup
problem - if you can reproduce it please let me know
> Anyhow I´m really happy about this driver, keep on with the good work !
thanks :-)
Andreas
--
_____________________________________________________________________________
Andreas S. Krebs
Email mailto:krebs@kar.dec.com
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IDE DMA driver for 164SX
1998-11-10 10:22 ` krebs
@ 1998-11-10 10:34 ` Francois LAPERRUQUE
1998-11-10 10:46 ` Francois LAPERRUQUE
1998-11-10 17:56 ` Bibek Sahu
0 siblings, 2 replies; 9+ messages in thread
From: Francois LAPERRUQUE @ 1998-11-10 10:34 UTC (permalink / raw)
To: axp-list
On Tue, 10 Nov 1998, krebs@kar.dec.com wrote:
>hi,
>
>> Does this update affect the functionality of the driver too, or just the
>> patch format ?
>it's just the patch format - the wrong header file was patched
>
>> I had it running the last week with no problems, until yesterday, where I
>>
I have compiled the 1.2.126 kernel on my SX164 but I couldn't see any
improvment... do you have any idea?
thanx ;-)
[root@alpha linux]# hdparm -T /dev/hda
/dev/hda:
Timing buffer-cache reads: 32 MB in 0.36 seconds =89.58 MB/sec
[root@alpha linux]#
--
Francois
--
mailto:flap@germinal.toulouse.inra.fr
---------------------- [ LINUX : just boot it! ] -------------------------
Linux-CULTe http://savage.iut-blagnac.fr/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IDE DMA driver for 164SX
1998-11-10 10:34 ` Francois LAPERRUQUE
@ 1998-11-10 10:46 ` Francois LAPERRUQUE
1998-11-10 17:56 ` Bibek Sahu
1 sibling, 0 replies; 9+ messages in thread
From: Francois LAPERRUQUE @ 1998-11-10 10:46 UTC (permalink / raw)
To: axp-list
On Tue, 10 Nov 1998, Francois LAPERRUQUE wrote:
>
>>
>>> I had it running the last week with no problems, until yesterday, where I
>>>
>I have compiled the 1.2.126 kernel on my SX164 but I couldn't see any
>improvment... do you have any idea?
>thanx ;-)
with the cy82c693 patch of course ;-)
--
Francois
--
mailto:flap@germinal.toulouse.inra.fr
---------------------- [ LINUX : just boot it! ] -------------------------
Linux-CULTe http://savage.iut-blagnac.fr/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IDE DMA driver for 164SX
1998-11-10 10:34 ` Francois LAPERRUQUE
1998-11-10 10:46 ` Francois LAPERRUQUE
@ 1998-11-10 17:56 ` Bibek Sahu
1998-11-12 21:42 ` axp
1 sibling, 1 reply; 9+ messages in thread
From: Bibek Sahu @ 1998-11-10 17:56 UTC (permalink / raw)
To: axp-list
Try 'hdparm -Tt' before and after. You'll notice the unbuffered /
cached / whatever speed doubles (went from ~3.5 to ~7 on mine).
- Bob
On Tue, 10 Nov 1998, Francois LAPERRUQUE wrote:
> On Tue, 10 Nov 1998, krebs@kar.dec.com wrote:
> >hi,
> >
> >> Does this update affect the functionality of the driver too, or just the
> >> patch format ?
> >it's just the patch format - the wrong header file was patched
> >
> >> I had it running the last week with no problems, until yesterday, where I
> >>
> I have compiled the 1.2.126 kernel on my SX164 but I couldn't see any
> improvment... do you have any idea?
> thanx ;-)
>
> [root@alpha linux]# hdparm -T /dev/hda
>
> /dev/hda:
> Timing buffer-cache reads: 32 MB in 0.36 seconds =89.58 MB/sec
> [root@alpha linux]#
>
> --
> Francois
> --
> mailto:flap@germinal.toulouse.inra.fr
> ---------------------- [ LINUX : just boot it! ] -------------------------
> Linux-CULTe http://savage.iut-blagnac.fr/
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: IDE DMA driver for 164SX
1998-11-10 9:13 krebs
@ 1998-11-10 19:10 ` Guenter Geiger
1998-11-10 10:22 ` krebs
0 siblings, 1 reply; 9+ messages in thread
From: Guenter Geiger @ 1998-11-10 19:10 UTC (permalink / raw)
To: axp-list; +Cc: krebs
Hi !
Does this update affect the functionality of the driver too, or just the
patch format ?
I had it running the last week with no problems, until yesterday, where I
had a
bad lockup (drive LED stayed on, if that says something).
The machine was on rather heavy load, doing sound and compilation via nfs.
So I think that has to do with the sound problems you mentioned.
Anyhow I´m really happy about this driver, keep on with the good work !
Guenter
> -----Original Message-----
> From: krebs@kar.dec.com [mailto:krebs@kar.dec.com]
> Sent: Tuesday, November 10, 1998 1:13 AM
> To: axp-list@redhat.com
> Subject: IDE DMA driver for 164SX
>
>
>
> a few days ago, I posted a driver for the cy82c693u chip used
> on 164SX alphas,
> there was an error in the patch file - sorry.
>
> an updated version can be found at:
> http://flowserv.teco.edu/crew/krebs/linux/cy82c693.html
>
> Andreas
>
> --
> ______________________________________________________________
> _______________
>
> Andreas S. Krebs
>
> Email mailto:krebs@kar.dec.com
> ______________________________________________________________
> _______________
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IDE DMA driver for 164SX
1998-11-10 17:56 ` Bibek Sahu
@ 1998-11-12 21:42 ` axp
1998-11-13 8:17 ` krebs
0 siblings, 1 reply; 9+ messages in thread
From: axp @ 1998-11-12 21:42 UTC (permalink / raw)
To: axp-list
Hmm. I'm not sure I applied/configured the kernel patch correctly. When
I run hdparm -Tt, I get:
Timing buffer-cache reads: 32 MB in 0.36 seconds =89.58 MB/sec
Timing buffered disk reads: 16 MB in 4.35 seconds = 3.67 MB/sec
And I got similiar numbers before I applied the patch (with kernel
2.1.124). Anyone have any idea what I'm doing wrong?
If it helps, here are a few lines of output from dmesg:
CY82C693: IDE controller on PCI bus 00 dev 41
CY82C693: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
hda: ST36451A, ATA DISK drive
hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: ST36451A, 6149MB w/448kB Cache, CHS=13328/15/63
-Donald Crimbchin
On Tue, 10 Nov 1998, Bibek Sahu wrote:
>
> Try 'hdparm -Tt' before and after. You'll notice the unbuffered /
> cached / whatever speed doubles (went from ~3.5 to ~7 on mine).
>
> - Bob
>
> On Tue, 10 Nov 1998, Francois LAPERRUQUE wrote:
>
> > On Tue, 10 Nov 1998, krebs@kar.dec.com wrote:
> > >hi,
> > >
> > >> Does this update affect the functionality of the driver too, or just the
> > >> patch format ?
> > >it's just the patch format - the wrong header file was patched
> > >
> > >> I had it running the last week with no problems, until yesterday, where I
> > >>
> > I have compiled the 1.2.126 kernel on my SX164 but I couldn't see any
> > improvment... do you have any idea?
> > thanx ;-)
> >
> > [root@alpha linux]# hdparm -T /dev/hda
> >
> > /dev/hda:
> > Timing buffer-cache reads: 32 MB in 0.36 seconds =89.58 MB/sec
> > [root@alpha linux]#
> >
> > --
> > Francois
> > --
> > mailto:flap@germinal.toulouse.inra.fr
> > ---------------------- [ LINUX : just boot it! ] -------------------------
> > Linux-CULTe http://savage.iut-blagnac.fr/
> >
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IDE DMA driver for 164SX
1998-11-12 21:42 ` axp
@ 1998-11-13 8:17 ` krebs
0 siblings, 0 replies; 9+ messages in thread
From: krebs @ 1998-11-13 8:17 UTC (permalink / raw)
To: axp-list
> Hmm. I'm not sure I applied/configured the kernel patch correctly. When
> I run hdparm -Tt, I get:
>
> Timing buffer-cache reads: 32 MB in 0.36 seconds =89.58 MB/sec
> Timing buffered disk reads: 16 MB in 4.35 seconds = 3.67 MB/sec
>
> And I got similiar numbers before I applied the patch (with kernel
> 2.1.124). Anyone have any idea what I'm doing wrong?
>
> If it helps, here are a few lines of output from dmesg:
>
> CY82C693: IDE controller on PCI bus 00 dev 41
> CY82C693: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
> hda: ST36451A, ATA DISK drive
> hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive
> ide2: ports already in use, skipping probe
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: ST36451A, 6149MB w/448kB Cache, CHS=13328/15/63
>
from what i see, it looks like the driver is working fine, and the results
don't seem so bad, but was DMA enabled or not ?
cause without the patch installed, i never got DMA performances above 1.5 MB/s,
so maybe you can try it again with the patch installed and without - and make
sure DMA is enabled (or simply test both DMA and PIO).
by the way, I never used the patch on a kernel prior to 2.1.126 and at least
with 2.1.126 and 2.1.127 it seems to work fine.
one other think how fast is your disk (do you have other results) and what
kinds of DMA does it support?
Andreas
--
_____________________________________________________________________________
Andreas S. Krebs
Email mailto:krebs@kar.dec.com
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-11-13 8:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-02 8:26 IDE DMA driver for 164SX krebs
-- strict thread matches above, loose matches on Subject: below --
1998-11-10 9:13 krebs
1998-11-10 19:10 ` Guenter Geiger
1998-11-10 10:22 ` krebs
1998-11-10 10:34 ` Francois LAPERRUQUE
1998-11-10 10:46 ` Francois LAPERRUQUE
1998-11-10 17:56 ` Bibek Sahu
1998-11-12 21:42 ` axp
1998-11-13 8:17 ` krebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox