hello Benjamin and Antoine,

thanks for the reply and here are the answers:

My system is running Debian distribution (Sarge 3.1) with kernel version 2.6.14 
and MIPL2.0
In order to use MIPL2.0.1 i wanted to upgrade my system to kernel version 
2.6.15.
so i downlaoded the patch from kernel.org (and not the Debian sources) in 
/usr/src as follows:

wget http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.15.gz  [in /usr/src]
( i used the patch-2.6.15.gz released on 03-jan-2006 and not the later release)

Then i gunziped it and applied the patch by executing the "patch-kernel" script 
under /usr/src/linux/scripts/patch-kernel and that is when i got the following 
HUNK fail messages........... 

Current kernel version is 2.6.14 (Affluent Albatross)
Applying patch-2.6.15 (plaintext)... 1 out of 3 hunks FAILED -- saving rejects 
to file include/net/ipv6.h.rej
4 out of 32 hunks FAILED -- saving rejects to file net/ipv6/addrconf.c.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file net/ipv6/datagram.c.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file net/ipv6/esp6.c.rej
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file net/ipv6/ip6_fib.c.rej
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file net/ipv6/ip6_tunnel.c.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file net/ipv6/ipv6_syms.c.rej
1 out of 5 hunks FAILED -- saving rejects to file net/ipv6/raw.c.rej
1 out of 5 hunks FAILED -- saving rejects to file net/ipv6/route.c.rej
1 out of 5 hunks FAILED -- saving rejects to file net/ipv6/udp.c.rej
1 out of 4 hunks FAILED -- saving rejects to file net/xfrm/xfrm_state.c.rej
failed.  Clean up yourself.
cannot find patch file: patch-2.6.15.9999


since i didnt understand what it meant :-) i crossed my fingers and executed 
"make all" and the compilation stopped with the following error messages:

net/ipv6/addrconf.c:291: error: redefinition of `ipv6_addr_diff'
include/net/ipv6.h:407: error: `ipv6_addr_diff' previously defined here
make[2]: *** [net/ipv6/addrconf.o] Error 1
make[1]: *** [net/ipv6] Error 2
make: *** [net] Error 2
 
so that is my story and hope to get some solution.
I have the knoppix CD but i want to have a stable MIPL test bed so that i dont 
have to recreate my configurations everytime i switch off my systems and boot 
from knoppix.

I hope the situation is clear and some solution in sight :-)

thanks in advance

Zarrar

----------------------------------------
> Date: Thu, 11 May 2006 18:16:27 +0200
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]; [email protected]
> Subject: Re: [mipl] Error in applying patch
> 
> zarrar yousaf wrote:
> > Hi,
> > 
> > I have a configured and running MIPL2.0 test bed over Debian kernel
> > 2.6.14, and when i applied the patch patch-2.6.15 and did a make
> > all, i got the following errors:
> > 
> > net/ipv6/addrconf.c:291: error: redefinition of `ipv6_addr_diff' 
> > include/net/ipv6.h:407: error: `ipv6_addr_diff' previously defined
> > here make[2]: *** [net/ipv6/addrconf.o] Error 1 make[1]: ***
> > [net/ipv6] Error 2 make: *** [net] Error 2
> > 
> > I don't know whether this is the right forum to ask but any
> > help/suggestion/workaround in this direction would be appreciated
> > as i need to use the MIPL2.0.1 which i believe is for kernel
> > 2.6.15.
> 
> Yes, MIPL 2.0.1 is indeed for kernel 2.6.15.
> 
> Here are some questions that may help us:
> 
> Did you get any error when you patched the kernel 2.6.15?
> Any "Hunk failed" or similar error messages?
> 
> Do you use 2.6.15 or a later revision: 2.6.15.x (x between 1 and 7)?
> Do you use the kernel.org sources or Debian kernel sources?
> 
> Benjamin
> 
> > 
> > looking forward
> > 
> > Zarrar 
> > _________________________________________________________________ 
> > Join the next generation of Hotmail and you could win the adventure
> > of a lifetime 
> > http://www.imagine-msn.com/minisites/sweepstakes/mail/register.aspx
> >  _______________________________________________ mipl mailing list 
> > [email protected] 
> > http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl
> > 
> 
> 
> -- 
> B e n j a m i n   T h e r y  - BULL/DT/Open Software R&D
> 
>     http://www.bull.com
> 

_________________________________________________________________
Enter the Windows Live Mail beta sweepstakes
http://www.imagine-msn.com/minisites/sweepstakes/mail/register.aspx
_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to