Re: [PATCH] network mega patch

2012-05-04 Thread Bean
On Fri, May 4, 2012 at 2:07 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.05.2012 05:43, Bean wrote: >> On Fri, May 4, 2012 at 3:50 AM, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >>> On 03.05.2012 21:40, Bean wrote: >>>> +

Re: [PATCH] network mega patch

2012-05-03 Thread Bean
On Fri, May 4, 2012 at 3:50 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 03.05.2012 21:40, Bean wrote: >> +  if (rsm->asm_netbuff) >> +    grub_netbuff_free (rsm->asm_netbuff); >  Could you make grub_netbuff_free skip on NULL and so simplify it here? H

Re: [PATCH] network mega patch

2012-05-03 Thread Bean
Hi, No problem. I split the patch into two parts. On Fri, May 4, 2012 at 3:28 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 03.05.2012 21:19, Bean wrote: >> Hi, >> >> This patch fixes some serious bugs and memory leaks in the network >> stack. It al

[PATCH] network mega patch

2012-05-03 Thread Bean
/free loops. -- Best wishes Bean === modified file 'grub-core/net/drivers/efi/efinet.c' --- grub-core/net/drivers/efi/efinet.c 2012-03-10 19:41:28 + +++ grub-core/net/drivers/efi/efinet.c 2012-05-03 18:48:18 + @@ -54,6 +54,8 @@ } } +struct grub_net_buff *saved_nb; + sta

Re: [PATCH] bug fix for efi network

