From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LSDiG-00089U-K7 for mharc-grub-devel@gnu.org; Wed, 28 Jan 2009 11:56:28 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSDiC-00088U-RR for grub-devel@gnu.org; Wed, 28 Jan 2009 11:56:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSDiB-00087u-20 for grub-devel@gnu.org; Wed, 28 Jan 2009 11:56:23 -0500 Received: from [199.232.76.173] (port=37248 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSDi9-00087k-NC for grub-devel@gnu.org; Wed, 28 Jan 2009 11:56:22 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:35945) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSDi8-0001HL-S1 for grub-devel@gnu.org; Wed, 28 Jan 2009 11:56:21 -0500 Received: by ewy13 with SMTP id 13so3280335ewy.18 for ; Wed, 28 Jan 2009 08:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=n6gI+WMd8Td2GLkuxcGxkFgYQZBcNoMIeDLSvt/ErdU=; b=PAew66IW+By5Rj+y7u2R4OBO5wpsR5Dx1v7qjzRq07VKi/XXvhUCXzRmTixdaiRZFJ nfzO/NSdiqny1YuW7VXEKQ7E028Td+yC+E/CIsnbRMDrBdD568vl+jL6R0sdORCgB49W E4Acv/NNOwh+nSv4IF1TKQ1nMtZEWNrAqMLzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=RbVCvuZCO53tJwdsf0yy5jx/z9HgYmZ8PhIINddbL791BwL2Bs4GfUnEpD70V+3OLn P3DsEhYnYjYOjBbzkKExF0iV4LPbewLgwAxPWbbe674Zww0DVIq4Lry5qInri7Jy0jIV P0aibwpvsGMCAjGmCJVN125NSFdwiLWPglMnE= Received: by 10.86.4.14 with SMTP id 14mr1839462fgd.27.1233161778095; Wed, 28 Jan 2009 08:56:18 -0800 (PST) Received: from ?192.168.1.102? (213.37.137.93.dyn.user.ono.com [213.37.137.93]) by mx.google.com with ESMTPS id 12sm5097904fgg.56.2009.01.28.08.56.17 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jan 2009 08:56:17 -0800 (PST) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-aGlydCNc+VPMoF3ftqfA" Date: Wed, 28 Jan 2009 17:56:43 +0100 Message-Id: <1233161803.1302.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub-efi x86_64 on macbook air? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 16:56:25 -0000 --=-aGlydCNc+VPMoF3ftqfA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El mi=C3=A9, 28-01-2009 a las 17:42 +0100, step21 escribi=C3=B3: > Hey, while investigating possibilities on how it might be possible to > install/run something "wubi" like on macs (without having windows > installed) I ran into a couple of issues. I post here mainly in hope > that one of the folks that actually wrote the code for this or at > least have experience with it read this, cause most ppl on irc (while > being very helpful) seem to know more about the pure x86/bios/linux > side of things. >=20 > Besides some (minor?) issues like that the command line > freezes/becomes unresponsive after a (relatively short) amount of time > and the fact that booting back to OS X (which everyone says should > work 100%) does not work at all (it complains that it can't find the > specified os x *efi, but it is there, and search correctly finds the > right drive) my biggest problem right now is the following: >=20 > I got some kerne/initrd combo to boot (2.6.26 from debian lenny > netinstall iirc) but it gets to the language selection screen, first > thing you notice, the keyboard is dead. I supplied "init=3D/bin/sh" to > be able to read at least the last of the error messages. As it turns > out to me it seems that seemingly everything pci-related is > unavailable. Error messages are as follows: >=20 > [time after boot]PCI No IRQ known for interrup pin C of device > 0000:00:1a.7. Please Try using pci=3Dbiosirq > [time after boot]ehci_hcd 0000:00:1a.7 Found HC with no IRQ. Check > BIOS/PCI 0000:00:1a.7 setup! > [time after boot]ehci_hcd 0000:00:1a.7 fail, -19 > (of course time/device ids and pins (A-D) changed, but otherwise they > were the same I think) > I tried supplying pci=3Dbiosirq although I didn't think it would work, > and it didn't, or some solution for a similiar issue from the debian > wiki for the macbook (using a usb keyboard) which didn't work either. > The usb keyboard works for refit and grub, but not once booted into > linux. On some other wiki page it was suggested to supply "noapic > acpi=3Dforce" and maybe "irqpoll" which I tried in various combinations > without a change. >=20 > The machine I use for testing this is a first generation macbook air. > Now while there are numerous reports about people running linux on it > (pretty well actually) by providing it with a legacy bios environment, > I didn't find a report about one running grub-efi on it successfully > to boot linux. The most relevant posts my searches come up with are my > own posts on the ubunutu forums. >=20 > So, I'm not sure who is to blame here, or if it's maybe just my own > fault, but I decided that it would be nice to get the > opinion/solutions? of some ppl who might be more intimately familiar > with the workings of the mac boot firmware etc. and maybe know if this > actually has been tested and should work, or not. >=20 > Thanks for an help in advance. Are you sure that Debian lenny supports booting from EFI? I'm quite literally talking out of my ass here, so I don't have a clue, but it seems that the kernel you're trying to boot is trying to use BIOS functionality. GRUB does _not_ include BIOS emulation, so that will certainly not work. In order for a Linux kernel to boot from EFI, you have to enable the switch in the pre-build kernel configuration. =46rom my past knowledge (on my brother's Macbook), at least Ubuntu/x86 kernels _do_ have the EFI switch enabled, so you might give it a try and check if that's what's going wrong. On the OS X and keyboard issues, I'm afraid I cannot help you. Perhaps our elders would be wiser? PS: you could try, however, to enable debug output when compiling your GRUB so that you could see if there was anything wrong when loading the file, like a hypothetical hfs.mod error (again, talking out of my non-talking orifices) --=-aGlydCNc+VPMoF3ftqfA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAABAgAGBQJJgI5GAAoJEKSl+Fbdeo72Y5sP/3xDqmZt34g5Vje2y4sd4X8l JiBg26SqnH9nuoMAJcEuWPRmLKCeJZPj1q7jXv42M+R+YaN9plUt5OuDuGtoWHrI tp7QBvwh837qj936Uo9BsvdvmJclSLQXY0MX80stlCdWLM7DKo7luapkryVoyfln 8DRpwN787cMjLoxbu+/aIA3yNxkHNAyhN0tn0PrV9VSY3UkwM9B1pHPKC9HUE9Ek xlTaYXw88T0ampjv6bwqnDteYinyi7KGevxfcjJN2u52FQTLPDCHcRJXaoI0jKVJ pq2l1Vz75BTtnfNZOMiotkM449I9tYMHnLwjqr0IRjvOyGk+IEcMARLer7TITtVJ NKwYwfOxJe15u7BaeFTCZixqk7xxBseAhKxsQYB/whW+OqecOAP+IVMx9I3M/MKK gyyeDXUbG3H3BSyz1zi76/3DQmO2LO3jWHh26T5xr7MRGjz5rzR/SZB5/PqsU3Ng I6Cfl7cNsOZaIm7ddLBHKzNfeZqWQOLKCpyuOCQEvNoVmb68Fng8a6nDXxHKPoQY +39+fEu1Fjct7k62Q5OhS+srwnODdkeULRRXu8psZ5Z+O6Is95EfOGOVHobS+D88 KorxO1anKYApjha94p/bj67INh336Rej1SFsCDaYLgvpVrvpxenSitXd4AiAbhwu 9GrTZiQ8WQO3klwfrBe+ =09bf -----END PGP SIGNATURE----- --=-aGlydCNc+VPMoF3ftqfA--