Toralf Förster | 25 May 21:33
Picon
Picon

[uml-user] linux-v3.4-7644-g07acfc2 core dumped (not reliable)

Hello,

the current git kernel gave a core dump. The 2nd try to start my user
mode linuc image was fine. Nevertheless it follows the output at the
command line and the back trace.

Hope this helps :-)

...
io scheduler noop registered
io scheduler cfq registered (default)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk <at> qualcomm.com>
TCP: cubic registered
NET: Registered protocol family 17
Key type dns_resolver registered
initlevel:7=late, 21 registered initcalls
Initialized stdio console driver
Console initialized on /dev/tty0
                                console [tty0] enabled, bootconsole disabled
console [tty0] enabled, bootconsole disabled
                                            Initializing software serial
port version 1
console [mc-1] enabled
 ubda: unknown partition table
 ubdb: unknown partition table
Netdevice 0 (7a:cf:14:11:67:01) :
TUN/TAP backend -
kjournald starting.  Commit interval 5 seconds
EXT3-fs (ubda): mounted filesystem with ordered data mode
(Continue reading)

Toralf Förster | 15 May 20:42
Picon
Picon

[uml-user] mv failed, file away

I've mounted within a UML (jhostname is: n22_uml) the host files system
onto /mnt/n22/.

Now the following appears :

n22_uml ~ # touch test
n22_uml ~ # ls -l test
-rw-r--r-- 1 root root 0 May 15 20:40 test
n22_uml ~ # mv test /mnt/n22/tmp
mv: failed to preserve ownership for ‘/mnt/n22/tmp/test’: Operation not
permitted
n22_uml ~ # ls -l test
ls: cannot access test: No such file or directory

I'd expect, that in this case the file isn't removed, or ?

--

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Riccardo Murri | 9 May 11:35
Picon
Gravatar

[uml-user] UML not shutting down due to "task killall5 blocked for more than 120 seconds"

Hello,