2012-05-03 Thread Bean
On Thu, May 3, 2012 at 11:38 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 29.04.2012 17:05, Bean wrote: >> +  for (i = 0; i < 3; i++) >>      { >> +      grub_uint64_t limit_time; >> + >> +      efi_call_3 (net->get_status

Re: Mysterious memory corruption bug

2012-05-01 Thread Bean
On Wed, May 2, 2012 at 4:16 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 01.05.2012 22:09, Bean wrote: >> On Wed, May 2, 2012 at 4:06 AM, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >>> On 01.05.2012 22:02, Bean wrote: >>>> Hi,

Re: Mysterious memory corruption bug

2012-05-01 Thread Bean
On Wed, May 2, 2012 at 4:06 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 01.05.2012 22:02, Bean wrote: >> Hi, >> >> Yeah, I have a patch that save the buffer for later use when there is >> no data, it can solve the unnecessary alloc/free loop. >

Re: Mysterious memory corruption bug

2012-05-01 Thread Bean
On Wed, May 2, 2012 at 3:56 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 01.05.2012 21:52, Bean wrote: >> On Wed, May 2, 2012 at 3:46 AM, Bean wrote: >>> On Wed, May 2, 2012 at 3:08 AM, Vladimir 'φ-coder/phcoder' Serbinenko >>> wrote:

Re: Mysterious memory corruption bug

2012-05-01 Thread Bean
On Wed, May 2, 2012 at 3:46 AM, Bean wrote: > On Wed, May 2, 2012 at 3:08 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 01.05.2012 20:53, Bean wrote: >>> Hi, >>> >>> Thanks to Vladimir's memory patch, it's actually quite easy

Re: Mysterious memory corruption bug

2012-05-01 Thread Bean
On Wed, May 2, 2012 at 3:08 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 01.05.2012 20:53, Bean wrote: >> Hi, >> >> Thanks to Vladimir's memory patch, it's actually quite easy to >> reproduce mysterious issue. >> >> First, the

Mysterious memory corruption bug

2012-05-01 Thread Bean
efinet reboot testspeed printmem -- Best wishes Bean === modified file 'grub-core/net/ip.c' --- grub-core/net/ip.c 2012-02-09 22:43:43 + +++ grub-core/net/ip.c 2012-05-01 18:28:59 + @@ -240,7 +240,7 @@ FOR_NET_NETWORK_LEVEL_INTERFACES (inf) if (inf->c

Re: RFC: enhanced memory protection support

2012-04-30 Thread Bean
On Tue, May 1, 2012 at 1:24 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 30.04.2012 17:26, Bean wrote: >> Hi, >> >> While testing network function in efi mode, I've found several memory >> leak related to fragmentation, but there is still so

RFC: enhanced memory protection support

2012-04-30 Thread Bean
2. add a command to print the current memory list with extended information, this can be used to find memory leaks. 3. it's also a good idea to run the memory check in automated test to locate potential issue. -- Best wishes Bean ___ Grub-deve

Re: [PATCH] New command testspeed

2012-04-29 Thread Bean
Hi, Pls check out this one. 2012/4/29 Vladimir 'φ-coder/phcoder' Serbinenko : > On 29.04.2012 17:12, Bean wrote: >> Hi, >> >> This patch add a new command testspeed which read a file and then >> print the speed. It's quite useful in debugging

Re: [PATCH] bug fix for bootp

2012-04-29 Thread Bean
2012/4/30 Bean : > 2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko : >> On 29.04.2012 20:26, Bean wrote: >>> Hi, >>> >>> It should be ok, since it's inside    FOR_NET_NETWORK_LEVEL_INTERFACES >>> (inf) loop and compare inf->hwaddres

Re: [PATCH] bug fix for bootp

2012-04-29 Thread Bean
2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko : > On 29.04.2012 20:26, Bean wrote: >> Hi, >> >> It should be ok, since it's inside    FOR_NET_NETWORK_LEVEL_INTERFACES >> (inf) loop and compare inf->hwaddress.mac to the current dhcp response >> p

Re: [PATCH] bug fix for bootp

2012-04-29 Thread Bean
Hi, It should be ok, since it's inside FOR_NET_NETWORK_LEVEL_INTERFACES (inf) loop and compare inf->hwaddress.mac to the current dhcp response packet. 2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko : > On 29.04.2012 06:17, Bean wrote: >> Hi, >> >> D

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko : > On 29.04.2012 10:22, Bean wrote: >> Hi, >> >> This patch fix a few bugs in efinet. >> >> It also change the tftp block size from 1024 to 8192, which would >> result in HUGE speed difference. In

[PATCH] New command testspeed

2012-04-29 Thread Bean
Hi, This patch add a new command testspeed which read a file and then print the speed. It's quite useful in debugging the efficiency of fs or network drivers. -- Best wishes Bean === modified file 'grub-core/Makefile.core.def' --- grub-core/Makefile.core.def 2012-04-01 19:35:18

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
to set block size too high since it could cause timeouts, this is not an issue for real machine since it normally have more nic buffer. -- Best wishes Bean === modified file 'grub-core/net/drivers/efi/efinet.c' --- grub-core/net/drivers/efi/efinet.c 2012-03-10 19:41:28 + +++ gru

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
Hi, Sorry, the previous patch missed a similar bug. On Sun, Apr 29, 2012 at 4:22 PM, Bean wrote: > Hi, > > This patch fix a few bugs in efinet. > > It also change the tftp block size from 1024 to 8192, which would > result in HUGE speed difference. In my previous testing, the

[PATCH] bug fix for efi network

2012-04-29 Thread Bean
, therefore it would be a good idea to allow user to configure this parameter. The native tftp service in UEFI use a default block size of 8192. -- Best wishes Bean === modified file 'grub-core/net/drivers/efi/efinet.c' --- grub-core/net/drivers/efi/efinet.c 2012-03-10 19:41:28 + +++ gru

[PATCH] bug fix for bootp

2012-04-28 Thread Bean
Hi, DHCP offer can use multicast address, so instead of comparing the target address, we should compare the mac field in the dhcp packet. -- Best wishes Bean === modified file 'grub-core/net/ip.c' --- grub-core/net/ip.c 2012-02-09 22:43:43 + +++ grub-core/net/ip.c 2012-04-2

Re: ReiserFS reading performance patch

2012-04-28 Thread Bean
int d, CLOSURE_TYPE); int cb(int a, int b, int c, int d, CLOSURE_TYPE) { USE_CLOSURE return _C(p1) + _C(p2) + a + b + c + d; } _D(p1) = _p1; _D(p2) = 1; return func1(cb, CLOSURE_DATA); } -- Best wishes Bean ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-26 Thread Bean
On Fri, Apr 27, 2012 at 1:10 AM, Seth Goldberg wrote: > > > On Apr 26, 2012, at 6:46 AM, Bean wrote: > >> On Thu, Apr 26, 2012 at 12:59 PM, Seth Goldberg >> wrote: >>> >>> >>> On Apr 25, 2012, at 11:22 PM, Bean wrote: >>> >

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-26 Thread Bean
On Thu, Apr 26, 2012 at 12:59 PM, Seth Goldberg wrote: > > > On Apr 25, 2012, at 11:22 PM, Bean wrote: > >> On Thu, Apr 26, 2012 at 12:10 PM, Seth Goldberg >> wrote: >>>  How does this work around the issue?  I'm not seeing it -- we call SNP >>>

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Bean
c mode, if a packet is not found, it has to returned to upper layer and retry, while in sync mode, the loop is inside the driver which make it more efficient. It's something like reading 100 bytes from disk is much faster than 100 x 1 byte. -- Best wishes Bean ___

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Bean
2012/4/26 Vladimir 'φ-coder/phcoder' Serbinenko : > On 25.04.2012 22:21, Bean wrote: >> On Thu, Apr 26, 2012 at 1:57 AM, Seth Goldberg >> wrote: >>>  Just to chime in here with some data -- I've found numerous UEFI systems' >>> n

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Bean
hen I use similar technique, my own tftp run as fast as the native service. -- Best wishes Bean ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Bean
.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=19186%20 Then, you need to start efi shell first, and use load command like this: load E4404X3.efi (The latest version may have a different name) load snp Then load grub2 from efi shell, net_ls_cards should work now. If you want the whole tftp stack,

Re: [PATCH] bug fix for ntfs

2012-04-24 Thread Bean
on't have any 4K drive to test. You can check if ntfs fs driver is working properly since I don't remember if I have made the 1024 MFT assumption elsewhere. -- Best wishes Bean ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.o

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/24 Bean : > BTW, I think i understand how this flag works. If the file is > installed by Windows and not writable, it has a TrustedInstaller > security descriptor and namespace is set  to 0, for example > C:\Windows\notepad.exe. If the file is modified, there is no > T

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/24 Vladimir 'φ-coder/phcoder' Serbinenko : > On 23.04.2012 18:03, Bean wrote: >> Hi, >> >> 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : >>> Have you tried with ntfs-3g? >>> Also if the problem is with only one directory

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/24 Bean : > Hi, > > 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : >> Have you tried with ntfs-3g? >> Also if the problem is with only one directory, it's better if it stays >> the way it is. The only quirk associated with false assumptio

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
n if user doesn't want blocklists. >> MFT in ntfs is only 1024 bytes, and it must be sector aligned, so if >> this test fails, there is serious problem with the fs (or the driver). > Is it true for 4K sector NTFS? Yeah, I've tried 64K block size and MFT is still 1024 bytes,

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : > On 23.04.2012 16:41, Bean wrote: >> Hi all, >> >> This patch fix three issues: >> >> 1, In ntfsdoc, it says namespace = 0 means POSIX and it's case >> sensitive. However, i found out thi

Re: grub2 md-linear unsupported?

2012-04-23 Thread Bean
Leo Baltus, internetbeheerder                         /\ > NPO ICT Internet Services                            /NPO/\ > Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \  /\/ > beh...@omroep.nl, 035-6773555                         \/ > > _

[PATCH] bug fix for ntfs

2012-04-23 Thread Bean
vious version doesn't return blocklist information for small files embed in MFT, this patch fixes it. For example, create a 512-byte file test in ntfs and try this command: grub-fstest /ntfs.img blocklist /test 3, Missing break in switch statement in grub-fstest -- Best wishes Bean === mod

Bug fix for ata.c

2012-04-16 Thread Bean
Hi everyone, This is a bug in the grub_ata_strncpy function. (main trunk r4220) -- Bean ata.diff Description: Binary data ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-25 Thread Bean
Hi, It's not decided by fs driver, it's configured by a flag in grub_file_open, which is passed to the disk driver. There is only a few places where we can expect large file, such as linux/initrd command. And in this case, caching is useless since we only use the data once and caching would only f

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-24 Thread Bean
coder' Serbinenko : > On 15.04.2011 04:45, Bean wrote: >> Hi, >> >> I believe this is caused by the read algorithm of grub2. If the file >> is continuous, grub legacy will read it in one pass, while grub2 will >> break it up into small blocks, this will slow it down

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-14 Thread Bean
his ? > No need. > > -- > Regards > Vladimir 'φ-coder/phcoder' Serbinenko > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

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

2010-04-21 Thread Bean
here workarounds? Hi, You could try BURG and see if it has the same problem, binary package for EFI is available for download at: http://code.google.com/p/burg/downloads/list -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Mailing list for BURG

2009-11-18 Thread Bean
On Tue, Nov 17, 2009 at 11:49 PM, Bean wrote: > Hi, > > I've created a mailing list for BURG: > > b...@lists.launchpad.net > > Subscription page: > > https://launchpad.net/~burg > > You need to be a team member to subscribe to the list, but I've >

Mailing list for BURG

2009-11-17 Thread Bean
ed subject will be send to that list. -- Bean My project: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Any tutorial to configure grub menu interface ?

2009-11-15 Thread Bean
rmic, although installation from source code is not complicated if you follow the steps in https://help.ubuntu.com/community/Burg -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub

Re: Roadmap for LUA support in GRUB

2009-11-14 Thread Bean
to my branch either as LUA is not in it, so where do I commit the patch ? -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Roadmap for LUA support in GRUB

2009-11-13 Thread Bean
On Sat, Nov 14, 2009 at 3:06 AM, Robert Millan wrote: > On Sat, Nov 14, 2009 at 02:12:38AM +0800, Bean wrote: >> >> But no worry, I've created a fork project BURG that contains some >> brand-new features, the LUA engine will be added back soon. > > Does that mak

Re: Roadmap for LUA support in GRUB

2009-11-13 Thread Bean
ns some brand-new features, the LUA engine will be added back soon. -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Grub-devel Digest, Vol 69, Issue 28

2009-11-12 Thread Bean
formation can be found at the documentation page: >> >> https://help.ubuntu.com/community/Burg >> > Good job ! > > Does burg has lua? Hi, I plan to reintegrate the lua script engine into burg soon. -- Bean My repository: https://launchpad.net/burg Document: https:/

Re: Feature request: network devices

2009-11-11 Thread Bean
On Thu, Nov 12, 2009 at 9:08 AM, Seth Goldberg wrote: > > > Quoting Bean, who wrote the following on Wed, 11 Nov 2009: > >> On Wed, Nov 11, 2009 at 12:32 PM, Seth Goldberg >> wrote: >>> >>> Hi, >>> >>>  Enhancing the TFTP & PXE boot

[BURG] PPA binary package available for ubuntu karmic

2009-11-11 Thread Bean
winter. The resource file are based on Colin's menu demo: http://grub4dos.sourceforge.net/themes.tar.bz2 Detail information can be found at the documentation page: https://help.ubuntu.com/community/Burg -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/comm

Re: Feature request: network devices

2009-11-10 Thread Bean
On Wed, Nov 11, 2009 at 3:02 PM, Vasily Averin wrote: > Bean wrote: >> On Wed, Nov 11, 2009 at 12:32 PM, Seth Goldberg >> wrote: >>> Hi, >>> >>>  Enhancing the TFTP & PXE boot capabilities of GRUB2 is extremely important >>> to our u

Re: Feature request: network devices

2009-11-10 Thread Bean
Isn't TFTP and PXE boot support in GRUB2 ready ? -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Imminent bugfix release (1.97.1)

2009-11-10 Thread Bean
On Tue, Nov 10, 2009 at 10:25 PM, Duboucher Thomas wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bean a écrit : >> Hi, >> >> Oh, I just come up with a better way to do this: >> >> typedef char grub_password_t[1024]; >> >> in

Re: mingw32 compile fixes (Re: [GITGRUB] New menu interface (implementation))

2009-11-10 Thread Bean
On Tue, Nov 10, 2009 at 4:03 AM, Robert Millan wrote: > On Tue, Nov 10, 2009 at 12:46:06AM +0800, Bean wrote: >> >> MINGW don't have fnmatch.h, add fnmatch.h to include >> MINGW don't define S_IROTH, S_IRGRP and u_char >> MINGW don't have lstat, ge

Re: Imminent bugfix release (1.97.1)

2009-11-10 Thread Bean
1++, s2++) { *p | = (*s1 ^ *s2); if ((int) *s1 == c) { p = &r2; c = 0x100; } } return (r1 != 0); } The condition (int) *s1 == c would be true exactly once. -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/com

