Re: [PATCH] GRUB Loading message

2008-07-11 Thread Pavel Roskin
On Sat, 2008-07-12 at 00:07 +0200, Tomáš Ebenlendr wrote: > Dne 10 Červenec 2008, 19:29, Pavel Roskin napsal(a): > > On Fri, 2008-07-11 at 00:31 +0800, Bean wrote: > > > > > >> It have switched to svn now, cvs is not updated anymore. > >> > > > > Can we turn CVS off? We could remove all files as t

Re: [PATCH] GRUB Loading message

2008-07-11 Thread Tomáš Ebenlendr
Dne 10 Červenec 2008, 19:29, Pavel Roskin napsal(a): > On Fri, 2008-07-11 at 00:31 +0800, Bean wrote: > > >> It have switched to svn now, cvs is not updated anymore. >> > > Can we turn CVS off? We could remove all files as the first step. > And put in CVS a README.txt with correct svn co command

Re: Endianness macros capitalization

2008-07-11 Thread Pavel Roskin
On Fri, 2008-07-11 at 15:21 +0200, Christian Franke wrote: > Very nice optimization idea! > > The practical advantage is probably limited by the fact that kernel.img > and most of the modules typically included in a i386-pc core.img are not > affected. > > I attached a diff of "size *.mod" out

Re: [PATCH] GRUB Loading message

2008-07-11 Thread Pavel Roskin
On Fri, 2008-07-11 at 03:20 +0800, Bean wrote: > On Fri, Jul 11, 2008 at 1:29 AM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > > There is no such function. Somebody could write a cron script that > > would check the Subversion repository and send messages for new commits. > > But such things is not m

Re: a bug in read

2008-07-11 Thread Pavel Roskin
On Wed, 2008-07-09 at 19:56 +0200, Javier Martín wrote: > Couldn't this have been worked around changing while to do-while and > refactoring the loop instead of creating a new variable, whose > handling takes space? I'm not sure it can be done because I'm on > vacation and reading mail through dial

Re: compiling grub2 on Ubuntu (Xubuntu) 8.04

2008-07-11 Thread Pavel Roskin
On Fri, 2008-07-11 at 12:17 -0400, Tom Carpenter wrote: > Ran into a few problems compiling grub2 (1.96) on my > Ubuntu box; highlights of the apparent fixes are > > - install liblzo2-2 and liblzo2-dev That's sufficient for me. > - create a static link named /usr/lib/liblzo2.so to >/usr/lib/

Re: [PATCH] ext4 extent support

2008-07-11 Thread Bean
On Sat, Jul 12, 2008 at 1:11 AM, Felix Zielcke <[EMAIL PROTECTED]> wrote: > From: "Bean" <[EMAIL PROTECTED]> > Sent: Friday, July 11, 2008 5:34 PM >> >> Hi, >> >> This patch should fix the problem. >> >> -- >> Bean >> > > > Hello, > > yeah, it works fine now. > Thanks very much Hi, Thanks for you

Re: [PATCH] ext4 extent support

2008-07-11 Thread Felix Zielcke
From: "Bean" <[EMAIL PROTECTED]> Sent: Friday, July 11, 2008 5:34 PM Hi, This patch should fix the problem. -- Bean Hello, yeah, it works fine now. Thanks very much ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/l

compiling grub2 on Ubuntu (Xubuntu) 8.04

2008-07-11 Thread Tom Carpenter
Ran into a few problems compiling grub2 (1.96) on my Ubuntu box; highlights of the apparent fixes are - install liblzo2-2 and liblzo2-dev - create a static link named /usr/lib/liblzo2.so to /usr/lib/liblzo2.so.2.0.0 Compile errors I was getting are below. -- Tom Carpenter 1. first attem

Re: Does grub2 support any PCI add-on card for serial port?

2008-07-11 Thread Pavel Roskin
On Fri, 2008-07-11 at 02:00 -0700, Neo Jia wrote: > hi, > > My motherboard doesn't have any onboard serial port, so I am wondering > if the Grub2 will support the PCI add-on card for serial port? I know > that Grub will only support ISA device. The current code would probe 4 ports recognized by B

Re: [PATCH] ext4 extent support