we're having issues with a UML machine that refuses to shut down: the
halt sequence commences and then we get the following kernel error
message and backtrace:

    Asking all remaining processes to terminate...
    INFO: task killall5:5269 blocked for more than 120 seconds.
    [ 1080.320000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
    [ 1080.320000] killall5        D 00000000405070c3     0  5269
5266 0x00000000
    [ 1080.320000] 93d84c08 9354d288 9354ce38 6063e550 9200bc28
6001a7f3 93d84780 92008000
    [ 1080.320000]        92008000 93d84780 9200bc88 604345ad 9200bc48
9354ce00 9200bc88 92008000
    [ 1080.320000]        00000001 93d84780 93588060 00000001
ffffffffffffffff 00000000 9200bce8 604357cd
    [ 1080.320000] Call Trace:
    [ 1080.320000] 9200bc00:  [<6001a7f3>] _switch_to+0x5e/0xae
    [ 1080.320000] 9200bc30:  [<604345ad>] schedule+0x240/0x27a
    [ 1080.320000] 9200bc90:  [<604357cd>] rwsem_down_failed_common+0xb8/0xd8
    [ 1080.320000] 9200bcf0:  [<60435814>] rwsem_down_read_failed+0x12/0x14
    [ 1080.320000] 9200bd00:  [<6002ecec>] call_rwsem_down_read_failed+0x14/0x24
    [ 1080.320000] 9200bd48:  [<60434fc2>] down_read+0x11/0x13
    [ 1080.320000] 9200bd58:  [<6007a6ec>] access_process_vm+0x45/0x147
    [ 1080.320000] 9200bdc8:  [<600cdd13>] proc_pid_cmdline+0x65/0xf9
    [ 1080.320000] 9200be18:  [<600cf298>] proc_info_read+0x68/0xcb
    [ 1080.320000] 9200be68:  [<6008f2c7>] vfs_read+0xa7/0x155
    [ 1080.320000] 9200bea8:  [<6008f42e>] sys_read+0x45/0x6c
(Continue reading)

Arthur Lambert | 9 Mar 11:25
Picon

[uml-user] coverage in linux kernel with gcov under uml ?

Hi,

I am using UML virtualization with cloonix. I have a kernel module to test with gcov.
So I need to do coverage in linux kernel with uml.

I read some information on gcov with uml on your website, but you only talk about gcov in user space.

Can i do coverage on a module kernel with uml ?

Currently, I build a custom uml linux with configure that you can find here:
https://docs.google.com/document/pub?id=1yqr4XlDNyou0mRTtjhoQhWjhSZI6Mi8UY9w1ruYIYWY

the kernel version that I use is 3.0.9.

The problem is, when i try to mount debugfs wirth:
mount -t debugfs none /sys/kernel/debug, gcov debugfs is not mounted.

In a normal way, this command must mount a folder gcov in /sys/kernel/debug.

Someone have a solution for me ?

My apologize for my English
Thanks in advance,

Arthur Lambert.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Riccardo Murri | 7 Mar 17:19
Picon
Gravatar

[uml-user] suspend-to-disk support in UML?

Hello,

Is there any kind of support for suspend-to-disk functionality for
UML? (already available or being worked on or planned?)

I understand there used to be some kind of support[1] for it in the
past, but its development seems to have ended some years ago.

[1]: http://sourceforge.net/projects/sbuml/

Thanks,
Riccardo

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Ritesh Raj Sarraf | 14 Feb 13:25
Favicon
Gravatar

[uml-user] UML root image sharing


Hello List,

Is there a particular format of the root image that UML uses?

My intent is to have one single image and use it across all different
virtualizations, i.e. use the same image with UML, VirtualBox, KVM etc.

I tried to boot with the VirtualBox vdi image but UML paniced stating
that it couldn't mount a file system off of that image. It was a
single partitioned root file system with no /boot or swap.

Does UML understand the partitions in an image?

Meanwhile I'll try with a partition-less image.

Ritesh

--

-- 
Given the large number of mailing lists I follow, I request you to CC me
in replies for quicker response
Joakim Arfvidsson | 12 Feb 21:23
Favicon

[uml-user] uml stuck on "Locating the top of the address space"

It finds the bottom address, but is stuck forever on top address.

This is all on an Amazon EC2 instance (so it's running within some Xen vm). Host is running 32 bit RedHat.

Command line and results:

> ./kernel32-3.2.5 -v ubda=/tmp/cow4:Debian-Squeeze-x86-root_fs mem=256m
Locating the bottom of the address space ... 0x0
Locating the top of the address space ... 

Freaky thing is that this was working fine on the same machine yesterday, but started failing today. Now fails consistently, never getting farther than here. I can't think of anything I changed about the setup.

Any help appreciated!

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Nicolas Greneche | 9 Feb 16:11
Picon
Favicon

[uml-user] SELinux inside a UML

Hi,

I would like to create a SELinux aware UML. I compiled a ARCH=um kernel 
with SELinux activated.

The UML starts but SELinux seems to be disabled. Libselinux is installed 
so I have userspace tools to check selinux availability and mode 
(permissive, targeted or strict).

Does somebody have a positive feedback about putting SELinux inside a UML ?

Regards,

--

-- 
Nicolas Grenèche

Centre de Ressources Informatiques
Université Paris NORD / UP13
99, avenue Jean-Baptiste Clément
93430 Villetaneuse

Tel : 01 49 40 40 35
Fax : 01 48 22 81 50

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Riccardo Murri | 9 Feb 15:14
Picon
Gravatar

[uml-user] do UML guests need NTP?

Hello,

is NTP needed on UML VMs?

Or does the UML kernel take the time from the host kernel? (so it's
enough if the host runs NTP)

Thanks,
Riccardo

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Saket Chawla | 6 Feb 19:24
Picon

[uml-user] UML networking setup

Can someone help me with setting up networking in UML?

   I am running Ubuntu 10.10 over linux 2.6.35.32

   I am compiling from source
           linux-3.2.4.tar.bz2
           Debian-Squeeze-x86-root_fs.bz2

   Source build using commands

   make defconfig ARCH=um
   make mrproper ARCH=um
   make ARCH=um

   the UML is started using
             ./linux ubda=Debian-Squeeze-x86-root_fs  umid=myuml mem=128m

   with this i am able to navigate directories and create files/folders. So  UML begins to work

For networking

   my host networking is at
   wlan0     Link encap:Ethernet  HWaddr 00:16:44:a8:bf:39
             inet addr:172.20.113.136  Bcast:172.20.113.255  Mask:255.255.255.0

   So to set up networking i use the commands at host
          host : uml_mconsole myuml config eth0=tuntap,,,172.20.113.137

   in my UML window i see

   root <at> (none):~# Choosing a random ethernet address for device eth0
   Netdevice 0 (5a:66:7b:a0:86:d9) :
   TUN/TAP backend - IP = 172.20.113.137

and it is stuck at this point......

   my final aim is to be able to access internet using UML.

   Please let me know if you need any other information.
   Any help would be appreciated.

--

Thanks
Regards
Saket Chawla
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Nick Cripps | 21 Jan 00:56
Picon

[uml-user] Running 32bit binaries in a 64bit UML instance

Hi,
When running 'make menuconfig ARCH=uml' there is no 'Executable file
formats / Emulations' menu. I guess this makes sense since I guess
that only binaries that can be run on the host kernel can be run from
UML. Does this mean that if a x86_64 host kernel supports IA32
emulation then 32bit binaries can be run from inside the UML instance
as well? If so, does anything need to be enabled in the UML kernel
config to support it?

Cheers,
Nick

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Gmane