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

[uml-user] 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

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

2005-01-12 Thread Blaisorblade
On Thursday 13 January 2005 04:50, Sven Köhler wrote: > > 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

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 Blaisorblade
On Thursday 13 January 2005 04:28, Sven Köhler wrote: > 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 t

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.

[uml-user] Why does hostfs use -o for the host path?

2005-01-12 Thread Dave Mielke
i'm curious: Why must one specify the host path for a hostfs mount via the options string (mount's -o option)? Why hasn't that string been left free for actual options (even if there aren't any yet)? Couldn't the host path be passed in via whatever route mount's first positional parameter takes jus

Re: [uml-user] Best way to reboot multi guest server

2005-01-12 Thread Jason Clark
I have set my UMLs up to have Control+Alt+Delete to be 'shutdown -h now'. I then have a script that, when I exectute a shutdown, first does a 'uml_mconsole $UML' cad for every running guest and then waits for 60 seconds. After 60 seconds, it looks for any remaining running UMLs and, if any rema

Re: [uml-user] ubd=mmap

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 15:46, Hegedus Gabor wrote: > Hi! > > How stable is the ubd=mmap option? Can I use it on a real server? No - that has been deprecated - in current UMLs it should even be removed. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-

Re: [uml-user] Exporting kernel symbols.

2005-01-12 Thread Blaisorblade
On Wednesday 12 January 2005 08:01, Dave Mielke wrote: > I need the kernel symbol "memcpy" exported. Should I be doing that in > "sys-i386/ksyms.c" or in "kernel/user_syms.c"? Well, it works in both cases - the more logical place for it is kernel/user_syms.c or (in recent 2.6) arch/um/os-Linux/use

[uml-user] 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

[uml-user] [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

[uml-user] 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

Re: [uml-user] uml hangs after a day or so

2005-01-12 Thread gboutwel
> I built my own uml kernel with the same config as the one that is > working, but still cannot bring up the network when using a kernel I > build myself. This means that I cannot turn off the CONFIG_UML_REAL_TIME_CLOCK > and have a network. Everything else seems to be working. I have tried > t

[uml-user] ubd=mmap

2005-01-12 Thread Hegedus Gabor
Hi! How stable is the ubd=mmap option? Can I use it on a real server? thanks HyGy --- 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,

Re: [uml-user] Best way to reboot multi guest server

2005-01-12 Thread Andreas Wohlfeld
On Wed, Jan 12, 2005 at 11:17:46PM +1300, Peter wrote: > The command run when cad is hit is handled by /etc/inittab. Change the > guest /etc/inittab entry for cad from shutdown -r (for reboot) to > shutdown -h (for halt, rather than reboot). > > [EMAIL PROTECTED] wrote: > >What is the best way

Re: [uml-user] Best way to reboot multi guest server

2005-01-12 Thread Nuutti Kotivuori
[EMAIL PROTECTED] wrote: > ( I have think about a mconsole with cad command but it reboot the > guest .. i need a shutdown command ) What we do is that we make sure that /etc/inittab specifies that the action for ctrl-alt-del is shutdown for each of the guests, and then just use mconsole cad on t

Re: [uml-user] Best way to reboot multi guest server

2005-01-12 Thread Peter
Hi. The command run when cad is hit is handled by /etc/inittab. Change the guest /etc/inittab entry for cad from shutdown -r (for reboot) to shutdown -h (for halt, rather than reboot). [EMAIL PROTECTED] wrote: Hi, i have Fedora core 2 Host ( 2.6.9 + skas3-v7 ) with many Guests ( Kernel 2.6.9 bb

[uml-user] Best way to reboot multi guest server

2005-01-12 Thread uml
Hi, i have Fedora core 2 Host ( 2.6.9 + skas3-v7 ) with many Guests ( Kernel 2.6.9 bb4 ).   What is the best way to do a mass shutdown of all Guests? I ask it because now i can't shut own my Host server wthout a mass corruption of Guests FS.   ( I have think about a mconsole with cad command

[uml-user] 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,/

[uml-user] Compile error in 2.6.11-rc1

2005-01-12 Thread Lorenzo Allegrucci
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -g -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -Iarch/um/include -I/usr/src/linux-2.6.9-um/arch/um/kernel/tt/include -I/usr/src/linux-2.6.9-um/arch/

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

2005-01-12 Thread Catalin(ux aka Dino) BOIE
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.6.10 as guest, but nobody has yet done it, it seems! I tested it. I think that the best till now is host: 2.6.10 + skas3-v7, guest: 2.6.10 plain. It works perfectly. I am looking for a stable ke