Re: [uml-user] UML + glibc 2.4?

2006-09-09 Thread Sven Köhler
>> arch/um/os-Linux/sys-i386/registers.c: In function 'get_thread_regs': >> arch/um/os-Linux/sys-i386/registers.c:137: error: 'JB_PC' undeclared >> (first use in this function) > > Jeff Dike posted this link > http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.17-rc4/patches/jmpbuf > to a

Re: [uml-user] UML + glibc 2.4?

2006-09-09 Thread Sven Köhler
> Hmm, so i some problems over here on x86: > > uml-host linux-2.6.17.13 # LANG=C make ARCH=um vmlinux > SYMLINK arch/um/include/kern_constants.h > SYMLINK arch/um/include/sysdep > make[1]: `arch/um/sys-i386/user-offsets.s' is up to date. > CHK arch/um/include/user_constants.h > CHK

Re: [uml-user] UML + glibc 2.4?

2006-09-09 Thread Sven Köhler
>> has anybody of you gentoo-users out there (maybe Blaisorblade?) tried >> UML with glibc 2.4 (which seems to be nptlonly!)? > As things stands, this should be especially tested on amd64 host - Antoine > Martin reported it works on x86 ones. Hmm, so i some problems over here on x86: uml-host li

Re: [uml-user] glibc 2.4 + amd64 = tls breakage?

2006-09-07 Thread Sven Köhler
> The exact same images run absolutely fine on x86 hosts with almost > identical settings (same gcc, glibc versions) Can i conclude from your words, that UML runs fine on x86 32-bit with gcc 4.1.1 and glibc 2.4 ? - Using To

[uml-user] UML + glibc 2.4?

2006-09-06 Thread Sven Köhler
Hi, has anybody of you gentoo-users out there (maybe Blaisorblade?) tried UML with glibc 2.4 (which seems to be nptlonly!)? Does it compile? Does it work? Thanks, Sven signature.asc Description: OpenPGP digital signature

[uml-user] AMD64-Status?

2006-08-08 Thread Sven Köhler
Hi, i haven't read the mailinglists some time, so i have some questions: - What's the status of AMD64-UML-guestkernels? i mean, can i compile them easily using vanilla sources? and do they run more or less stable? - Do 32bit guests run stable on 64bit hosts? - Can i easily compile a 32bit guest-k

Re: [uml-user] Where is the latest skas patch?

2006-05-13 Thread Sven Köhler
> Where can I find the latest skas patch? > I looked in > http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.16-v9-pre9/ > but the latest one is from Mar-22. http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/ use version 8.2 or version 9-pre9 if you want. There

Re: [uml-user] RAM-images still in /tmp?