Re: Imminent bugfix release (1.97.1)

2009-11-10 Thread Bean
On Tue, Nov 10, 2009 at 4:52 PM, Bean wrote: > Hi, > > Perhaps this one, it's more symmetrical: > > typedef char grub_password_t[1024]; > > int > grub_auth_strcmp (const grub_password_t s1, const grub_password_t s2) > { >  char r1 = 0; >  char r2 = 0; >

Re: Imminent bugfix release (1.97.1)

2009-11-10 Thread Bean
On Tue, Nov 10, 2009 at 4:46 PM, Bean wrote: > Hi, > > Just in case p2 is optimized out by gcc: > > typedef char grub_password_t[1024]; > > int > grub_auth_strcmp (const grub_password_t s1, const grub_password_t s2) > { >  char r1 = 0; >  char r2 = 0; >  cha

Re: Imminent bugfix release (1.97.1)

2009-11-10 Thread Bean
On Tue, Nov 10, 2009 at 4:28 PM, Bean wrote: > On Tue, Nov 10, 2009 at 1:39 PM, Bean wrote: >> On Tue, Nov 10, 2009 at 5:34 AM, Vladimir 'phcoder' Serbinenko >> wrote: >>> But now it has a technical problem: it may read post array definitions. >>> If

Re: Imminent bugfix release (1.97.1)

2009-11-10 Thread Bean
On Tue, Nov 10, 2009 at 1:39 PM, Bean wrote: > On Tue, Nov 10, 2009 at 5:34 AM, Vladimir 'phcoder' Serbinenko > wrote: >> But now it has a technical problem: it may read post array definitions. >> If any of post-array memory is MMIO or absent reading from it may h

Re: Imminent bugfix release (1.97.1)

2009-11-09 Thread Bean
s1 ^ *s2); if (*s1 == '\0') p = &r2; } return (r1 != 0); } -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Imminent bugfix release (1.97.1)

