Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-14 Thread Mark Lord
Allen Martin wrote: .. Errata for which there is an SBIOS workaround are generally only released to BIOS vendors and under NDA. If Linux users were impacted by such a bug we would most likely release a patch, but a much more likely .. All of that silly secrecy harms your company and your

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-13 Thread Alan Cox
What I'm worred about is SMI traps implemented in the SBIOS for AHCI workarounds that may be disabled when in IDE mode. For Nvidia devices those would only be present if there were problems with the AHCI hardware right, which would mean you could simply tell us what workarounds to implement.

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-11 Thread Thorsten Leemhuis
On 10.11.2007 00:32, Matthias Schniedermeyer wrote: [...] My computer/mainboard @work has such a broken BIOS. Of the 5 SATA-Ports this MB has only 1 (and 1 missing that is reported by linux but i can't find on the MB) is configured as AHCI [...] There is nothing broken here. You have a ICH8

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-11 Thread Matthias Schniedermeyer
On 11.11.2007 15:05, Thorsten Leemhuis wrote: On 10.11.2007 00:32, Matthias Schniedermeyer wrote: [...] My computer/mainboard @work has such a broken BIOS. Of the 5 SATA-Ports this MB has only 1 (and 1 missing that is reported by linux but i can't find on the MB) is configured as AHCI

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-10 Thread Matthias Schniedermeyer
On 09.11.2007 22:08, Jeff Garzik wrote: Matthias Schniedermeyer wrote: And on the topic of broken BIOSes. I have a little empathy for the MB manufactures as non-RAID AHCI royaly screws Windos, so not supporting it reduces their support costs enough to overlook screwing the non-windos

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-10 Thread Matthias Schniedermeyer
On 09.11.2007 22:08, Jeff Garzik wrote: Matthias Schniedermeyer wrote: And on the topic of broken BIOSes. I have a little empathy for the MB manufactures as non-RAID AHCI royaly screws Windos, so not supporting it reduces their support costs enough to overlook screwing the non-windos

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-10 Thread Mark Lord
Matthias Schniedermeyer wrote: .. My computer/mainboard @work has such a broken BIOS. Of the 5 SATA-Ports this MB has only 1 (and 1 missing that is reported by linux but i can't find on the MB) is configured as AHCI which means that with .. I have a P5B-VM here (very similar). The missing

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-10 Thread Matthias Schniedermeyer
On 10.11.2007 13:01, Mark Lord wrote: Matthias Schniedermeyer wrote: .. My computer/mainboard @work has such a broken BIOS. Of the 5 SATA-Ports this MB has only 1 (and 1 missing that is reported by linux but i can't find on the MB) is configured as AHCI which means that with .. I have a

RE: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-10 Thread Allen Martin
Alan Cox wrote: On Thu, 8 Nov 2007 22:46:22 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-10 Thread Jeff Garzik
Allen Martin wrote: At least for NVIDIA controllers, loading the AHCI driver when the BIOS is set to IDE mode is not recommended by NVIDIA. Any AHCI workarounds in the BIOS are likely to be disabled when set to IDE mode. In practice What workarounds, if any, are needed? We need those in the

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Alan Cox
On Thu, 8 Nov 2007 22:46:22 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this in the general case is the

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Riki Oktarianto
On Thu, Nov 08, 2007 at 09:31:30PM -0500, Jeff Garzik wrote: On Fri, Nov 09, 2007 at 09:02:35AM +0700, Riki Oktarianto wrote: Some BIOSen map AHCI ABAR but lock the SATA controller to IDE mode. This patch add quirk to set AHCI mode on ICH board with such case. Tested on Macbook2,1

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Török Edwin
Alan Cox wrote: On Thu, 8 Nov 2007 22:46:22 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Riki Oktarianto
On Fri, Nov 09, 2007 at 04:49:16PM +0200, Török Edwin wrote: There is one problem with force enabling ahci. You'll loose the CDROM on Dell laptops. Prior to force-enabling ahci there is one device that sees the 2 sata channels, and the 2 ide channels. When you force-enable ahci, this device

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Jeff Garzik
Alan Cox wrote: On Thu, 8 Nov 2007 22:46:22 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this in the general

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Jeff Garzik
Matthias Schniedermeyer wrote: And on the topic of broken BIOSes. I have a little empathy for the MB manufactures as non-RAID AHCI royaly screws Windos, so not supporting it reduces their support costs enough to overlook screwing the non-windos faction. non-RAID AHCI works just fine on

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Theodore Tso
On Fri, Nov 09, 2007 at 10:05:05PM -0500, Jeff Garzik wrote: By forcing AHCI, your PATA devices will be inaccessible, in a common configuration. It also means shuffling users from one driver to another, which induces breakage. I was speaking wishfully. Real life intrudes, alas. Not even

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-08 Thread Jeff Garzik
On Fri, Nov 09, 2007 at 09:02:35AM +0700, Riki Oktarianto wrote: Some BIOSen map AHCI ABAR but lock the SATA controller to IDE mode. This patch add quirk to set AHCI mode on ICH board with such case. Tested on Macbook2,1 (ICH7M) Intel will complain but it's awful tempting... Jeff

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-08 Thread Mark Lord
Jeff Garzik wrote: On Fri, Nov 09, 2007 at 09:02:35AM +0700, Riki Oktarianto wrote: Some BIOSen map AHCI ABAR but lock the SATA controller to IDE mode. This patch add quirk to set AHCI mode on ICH board with such case. Tested on Macbook2,1 (ICH7M) Intel will complain but it's awful

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-08 Thread Jeff Garzik
On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this in the general case is the main reason why AHCI was not unconditionally enabled, even in IDE mode, when

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-08 Thread Mark Lord
Jeff Garzik wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this in the general case is the main reason why AHCI was not unconditionally enabled,

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-08 Thread Jeff Garzik
On Thu, Nov 08, 2007 at 11:44:22PM -0500, Mark Lord wrote: Jeff Garzik wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this in the general case is