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]
Date:	Tue, 12 Dec 2006 12:30:09 -0500
From:	Stephen Clark <Stephen.Clark@...lark.us>
To:	John Richard Moser <nigelenki@...cast.net>
CC:	linux-kernel@...r.kernel.org
Subject: Re: libata and sata?

John Richard Moser wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>A while back my distro moved to libata for sata_via.  I was since
>confused; my disk seemed a lot slower, and it looked like DMA was off.
>I'm not sure how SATA works; is it even possible to enable/disable
>32-bit IO and DMA?  Or are those just on?
>
>sata_via               11524  4
>libata                112660  3 ata_generic,pata_via,sata_via
>
>~$ sudo hdparm -d1 -c1 -u1 /dev/sda
>
>/dev/sda:
> setting 32-bit IO_support flag to 1
> HDIO_SET_32BIT failed: Invalid argument
> setting unmaskirq to 1 (on)
> HDIO_SET_UNMASKINTR failed: Inappropriate ioctl for device
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Inappropriate ioctl for device
> IO_support   =  0 (default 16-bit)
>
>I no longer have two kernels to test through; I can't tell if the speed
>is back or not.  Nothing in dmesg tells me if SATA is using DMA or
>32-bit IO support though, so I don't know... lack of knowledge over here
>is killing me for troubleshooting this on my own.
>
>  
>
<snip>

Hi John,

This happened to me with my ICH7 intel chipset which supports sata and ata - my drive was an ide and the performance was like 1.2mb/sec. Someone said boot with combined_mode=libata and it fixed the problem.
Now I get 44mb/sec.

HTH,
Steve
-- 

"They that give up essential liberty to obtain temporary safety, 
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty 
decreases."  (Thomas Jefferson)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