Regression with grub-probefs
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 <[email protected]>
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.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 1 line · Robert Millan
Looks like grub-probefs is broken in current CVS:
Thanks. I will take a look tomorrow.
Okuji
Quoted 4 lines · Yoshinori K. Okuji
Quoted 1 line · Robert Millan
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.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 3 lines · Robert Millan
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
Quoted 6 lines · Yoshinori K. Okuji
Quoted 3 lines · Robert Millan
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!
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.