libata equivalent for hdX=remap63

2007-09-02 Thread Alexander E. Patrakov
Hello, sorry if this is a FAQ, but googling for libata remap63 gives nothing useful. Some old computers need software like Ontrack Disk Manager in order to see large disks in the other OS. The way to deal with such setup in Linux was to add hdX=remap63 to the kernel arguments. However, I

Re: libata equivalent for hdX=remap63

2007-09-02 Thread Alan Cox
On Sun, 02 Sep 2007 14:26:29 +0600 Alexander E. Patrakov [EMAIL PROTECTED] wrote: Hello, sorry if this is a FAQ, but googling for libata remap63 gives nothing useful. Some old computers need software like Ontrack Disk Manager in order to see large disks in the other OS. The way to deal

Re: libata equivalent for hdX=remap63

2007-09-02 Thread Alexander E. Patrakov
Alan Cox wrote: On Sun, 02 Sep 2007 14:26:29 +0600 Alexander E. Patrakov [EMAIL PROTECTED] wrote: Hello, sorry if this is a FAQ, but googling for libata remap63 gives nothing useful. Some old computers need software like Ontrack Disk Manager in order to see large disks in the other OS.

Re: libata not working for sis5533

2007-09-02 Thread Alan Cox
i've been out for a week, but found no notice, did i lost any email or no activity on this issue? I tagged it onto the obscure IDE report pile. It doesn't contain any really useful information and its probably not an IDE layer bug as of itself. But its on the todo list for further investigation

sata_promise: port is slow to respond, reset failed

2007-09-02 Thread Peter Favrholdt
Hi, I'm still experiencing the same port is slow to respond problem using sata_promise in linux-2.6.22.6 with my Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02) and 4 Seagate 500GB ES drives: Model Number: ST3500630NS Firmware Revision: 3.AEE (with

Re: Serial ATA (SATA) shutdown info

2007-09-02 Thread Alex
I'm sorry, but another time the message appears, I don't understand, sorry but the shutdown isn't updated at Debian. Alex http://counter.li.org/cgi-bin/certificate.cgi/411619 Alex escribió: Hi! I'm Debian Linux distro user and when my computer go down it was saying to update my shutdown

Re: Serial ATA (SATA) shutdown info

2007-09-02 Thread Matt Sealey
I think Debian updated the shutdown utility in experimental/testing already (and Gentoo seems to have a patch in portage, but it's masked). Every distro is doing a different thing, but none of the support is anything people are going to push to the current set of systems. Part of the problem is

[git patches] libata critical fixes

2007-09-02 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/ata_piix.c |5 - drivers/ata/sata_via.c |2 +- 2 files changed, 5 insertions(+), 2 deletions(-) Jeff Garzik

Re: libata / pata drivers and smart , pata_via . pata_pdc202xx_old

2007-09-02 Thread Alan Cox
On Sun, 2 Sep 2007 04:58:11 -0700 n [EMAIL PROTECTED] wrote: is it possible to get the new libata drivers (pata_via . pata_pdc202xx_old) to support smart? i was looking at smartcrl -a and it says Device does not support SMART even though it does. They support smart. You may need a newer

CF as IDE on ICH6M using libata

2007-09-02 Thread Eddie Hung
Hello everyone, In the hope of making myself a cheap SSD, I decided to replace my IDE HDD on my IBM Thinkpad X41 (non tablet) with a generic CF-IDE adaptor, and a Sandisk Extreme IV 4Gb CF, for reasonable prices off ebay. This was partly influenced by the report that one X41 Tablet user had it

Read Prefetch, Post Write on IDE chipsets

2007-09-02 Thread Matt Sealey
Hi guys, Does anyone have any decent information on the purpose, performance potential or perhaps quirks of the read prefetch and post write buffer features on some IDE chipsets? It doesn't look like any standard but at least is included in quite a few of the libata drivers, and a lot of x86

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Tejun Heo
Eddie Hung wrote: Hello everyone, In the hope of making myself a cheap SSD, I decided to replace my IDE HDD on my IBM Thinkpad X41 (non tablet) with a generic CF-IDE adaptor, and a Sandisk Extreme IV 4Gb CF, for reasonable prices off ebay. This was partly influenced by the report that one

Re: Read Prefetch, Post Write on IDE chipsets

2007-09-02 Thread Alan Cox
On Sun, 02 Sep 2007 13:51:43 +0100 Matt Sealey [EMAIL PROTECTED] wrote: Hi guys, Does anyone have any decent information on the purpose, performance potential or perhaps quirks of the read prefetch and post write buffer features on some IDE chipsets? It doesn't look like any standard but

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Alan Cox
O - MDMA is not really supported, hence why it is so slow - if I can disable mdma and tell it to use single word PIO4, then I might get a reasonable 15Mb/s - however extensive searching has shown me that libata doesn't allow a user to set the xfer mode? libata automatically picks the best mode

Re: Read Prefetch, Post Write on IDE chipsets

2007-09-02 Thread Matt Sealey
Alan Cox wrote: On Sun, 02 Sep 2007 13:51:43 +0100 Matt Sealey [EMAIL PROTECTED] wrote: But, what is it? I've never seen any documentation but which register to use to toggle it.. no vendor recommendations to turn it on, it seems like a rather secret feature..? Chipset specific. Some public

Re: Read Prefetch, Post Write on IDE chipsets

2007-09-02 Thread Sergei Shtylyov
Hello. Matt Sealey wrote: Does anyone have any decent information on the purpose, Prefetch allows the controller to keep reading data until it fills it's (usually 512 byte sector but may be programmable size on some devices to accomodate ATAPI) not waiting for PCI I/O read cycles --

Re: Read Prefetch, Post Write on IDE chipsets

2007-09-02 Thread Sergei Shtylyov
Matt Sealey wrote: Does anyone have any decent information on the purpose, performance potential or perhaps quirks of the read prefetch and post write buffer features on some IDE chipsets? Oh, I've forgotten to reply about posting. :-) There's a (little) wrtie post buffer in the IDE

Re: Read Prefetch, Post Write on IDE chipsets

2007-09-02 Thread Sergei Shtylyov
Hello, I wrote: Does anyone have any decent information on the purpose, performance potential or perhaps quirks of the read prefetch and post write buffer features on some IDE chipsets? Oh, I've forgotten to reply about posting. :-) There's a (little) wrtie post buffer in the IDE

[PATCH 1/2 #upstream,REGENERATED] libata: udpate ata_dev_try_classify() arguments

2007-09-02 Thread Tejun Heo
Make ata_dev_try_classify() take a pointer to ata_device instead of ata_port/port_number combination for consistency and add @present argument. @present indicates whether the device seems present during reset. It's the result of TF access during softreset and link onlineness during hardreset.

[PATCH 2/2 #upstream,REGENERATED] libata: assume ATA_DEV_ATA on diagnostic failure

2007-09-02 Thread Tejun Heo
Certain device which reports diagnostic failure also reports invalid device signature. Assume ATA_DEV_ATA on diagnostic failure if reset indicates device presence. This is fix for bugzilla bug 8784. http://bugzilla.kernel.org/show_bug.cgi?id=8784 Signed-off-by: Tejun Heo [EMAIL PROTECTED]

Re: [PATCH 8/10] scc_pata: remove -init_setup

2007-09-02 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] MBR, Sergei - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 3/10] aec62xx: remove -init_setup

2007-09-02 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Merge init_setup_{aec62xx,aec6x80}() into aec62xx_init_one(). While at it: * Use id-driver_data instead of dev-device. * Use ATA_UDMA6 define. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED]

