[MacBookPro 7,1]mcp89 sata link reset fails, no disks detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
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-
Regression: No
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
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/
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,
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=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
RelatedPackageV
RfKill:
SourcePackage: linux
dmi.bios.date: 03/25/10
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP71.88Z.
dmi.board.name: Mac-F222BEC8
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro7,1
dmi.product.
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-
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Anders Østhus (aosthus) wrote : | #1 |
- AlsaDevices.txt Edit (517 bytes, text/plain; charset="utf-8")
- AplayDevices.txt Edit (277 bytes, text/plain; charset="utf-8")
- BootDmesg.txt Edit (52.6 KiB, text/plain; charset="utf-8")
- Card0.Amixer.values.txt Edit (1.8 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.0.txt Edit (6.9 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.3.txt Edit (903 bytes, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (935 bytes, text/plain; charset="utf-8")
- Dependencies.txt Edit (1.3 KiB, text/plain; charset="utf-8")
- IwConfig.txt Edit (245 bytes, text/plain; charset="utf-8")
- Lspci.txt Edit (12.9 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (706 bytes, text/plain; charset="utf-8")
- PciMultimedia.txt Edit (564 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (1.5 KiB, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (1.3 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (3.4 KiB, text/plain; charset="utf-8")
- UdevDb.txt Edit (111.7 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (246.8 KiB, text/plain; charset="utf-8")
- WifiSyslog.txt Edit (97.7 KiB, text/plain; charset="utf-8")
Anders Østhus (aosthus) wrote : | #2 |
Jeremy Foshee (jeremyfoshee) wrote : | #3 |
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:/
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 |
tags: | added: apport-collected |
description: | updated |
Anders Østhus (aosthus) wrote : | #4 |
Hi.
Tested this on 2.6.34-rc7 today, and the problem still exists.
tags: | removed: needs-upstream-testing |
Anders Østhus (aosthus) wrote : | #5 |
Anders Østhus (aosthus) wrote : | #6 |
Anders Østhus (aosthus) wrote : | #7 |
Anders Østhus (aosthus) wrote : | #8 |
Changed in linux (Ubuntu): | |
status: | Incomplete → New |
Andy Whitcroft (apw) wrote : | #9 |
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 |
summary: |
- mcp89 sata not detected + [MacBookPro 7,1]mcp89 sata link reset fails, no disks detected |
Francisco Nascimento (thedukeofgreenwich) wrote : | #10 |
Sorry folks - I have not used this system before and accidentally clicked on "Invalid" ... Sorry ...
Changed in linux (Ubuntu): | |
status: | Triaged → Invalid |
Francisco Nascimento (thedukeofgreenwich) wrote : | #11 |
Can somebody fix it and return it to "Triaged"?
Changed in linux (Ubuntu): | |
status: | Invalid → New |
Francisco Nascimento (thedukeofgreenwich) wrote : | #12 |
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 |
Andy Whitcroft (apw) wrote : | #13 |
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://
Thanks.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : apport information | #14 |
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/
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,
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=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Regression: No
RelatedPackageV
Reproducible: Yes
RfKill:
Tags: lucid filesystem needs-upstream-
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.
dmi.board.name: Mac-F222BEC8
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro7,1
dmi.product.
dmi.sys.vendor: Apple Inc.
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : AlsaDevices.txt | #15 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : AplayDevices.txt | #16 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : BootDmesg.txt | #17 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Card0.Amixer.values.txt | #18 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Card0.Codecs.codec.0.txt | #19 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Card0.Codecs.codec.3.txt | #20 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : CurrentDmesg.txt | #21 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Lspci.txt | #22 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : Lsusb.txt | #23 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : PciMultimedia.txt | #24 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : ProcCpuinfo.txt | #25 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : ProcInterrupts.txt | #26 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : ProcModules.txt | #27 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : UdevDb.txt | #28 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : UdevLog.txt | #29 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : WifiSyslog.txt | #30 |
Anders Østhus (aosthus) wrote : | #32 |
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_
[ 0.811584] ahci_init_
[ 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_
[ 0.827800] ata_port_
[ 0.827804] ata_scsi_error: ENTER
[ 0.827806] ata_port_
[ 0.827808] ata2: ata_port_
[ 0.827811] ata_eh_
[ 0.827813] ata_eh_recover: ENTER
[ 0.827817] __ata_port_freeze: ata2 port frozen
[ 0.827819] ahci_hardreset: ENTER
[ 0.827822] sata_link_
[ 0.827832] ata_scsi_error: ENTER
[ 0.827834] ata_port_
[ 0.827836] ata1: ata_port_
[ 0.827838] ata_eh_
[ 0.827840] ata_eh_recover: ENTER
[ 0.827843] __ata_port_freeze: ata1 port frozen
[ 0.827845] ahci_hardreset: ENTER
[ 0.827847] sata_link_
tixetsal (tixetsal) wrote : | #33 |
I have the same exact problem on identical hardware.
dent (dent-nic) wrote : | #34 |
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!
dustingram (dustin-ingram) wrote : | #35 |
- dmesg-2.6.32-22.34~lp576601-lucid.txt Edit (52.2 KiB, text/plain)
Here's my dmesg with the patched kernel. I believe it correlates with Alan Pope and Anders Østhus.
Hugo Estopendo (sido616) wrote : | #36 |
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
Hugo Estopendo (sido616) wrote : | #37 |
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)
Dave Walker (davewalker) wrote : | #38 |
"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 |
Willem (willemwouters) wrote : | #39 |
me too
I love ubuntu / linux just bought a new one....
Im really waiting :(
Frank (fdumont) wrote : | #40 |
me too
how can I help?
Hugo Estopendo (sido616) wrote : | #41 |
Some people wrote, that FreeBSD can handle the SATA Controller.
Is it possible to get and port the FreeBSD driver for the Controller?
tags: | added: kernel-core kernel-reviewed |
Roderick MacKenzie (r-c-i-mackenzie) wrote : | #42 |
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
Hugo Estopendo (sido616) wrote : | #43 |
@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!
Shoibal Chakravarty (shoibalc) wrote : | #44 |
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.
Roderick MacKenzie (r-c-i-mackenzie) wrote : | #45 |
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.
Hugo Estopendo (sido616) wrote : | #46 |
@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.
Roderick MacKenzie (r-c-i-mackenzie) wrote : | #47 |
There is a link at the top of the page to https:/
@Hugo, year I should should have bought a think pad or a dell, but well they don't have light up keyboards! ;-)
Beaune Toulouse (bill-pollard) wrote : | #48 |
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.
Damien Cassou (cassou) wrote : | #49 |
I propose 50€ to get this bug solved:
http://
Please add your bid here (even 1€/$ would be cool).
Francisco Nascimento (thedukeofgreenwich) wrote : | #50 |
Added €25 to the pot to get this solved.
http://
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.
tschinke (schinke) wrote : | #51 |
Added also 25€ to get this annoying bug squashed. This needs to be fixed!
http://
deformation (deformity) wrote : | #52 |
another macbook pro 7.1 13in reporting, been 2 weeks without linux, I cant live like that!
planetfoo (matt-ryanczak) wrote : | #53 |
me too. Would like to see this get fixed.
Damien Cassou (cassou) wrote : | #54 |
Please add your bid to http://
Rama Kurvakat (rkmaemo) wrote : | #55 |
parallels/vmware fusion/virtualbox runs them fine, so that can be an alternative until this is fixed for native installation.
Scott Allen (signal) wrote : | #56 |
I can confirmed same issue with identical ata messages on new Macmini4,1
Damien Cassou (cassou) wrote : | #57 |
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?
Fran Diéguez (frandieguez) wrote : | #58 |
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.
Tarkus (tarkus) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected | #59 |
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:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Fran Diéguez (frandieguez) wrote : | #60 |
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://
Willem (willemwouters) wrote : | #61 |
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?
Damien Cassou (cassou) wrote : | #62 |
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.
Dave Walker (davewalker) wrote : | #63 |
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.
Willem (willemwouters) wrote : | #64 |
Can you put this ISO online?
Dave Walker (davewalker) wrote : | #65 |
@Willem, Yes, but it'll take a while to upload it.
Willem (willemwouters) wrote : | #66 |
@Dave Sorry (A) So happy, finally ubuntu on my mac :)
Dave Walker (davewalker) wrote : | #67 |
http://
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.
Bernardo Carneiro (bernardo-mobilefactory) wrote : | #68 |
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://
>
> 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:/
> 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-
> Regression: No
> Reproducible: Yes
> ProcVersionSign
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelMo
> 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,
> HDA:10de000c,
> 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=
> boot=casper initrd=
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageV
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.
> dmi.modalias:
> dmi:bvnAppleInc
> dmi.product.name: MacBookPro7,1
> dmi.product.
> dmi.sys.vendor: Apple Inc.
> ---
> Architecture: amd64
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> Package: linux (no...
Scott Allen (signal) wrote : | #69 |
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
James Cameron (quozl) wrote : | #70 |
Fantastic. I also confirm that the test ISO ubuntu-
Damien Cassou (cassou) wrote : | #71 |
Installation blocks at 5% for me, during the creation of the ext4 file system on /dev/sda5 (my /home).
James Cameron (quozl) wrote : | #72 |
@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.
Dave Walker (davewalker) wrote : | #73 |
@Damien, Disk IO is not that of what you would expect - but once installed it seems "acceptable". Just leave it for a while longer.
Peter Isza (peter-isza) wrote : | #74 |
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.
Damien Cassou (cassou) wrote : | #75 |
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
GebbiGibson (gebhardt-uwe) wrote : | #76 |
It works! I installed grub on sda3 (formatted with ext4) and booted it via rEFIt.
Nice!
Payall (gzeunaia) wrote : | #77 |
For those who tested the solution, is there any loss of performance or any bugs using the patch?
Thanks.
Fran Diéguez (frandieguez) wrote : | #78 |
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
Payall (gzeunaia) wrote : | #79 |
Ok. I don't have SSD. So for a SATA drive, performance are acceptable?
Thanks for the response.
Peter Isza (peter-isza) wrote : | #80 |
@Fransisco: Yes, that's what they said at bugzilla.
But the lack of NCQ surely DOES slow down hard drives.
Changed in linux (Ubuntu): | |
status: | Triaged → In Progress |
James Cameron (quozl) wrote : | #81 |
@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.)
Peter Isza (peter-isza) wrote : | #82 |
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
Hugo Estopendo (sido616) wrote : | #83 |
- Output of "Partition Analyzer" in OS X Edit (1.3 KiB, text/plain)
In my case, I installed ubuntu using Dave's patched 64-bit-
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?
Hugo Estopendo (sido616) wrote : | #84 |
Seems that something was wrong with my first installation.
I did the same steps again and now it works, I have around 20MB/s.
Mikkel Madsen (m-dsen) wrote : | #85 |
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.
Hugo Estopendo (sido616) wrote : | #86 |
So, there we go!
@ALL: Please contribute your knowledge and experience to this support page: https:/
I guess the Sound is actually the most important milestone to negotiate.
mycoma (chucksw) wrote : | #87 |
So where and how do we get the wireless driver? I didn't see any available under hardware drivers. Thanks
Koen Calliauw (koen-calliauw) wrote : | #88 |
@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!
Koen Calliauw (koen-calliauw) wrote : | #89 |
@mycoma, can you see -anything- under 'hardware drivers'? My mini uses "Broadcom STA wireless driver".
/K
tschinke (schinke) wrote : | #90 |
@Koen Calliauw
as mentioned in https:/
It would be very nice if Dave could update his image, so we could test this approach if it works.
Panard (panard) wrote : | #91 |
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:/
Koen Calliauw (info-layer7) wrote : | #92 |
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!
Damien Cassou (cassou) wrote : | #93 |
@Dave There is another patch which improves performances a lot: https:/
Fajran Iman Rusadi (fajran) wrote : | #94 |
I managed to get the sound working by following instruction for MBP5,5/Lucid here https:/
Basically I added the following to /etc/modprobe.
options snd-hda-intel model=mbp55
also make sure the front speaker is not muted
Fajran Iman Rusadi (fajran) wrote : | #95 |
@mycoma: the wireless network drivers are already in the ubuntu cd.
Install bcmwl-kernel-
Panard (panard) wrote : | #96 |
@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).
Fajran Iman Rusadi (fajran) wrote : | #97 |
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.
Fajran Iman Rusadi (fajran) wrote : | #98 |
Ooppss.. sorry.. I just tried again and both microphones are working!
Koen Calliauw (info-layer7) wrote : | #99 |
New kernel packages for Ubuntu 10.04 can be found here:
http://
They are made with kernel 2.6.35-rc3. Please use at own risk.
Cheers,
K!
Koen Calliauw (info-layer7) wrote : | #100 |
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
Koen Calliauw (info-layer7) wrote : | #101 |
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.
Dave Walker (davewalker) wrote : | #102 |
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.
Michael (msbroadf) wrote : | #103 |
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.
Fajran Iman Rusadi (fajran) wrote : | #104 |
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://
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:/
- 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.
- https:/
- https:/
last but not least, please use it at your own risk!
Fajran Iman Rusadi (fajran) wrote : | #105 |
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
Dave Walker (davewalker) wrote : | #106 |
Lucid patch submitted to the kernel team:
https:/
Binaries based on the current lucid tree, with the above patch applied (including DMA support) are available at:
http://
http://
Please note that the binaries come with no QA testing or promise of warranty but purely a developmental resource.
Stefan Bader (smb) wrote : | #107 |
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 |
description: | updated |
Colin Watson (cjwatson) wrote : Please test proposed package | #108 |
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:/
tags: | added: verification-needed |
Marcin Kościelnicki (koriakin) wrote : | #109 |
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.
Dave Walker (davewalker) wrote : | #110 |
@Marcin, Can you raise that as a separate bug please?
Feel free to subscribe me, and i'll post the data there.
Thanks.
Marcin Kościelnicki (koriakin) wrote : | #111 |
The graphics bug is https:/
Dave Walker (davewalker) wrote : | #112 |
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.
Koen Calliauw (info-layer7) wrote : | #113 |
@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
Dave Walker (davewalker) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected | #114 |
-----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://
iEYEARECAAYFAkw
UPEAoJc4i+
=IH/8
-----END PGP SIGNATURE-----
spaetz (spaetz) wrote : | #115 |
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.
tags: |
added: verification-done removed: verification-needed |
Tor-björn Claesson (tclaesson) wrote : | #116 |
Works for me to.
Eric Garrido (eric-ericgar) wrote : | #117 |
+1 works for me.
Thanks everyone!
Changed in linux (Ubuntu): | |
status: | In Progress → Triaged |
status: | Triaged → Fix Released |
Moritz Heiber (mheiber) wrote : | #118 |
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/
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.
Eric Garrido (eric-ericgar) wrote : | #119 |
The current status is that:
1) There exists an experimental/
2) There exist experimental/
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)?
Dave Walker (davewalker) wrote : | #120 |
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.
ivanhoe1024 (ivanhoe1024) wrote : | #121 |
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??!
Dave Walker (davewalker) wrote : | #122 |
@ivanhoe1024, Thanks for the info; it's well under way in Ubuntu.
Koen Calliauw (info-layer7) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected | #123 |
@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:/
> 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-
> Regression: No
> Reproducible: Yes
> ProcVersionSign
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelMo
> 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,
> 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=
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageV
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.
> dmi.modalias: dmi:bvnAppleInc
ivanhoe1024 (ivanhoe1024) wrote : | #124 |
@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!
Launchpad Janitor (janitor) wrote : | #125 |
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_
- 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_
- LP: #588069
* ext4: Use bitops to read/modify EXT4_I(
- 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_
- LP: #588069
* ext4: Fix insertion point of extent in mext_insert_
- LP: #588069
* ext4: Fix the NULL reference in double_
- 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_
- 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_
- LP: #588069
* ext4: rename ext4_mb_
- LP: #588069
* ext4: allow defrag (EXT4_IOC_MOVE_EXT) in 32b...
Changed in linux (Ubuntu Lucid): | |
status: | Fix Committed → Fix Released |
ivanhoe1024 (ivanhoe1024) wrote : | #126 |
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!
John Appleton (japplet) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected | #127 |
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:/
> 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-
> Regression: No
> Reproducible: Yes
> ProcVersionSign
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelMo
> 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,
> 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=
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageV
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.
goap (schmidt) wrote : | #128 |
Today I downloaded a daily build of Ubuntu 10.10 64-bit (http://
luhesan (luhesan-live) wrote : | #129 |
I confirm that Ubuntu 10.10 daily build works on my MacBook 7, just no sound but i'm working to fix that =)
ivanhoe1024 (ivanhoe1024) wrote : | #130 |
I succeded to boot and install ubuntu 10.04 LTS daily build too. So it works, eventually!!!! Thanks everyone helped doing this...
kreyszig (pldrouin) wrote : | #131 |
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)
kreyszig (pldrouin) wrote : | #132 |
Never mind, I found it: http://
Payall (gzeunaia) wrote : | #133 |
How can i get the wifi working?
Thanks.
Jan (jan-enrico) wrote : | #134 |
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://
Did I miss something ? Do I need to specify some boot-time parameters by hand ?
Thanks,
Jan
Koen Calliauw (info-layer7) wrote : Re: [Bug 576601] Re: [MacBookPro 7, 1]mcp89 sata link reset fails, no disks detected | #135 |
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://
> 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:/
> 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-
> Regression: No
> Reproducible: Yes
> ProcVersionSign
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelMo
> 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,
> HDA:10de000c,
> 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=
> boot=casper initrd=
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageV
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.ch...
Jan (jan-enrico) wrote : | #136 |
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
Koen Calliauw (info-layer7) wrote : | #137 |
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:/
> 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-
> Regression: No
> Reproducible: Yes
> ProcVersionSign
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelMo
> 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,
> HDA:10de000c,
> 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=
> boot=casper initrd=
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageV
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.
> dmi.board.name: Mac-F222BEC8
> dmi.board.vendor: Apple Inc.
> dmi.chassis.t...
Jan (jan-enrico) wrote : | #138 |
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:/
I'll give it a try. If it fails I'll try dual-boot with MacOSX.
Best Regards,
Jan
Andrea Campolonghi (acampolonghi) wrote : | #139 |
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:/
>
> 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:/
> 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-
> Regression: No
> Reproducible: Yes
> ProcVersionSign
> Uname: Linux 2.6.32-21-generic x86_64
> NonfreeKernelMo
> 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,
> HDA:10de000c,
> 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=
> boot=casper initrd=
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> RelatedPackageV
> RfKill:
>
> SourcePackage: linux
> dmi.bios.date: 03/25/10
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP71.88Z.
> dmi.board.name: Ma...
Changed in linux (Ubuntu Lucid): | |
status: | Fix Released → Fix Committed |
Steve Langasek (vorlon) wrote : | #140 |
Please do not change bug status without explanation.
Changed in linux (Ubuntu Lucid): | |
status: | Fix Committed → Fix Released |
Jan (jan-enrico) wrote : | #141 |
Hello,
I managed to install single boot Ubuntu on Mac Mini 4.1 according to this how-to https:/
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
Steve Stalcup (vorian) wrote : | #142 |
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 |
Benoit Gschwind (gschwind) wrote : | #143 |
@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 |
Changed in linux (Ubuntu Lucid): | |
status: | Confirmed → Fix Committed |
Rolf Leggewie (r0lf) wrote : | #144 |
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 |
Dave Walker (davewalker) wrote : | #145 |
@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 |
Reported upstream at https:/ /bugzilla. kernel. org/show_ bug.cgi? id=15923