Re: Timed wait/sleep

2007-07-22 Thread Jeroen Dekkers
At Sun, 22 Jul 2007 17:38:14 -0400, Alex Roman wrote: > > Sorry, what do you mean by busy waiting? Busy waiting is looping while checking whether a condition changed. E.g. while(condition_is_true()); It would be nicer to let the processor sleep for a while. I'm not sure whether we can actually

Re: Timed wait/sleep

2007-07-22 Thread Alex Roman
- Original message - "Alex Roman" <[EMAIL PROTECTED]> writes: Hi, Not yet... Sorry, what do you mean by busy waiting? Thanks Alex On 22/07/07, Marco Gerards <[EMAIL PROTECTED]> wrote: "Alex Roman" <[EMAIL PROTECTED]> writes: Hi, > Is there any mechanism to wait/sleep for a specified time i

Re: OF disk naming scheme (Re: another regression on Efika)

2007-07-22 Thread Robert Millan
On Sun, Jul 22, 2007 at 04:37:41PM +0200, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Sat, Jul 14, 2007 at 12:16:16AM +0200, Robert Millan wrote: > >> On Tue, Jul 10, 2007 at 09:26:27PM +0200, Jordi Mallach wrote: > >> > On Tue, Jul 10, 2007 at 04:10:52PM +0200, Rober

Re: NTFS file system driver (update 2)

2007-07-22 Thread Robert Millan
On Sun, Jul 22, 2007 at 02:18:23PM +0200, Marco Gerards wrote: > > What is the status? Does it work with every NTFS filesystem around? I've tested it with NTFSes made by win2k, winxp and vista. They all work. (only did basic tests: directory listing and cating small files) -- Robert Millan

Re: Standalone problem to test syntax rules

2007-07-22 Thread Bean
On Sun, Jul 22, 2007 at 06:21:18PM +0200, Marco Gerards wrote: > The code already uses an AST. Or what do you mean? I mean the test program. > If I am not mistaken, you are going over parser.y to make it work with > more situations and to introduce proper error handling. Or am I > mistaken? Th

Re: Standalone problem to test syntax rules

2007-07-22 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > On Sun, Jul 22, 2007 at 03:06:49PM +0200, Marco Gerards wrote: >> You are right that it has advantages. But I prefer using an Abstract >> Syntax Tree. It is used a lot in most literature on parsers, clean >> and easy to understand. >> >> The disadvantage is th

Re: Standalone problem to test syntax rules

2007-07-22 Thread Bean
On Sun, Jul 22, 2007 at 03:06:49PM +0200, Marco Gerards wrote: > You are right that it has advantages. But I prefer using an Abstract > Syntax Tree. It is used a lot in most literature on parsers, clean > and easy to understand. > > The disadvantage is that you need a separate free routine for e

grub 1.96 (Re: GPL version 3)

2007-07-22 Thread Robert Millan
On Sun, Jul 22, 2007 at 03:56:12PM +0200, Thomas Schwinge wrote: > Hello! > > On Sun, Jul 22, 2007 at 10:04:34AM +0200, Robert Millan wrote: > > On Sun, Jul 22, 2007 at 01:38:30AM +0200, Yoshinori K. Okuji wrote: > > > will make a new release in next weekend, if everything looks good. > > > > I d

Re: OF disk naming scheme (Re: another regression on Efika)

2007-07-22 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Sat, Jul 14, 2007 at 12:16:16AM +0200, Robert Millan wrote: >> On Tue, Jul 10, 2007 at 09:26:27PM +0200, Jordi Mallach wrote: >> > On Tue, Jul 10, 2007 at 04:10:52PM +0200, Robert Millan wrote: >> > > What naming/numbering scheme does this follow when

Re: status update for grub 2 developments?

2007-07-22 Thread Marco Gerards
"Ashok kumar" <[EMAIL PROTECTED]> writes: [...] >> Well, if people want to work on scripting or networking they should >> talk to me. I have lots of code on my hd that is incomplete or just >> not cleaned up. It would be a waste of time if it were rewritten. >> And please poke me a lot to get m