2006-04-28 Thread Sven Köhler
>> It seems, i did something wrong. I will have to invetigate further. > > The answer likely is that you have either TMP or TEMP set otherwise - > probably > retry with "export TMP=/the/right/folder" (don't forget export), and make > sure it exists. I just noticed you first tried with TMP, so i

Re: [uml-user] RAM-images still in /tmp?

2006-04-26 Thread Sven Köhler
> tried > export TMPDIR=/tmp/uml > and also > TMPDIR=/tmp/uml $KERNELBIN ... > > doesn't work :-( So i found something like: char *dirs[] = { "TMP", "TEMP", "TMPDIR", NULL }; in arch/um/os/mem.c. This looks, like UML is checking TMP, TEMP and TMPDIR variables. But in my case, hmmm It

Re: [uml-user] RAM-images still in /tmp?

2006-04-26 Thread Sven Köhler
> this is how i do it and it works: are you sure? > snip --- > > TMPDIR=/tmp/uml_$UMLNAME #location where to store the ram of the uml > > mkdir $TMPDIR > mount -t tmpfs -o mode=1777,size=$MEM none $TMPDIR > chown $UMLUSER $TMPDIR -R > chmod og-rwx $TMPDIR -R > > su - $UMLUSER -c "TMPDIR=$

Re: [uml-user] RAM-images still in /tmp?

2006-04-25 Thread Sven Köhler
> Try setting the 'TMP' environmental variable. I.e., something like: > > $ export TMP=/tmp/mydir > $ /usr/bin/linux umid=asdf... No, didn't work :-( signature.asc Description: OpenPGP digital signature

[uml-user] RAM-images still in /tmp?

2006-04-25 Thread Sven Köhler
Hi, UML still seems to create its RAM-image-files in /tmp. I'd like to change that behaviour. Perhaps i missed it, but i don't know how. (I read --help of the kernel-binary and don't remember anything in the kernel-config). I'd like to mount my tmpfs to a subdir of /tmp, and then tell UML to crea

[uml-user] 2.6.17-rc1, NPTL/TLS and CFLAGS

2006-04-04 Thread Sven Köhler
Hi, just wanted to ask: the TLS patches are already in 2.6.17-rc1, right? If so, is there anything recommed concerning the CFLAGS? The Gentoo Xen HOWTO told me, that i should add "-mno-tls-direct-seg-refs" to avoid some slowdown. See http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo Is "-mno-tls-dire

Re: [uml-user] uml and nonstandard memory splits?

2006-03-24 Thread Sven Köhler
I'm running a vanilla 2.6.16 UML (compiled without TT) on a vanilla skas3-patched 2.6.16 host. Works like a charm. >>> With a nonstandard memory split? Jeff said skas3 + no-TT + non-1/3 splet >>> should work, but I haven't tried it yet. >> Perhaps i should mention that: >> >> Th

Re: [uml-user] uml and nonstandard memory splits?

2006-03-24 Thread Sven Köhler
>> I'm running a vanilla 2.6.16 UML (compiled without TT) on a vanilla >> skas3-patched 2.6.16 host. >> >> Works like a charm. > > With a nonstandard memory split? Jeff said skas3 + no-TT + non-1/3 splet > should work, but I haven't tried it yet. Perhaps i should mention that: The host is config

Re: [uml-user] uml and nonstandard memory splits?

2006-03-23 Thread Sven Köhler
> In 2.6.16, the kernel allows user-selectable address space splits. I > have 1.5G of memory, so choosing 2G/2G lets me turn off highmem. I also > have the new 2.6.16 skas3 v8.2 patch applied. > > With this configuration, all umls die immediately, whether I try skas0, > skas3 or TT. > > Is this

Re: [uml-user] DevFS going to go away in 2.6.13

2005-07-22 Thread Sven Köhler
> As was announced a lot of time ago, DevFS is going to go away... in 2.6.13, > the configuration option for DevFS has been disabled (i.e. you cannot choose > any more to enable it), and the code will probably removed altogether for > subsequent releases. > > So, if you plan to upgrade (and avo

Re: [uml-user] blockdevice performance

2005-03-05 Thread Sven Köhler
has anybody compared the performance of UML's built-in blockdevice, NetworkBlockDevices, ATAoverEthernet, yet? I don't know how UML's blockdevice works, but i know how NBD works. The kernel sends multiple requests to the NBD server, and receives the responses asap. The worse case for UML's block-de

[uml-user] blockdevice performance

2005-03-03 Thread Sven Köhler
Hi, has anybody compared the performance of UML's built-in blockdevice, NetworkBlockDevices, ATAoverEthernet, yet? I don't know how UML's blockdevice works, but i know how NBD works. The kernel sends multiple requests to the NBD server, and receives the responses asap. The worse case for UML's

Re: [uml-user] how can i do a _real_ check of the rootfs?

2005-01-12 Thread Sven Köhler
Btw, why don't you do the check on the host? Real probleems or will to do it properly? Thx for the answer, but i just klicked the wrong "newsgroup" in my mozilla. The mail was ment to go to gentoo-user mailinglist. About /forcefsck, maybe it ignores it if /halt or something like that is absent

Re: [uml-user] how can i do a _real_ check of the rootfs?

2005-01-12 Thread Sven Köhler
I was talking about a real system without UML, and the problem is, that even with "mount -f -o remount,ro /" fsck.reiserfs still think that the rootfs is mounted writable. I don't know why. mount shows "ro", but that might not mean that much. Check inside /proc/mounts, it's reliable (rootfs is alwa

Re: [uml-user] how can i do a _real_ check of the rootfs?

2005-01-12 Thread Sven Köhler
Btw, why don't you do the check on the host? Real probleems or will to do it properly? Thx for the answer, but i just klicked the wrong "newsgroup" in my mozilla. The mail was ment to go to gentoo-user mailinglist. I was talking about a real system without UML, and the problem is, that even wit

Re: [uml-user] how can i do a _real_ check of the rootfs?

2005-01-12 Thread Sven Köhler
whoops, that mail was ment for the gentoo user mailinglist. --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.think

[uml-user] how can i do a _real_ check of the rootfs?

2005-01-12 Thread Sven Köhler
hi, it seems that the rootfs (a reiserfs) is damanged. I thought that i just have to create the file /forcefsck so that /etc/init.d/checkroot will run fsck on the filesystem, but the command that is executed is "fsck -C -a -f", but that command doesn't check the filesystem if it is a reiserfs.

Re: [uml-user] Best 2.6 series UML guest kernel at the moment?

2005-01-11 Thread Sven Köhler
I am wondering what is the best 2.6 series UML guest kernel at the moment. Somehow I was under the impression that vanilla 2.6.10 should be okay, but after BlaisorBlade's comment, I'm not so sure. The best host kernel is a 2.4 + SKAS3-v3, the best guest kernel is 2.6.9-bb4. I've not tested plain 2

Re: [uml-user] building gentoo stage1 inside a uml

2004-12-07 Thread Sven Köhler
Hey gang, just thought I would post this quick and dirty on how to build gentoo from stage 1 inside of a 2.6.9-bb4 UML. BTW, the bb4 patch seems to be really solid. I haven't run into a single issue with it thus far. I have a script that builds a stage1-gentoo inside a chroot on the host. That