2009-11-09 Thread Bean
On Tue, Nov 10, 2009 at 2:46 AM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> On Tue, Nov 10, 2009 at 2:25 AM, Robert Millan wrote: >> >>> On Mon, Nov 09, 2009 at 07:15:48PM +0100, Vladimir 'phcoder' Serbinenko >>> wrote: >>&

Re: Imminent bugfix release (1.97.1)

2009-11-09 Thread Bean
op, it should no > longer be a problem. > > We could also check the approach taken by e.g. su from coreutils. Hi, How about this one: int grub_auth_strcmp (const char *s1, const char *s2) { int result = 0; for (; *s1 != 0; s1++, s2++) result += (*s1 != *s2); return (result

Re: mingw32 compile fixes (Re: [GITGRUB] New menu interface (implementation))

2009-11-09 Thread Bean
On Tue, Nov 10, 2009 at 12:16 AM, Robert Millan wrote: > On Mon, Nov 09, 2009 at 11:55:11PM +0800, Bean wrote: >> Sync with upstream r1810, > > Nice. > >> also fix a few compile error of grub-mkisofs >> in mingw and ubuntu karmic. > > Could you perhaps send

Re: [GITGRUB] New menu interface (implementation)

2009-11-09 Thread Bean
Hi, Update: Sync with upstream r1810, also fix a few compile error of grub-mkisofs in mingw and ubuntu karmic. -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub

Re: Imminent bugfix release (1.97.1)

2009-11-09 Thread Bean
On Mon, Nov 9, 2009 at 9:50 PM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> On Mon, Nov 9, 2009 at 9:04 AM, Robert Millan wrote: >> >>> A security problem [1] was found in our password-checking routines, >>> which affects GR

Re: Imminent bugfix release (1.97.1)

2009-11-09 Thread Bean
rub_strcmp doesn't check for NULL pointer. -- Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: bzr is online

2009-11-09 Thread Bean
On Mon, Nov 9, 2009 at 4:41 PM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> On Mon, Nov 9, 2009 at 4:45 AM, Vladimir 'phcoder' Serbinenko >> wrote: >> >>> Bean wrote: >>> >>>> On Sun, Nov 8, 2009 at 11:36 PM, Vladim

Re: bzr is online

2009-11-09 Thread Bean
On Mon, Nov 9, 2009 at 4:45 AM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> On Sun, Nov 8, 2009 at 11:36 PM, Vladimir 'phcoder' Serbinenko >> wrote: >> >>> Hello, all. As you may have heard or noticed we had a data corruption in >>

Re: bzr is online

2009-11-08 Thread Bean
d similar issue. It seems the bzr diff has bug that could cause problem with renames, for example, don't use this: old branch: bzr diff > aa.diff new branch: bzr patch aa.diff The renamed file could get lost in the process. The only reliable way to apply patch is to export the whole tree

Re: Any tutorial to configure grub menu interface ?

2009-11-02 Thread Bean
On Sat, Oct 31, 2009 at 7:54 PM, J. Bakshi wrote: > On Sat, 31 Oct 2009 10:58:09 +0100 > Vladimir 'phcoder' Serbinenko wrote: > >> Bean wrote: >> > On Sat, Oct 31, 2009 at 1:02 PM, J. Bakshi >> > wrote: >> >> On Wed, 28 Oct 2009 22

Re: [GITGRUB] New menu interface (implementation)

2009-11-01 Thread Bean
cks gfxmode variable, if it's set, it attempts to start graphic mode, otherwise it uses text mode. -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Any tutorial to configure grub menu interface ?

2009-10-30 Thread Bean
On Sat, Oct 31, 2009 at 1:02 PM, J. Bakshi wrote: > On Wed, 28 Oct 2009 22:52:41 +0100 > Vladimir 'phcoder' Serbinenko wrote: > >> J. Bakshi wrote: >> > On Wed, 28 Oct 2009 04:01:05 +0800 >> > Bean wrote: >> > >> > >> >>

Re: [GITGRUB] New menu interface (implementation)

2009-10-30 Thread Bean
.aB.p85BBI2w.KYko6. The use this in grub.cfg: password --md5 admin '$1$qn6KtRs$nO9.aB.p85BBI2w.KYko6.' Don't forget the '' otherwise $ would be used to expand variable. -- Bean My repository: https://launchpad.net/burg ___ Gru

Re: Problem building Grub2 on OSX

2009-10-30 Thread Bean
ave built in without problem in OSX 10.4-10.6, with Xcode 2.5-3.2, on both ppc and intel machine. -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [GITGRUB] New menu interface (implementation)

2009-10-29 Thread Bean
config generated item, it's either all on or all off, you can't save some of the items. BTW, this actually quite similar to --users. To authorized a user, you don't need a option, for example, you can add this to every entry that needs authorization: if password_

Re: [GITGRUB] New menu interface (implementation)

2009-10-29 Thread Bean
On Thu, Oct 29, 2009 at 5:10 PM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> On Thu, Oct 29, 2009 at 5:12 AM, Vladimir 'phcoder' Serbinenko >> wrote: >> >>> Bean wrote: >>> >>>> Hi, >>>> >

Re: [GITGRUB] New menu interface (implementation)

2009-10-28 Thread Bean
On Thu, Oct 29, 2009 at 5:12 AM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> Hi, >> >> Update: >> >> Add timeout, progressbar and savedefault. >> >> savedefault: >> >> Variable savedefault set the system default value.

Re: [GITGRUB] New menu interface (implementation)

2009-10-28 Thread Bean
} . /menu/menu_efi.cfg -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Any tutorial to configure grub menu interface ?

2009-10-27 Thread Bean
hosted at https://launchpad.net/burg, you can also follow this post in ubuntu forum: http://ubuntuforums.org/showthread.php?t=1248647 I plans to add some doc on menu config soon. -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing

Re: [GITGRUB] New menu interface (implementation)

2009-10-27 Thread Bean
10 = reboot } e and c hotkey can only be used by super user. -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [GITGRUB] New menu interface (implementation)