Networking (part 1: Ethernet)

2007-07-22 Thread Marco Gerards
Hi, Long time ago I mentioned that I was working on networking. The best way to continue from now on is to get my code into CVS ASAP. That way other people (and quite some people showed their interest) can work on this. Here is the first batch of code. This code adds support for managing the f

Re: multidistro grub2 idea

2007-07-22 Thread BVK
On 7/23/07, adrian15 <[EMAIL PROTECTED]> wrote: I think that if grub2 is going to have scripting and so many new features we should take advantage of them and change the way computers do boot. #1) All Linux installers should set or reuse a ext2 partition next to the windows one as a /boot one w

Re: GPL version 3

2007-07-22 Thread Thomas Schwinge
Hello! On Sun, Jul 22, 2007 at 10:04:34AM +0200, Robert Millan wrote: > On Sun, Jul 22, 2007 at 01:38:30AM +0200, Yoshinori K. Okuji wrote: > > will make a new release in next weekend, if everything looks good. > > I don't think we're ready. There are serious outstanding issues on LVM and > powe

Re: BTS

2007-07-22 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: Hi, > Would be nice if we could start using a BTS for grub2 issues. Is the Savannah > one suitable? Is it possible to have a separate cathegory for grub2 bugs? There was a discussion about this before in de thread "Status updates for grub 2 development

Re: Acer arcade instantOn and grub

2007-07-22 Thread Marco Gerards
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: Hi, > i have a nice question for you :) > in many acer laptops there is a second poweron button which is called "arcade > button". > this is a normal power on button, as you can see: > > # more /proc/bus/input/devices > I: Bus=0019 Vendor= Prod

Re: Timed wait/sleep

2007-07-22 Thread Marco Gerards
"Alex Roman" <[EMAIL PROTECTED]> writes: Hi, > Is there any mechanism to wait/sleep for a specified time in GRUB? Not yet. I will also need this for networking. Actually, we can do still in this idle time. I will get back on this. You can read the time in milliseconds, IIRC. You can use tha

Re: GPL version 3

2007-07-22 Thread Marco Gerards
"Alex Roman" <[EMAIL PROTECTED]> writes: > So I assume all future patches will need to have their copyright > notices changed, correct? Yes. -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Contribute to GRUB 2 ?

2007-07-22 Thread Marco Gerards
Erich Boleyn <[EMAIL PROTECTED]> writes: Hi Erich, > I've been becoming more interested (and having some more time) to look > seriously into GRUB development again, and have been following the email > list for a bit. I've been working at AMD in CPU architecture/instruction > set extensions and v

Re: echo gives internal error with \n

2007-07-22 Thread Marco Gerards
adrian15 <[EMAIL PROTECTED]> writes: > I've activated the echo command (also the pause command) which it is > equivalent to the echo command... and have done some tests: The problem is in the parser. > grub> pause fjfjl > fjfjl > grub> pause "fjfjl" > fjfjl > grub> pause -n \n > error: Interna

Re: [RFC] [PATCH] Add multiboot 2 capabilities

2007-07-22 Thread Marco Gerards
"Jerone Young" <[EMAIL PROTECTED]> writes: > Will do the changes for the coding style (good point). Do you want me to wait with the review until you did this? At first sight I noticed a few GCS related issues. Is this code completely up-to-date with the draft on the wiki? I do not mind getting

Re: patch to get rid of hardcoded grub_*_init in grub-probe / grub-setup

2007-07-22 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > As suggested by Marco, I adapted the framework to generate grub_init_all > / grub_fini_all functions from grub-emu to also be used on grub-probe and > grub-setup. > > Any comments on the patch? Two comments on the changelog entry. If you can fix those,

Re: Self multiboot patch

