Disk errors reported on boot - kernel 2.6.18

2007-06-13 Thread Miguel Medalha
Gentlemen I thought you might be interested in the following: I just installed CentOS 5 on a computer (kernel-2.6.18-8.1.4.el5.i686) . On boot, I get an error message, related to 2 SATA disks. These errors did NOT appear on version 4.4 (kernel-smp-2.6.9-42.EL.i586) with the EXACT same hardwar

Re: [patch 2a/3] Expose Power Management Policy option to users

2007-06-13 Thread Jeff Garzik
James Bottomley wrote: To take the model I understand: SAS; the links are managed at the phy level, so the power policy should be set there and thus should probably be a property of the phy object, which doesn't even exist in the SCSI model, it only exists in the transport class. It strikes me t

libata seems doesn't work on SATA, F7

2007-06-13 Thread yong Jung
Hi, . We want to see and erase hpa on FC7 for SATA hdd. So added libata option on Grub and modprobe.conf. We can see the HPA detection message on dmesg and /var/log/messages. But the setmax.c doesn't work to change max address. Also "dd" command covering hpa are doesn't work anymore. The process ne

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Pavel Machek
Hi! > >> I'm not sure about this. We need better PM framework to support > >> powersaving in other controllers and some ahcis don't save much > >> when only link power management is used, > > > > do you have data to support this? > > Yeah, it was some Lenovo notebook. Pavel is more familiar w

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Pavel Machek
Hi! > >Yeah, it was some Lenovo notebook. Pavel is more > >familiar with the > >hardware. Pavel, what was the notebook which didn't > >save much power > >with standard SATA power save but needed port to be > >completely turned off? > > Pavel, if you have time, could you measure this with >

Re: libata passthru: support PIO multi commands

2007-06-13 Thread Jeff Garzik
Sergei Shtylyov wrote: This is generally a bad practice to guess protocol based on opcode. What if the code will have to handle a vendor unique command (or some other command not yet known to it but known to issuer)? Agreed -- we simply cannot rely on guessing protocol from opcode, we MUST

Re: libata passthru: support PIO multi commands

2007-06-13 Thread Sergei Shtylyov
Albert Lee wrote: Alan Cox wrote: ata_scsi_pass_thru() is not executed at ioctl submission time (block queue submission time), but rather immediately before it is issued to the drive. At that point you know the bus is idle, all other commands have finished executing, and dev->multi_count is

Re: libata passthru: support PIO multi commands

2007-06-13 Thread Mark Lord
Albert Lee wrote: .. It looks like the ATA passthru commands contain more information than what libata needs to execute a command. e.g. protocol number: libata could possibly infer the protocol from the command opcode. e.g. multi_count: libata caches dev->multi_count. Passing multi_co

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Kristen Carlson Accardi
On Wed, 13 Jun 2007 11:04:30 +0200 Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > >> I'm not sure about this. We need better PM framework to support > > >> powersaving in other controllers and some ahcis don't save much > > >> when only link power management is used, > > > > > > do you ha

Re: [patch 2a/3] Expose Power Management Policy option to users

2007-06-13 Thread James Bottomley
On Tue, 2007-06-12 at 10:46 -0700, Kristen Carlson Accardi wrote: > Expose Power Management Policy option to users > > This patch will modify the scsi subsystem to allow > users to set a power management policy for the link. > > The scsi subsystem will create a new sysfs file for each > host in /

SATA_sil24 for 2.4

2007-06-13 Thread Stephen Jakeman
Hello, Could anybody point me to a driver for the Silicon Image SATA 3124 controller running under linux 2.4. I am currently using a microblaze core under uClinux And therefore cannot use the driver for the 2.6 kernel. If no driver is available could somebody give me some advice As to what is the

Re: libata interface fatal error

2007-06-13 Thread Florian Effenberger
Hi Tejun, Okay, there was a bug in link speed limit logic. That's probably why speed down to 1.5Gbps didn't kick in. The attached patch contains the fix and hack to force 1.5Gbps. Please give it a shot. thanks a lot for your patch, it seems to work, at least better than without patch. :-)

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Pavel Machek
Hi! > >> I'm not sure about this. We need better PM framework to support > >> powersaving in other controllers and some ahcis don't save much > >> when only link power management is used, > > > > do you have data to support this? > > Yeah, it was some Lenovo notebook. Pavel is more familiar w