2009-10-26 Thread Bean
frame valign = center halign = center extend = 1 } } } -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: My personal repository

2009-10-25 Thread Bean
On Mon, Oct 26, 2009 at 5:20 AM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> Hi, >> >> I have switched from git to bzr, the repository is moved from github >> to launchpad: >> >> https://launchpad.net/burg >> >> > Hello.W

My personal repository

2009-10-25 Thread Bean
Hi, I have switched from git to bzr, the repository is moved from github to launchpad: https://launchpad.net/burg -- Bean My repository: https://launchpad.net/burg ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman

Re: powerpc/sparc problems

2009-10-25 Thread Bean
I try to add another module (e.g. scsi or what else) it always > respond: > "error: invalid arch independent ELF magic" Hi, You shouldn't need scsi, which is used by ata module to access pci bus, but openfirmware would export the boot disk for you. Use these command: set

Re: Macbook, Efi, Display mode

2009-10-24 Thread Bean
On Sat, Oct 24, 2009 at 6:30 PM, Stefan Bienert wrote: > Bean wrote: >> On Sat, Oct 24, 2009 at 6:09 PM, Stefan Bienert >> wrote: >>> Hi again, >>> >>>> Hi, >>>> >>>> I have compiled a binary version and uploaded at ubuntu for

Re: Macbook, Efi, Display mode

