Re: Regarding ENV variable

2011-01-04 Thread Colin Watson
On Mon, Jan 03, 2011 at 07:08:51PM +0530, Gnanasekar Loganathan wrote: > i'm setting environment variable by set mycmd="knetbsd netbsd.g" > > if call my own command, end up with no argument error. > grub> myboot $mycmd > myboot: usage knetbsd > > if do echo $mycmd, getting the correct string > g

Re: Regarding ENV variable

2011-01-04 Thread BVK Chaitanya
No, it is working as expected already; that is below code should execute echo command and print "foo" already. set cmd="echo foo" $cmd Gnanasekar, what is your grub version? Please try with latest bzr version. bvk.chaitanya On Tue, Jan 4, 2011 at 4:16 PM, Colin Watson wrote: > On Mon, Ja

Re: Regarding ENV variable

2011-01-04 Thread Andreas Born
I just quickly tested this behaviour with bash (and busybox). With neither of them I needed to use eval. Although eval could be a nice feature, it may be better to consider adapting to this seemingly common behaviour. Here's the output from bash: $ blub="blub1 blub2" $ touch $blub $ ls $blub blu

Re: Bug#594967: Bug #594967: [poulsbo] grub-pc Hangs After "Welcome to GRUB!"

2011-01-04 Thread Colin Watson
On Tue, Jan 04, 2011 at 12:06:54AM +, Colin Watson wrote: > On Mon, Jan 03, 2011 at 12:13:01AM +, Colin Watson wrote: > > 2011-01-02 Colin Watson > > > > * grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functions > > on devices that do not implement function 0. > > I've

Re: Regarding ENV variable

2011-01-04 Thread Colin Watson
On Tue, Jan 04, 2011 at 01:36:02PM +0100, Andreas Born wrote: > I just quickly tested this behaviour with bash (and busybox). With > neither of them I needed to use eval. Although eval could be a nice > feature, it may be better to consider adapting to this seemingly > common behaviour. Yes, as BV

Re: GRUB2 for UEFI crashes at startup when we got 8 gigabyte of memory

2011-01-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04/21/2010 09:53 AM, gbura...@gmail.com wrote: > In Febryary I was testing GRUB for UEFI and noticed that it was simply > crashing. > > See topic > http://lists.gnu.org/archive/html/grub-devel/2010-02/msg0.html > > At that time I blamed incorrect UEFI implementation on that computer (cause

Re: GRUB2 fails when booting from CD

2011-01-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12/27/2010 01:30 PM, Andreas Born wrote: > Ok, here you go. I created the same iso image I referred to earlier in > this thread with grub 1.98 and cdfailinf/cdfailwa patch applied. > > cdfailinf (broken machine): 0 0 0 > cdfailinf (working machine): 0 0 9f > Jusging from this output a smaller wo

Re: Bug#594967: Bug #594967: [poulsbo] grub-pc Hangs After "Welcome to GRUB!"

2011-01-04 Thread Steve McIntyre
On Mon, Jan 03, 2011 at 12:13:01AM +, Colin Watson wrote: > >Whoops, I forgot to right-shift the header word. Can you try 4.iso >instead, at the same location? I also made it handle PCI-to-CardBus >bridges the same way as PCI-to-PCI bridges since that's what pciutils >does. > >(In addition to

Re: Bug#594967: Bug #594967: [poulsbo] grub-pc Hangs After "Welcome to GRUB!"

2011-01-04 Thread Steve McIntyre
On Tue, Jan 04, 2011 at 12:46:54PM +, Colin Watson wrote: >On Tue, Jan 04, 2011 at 12:06:54AM +, Colin Watson wrote: >> On Mon, Jan 03, 2011 at 12:13:01AM +, Colin Watson wrote: >> > 2011-01-02 Colin Watson >> > >> >* grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functi

Small PIC Fixes

2011-01-04 Thread ehem+grub
Perhaps not the biggest deal, but I do like to get low-hanging fixes out of the way if they appear. One very significant item I found. It appears GCC is fine with %rbx being clobbered when building PIC in 64-bit mode, even though it has problems with %ebx being clobbered when building PIC in 32-bi