Re: [PATCH 8/10] scc_pata: remove -init_setup

2007-09-02 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Indeed, we didn't need an extra level of indirection... Acked-by: Sergei Shtylyov [EMAIL PROTECTED] MBR, Sergei - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of

Re: sata_promise: port is slow to respond, reset failed

2007-09-02 Thread Mikael Pettersson
On Sun, 02 Sep 2007 13:12:42 +0200, Peter Favrholdt wrote: I'm still experiencing the same port is slow to respond problem using sata_promise in linux-2.6.22.6 with my Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02) and 4 Seagate 500GB ES drives: Model Number:

Re: sata_promise: port is slow to respond, reset failed

2007-09-02 Thread Mikael Pettersson
On Sun, 2 Sep 2007 17:11:36 +0200 (MEST), Mikael Pettersson wrote: On Sun, 02 Sep 2007 13:12:42 +0200, Peter Favrholdt wrote: I'm still experiencing the same port is slow to respond problem using sata_promise in linux-2.6.22.6 with my Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Eddie Hung
On 02/09/07, Tejun Heo [EMAIL PROTECTED] wrote: Eddie Hung wrote: Hello everyone, In the hope of making myself a cheap SSD, I decided to replace my IDE HDD on my IBM Thinkpad X41 (non tablet) with a generic CF-IDE adaptor, and a Sandisk Extreme IV 4Gb CF, for reasonable prices off ebay.

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Eddie Hung
On 02/09/07, Alan Cox [EMAIL PROTECTED] wrote: O - MDMA is not really supported, hence why it is so slow - if I can disable mdma and tell it to use single word PIO4, then I might get a reasonable 15Mb/s - however extensive searching has shown me that libata doesn't allow a user to set the

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Alan Cox
In my research on this issue, I do remember coming across an announcement you made not so long ago regarding the libata.pata_dma command - however because of my revelations with Windows detailed at the end of my reply to tejun, I am curious as to whether MWDMA is really DMA at all? I also

Re: [lm-sensors] [PATCH] drivers/firmware: const-ify DMI API and internals

2007-09-02 Thread Jean Delvare
On Sat, 1 Sep 2007 10:27:19 -0400, Jeff Garzik wrote: commit 457b6eb3bf3341d2e143518a0bb99ffbb8d754c4 Author: Jeff Garzik [EMAIL PROTECTED] Date: Sat Sep 1 10:16:45 2007 -0400 drivers/firmware: const-ify DMI API and internals Three main sets of changes: 1)

[PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks

2007-09-02 Thread Sergei Shtylyov
Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While at it, make the udma_filter() method calls take precedence over using the mode masks. --- This version doesn't use explicit UltraDMA masks, so converting them to the ATA_UDMA* is left for another, global patch. This patch

Re: [PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks

2007-09-02 Thread Sergei Shtylyov
Hello, I wrote: Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While at it, make the udma_filter() method calls take precedence over using the mode masks. --- This version doesn't use explicit UltraDMA masks, so converting them to the ATA_UDMA* is left for another, global

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Eddie Hung
On 02/09/07, Alan Cox [EMAIL PROTECTED] wrote: In my research on this issue, I do remember coming across an announcement you made not so long ago regarding the libata.pata_dma command - however because of my revelations with Windows detailed at the end of my reply to tejun, I am curious as

[PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks (take 2)

2007-09-02 Thread Sergei Shtylyov
Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While at it, make the udma_filter() method calls take precedence over using the mode masks. Signed-off-by: Sergei Shtylyov [EMAIL PROTECTED] --- Alas, the previous version of the patch wasn't even worth signing it off -- the code

[PATCH 2/4] hpt366: MWDMA filter for SATA cards

2007-09-02 Thread Sergei Shtylyov
The Marvell bridge chips used on HighPoint SATA cards do not seem to support the MWDMA modes (at least that caould be seen in their so-called drivers :-), so the driver needs to account for this -- to achieve this: - add mdma_filter() method from the original patch by Bartlomiej Zolnierkewicz

Re: [PATCH 2/4] hpt366: MWDMA filter for SATA cards

2007-09-02 Thread Sergei Shtylyov
Hello, I wrote: The patch was 4/4 of course. :- Probably I was too esctatic about the code. ;-) The Marvell bridge chips used on HighPoint SATA cards do not seem to support the MWDMA modes (at least that caould be seen in their so-called drivers :-), so the driver needs to account for

[no subject]

2007-09-02 Thread Kantor Zsolt
Hi, I want get the information from the hard drive via ioctl command. I want to use the HDIO_DRIVE _TASK command not the HDIO_DRIVE_CMD. With the HDIO_DRIVE _TASK the function returns 0 thats ok, but no data is in the additional 512 unsigned char array. Here is the code: #include stdio.h

Re: [BUG] pata_ali not working on a 64 bit system

2007-09-02 Thread Luca Tettamanti
Il Fri, Jul 06, 2007 at 10:01:36PM +0200, Luca Tettamanti ha scritto: Il Fri, Jul 06, 2007 at 06:44:02PM +0100, Alan Cox ha scritto: On Fri, 6 Jul 2007 19:36:05 +0200 Luca Tettamanti [EMAIL PROTECTED] wrote: Hello, I found out that pata_ali is not working with a 64 bit kernel,

Re: sata_promise: port is slow to respond, reset failed

2007-09-02 Thread Peter Favrholdt
Hi Mikael Pettersson wrote: I'm easily able to reproduce this problem on my sata_promise test rig. Using 2.6.23-rc5 to dd read a single Seagate disk on a SATA300 TX4 card quickly fails as Peter described. Applying the 1.5Gbps patch to the driver appears to make things stable. Those SATAII

Re: CF as IDE on ICH6M using libata

2007-09-02 Thread Tejun Heo
drivers/ata/Eddie Hung wrote: ATA device, with non-removable media Model Number: SMI MODEL Serial Number: SZAUSWIN06E5 Firmware Revision: 20070709 Standards: Likely used: 5 Configuration: Logical max current cylinders

[PATCH #upstream-fixes]: libata clear horkage on ata_dev_init()

2007-09-02 Thread Tejun Heo
dev-horkage should be cleared over device hotunplug/plug. Clear it in ata_dev_init(). Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/libata-core.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 2ad4dda..112e7a9

[PATCH 1/3] libata: move ata_id_n_sectors() upward

2007-09-02 Thread Tejun Heo
Move ata_id_n_sectors() upward right below ata_id_c_string(). This is to accomodate later changes. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/libata-core.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH 2/3] libata: clean up read/set native_max address functions

2007-09-02 Thread Tejun Heo
Merge ata_read_native_max_addres_ext() into ata_read_native_max_address() and combine ata_set_native_max_address_ext() and ata_set_native_max_address() into ata_set_max_sectors(). * reduce duplicate code * return 0 or -errno depending on error conditions * report if command fails * use ATA_LBA

[PATCH REGENERATED] ahci: reimplement port_map handling

2007-09-02 Thread Tejun Heo
Reimplement port_map handling such that 1. Non-zero PORTS_IMPL value is always examined and used if consistent with cap.n_ports. 2. When PI and cat.n_ports are inconsistent, honor cap.n_ports and force port_map to be ((1 cap.n_ports) - 1). 3. There were two separate places dealing with