All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression with grub-probefs
@ 2006-09-21 22:08 Robert Millan
  2006-09-22 11:57 ` Yoshinori K. Okuji
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Millan @ 2006-09-21 22:08 UTC (permalink / raw)
  To: grub-devel; +Cc: Yoshinori K. Okuji


Looks like grub-probefs is broken in current CVS:

$ sudo grub-probefs -v /
grub-probefs: info: changing current directory to /dev
[...]
grub-probefs: info: /dev/hda1 starts from 63
grub-probefs: info: opening the device hd0
grub-probefs: info: the size of hd0 is 156301488
grub-probefs: info: opening the device `/dev/hda'
grub-probefs: info: DOS partition 0 starts from 63
grub-probefs: info: opening hd0,0
grub-probefs: info: the size of hd0 is 156301488
grub-probefs: error: unknown device

I've performed a binary search and found that it stopped working after:

2006-06-05  Yoshinori K. Okuji  <okuji@enbug.org>

	Count partitions from 1 instead of 0 in the string representation
	of partitions. Still use 0-based internally.

I'm not sure if this applies to device.map.  Note that grub-mkdevicemap both
from before and after this commit generates the same output for me.

My (hand-editted) file is:

$ cat /boot/grub/device.map
(hd0)	/dev/hda

I also tried with (hd1) and even (hd-1), with same result.

-- 
Robert Millan

My spam trap is honeypot@aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression with grub-probefs
  2006-09-21 22:08 Regression with grub-probefs Robert Millan
@ 2006-09-22 11:57 ` Yoshinori K. Okuji
  2006-10-14 19:18   ` Robert Millan
  0 siblings, 1 reply; 5+ messages in thread
From: Yoshinori K. Okuji @ 2006-09-22 11:57 UTC (permalink / raw)
  To: The development of GRUB 2

On Friday 22 September 2006 00:08, Robert Millan wrote:
> Looks like grub-probefs is broken in current CVS:

Thanks. I will take a look tomorrow.

Okuji



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression with grub-probefs
  2006-09-22 11:57 ` Yoshinori K. Okuji
@ 2006-10-14 19:18   ` Robert Millan
  2006-10-14 21:08     ` Yoshinori K. Okuji
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Millan @ 2006-10-14 19:18 UTC (permalink / raw)
  To: The development of GRUB 2

On Fri, Sep 22, 2006 at 01:57:41PM +0200, Yoshinori K. Okuji wrote:
> On Friday 22 September 2006 00:08, Robert Millan wrote:
> > Looks like grub-probefs is broken in current CVS:
> 
> Thanks. I will take a look tomorrow.

Hi Okuji,

Any news on that?  In debian we have to maintain a patch that reverts this
commit, but this might have undesired effects.  We'd like to stay close to
upstream if possible.

-- 
Robert Millan

My spam trap is honeypot@aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression with grub-probefs
  2006-10-14 19:18   ` Robert Millan
@ 2006-10-14 21:08     ` Yoshinori K. Okuji
  2006-10-14 21:45       ` Robert Millan
  0 siblings, 1 reply; 5+ messages in thread
From: Yoshinori K. Okuji @ 2006-10-14 21:08 UTC (permalink / raw)
  To: The development of GRUB 2

On Saturday 14 October 2006 21:18, Robert Millan wrote:
> Any news on that?  In debian we have to maintain a patch that reverts this
> commit, but this might have undesired effects.  We'd like to stay close to
> upstream if possible.

Done.

Okuji



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression with grub-probefs
  2006-10-14 21:08     ` Yoshinori K. Okuji
@ 2006-10-14 21:45       ` Robert Millan
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Millan @ 2006-10-14 21:45 UTC (permalink / raw)
  To: The development of GRUB 2

On Sat, Oct 14, 2006 at 11:08:17PM +0200, Yoshinori K. Okuji wrote:
> On Saturday 14 October 2006 21:18, Robert Millan wrote:
> > Any news on that?  In debian we have to maintain a patch that reverts this
> > commit, but this might have undesired effects.  We'd like to stay close to
> > upstream if possible.
> 
> Done.

Oops.  I noticed this other regression after my commit, and was working on it
but looks like you beat me to it :)

	* util/i386/pc/grub-probe.c (probe): Print DEVICE_NAME instead of
	DRIVE_NAME when grub_util_biosdisk_get_grub_dev fails. Open
	DRIVE_NAME instead of DEVICE_NAME. Make sure that DEVICE_NAME and
	DRIVE_NAME are always freed.

Anyways, glad to see CVS is usable again on i386!

-- 
Robert Millan

My spam trap is honeypot@aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-14 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 22:08 Regression with grub-probefs Robert Millan
2006-09-22 11:57 ` Yoshinori K. Okuji
2006-10-14 19:18   ` Robert Millan
2006-10-14 21:08     ` Yoshinori K. Okuji
2006-10-14 21:45       ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.