2009-10-24 Thread Bean
figure it in the right way? What's the command line option to boot kernel ? In theory, if graphic mode is working in grub, it should be ok in linux. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/

Re: Feature Request: 32-bit mem write and 'setpci -s' type command in menu.lst

2009-10-24 Thread Bean
Hi, write_dword can write to MMIO space. In fact, my initial reason to add this command is to adjust the video card gart address for EFI. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/ ___ Grub-

Re: powerpc/sparc problems

2009-10-23 Thread Bean
On Sat, Oct 24, 2009 at 4:34 AM, rubisher wrote: > Bean wrote: >> >> On Thu, Oct 22, 2009 at 5:12 PM, rubisher wrote: >>>> >>>> On Thu, Oct 22, 2009 at 12:03 AM, rubisher wrote: >>>>> >>>>> Bean wrote: >>>>>>

Re: [GITGRUB] New menu interface (implementation)

2009-10-23 Thread Bean
On Fri, Oct 23, 2009 at 1:59 PM, Peter Cros wrote: > I don't know what is the testing status for pc machines, but I have > grub-install problem for platform pc on Apple with the current menu source. > > commit eb03e2575b2c0b1b4fd83f33a741f6fef3b93339 > Author: Bean > Date

Re: Experimental branch for GRUB

2009-10-23 Thread Bean
On Fri, Oct 23, 2009 at 6:17 AM, Robert Millan wrote: > On Thu, Oct 22, 2009 at 05:17:55PM +0800, Bean wrote: >> Hi, >> >> I think it could be beneficial to have a experimental branch for GRUB. >> Minor bug fixes can be applied to mainstream directly. But for big and &g

