Re: 2.5.69: VIA IDE still broken

Bartlomiej Zolnierkiewicz (B.Zolnierkiewicz@elka.pw.edu.pl)
Fri, 9 May 2003 00:22:50 +0200 (MET DST)


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-3157-1052432664-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Apply patch.

On Fri, 9 May 2003, Felix von Leitner wrote:

> I can't believe this still isn't fixed!
>
> hda: dma_timer_expiry: dma status == 0x24
> hda: lost interrupt
> hda: dma_intr: bad DMA status (dma_stat=30)
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
>
> hda: dma_timer_expiry: dma status == 0x24
> hda: lost interrupt
> hda: dma_intr: bad DMA status (dma_stat=30)
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
>
> My hda is in perfect health and this does not happen on the same
> hardware with 2.4.* or 2.5.63. I reported this before and got the
> answer that to fix this, recent changes in the IDE code would have to be
> reverted. Apparently I was unreasonably hasty in assuming that that
> would be done now that the need to do it has been established.
>
> I would appreciate it if the fix would be integrated into 2.5.70.
>
> Amazing: the only hardware components in my machine that actually work
> as expected with recent Linux 2.5 kernels are the network cards, the RAM
> and the keyboard, and I had to replace a tulip card with an eepro100 for
> that. Even the CPU appears to run too hot with Linux, causing the
> system to boot spontaneously under load, and because ACPI is terminally
> broken in Linux and has been every time I tried it, I can't do much
> about it. Firewire does not like me (modprobe eth1394 -> oops), IDE
> loses interrupts (see above), my USB mouse stops working as soon as I
> plug in my USB hard disk (which works fine on my notebook and under
> Windows), using my IDE CD-R causes the machine to freeze while cdrecord
> does OTP, finalizing or eject. The nvidia graphics card takes major
> patching to work at all with X, and all of these components are
> well-known brand components from tier 1 suppliers that were chosen for
> reliability and market penetration over price. I envy people who can
> still evangelize Linux under circumstances like this. I sure as hell
> can not.
>
> Felix

So what are you waiting for? Stop whining and start hacking now!

--
Bartlomiej

--=_courier-3157-1052432664-0001-2 Content-Type: text/plain; charset=us-ascii; name="ide_masked_irq.patch" Content-Transfer-Encoding: base64 Content-ID: <Pine.SOL.4.30.0305090022500.9466@mion.elka.pw.edu.pl> Content-Description: Content-Disposition: attachment; filename="ide_masked_irq.patch"

DQojIEZpeCBtYXNrZWRfaXJxIGFyZyBoYW5kbGluZyBmb3IgaWRlX2RvX3Jl cXVlc3QoKS4NCiMgU29sdmVzICJoZHg6IGxvc3QgaW50ZXJydXB0IiBidWcu DQojDQojIEJhcnRsb21pZWogWm9sbmllcmtpZXdpY3ogPGJ6b2xuaWVyQGVs a2EucHcuZWR1LnBsPg0KDQogZHJpdmVycy9pZGUvaWRlLWlvLmMgfCAgICA0 ICsrLS0NCiAxIGZpbGVzIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMiBk ZWxldGlvbnMoLSkNCg0KZGlmZiAtcHVOIGRyaXZlcnMvaWRlL2lkZS1pby5j fmlkZV9tYXNrZWRfaXJxIGRyaXZlcnMvaWRlL2lkZS1pby5jDQotLS0gbGlu dXgtMi41LjY5L2RyaXZlcnMvaWRlL2lkZS1pby5jfmlkZV9tYXNrZWRfaXJx CVRodSBNYXkgIDggMTc6MTY6MjcgMjAwMw0KKysrIGxpbnV4LTIuNS42OS1y b290L2RyaXZlcnMvaWRlL2lkZS1pby5jCVRodSBNYXkgIDggMTc6MTY6Mjcg MjAwMw0KQEAgLTg1MCwxNCArODUwLDE0IEBAIHF1ZXVlX25leHQ6DQogCQkg KiBoYXBwZW5zIGFueXdheSB3aGVuIGFueSBpbnRlcnJ1cHQgY29tZXMgaW4s IElERSBvciBvdGhlcndpc2UNCiAJCSAqICAtLSB0aGUga2VybmVsIG1hc2tz IHRoZSBJUlEgd2hpbGUgaXQgaXMgYmVpbmcgaGFuZGxlZC4NCiAJCSAqLw0K LQkJaWYgKGh3aWYtPmlycSAhPSBtYXNrZWRfaXJxKQ0KKwkJaWYgKG1hc2tl ZF9pcnEgIT0gSURFX05PX0lSUSAmJiBod2lmLT5pcnEgIT0gbWFza2VkX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