From: "Justin Mattock" <justinmattock@gmail.com>
To: "Jack Howarth" <howarth@bromo.msbb.uc.edu>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.26-rc9-git9 doesn't boot on Macintel
Date: Wed, 16 Jul 2008 05:30:55 +0000 [thread overview]
Message-ID: <dd18b0c30807152230u39ef9c18v78b48d1c7b9ddd17@mail.gmail.com> (raw)
In-Reply-To: <20080716035830.GA27935@bromo.msbb.uc.edu>
On Wed, Jul 16, 2008 at 3:58 AM, Jack Howarth <howarth@bromo.msbb.uc.edu> wrote:
> Justin,
> At the moment I am not really certain what the problem is.
> I have heard that Macintel machines (because of EFI) can't boot
> without resorting to MMCONFIG. If that is true, the problem I
> am seeing would appear to start with the fact that the boot
> proceeds with "Not using MMCONFIG". I plan on trying to add
> some printk statements in arch/x86/pci/mmconfig-shared.c to
> puzzle out why this is failing. The code in question is...
>
>
> if (!early)
> printk(KERN_ERR "PCI: BIOS Bug: MCFG area at %Lx is not"
> " reserved in ACPI motherboard resources\n",
> cfg->address);
> /* Don't try to do this check unless configuration
> type 1 is available. how about type 2 ?*/
> if (raw_pci_ops && e820_all_mapped(cfg->address,
> cfg->address + size - 1,
> E820_RESERVED)) {
> printk(KERN_NOTICE
> "PCI: MCFG area at %Lx reserved in E820\n",
> cfg->address);
> valid = 1;
> }
>
> if (!valid)
> goto reject;
> }
>
> return;
>
> reject:
> printk(KERN_ERR "PCI: Not using MMCONFIG.\n");
> pci_mmcfg_arch_free();
> kfree(pci_mmcfg_config);
> pci_mmcfg_config = NULL;
> pci_mmcfg_config_num = 0;
> }
>
> I've verified that test for raw_pci_ops is passing but it appears
> that the e820_all_mapped() test is failing (at least on
> my machine).
> Jack
>
> On Wed, Jul 16, 2008 at 03:05:23AM +0000, Justin Mattock wrote:
>> On Wed, Jul 16, 2008 at 1:24 AM, Jack Howarth <howarth@bromo.msbb.uc.edu> wrote:
>> > Justin,
>> > You also download the x86_64 iso instead from...
>> >
>> > http://mirrors.kernel.org/fedora/development/x86_64/os/images/
>> >
>> > Both should give you the same kernel boot freeze that I am
>> > seeing (assuming that the kernel boots up with the message
>> > "Not using MMCONFIG". At this point I am just trying to find
>> > out if anyone else can reproduce this issue on a MacBook Pro
>> > (second generation). Otherwise I am going to be out of luck
>> > when distros switch to 2.6.26.
>> > Jack
>> > ps I am currently guessing that thet actual freeze is
>> > occuring in the code that is executed right after...
>> >
>> > pci 0000:00:1f.0: quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
>> > pci 0000:00:1f.0: quirk: region 0500-053f claimed by ICH6 GPIO
>> >
>> > but before...
>> >
>> > PCI: Transparent bridge - 0000:00:1e.0
>> >
>> > ...which never appears here under 2.6.26.
>> >
>> >
>> >
>> >
>> > On Wed, Jul 16, 2008 at 12:26:05AM +0000, Justin Mattock wrote:
>> >> >
>> >>
>> >> Ah I see, so this is from a fresh .iso image
>> >> I can give you're suggestion a try(need to locate a blank cd)
>> >> keep in mind the .iso might not have x86 support i.g.
>> >> I use nubuntu(why: it's small) one of the problems I was facing was
>> >> the alpha release, which did not support x86(when using that .iso image
>> >> it would start booting and then spit out a bunch of messages vertically,
>> >> but a few month's later they released there .iso with support thus
>> >> giving me the opportunity to use it.
>> >> This might be what you are dealing with.
>> >> regards;
>> >>
>> >> --
>> >> Justin P. Mattock
>> >
>>
>> I have not yet tried the .iso's yet.
>> (busy with other things at the moment),
>> from what you're telling me it seems they must have left out
>> something in the .config. "Shit" this means you can't even load the .iso itself
>> for the initial install. Maybe you should let them know about this(I
>> don't use fedora that much)
>> If need be, try a stable version of the O.S(fedora). so you can load
>> 2.6.26, and then if time permits
>> you, update to that of the development version.(that is until you get
>> an answer from the
>> maintainers of this .iso with the issue).
>> regards;
>>
>> --
>> Justin P. Mattock
>
Hello;
One of my weaknesses right now is pulling code out of my ass
(maybe in a few years from now), but from what you are showing me
This is what is causing the NULL(if that's right to say)
if (!valid)
goto reject;
So the question is, is how to have a valid
"something" to prevent going to NULL
maybe a boot param i.g. acpi_osi=Darwin,
or another option to make a "good" !valid
So you don't: goto reject;
Or take the whole reject mechanism out
just so you can boot up, and then asses the situation from there.
regards;
--
Justin P. Mattock
next prev parent reply other threads:[~2008-07-16 5:31 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 19:52 Justin Mattock
[not found] ` <20080715231118.GA26807@bromo.msbb.uc.edu>
2008-07-16 0:26 ` Justin Mattock
[not found] ` <20080716012427.GA27398@bromo.msbb.uc.edu>
2008-07-16 3:05 ` Justin Mattock
[not found] ` <20080716035830.GA27935@bromo.msbb.uc.edu>
2008-07-16 5:30 ` Justin Mattock [this message]
2008-07-16 7:44 ` Yinghai Lu
2008-07-16 7:50 ` Justin Mattock
2008-07-16 8:36 ` Yinghai Lu
2008-07-16 14:08 ` Jack Howarth
2008-07-16 15:12 ` Justin Mattock
2008-07-16 17:30 ` Yinghai Lu
2008-07-16 17:29 ` Yinghai Lu
2008-07-16 22:35 ` Yinghai Lu
[not found] ` <20080717004004.GA17792@bromo.msbb.uc.edu>
2008-07-17 0:49 ` Yinghai Lu
2008-07-17 1:21 ` Jack Howarth
2008-07-17 2:29 ` Yinghai Lu
2008-07-17 2:40 ` Jack Howarth
2008-07-17 1:25 ` Justin Mattock
2008-07-17 2:35 ` Jack Howarth
2008-07-17 2:59 ` Yinghai Lu
2008-07-17 3:15 ` Jack Howarth
2008-07-17 4:04 ` Yinghai Lu
2008-07-17 3:44 ` Jack Howarth
2008-07-17 4:13 ` Yinghai Lu
2008-07-17 6:18 ` Jack Howarth
2008-07-17 6:48 ` Yinghai Lu
2008-07-17 11:56 ` Jack Howarth
2008-07-17 12:47 ` Jack Howarth
2008-07-17 14:13 ` Jack Howarth
2008-07-17 16:26 ` Jack Howarth
2008-07-17 16:42 ` Yinghai Lu
2008-07-17 18:39 ` Justin Mattock
[not found] ` <20080717195039.GA28694@bromo.msbb.uc.edu>
2008-07-17 22:09 ` Justin Mattock
2008-07-18 1:15 ` Jack Howarth
2008-07-18 1:25 ` Yinghai Lu
2008-07-18 1:46 ` Jack Howarth
2008-07-18 3:06 ` Jack Howarth
2008-07-18 6:09 ` Jack Howarth
2008-07-18 6:22 ` Yinghai Lu
2008-07-18 12:02 ` Jack Howarth
2008-07-18 12:09 ` Jack Howarth
2008-07-18 16:19 ` Yinghai Lu
2008-07-18 16:29 ` Jack Howarth
2008-07-18 16:36 ` Yinghai Lu
2008-07-18 18:20 ` Justin Mattock
2008-07-18 18:45 ` Yinghai Lu
2008-07-18 18:56 ` Justin Mattock
2008-07-18 16:07 ` Jack Howarth
2008-07-18 16:17 ` Yinghai Lu
2008-07-16 22:51 ` Yinghai Lu
-- strict thread matches above, loose matches on Subject: below --
2008-07-15 14:17 Jack Howarth
2008-07-15 2:00 Jack Howarth
2008-07-15 2:04 ` Justin Mattock
2008-07-14 13:51 Jack Howarth
2008-07-14 16:26 ` Justin Mattock
2008-07-14 17:02 ` Stefan Richter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd18b0c30807152230u39ef9c18v78b48d1c7b9ddd17@mail.gmail.com \
--to=justinmattock@gmail.com \
--cc=howarth@bromo.msbb.uc.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®