Re: powerpc/sparc problems

2009-10-22 Thread Bean
On Thu, Oct 22, 2009 at 5:12 PM, rubisher wrote: >> On Thu, Oct 22, 2009 at 12:03 AM, rubisher wrote: >> > Bean wrote: >> >> >> >> On Mon, Oct 12, 2009 at 4:55 PM, Felix Zielcke wrote: >> >>> >> >>> David are you still t

Experimental branch for GRUB

2009-10-22 Thread Bean
the experimental branch, while more conservative users can use mainstream code. When the code in experimental branch become stable enough, we can integrate it back to the main repository. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub

Re: [GITGRUB] New menu interface (implementation)

2009-10-22 Thread Bean
> fullscreen. > > The problem is that displaying a large menu that does not fit next to > its parent menu makes the scrolling confusing. Scrolling is typically > not present on these kinds of menus. The other problem is that the > place covered by the parent is what the menu wou

Re: [GITGRUB] New menu interface (implementation)

2009-10-21 Thread Bean
On Thu, Oct 22, 2009 at 4:47 AM, Michal Suchanek wrote: > 2009/10/21 Bean : >> On Wed, Oct 21, 2009 at 3:20 AM, Michal Suchanek wrote: >>> 2009/10/18 Bean : >>>> Hi, >>>> >>>> Update: >>>> >>>> Add mapkey section. F

