FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-08-2011, 01:41 PM
Ben Hutchings
 
Default Bug#617377: linux fails to functionally boot under EFI (using grub-efi-amd64)

On Tue, 2011-03-08 at 09:30 -0500, Daniel Kahn Gillmor wrote:
> Package: linux-image-2.6.37-2-amd64
>
> I got grub-efi-amd64 working on a very modern macbook. When i tried to
> use it to boot linux (using both the squeeze kernel
> (linux-image-2.6.32-5-amd64) and the unstable kernel, booting the kernel
> with no parameters resulted in a hung machine with no output on the
> video console at all.
>
> If i supplied the "noefi" kernel parameter, the machine would boot, and
> the console messages would come up, but there would be no keyboard, and
> i'd get error messages from ehci_hcd and ohci_hcd suggesting that i try
> setting pci=biosirq. If i set both noefi and pci=biosirq, i continue
> getting the same errors. (sorry i don't have the exact transcript of
> the error messages -- i no longer have the machine to copy them down).
>
> I believe modern macbook kbds are connected via USB, so the module
> failures would explain why the kbd was unresponsive.
>
> Ultimately, i gave up on booting through EFI and booted with emulated
> BIOS mode. The machine works OK under emulated bios, but it would be
> nice to avoid the extra layer of cruft if possible.

EFI on Macs is horrifically buggy. The BIOS emulation isn't great, but
since it's good enough to boot Windows it will generally work for Linux
too.

> They pointed in particular to this patch for running EFI in physical
> mode:
>
> https://patchwork.kernel.org/patch/119823/
>
> Sorry i don't have more details at the moment. I can gather more
> details about the machine from its owner if that would be useful.

That was not accepted upstream, so we won't apply it.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 08-06-2011, 05:47 PM
Jonathan Nieder
 
Default Bug#617377: linux fails to functionally boot under EFI (using grub-efi-amd64)

found 617377 linux-2.6/2.6.32-31
found 617377 linux-2.6/2.6.37-2
quit

Hi Daniel,

Daniel Kahn Gillmor wrote:

> I got grub-efi-amd64 working on a very modern macbook. When i tried to
> use it to boot linux (using both the squeeze kernel
> (linux-image-2.6.32-5-amd64) and the unstable kernel, booting the kernel
> with no parameters resulted in a hung machine with no output on the
> video console at all.

There has been several EFI developments recently, some chronicled at
<http://mjg59.dreamwidth.org/>. v3.0-rc1~22^2~4 (x86, efi: Retain
boot service code until after switching to virtual mode, 2011-05-25)
in particular seems vaguely promising.

Does version 3.0.0-1 produce the same symptoms? Does adding
"noexec=off" to the kernel command line help?

Thanks,
Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110806174754.GA4039@elie.gateway.2wire.net">http ://lists.debian.org/20110806174754.GA4039@elie.gateway.2wire.net
 

Thread Tools




All times are GMT. The time now is 02:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org