[MacBookPro 7,1]mcp89 sata link reset fails, no disks detected

Bug #576601 reported by Anders Østhus
676
This bug affects 123 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
High
Unassigned
Declined for Karmic by Pete Graner
Declined for Maverick by Tim Gardner
Lucid
Fix Released
High
Unassigned

Bug Description

SRU Justification:

Impact: SATA drives on the MBP 7.1 are not usable as the ahci mode is not working correctly.

Fix: Two patches taken from upstream, which have also been marked for stable inclusion will blacklist the MBP from using AHCI and falling back to the ide driver which works. Second half forces DMA on.

Testcase: See report. Disk drive not usable without the patches.

---

Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA drives not being detected, and thus, not being able to install 10.04.

The new MacBook Pro has the MCP89 chipset.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-21-generic 2.6.32-21.32
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 2755 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
   Mixer name : 'Nvidia ID c'
   Components : 'HDA:10134206,106b0d00,00100301 HDA:10de000c,10de0101,00100200'
   Controls : 16
   Simple ctrls : 9
Date: Thu May 6 19:41:45 2010
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MachineType: Apple Inc. MacBookPro7,1
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 03/25/10
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP71.88Z.0039.B05.1003251322
dmi.board.name: Mac-F222BEC8
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F222BEC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP71.88Z.0039.B05.1003251322:bd03/25/10:svnAppleInc.:pnMacBookPro7,1:pvr1.0:rvnAppleInc.:rnMac-F222BEC8:rvr:cvnAppleInc.:ct10:cvrMac-F222BEC8:
dmi.product.name: MacBookPro7,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
Package: linux (not installed)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
Tags: lucid
Uname: Linux 2.6.34-020634rc7-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Anders Østhus (aosthus) wrote :
Revision history for this message
Anders Østhus (aosthus) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Anders,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Anders Østhus (aosthus)
tags: added: apport-collected
description: updated
Revision history for this message
Anders Østhus (aosthus) wrote :

Hi.

Tested this on 2.6.34-rc7 today, and the problem still exists.

tags: removed: needs-upstream-testing
Revision history for this message
Anders Østhus (aosthus) wrote :
Revision history for this message
Anders Østhus (aosthus) wrote :
Revision history for this message
Anders Østhus (aosthus) wrote :
Revision history for this message
Anders Østhus (aosthus) wrote :
Anders Østhus (aosthus)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Andy Whitcroft (apw) wrote :

Selected fragments of the dmesg from 2.6.34-rc7 logs provided below. Seems that the SATA links are not coming ready soon enough for us, and resetting it is failing:

[ 0.000000] ACPI: SSDT 00000000bf959000 000A5 (v01 SataRe SataPri 00001000 INTL 20061109)
[ 0.000000] ACPI: SSDT 00000000bf958000 0009F (v01 SataRe SataSec 00001000 INTL 20061109)
[ 0.399520] libata version 3.00 loaded.
[ 0.660179] pata_acpi 0000:00:0a.0: power state changed by ACPI to D0
[ 0.660260] pata_acpi 0000:00:0a.0: power state changed by ACPI to D0
[ 0.660594] pata_acpi 0000:00:0a.0: PCI INT A -> Link[LSI0] -> GSI 20 (level, low) -> IRQ 20
[ 0.660625] pata_acpi 0000:00:0a.0: setting latency timer to 64
[ 0.660638] pata_acpi 0000:00:0a.0: PCI INT A disabled
[ 0.912402] Write protecting the kernel read-only data: 10240k
[ 1.024375] ata1: SATA max UDMA/133 abar m8192@0xd3484000 port 0xd3484100 irq 27
[ 1.024377] ata2: SATA max UDMA/133 abar m8192@0xd3484000 port 0xd3484180 irq 27
[ 3.492037] EXT4-fs (sdb1): mounted filesystem with ordered data mode
[ 6.412611] ata2: link is slow to respond, please be patient (ready=0)
[ 6.422584] ata1: link is slow to respond, please be patient (ready=0)
[ 11.030129] ata2: COMRESET failed (errno=-16)
[ 11.042522] ata1: COMRESET failed (errno=-16)
[ 16.412618] ata2: link is slow to respond, please be patient (ready=0)
[ 16.412625] ata1: link is slow to respond, please be patient (ready=0)
[ 21.092619] ata2: COMRESET failed (errno=-16)
[ 21.092684] ata1: COMRESET failed (errno=-16)
[ 26.482618] ata1: link is slow to respond, please be patient (ready=0)
[ 26.482624] ata2: link is slow to respond, please be patient (ready=0)
[ 56.122620] ata1: COMRESET failed (errno=-16)
[ 56.122680] ata1: limiting SATA link speed to 1.5 Gbps
[ 56.122690] ata2: COMRESET failed (errno=-16)
[ 56.122747] ata2: limiting SATA link speed to 1.5 Gbps
[ 61.152617] ata2: COMRESET failed (errno=-16)
[ 61.152672] ata2: reset failed, giving up
[ 61.152735] ata1: COMRESET failed (errno=-16)
[ 61.152793] ata1: reset failed, giving up