2007-07-22 Thread Marco Gerards
Mikhail Vorozhtsov <[EMAIL PROTECTED]> writes: Hi, > Here is a patch for booting GRUB via itself with multiboot > module. Tested on [http://grub.enbug.org/TestingOnX86]-alike floppy > image and QEMU. Great! > BTW. When I'm trying to add some code/data before/in multiboot_entry > in startup.S, G

Re: Standalone problem to test syntax rules

2007-07-22 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: Hi Bean, > I have written a small problem to test my parse.y, to compile, use the > following commands: > > bison -d -p grub_script_yy -b grub_script parser.y > gcc -oparser parser.c lexer.c grub_script.tab.c > > After compilation, run parser > > ./parser > > Ju

Re: [PATCH] bug fix for scripting (update 3)

2007-07-22 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > This update includes u2 and u2-1, and fix a small problem caused by u2-2. Oh, I should've waited with the other reviews until I noticed this one. > -- > Bean > > 2007-06-28 Bean <[EMAIL PROTECTED]> > > * kern/parser.c (state_transitions): Exit GRUB_PAR

Re: [PATCH] bug fix for scripting (update 2)

2007-07-22 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > This patch fixes the following bugs: > > 1. Token parser > > echo aa"bb"cc > old: aa"bb" > new: aa"bb"cc > > set BB=1 > echo aa$BB > old: aa 1 > new: aa1 > > set BB=1 > echo ${BB}aa > old: 1 aa > new: 1aa > > set AA=1 > set BB=$AA > echo $BB > old: empty > new:

Re: status update for grub 2 developments?

2007-07-22 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > On Sun, Jun 24, 2007 at 12:22:18PM +0800, Bean wrote: >> Some bugs I found on scripting. >> >> 1. token parser >> >> echo aa"bb" >> aabb >> (correct) >> >> echo aa"bb"cc >> aabb >> (cc is lost) >> >> echo aa$prefix >> aa (hd0,1)/boot/grub >> (should be one to

Re: NTFS file system driver (update 2)

2007-07-22 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: Hi, It has been a while since I had time to actively take part in the discussion on this list and review patches. I am really sorry for this. This patch had to wait quite a while, so I'll start with this. It is great to have NTFS support so I'd like to integrat

BTS

2007-07-22 Thread Robert Millan
Hi, Would be nice if we could start using a BTS for grub2 issues. Is the Savannah one suitable? Is it possible to have a separate cathegory for grub2 bugs? -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you

multidistro grub2 idea

2007-07-22 Thread adrian15
THE PROBLEM = The problem about boot loaders in a multi distribution environment is the grub configurations being overlapped. Imagined this partition layout: part 1: windows part 2: ubuntu part 3: debian If you install first windows, th

Re: OF disk naming scheme (Re: another regression on Efika)

2007-07-22 Thread Robert Millan
On Sat, Jul 14, 2007 at 12:16:16AM +0200, Robert Millan wrote: > On Tue, Jul 10, 2007 at 09:26:27PM +0200, Jordi Mallach wrote: > > On Tue, Jul 10, 2007 at 04:10:52PM +0200, Robert Millan wrote: > > > What naming/numbering scheme does this follow when you add more disks? > > > > hd, hd1, hd2. Luck

Re: GRUB_IEEE1275_FLAG_NO_PARTITION_0

2007-07-22 Thread Robert Millan
On Sat, Jul 14, 2007 at 12:31:02AM +0200, Robert Millan wrote: > On Tue, Jul 10, 2007 at 03:26:43PM -0500, Hollis Blanchard wrote: > > On Mon, 2007-07-09 at 17:05 +0200, Robert Millan wrote: > > > What's the point of GRUB_IEEE1275_FLAG_NO_PARTITION_0 ? We have code that > > > checks this flag, but

Re: GPL version 3

2007-07-22 Thread Robert Millan
On Sun, Jul 22, 2007 at 01:38:30AM +0200, Yoshinori K. Okuji wrote: > On Saturday 14 July 2007 15:02, Yoshinori K. Okuji wrote: > > Thank you for your replies. As my time is limited, I don't reply to > > individual messages, but I have read all of them. In my understanding, all > > long-term contri