Re: [PATCH] Loading windows in macbook

2008-07-21 Thread Bean
Committed. -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Loading windows in macbook

2008-07-19 Thread Bean
On Sat, Jul 19, 2008 at 10:29 PM, Robert Millan [EMAIL PROTECTED] wrote: On Thu, Jul 17, 2008 at 11:23:10AM +0800, Bean wrote: Hi, If no one objects, I'd commit this soon. Did you test in the situations: - core.img is load by grub legacy - core.img is load by grub legacy with apple

Re: [PATCH] Loading windows in macbook

2008-07-16 Thread Bean
On Fri, Jul 4, 2008 at 2:59 AM, Marco Gerards [EMAIL PROTECTED] wrote: Bean [EMAIL PROTECTED] writes: On Fri, Jul 4, 2008 at 2:40 AM, Marco Gerards [EMAIL PROTECTED] wrote: Hi, Bean [EMAIL PROTECTED] writes: Oh, actually a20 of macbook can be disabled with fast a20 port 92. However, the

Re: [PATCH] Loading windows in macbook

2008-07-03 Thread Marco Gerards
Hi, Bean [EMAIL PROTECTED] writes: Oh, actually a20 of macbook can be disabled with fast a20 port 92. However, the current a20 code do the keyboard controller test before trying port 92, which cause it to hang. To fix it, I only need to adjust the order of tests. What is the order you

Re: [PATCH] Loading windows in macbook

2008-07-03 Thread Bean
On Fri, Jul 4, 2008 at 2:40 AM, Marco Gerards [EMAIL PROTECTED] wrote: Hi, Bean [EMAIL PROTECTED] writes: Oh, actually a20 of macbook can be disabled with fast a20 port 92. However, the current a20 code do the keyboard controller test before trying port 92, which cause it to hang. To fix

Re: [PATCH] Loading windows in macbook

2008-07-03 Thread Marco Gerards
Bean [EMAIL PROTECTED] writes: On Fri, Jul 4, 2008 at 2:40 AM, Marco Gerards [EMAIL PROTECTED] wrote: Hi, Bean [EMAIL PROTECTED] writes: Oh, actually a20 of macbook can be disabled with fast a20 port 92. However, the current a20 code do the keyboard controller test before trying port 92,

Re: [PATCH] Loading windows in macbook

2008-06-30 Thread Bean
Hi, Oh, actually a20 of macbook can be disabled with fast a20 port 92. However, the current a20 code do the keyboard controller test before trying port 92, which cause it to hang. To fix it, I only need to adjust the order of tests. -- Bean diff --git a/kern/i386/pc/startup.S

Re: macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-29 Thread Bean
On Sun, Jun 29, 2008 at 7:23 PM, Robert Millan [EMAIL PROTECTED] wrote: On Thu, Jun 26, 2008 at 11:34:07PM +0800, Bean wrote: On Thu, Jun 26, 2008 at 10:13 PM, Robert Millan [EMAIL PROTECTED] wrote: On Wed, Jun 25, 2008 at 04:11:18AM +0800, Bean wrote: Hi, This patch fix two problem that

Re: macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-29 Thread Robert Millan
On Sun, Jun 29, 2008 at 07:43:13PM +0800, Bean wrote: Strange.. does it work for you if you chainload it from GRUB Legacy? Hi, But grub legacy should have the keyboard issue as well, is there a patch for it ? In the debian version we have this patch:

Re: macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-29 Thread Bean
On Mon, Jun 30, 2008 at 1:36 AM, Robert Millan [EMAIL PROTECTED] wrote: On Sun, Jun 29, 2008 at 07:43:13PM +0800, Bean wrote: Strange.. does it work for you if you chainload it from GRUB Legacy? Hi, But grub legacy should have the keyboard issue as well, is there a patch for it ? In

Re: macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-29 Thread Vesa Jääskeläinen
Bean wrote: On Mon, Jun 30, 2008 at 1:36 AM, Robert Millan [EMAIL PROTECTED] wrote: On Sun, Jun 29, 2008 at 07:43:13PM +0800, Bean wrote: Strange.. does it work for you if you chainload it from GRUB Legacy? Hi, But grub legacy should have the keyboard issue as well, is there a patch for it ?