Changed in linux (Ubuntu):
status: New → Triaged
Andy Whitcroft (apw)
summary: - mcp89 sata not detected
+ [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
Revision history for this message
Francisco Nascimento (thedukeofgreenwich) wrote :

Sorry folks - I have not used this system before and accidentally clicked on "Invalid" ... Sorry ...

Changed in linux (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Francisco Nascimento (thedukeofgreenwich) wrote :

Can somebody fix it and return it to "Triaged"?

Changed in linux (Ubuntu):
status: Invalid → New
Revision history for this message
Francisco Nascimento (thedukeofgreenwich) wrote :

Even more mess, trying to get it back to "Triaged" ... I should just stay away from the keyboard ...

Changed in linux (Ubuntu):
status: New → Triaged
Revision history for this message
Andy Whitcroft (apw) wrote :

I have put together a test kernel which has SATA debug enabled, and also has some targetted debug for the specific EBUSY error code reported in the logs. Could those affected by this issue please try these kernels out and report back here:

    http://people.canonical.com/~apw/lp576601-lucid/

Thanks.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 2809 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
   Mixer name : 'Nvidia ID c'
   Components : 'HDA:10134206,106b0d00,00100301 HDA:10de000c,10de0101,00100200'
   Controls : 16
   Simple ctrls : 9
DistroRelease: Ubuntu 10.04
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Apple Inc. MacBookPro7,1
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz --
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.34~lp576601v201005171048-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:

Tags: lucid filesystem needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 03/25/10
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP71.88Z.0039.B05.1003251322
dmi.board.name: Mac-F222BEC8
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F222BEC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP71.88Z.0039.B05.1003251322:bd03/25/10:svnAppleInc.:pnMacBookPro7,1:pvr1.0:rvnAppleInc.:rnMac-F222BEC8:rvr:cvnAppleInc.:ct10:cvrMac-F222BEC8:
dmi.product.name: MacBookPro7,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : AlsaDevices.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : AplayDevices.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : BootDmesg.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Lspci.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Lsusb.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : PciMultimedia.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : ProcModules.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : UdevDb.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : UdevLog.txt

apport information

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : WifiSyslog.txt

apport information

Revision history for this message
Anders Østhus (aosthus) wrote :

Just tested this myself, and got the same results as Alan Pope.

Here's a part of my dmesg:

[ 0.811471] ahci_init_one: ENTER
[ 0.811474] ahci 0000:00:0a.0: version 3.0
[ 0.811487] ahci 0000:00:0a.0: PCI INT A -> Link[LSI0] -> GSI 20 (level, low) -> IRQ 20
[ 0.811527] alloc irq_desc for 27 on node -1
[ 0.811529] alloc kstat_irqs on node -1
[ 0.811537] ahci 0000:00:0a.0: irq 27 for MSI/MSI-X
[ 0.811547] ata_host_alloc: ENTER
[ 0.811549] ata_port_alloc: ENTER
[ 0.811558] ata_port_alloc: ENTER
[ 0.811573] ahci_port_init: PORT_SCR_ERR 0x0
[ 0.811575] ahci_port_init: PORT_IRQ_STAT 0x0
[ 0.811578] ahci_port_init: PORT_SCR_ERR 0x4000000
[ 0.811579] ahci_port_init: PORT_IRQ_STAT 0x400000
[ 0.811581] ahci_init_controller: HOST_CTL 0x80000000
[ 0.811584] ahci_init_controller: HOST_CTL 0x80000002
[ 0.811587] ahci 0000:00:0a.0: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl IDE mode
[ 0.811590] ahci 0000:00:0a.0: flags: 64bit ncq sntf pm led pio slum part apst
[ 0.811594] ahci 0000:00:0a.0: setting latency timer to 64
[ 0.811646] __ata_port_freeze: ata4294967295 port frozen
[ 0.811699] __ata_port_freeze: ata4294967295 port frozen
[ 0.815195] tg3.c:v3.102 (September 1, 2009)
[ 0.815363] tg3 0000:03:00.0: PCI INT A -> Link[Z00N] -> GSI 21 (level, low) -> IRQ 21
[ 0.815369] tg3 0000:03:00.0: setting latency timer to 64
[ 0.815627] b43-pci-bridge 0000:02:00.0: PCI INT A -> Link[Z00J] -> GSI 22 (level, low) -> IRQ 22
[ 0.815633] b43-pci-bridge 0000:02:00.0: setting latency timer to 64
[ 0.827236] scsi0 : ahci
[ 0.827671] scsi1 : ahci
[ 0.827757] ata1: SATA max UDMA/133 abar m8192@0xd3484000 port 0xd3484100 irq 27
[ 0.827760] ata2: SATA max UDMA/133 abar m8192@0xd3484000 port 0xd3484180 irq 27
[ 0.827795] ata_port_schedule_eh: port EH scheduled
[ 0.827800] ata_port_schedule_eh: port EH scheduled
[ 0.827804] ata_scsi_error: ENTER
[ 0.827806] ata_port_flush_task: ENTER
[ 0.827808] ata2: ata_port_flush_task: EXIT
[ 0.827811] ata_eh_link_autopsy: ENTER
[ 0.827813] ata_eh_recover: ENTER
[ 0.827817] __ata_port_freeze: ata2 port frozen
[ 0.827819] ahci_hardreset: ENTER
[ 0.827822] sata_link_hardreset: ENTER
[ 0.827832] ata_scsi_error: ENTER
[ 0.827834] ata_port_flush_task: ENTER
[ 0.827836] ata1: ata_port_flush_task: EXIT
[ 0.827838] ata_eh_link_autopsy: ENTER
[ 0.827840] ata_eh_recover: ENTER
[ 0.827843] __ata_port_freeze: ata1 port frozen
[ 0.827845] ahci_hardreset: ENTER
[ 0.827847] sata_link_hardreset: ENTER

Revision history for this message
tixetsal (tixetsal) wrote :

I have the same exact problem on identical hardware.

Revision history for this message
dent (dent-nic) wrote :

Whoops, I nominated it for Karmic and not Lucid... Well I meant that anyways.

I am really bummed that I can't install Ubuntu on my brand new macbook pro, but we'll wait and see if any geniuses come up with a fix. Anyways.. Keep it up folks!

Revision history for this message
dustingram (dustin-ingram) wrote :

Here's my dmesg with the patched kernel. I believe it correlates with Alan Pope and Anders Østhus.

Revision history for this message
Hugo Estopendo (sido616) wrote :

Hi there,
I have a MacBookPro7,1 without ubuntu, too. :(
I'm sorry but I have no idea what the status "Triaged" means...
Could someone explain?
TIA, Hugo

Revision history for this message
Hugo Estopendo (sido616) wrote :

Shoudn't someone change the importance to high?
I guess that the first three points pertain to our problem.
I'm not able to set it to high.

This is from the ubuntu Wiki:
High: A bug which fulfills one of the following criteria:
* Has a severe impact on a small portion of Ubuntu users (estimated)
* Makes a default Ubuntu installation generally unusable for some users [...]
* A problem with an essential hardware component (disk controller, laptop built-in wireless, video card, keyboard, mouse)
* Has a moderate impact on a large portion of Ubuntu users (estimated)

Revision history for this message
Dave Walker (davewalker) wrote :

"Changing importance to High as Hugo correctly points out:
1) "severe impact on a small portion of Ubuntu users"
     == The "me too" is getting larger
2) "default Ubuntu installation generally unusable for some user"
     == Everyone with the newest generation MacBookPro can't install Ubuntu
3) Most importantly, it's really annoying me. :)

Changed in linux (Ubuntu):
importance: Medium → High
Revision history for this message
Willem (willemwouters) wrote :

me too

I love ubuntu / linux just bought a new one....
Im really waiting :(

Revision history for this message
Frank (fdumont) wrote :

me too

how can I help?

Revision history for this message
Hugo Estopendo (sido616) wrote :

Some people wrote, that FreeBSD can handle the SATA Controller.
Is it possible to get and port the FreeBSD driver for the Controller?

Andy Whitcroft (apw)
tags: added: kernel-core kernel-reviewed
Revision history for this message
Roderick MacKenzie (r-c-i-mackenzie) wrote :

Hello, I think this bug is kernel wide, I was a fedora user and this failed, on my new macbook, so I tried Ubuntu, and then I tried FreeBSD. None of the above worked, it would be great if this bug could be fixed. So it would appear that no linux distro works (or FreeBSD) on the macbook pro 13. I asked in the shop when buying the mac book if it will run linux, the sales person said yes and said boot camp. I guess even the apple shop have been caught out by this. I am now considering taking my mack book back to the shop or e-baying it, which would be a real shame because it is very nice hardware. (well it would be if it ran linux!)
Rod

Revision history for this message
Hugo Estopendo (sido616) wrote :

@Roderick:
I have this problem as well... My brand new MacBookPro is lying in the corner for 2 weeks now, because I'm not able to install an operating system. (Windows and OS X aren't operating systems. They are so bad, I pity them.)
Let's wait for a month, maybe it's better then....., I really hope!

Revision history for this message
Shoibal Chakravarty (shoibalc) wrote :

for those who need a linux box - the latest vmware fusion (3.x.x) runs ubuntu 9.10 flawlessly. the trial version is free for 30 days so that buys you some time. hopefully, the bug will be fixed by then.

Revision history for this message
Roderick MacKenzie (r-c-i-mackenzie) wrote :

Thanks Hugo and Shoibal for your comments, I guess it is going to affect a lot of people, because you can buy a Macbook pro in almost every small town - it is not uncommon hardware. I think the best we can do is encourage people to file bug reports and say "me too" to get some developer attention. I am almost a bit shocked at apple for releasing such badly crippled hardware. I guess a lot of people buy macs to run other stuff on them. May go the VM route but it is not a long term solution.

