Re: [uml-user] ping -f blocks the select

2008-03-31 Thread vincent-perrier
It gets stuck by a ping -f from another uml with my clownix process in between both uml, transfering packets from one socket to the other. 1 When uml A does a ping -f to B, the select of B is completely blocked, I can ssh into B and look around without feeling latency, ps -ef dumps very fast a

[uml-user] Is it right?

2008-03-31 Thread fang zheng
hi: Are some signal handles added in the UML kernel ? In the UML kernel ,some added handles will call some functions in the host kernel by system calls which are provided by the host kernel,won't they? By which ,the UML kernel have something with the host kernel? Is it right? thanks very m

[uml-user] what is modified?

2008-03-31 Thread fang zheng
hi: To port linux kernel to linux host,the linux kernel must be modified. but what is modified? thanks very much. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about a

[uml-user] privileged signal handles

2008-03-31 Thread fang zheng
hi : The handles of dealing wih the signals of SIGSEGV ,SIGIO etc are privileged instructions . how to deal with the handles . Because they could not run on the host userspace. thanks very much. - Check out the new Source

Re: [uml-user] iptables question

2008-03-31 Thread Raul Lopez Nevot
> Can anyone please tell me what I'm missing. You have not the correct loadable modules for your kernel. If you have compiled your brand new kernel, with ARCH=um (I guess because it's last version), mount your root file system on host machine (mount root_fs /mnt -o loop), and install the modules c

Re: [uml-user] Various applications getting segfaults

2008-03-31 Thread Jeff Dike
On Mon, Mar 31, 2008 at 09:09:17AM -0400, Martin Grossman wrote: > My hosts (100) are all running 2.4.35 with skas3 and all UML patches. > My UMLs (guests) are all running 2.4.35 with all UML patches. I don't think you'll get much help with something as old as 2.4. I haven't touched 2.4 in year

Re: [uml-user] iptables question

2008-03-31 Thread Jeff Dike
On Sun, Mar 30, 2008 at 11:57:16PM -0700, kewlemer wrote: > iptables -L gives the following error - > -bash-3.2# iptables -L > WARNING: Error inserting x_tables > (/lib/modules/2.6.24/kernel/net/netfilter/x_tables.ko): Invalid module > format > FATAL: Error inserting ip_tables > (/lib/modules/2.6.2

Re: [uml-user] ping -f blocks the select

2008-03-31 Thread Jeff Dike
On Sun, Mar 30, 2008 at 01:18:09PM +0200, vincent-perrier wrote: > I am doing networking with ulm, and I have a pb, > on one machine I run a piece of software as under: > while (1) > { >tv.tv_sec = 1; >tv.tv_usec = 0; >select( 1, NULL, NULL, NULL, &tv ); >tell_time(); > } > I ge

Re: [uml-user] vm pts consoles showed in xterms

2008-03-31 Thread Jeff Dike
On Tue, Mar 25, 2008 at 04:24:37PM +0100, David Fernández wrote: > I have a question related to UML consoles showed inside xterm > windows. I hope somebody could help us on that. > > In latest versions of VNUML, we always start UML virtual machines > consoles using pts (with "con=null con0=pts" o

Re: [uml-user] can UML process talk to hardware directly?

2008-03-31 Thread Jeff Dike
On Tue, Mar 25, 2008 at 09:13:30PM -0400, Fei Liu wrote: > Hello, I have a problem here with Suse10.2 base installation running > kernel 2.6.18 but I need to use a usb-serial cable (ch341) supported > only in 2.6.24 later kernels. VMware has a feature that allows the guest > OS to talk to USB d

Re: [uml-user] inittab help

2008-03-31 Thread Jeff Dike
On Sat, Mar 29, 2008 at 05:31:14PM -0700, kewlemer wrote: > In a line like - > 1:2345:respawn:/sbin/getty 9600 tty1 > can anyone tell me what "9600" means? > > I'm asking this because in the UML book I found - > 3:2345:respawn:/sbin/getty 38400 tty1 It's a baud rate, and it's irrelevant for UML.

Re: [uml-user] what is annulled?

2008-03-31 Thread Jeff Dike
On Sat, Mar 29, 2008 at 11:51:38PM +0800, fang zheng wrote: > > What happens if execve("/bin/bash") is allowed to run on the host? > Sorry ,I don't know. Could you interpret it in detail? If execve("/bin/bash") is allowed to run on the host, it means the UML user has a shell on the host, and has b

Re: [uml-user] Local Devices question

2008-03-31 Thread Jeff Dike
On Mon, Mar 24, 2008 at 04:58:11PM +0100, Flavio wrote: > This is the strace result after modifying the corresponding line as you want. > ioctl(16, CDROMEJECT, 0x1) = -1 EIO (Input/output error) Now, if you straced eject at this point, you would see ioctl(, CDROMEJECT, 0x1)

[uml-user] Various applications getting segfaults

2008-03-31 Thread Martin Grossman
My hosts (100) are all running 2.4.35 with skas3 and all UML patches. My UMLs (guests) are all running 2.4.35 with all UML patches. I'm testing OSPF and PIMD (within the UMLs). Every UML boots fine and all applications start fine. All OSPFs converge, and all RPs and BSRs (PIMD) are fine. On

Re: [uml-user] Changing network device names

2008-03-31 Thread Will Morton
On 29/03/2008, Adam Snodgrass <[EMAIL PROTECTED]> wrote: > > The simplest way to deal with this is to remove the following files (or > otherwise prevent udev from reading them, particularly the z45* link): > > /etc/udev/rules.d/z25_persistent-net.rules > /etc/udev/rules.d/z45_persistent-net-gen

Re: [uml-user] iptables question

2008-03-31 Thread kewlemer
On 3/30/08, kewlemer <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm running 2.6.24 UML kernel and Fedora AMD64 filesystem from > http://uml.nagafix.co.uk/. > I forgot to add that its Fedora 8 AMD64 filesystem. Thanks, KM - Ch