diff --git a/ChangeLog b/ChangeLog index ea220fa0e..d8ceb9999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-21 Robert Millan + + * disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Add debug message + on grub_biosdisk_rw_standard() error. + 2008-01-21 Robert Millan * include/grub/ieee1275/ieee1275.h: Add 2008 to Copyright line for diff --git a/disk/i386/pc/biosdisk.c b/disk/i386/pc/biosdisk.c index 618ae75e5..eb22e6d05 100644 --- a/disk/i386/pc/biosdisk.c +++ b/disk/i386/pc/biosdisk.c @@ -1,6 +1,6 @@ /* * GRUB -- GRand Unified Bootloader - * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc. + * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -74,7 +74,10 @@ grub_biosdisk_iterate (int (*hook) (const char *name)) { if (grub_biosdisk_rw_standard (0x02, drive, 0, 0, 1, 1, GRUB_MEMORY_MACHINE_SCRATCH_SEG) != 0) - break; + { + grub_dprintf ("disk", "Read error when probing drive 0x%2x\n", drive); + break; + } if (grub_biosdisk_call_hook (hook, drive)) return 1;