Revision history for this message
Hugo Estopendo (sido616) wrote :

@Roderick:
Already tried ubuntu in VirtualBox -> tooooo slooooow...
And no support for 3D, I want to play a bit as well.
For everyone else to prevent to be in this messed up situation:
Buy Dell's or ThinkPad's. ThinkPad's have the best Linux support of all laptops.
BTW, kernel 2.6.34-git15 is already out. The last modified ubuntu LiveCD I known as tested was with git8, which is quiet older.

Revision history for this message
Roderick MacKenzie (r-c-i-mackenzie) wrote :

There is a link at the top of the page to https://bugzilla.kernel.org/show_bug.cgi?id=15923 . It seems to have been assigned priority P1 (most important) so may be we will see a patch soon. figures crossed.

@Hugo, year I should should have bought a think pad or a dell, but well they don't have light up keyboards! ;-)

Revision history for this message
Beaune Toulouse (bill-pollard) wrote :

I have nothing more interesting to add than that I wait eagerly for resolution of this issue so I can install Lucid to my MBP 13" 7,1 mid 2010.

Revision history for this message
Damien Cassou (cassou) wrote :

I propose 50€ to get this bug solved:

http://www.cofundos.org/project.php?id=187

Please add your bid here (even 1€/$ would be cool).

Revision history for this message
Francisco Nascimento (thedukeofgreenwich) wrote :

Added €25 to the pot to get this solved.

http://www.cofundos.org/project.php?id=187

I have already managed to install the software I need on Mac OS, but will be nice to get this fixed and have the option to run Linux natively.

@Damien - thanks for organising this - I was thinking about organising a bounty to get the bug fixed, but did not know a practical way to get it started.

Revision history for this message
tschinke (schinke) wrote :

Added also 25€ to get this annoying bug squashed. This needs to be fixed!
http://www.cofundos.org/project.php?id=187

Revision history for this message
deformation (deformity) wrote :

another macbook pro 7.1 13in reporting, been 2 weeks without linux, I cant live like that!

Revision history for this message
planetfoo (matt-ryanczak) wrote :

me too. Would like to see this get fixed.

Revision history for this message
Damien Cassou (cassou) wrote :
Revision history for this message
Rama Kurvakat (rkmaemo) wrote :

parallels/vmware fusion/virtualbox runs them fine, so that can be an alternative until this is fixed for native installation.

Revision history for this message
Scott Allen (signal) wrote :

I can confirmed same issue with identical ata messages on new Macmini4,1

Revision history for this message
Damien Cassou (cassou) wrote :

There is now a patch upstream. Could one of you please build an iso of ubuntu 10.4 so that we can all test the solution?

Revision history for this message
Fran Diéguez (frandieguez) wrote :

I'm compiling a the kernel right now. After get the deb files generated let me create a new livecd with this kernel.

I hope in 3 hours to get the livecd available to download.

Revision history for this message
Tarkus (tarkus) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected

wait online [?]

On Thu, Jun 17, 2010 at 10:17 PM, Francisco Diéguez <
<email address hidden>> wrote:

> I'm compiling a the kernel right now. After get the deb files generated
> let me create a new livecd with this kernel.
>
> I hope in 3 hours to get the livecd available to download.
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Fran Diéguez (frandieguez) wrote :

I'm trying to create the livecd but for now I can't do it to boot properly, I can't test it on a mcp 7,1 cause I don't have it right now.
Could some one do it for me?
Here are the debs files to test the kernel with the applied patch http://mabishu.com/downloads/mcp89-fix-kernel/

Revision history for this message
Willem (willemwouters) wrote :

I dont know how to make a livecd with the kernel path. But i have the mcp7,1 with refit dualboot osx and windows 7 with a Virtual Ubuntu 10,04 and i have a spare 150 Gb reserved for Linux.

Can you maybe explain it?

Revision history for this message
Damien Cassou (cassou) wrote :

To Willem: your virtual Ubuntu won't be of any help. What you can do is to install ubuntu on an usb drive (>4GB). When done, install the two deb files provided by Francisco Diéguez and reboot.

Revision history for this message
Dave Walker (davewalker) wrote :

I have used my own kernel build to create an ISO, and can confirm that I have been able to boot the custom LiveCD of Lucid.

Revision history for this message
Willem (willemwouters) wrote :

Can you put this ISO online?

Revision history for this message
Dave Walker (davewalker) wrote :

@Willem, Yes, but it'll take a while to upload it.

Revision history for this message
Willem (willemwouters) wrote :

@Dave Sorry (A) So happy, finally ubuntu on my mac :)

Revision history for this message
Dave Walker (davewalker) wrote :

http://macbookpro7-1.daviey.com/

This ISO and kernel should be considered a development resource only, it's vanilla 10.04 with my custom kernel based on lucid's current kernel and a patch based on that submitted upstream. I have also removed openoffice, which is trivial to reinstall. Note, do *not* wipe your system to install ubuntu - as lucid doesn't include EFI support following a fresh install. reFIT or similar is still required.

Revision history for this message
Bernardo Carneiro (bernardo-mobilefactory) wrote :
Download full text (3.5 KiB)

Thanks Dave,

This e-mail was written from my Macbook pro 7,1 using ubuntu.

Thanks a lot really!!

[]s,

Bernardo

2010/6/17 Dave Walker <email address hidden>

