arthuru | 1 Aug 2003 01:01
Favicon

tun/tap networking in 2.6.0test2

i found it nessasary to specify the HWaddress for the tap device with 2.6.0-test2, in 2.4.20 this was not
nessasary, am i doing something wrong?
2.6.0-test2:  eth0=tuntap,tap1,FE:FD:00:00:00:00:00,192.168.0.4
2.4.20: eth0=tuntap,tap1,,192.168.0.4

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
arthuru | 1 Aug 2003 01:53
Favicon

RE: tun/tap networking in 2.6.0test2

oops it was workign because i was booting the wrong kernel :(

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
David Coulson | 1 Aug 2003 03:07

UML Hosting documentation update

I've updated my page at http://uml.openconsultancy.com/ to include some 
additional information for UML hosting, including OSPF (w/ Zebra) and 
Cacti (along with some nice graphs).

If anyone has clean-ups for the paper, or notices any inaccuracies, let 
me know.

David

--

-- 
David Coulson                                    email: d <at> vidcoulson.com
Linux Developer /                          web: http://davidcoulson.net/
Network Engineer                                   phone: (216) 533-6967

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Oleg Drokin | 2 Aug 2003 14:00
Picon

Re: uml-patch-2.6.0-test2

Hello!

William Stearns <wstearns <at> pobox.com> wrote:
>> arch/um/kernel/um_arch.c:51: storage size of `__kernel_vsyscall' isn't 
>> known
>>       Again, I'm on redhat 7.3 with gcc 2.96 and glibc 2.2.5.  Is anyone 
>> else with gcc-2 seeing this, and is anyone with gcc-3 able to compile this 
>> kernel?
WS>         I've also tried building this inside an rh9 root filesystem, with 
WS> the same config, with the same error.  That would seem to reduce the 
WS> chance it's the glibc or gcc version, or something distribution specific.

Ok, for the sake of mailing list archives and stuff, I will repeat
the solution in here (the one we found and agreed on irc) ;)
The problem is gcc 3+ are not able to understand "void somevar" declarations,
while gcc 2.95.3 would work just fine in this case.
And Jeff is using gcc 2.95.3.
So since vsyscall stuff is in fact not yet implemented in UML,
the solution for now is to replace "void" with "void *" in 51st line
of arch/um/kernel/um_arch.c and in 62nd line of include/asm-um/archparam-i386.h

Bye,
    Oleg

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
(Continue reading)

David Coulson | 2 Aug 2003 16:28

UML kernel release (linux-2.4.22-pre10-djc2-6um)

I updated my -djc UML kernels to 2.4.22-pre10. Nothing changed, other 
than the patch to pre10.

The 2.4.22-pre10-djc2-6um kernel contains:

Linux 2.4.21
Linux 2.4.22-pre10
UML Patch 2.4.20-6um
Freeswan 1.99
MPPE 2.2
LIDS 1.1.2rc4
bridge-nf-0.0.10
ebtables 2.0.003
netfilter patch-o-matic 20030719
fuse-1.0
kmem read-only patches
CONFIG_MODE_RESTRICTED patch
COW sector fix

The diff is against 2.4.22-pre10 kernel.

You can download it from
http://kernels.usermodelinux.org/kernels/linux-2.4.22-pre10-djc2-6um/

I'm also looking at compiling a 2.6.0-test2 binary for people, if I can 
get it to work.

David

--

-- 
(Continue reading)

Peter | 3 Aug 2003 01:05
Favicon

RE: UML kernel release (linux-2.4.22-pre10-djc2-6um)

Hi David, would you please describe what's contained in your 'COW sector
fix'?

> I updated my -djc UML kernels to 2.4.22-pre10. Nothing changed, other
> than the patch to pre10.
>
> The 2.4.22-pre10-djc2-6um kernel contains:
>
> Linux 2.4.21
> Linux 2.4.22-pre10

> COW sector fix

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
David Coulson | 3 Aug 2003 03:38

Re: UML kernel release (linux-2.4.22-pre10-djc2-6um)

Peter wrote:
> Hi David, would you please describe what's contained in your 'COW sector
> fix'?

I had a problem where UML would attempt to write beyond the end of a COW 
file. I don't know the exact diff off the top of my head, but if you 
diff the cow_user.c from the standard UML patch against mine, it should 
be pretty clear (it's just one line).

David

--

-- 
David Coulson                                    email: d <at> vidcoulson.com
Linux Developer /                          web: http://davidcoulson.net/
Network Engineer                                   phone: (216) 533-6967

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Vinay K Nallamothu | 3 Aug 2003 16:19

[uml-user] Re: [uml-devel] UML kernel release (linux-2.4.22-pre10-djc2-6um)

On Sat, 2003-08-02 at 19:58, David Coulson wrote:
> I updated my -djc UML kernels to 2.4.22-pre10. Nothing changed, other 
> than the patch to pre10.
> 
> The 2.4.22-pre10-djc2-6um kernel contains:
> 
> Linux 2.4.21
> Linux 2.4.22-pre10
> UML Patch 2.4.20-6um
> Freeswan 1.99
superfreeswan (http://www.freeswan.ca/code/super-freeswan/) could be
more useful.

Thanks
Vinay

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Ferdinand O. Tempel | 3 Aug 2003 23:18

Re: [uml-user] Uml-patch for kernel 2.6

Hey,

I get the same error as described below (on uml-user).
Luckily I get it in english :-)

Anyway, here's my enviroment:

I took a 2.6-test1 patched with the 2.6-test2 patch, so basically I'm
working with the 2.6-test2 kernel. As a host kernel it compiles fine
(i.e. UML patch (uml-patch-2.6.0-test2-1.bz2) applied, the skas patch
posted on this list applied yields a kernel without compile errors).
However, when I try my hands on compiling the real UML (make linux
ARCH=um), I get the following compile error:

<snip>
cd /usr/src/linux-2.6.0-test2-guestuml/include/asm-um/ ; \
ln -sf arch-signal-i386.h arch-signal.h
sed 's/ CONFIG/ UML_CONFIG/'
/usr/src/linux-2.6.0-test2-guestuml/include/linux/a
utoconf.h > arch/um/include/uml-config.h
make -f scripts/Makefile.build obj=arch/um/util
gcc -o arch/um/util/mk_task_user.o -c arch/um/util/mk_task_user.c 
CC      arch/um/util/mk_task_kern.o
In file included from include/asm/thread_info.h:13,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/um/util/mk_task_kern.c:1:
include/asm/processor.h:66: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(Continue reading)

William R. Lorenz | 4 Aug 2003 00:03

[uml-user] 2.6.0-test2 compilation issues

Greetings,

I'm attempting to compile a UML kernel using the 2.6.0-test2 source; 
however, I get the following error message during the compilation process:

  arch/um/sys-i386/util/mk_sc > arch/um/include/sysdep-i386/sc.h
  gcc -o arch/um/util/mk_task_user.o -c arch/um/util/mk_task_user.c 
    CC      arch/um/util/mk_task_kern.o
  In file included from include/asm/thread_info.h:13,
                   from include/linux/thread_info.h:21,
                   from include/linux/spinlock.h:12,
                   from include/linux/capability.h:45,
                   from include/linux/sched.h:7,
                   from arch/um/util/mk_task_kern.c:1:
  include/asm/processor.h:66: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here 
  (not in a function)
  include/asm/processor.h:66: requested alignment is not a constant
  arch/um/util/mk_task_kern.c: In function `main':
  arch/um/util/mk_task_kern.c:13: structure has no member named `regs'
  make[1]: *** [arch/um/util/mk_task_kern.o] Error 1
  make: *** [arch/um/util] Error 2

Has anyone experienced this before, or can someone offer a fix?  Tnx.

--          _ 
__ __ ___ _| | William R. Lorenz <wrl <at> express.org> 
\ V  V / '_| | http://www.clevelandlug.net/ ; "Every revolution was 
 \./\./|_| |_| first a thought in one man's mind." - Ralph Waldo Emerson 

-------------------------------------------------------
(Continue reading)


Gmane