[EMAIL PROTECTED] writes:
[...]
>> Maybe we need another flag? Could you check the link command in NetBSD's
>> kernel ?
>
> I couldn't find anything that looked like it would fix this.
>
> I believe the reason that NetBSD's own code isn't affected by this is
> because they (apparently) do not us
I figure it out, the problem is caused by nested function:
int call_hook (grub_uint64_t ino, char *filename)
it would take 3 registry to pass the parameter ! (2 for ino), so %ecx
will be overwritten agian.
NESTED_FUNC_ATTR doesn't help, because there is only 2 parameters
here, so you need to use
This implies that we'll have to support 6 different kinds of conversions
between path, drive and device, some of which might even be impossible.
Besides, perhaps it'd be cleaner to split this conversion to a separate
tool, so that grub-probe only operates on devices, and the other tool
converts
Robert Millan schrieb:
You could try with qemu.
Update:
I tried with Knoppix on a computer that has Debian sid and Windows XP
installed. The attached script did it's job well - of course except for
the part when it has to convert Linux device names to GRUB drives (see
#462218). Support for HU
On Tue, 2008-01-29 at 14:53 +0800, Bean wrote:
> On Jan 29, 2008 6:04 AM, walt <[EMAIL PROTECTED]> wrote:
> > Bean wrote:
> > > On Jan 28, 2008 10:37 PM, walt<[EMAIL PROTECTED]> wrote:
> > ...
> > >> Good news and bad news. With this patch and your most recent ufs patch
> > >> I can aout /boot/l
Bean <[EMAIL PROTECTED]> writes:
> I figure it out, the problem is caused by nested function:
>
> int call_hook (grub_uint64_t ino, char *filename)
>
> it would take 3 registry to pass the parameter ! (2 for ino), so %ecx
> will be overwritten agian.
>
> NESTED_FUNC_ATTR doesn't help, because ther
On Jan 30, 2008 8:08 PM, Marco Gerards <[EMAIL PROTECTED]> wrote:
>
> Bean <[EMAIL PROTECTED]> writes:
>
> > I figure it out, the problem is caused by nested function:
> >
> > int call_hook (grub_uint64_t ino, char *filename)
> >
> > it would take 3 registry to pass the parameter ! (2 for ino), so
On Jan 30, 2008 8:24 PM, walt <[EMAIL PROTECTED]> wrote:
> Sorry, I gave you incomplete information. I can use 'multiboot' to load
> the netbsd from any kind of fs, but it makes no difference: 'boot' then
> causes the machine to reboot instantly. The same applies to aout: I
> can aout load from
On Wed, Jan 30, 2008 at 06:23:09AM +0100, Tristan Gingold wrote:
> On Tue, Jan 29, 2008 at 07:48:29PM +0100, Robert Millan wrote:
> [...]
> > AFAIK, there's no standard specifiing FAT, only a few implementations that
> > act
> > de-facto as a "reference". Because of this, it is up to us to decide
On Tue, Jan 29, 2008 at 06:37:50PM -0600, [EMAIL PROTECTED] wrote:
> > > > > /usr/lib/libgcc.a(_enable_execute_stack.o): In function
> > > > > `__enable_execute_stack':
> > > > > _enable_execute_stack.c:(.text+0x40): undefined reference to
> > > > > `__sysctl'
> > > > > _enable_execute_stack.c:(.t
On Wed, Jan 30, 2008 at 06:57:34AM +0100, Tristan Gingold wrote:
> On Tue, Jan 29, 2008 at 03:46:50PM +0100, Marco Gerards wrote:
> > Robert suggested some changes. I also noticed in the discussion that
> > you didn't follow common practise (like an existing grub-mkimage
> > implementation). Pers
On Wed, Jan 30, 2008 at 12:10:44AM -0200, [EMAIL PROTECTED] wrote:
> Hi, comunity of GNU Linux, Robert please see my idea about my problem:
> This file is builtins.c line 3974 more less. I add more commands.
> I set variable localiza to adress 0x000ffa17 , I am not sure but I think
> the function
On Wed, Jan 30, 2008 at 06:50:02AM +0100, Tristan Gingold wrote:
> > This can be applied.
>
> I don't have commit rights, so I can't apply it.
Committed.
--
Robert Millan
I know my rights; I want my phone call!
What use is a phone call… if you are unable to speak?
(as seen on /.)
_
On Wed, Jan 30, 2008 at 05:51:43AM -0800, walt wrote:
> >
> > Ok, so we need __enable_execute_stack then, I guess. I find it strange that
> > some parts of libgcc can not be used in freestanding code. Does this happen
> > with the unpatched version of GCC too?
> >
> > Maybe we'll have add some
On Wed, Jan 30, 2008 at 06:17:18PM +0800, Bean wrote:
> I figure it out, the problem is caused by nested function:
>
> int call_hook (grub_uint64_t ino, char *filename)
>
> it would take 3 registry to pass the parameter ! (2 for ino), so %ecx
> will be overwritten agian.
>
> NESTED_FUNC_ATTR doe
On Tue, Jan 29, 2008 at 10:33:18PM -0200, [EMAIL PROTECTED] wrote:
> Robert thank you, You are great person, because worry with problems of the
> others people. The best demonstration of the spirit GNU is this.
>
> I will try put this code, in source grub,
>
> > if (*((grub_uint8_t *) 0x000ffa17)
Robert If I change to Grub2 Can you help me??
Where is the source recommended by you???
Gilberto
FeniX Linux
> On Tue, Jan 29, 2008 at 10:33:18PM -0200, [EMAIL PROTECTED]
> wrote:
>> Robert thank you, You are great person, because worry with problems of
>> the
>> others people. The best demonstr
On Wed, 2008-01-30 at 14:23 +0100, Robert Millan wrote:
> On Tue, Jan 29, 2008 at 06:37:50PM -0600, [EMAIL PROTECTED] wrote:
> > > > > > /usr/lib/libgcc.a(_enable_execute_stack.o): In function
> > > > > > `__enable_execute_stack':
> > > > > > _enable_execute_stack.c:(.text+0x40): undefined referen
Bean <[EMAIL PROTECTED]> writes:
[...]
>> > - int call_hook (grub_uint64_t ino, char *filename)
>> > + int __attribute__ ((regparm(1))) call_hook (grub_uint64_t ino, char
>> > *filename)
>> > {
>> >struct grub_fshelp_node *fdiro;
>>
>> Do you have a more generic solution to this?
On Wed, Jan 30, 2008 at 06:48:11AM +0100, Tristan Gingold wrote:
> +
> +# For grub-emu.
> +grub_emu_SOURCES = commands/boot.c commands/cat.c commands/cmp.c \
> + commands/configfile.c commands/help.c \
> + commands/terminal.c commands/ls.c commands/test.c
This new patch merge the cdboot function into lnxboot, now you can use
g2ldr as eltorito boot file !
mkdir cdroot
cat lnxboot.img core.img > cdroot/g2ldr
mkisofs -R -no-emul-boot -boot-info-table --boot-load-size 4 -b g2ldr
-o aa.iso cdroot
diff --git a/boot/i386/pc/lnxboot.S b/boot/i386/pc/lnxb
On Wed, Jan 30, 2008 at 04:07:01PM +0100, Robert Millan wrote:
>
> grub-probe is missing. Did you check if it works? Although, I think it
> should just move to common.rmk. I'll have a look at that.
It's in common.rmk now. Please, can you check that update-grub works for
ia64-efi ?
--
Robert
Quoting Robert Millan <[EMAIL PROTECTED]>:
> On Wed, Jan 30, 2008 at 06:57:34AM +0100, Tristan Gingold wrote:
> > On Tue, Jan 29, 2008 at 03:46:50PM +0100, Marco Gerards wrote:
> > > Robert suggested some changes. I also noticed in the discussion that
> > > you didn't follow common practise (like
Quoting Robert Millan <[EMAIL PROTECTED]>:
> On Wed, Jan 30, 2008 at 06:48:11AM +0100, Tristan Gingold wrote:
>
> grub-probe is missing. Did you check if it works? Although, I think it
> should just move to common.rmk. I'll have a look at that.
Ok.
> > diff -ruNp -x '*~' -x CVS -x autom4te.ca
Robert Millan wrote:
Ok, so we need __enable_execute_stack then, I guess. I find it strange that
some parts of libgcc can not be used in freestanding code. Does this happen
with the unpatched version of GCC too?
Maybe we'll have add some dummy symbols to make it happy
What happens if you
Marco Gerards <[EMAIL PROTECTED]> writes:
> 2009-01-28 Marco Gerards <[EMAIL PROTECTED]>
>
> * bus/pci.c: New file.
>
> * include/grub/pci.h: Likewise.
>
> * include/grub/i386/pc/pci.h: Likewise.
>
> * commands/lspci.c: Likewise.
>
> * conf/i386-pc.rmk (pkglib_MODUL
On Wed, Jan 30, 2008 at 05:22:00PM +0100, [EMAIL PROTECTED] wrote:
> > Is gpt mandatory?
>
> Almost.
>
> > We can use gpt without efi; I wonder if we can also use
> > efi without gpt. If you can access the raw disk, any partition map (even no
> > partition map at all!) could be used, right?
>
On Wed, Jan 30, 2008 at 08:38:23AM -0800, walt wrote:
>
> BTW, I just discovered that this was discussed in a thread beginning
> 11-30-2005 but never finished.
>
> Anyway, your suggestion helps, but not quite enough. The c code now
> compiles and links okay into *.mod files, but now __enable_exe
On Wed, Jan 30, 2008 at 06:57:38PM +0100, Marco Gerards wrote:
> Marco Gerards <[EMAIL PROTECTED]> writes:
>
> > 2009-01-28 Marco Gerards <[EMAIL PROTECTED]>
> >
> > * bus/pci.c: New file.
> >
> > * include/grub/pci.h: Likewise.
> >
> > * include/grub/i386/pc/pci.h: Likewise.
> >
> >
On Wed, 2008-01-30 at 08:38 -0800, walt wrote:
> Robert Millan wrote:
> ...
> > What happens if you define the missing symbols somewhere? Any part of
> > the GRUB kernel will do (e.g. kern/main.c). Just add them as empty
> > functions:
> >
> > void
> > __sysctl (void)
> > {
> > }
> >
> > void
>
On Wed, Jan 30, 2008 at 11:06:50AM -0800, walt wrote:
>
> > Anyway, your suggestion helps, but not quite enough. The c code now
> > compiles and links okay into *.mod files, but now __enable_execute_stack
> > shows up in several und-*.lst files...
>
> I've been hacking the various flags for elf.
On Wed, Jan 30, 2008 at 11:41:59AM +0100, Fabian Greffrath wrote:
> >
> >This implies that we'll have to support 6 different kinds of conversions
> >between path, drive and device, some of which might even be impossible.
> >
> >Besides, perhaps it'd be cleaner to split this conversion to a separate
On Wednesday 30 January 2008 18:57, Marco Gerards wrote:
> No objections? Did everyone have a (quick) look at the interfaces?
>
> If I hear nothing, I will commit this patch Friday.
You didn't check the return value from a hook. Besides that, okay for me.
Thanks,
Okuji
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes:
> On Wednesday 30 January 2008 18:57, Marco Gerards wrote:
>> No objections? Did everyone have a (quick) look at the interfaces?
>>
>> If I hear nothing, I will commit this patch Friday.
>
> You didn't check the return value from a hook. Besides th
Robert Millan <[EMAIL PROTECTED]> writes:
> On Wed, Jan 30, 2008 at 06:57:38PM +0100, Marco Gerards wrote:
>> Marco Gerards <[EMAIL PROTECTED]> writes:
>>
>> > 2009-01-28 Marco Gerards <[EMAIL PROTECTED]>
>> >
>> >* bus/pci.c: New file.
>> >
>> >* include/grub/pci.h: Likewise.
>> >
>> >
i download the grub1.95.tar.gz
and tar it .
./configure
make install
is it the right way to install grub ?
Can i download RPM/or any other packsge and from were ?
thanks
tsah
On 1/26/08, Robert Millan <[EMAIL PROTECTED]> wrote:
> On Sat, Jan 26, 2008 at 04:58:41PM +0200, tsah marco wrote:
> >
On Tue, 2008-01-29 at 12:25 +0100, Marco Gerards wrote:
> Robert Millan <[EMAIL PROTECTED]> writes:
>
> [...]
>
> > I personaly think we should just ditch CVS, because CVS has these annoying
> > limitations, but not try to do something fancy. SVN is the logical
> > evolution of CVS, so why not
On Tue, 2008-01-29 at 09:38 +0100, Marco Gerards wrote:
> Robert Millan <[EMAIL PROTECTED]> writes:
>
> > On Mon, Jan 28, 2008 at 08:44:51AM -0500, Pavel Roskin wrote:
> >> > What do you suggest?
> >>
> >> I would prefer to have GRUB_MOD_GAP is all headers. Once it's not
> >> needed, it could b
On Wed, Jan 30, 2008 at 11:06:50AM -0800, walt wrote:
>
> You can tell I'm desperate because I'm putting -lgcc everywhere I can
> think of. Here is the symbol in libgcc.a:
I (like I found in pkgsrc-wip/grub2) am using a fake __enable_execute_stack(),
-lgcc isn't necessary.
Jonathan Koll
On Wed, Jan 30, 2008 at 04:42:25PM -0500, Pavel Roskin wrote:
>
> I assume that if the result of grub-mkimage is a valid ELF file, like
> kernel.elf, "CLAIM failed" would not happen.
But you don't have to assume. Did you try booting kernel.elf directly?
--
Robert Millan
I know my rights; I w
Robert Millan <[EMAIL PROTECTED]> writes:
> On Wed, Jan 30, 2008 at 09:08:34PM +0100, Marco Gerards wrote:
>> Robert Millan <[EMAIL PROTECTED]> writes:
>>
>> > On Wed, Jan 30, 2008 at 06:57:38PM +0100, Marco Gerards wrote:
>> >> Marco Gerards <[EMAIL PROTECTED]> writes:
>> >>
>> >> > 2009-01-28
On Wed, Jan 30, 2008 at 11:17:49PM +0100, Marco Gerards wrote:
> >> IO addresses are Intel only, AFAIK. Almost all architectures have
> >> mmapped IO. It's really arch specific.
> >
> > Are you sure that makes grub_inl / grub_outl arch-specific ? They can't be
> > implemented as wrappers for dir
On Wed, Jan 30, 2008 at 05:15:03PM -0500, Pavel Roskin wrote:
>
> On Wed, 2008-01-30 at 23:03 +0100, Robert Millan wrote:
> > On Wed, Jan 30, 2008 at 04:42:25PM -0500, Pavel Roskin wrote:
> > >
> > > I assume that if the result of grub-mkimage is a valid ELF file, like
> > > kernel.elf, "CLAIM fa
On Wed, 2008-01-30 at 23:03 +0100, Robert Millan wrote:
> On Wed, Jan 30, 2008 at 04:42:25PM -0500, Pavel Roskin wrote:
> >
> > I assume that if the result of grub-mkimage is a valid ELF file, like
> > kernel.elf, "CLAIM failed" would not happen.
>
> But you don't have to assume. Did you try bo
On Wed, Jan 30, 2008 at 11:13:50PM +0100, Franklin PIAT wrote:
> Hello,
>
> I have some questions for the writing the documentation[1].
>
> ** How to use "If [ $x=foo ] Then Else fi" statement ?
>
> I've successfully used :
> if [ A=B ] ; then echo "foo" ; else echo "bar" ; fi"
>
> But I can
On Wed, Jan 30, 2008 at 11:10:41PM +0200, tsah marco wrote:
> i download the grub1.95.tar.gz
> and tar it .
> ./configure
> make install
>
> is it the right way to install grub ?
CVS is preferred. 1.95 is very old now.
--
Robert Millan
I know my rights; I want my phone call!
What use is a
On Wed, Jan 30, 2008 at 09:08:34PM +0100, Marco Gerards wrote:
> Robert Millan <[EMAIL PROTECTED]> writes:
>
> > On Wed, Jan 30, 2008 at 06:57:38PM +0100, Marco Gerards wrote:
> >> Marco Gerards <[EMAIL PROTECTED]> writes:
> >>
> >> > 2009-01-28 Marco Gerards <[EMAIL PROTECTED]>
> >> >
> >> >
Hello,
I have some questions for the writing the documentation[1].
** How to use "If [ $x=foo ] Then Else fi" statement ?
I've successfully used :
if [ A=B ] ; then echo "foo" ; else echo "bar" ; fi"
But I cannot use variables, with either :
if [ $i=B ] ; then echo "foo" ; else echo "bar" ;
On Wed, 2008-01-30 at 23:13 +0100, Franklin PIAT wrote:
> Hello,
>
> I have some questions for the writing the documentation[1].
>
> ** How to use "If [ $x=foo ] Then Else fi" statement ?
>
> I've successfully used :
> if [ A=B ] ; then echo "foo" ; else echo "bar" ; fi"
>
> But I cannot us
On Wed, 2008-01-30 at 23:26 +0100, Robert Millan wrote:
> > I only said "I assume" because there is a subtle difference between a
> > "valid ELF file" and "indistinguishable for kernel.elf". It should be
> > valid and acceptable to the OpenFirmware, and the later is a black box
> > to me.
>
> Uhm
The following patches fix the powerpc build for the latest Debian
package. Sorry for not diffing this against HEAD.
However, the resulting binaries don't work as expected:
18111:[EMAIL PROTECTED]:/boot/grub$ sudo grub-install "(hd0)"
grub-probe: error: /dev/stdin:1: Bad device name
grub-probe: er
On Wed, 2008-01-30 at 23:29 +0100, Robert Millan wrote:
> On Wed, Jan 30, 2008 at 11:13:50PM +0100, Franklin PIAT wrote:
> > Hello,
> >
> > I have some questions for the writing the documentation[1].
> >
> > ** How to use "If [ $x=foo ] Then Else fi" statement ?
> >
> > I've successfully used
Robert I tried read the value of the memory in grub, but didn't work very
well.
How I can get the value of the adress 0x000ffa17 and put its on pointer.
I am sorry but I need help.
How i make this?
I tried this code, but I have some errors, I define the variable but
didn't resolve, the people of
53 matches
Mail list logo