> http://macbookpro7-1.daviey.com/
>
> This ISO and kernel should be considered a development resource only,
> it's vanilla 10.04 with my custom kernel based on lucid's current kernel
> and a patch based on that submitted upstream. I have also removed
> openoffice, which is trivial to reinstall. Note, do *not* wipe your
> system to install ubuntu - as lucid doesn't include EFI support
> following a fresh install. reFIT or similar is still required.
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in “linux” package in Ubuntu: Triaged
>
> Bug description:
> Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA
> drives not being detected, and thus, not being able to install 10.04.
>
> The new MacBook Pro has the MCP89 chipset.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: linux-image-2.6.32-21-generic 2.6.32-21.32
> Regression: No
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelModules: wl
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: ubuntu 2755 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
> Mixer name : 'Nvidia ID c'
> Components : 'HDA:10134206,106b0d00,00100301
> HDA:10de000c,10de0101,00100200'
> Controls : 16
> Simple ctrls : 9
> Date: Thu May 6 19:41:45 2010
> LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Apple Inc. MacBookPro7,1
> ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed
> boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: linux-firmware 1.34
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.0039.B05.1003251322
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.version: Mac-F222BEC8
> dmi.modalias:
> dmi:bvnAppleInc.:bvrMBP71.88Z.0039.B05.1003251322:bd03/25/10:svnAppleInc.:pnMacBookPro7,1:pvr1.0:rvnAppleInc.:rnMac-F222BEC8:rvr:cvnAppleInc.:ct10:cvrMac-F222BEC8:
> dmi.product.name: MacBookPro7,1
> dmi.product.version: 1.0
> dmi.sys.vendor: Apple Inc.
> ---
> Architecture: amd64
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> Package: linux (no...

Read more...

Revision history for this message
Scott Allen (signal) wrote :

Thank you for the test ISO!

Confirm I can now boot with nomodeset (different issue with the gt320m graphics).
This is on a MacMini4,1 with MCP89 chipset experiencing identical errors as the MacBookPro7,1

Revision history for this message
James Cameron (quozl) wrote :

Fantastic. I also confirm that the test ISO ubuntu-10.04-desktop-amd64-macbook71.iso 7b4cc590c28f8a5d31a411562dc4ff11 works on Macmini4,1. ~~ <email address hidden>

Revision history for this message
Damien Cassou (cassou) wrote :

Installation blocks at 5% for me, during the creation of the ext4 file system on /dev/sda5 (my /home).

Revision history for this message
James Cameron (quozl) wrote :

@Damien, my partitioning was everything in one place and ext3 rather than ext4, but even during creation of ext3 filesystem the progress was unremarkable. It was difficult to tell if it was hung. I used top(1) and "cat /proc/diskstats" in a terminal to verify things were still happening. No disk indicator LED on the Macmini4,1. Perhaps this hints at a throughput issue.

Revision history for this message
Dave Walker (davewalker) wrote :

@Damien, Disk IO is not that of what you would expect - but once installed it seems "acceptable". Just leave it for a while longer.

Revision history for this message
Peter Isza (peter-isza) wrote :

Yes, this patch forces the ATA emulation mode, which is slower than AHCI. It's like buying the latest nVidia graphics card, and using it with the default VESA driver.

Revision history for this message
Damien Cassou (cassou) wrote :

It finally installed. I had to manually add the boot flag to the sda3 partition to made it boot. Now it works quite fine, thank you very much

Revision history for this message
GebbiGibson (gebhardt-uwe) wrote :

It works! I installed grub on sda3 (formatted with ext4) and booted it via rEFIt.
Nice!

Revision history for this message
Payall (gzeunaia) wrote :

For those who tested the solution, is there any loss of performance or any bugs using the patch?
Thanks.

Revision history for this message
Fran Diéguez (frandieguez) wrote :

Take in consideration that if you have an SSD, it will be much slower with this workaround cause we're using ata_generic module kernel than with AHCI

With ata_generic, the controller can't go to NCQ so if you have a
good SSD, it will suffer performance degradation.

Regards

Revision history for this message
Payall (gzeunaia) wrote :

Ok. I don't have SSD. So for a SATA drive, performance are acceptable?
Thanks for the response.

Revision history for this message
Peter Isza (peter-isza) wrote :

@Fransisco: Yes, that's what they said at bugzilla.kernel.org. Thanks for copying and pasting it. But this is not really true. NCQ (Native Command Queuing) is for putting the commands into the appropriate order, so that the disk doesn't have to turn around so many times. SSD's don't have disks, so the lack of NCQ doesn't slow them down.

But the lack of NCQ surely DOES slow down hard drives.

Hugo Estopendo (sido616)
Changed in linux (Ubuntu):
status: Triaged → In Progress
Revision history for this message
James Cameron (quozl) wrote :

@Payall: on Mac mini 2010 with internal 320Gb SATA drive, performance is low, about a tenth of expected. About 7 MB/sec on Ubuntu 10.04 using the above kernel, versus about 55 MB/sec on Mac OS X as shipped. Better than the 0 MB/sec before this fix was available.

(Test method on Ubuntu; ensure system is quiescent, "apt-get install pv" then "pv /dev/sda > /dev/null" and read the display. Test method on Mac OS X; create a large file, reboot, "time cat file > /dev/null", note the file size and the duration, divide out the result.)

Revision history for this message
Peter Isza (peter-isza) wrote :

I measured the read speeds on Macbook Pro 7,1 that has a Kingston SSD.

OSX: 198 Mbyte/s
patched Ubuntu: 8.9 Mbyte/s

Revision history for this message
Hugo Estopendo (sido616) wrote :

In my case, I installed ubuntu using Dave's patched 64-bit-desktop-Image and installed the GRUB in the ubuntu partition.
Then I added the boot flag manually to sda3, where ubuntu was installed to.
And ubuntu still doesn't appear in rEFIt (only OS X and Windows)...
The "Partition Inspector" in OS X recognizes ext3 in the third partition, but says "Boot Code: None".
What went wrong?

Revision history for this message
Hugo Estopendo (sido616) wrote :

Seems that something was wrong with my first installation.
I did the same steps again and now it works, I have around 20MB/s.

Revision history for this message
Mikkel Madsen (m-dsen) wrote :

The Ubuntu version works great on my mbp but can someone create an .iso for Linux Mint 9 Main 64 bit edition, please? This is the distro I normally use and there are probably others that would use this as well.

Revision history for this message
Hugo Estopendo (sido616) wrote :

So, there we go!
@ALL: Please contribute your knowledge and experience to this support page: https://help.ubuntu.com/community/MacBookPro7-1/Lucid

I guess the Sound is actually the most important milestone to negotiate.

Revision history for this message
mycoma (chucksw) wrote :

So where and how do we get the wireless driver? I didn't see any available under hardware drivers. Thanks

Revision history for this message
Koen Calliauw (koen-calliauw) wrote :

@mycoma: If you have the wired network working, you can go to "Administration" -> "Hardware drivers". You can download the wireless driver from there.
I don't know which wired network card the MBP uses, but the Macmini4,1 uses the Broadcom 57765, which also needs a proprietary driver. You will first need to download it on the broadcom website and transfer it with a usb drive (tg3 driver, you can find it in the downloads section) and get wired networking to work.
Once that's done, you can download the drivers for the wireless and the NVidia graphics (as nouveau doesn't seem to work with Macmini)

@Hugo Estopendo
I saw something popping up in the Changelog of the next stable kernel (or one of the most recent ones) about sound support for MCP89. Can't remember exactly what it was. In exchange for that info, I will now blatantly copy your Lucid page on the ubuntu wiki and search/replace for Macmini4,1 ;-)

@ALL: Performance is, as stated above, quite bad. You can also test the drive speed with the command "sudo hdparm -t /dev/sda", it should give output like this:
/dev/sda:
 Timing buffered disk reads: 24 MB in 3.21 seconds = 7.47 MB/sec

Cheers,
K!

Revision history for this message
Koen Calliauw (koen-calliauw) wrote :

@mycoma, can you see -anything- under 'hardware drivers'? My mini uses "Broadcom STA wireless driver".

/K

Revision history for this message
tschinke (schinke) wrote :

@Koen Calliauw
as mentioned in https://bugzilla.kernel.org/show_bug.cgi?id=15923 the problem is that the ata_generic driver uses only PIO mode instead of DMA mode (look at "dmesg | grep ata", there are messages like ata1.00: configured for PIO). However it is stated to be possible to drive the disks in DMA mode by patching the driver. In conclusion to the description above this should the be in ata_generic.c, around line 53 (bits 5 and 6 are false and therefore flags checked in line 63 won't work either).

It would be very nice if Dave could update his image, so we could test this approach if it works.

Revision history for this message
Panard (panard) wrote :

Concerning the sound, despite the MCP89 support announced in the latest alsa version (in kernel 2.6.35rc), no sound ouputs on mbp7,1 (but the card seems correctly detected).

I opened a bug report @alsa-project, but perhaps opening a bug report for ubuntu may speedup the resolution ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5044

Revision history for this message
Koen Calliauw (info-layer7) wrote :

Hi Dave,

Could you please post the source deb for the kernel you made and use in the ISO? I am trying to figure out what's going wrong when I try to compile my own kernel using the patches specified in the Kernel Bugzilla entry. Basically I want to get DMA going, but no luck so far.

Cheers,
K!

Revision history for this message
Damien Cassou (cassou) wrote :

