[patch 3/3] PCI support (simple test driver)

2006-05-16 Thread vincent guffens
And here comes the last part, this test driver detects the ne2000 card in qemu. 2006-05-16 Vincent Guffens <[EMAIL PROTECTED]> * drivers/net/: New directory. * conf/i386-pc.rmk (pkgdata_MODULES): Added test_driver.mod to the list of m

[patch 2/3] PCI support (implementation from etherboot)

2006-05-16 Thread vincent guffens
Some directories, other than drivers/include/etherboot/i386 might have to be created by hand. 2006-05-16 Vincent Guffens <[EMAIL PROTECTED]> * drivers/include/etherboot/: New directory. * drivers/pci/i386/: Likewise. * configure.ac (AC_CONFIG_LINKS): Added d

[patch 1/3] PCI support (abstract interface)

2006-05-16 Thread vincent guffens
Hello, Here is a patch to add pci support to grub2. 2006-05-16 Vincent Guffens <[EMAIL PROTECTED]> * drivers/: New directory * conf/i386-pc.rmk (pkgdata_MODULES): Added pci.mod to the list of modules. (DRIVERS_CFLAGS): Added. (pci_mod_S

Re: RE : a simple list

2006-05-09 Thread vincent guffens
Eric Salomé wrote: > Hi Vincent, > > I picked up your email from the archive as I didn't received it yet. > > As you see, it's very easy with a simple #define to create simple code > for simple cases and yet be powerful for more complex cases : > #define grub_iterate_list_brk(list, func, context,

Re: RE : RE : grub-emu state of the art

2006-05-09 Thread vincent guffens
Eric Salomé wrote: > Hi folks, > > > > This email to explain how I worked on grub-emu module loading, the > choices I have made (for now) and the diff from grub-1.93 delivery. > Marco asked me for details (well, that will make it a pretty long email > :-)). > > > > I worked only on the i386

Re: GRUB2 netboot development

2006-05-09 Thread vincent guffens
Rudy Attias wrote: > > Netboot is taking a different direction? I'm curious about that, can you > give some details? yes, grub legacy also used the drivers from Etherboot and it was reported not be easily manageable. When Etherboot developpers decide to change something, the glue code written

Re: RE : a simple list

2006-05-09 Thread vincent guffens
t; it=it->next) > { > if (it == el) return el; > } > return 0; > }; > > static inline void _grub_add_list (struct obj **list, struct obj *el) > { > if ( (!el) || (_grub_find_list (*list, el)) ) > return; > > el->next = *list; > *list

Re: pci support

2006-05-06 Thread vincent guffens
Marco Gerards wrote: > vincent guffens <[EMAIL PROTECTED]> writes: > > >>Marco Gerards wrote: >> >>>vincent guffens <[EMAIL PROTECTED]> writes: >>> >>>Hi Vincent, >>> >>> >>> >>>>I was won

Re: pci support

2006-05-06 Thread vincent guffens
Marco Gerards wrote: > vincent guffens <[EMAIL PROTECTED]> writes: > > Hi Vincent, > > >>I was wondering if there was still an interest in pci support as >>discussed previously. That is a general interface exported by a module >>such as > > >

pci support

2006-05-06 Thread vincent guffens
or it and prepare the changelog. Cheers, -- Vincent Guffens ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB2 netboot development

2006-05-04 Thread vincent guffens
Rudy Attias wrote: > Hey, > > > > I'm interested to know, how to add drivers to the new pluggable > architecture (grub2_netboot_7.tgz) from etherboot sources? > > > > Also wanted to say that you guys do great job with this boot loader! Now > it needs to learn to boot from RAID and make co

Re: netboot related projects

2006-04-29 Thread vincent guffens
Yoshinori K. Okuji wrote: > On Saturday 29 April 2006 22:15, Marco Gerards wrote: > >>vincent guffens <[EMAIL PROTECTED]> writes: >> >>Hi Vincent, >> >> >>>I just wanted to let you know that I contacted the maintainer of >>>Etherbo

netboot related projects

2006-04-29 Thread vincent guffens
used but I was told that the interface will change. -- Vincent Guffens ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Status of UNDI Support

2006-03-10 Thread vincent guffens
very flexible and we can certainly have both support if it is worth it. regards, Martin -- Vincent Guffens Intelligent Systems & Networks Group Research associate, Imperial College ___ Grub-devel mailing

Re: Status of UNDI Support

2006-03-10 Thread vincent guffens
it. regards, Martin -- Vincent Guffens Intelligent Systems & Networks Group Research associate, Imperial College ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: PCI config space patcher

2006-03-07 Thread vincent guffens
it is done. At least I hope so ! -- Vincent Guffens Intelligent Systems & Networks Group Research associate, Imperial College ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: FOSDEM 2006

2006-02-17 Thread Vincent Guffens
Marco Gerards wrote: > Hi, > > Who will go to FOSDEM 24th-26th of February? Vincent Guffens and > Vincent Pelletier will most likely be there (right?) and I will > certainly be there. Unfortunately we do not have a hackers room and > can not share a room. I expected the Hurd

Re: FOSDEM 2006

2005-11-18 Thread Vincent Guffens
has changed a lot since 2) the code does not intgrate vey well into grub as I used a lot of code from etherboot directly. I should rewrite every sub component and send them one by one. On Fri, 18 Nov 2005 14:48:53 +0100, Marco Gerards wrote > "Vincent Guffens" <[EMAIL PR

Re: FOSDEM 2006

2005-11-18 Thread Vincent Guffens
any, and > > another group accepts it, because we should listen to what OS developers > > think. Such a group can be Hurd (like last year), OpenSolaris, or a > > GNU/Linux > > distribution project (such as Debian or Ubuntu). > > Right, I agree. > > Thanks, > Marco

Re: backtrace support

2005-08-29 Thread Vincent Guffens
read the GCS in detail. -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches history. "Don't bother us with politics," respond

Re: backtrace support

2005-08-29 Thread Vincent Guffens
) (void); Why do you need to export these functions? Are they used outside the kernel? grub_register_debug_sym is used by the module responsible for loading the debug symbols. grub_backtrace could be used by other modules. -- Vincent Guffens

