Re: [Bug 96692] Re: ata_piix used instead of AHCI for Mac Pro

2008-01-29 Thread Shaw Terwilliger
Christian Kellner wrote:
 There exists a work-around by patching grub stage1. Find the patch and
 the binary here: http://boeglin.org/blog/. I did it here and its working
 like a charm.

This is a neat hack.  If I get a morning or afternoon clear (with a boot
disc handy), I might try it.  I hacked on trying to do it via initramfs,
but I think the PCI configuration was locked down at that point (no
changes I made to the controller would stick).

I still wish there were a good long-term solution for the kernel.  If it
was as simple as writing some smart detection code, I'd do it.  But it
appears the hardest part of the problem is understanding just what Apple
did to the hardware classification that makes it incompatible with the
standard IDs.

-- 
Shaw Terwilliger `echo sterwill1tinfig2com | tr 12 @.`

-- 
ata_piix used instead of AHCI for Mac Pro
https://bugs.launchpad.net/bugs/96692
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 96692] Re: ata_piix used instead of AHCI for Mac Pro

2007-10-05 Thread Shaw Terwilliger
Matthew Garrett wrote:
 The firmware programs the sata controller into piix mode, not ahci mode.
 On this specific hardware, the ahci driver is able to reprogram it -
 however, that isn't guaranteed in general, and attempts to do so have
 led to unfortunate behaviour like missing CD drives. Right now, the
 easiest thing to do would be to convince Apple to program the device
 into AHCI mode.

I doubt convincing Apple to release new firmware will be easy, even if
it's the best solution.  I have no idea how to go about that.  Adding a
single line to ahci.c is definitely easy, though it may be a hack.

With a status of Wishlist, we'll have another Ubuntu release where this
problem will be left unsolved.  This is an old bug (actually a
regression--it used to work!) and I wish it could be solved in a way
that didn't require constant kernel patching on the behalf of all Mac
Pro users.

-- 
Shaw Terwilliger `echo sterwill1io2nu | tr 12 @.`

-- 
ata_piix used instead of AHCI for Mac Pro
https://bugs.launchpad.net/bugs/96692
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 96692] Re: ata_piix used instead of AHCI for Mac Pro

2007-10-05 Thread Shaw Terwilliger
Matthew Garrett wrote:
 Just adding the ID to ahci.c would break a large number of other
 machines, so while easy it's not possible.

I spent a few hours one day trying to reprogram the controller using
setpci from initramfs and didn't have any luck.  It appeared that once
the controller had its mode set (by the Apple firmware?), the registers
were read-only.

A boot-time solution like this would make me very happy as a Mac Pro
user, if it were possible (and it may be).  I'd volunteer to
write/submit/maintain a Mac Pro AHCI package that provided the initramfs
scripts in this case.

-- 
Shaw Terwilliger `echo sterwill1io2nu | tr 12 @.`

-- 
ata_piix used instead of AHCI for Mac Pro
https://bugs.launchpad.net/bugs/96692
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 96692] Re: ata_piix used instead of AHCI for Mac Pro

2007-10-03 Thread Shaw Terwilliger
Stephen Touset wrote:
 Has this been fixed?
 
 It was reported that there was a patch in testing, but I've seen no
 activity since. This seems to still be in Gutsy.

The bug is still present in Gutsy as of a previous beta (I'm about 2
months out-of-date).  I can retest this week with the latest kernel, but
as far as I know it was never fixed in a released Ubuntu kernel.

-- 
Shaw Terwilliger `echo sterwill1io2nu | tr 12 @.`

-- 
ata_piix used instead of AHCI for Mac Pro
https://bugs.launchpad.net/bugs/96692
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs