[uml-devel] uml_switch query

2005-01-12 Thread Adil Mujeeb, Noida
Hi, I have some questiosn related to uml switch 1. When we attach uml switch with tap device, what should be the command for it. I haev used: a) uml_switch -unix /tmp/uml1 -tap tap10 But when we configure the device of UML, its not working: uml_mconsole umid configure eth0=daemon,,unix,/

Re: [uml-devel] df -h and hostfs

2005-01-12 Thread stian
(ops, forgot reply-all) df -h inside UML: (/etc/mtab is symlinked to /proc/mounts) Filesystems Size Used Avail Use% Mounted on rootfs496M 11M 460M 3% / /dev/root 496M 11M 460M 3% / /dev/ubd/disc1/part1 187G 146G 33G 82% /a a

Re: [uml-devel] df -h and hostfs

2005-01-12 Thread Henrik Nordstrom
On Wed, 12 Jan 2005, Blaisorblade wrote: Yes, good idea... fixing it like you said will guarantee correct free space stats (apart for quotas) but not correct used-space and total-space stats (they would be possible only for humfs if it uses some accounting). It will be as good as if the root was NF

[uml-devel] [PATCH] Fix stack corruption

2005-01-12 Thread Jeff Dike
This patch fixes a long-standing problem in skas mode process creation. Chris Aker has been seeing it at linode, and found a way of reproducing it. Once I spotted the bug, I found an easier way: ping flood the UML from the host while running while true; do ls > /dev/null; done In 10-15

Re: [uml-devel] Re: UML fills /tmp irreversibly (2.6.9-bb4 on SuSE 9.2)

2005-01-12 Thread Armin M. Warda
On Tuesday 11 January 2005 17:58, Gerd Knorr wrote: > Once it is tested and confirmed that this patch actually fixes the > issue I can take care to put it into the suse kernel and get it > released with the next security update kernel. > [...] > So it would be nice if one of you guys can try that

Re: [uml-devel] How stable is hostfs (and UML in general)?

2005-01-12 Thread Michael Richardson
-BEGIN PGP SIGNED MESSAGE- > "Blaisorblade" == Blaisorblade <[EMAIL PROTECTED]> writes: Rob> Chapter 5 of current variants of LFS uses the host system to Rob> create a toolchain you can chroot into and build the final Rob> system with. Then in chapter 6, you build the fi

Re: [uml-devel] How stable is hostfs (and UML in general)?

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 17:55, Michael Richardson wrote: > > "Blaisorblade" == Blaisorblade <[EMAIL PROTECTED]> writes: > > Rob> Chapter 5 of current variants of LFS uses the host system to > Rob> create a toolchain you can chroot into and build the final > Rob> system with.

Re: [uml-devel] df -h and hostfs

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 12:48, [EMAIL PROTECTED] wrote: > (ops, forgot reply-all) > > df -h inside UML: (/etc/mtab is symlinked to /proc/mounts) > Filesystems Size Used Avail Use% Mounted on > rootfs496M 11M 460M 3% / > /dev/root 496M 11M 460M

[uml-devel] Fwd: Re: [uml-user] Exporting kernel symbols.

2005-01-12 Thread Blaisorblade
-- Forwarded Message -- Subject: Re: [uml-user] Exporting kernel symbols. Date: Wednesday 12 January 2005 18:39 From: Dave Mielke <[EMAIL PROTECTED]> To: Blaisorblade <[EMAIL PROTECTED]> [quoted lines by Blaisorblade on 2005/01/12 at 18:25 +0100] >However, that should be expo

Re: [uml-devel] [PATCH] Fix stack corruption

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 19:56, Jeff Dike wrote: > This patch fixes a long-standing problem in skas mode process creation. So, probably, unless confirmed otherwise, the problem with CONFIG_KMOD (when the kernel starts modprobe from a kernel thread) could be due to this bug... however, I'm no

Re: [uml-devel] uml_switch query

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 06:10, Adil Mujeeb, Noida wrote: > Hi, > I have some questiosn related to uml switch > 1. When we attach uml switch with tap device, what should be the command > for it. I haev used: >a) uml_switch -unix /tmp/uml1 -tap tap10 >But when we configure the device o

[uml-devel] process creep on host FC2, UML 2.4.27

2005-01-12 Thread Daniel Nurmi
Greetings, We're currently running a course using UML to do some kernel developement but have run into a confusing snag. Our host machines are pretty much stock Fedora (FC2) boxes running kernel 2.6.9-1.6_FC2smp and our UML kernels are 2.4.27 (clean kernel source, 2.4.27uml patch). When we sta

Re: [uml-devel] df -h and hostfs

2005-01-12 Thread stian
>> df -h inside UML: (/etc/mtab is symlinked to /proc/mounts) > >> Filesystems Size Used Avail Use% Mounted on >> rootfs496M 11M 460M 3% / >> /dev/root 496M 11M 460M 3% / >> /dev/ubd/disc1/part1 187G 146G 33G 82% /a >> a 7.3G

Re: [uml-devel] df -h and hostfs

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 19:22, [EMAIL PROTECTED] wrote: > >> df -h inside UML: (/etc/mtab is symlinked to /proc/mounts) > >> > >> Filesystems Size Used Avail Use% Mounted on > >> rootfs496M 11M 460M 3% / > >> /dev/root 496M 11M 460M 3% / > >> /d

Re: [uml-devel] process creep on host FC2, UML 2.4.27

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 20:08, Daniel Nurmi wrote: > Greetings, > > We're currently running a course using UML to do some kernel > developement but have run into a confusing snag. Our host machines > are pretty much stock Fedora (FC2) boxes running kernel > 2.6.9-1.6_FC2smp and our UML kernel

[uml-devel] Fwd: Re: [fuse-devel] Merging?

2005-01-12 Thread Blaisorblade
See what I found on LKML: ,--- Messaggio inoltrato (inizio) Oggetto: Re: [fuse-devel] Merging? Mittente: Miklos Szeredi <[EMAIL PROTECTED]> Data: Wed, 12 Jan 2005 15:51:27 +0100 Newsgroup: gmane.linux.kernel,gmane.comp.file-systems.fuse.devel > -You could implement several "no

RE: [uml-devel] uml_switch query

2005-01-12 Thread Adil Mujeeb, Noida
Thanks Paolo. i have done some testing & find out that command uml_switch -unix /tmp/uml1 -tap tap10 doesn't work as i wrote earlier but if i use the command uml_switch -tap tap10 -unix /tmp/uml1 it works fine. So may be the sequencing problem. It resolves my problem that default socket file is no

[uml-devel] About "jiffies" patch

2005-01-12 Thread Blaisorblade
Well, effectively your reasoning holds, apart for one point: the code should not hang because of that large INITIAL_JIFFIES. What we care about are only the value of jiffies relative to INITIAL_JIFFIES, indeed. In fact, that code works on 64-bit arch's. But INITIAL_JIFFIES is not 0 to make sure