backtrace support

2005-08-22 Thread Vincent Guffens
t too much ! -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches history. "Don't bother us with politics," respond thos

Re: backtrace support

2005-08-18 Thread Vincent Guffens
Marco Gerards wrote: Vincent Guffens <[EMAIL PROTECTED]> writes: Hi Vincent, After having searched for the reason of the unaligned pointer caused by the nested functions bug, I thought that it could be interesting to have a backtrace in grub. It would be triggered in grub_fatal and

backtrace support

2005-08-18 Thread Vincent Guffens
with ./btmake instead of make which is a simple script which calls make twice instead of only once. I include the patch as attachment, if not for inclusion in grub, at least for the potential interrested reader. -- Vincent Guffens

Re: [PATCH] set correct gcc version in INSTALL

2005-08-15 Thread Vincent Guffens
On Sun, 14 Aug 2005 22:29:41 -0500, Hollis Blanchard wrote > On Aug 11, 2005, at 4:44 AM, Vincent Guffens wrote: > > > The first reference I could find in the gcc doc about unnamed union > > was in 3.1.1, > > > > http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Unn

problem with NESTED_FUNC_ATTR : unaligned pointer

2005-08-12 Thread Vincent Guffens
orted recently for the 1.90 release although the description is quite different. -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches hi

[PATCH] set correct gcc version in INSTALL

2005-08-11 Thread Vincent Guffens
/ChangeLog grub2-gcc-ver/ChangeLog --- grub2/ChangeLog Tue Aug 9 16:39:50 2005 +++ grub2-gcc-ver/ChangeLog Thu Aug 11 11:31:11 2005 @@ -1,3 +1,6 @@ +2005-08-11 Vincent Guffens <[EMAIL PROTECTED]> + * INSTALL: needed gcc version is >= 3.1.1 because of unnamed union + 2005-08

Re: doc on memory management

2005-08-08 Thread Vincent Guffens
hanks a lot! -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Vincent Guffens PhD Student UCL/CESAME

Re: doc on memory management

2005-08-02 Thread Vincent Guffens
size); Vladimir ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Vincent Guffens PhD Student UCL/C

Re: doc on memory management

2005-08-02 Thread Vincent Guffens
Vincent Pelletier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent Guffens wrote: I have written some doc about mm in grub2. Nice work, explained with nice and clear schematics. Now I understand that piece of code :). I had trouble understanding : the macro you explain in

doc on memory management

2005-08-02 Thread Vincent Guffens
and you need some other format. The pdf can be found here : http://www.auto.ucl.ac.be/~guffens/article/grub_mm_doc.pdf and the tgz with the source : http://www.auto.ucl.ac.be/~guffens/article/grub_mm_doc.tgz -- Vincent Guffens

Re: [PATCH] Huge changes in mm.c

