Re: Stardom SATA HSM violation

2007-09-27 Thread Alan Cox
I think there have been enough cases where this draining was necessary. IIRC, ata_piix was involved in those cases, right? If so, can you please submit a patch which applies this only to affected controllers? I don't feel too confident about applying this to all SFF controllers. Old IDE

Re: Stardom SATA HSM violation

2007-09-27 Thread Tejun Heo
Alan Cox wrote: I think there have been enough cases where this draining was necessary. IIRC, ata_piix was involved in those cases, right? If so, can you please submit a patch which applies this only to affected controllers? I don't feel too confident about applying this to all SFF

Re: Stardom SATA HSM violation

2007-09-27 Thread Jeff Garzik
Tejun Heo wrote: Alan Cox wrote: I think there have been enough cases where this draining was necessary. IIRC, ata_piix was involved in those cases, right? If so, can you please submit a patch which applies this only to affected controllers? I don't feel too confident about applying this to

Re: Stardom SATA HSM violation

2007-09-27 Thread Mark Lord
Tejun Heo wrote: Alan Cox wrote: I think there have been enough cases where this draining was necessary. IIRC, ata_piix was involved in those cases, right? If so, can you please submit a patch which applies this only to affected controllers? I don't feel too confident about applying this to

Re: Stardom SATA HSM violation

2007-09-07 Thread Mark Lord
Tejun Heo wrote: Hello, Mark Lord wrote: I reported a very similar bug back a few releases ago. Anyone who wants to try it themselves, can do this with hdparm-7.7 (from sourceforge): hdparm --drq-hsm-error /dev/sda Whether or not it hangs the machine does depend upon exactly which SATA

Re: Stardom SATA HSM violation

2007-09-06 Thread Bryan Woods
Tejun Heo wrote: Michal Piotrowski wrote: Hi, [Adding linux-ide to CC] On 25/08/07, Bryan Woods [EMAIL PROTECTED] wrote: Hi KML I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron server (total of 4 cores). The hard disk is a Stardom 2611-2S-S1 device: actually two

Re: Stardom SATA HSM violation

2007-09-06 Thread Tejun Heo
Bryan Woods wrote: The full dmesg and hdparm -I command output are attached. I have received word from the vendor that the Stardom 2611 will do RAID0 or 1 under windows, but only RAID1 under Linux. (Their manual said it worked with Linux but failed to mention the RAID mode restriction:

Re: Stardom SATA HSM violation

2007-09-06 Thread Tejun Heo
Hello, Mark Lord wrote: I reported a very similar bug back a few releases ago. Anyone who wants to try it themselves, can do this with hdparm-7.7 (from sourceforge): hdparm --drq-hsm-error /dev/sda Whether or not it hangs the machine does depend upon exactly which SATA LLD is used,

Re: Stardom SATA HSM violation

2007-09-05 Thread Andrew Morton
On Mon, 03 Sep 2007 17:53:00 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Michal Piotrowski wrote: Hi, [Adding linux-ide to CC] On 25/08/07, Bryan Woods [EMAIL PROTECTED] wrote: Hi KML I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron server (total of 4 cores).

Re: Stardom SATA HSM violation

2007-09-05 Thread Mark Lord
Andrew Morton wrote: On Mon, 03 Sep 2007 17:53:00 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Michal Piotrowski wrote: Hi, [Adding linux-ide to CC] On 25/08/07, Bryan Woods [EMAIL PROTECTED] wrote: Hi KML I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron server (total of 4

Re: Stardom SATA HSM violation

2007-09-05 Thread Andrew Morton
On Wed, 05 Sep 2007 13:23:35 -0400 Mark Lord [EMAIL PROTECTED] wrote: Andrew Morton wrote: please try 2.6.22.5. Even if it doesn't fix the problem, it would report error conditions better. Presumably in the week and a half between Bryan's report and your request, Bryan has gone off

Re: Stardom SATA HSM violation

2007-09-05 Thread Mark Lord
Andrew Morton wrote: .. Hey, we just found something which doesn't crash my Vaio! sony:/home/akpm/hdparm-7.7 0 ./hdparm --drq-hsm-error /dev/sda /dev/sda: triggering stuck DRQ host state machine error do_drq_hsm_error: Success ata status=0x58 ata error=0x00 ata3.00: exception Emask 0x0 SAct

Re: Stardom SATA HSM violation

2007-08-26 Thread Michal Piotrowski
Hi, [Adding linux-ide to CC] On 25/08/07, Bryan Woods [EMAIL PROTECTED] wrote: Hi KML I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron server (total of 4 cores). The hard disk is a Stardom 2611-2S-S1 device: actually two 250GB drives in a RAID0 config managed by the