[PATCH] libata: fix hw_sata_spd_limit initialization

2007-06-06 Thread Tejun Heo
hw_sata_spd_limit used to be incorrectly initialized to zero instead of UINT_MAX if SPD is zero in SControl register. This breaks PHY speed down. Fix it. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- drivers/ata/libata-core.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/

Re: [PATCH] Re: Linux v2.6.22-rc3

2007-06-06 Thread Tejun Heo
Gregor Jasny wrote: > 2007/6/2, Jeff Garzik <[EMAIL PROTECTED]>: >> Does this patch change the behavior at all? > > No. It still times out. I've raised the first timeout to 60 seconds > but still no luck. Let's see where we're failing. Please apply the attached patch and report what kernel says.

Promise TX4 (PDC40718) hotplug support

2007-06-06 Thread Jan Kasprzak
Hello, I have a Promise TX4 controller, and I have problems with hotplug. It seems the controller does not recongnize the drive being hot-removed or hot-plugged. I need either to reload the sata_promise module, or to do # echo 1 > /sys/block/sdN/device/delete to remove the drive,

Re: Promise TX4 (PDC40718) hotplug support

2007-06-06 Thread Mikael Pettersson
On Wed, 6 Jun 2007 15:51:23 +0200, Jan Kasprzak wrote: > I have a Promise TX4 controller, and I have problems with hotplug. It seems > the controller does not recongnize the drive being hot-removed or hot-plugged. > I need either to reload the sata_promise module, or to do > > # echo 1 > /sy

Re: Promise TX4 (PDC40718) hotplug support

2007-06-06 Thread Jan Kasprzak
Mikael Pettersson wrote: : The Promise SATA hardware supports hotplug, but the driver : doesn't yet handle it. : : It's on my TODO list. (When I get some spare time, sigh.) OK, thanks. If you need testing of your code on my PDC40718, feel free to ask me. -Yenya -- | Jan "Yenya" Kasprza

[PATCH pata-2.6 fix] hpt366: disallow Ultra133 for HPT374

2007-06-06 Thread Sergei Shtylyov
Eliminate UltraATA/133 support for HPT374 -- the chip isn't capable of this mode according to the manual, and doesn't even seem to tolerate 66 MHz DPLL clock... Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]> --- drivers/ide/pci/hpt366.c |8 1 files changed, 4 insertions(+), 4 de

[PATCH pata-2.6] hpt366: simplify UltraDMA filtering (take 3)

2007-06-06 Thread Sergei Shtylyov
Simplify UltraDMA mode filtering in the driver: - make use of the newly introduced 'udma_mask' field of 'ide_pci_device_t' to set the correct hwif->ultra_mask, modifying init_setup_hpt366() to select the correct mask based on the chip revision; - replace 'max_mode' field of the 'struct hpt_in

Re: libata interface fatal error

2007-06-06 Thread Florian Effenberger
Hi, Currently, there is no mechanism to do that but hard drives usually have dip switch to force 1.5Gbps. Please try that. If your harddrive doesn't have that, please lemme know. I'll prepare a simple patch. unfortunately, the disks have a jumper board, but the jumpers are missing... could

Re: [PATCH pata-2.6 fix] hpt366: disallow Ultra133 for HPT374

2007-06-06 Thread Andrew Morton
On Wed, 6 Jun 2007 23:53:28 +0400 Sergei Shtylyov <[EMAIL PROTECTED]> wrote: > Eliminate UltraATA/133 support for HPT374 -- the chip isn't capable of this > mode > according to the manual, and doesn't even seem to tolerate 66 MHz DPLL > clock... > > Signed-off-by: Sergei Shtylyov <[EMAIL PROTEC

Rescue question

2007-06-06 Thread David Mills
Hi, I have a notebook on which the hard disk has died - it won't boot and makes funny noises. I am hoping to copy as much data of the dead disk as possible. I have successfully used the SuSE linux installation DVD - booting the rescue system then mounting the dead disk and an external USB disk

Re: [PATCH] Re: Linux v2.6.22-rc3

2007-06-06 Thread Gregor Jasny
2007/6/6, Tejun Heo <[EMAIL PROTECTED]>: Let's see where we're failing. [ 186.849280] ata_piix :00:07.1: version 2.11 [ 186.849665] scsi0 : ata_piix [ 186.850241] scsi1 : ata_piix [ 186.850596] ata1: PATA max UDMA/33 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x00010860 irq 14 [ 186.851203] a