Re: Bug#478238: grub-probe: fails to find drive for /dev/sda10

2008-05-12 Thread Robert Millan
On Mon, May 12, 2008 at 07:02:46PM +0300, Török Edwin wrote: > Robert Millan wrote: > > On Sun, May 11, 2008 at 02:35:41PM +0300, Török Edwin wrote: > > > >> /dev/sda9 is not a valid OpenBSD partition, and in partmap/pc.c:176 the > >> iteration fails with an error: invalid disk label magic 0x%x.

Higher resolution timers

2008-05-12 Thread Colin D Bennett
To implement a nice GUI with some animations, it will be important to have a timer with a better resolution than 1/18 second (which appears to be the current GRUB timer resolution on the PC). What would be the best way to do this? Possibilities that I am aware of are: * RDTSC instruction (must c

Re: Bug#478238: grub-probe: fails to find drive for /dev/sda10

2008-05-12 Thread Török Edwin
Robert Millan wrote: > On Sun, May 11, 2008 at 02:35:41PM +0300, Török Edwin wrote: > >> /dev/sda9 is not a valid OpenBSD partition, and in partmap/pc.c:176 the >> iteration fails with an error: invalid disk label magic 0x%x. >> If I replace that return with a continue, it works. >> >> The probl

Re: Bug#478238: grub-probe: fails to find drive for /dev/sda10

2008-05-12 Thread Robert Millan
On Sun, May 11, 2008 at 02:35:41PM +0300, Török Edwin wrote: > > /dev/sda9 is not a valid OpenBSD partition, and in partmap/pc.c:176 the > iteration fails with an error: invalid disk label magic 0x%x. > If I replace that return with a continue, it works. > > The problem is that grub2 stops lookin

Re: Please support installation on Xen virtual block devices

2008-05-12 Thread Robert Millan
On Sat, May 10, 2008 at 01:03:08PM +0100, Ian Campbell wrote: > On Fri, 2008-05-09 at 14:53 +0200, Robert Millan wrote: > > If you want to test the full functionality, try using grub-probe to convert > > /dev/xvda1 to a grub drive (this checks GRUB knows how to count partitions > > in Xen devices).

Re: [PATCH RFC] Simplifying linux_find_partition()

2008-05-12 Thread Robert Millan
On Sun, May 11, 2008 at 08:34:33PM -0400, Pavel Roskin wrote: > Hello! > > linux_find_partition() is used to make it possible to access partitions > using the native OS devices for the partitions, rather than the device > for the whole drive. > > As new devices are supported by GRUB, linux_find_p

Re: [PATCH] biosdisk, getroot for Cygwin

2008-05-12 Thread Robert Millan
On Fri, May 09, 2008 at 07:32:42PM +0200, Christian Franke wrote: > >>+ char devpath[sizeof ("/dev/sda15") + 13]; > >> > > > >Where does this 13 come from? Would be nice to make it explicit (e.g. > >sizeof(something) or so). > > 13 "paranoia" bytes added to the required size :-) A comment s

Re: grub-probe gets a segfault

2008-05-12 Thread Isaac M. Marcos
On Thursday 08 May 2008 17:45:27 Pavel Roskin wrote: > On Thu, 2008-05-08 at 11:53 -0430, Isaac M. Marcos wrote: > > > Try the CVS version. Try debugging the codedump. > > Done, same segfault. > As for debugging, I see you have found something already. > > > Good, next step? > > Try the version

Re: grub-probe gets a segfault

2008-05-12 Thread Isaac M. Marcos
El Friday 09 May 2008 16:26:28 Pavel Roskin escribió: > On Fri, 2008-05-09 at 12:13 -0430, Isaac M. Marcos wrote: > > > Neither could I :-( > > > > It does not happen in other two AMD64 machines here!! > > Only on this one. > > That confirms my suspicion that the problem is not related to any x86_6