@Dave There is another patch which improves performances a lot: https://bugzilla.kernel.org/show_bug.cgi?id=15923. Would you mind creating new deb files so that everyone can update?

Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

I managed to get the sound working by following instruction for MBP5,5/Lucid here https://help.ubuntu.com/community/MacBookPro5-5/Lucid#Sound

Basically I added the following to /etc/modprobe.d/alsa-base.conf and restart

options snd-hda-intel model=mbp55

also make sure the front speaker is not muted

Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

@mycoma: the wireless network drivers are already in the ubuntu cd.

Install bcmwl-kernel-source_5.60.48.36+bdcom-0ubuntu3_amd64.deb and friends (er.. patch, fakeroot, dkms, etc.. sorry I forgot the complete dependencies)

Revision history for this message
Panard (panard) wrote :

@Fajran: great news! This is working here too =)
Did you get the microphone working? It seems to be not detected here... (no input related entry in amixer).

Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

Nope.. same here. The integrated mic does not work. I also tried to use my headphone-mic-combo from Apple, but it does not work too.

Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

Ooppss.. sorry.. I just tried again and both microphones are working!

Revision history for this message
Koen Calliauw (info-layer7) wrote :

New kernel packages for Ubuntu 10.04 can be found here:

http://koen.calliauw.net/ubuntu/

They are made with kernel 2.6.35-rc3. Please use at own risk.

Cheers,
K!

Revision history for this message
Koen Calliauw (info-layer7) wrote :

Although I've never tried it before, I will give it a go and try to create a new desktop install cd. Coming up later today!

If you already have Dave's ISO installed, you can just use the above packages to enable DMA so you can expect a lot better throughput on your harddisks. Since the patch provided in the upstream bugtraq thread didn't patch correctly on the current LTS kernel, I had to use the maverick branch (2.6.35-rc3) to get the patch working.

/K

Revision history for this message
Koen Calliauw (info-layer7) wrote :

A word of warning: the above packages only seem to work on my Mac Mini for some reason. Upgrading my VirtualBox Ubuntu unfortunately ended with a kernel panic during the first second of boot :(
Will do some further testing and report back later.

Revision history for this message
Dave Walker (davewalker) wrote :

Hi all, I'm sorry - but I won't be creating a second ISO at this moment. I would use the original ISO, and install a newer compiled kernel with updated upstream patch. The ISO is suitable to bootstrap into a Ubuntu environment, and add the newer kernel packages.

Revision history for this message
Michael (msbroadf) wrote :

Another word of warning, the patch kernel 2.6.25-rc3 will not work with broadcom b43 driver as it cannot be compiled because the autoconf.h file has been moved in the kernel source after 2.6.33. If anyone can post a fix for this that would be good.

Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

Hi all.. I made a really custom kernel package which is working on my MBP 7,1. It is linux 2.6.35-rc3 vanilla patched with 2 patches from Linux' bugzilla. The package can be found here http://arsip.fajran.web.id/ubuntu-mbp71/

Please note that this kernel is highly customized. I didn't include modules that, I believe, are not relevant with MBP7,1. Some drivers are also compiled into the kernel, not as modules. If it is working on your MBP 7,1, don't really hope that the kernel package can also be used on other machines.

I haven't tried all the features but these are what I know

- 3d acceleration works, install nvidia proprietary driver
- sound (speaker and microphone) works too, please read instruction on https://help.ubuntu.com/community/MacBookPro7-1/Lucid
- isight does not work (I guess) because Cheese got crashed
- hdd performance is a lot better than before
- ethernet works
- wireless lan also works, please see a note below

to enable wireless lan, you can't use the broadcom b43 driver included in Ubuntu 10.04 (version 5.60.48.36+bdcom-0ubuntu3). You need to use the newer version (5.60.48.36+bdcom-0ubuntu5) that has been patched to support Linux 2.6.35-rc3 that I use here (see also #590924). Download the new packages from https://launchpad.net/ubuntu/+source/bcmwl it is for Maverick but it also works on Lucid

- https://launchpad.net/ubuntu/+archive/primary/+files/bcmwl-kernel-source_5.60.48.36+bdcom-0ubuntu5_amd64.deb
- https://launchpad.net/ubuntu/+archive/primary/+files/bcmwl-modaliases_5.60.48.36+bdcom-0ubuntu5_amd64.deb

last but not least, please use it at your own risk!

Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

about hdd performance, here's what I have

$ sudo hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads: 238 MB in 3.02 seconds = 78.86 MB/sec

$ sudo dd if=/dev/zero of=test bs=4M count=250
250+0 records in
250+0 records out
1048576000 bytes (1.0 GB) copied, 16.7282 s, 62.7 MB/s

$ sudo dd if=/dev/sda4 of=/dev/null bs=4M count=250
250+0 records in
250+0 records out
1048576000 bytes (1.0 GB) copied, 14.0408 s, 74.7 MB/s

Revision history for this message
Dave Walker (davewalker) wrote :

Lucid patch submitted to the kernel team:
https://lists.ubuntu.com/archives/kernel-team/2010-July/011460.html

Binaries based on the current lucid tree, with the above patch applied (including DMA support) are available at:
http://macbookpro7-1.daviey.com/linux-image-2.6.32-23-generic_2.6.32-23.38davewalker1_amd64.deb
http://macbookpro7-1.daviey.com/linux-headers-2.6.32-23-generic_2.6.32-23.38davewalker1_amd64.deb

Please note that the binaries come with no QA testing or promise of warranty but purely a developmental resource.

Revision history for this message
Stefan Bader (smb) wrote :

The changes have been accepted into upstream as of today and should automatically get picked up by Maverick.

Changed in linux (Ubuntu Lucid):
importance: Undecided → High
status: New → In Progress
status: In Progress → Fix Committed
Stefan Bader (smb)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Accepted linux into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Marcin Kościelnicki (koriakin) wrote :

About graphics problems... this is a new chipset and we don't have the data needed to handle it yet. Note this part of kernel log:

[ 63.031163] [drm] nouveau 0000:04:00.0: I don't know how to make a ctxprog for your NVaf card.
[ 63.031166] [drm] nouveau 0000:04:00.0: Disabling acceleration. Please contact the devs.

This issue won't just fix itself. We need mmiotrace of the binary driver using the card. There are instructions for that on nouveau wiki. I guess it's hard to trace stuff without working hdd, but please remember to do this - the sooner we get mmiotraces, the sooner there'll be any support for these cards in nouveau.

Revision history for this message
Dave Walker (davewalker) wrote :

@Marcin, Can you raise that as a separate bug please?

Feel free to subscribe me, and i'll post the data there.

Thanks.

Revision history for this message
Marcin Kościelnicki (koriakin) wrote :
Revision history for this message
Dave Walker (davewalker) wrote :

I have tested the updated kernel and can confirm there are no obvious regressions, and it resolves this bug. Can another owner of this hardware confirm this also, so we can get verification and work towards getting the package moved into lucid-updates.

Thanks.

Revision history for this message
Koen Calliauw (info-layer7) wrote :

@Dave, what kind of test(s) do you need. I assume basically you'd need at least this:

1. Install your ISO
2. Enable "proposed"
3. Check proper bootup and DMA setting
4. Report back

Anything else in particular? dmesg output, lspci, ...?

/K

Revision history for this message
Dave Walker (davewalker) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

@Koen, Whilst it's not an ideal situation; the only logical way of
testing I can think of, is to install using by unofficial ISO and
continue as you have documented. You don't need to provide any logs,
unless there is a regression.

You are testing that it fixes the issue and there are no regressions,
or other problems that this update has introduced.

Thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw03yIACgkQmiDwVeMCgbNwigCgtoqiAtXRxMtSryyPIKHZfIf7
UPEAoJc4i+5cGMOKFhgaJlm/zUtdboWl
=IH/8
-----END PGP SIGNATURE-----

Revision history for this message
spaetz (spaetz) wrote :

I updated to the latest kernel and I can confirm that I get 70MB/s when doing dd if=/dev/sda4 of=/dev/null. With a previous incarnation of that patch I was getting 7MB/s. Things seem speedily enough to not complain. Thanks for getting this in! Count that as a +1 for a patch fixes bug.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Tor-björn Claesson (tclaesson) wrote :

Works for me to.

Revision history for this message
Eric Garrido (eric-ericgar) wrote :

+1 works for me.

Thanks everyone!

Changed in linux (Ubuntu):
status: In Progress → Triaged
status: Triaged → Fix Released
Revision history for this message
Moritz Heiber (mheiber) wrote :

Sorry to bother everyone but just for clarification purposes: Is this bug really "fixed" as in the issue has been solved to the fullest extend? I mean, as far as I followed the back and forth it's basically averted/circumvented but not actually tackled in any way.

Yes, people will be able to install Ubuntu on their Macbooks (which is the general direction this bug is aimed toward). However, the controller isn't actually supported nor are we using its SATA capabilities in any way .. or am I wrong? And please feel free to enlighten me incase I'm wrong!

Otherwise I find it just a wee bit strange to mark it as "fixed" prematurely.

Revision history for this message
Eric Garrido (eric-ericgar) wrote :

The current status is that:

1) There exists an experimental/development ISO that allows installation, albeit using the ata_generic driver. This means accessing disk without AHCI and without DMA.