Re: [GITGRUB] New menu interface (implementation)

2009-10-21 Thread Bean
On Thu, Oct 22, 2009 at 4:55 AM, Michal Suchanek wrote: > 2009/10/21 Bean : >> On Wed, Oct 21, 2009 at 3:31 AM, Michal Suchanek wrote: >>> 2009/10/20 Bean : >>>> Hi, >>>> >>>> Update: >>>> >>>> Add dialog support, it

Re: powerpc/sparc problems

2009-10-21 Thread Bean
On Thu, Oct 22, 2009 at 12:03 AM, rubisher wrote: > Bean wrote: >> >> On Mon, Oct 12, 2009 at 4:55 PM, Felix Zielcke wrote: >>> >>> David are you still there? >>> And also anyone who has access to a powerpc machine (and experience)? >>> &g

Re: [GITGRUB] New menu interface (implementation)

2009-10-20 Thread Bean
On Wed, Oct 21, 2009 at 3:31 AM, Michal Suchanek wrote: > 2009/10/20 Bean : >> Hi, >> >> Update: >> >> Add dialog support, it allows you to write a template and call it with >> different parameters, for example: >> >> dialog_edit { >>

Re: [GITGRUB] New menu interface (implementation)

2009-10-20 Thread Bean
On Wed, Oct 21, 2009 at 3:20 AM, Michal Suchanek wrote: > 2009/10/18 Bean : >> Hi, >> >> Update: >> >> Add mapkey section. For example: >> >> mapkey { >>  f5 = ctrl-x >> } > > Does this also generate a mapkey text which you can du

  1   2   3   4   5   6   7   8   9   10   >