Re: macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-29 Thread Robert Millan
On Mon, Jun 30, 2008 at 01:56:44AM +0800, Bean wrote: On Mon, Jun 30, 2008 at 1:36 AM, Robert Millan [EMAIL PROTECTED] wrote: On Sun, Jun 29, 2008 at 07:43:13PM +0800, Bean wrote: Strange.. does it work for you if you chainload it from GRUB Legacy? Hi, But grub legacy should have

macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-26 Thread Robert Millan
On Wed, Jun 25, 2008 at 04:11:18AM +0800, Bean wrote: Hi, This patch fix two problem that can cause problem for grub-pc in macbook. Somewhat unrelated but, it just made me remember: I received reports that performing the keyboard workaround for macbook twice would hang GRUB. This is

Re: macbook keyboard workaround (Re: [PATCH] Loading windows in macbook)

2008-06-26 Thread Bean
On Thu, Jun 26, 2008 at 10:13 PM, Robert Millan [EMAIL PROTECTED] wrote: On Wed, Jun 25, 2008 at 04:11:18AM +0800, Bean wrote: Hi, This patch fix two problem that can cause problem for grub-pc in macbook. Somewhat unrelated but, it just made me remember: I received reports that performing

Re: [PATCH] Loading windows in macbook

2008-06-25 Thread Marco Gerards
Bean [EMAIL PROTECTED] writes: On Wed, Jun 25, 2008 at 4:38 AM, Javier Martín [EMAIL PROTECTED] wrote: El mié, 25-06-2008 a las 04:11 +0800, Bean escribió: 2. Macbook will halt if we disable a20, so I add a new option --keep-a20 to keep the a20 gate open. Does any OS fail to boot if it has

Re: [PATCH] Loading windows in macbook

2008-06-25 Thread Bean
On Wed, Jun 25, 2008 at 6:19 PM, Marco Gerards [EMAIL PROTECTED] wrote: Bean [EMAIL PROTECTED] writes: On Wed, Jun 25, 2008 at 4:38 AM, Javier Martín [EMAIL PROTECTED] wrote: El mié, 25-06-2008 a las 04:11 +0800, Bean escribió: 2. Macbook will halt if we disable a20, so I add a new option

Re: [PATCH] Loading windows in macbook

2008-06-25 Thread Yoshinori K. Okuji
On Wednesday 25 June 2008 12:53:17 Bean wrote: On Wed, Jun 25, 2008 at 6:19 PM, Marco Gerards [EMAIL PROTECTED] wrote: Bean [EMAIL PROTECTED] writes: On Wed, Jun 25, 2008 at 4:38 AM, Javier Martín [EMAIL PROTECTED] wrote: El mié, 25-06-2008 a las 04:11 +0800, Bean escribió: 2. Macbook

Re: [PATCH] Loading windows in macbook

2008-06-24 Thread Javier Martín
El mié, 25-06-2008 a las 04:11 +0800, Bean escribió: 2. Macbook will halt if we disable a20, so I add a new option --keep-a20 to keep the a20 gate open. Does any OS fail to boot if it has A20 enabled when it is jumped to? AFAIK some BIOS even had an option to enable it at POST time, so I think

Re: [PATCH] Loading windows in macbook

2008-06-24 Thread Yoshinori K. Okuji
On Tuesday 24 June 2008 22:11:18 Bean wrote: This patch fix two problem that can cause problem for grub-pc in macbook. 1, In grub-setup, we should skip the first 1024 bytes when comparing data, as it have previously made change to the buffer with install_dos_part and install_bsd_part, cause

Re: [PATCH] Loading windows in macbook

2008-06-24 Thread Bean
On Wed, Jun 25, 2008 at 4:38 AM, Javier Martín [EMAIL PROTECTED] wrote: El mié, 25-06-2008 a las 04:11 +0800, Bean escribió: 2. Macbook will halt if we disable a20, so I add a new option --keep-a20 to keep the a20 gate open. Does any OS fail to boot if it has A20 enabled when it is jumped to?