2005-07-11 Thread Vincent Guffens
s were overwritten exactly, I spent quite some time on that code and I couldn't see any problem except for the "grub free magic is broken" problem but off course it was not with that architecture in mind. -- Vincent Guffens

rmll - grub2 presentation

2005-06-27 Thread Vincent Guffens
, -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches history. "Don't bother us with politics," respond those who don&

Re: free magic is broken

2005-06-23 Thread Vincent Guffens
Yoshinori K. Okuji wrote: On Wednesday 22 June 2005 23:13, Vincent Guffens wrote: I have prepared a small web page with some details as it is a little bit long to explain here. See it there if you want more information: http://www.auto.ucl.ac.be/~guffens/grub2_netboot/free_magic_broken.html

free magic is broken

2005-06-22 Thread Vincent Guffens
; + if (q->magic != GRUB_MM_FREE_MAGIC) { + r->first = p; + return; + } } if (q + q->size == p) -- Vincent Guffens UCL/CESAME +32 10 47 80 30 Euler Building A017 ___

netboot and memory problem : solved ?

2005-06-17 Thread Vincent Guffens
ay as this problem is kind of "volatile". I hope it's the one ! Have a good week-end ! -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you

Re: network support : memory management problem

2005-06-09 Thread Vincent Guffens
On Wed, 08 Jun 2005 21:38:20 +0200, Marco Gerards wrote > Vincent Guffens <[EMAIL PROTECTED]> writes: > > > I have tested three different card: Tulip, e1000, nforce2 as well as > > three compilers: gcc-2.95, gcc-3.0, gcc-3.3 However, the memory > > problem is still t

Re: network support : memory management problem

2005-06-06 Thread Vincent Guffens
Marco Gerards wrote: Vincent Guffens <[EMAIL PROTECTED]> writes: it looks like the problem is gone. I changed the way I allocate the memory to hold a block. I changed from: int load_block () char * p = (char *) grub_malloc(len*sizeof(char)); to int load_block () ch

Re: network support : memory management problem

2005-05-31 Thread Vincent Guffens
would be interested in documentation about the memory layout and the memory management of grub2, if available. Thanks ! Vincent Guffens wrote: Hi, I sent a similar e-mail yesterday but I think it didn't get through. I have a working version of the netboot support in grub2. I can issue com

network support : memory management problem

2005-05-31 Thread Vincent Guffens
code is available on this web page: http://www.auto.ucl.ac.be/~guffens/grub2_netboot/index.html -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches

Re: network support

2005-03-25 Thread Vincent Guffens
Marco Gerards wrote: Vincent Guffens <[EMAIL PROTECTED]> writes: Hi Vincent, I just wanted to make a small update on the network support as I've just had grub2 sending bootp request. Here is the request as seen from my laptop directly connected to my test pc: Cool! nice to hear

Re: network support

2005-03-17 Thread Vincent Guffens
o provide grub command : ifconfig o description : initialises the nic, probes for the config o files : The drivers are nearly no modified at all. I just changed printf/grub_printf, added some #include and added the code to register themselves. Cheers, Marco Gerards wrote:

Re: network support

2005-03-11 Thread Vincent Guffens
have never done that before, it might take some time and I might not be able to do it at all. But, ok it is a good start to have this lspci working. I go back to work and see how it goes. cheers ! -- Vincent Guffens PhD Studen

network support

2005-03-11 Thread Vincent Guffens
with it without breaking anything else ? -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches history. "Don't bother us with politic

Re: compiling with 2.95

2005-03-11 Thread Vincent Guffens
\"" | sed -ne "s/.*( *\"\([^\"]*\)\".*/\1: $module/;p" which is not the same line than the one I sent in the previous mail (although they give the same command.lst) -- Vincent Guffens PhD Student

Re: compiling with 2.95

2005-03-09 Thread Vincent Guffens
-v "^#" | sed -ne "/grub_register_command *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $module/;p}" grep -v "^#" | grep -e "grub_register_command *( *\"" | sed -ne "s/.*grub_register_command *( *\"\([^,\"]*\).*/\1: $module/;p" --

compiling with 2.95

2005-03-02 Thread Vincent Guffens
misc.h grub2-mod/include/grub/misc.h --- grub2/include/grub/misc.h Sat Jan 29 23:01:53 2005 +++ grub2-mod/include/grub/misc.h Wed Mar 2 11:38:21 2005 @@ -35,6 +35,7 @@ char *EXPORT_FUNC(grub_stpcpy) (char *dest, const char *src); char *EXPORT_FUNC(grub_strcat) (char *dest, const char *src); cha