Bug#496040: error: unknown device hd1

2008-08-30 Thread Arthur Marsh
Robert Millan wrote, on 31/08/08 02:51: On Sun, Aug 31, 2008 at 02:33:36AM +0930, Arthur Marsh wrote: In other words, no output referencing the floppy drive. Great, we're done here. I bestow upon you the persistent & dedicated GRUB bug submitter award of Aug 2008. Wear it proudly ;-) Hi

Bug#496040: error: unknown device hd1

2008-08-30 Thread Arthur Marsh
Robert Millan wrote, on 31/08/08 02:51: On Sun, Aug 31, 2008 at 02:33:36AM +0930, Arthur Marsh wrote: In other words, no output referencing the floppy drive. Great, we're done here. I bestow upon you the persistent & dedicated GRUB bug submitter award of Aug 2008. Wear it proudly ;-) My

Bug#496040: error: unknown device hd1

2008-08-30 Thread Robert Millan
On Sun, Aug 31, 2008 at 02:33:36AM +0930, Arthur Marsh wrote: > > In other words, no output referencing the floppy drive. Great, we're done here. I bestow upon you the persistent & dedicated GRUB bug submitter award of Aug 2008. Wear it proudly ;-) -- Robert Millan The DRM opt-in fallacy:

Bug#496040: error: unknown device hd1

2008-08-30 Thread Arthur Marsh
Robert Millan wrote, on 30/08/08 23:58: On Sat, Aug 30, 2008 at 08:17:37PM +0930, Arthur Marsh wrote: Yes, removing the line (fd0) /dev/fd0 from /boot/grub/device.map silences the error messages error: cannot open `(null)' while attempting to get disk size Great. I think we nailed the pr

Bug#496040: error: unknown device hd1

2008-08-30 Thread Robert Millan
On Sat, Aug 30, 2008 at 08:17:37PM +0930, Arthur Marsh wrote: > > Yes, removing the line > > (fd0) /dev/fd0 > > from /boot/grub/device.map silences the error messages > > error: cannot open `(null)' while attempting to get disk size Great. I think we nailed the problem down now. One more che

Bug#496040: error: unknown device hd1

2008-08-30 Thread Arthur Marsh
Robert Millan wrote, on 30/08/08 20:10: On Sat, Aug 30, 2008 at 09:53:07AM +0930, Arthur Marsh wrote: I've attached util/biosdisk.c in case any patches didn't get correctly applied. You did well; the error is the same which means the map structure became inconsistent before this function cal

Bug#496040: error: unknown device hd1

2008-08-30 Thread Robert Millan
On Sat, Aug 30, 2008 at 09:53:07AM +0930, Arthur Marsh wrote: > > I've attached util/biosdisk.c in case any patches didn't get correctly > applied. You did well; the error is the same which means the map structure became inconsistent before this function call. I spotted a problem with floppy dr

Bug#496040: error: unknown device hd1

2008-08-29 Thread Robert Millan
On Fri, Aug 29, 2008 at 07:37:30AM +0930, Arthur Marsh wrote: > /usr/src/grub2-1.96+20080724/util/biosdisk.c: In function > ‘find_free_slot’: > /usr/src/grub2-1.96+20080724/util/biosdisk.c:130: error: ‘i’ undeclared > (first use in this function) Sorry, my bad. Please change this. -- Robert M

Bug#496040: error: unknown device hd1

2008-08-29 Thread Felix Zielcke
Am Freitag, den 29.08.2008, 07:37 +0930 schrieb Arthur Marsh: Hello, > /usr/src/grub2-1.96+20080724/util/biosdisk.c > /usr/src/grub2-1.96+20080724/util/biosdisk.c: In function ‘find_free_slot’: > /usr/src/grub2-1.96+20080724/util/biosdisk.c:130: error: ‘i’ undeclared > (first use in this functio

Bug#496040: error: unknown device hd1

2008-08-28 Thread Arthur Marsh
Robert Millan wrote, on 2008-08-29 00:07: On Wed, Aug 27, 2008 at 08:24:11AM +0930, Arthur Marsh wrote: The following error makes sense for a floppy drive with no disk in it, Well, I'm still not sure what it's caused by. The problem I see now is that the design of grub_find_drive() prevents

Bug#496040: error: unknown device hd1

2008-08-28 Thread Robert Millan
On Wed, Aug 27, 2008 at 08:24:11AM +0930, Arthur Marsh wrote: > > The following error makes sense for a floppy drive with no disk in it, Well, I'm still not sure what it's caused by. The problem I see now is that the design of grub_find_drive() prevents us from detecting NULL pointers as errors

Bug#496040: error: unknown device hd1

2008-08-26 Thread Arthur Marsh
Robert Millan wrote, on 27/08/08 04:38: On Tue, Aug 26, 2008 at 10:48:37AM +0930, Arthur Marsh wrote: Setting up grub-pc (1.96+20080724-8) ... error: cannot open `(null)' It seems there are 3 places in which the same message could be issued. Please try the attached patch (in addition to the

Bug#496040: error: unknown device hd1

2008-08-26 Thread Robert Millan
On Tue, Aug 26, 2008 at 10:48:37AM +0930, Arthur Marsh wrote: > Setting up grub-pc (1.96+20080724-8) ... > error: cannot open `(null)' It seems there are 3 places in which the same message could be issued. Please try the attached patch (in addition to the last one). It should make them distingui

Bug#496040: error: unknown device hd1

2008-08-25 Thread Arthur Marsh
Robert Millan wrote, on 2008-08-25 23:20: On Mon, Aug 25, 2008 at 04:10:53AM +0930, Arthur Marsh wrote: Running /usr/sbin/update-grub. error: unknown device hd1 error: unknown device hd1 Updating /boot/grub/grub.cfg ... error: unknown device hd1 My bad; I just notice this error is a red her

Bug#496040: error: unknown device hd1

2008-08-25 Thread Robert Millan
On Mon, Aug 25, 2008 at 04:10:53AM +0930, Arthur Marsh wrote: > >>Running /usr/sbin/update-grub. > >>error: unknown device hd1 > >>error: unknown device hd1 > >>Updating /boot/grub/grub.cfg ... > >>error: unknown device hd1 My bad; I just notice this error is a red herring. This was fixed in ups

Bug#496040: error: unknown device hd1

2008-08-24 Thread Arthur Marsh
Output when installing new version: dpkg -i grub-common*.deb grub-pc*.deb grub-rescue-pc*.deb (Reading database ... 259191 files and directories currently installed.) Preparing to replace grub-common 1.96+20080724-8 (using grub-common_1.96+20080724-8_i386.deb) ... Unpacking replacement grub-com

Bug#496040: error: unknown device hd1

2008-08-23 Thread Robert Millan
tags 496040 patch thanks On Fri, Aug 22, 2008 at 07:24:01PM +0930, Arthur Marsh wrote: > Package: grub-pc > Version: 1.96+20080724-8 > Severity: minor > > > when installing a new kernel I get the following messages: > > Running /usr/sbin/update-grub. > error: unknown device hd1 > error: unknown

Bug#496040: error: unknown device hd1

2008-08-22 Thread Arthur Marsh
Package: grub-pc Version: 1.96+20080724-8 Severity: minor when installing a new kernel I get the following messages: Running /usr/sbin/update-grub. error: unknown device hd1 error: unknown device hd1 Updating /boot/grub/grub.cfg ... error: unknown device hd1 error: unknown device hd1 error: unkn