2) There exist experimental/development kernel packages that are in -proposed (or so says an above comment) that enable DMA. I've been running all weekend with these packages with no issues. The applied patches are being merged upstream "soonish".

3) The AHCI driver is reported to work when using grub-efi, but then the nvidia driver breaks. In non-EFI mode, the nvidia driver works (but obviously AHCI does not work).

4) It's unknown if there will ever be AHCI support with non-EFI, or nvidia support in EFI, as it's not clear what makes these break yet.

The work around is good enough for my own *personal* use for now (YMMV). Is it worth opening new bugs for fixing #4 or is it too much of a pipe dream (especially seeing as how 4b is a binary, proprietary driver)?

Revision history for this message
Dave Walker (davewalker) wrote :

Thanks for the summary Eric, I would like to add that the current kernel in lucid-proposed - with the patch that uses ata_generic supporting DMA *is* actually merged into the upstream kernel.

That patch is stable, and works - therefore fixing this bug. I would be surprised if an eventual fix in sata_nv and SRU'd to Lucid.

Revision history for this message
ivanhoe1024 (ivanhoe1024) wrote :

Hi everybody, I'm italian (sorry for my english!!) I just tried opensuse 11.3, and it seems to work well with my MBP7,1. May this be of any help??!

Revision history for this message
Dave Walker (davewalker) wrote :

@ivanhoe1024, Thanks for the info; it's well under way in Ubuntu.

Revision history for this message
Koen Calliauw (info-layer7) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected
Download full text (3.7 KiB)

@Dave,

I think he was aiming at the fact someone should investigate the
OpenSUSE way of doing it. If they manage to do it without the
workaround with ata_generic somehow, people could be able to port the
change more easily into Ubuntu.
I make take a look at the code tomorrow if I find the time.

Cheers,
K!

2010/7/15 Dave Walker <email address hidden>:
> @ivanhoe1024, Thanks for the info; it's well under way in Ubuntu.
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in “linux” package in Ubuntu: Fix Released
> Status in “linux” source package in Lucid: Fix Committed
>
> Bug description:
> SRU Justification:
>
> Impact: SATA drives on the MBP 7.1 are not usable as the ahci mode is not working correctly.
>
> Fix: Two patches taken from upstream, which have also been marked for stable inclusion will blacklist the MBP from using AHCI and falling back to the ide driver which works. Second half forces DMA on.
>
> Testcase: See report. Disk drive not usable without the patches.
>
> ---
>
> Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA drives not being detected, and thus, not being able to install 10.04.
>
> The new MacBook Pro has the MCP89 chipset.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: linux-image-2.6.32-21-generic 2.6.32-21.32
> Regression: No
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelModules: wl
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> ArecordDevices:
>  **** List of CAPTURE Hardware Devices ****
>  card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
>    Subdevices: 1/1
>    Subdevice #0: subdevice #0
> AudioDevicesInUse:
>  USER        PID ACCESS COMMAND
>  /dev/snd/controlC0:  ubuntu     2755 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
>  Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
>    Mixer name   : 'Nvidia ID c'
>    Components   : 'HDA:10134206,106b0d00,00100301 HDA:10de000c,10de0101,00100200'
>    Controls      : 16
>    Simple ctrls  : 9
> Date: Thu May  6 19:41:45 2010
> LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Apple Inc. MacBookPro7,1
> ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> ProcEnviron:
>  LANG=en_US.UTF-8
>  SHELL=/bin/bash
> RelatedPackageVersions: linux-firmware 1.34
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.0039.B05.1003251322
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.version: Mac-F222BEC8
> dmi.modalias: dmi:bvnAppleInc.:bvrMBP71.88Z.0039.B05.1003251322:bd03/25/10:svnAppleInc.:pnMacBookPro7,1:pvr1.0:rvnAppleInc.:rnMac-F222BEC8:rvr:cvnAppleInc...

Read more...

Revision history for this message
ivanhoe1024 (ivanhoe1024) wrote :

@Koen,
right, this was my aim. I can't do this by myself, I'm not so able, but maybe someone here can do something useful with this. Let us know your opinion!

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.9 KiB)

This bug was fixed in the package linux - 2.6.32-24.38

