Re: [PATCH] New command testspeed

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 22:23, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 29.04.2012 22:09, Bean wrote: >> Hi, >> >> Pls check out this one. > In terms of decreasing code duplication it doesn't improve at all. The > prefix-chosing code needs to be put into a separate function which would > be used by

Re: [PATCH] New command testspeed

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 22:09, Bean wrote: > Hi, > > Pls check out this one. In terms of decreasing code duplication it doesn't improve at all. The prefix-chosing code needs to be put into a separate function which would be used by both instances. Also you need "TRANSLATORS" comments before every of these sh

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 the efficiency of fs >> or network drivers. >> >> -- B

Re: [PATCH] Increase flexibility of kernel naming, allow non-versioned kernels.

2012-04-29 Thread Mike Gilbert
On 04/29/2012 12:28 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 29.04.2012 06:46, Mike Gilbert wrote: >> I am relaying a patch by Robin Johnson, one of the core infrastructure >> staff at Gentoo Linux. In the process of building some Gentoo servers >> utilizing GRUB 2, he has made some ch

[PATCH] Boot immediately after GRUB_HIDDEN_TIMEOUT

2012-04-29 Thread Mads Kiilerich
* util/grub.d/00_header.in: Boot immediately after GRUB_HIDDEN_TIMEOUT. Documentation said: "If no key is pressed during that time, boot immediately." === modified file 'ChangeLog' --- ChangeLog 2012-04-29 16:43:22 + +++ ChangeLog 2012-04-29 19:12:19 + @@ -1,3 +1,9 @@

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->hwaddress.mac to the current dhcp response >>> packet. >> It's not. You ret

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 >> packet. > It's not. You return even if packet didn't

Re: [PATCH] bug fix for bootp

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 20:26, Bean wrote: > Hi, > > It should be ok, since it's insideFOR_NET_NETWORK_LEVEL_INTERFACES > (inf) loop and compare inf->hwaddress.mac to the current dhcp response > packet. It's not. You return even if packet didn't match. > 2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko :

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, >> >> DHCP offer can use multicast address, so in

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 my previous testing, the larger >> the block size, th

Re: [PATCH] bug fix for efi network

2012-04-29 Thread 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 my previous testing, the larger > the block size, the faster the speed. It can reach up to 60-70MB/s in > 1Gb e

Re: [PATCH] bug fix for bootp

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 06:17, Bean wrote: > Hi, > > DHCP offer can use multicast address, so instead of comparing the > target address, we should compare the mac field in the dhcp packet. Could you adjust this patch to the fact that there may be several simultaneous bootp active requests from GRUB for diffe

Re: [PATCH] Increase flexibility of kernel naming, allow non-versioned kernels.

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 06:46, Mike Gilbert wrote: > I am relaying a patch by Robin Johnson, one of the core infrastructure > staff at Gentoo Linux. In the process of building some Gentoo servers > utilizing GRUB 2, he has made some changes to 10_linux that should make > grub-mkconfig "out of the box" for ad

Re: [PATCH] Detect starfield theme font path /usr/share/fonts/dejavu/DejaVuSans.ttf for Fedora

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Committed, thanks. On 29.04.2012 16:17, Mads Kiilerich wrote: > === modified file 'ChangeLog' > --- ChangeLog2012-04-26 18:51:06 + > +++ ChangeLog2012-04-29 14:13:52 + > @@ -1,3 +1,8 @@ > +2012-04-29 Mads Kiilerich > + > +* configure.ac: Detect starfield theme font path > +

Re: grub2

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 18:00, Svante Signell wrote: > On Sun, 2012-04-29 at 11:36 +0200, Svante Signell wrote: >> On Sun, 2012-04-29 at 11:11 +0200, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >>> On 29.04.2012 10:30, Svante Signell wrote: Adding grub-devel as Cc: maybe you can help me? >>> Use new

Re: grub2

2012-04-29 Thread Svante Signell
On Sun, 2012-04-29 at 11:36 +0200, Svante Signell wrote: > On Sun, 2012-04-29 at 11:11 +0200, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: > > On 29.04.2012 10:30, Svante Signell wrote: > > > Adding grub-devel as Cc: maybe you can help me? > > Use newer GRUB > > Well the grub version at debian-p

Re: [PATCH] New command testspeed

2012-04-29 Thread 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 the efficiency of fs > or network drivers. > > -- Best wishes Bean > > testspeed.txt > > > === modified file 'grub-core/Makefile.core.def' >

[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 + +++ grub-co

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
Hi, Update: I also rewrite the send_card_buffer function. Also add support for tftp_block_size environment variable which allows user to specify customized block size (default is 8192). for example: set tftp_block_size=16384 testspeed (tftp)/imagefile When testing in virtual machine, try not to

[PATCH] Detect starfield theme font path /usr/share/fonts/dejavu/DejaVuSans.ttf for Fedora

2012-04-29 Thread Mads Kiilerich
=== modified file 'ChangeLog' --- ChangeLog2012-04-26 18:51:06 + +++ ChangeLog2012-04-29 14:13:52 + @@ -1,3 +1,8 @@ +2012-04-29 Mads Kiilerich + +* configure.ac: Detect starfield theme font path +/usr/share/fonts/dejavu/DejaVuSans.ttf for Fedora + 2012-04-26 Vladimir Se

Re: grub2

2012-04-29 Thread Svante Signell
On Sun, 2012-04-29 at 11:11 +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 29.04.2012 10:30, Svante Signell wrote: > > Adding grub-devel as Cc: maybe you can help me? > Use newer GRUB Well the grub version at debian-ports is grub*_1.99-21 +hurd.1_hurd-i386.deb and the latest Debian one i

Re: grub2

2012-04-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 10:30, Svante Signell wrote: > Adding grub-devel as Cc: maybe you can help me? Use newer GRUB > On Sun, 2012-04-29 at 00:23 +0200, Svante Signell wrote: >> Samuel, >> >> Did you really check the grub2 patch? When installing it kvm freezes, >> and now I'm left with a dumb grub rescue p

Re: grub2

2012-04-29 Thread Svante Signell
Adding grub-devel as Cc: maybe you can help me? On Sun, 2012-04-29 at 00:23 +0200, Svante Signell wrote: > Samuel, > > Did you really check the grub2 patch? When installing it kvm freezes, > and now I'm left with a dumb grub rescue prompt. The problems are in the > post-install script. Which comm

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 larger > the block

[PATCH] bug fix for efi network

2012-04-29 Thread Bean
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 larger the block size, the faster the speed. It can reach up to 60-70MB/s in 1Gb ethernet when block size is about 60K, therefore