Hi,

I'm experiencing a quite strange problem when trying to use iptables in 
UML virtual machines that also use pts consoles in a con0=.

In particular, in the case of booting using (note the 'con0=0)

# linux [...] con=null con0=pts

the virtual machine boots right, but if I issue a simple 'iptables -L' 
it hangs. Additionally, a top command in the host enviroment shows the 
linux process associated to the vm with a very high (closer to 100%) CPU 
usage.

However, same UML kernel, same filesystem, but using the following to boot:

# linux [...] con=null

In this case, accessing to vm (using for example the network) and 
issuing 'iptables -L' works fine.

Additionally, I've have discovered that pre-loading the iptables related 
modules at boot time (i.e., adding 'ip_tables' and 'iptable_nat' to 
/etc/modules in the vm filesystem) avoid the problem even in the case of 
using con0.

The problem is quite annoying, because of I understand that iptables and 
pts are two quite different functionalities (it's like if touching the 
rear-view mirror of your car would make the brakes to fail :). Is there 
any known incompatibility between them, please?

Any information or idea towards the solution of the problem (apart of 
adding the modules to /etc/modules, that more than a definitive solution 
is a workaround) or its debugging is really welcome... Maybe the UML 
kernel has to be compiled with specific options? (in that case a working 
.config would be very useful :)

Version information (please, don't hesitate to ask if you want to know 
anything more):

- UML kernel: 2.6.22.4
- Host kernel: 2.6.21-2-686 (Debian)

Thanks in advance!

Best regards,

--------------------
Fermín Galán Márquez
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya
Parc Mediterrani de la Tecnologia, Av. del Canal Olímpic s/n, 08860
Castelldefels, Spain
Room 1.02
Tel : +34 93 645 29 12
Fax : +34 93 645 29 01
Email address: fermin dot galan at cttc dot es

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to