Bug 11575 - MacBook Pro stuck on boot
Summary: MacBook Pro stuck on boot
Status: CLOSED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: i386 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: platform_i386
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 04:50 UTC by Alexey Kuznetsov
Modified: 2012-05-22 14:00 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.26.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
boot screen (264.89 KB, image/jpeg)
2008-09-16 04:50 UTC, Alexey Kuznetsov
Details
config (86.32 KB, application/octet-stream)
2008-09-16 04:51 UTC, Alexey Kuznetsov
Details

Description Alexey Kuznetsov 2008-09-16 04:50:18 UTC
Hardware Environment: MacBook Pro
Software Environment: Fedora 9
Problem Description: halt on boot
Comment 1 Alexey Kuznetsov 2008-09-16 04:50:48 UTC
Created attachment 17803 [details]
boot screen
Comment 2 Alexey Kuznetsov 2008-09-16 04:51:24 UTC
Created attachment 17804 [details]
config
Comment 3 Alexey Kuznetsov 2008-09-16 07:42:43 UTC
tested 2.6.26.3, 2.6.26 same issue
Comment 4 Alexey Kuznetsov 2008-09-16 07:43:14 UTC
2.6.27-rc6+ work fine for me.

2.6.25.x also work fine.
Comment 5 Thomas Gleixner 2008-09-16 15:50:36 UTC
Yinghai, there was some other bug report like this on a MAC mini, IIRC. What was the resolution in that case ?
Comment 6 Yinghai Lu 2008-09-16 15:52:52 UTC
could be aspm problem.

need to disable aspm in .config
Comment 7 Thomas Gleixner 2008-09-16 17:20:22 UTC
> could be aspm problem.

Hmm, the boot screen says:

PCI: BIOS Bug: MCFG area at f0000000 is not reserved in ACPI motherboard resources
PCI: Not using MMCONFIG

Not using MMCONFIG is what makes the boot stuck AFAICT. I think 2.6.26
introduced that reserved area check.

We have seen that before but I can't remember the resolution.

Thanks,

	tglx
Comment 8 Yinghai Lu 2008-09-16 17:50:20 UTC
we have one patch in 2.6.27, could back port to 2.6.26...

commit a83fe32fa668c0a17b3f99a1480b006f7d649924
Author: Yinghai Lu <yhlu.kernel@gmail.com>
Date:   Fri Jul 18 13:22:36 2008 -0700

    x86, pci: detect end_bus_number according to acpi/e820 reserved, v2

    Jack Howarth reported that 2.6.26-rc9-git9 doesn't boot on MacBookPro2.

    the reason is a faulty BIOS update that reportes faulty resources.

    Nevertheless it's possible for Linux to be more resolent about this
    situation (and similar situations) and work around this bug, by
    cross-checking the mmconf range against the e820 table and ACPI resources.

    Change the mconf bus range from [0,0xff] to to [0, 0x3f]
    to match range [0xf0000000, 0xf4000000) in e820 tables.

    [ v2, yhlu.kernel@gmail.com:
      x86, pci: detect end_bus_number according to acpi/e820 reserved - fix ]

    Reported-by: Jack Howarth <howarth@bromo.msbb.uc.edu>
    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
    Cc: jbarnes@virtuousgeek.org
    Cc: Jack Howarth <howarth@bromo.msbb.uc.edu>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
Comment 9 Thomas Gleixner 2008-09-17 11:04:03 UTC
> we have one patch in 2.6.27, could back port to 2.6.26...
> 
> commit a83fe32fa668c0a17b3f99a1480b006f7d649924
> Author: Yinghai Lu <yhlu.kernel@gmail.com>
> Date:   Fri Jul 18 13:22:36 2008 -0700

Yinghai,

it would be great if you could do that. Should go into 26.stable then.

Thanks,

	tglx
Comment 10 Alexey Kuznetsov 2008-09-19 23:28:08 UTC
yep disabling aspm solve the problem.

...and suggested patch dosn't: https://bugzilla.redhat.com/show_bug.cgi?id=462210#c3
Comment 12 Yinghai Lu 2008-09-19 23:44:44 UTC
those patches need to be backport to 2.6.26.x
Comment 13 Chuck Ebbert 2008-09-19 23:57:02 UTC
They all apply cleanly to 2.6.26.5, so no backport needed.
Comment 14 Yinghai Lu 2008-09-20 00:00:55 UTC
good, 

greg, can you pick them for 2.6.26.6?
Comment 15 Greg Kroah-Hartman 2008-09-20 00:35:53 UTC
if you want something to be added to the -stable tree, email it to stable@kernel.org, don't ask me directly otherwise it will end up getting lost.
Comment 16 Chuck Ebbert 2008-09-21 17:58:38 UTC
Did someone send these to -stable?
Comment 17 Thomas Gleixner 2008-09-22 11:53:28 UTC
Gack, we do not even have a confirmation that they fix Alexeys problem.

Alexey ?
Comment 18 Yinghai Lu 2008-09-22 12:18:05 UTC
He said that in comment #10
Comment 19 Alexey Kuznetsov 2008-09-22 13:23:16 UTC
I tried fedora build kernel with those paches, everyting work fine for me.

look like patches from comment #11 fix the problem.
Comment 20 Thomas Gleixner 2008-09-22 15:01:00 UTC
Ok, that was not obvious from #11

Will push those to stable folks tomorrow.

Thanks,

         tglx

Note You need to log in before you can comment on or make changes to this bug.