2008-07-11 Thread Bean
On Fri, Jul 11, 2008 at 4:39 PM, Felix Zielcke <[EMAIL PROTECTED]> wrote: > From: "Bean" <[EMAIL PROTECTED]> > Sent: Friday, July 11, 2008 10:17 AM > To: "The development of GRUB 2" > Subject: Re: [PATCH] ext4 extent support > >> Hi, >> >> Is the image empty ? Perhaps you can add a few files to it

Re: Endianness macros capitalization

2008-07-11 Thread Christian Franke
Pavel Roskin wrote: Quoting Pavel Roskin <[EMAIL PROTECTED]>: 366976 original 364988 "=q", xchgb 365460 "=q", rolw $8,%w0 365420 "=r", rolw $8,%w0 364996 monstrosity ("=r", conditional xchgb/rolw) 364728 "little details" Marginally better (by just 12 bytes): 364716 "little details" + "

Re: Endianness macros capitalization

2008-07-11 Thread Pavel Roskin
Quoting Pavel Roskin <[EMAIL PROTECTED]>: 366976 original 364988 "=q", xchgb 365460 "=q", rolw $8,%w0 365420 "=r", rolw $8,%w0 364996 monstrosity ("=r", conditional xchgb/rolw) 364728 "little details" Marginally better (by just 12 bytes): 364716 "little details" + "monstrosity" #define

Does grub2 support any PCI add-on card for serial port?

2008-07-11 Thread Neo Jia
hi, My motherboard doesn't have any onboard serial port, so I am wondering if the Grub2 will support the PCI add-on card for serial port? I know that Grub will only support ISA device. Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven't the technolog

Re: Endianness macros capitalization

2008-07-11 Thread Pavel Roskin
Quoting Christian Franke <[EMAIL PROTECTED]>: #define grub_swap_bytes32(x) \ ({ \ grub_uint32_t _x = (x), _y; \ asm ( \ "xchgb %b0,%h0\n" \ "roll $0x10,%0\n" \ "xchgb %b0,%h0\n" \ : "=q"(_y) : "0"(_x) \ ); \ _y; \ }) Results are much better for the inline

Re: [PATCH] ext4 extent support

2008-07-11 Thread Felix Zielcke
From: "Bean" <[EMAIL PROTECTED]> Sent: Friday, July 11, 2008 10:17 AM To: "The development of GRUB 2" Subject: Re: [PATCH] ext4 extent support Hi, Is the image empty ? Perhaps you can add a few files to it. Also, you can use grub-fstest to check if grub can access it, For example: Urm, yeah

Re: [PATCH] ext4 extent support

2008-07-11 Thread Bean
On Fri, Jul 11, 2008 at 3:35 PM, Felix Zielcke <[EMAIL PROTECTED]> wrote: > From: "Bean" <[EMAIL PROTECTED]> > Sent: Friday, July 11, 2008 9:25 AM > To: "The development of GRUB 2" > Subject: Re: [PATCH] ext4 extent support > >> Hi, >> >> Can you make a small test image with uninit_bg flag enabled

Re: [PATCH] ext4 extent support

2008-07-11 Thread Felix Zielcke
From: "Bean" <[EMAIL PROTECTED]> Sent: Friday, July 11, 2008 9:25 AM To: "The development of GRUB 2" Subject: Re: [PATCH] ext4 extent support Hi, Can you make a small test image with uninit_bg flag enabled ? -- Bean Attached, i made it 30 MB big, because that's the size of the /boot I teste

Re: [PATCH] ext4 extent support

2008-07-11 Thread Bean
On Fri, Jul 11, 2008 at 5:30 AM, Felix Zielcke <[EMAIL PROTECTED]> wrote: > From: "Bean" <[EMAIL PROTECTED]> > Sent: Friday, July 04, 2008 7:59 PM > To: "The development of GRUB 2" > Subject: [PATCH] ext4 extent support > >> Hi, >> >> This patch add support for extents in ext4. >> >> -- >> Bean >>

Re: Endianness macros capitalization

2008-07-11 Thread Jordi Mallach
On Thu, Jul 10, 2008 at 03:59:14PM -0400, Pavel Roskin wrote: > Thank you for testing! We could do better with the bswap instruction, > but it appeared in 486. I think we still need to support 386. Do we, or better yet, can we? I thought most distros had dropped 386 support from kernels and to