* [Bug Report] loadenv module
@ 2009-08-28 12:22 Yves Blusseau
2009-08-29 14:03 ` Yves Blusseau
0 siblings, 1 reply; 4+ messages in thread
From: Yves Blusseau @ 2009-08-28 12:22 UTC (permalink / raw)
To: The development of GRUB 2
Hi,
i have compiled the current version of grub2 under OSX. I have an
error when using the loadenv module:
I don't have any grub.cfg file. When i was at the prompt i do a
save_env timeout and grub return me an "out of partition" error.
I have created a newly grubenv with grub-editenv command before the
test.
I have check under qemu and OSX: same error. I was using a GPT drive
and the grubenv file is in a hfsplus partition.
If i set a value with grub-editenv and try to load it from grub with
the load_env command, all is working well and the variable is import
in the environement.
Best regards,
Yves Blusseau
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bug Report] loadenv module
2009-08-28 12:22 [Bug Report] loadenv module Yves Blusseau
@ 2009-08-29 14:03 ` Yves Blusseau
2009-08-30 14:56 ` Bean
0 siblings, 1 reply; 4+ messages in thread
From: Yves Blusseau @ 2009-08-29 14:03 UTC (permalink / raw)
To: The development of GRUB 2
> Hi,
>
> i have compiled the current version of grub2 under OSX. I have an
> error when using the loadenv module:
> I don't have any grub.cfg file. When i was at the prompt i do a
> save_env timeout and grub return me an "out of partition" error.
>
> I have created a newly grubenv with grub-editenv command before the
> test.
>
> I have check under qemu and OSX: same error. I was using a GPT drive
> and the grubenv file is in a hfsplus partition.
>
> If i set a value with grub-editenv and try to load it from grub with
> the load_env command, all is working well and the variable is import
> in the environement.
Another usefull information, the problem came from loadenv module
compiled on OSX because if i take only the loadenv.mod compiled on
linux it's work.
Regards,
Yves Blusseau
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bug Report] loadenv module
2009-08-29 14:03 ` Yves Blusseau
@ 2009-08-30 14:56 ` Bean
2009-08-31 17:07 ` Yves Blusseau
0 siblings, 1 reply; 4+ messages in thread
From: Bean @ 2009-08-30 14:56 UTC (permalink / raw)
To: The development of GRUB 2
On Sat, Aug 29, 2009 at 10:03 PM, Yves Blusseau<blusseau@zetam.org> wrote:
>
>> Hi,
>>
>> i have compiled the current version of grub2 under OSX. I have an error
>> when using the loadenv module:
>> I don't have any grub.cfg file. When i was at the prompt i do a save_env
>> timeout and grub return me an "out of partition" error.
>>
>> I have created a newly grubenv with grub-editenv command before the test.
>>
>> I have check under qemu and OSX: same error. I was using a GPT drive and
>> the grubenv file is in a hfsplus partition.
>>
>> If i set a value with grub-editenv and try to load it from grub with the
>> load_env command, all is working well and the variable is import in the
>> environement.
>
> Another usefull information, the problem came from loadenv module compiled
> on OSX because if i take only the loadenv.mod compiled on linux it's work.
Hi,
This might be caused by some bug in objconv, you could try my github
repo that uses native converter and see if the problem is still there.
--
Bean
gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bug Report] loadenv module
2009-08-30 14:56 ` Bean
@ 2009-08-31 17:07 ` Yves Blusseau
0 siblings, 0 replies; 4+ messages in thread
From: Yves Blusseau @ 2009-08-31 17:07 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]
> On Sat, Aug 29, 2009 at 10:03 PM, Yves Blusseau<blusseau@zetam.org>
> wrote:
>>
>>> Hi,
>>>
>>> i have compiled the current version of grub2 under OSX. I have an
>>> error
>>> when using the loadenv module:
>>> I don't have any grub.cfg file. When i was at the prompt i do a
>>> save_env
>>> timeout and grub return me an "out of partition" error.
>>>
>>> I have created a newly grubenv with grub-editenv command before
>>> the test.
>>>
>>> I have check under qemu and OSX: same error. I was using a GPT
>>> drive and
>>> the grubenv file is in a hfsplus partition.
>>>
>>> If i set a value with grub-editenv and try to load it from grub
>>> with the
>>> load_env command, all is working well and the variable is import
>>> in the
>>> environement.
>>
>> Another usefull information, the problem came from loadenv module
>> compiled
>> on OSX because if i take only the loadenv.mod compiled on linux
>> it's work.
>
> This might be caused by some bug in objconv, you could try my github
> repo that uses native converter and see if the problem is still there.
Hi,
if i add TARGET_CC=gcc-4.2 at the configure arguments the problem
disappear. I check with valgrind and gdb and the prb seems to be in
the function check_blocklists in commands/loadenv.c
Regards,
Yves
PS: thanks phcoder for the tip
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2455 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-31 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28 12:22 [Bug Report] loadenv module Yves Blusseau
2009-08-29 14:03 ` Yves Blusseau
2009-08-30 14:56 ` Bean
2009-08-31 17:07 ` Yves Blusseau
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.