From: Thomas Kuther <gimpel@sonnenkinder.org>
To: linux-kernel@vger.kernel.org
Subject: IT821x: no DMA since 2.6.21
Date: Tue, 15 May 2007 12:53:08 +0200 [thread overview]
Message-ID: <20070515125308.3a9f6442@SiRiUS.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 2558 bytes --]
Hi!
Since 2.6.21 I have a problem with the it821x driver on my ITE 8212
controller.
Now I saw some updates to it821x in 2.6.22-rc1 and gave that a try, but
the problem persists.
It seems that DMA is broken on it8212 somehow since the merge of
the it8213 driver.
dmesg shows some BUG DMA OFF:
-----------------8<-----------------
IT8212: IDE controller at PCI slot 0000:00:09.0
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 18
IT8212: chipset revision 17
it821x: controller in smart mode.
IT8212: 100% native mode on irq 18
ide2: BM-DMA at 0xdc00-0xdc07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xdc08-0xdc0f, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: SAMSUNG SP2514N, ATA DISK drive
hdf: Maxtor 6Y120L0, ATA DISK drive
hde: selected mode 0x45
hdf: selected mode 0x46
hde: Performing identify fixups.
hdf: Performing identify fixups.
ide2 at 0xec00-0xec07,0xe802 on irq 18
hde: max request size: 128KiB
hde: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63,
BUG DMA OFF
hde:hde: recal_intr: status=0x51 { DriveReady SeekComplete Error }
hde:recal_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown hde1
hdf: max request size: 128KiB
hdf: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=65535/16/63,
BUG DMA OFF
hdf:hdf: recal_intr: status=0x51 { DriveReady SeekComplete Error }
hdf:recal_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown hdf1
------------------------>8-----------------------
Until 2.6.20 (since 2.6.10) the driver worked quite fine, but since
2.6.21 moving/copying files from/to any drive on the controller is
a) really slow,
b) music starts skipping,
c) mouse stopps moving for short periods,
and hdparm does not work anymore:
# hdparm -d1 /dev/hde
/dev/hde:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Input/output error
using_dma = 0 (off)
This has not been a problem before. hdparm -tT showed something around
40MB/s for buffered reads, now it looks like this:
# hdparm -tT /dev/hde
/dev/hde:
Timing cached reads: 356 MB in 2.01 seconds = 177.30 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Input/output
error
Timing buffered disk reads: 10 MB in 3.28 seconds = 3.05 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Input/output
error
more: http://phpfi.com/234217
If there is more info needed, please tell me what. And please CC as I
am not subscribed.
Thanks,
Thomas
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-05-15 10:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 10:53 Thomas Kuther [this message]
2007-05-15 11:26 ` Thomas Kuther
2007-05-15 11:31 ` Alan Cox
2007-05-15 11:35 ` Thomas Kuther
2007-05-15 11:48 ` Alan Cox
2007-05-15 12:20 ` Thomas Kuther
2007-05-16 0:58 ` Bartlomiej Zolnierkiewicz
2007-05-16 8:09 ` Thomas Kuther
2007-05-16 9:46 ` Bartlomiej Zolnierkiewicz
2007-05-18 9:47 ` Thomas Kuther
2007-05-24 9:46 ` Bartlomiej Zolnierkiewicz
2007-05-31 19:23 ` Thomas Kuther
2007-06-02 21:32 ` Bartlomiej Zolnierkiewicz
2007-05-16 12:40 ` Alan Cox
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=20070515125308.3a9f6442@SiRiUS.home \
--to=gimpel@sonnenkinder.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®