mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petr Baudis <pasky@ucw.cz>
To: andre@linux-ide.org
Cc: linux-kernel@vger.kernel.org
Subject: IDE DMA breakage w/ 2.4.21+ and 2.6.0-test4(-mm4)
Date: Sun, 31 Aug 2003 18:16:34 +0200	[thread overview]
Message-ID: <20030831161634.GA695@pasky.ji.cz> (raw)

  Hello,

  when upgrading from 2.4.20 to 2.4.22, I hit a strange problem - the machine
mysteriously freezed (totally, interrupts blocked) in few seconds when I tried
to do anything with the soundcard. It turned out to be a DMA conflict between
soundcard and disk, since it disappears when I disable the (now defaultly on)
DMA-by-default IDE option.

  The IDE driver smells the hardware as:

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 1b) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:DMA
hda: C/H/S=1024/16/255 from BIOS ignored
hda: IC35L040AVER07-0, ATA DISK drive
hdd: SAMSUNG CD-R/RW DRIVE SW-224B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=79780/16/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 >

  The option help mentions that this is gonna happen if I have VIA VP2 chipset,
however I think I have VP3 :

    Host bridge: VIA Technologies, Inc. VT82C597 [Apollo VP3] (rev 4).
      Master Capable.  Latency=16.
      Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
  Bus  0, device   1, function  0:
    PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] (rev 0).
      Master Capable.  No bursts.  Min Gnt=12.
  Bus  0, device   7, function  0:
    ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 27).
  Bus  0, device   7, function  1:
    IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 6).
      Master Capable.  Latency=32.
      I/O at 0xd000 [0xd00f].

  So apparently this is still not fixed in VP3, I think it should be mentioned
in the option help (together with reflecting that this is on by default now),
especially as VP3 IMHO isn't that uncommon. If you don't want to bother with
doing this, I can make the patch. Just FYI.

  Kind regards,

-- 
 
				Petr "Pasky" Baudis
.
Perfection is reached, not when there is no longer anything to add, but when
there is no longer anything to take away.
	-- Antoine de Saint-Exupery
.
Stuff: http://pasky.ji.cz/

             reply	other threads:[~2003-08-31 16:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-31 16:16 Petr Baudis [this message]
2003-08-31 17:57 ` Alan Cox
2003-08-31 18:32   ` Bartlomiej Zolnierkiewicz
2003-08-31 18:57     ` Petr Baudis
2003-08-31 20:06       ` Petr Baudis
2003-08-31 21:21         ` Alan Cox
2003-08-31 21:51           ` Petr Baudis
2003-08-31 23:39         ` Mikulas Patocka

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=20030831161634.GA695@pasky.ji.cz \
    --to=pasky@ucw.cz \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®