grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug 'out of disk' error.


From: Lennart Sorensen
Subject: Re: How to debug 'out of disk' error.
Date: Wed, 16 Mar 2011 18:00:22 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Mar 16, 2011 at 09:19:12PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko 
wrote:
> Following may help:
> === modified file 'grub-core/disk/i386/pc/biosdisk.c'
> --- grub-core/disk/i386/pc/biosdisk.c    2011-01-04 14:42:47 +0000
> +++ grub-core/disk/i386/pc/biosdisk.c    2011-03-16 20:17:57 +0000
> @@ -80,6 +80,9 @@
>    regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT;
>  
>    grub_bios_interrupt (0x13, &regs);
> +  if (!(regs.flags & GRUB_CPU_INT_FLAGS_CARRY))
> +    return 0;
> +
>    return (regs.eax >> 8) & 0xff;
>  }

I now got this:

GRUB loading.
Welcome to GRUB!

int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
int13_ext fixup due to CARRY flag
Failed int13_ext call: ah=42, drive=80, dap=   6fe00 returned eax=8000
error: hd0 out of disk.
Entering rescue mode...
grub rescue>

I am now using 1.99-rc1.  Here is the biosdisk.c with my changes.

-- 
Len Sorensen

Attachment: biosdisk.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]