---------------
linux (2.6.32-24.38) lucid-proposed; urgency=low

  [ Keng-Yu Lin ]

  * SAUCE: dell-laptop: fire SMI when toggling hardware killswitch
    (revised)
    - LP: #590607

  [ Upstream Kernel Changes ]

  * sfc: Wait at most 10ms for the MC to finish reading out MAC statistics
    - LP: #590783
  * sfc: Always close net device at the end of a disabling reset
    - LP: #590783
  * sfc: Change falcon_probe_board() to fail for unsupported boards
    - LP: #590783
  * ext4: Fix potential quota deadlock
    - LP: #588069
  * jbd: jbd-debug and jbd2-debug should be writable
    - LP: #588069
  * ext4: replace BUG() with return -EIO in ext4_ext_get_blocks
    - LP: #588069
  * ext4, jbd2: Add barriers for file systems with exernal journals
    - LP: #588069
  * ext4: Eliminate potential double free on error path
    - LP: #588069
  * ext4: return correct wbc.nr_to_write in ext4_da_writepages
    - LP: #588069
  * ext4: Ensure zeroout blocks have no dirty metadata
    - LP: #588069
  * ext4: Patch up how we claim metadata blocks for quota purposes
    - LP: #588069
  * ext4: Fix accounting of reserved metadata blocks
    - LP: #588069
  * ext4: Calculate metadata requirements more accurately
    - LP: #588069
  * ext4: Handle -EDQUOT error on write
    - LP: #588069
  * ext4: Fix quota accounting error with fallocate
    - LP: #588069
  * ext4: Drop EXT4_GET_BLOCKS_UPDATE_RESERVE_SPACE flag
    - LP: #588069
  * ext4: Use bitops to read/modify EXT4_I(inode)->i_state
    - LP: #588069
  * ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
    - LP: #588069
  * ext4: Add flag to files with blocks intentionally past EOF
    - LP: #588069
  * ext4: Fix fencepost error in chosing choosing group vs file
    preallocation.
    - LP: #588069
  * ext4: fix error handling in migrate
    - LP: #588069
  * ext4: explicitly remove inode from orphan list after failed direct io
    - LP: #588069
  * ext4: Handle non empty on-disk orphan link
    - LP: #588069
  * ext4: make "offset" consistent in ext4_check_dir_entry()
    - LP: #588069
  * ext4: Fix insertion point of extent in mext_insert_across_blocks()
    - LP: #588069
  * ext4: Fix the NULL reference in double_down_write_data_sem()
    - LP: #588069
  * ext4: Code cleanup for EXT4_IOC_MOVE_EXT ioctl
    - LP: #588069
  * ext4: Fix estimate of # of blocks needed to write indirect-mapped files
    - LP: #588069
  * ext4: Fixed inode allocator to correctly track a flex_bg's used_dirs
    - LP: #588069
  * ext4: Fix possible lost inode write in no journal mode
    - LP: #588069
  * ext4: Fix buffer head leaks after calls to ext4_get_inode_loc()
    - LP: #588069
  * ext4: Issue the discard operation *before* releasing the blocks to be
    reused
    - LP: #588069
  * ext4: check missed return value in ext4_sync_file()
    - LP: #588069
  * ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
    - LP: #588069
  * ext4: Remove unnecessary call to ext4_get_group_desc() in mballoc
    - LP: #588069
  * ext4: rename ext4_mb_release_desc() to ext4_mb_unload_buddy()
    - LP: #588069
  * ext4: allow defrag (EXT4_IOC_MOVE_EXT) in 32b...

Read more...

Changed in linux (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
ivanhoe1024 (ivanhoe1024) wrote :

Well, so let me understand: if I download the daily build of kubuntu 10.04.1 today 24/07 I'll have a working system, won't I? Moreover, I read in the previous post that the dma mode is "forced": may this be dangerous, or it's safe?? Thank's everyone!

Revision history for this message
John Appleton (japplet) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected
Download full text (3.9 KiB)

I got it to boot the "Live CD", never got that far with any version of Fedora. I went through the whole install on my MBP 7,1 but I couldn't get it to boot after the install. I am not that big a Ubuntu fan so I just removed it without any further troubleshooting.

On Jul 24, 2010, at 8:49 AM, ivanhoe1024 wrote:

> Well, so let me understand: if I download the daily build of kubuntu
> 10.04.1 today 24/07 I'll have a working system, won't I? Moreover, I
> read in the previous post that the dma mode is "forced": may this be
> dangerous, or it's safe?? Thank's everyone!
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in “linux” package in Ubuntu: Fix Released
> Status in “linux” source package in Lucid: Fix Released
>
> Bug description:
> SRU Justification:
>
> Impact: SATA drives on the MBP 7.1 are not usable as the ahci mode is not working correctly.
>
> Fix: Two patches taken from upstream, which have also been marked for stable inclusion will blacklist the MBP from using AHCI and falling back to the ide driver which works. Second half forces DMA on.
>
> Testcase: See report. Disk drive not usable without the patches.
>
> ---
>
> Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA drives not being detected, and thus, not being able to install 10.04.
>
> The new MacBook Pro has the MCP89 chipset.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: linux-image-2.6.32-21-generic 2.6.32-21.32
> Regression: No
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelModules: wl
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: ubuntu 2755 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
> Mixer name : 'Nvidia ID c'
> Components : 'HDA:10134206,106b0d00,00100301 HDA:10de000c,10de0101,00100200'
> Controls : 16
> Simple ctrls : 9
> Date: Thu May 6 19:41:45 2010
> LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Apple Inc. MacBookPro7,1
> ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: linux-firmware 1.34
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.0039.B05.1003251322
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.version: Mac-F222B...

Read more...

Revision history for this message
goap (schmidt) wrote :

Today I downloaded a daily build of Ubuntu 10.10 64-bit (http://cdimage.ubuntu.com/daily-live/20100726/), burned an ISO with my macbook 7, and installed it. So this message is written on a macbook pro 7.1 running ubuntu 10.10 :-)

Revision history for this message
luhesan (luhesan-live) wrote :

I confirm that Ubuntu 10.10 daily build works on my MacBook 7, just no sound but i'm working to fix that =)

Revision history for this message
ivanhoe1024 (ivanhoe1024) wrote :

I succeded to boot and install ubuntu 10.04 LTS daily build too. So it works, eventually!!!! Thanks everyone helped doing this...

Revision history for this message
kreyszig (pldrouin) wrote :

Where can I find daily builds of 10.04? I can only find builds of 10.10... (sorry for my possible lack of knowledge of the Ubuntu release cycle)

Revision history for this message
kreyszig (pldrouin) wrote :
Revision history for this message
Payall (gzeunaia) wrote :

How can i get the wifi working?
Thanks.

Revision history for this message
Jan (jan-enrico) wrote :

Hello,

I bought recently the Mac Mini 4.1 (2010 model). It has the same mcp89 SATA controller as MacBookPro 7.1 so I was hoping that solution from this thread will work for me too. I burned latest image from http://cdimage.ubuntu.com/lucid/daily-live but I failed to boot Ubuntu from the live-cd. After about one minute of DVD drive activity my screen just stays black.

Did I miss something ? Do I need to specify some boot-time parameters by hand ?

Thanks,
Jan

Revision history for this message
Koen Calliauw (info-layer7) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected
Download full text (4.0 KiB)

Yes, use the 'nomodeset' or something. You can select it after the language
selection in the CD boot screen.

Cheers,
K!

2010/8/3 Jan <email address hidden>

> Hello,
>
> I bought recently the Mac Mini 4.1 (2010 model). It has the same mcp89
> SATA controller as MacBookPro 7.1 so I was hoping that solution from
> this thread will work for me too. I burned latest image from
> http://cdimage.ubuntu.com/lucid/daily-live but I failed to boot Ubuntu
> from the live-cd. After about one minute of DVD drive activity my screen
> just stays black.
>
> Did I miss something ? Do I need to specify some boot-time parameters by
> hand ?
>
> Thanks,
> Jan
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in “linux” package in Ubuntu: Fix Released
> Status in “linux” source package in Lucid: Fix Released
>
> Bug description:
> SRU Justification:
>
> Impact: SATA drives on the MBP 7.1 are not usable as the ahci mode is not
> working correctly.
>
> Fix: Two patches taken from upstream, which have also been marked for
> stable inclusion will blacklist the MBP from using AHCI and falling back to
> the ide driver which works. Second half forces DMA on.
>
> Testcase: See report. Disk drive not usable without the patches.
>
> ---
>
> Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA
> drives not being detected, and thus, not being able to install 10.04.
>
> The new MacBook Pro has the MCP89 chipset.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: linux-image-2.6.32-21-generic 2.6.32-21.32
> Regression: No
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelModules: wl
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: ubuntu 2755 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
> Mixer name : 'Nvidia ID c'
> Components : 'HDA:10134206,106b0d00,00100301
> HDA:10de000c,10de0101,00100200'
> Controls : 16
> Simple ctrls : 9
> Date: Thu May 6 19:41:45 2010
> LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Apple Inc. MacBookPro7,1
> ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed
> boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: linux-firmware 1.34
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.0039.B05.1003251322
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.ch...

Read more...

Revision history for this message
Jan (jan-enrico) wrote :

Thanks for your reply. Indeed, selecting "nomodeset" option makes Ubuntu to boot properly on Mac Mini. 4.1 - very good :)

My goal is to install only Ubuntu with no OS X. Can I just proceed with installing ? I found a note about rEFIt but I am not sure wether in my case (Ubuntu only single boot) rEFIt is necessary or not.

Thanks,
Jan

Revision history for this message
Koen Calliauw (info-layer7) wrote :
Download full text (4.0 KiB)

Hey Jan,

I couldn't get it to boot without MacOSX installed. I just resized my MacOSX
partition to something like 15GB in size and left rEFIt for what it was. It
works well enough like this although I'd love to see more EFI support soon.

Cheers,
K!

2010/8/4 Jan <email address hidden>

> Thanks for your reply. Indeed, selecting "nomodeset" option makes Ubuntu
> to boot properly on Mac Mini. 4.1 - very good :)
>
> My goal is to install only Ubuntu with no OS X. Can I just proceed with
> installing ? I found a note about rEFIt but I am not sure wether in my
> case (Ubuntu only single boot) rEFIt is necessary or not.
>
> Thanks,
> Jan
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in “linux” package in Ubuntu: Fix Released
> Status in “linux” source package in Lucid: Fix Released
>
> Bug description:
> SRU Justification:
>
> Impact: SATA drives on the MBP 7.1 are not usable as the ahci mode is not
> working correctly.
>
> Fix: Two patches taken from upstream, which have also been marked for
> stable inclusion will blacklist the MBP from using AHCI and falling back to
> the ide driver which works. Second half forces DMA on.
>
> Testcase: See report. Disk drive not usable without the patches.
>
> ---
>
> Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA
> drives not being detected, and thus, not being able to install 10.04.
>
> The new MacBook Pro has the MCP89 chipset.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: linux-image-2.6.32-21-generic 2.6.32-21.32
> Regression: No
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelModules: wl
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: ubuntu 2755 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
> Mixer name : 'Nvidia ID c'
> Components : 'HDA:10134206,106b0d00,00100301
> HDA:10de000c,10de0101,00100200'
> Controls : 16
> Simple ctrls : 9
> Date: Thu May 6 19:41:45 2010
> LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Apple Inc. MacBookPro7,1
> ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed
> boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: linux-firmware 1.34
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.0039.B05.1003251322
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.t...

