Bug 11575
Summary: | MacBook Pro stuck on boot | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Alexey Kuznetsov (axet) |
Component: | i386 | Assignee: | platform_i386 |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan, greg, jbarnes, shaohua.li, yhlu.kernel |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.26.5 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
boot screen
config |
Description
Alexey Kuznetsov
2008-09-16 04:50:18 UTC
Created attachment 17803 [details]
boot screen
Created attachment 17804 [details]
config
tested 2.6.26.3, 2.6.26 same issue 2.6.27-rc6+ work fine for me. 2.6.25.x also work fine. Yinghai, there was some other bug report like this on a MAC mini, IIRC. What was the resolution in that case ? could be aspm problem. need to disable aspm in .config > 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
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> > 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
yep disabling aspm solve the problem. ...and suggested patch dosn't: https://bugzilla.redhat.com/show_bug.cgi?id=462210#c3 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5fde244d39b88625ac578d83e6625138714de031 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=149e16372a2066c5474d8a8db9b252afd57eb427 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d6d385743463f38a0da899cd4607e526ad9a049f those patches need to be backport to 2.6.26.x They all apply cleanly to 2.6.26.5, so no backport needed. good, greg, can you pick them for 2.6.26.6? 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. Did someone send these to -stable? Gack, we do not even have a confirmation that they fix Alexeys problem. Alexey ? He said that in comment #10 I tried fedora build kernel with those paches, everyting work fine for me. look like patches from comment #11 fix the problem. Ok, that was not obvious from #11 Will push those to stable folks tomorrow. Thanks, tglx |