public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Petr Sebor <petr@scssoft.com>
To: sven kissner <sven.kissner@t-online.de>
Cc: alan@lxorguk.ukuu.org.uk, Vojtech Pavlik <vojtech@suse.cz>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: VIA vt8235 headache
Date: Wed, 05 Feb 2003 22:37:30 +0100	[thread overview]
Message-ID: <3E41841A.8040006@scssoft.com> (raw)
In-Reply-To: 3E407E8A.1010700@t-online.de

Hi,

with this patch applied over the 2.4.21-pre4-ac2, the CDROM on IDE1 now
works ok, no more error messages.

The harddrive on /dev/hdc is still choking though...

hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x00 { }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x00 { }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x00 { }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x00 { }
hdc: DMA disabled
ide1: reset: master: error (0x00?)
hdc: lost interrupt

Regards,
Petr

sven kissner wrote:

> hi petr,
>
> i had the same errors (although i never experienced any issues with hd,
> but this seems to be because i'm running them on primary while having my
> atapu devices on secondary). i fixed them the following:
>
> - using 2.4.21pre4 (pre3 worked either)
> - applying the following patch from vojteck:
>
> <--
> ChangeSet@1.884, 2002-12-19 11:23:11+01:00, vojtech@suse.cz
>    VIA IDE: Always use slow address setup timings for ATAPI devices.
>
>
> via82cxxx.c |   19 ++++++-------------
> 1 files changed, 6 insertions(+), 13 deletions(-)
>
>
> diff -Nru a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c
> --- a/drivers/ide/pci/via82cxxx.c       Thu Dec 19 11:23:42 2002
> +++ b/drivers/ide/pci/via82cxxx.c       Thu Dec 19 11:23:42 2002
> @@ -1,16 +1,5 @@
> /*
> - * $Id: via82cxxx.c,v 3.35-ac2 2002/09/111 Alan Exp $
> - *
> - *  Copyright (c) 2000-2001 Vojtech Pavlik
> - *
> - *  Based on the work of:
> - *     Michel Aubry
> - *     Jeff Garzik
> - *     Andre Hedrick
> - */
> -
> -/*
> - * Version 3.35
> + * Version 3.36
>    *
>    * VIA IDE driver for Linux. Supported southbridges:
>    *
> @@ -152,7 +141,7 @@
>          via_print("----------VIA BusMastering IDE Configuration"
>                  "----------------");
>
> -       via_print("Driver Version:                     3.35-ac");
> +       via_print("Driver Version:                     3.36");
>          via_print("South Bridge:                       VIA %s",
>                  via_config->name);
>
> @@ -351,6 +340,10 @@
>                  ide_timing_compute(peer, peer->current_speed, &p, T, UT);
>                  ide_timing_merge(&p, &t, &t, IDE_TIMING_8BIT);
>          }
> +
> +       /* Always use 4 address setup clocks on ATAPI devices */
> +       if (drive->media != ide_disk)
> +               t.setup = 4;
>
>          via_set_speed(HWIF(drive)->pci_dev, drive->dn, &t);
> -->




  reply	other threads:[~2003-02-05 21:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030203225014$6785@gated-at.bofh.it>
2003-02-05  3:01 ` VIA vt8235 headache sven kissner
2003-02-05 21:37   ` Petr Sebor [this message]
2003-02-03 22:38 Petr Sebor
2003-02-04 12:12 ` Alan Cox
2003-02-04 20:42   ` Vojtech Pavlik
2003-02-04 21:46     ` Petr Sebor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E41841A.8040006@scssoft.com \
    --to=petr@scssoft.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sven.kissner@t-online.de \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox