From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: AMI Aptio EFI booting problems on ASUS G73SW-A1
Date: Sun, 06 Feb 2011 15:34:39 +0300 [thread overview]
Message-ID: <4D4E955F.8090004@gmail.com> (raw)
In-Reply-To: <AANLkTinGZAy-fucAUeoVA++SXFqDv5zBg3nwC4XeCRbR@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4561 bytes --]
On 02/06/2011 05:57 AM, Nate Weibley wrote:
> On Fri, Feb 4, 2011 at 12:01 PM, <grub-devel-request@gnu.org
> <mailto:grub-devel-request@gnu.org>> wrote:
>
> Date: Fri, 04 Feb 2011 19:19:34 +0300
> From: Vladimir '?-coder/phcoder' Serbinenko <phcoder@gmail.com
> <mailto:phcoder@gmail.com>>
> Subject: Re: AMI Aptio EFI booting problems on ASUS G73SW-A1
> To: grub-devel@gnu.org <mailto:grub-devel@gnu.org>
> Message-ID: <4D4C2716.7080201@gmail.com
> <mailto:4D4C2716.7080201@gmail.com>>
> Content-Type: text/plain; charset="utf-8"
>
> On 02/04/2011 04:54 PM, Nate Weibley wrote:
> > Hey GRUB devs,
> >
> > I've been having some trouble getting GRUB2 to load Arch x86_64
> on my
> > ASUS G73SW-A1. Specifically, if I do not specify noefi on the kernel
> > command line in my grub.cfg everything stalls at initrd.
> I don't think that it gets so far as initrd and actually panics early.
> > I'm building GRUB2 from the bzr repo, so to my knowledge it
> should be
> > up-to-date.
> >
> "noefi" isn't handled at all by GRUB itself. It's just a parameter
> that
> it transfers to linux. So if it makes a difference. It's either:
> a) (most likely) Linux doesn't handle your EFI either because of
> EFI or
> Linux bugs
> b) GRUB passes incorrect EFI pointers. Considering that this operation
> is trivial, I think this is unlikely.
> GRUB can't do anything for (a). Well it could but not anything in
> a sane
> way. I suggest trying different Linuxes (kernels) E.g. Ubuntu, Debian,
> Red Hat, git.
>
> > I substituted noefi for add_efi_memmap and added set debug=all
> before
> > initrd is used.
> >
> add_efi_memmap should do any difference at all. It just makes
> Linux redo
> some of GRUB's job.
> > The system stalled again, but I did get /some /debugging output. A
> > link to the output is below; apologies for having to take a picture
> > with my cell phone as the laptop does not have a usable serial port
> > for capture.
> > http://imgur.com/40lLO
> > I should point out that adding set debug=all appears to stall the
> > system at the same point even if noefi is still set for the
> kernel...
> > so perhaps this stall is not indicative of the initrd failure. I
> read
> > through the thread suggesting that there was a bug present with
> system
> > over 8GB, but it was my impression that the bug was patched.
> Are you sure? It may be indicative of a failure when printing debug
> output. Previously there was such bug when GRUB tried to use already
> finalised EFI services to print debug output but AFAICT it's
> already fixed.
> > If I can provide any additional info or take any additional
> debugging
> > steps, please let me know.
> >
> > --
> > --Nate Weibley
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>
> > http://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
> Vladimir,
> Per your suggestion I tried other linux distros with various kernels.
> So far none of the EFI enabled distros are working. They do work if
> booted via BIOS though, of course. Windows 7 64bit /does / boot
> appropriately via EFI, so it's hard to say where the fault is. If
> Windows is booting though, it seems more likely something is going
> wrong in the Linux kernel EFI handling, or perhaps as you say GRUB is
> passing incorrect pointers. Either way, they all exhibit the exact
> same behavior... the kernel is loaded, and at the point init should be
> called, the system stalls with no debug or error message.
On EFI Linux has no early printk other than to a serial. So you receive
no messages unless you're connected to serial. It makes diagnosis much
more difficult.
>
>
> I will continue testing as kernel revisions are released, but I'm not
> sure how else I can bang away at trying to get EFI to boot without any
> sort of error message or debugging info.
>
> --
> --Nate Weibley
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2011-02-06 12:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 2:57 AMI Aptio EFI booting problems on ASUS G73SW-A1 Nate Weibley
2011-02-06 4:56 ` Bruce Dubbs
2011-02-06 11:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-02-06 12:34 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2011-02-06 17:07 ` Nate Weibley
-- strict thread matches above, loose matches on Subject: below --
2011-02-04 13:54 Nate Weibley
2011-02-04 16:19 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-02-03 20:10 Nate Weibley
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=4D4E955F.8090004@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.