lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070515132646.745fcd35@SiRiUS.home>
Date:	Tue, 15 May 2007 13:26:46 +0200
From:	Thomas Kuther <gimpel@...nenkinder.org>
To:	linux-kernel@...r.kernel.org
Cc:	Thomas Kuther <gimpel@...nenkinder.org>
Subject: Re: IT821x: no DMA since 2.6.21

On Di, 15.05.07 12:53 Thomas Kuther wrote:

> 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.
> 

Back on 2.6.20 - here is some output from the working driver.

There is actually no difference in dmesg:
-------------------------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: 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-------------------------------

But hdparm works:
---------------
# hdparm -d1 /dev/hde
/dev/hde:
 setting using_dma to 1 (on)
 using_dma     =  1 (on)
----------------
# hdparm -tT /dev/hde

/dev/hde:
 Timing cached reads:   372 MB in  2.01 seconds = 185.17 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Input/output
error 
 Timing buffered disk reads:  124 MB in  3.01 seconds =  41.18 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Input/output
error
----------------
hdparm version is 7.3.
DMA is enabled in the controller's BIOS, of course.

Hope this helps a bit.

Thanks,
Thomas

Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