Read more...

Revision history for this message
Jan (jan-enrico) wrote :

Hey Koen,

I found this web page, which describes among other scenarios also Ubuntu single boot scenario. The only important thing before actual installation is to convert your HDD partition table scheme from original CPT to legacy MBR (EFI understands both).

https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation

I'll give it a try. If it fails I'll try dual-boot with MacOSX.

Best Regards,
Jan

Revision history for this message
Andrea Campolonghi (acampolonghi) wrote :
Download full text (4.2 KiB)

I should keep the dual boot anyway. If you delete osx you will never be able
to update the firmware anymore.
As per rumours 10.10 will have a sort of EFI support. I shoudl wait that
before making a Ubuntu solo.

Andrea

2010/8/5 Jan <email address hidden>

> Hey Koen,
>
> I found this web page, which describes among other scenarios also Ubuntu
> single boot scenario. The only important thing before actual
> installation is to convert your HDD partition table scheme from original
> CPT to legacy MBR (EFI understands both).
>
> https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation
>
> I'll give it a try. If it fails I'll try dual-boot with MacOSX.
>
> Best Regards,
> Jan
>
> --
> [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
> https://bugs.launchpad.net/bugs/576601
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Unknown
> Status in “linux” package in Ubuntu: Fix Released
> Status in “linux” source package in Lucid: Fix Released
>
> Bug description:
> SRU Justification:
>
> Impact: SATA drives on the MBP 7.1 are not usable as the ahci mode is not
> working correctly.
>
> Fix: Two patches taken from upstream, which have also been marked for
> stable inclusion will blacklist the MBP from using AHCI and falling back to
> the ide driver which works. Second half forces DMA on.
>
> Testcase: See report. Disk drive not usable without the patches.
>
> ---
>
> Booting 10.04 livecd on one of the new MacBook Pro(7,1) results in SATA
> drives not being detected, and thus, not being able to install 10.04.
>
> The new MacBook Pro has the MCP89 chipset.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: linux-image-2.6.32-21-generic 2.6.32-21.32
> Regression: No
> Reproducible: Yes
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelModules: wl
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: ubuntu 2755 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
> Mixer name : 'Nvidia ID c'
> Components : 'HDA:10134206,106b0d00,00100301
> HDA:10de000c,10de0101,00100200'
> Controls : 16
> Simple ctrls : 9
> Date: Thu May 6 19:41:45 2010
> LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Apple Inc. MacBookPro7,1
> ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed
> boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: linux-firmware 1.34
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.0039.B05.1003251322
> dmi.board.name: Ma...

Read more...

Mikkel Madsen (m-dsen)
Changed in linux (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Please do not change bug status without explanation.

Changed in linux (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Jan (jan-enrico) wrote :

Hello,

I managed to install single boot Ubuntu on Mac Mini 4.1 according to this how-to https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation. After selecting the "nomodeset" option when booting the Ubuntu Live-CD I installed Ubuntu on hard disk. Trying to boot the installed Ubuntu from the hard disk failed (ending up with a black screen soon after booting). I tried to bring up Grub menu when booting from the hard disk and set the "nomodeset" option with no success. I therefore booted from CD again and mounted the partition with Ubuntu on it. Then I made the "nomodeset" option permanent in the file /boot/grub/grub.cfg. After this I could boot Ubuntu from my hard disk.

I enjoy now Ubuntu signle boot on Mac Mini. 4.1 but nevertheless I'll go for the dual-boot option and stick with it until 10.10 with rumored EFI support will come up.

Thanks,
Jan

Revision history for this message
Steve Stalcup (vorian) wrote :

I hate to be the one to do this, but every method of installing/booting the daily build fails

I get a busybox error message / and failure to find/mount filesystem. This bug still exists.

Changed in linux (Ubuntu Lucid):
status: Fix Released → Confirmed
Changed in linux (Ubuntu Lucid):
status: Confirmed → New
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Benoit Gschwind (gschwind) wrote :

@ivanhoe1024 (reply to #126)

The patch don't exactly "force" DMA but just ignore what the hardware claim. The hardware say "I do not support DMA", the driver ignore it. imo, it's fairly safe, under Window and MacOSX the driver have DMA enable.

Best regards.

Changed in linux:
status: Unknown → Fix Released
Changed in linux:
importance: Unknown → Medium
Andy Whitcroft (apw)
Changed in linux (Ubuntu Lucid):
status: Confirmed → Fix Committed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in linux (Ubuntu Lucid):
status: Fix Committed → Won't Fix
Revision history for this message
Dave Walker (davewalker) wrote :

@Rolf, this issue was actually fixed in Lucid. Therefore, i'll re-mark it Fix Released.

Ta

Changed in linux (Ubuntu Lucid):
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.