You can subscribe to this list here.
| 1999 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(15) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2000 |
Jan
(6) |
Feb
(1) |
Mar
(39) |
Apr
(13) |
May
(24) |
Jun
(11) |
Jul
(23) |
Aug
(85) |
Sep
(12) |
Oct
(103) |
Nov
(79) |
Dec
(112) |
| 2001 |
Jan
(52) |
Feb
(82) |
Mar
(84) |
Apr
(65) |
May
(105) |
Jun
(188) |
Jul
(174) |
Aug
(182) |
Sep
(103) |
Oct
(137) |
Nov
(143) |
Dec
(98) |
| 2002 |
Jan
(258) |
Feb
(236) |
Mar
(386) |
Apr
(307) |
May
(238) |
Jun
(170) |
Jul
(252) |
Aug
(230) |
Sep
(278) |
Oct
(394) |
Nov
(336) |
Dec
(194) |
| 2003 |
Jan
(290) |
Feb
(182) |
Mar
(175) |
Apr
(220) |
May
(209) |
Jun
(286) |
Jul
(279) |
Aug
(164) |
Sep
(208) |
Oct
(324) |
Nov
(204) |
Dec
(380) |
| 2004 |
Jan
(344) |
Feb
(332) |
Mar
(395) |
Apr
(357) |
May
(349) |
Jun
(352) |
Jul
(279) |
Aug
(269) |
Sep
(374) |
Oct
(442) |
Nov
(428) |
Dec
(253) |
| 2005 |
Jan
(225) |
Feb
(219) |
Mar
(245) |
Apr
(249) |
May
(203) |
Jun
(157) |
Jul
(171) |
Aug
(194) |
Sep
(200) |
Oct
(232) |
Nov
(190) |
Dec
(195) |
| 2006 |
Jan
(158) |
Feb
(190) |
Mar
(235) |
Apr
(161) |
May
(134) |
Jun
(169) |
Jul
(117) |
Aug
(161) |
Sep
(170) |
Oct
(297) |
Nov
(230) |
Dec
(205) |
| 2007 |
Jan
(197) |
Feb
(132) |
Mar
(151) |
Apr
(97) |
May
(109) |
Jun
(99) |
Jul
(57) |
Aug
(110) |
Sep
(56) |
Oct
(119) |
Nov
(39) |
Dec
(45) |
| 2008 |
Jan
(101) |
Feb
(116) |
Mar
(141) |
Apr
(98) |
May
(133) |
Jun
(61) |
Jul
(43) |
Aug
(76) |
Sep
(20) |
Oct
(32) |
Nov
(22) |
Dec
(41) |
| 2009 |
Jan
(35) |
Feb
(15) |
Mar
(18) |
Apr
(13) |
May
(13) |
Jun
(26) |
Jul
(12) |
Aug
(32) |
Sep
(21) |
Oct
(41) |
Nov
(35) |
Dec
(12) |
| 2010 |
Jan
(3) |
Feb
(35) |
Mar
(28) |
Apr
(20) |
May
(5) |
Jun
(14) |
Jul
(6) |
Aug
(8) |
Sep
(20) |
Oct
(20) |
Nov
(10) |
Dec
(12) |
| 2011 |
Jan
(14) |
Feb
(10) |
Mar
(14) |
Apr
(14) |
May
(13) |
Jun
(43) |
Jul
(13) |
Aug
(50) |
Sep
(30) |
Oct
(23) |
Nov
(15) |
Dec
(49) |
| 2012 |
Jan
(15) |
Feb
(28) |
Mar
(7) |
Apr
|
May
(12) |
Jun
(13) |
Jul
(28) |
Aug
(11) |
Sep
(19) |
Oct
(27) |
Nov
(5) |
Dec
(25) |
| 2013 |
Jan
(18) |
Feb
(19) |
Mar
(56) |
Apr
(26) |
May
(38) |
Jun
(24) |
Jul
(42) |
Aug
(24) |
Sep
(4) |
Oct
(3) |
Nov
(18) |
Dec
(4) |
| 2014 |
Jan
(10) |
Feb
(9) |
Mar
(3) |
Apr
|
May
(12) |
Jun
(34) |
Jul
(8) |
Aug
(18) |
Sep
(3) |
Oct
(27) |
Nov
(2) |
Dec
(1) |
| 2015 |
Jan
|
Feb
(10) |
Mar
(49) |
Apr
(2) |
May
(4) |
Jun
(7) |
Jul
(1) |
Aug
(17) |
Sep
(7) |
Oct
(35) |
Nov
(40) |
Dec
(4) |
| 2016 |
Jan
(9) |
Feb
|
Mar
(6) |
Apr
|
May
(10) |
Jun
(2) |
Jul
|
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
(1) |
| 2017 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
(4) |
May
(31) |
Jun
(9) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(2) |
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: richard -r. w. <ric...@gm...> - 2012-02-15 21:42:56
|
On Wed, Feb 15, 2012 at 9:47 PM, Antoine Martin <an...@na...> wrote: > On 01/21/2012 07:14 AM, richard -rw- weinberger wrote: >> On Thu, Jan 19, 2012 at 7:41 PM, Antoine Martin <an...@na...> wrote: >>> On 01/19/2012 10:01 PM, richard -rw- weinberger wrote: >>>> On Thu, Jan 19, 2012 at 3:23 PM, Nick Cripps <nic...@gm...> wrote: >>>>> I saw this thread: >>>>> http://sourceforge.net/mailarchive/forum.php?thread_name=CAFLxGvz2wdfRtryzJ1t0G11rxzOmhdNEVi6A%3DXS5uLG0PA7VAQ%40mail.gmail.com&forum_name=user-mode-linux-user >>>>> which seems to indicate that SKAS3 isn't being maintained but mentions >>>>> SKAS0. Can anyone tell me what SKAS0 is, what the disadvantages >>>>> compared to SKAS3 are and, where I can get a patch for it? >>>> >>>> SKAS0 is in mainline and it's default for UML. >>>> (The old tt-mode is gone.) >>>> >>>> SKAS0 is mostly SKAS3 but completely different implemented. >>>> >>>> And yeah, it's time to clean up the UML website. >>>> I have write-access to http://user-mode-linux.sourceforge.net/. >>>> Maybe we can combine it with http://uml.devloop.org.uk/. >>>> Antoine, what do you think? >>> Sure, it might be worth adding a FAQ, that sort of thing. >>> I could setup a trac/wiki if that's any help? >>> >> >> I'm not sure what the best (and easiest) solution is. >> >> We could use a hosted wiki from sourceforge.net and redirect >> http://user-mode-linux.sourceforge.net/index.html to it, >> such that all old links to http://user-mode-linux.sourceforge.net/* don't break. >> > I've started re-organizing and adding a FAQ: > http://uml.devloop.org.uk/faq.html > There's a lot of content spread out everywhere, plus I'm scouring the > mailing list for gems I know I have read but forgot to save.. > This is going to take some time. It is a good idea to keep the old links > in place, there is a lot of information there, even if quite a large > portion of it is either outdated or no longer relevant.. > Very nice! Am I also allowed to edit the FAQ? -- Thanks, //richard |
|
From: Antoine M. <an...@na...> - 2012-02-15 20:48:02
|
On 01/21/2012 07:14 AM, richard -rw- weinberger wrote: > On Thu, Jan 19, 2012 at 7:41 PM, Antoine Martin <an...@na...> wrote: >> On 01/19/2012 10:01 PM, richard -rw- weinberger wrote: >>> On Thu, Jan 19, 2012 at 3:23 PM, Nick Cripps <nic...@gm...> wrote: >>>> I saw this thread: >>>> http://sourceforge.net/mailarchive/forum.php?thread_name=CAFLxGvz2wdfRtryzJ1t0G11rxzOmhdNEVi6A%3DXS5uLG0PA7VAQ%40mail.gmail.com&forum_name=user-mode-linux-user >>>> which seems to indicate that SKAS3 isn't being maintained but mentions >>>> SKAS0. Can anyone tell me what SKAS0 is, what the disadvantages >>>> compared to SKAS3 are and, where I can get a patch for it? >>> >>> SKAS0 is in mainline and it's default for UML. >>> (The old tt-mode is gone.) >>> >>> SKAS0 is mostly SKAS3 but completely different implemented. >>> >>> And yeah, it's time to clean up the UML website. >>> I have write-access to http://user-mode-linux.sourceforge.net/. >>> Maybe we can combine it with http://uml.devloop.org.uk/. >>> Antoine, what do you think? >> Sure, it might be worth adding a FAQ, that sort of thing. >> I could setup a trac/wiki if that's any help? >> > > I'm not sure what the best (and easiest) solution is. > > We could use a hosted wiki from sourceforge.net and redirect > http://user-mode-linux.sourceforge.net/index.html to it, > such that all old links to http://user-mode-linux.sourceforge.net/* don't break. > I've started re-organizing and adding a FAQ: http://uml.devloop.org.uk/faq.html There's a lot of content spread out everywhere, plus I'm scouring the mailing list for gems I know I have read but forgot to save.. This is going to take some time. It is a good idea to keep the old links in place, there is a lot of information there, even if quite a large portion of it is either outdated or no longer relevant.. Antoine |
|
From: Srivatsa S. B. <sri...@li...> - 2012-02-15 09:19:13
|
On 02/15/2012 10:28 AM, Rusty Russell wrote: > From: Rusty Russell <ru...@ru...> > > This has been obsolescent for a while; time for the final push. > > Signed-off-by: Rusty Russell <ru...@ru...> > Cc: use...@li... > --- Reviewed-by: Srivatsa S. Bhat <sri...@li...> Regards, Srivatsa S. Bhat |
|
From: Rusty R. <ru...@ru...> - 2012-02-15 05:00:20
|
From: Rusty Russell <ru...@ru...>
This has been obsolescent for a while; time for the final push.
Signed-off-by: Rusty Russell <ru...@ru...>
Cc: use...@li...
---
arch/um/kernel/skas/process.c | 2 +-
arch/um/kernel/smp.c | 9 ++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/arch/um/kernel/skas/process.c b/arch/um/kernel/skas/process.c
--- a/arch/um/kernel/skas/process.c
+++ b/arch/um/kernel/skas/process.c
@@ -41,7 +41,7 @@ static int __init start_kernel_proc(void
cpu_tasks[0].pid = pid;
cpu_tasks[0].task = current;
#ifdef CONFIG_SMP
- cpu_online_map = cpumask_of_cpu(0);
+ init_cpu_online(get_cpu_mask(0));
#endif
start_kernel();
return 0;
diff --git a/arch/um/kernel/smp.c b/arch/um/kernel/smp.c
--- a/arch/um/kernel/smp.c
+++ b/arch/um/kernel/smp.c
@@ -76,7 +76,7 @@ static int idle_proc(void *cpup)
cpu_relax();
notify_cpu_starting(cpu);
- cpu_set(cpu, cpu_online_map);
+ set_cpu_online(cpu, true);
default_idle();
return 0;
}
@@ -110,8 +110,7 @@ void smp_prepare_cpus(unsigned int maxcp
for (i = 0; i < ncpus; ++i)
set_cpu_possible(i, true);
- cpu_clear(me, cpu_online_map);
- cpu_set(me, cpu_online_map);
+ set_cpu_online(me, true);
cpu_set(me, cpu_callin_map);
err = os_pipe(cpu_data[me].ipi_pipe, 1, 1);
@@ -138,13 +137,13 @@ void smp_prepare_cpus(unsigned int maxcp
void smp_prepare_boot_cpu(void)
{
- cpu_set(smp_processor_id(), cpu_online_map);
+ set_cpu_online(smp_processor_id(), true);
}
int __cpu_up(unsigned int cpu)
{
cpu_set(cpu, smp_commenced_mask);
- while (!cpu_isset(cpu, cpu_online_map))
+ while (!cpu_online(cpu))
mb();
return 0;
}
|
|
From: Riccardo M. <ric...@gm...> - 2012-02-14 16:28:00
|
Hello, On Tue, Feb 14, 2012 at 13:25, Ritesh Raj Sarraf <rr...@re...> wrote: > Is there a particular format of the root image that UML uses? > It's the "raw" image format. Using the KVM tools, you can create one with "qemu-img create -f raw". Otherwise just use "dd" as in: # create a 2GB raw disk image dd if=/dev/zero of=my_uml_disk.img bs=1m count=2048 > 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. > Probably the simplest approach is to use KVM or VirtualBox to install to partition the disk and install the OS on it. Then you just pick a UML kernel compatible with the OS on the disk image and start it. (I'm not sure VirtualBox can handle "raw" images, though.) Use LABEL= or UUID= lines in /etc/fstab, or you'll run into troubles as different virtualization systems use different device names for the emulated disk (e.g., "/dev/ubda" vs. "/dev/xvda" vs. "/dev/sda" etc.) Best regards, Riccardo |
|
From: Antoine M. <an...@na...> - 2012-02-14 15:58:08
|
On 02/14/2012 07:25 PM, Ritesh Raj Sarraf wrote: > Hello List, > > Is there a particular format of the root image that UML uses? See block devices here: http://user-mode-linux.sourceforge.net/configure.html As for partition tables and filesystem types, UML is a Linux kernel so it will support whatever you compile in. > 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. KVM can work with raw disks too, not sure about the others but you can use their disk tools to convert to and from raw disks. More info here: http://fs.devloop.org.uk/ > 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. Won't work. UML doesn't know what a VDI image is (or vmdk or whatever) > Does UML understand the partitions in an image? This has nothing to do with the partitions, it's the disk format. > Meanwhile I'll try with a partition-less image. Won't help. Cheers Antoine > > > Ritesh |
|
From: Ritesh R. S. <rr...@re...> - 2012-02-14 12:38:31
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJPOlKtAAoJEKY6WKPy4XVpNW4QAIctyZhdsVKA/2qE97aIlGGL eCaf0DNsBcg2xP+i+RiozlNsvKlhLYaKGRVDBP/3ycIqhNNRICW5KA5u7dM3QIjk vBMGk2fGjqks6O+12r6oy4Q1DdRvNp/zNP660mUomyxs+NFYGfcw7JhHeoxItzqX /3/joUBYRuAse1cGCmqQTjF2FNwyMFjV7iUSADep7WQEDuDM4UlTv74fp4EWn+gE MJduAolf/NvtWPJ6hwj1wQwxsBH0jllfTmsmUJ3QGv6e4IG3h/ab2qnIgh1SE7uH Dh8n8G46Vv8zQSep8GCPc9ZapUfnAToVpKb676D9q8W7gcV13Y8ctTvKD3zswM1o k/87ys/RQFILD6dHfw8vBMTusDgViY2aGYbylybQfSftEszIgL+lTcciJ2UIcIeT TMAlZk60jBVmC1tPvFPySPDKTtEjr3QChE1xd0jdzDeDu9+51Vetys+vHBskaMVO Gn5rFPu3Fr34jUSVVDkBgWfMa+A2XSwJkhJqgdc5HtKUaB7lJSqwqJAGd2I1zd8h tKlZ1gX3+110+G9bN3H7EljKV37ejyC5tng6SBqgRivbok4lM2cApd5F7Wc2YZMY Ayi4TTW/cGuOb8RsxNH8QIG+YLm5Wv3iXzZKoZ3ErX8Vfc+6GUVVhGxg+nIjl+4f ByYx58grDInkUOdRZa+c =ZatO -----END PGP SIGNATURE----- |
|
From: richard -r. w. <ric...@gm...> - 2012-02-14 09:10:24
|
On Tue, Feb 14, 2012 at 4:08 AM, Joakim Arfvidsson <jo...@ar...> wrote: > To debug, I ran UML in gdb. It segfaulted once during finding the bottom > limit, which is expected I guess. gdb has to ignore UML's SIGSEGV. UML is using it to handle page faults. Type "handle SIGSEGV noprint nostop pass" into gdb. > I then interrupted it a couple of times while hanging on finding the top. > All interrupts hit the same line of code in task_size.c, so I think it's > stuck on the single line. > > line 32 > in http://lxr.free-electrons.com/source/arch/x86/um/os-Linux/task_size.c > n = *address; > > Does this tell you anything? > Not really. :( -- Thanks, //richard |
|
From: Joakim A. <jo...@ar...> - 2012-02-14 03:08:13
|
To debug, I ran UML in gdb. It segfaulted once during finding the bottom limit, which is expected I guess. I then interrupted it a couple of times while hanging on finding the top. All interrupts hit the same line of code in task_size.c, so I think it's stuck on the single line. line 32 in http://lxr.free-electrons.com/source/arch/x86/um/os-Linux/task_size.c n = *address; Does this tell you anything? Locating the bottom of the address space ... Program received signal SIGSEGV, Segmentation fault. 0x08078b9b in page_ok (page=<value optimized out>) at arch/x86/um/os-Linux/task_size.c:32 32 arch/x86/um/os-Linux/task_size.c: No such file or directory. in arch/x86/um/os-Linux/task_size.c (gdb) c Continuing. 0x0 Locating the top of the address space ... ^C Program received signal SIGINT, Interrupt. 0x08078b9b in page_ok (page=<value optimized out>) at arch/x86/um/os-Linux/task_size.c:32 32 in arch/x86/um/os-Linux/task_size.c On Sun, Feb 12, 2012 at 3:41 PM, richard -rw- weinberger < ric...@gm...> wrote: > On Mon, Feb 13, 2012 at 12:29 AM, Joakim Arfvidsson > <jo...@ar...> wrote: > > Yes, the CPU is pegged while this is happening. I've left it for an hour > > with no results. > > > > I looked at that code and couldn't really see a good reason for it to > block > > forever, except if the address space was so large it took a long time to > get > > through. > > Can you please very this? > Just add a printf()... > > > The host kernel is 2.6.32-220.4.1.el6.i686 #1 SMP > > > > This is an Amazon EC2 instance, and I just found one hilarious workaround > > for this. If I remove the "user-data" from the instance, UML starts > working > > again. User-data is a string that EC2 makes available to the running > > instance as the response of an http request to a fake ip. > > > > ??? > > -- > Thanks, > //richard > |
|
From: Nicolas G. <nic...@un...> - 2012-02-13 13:54:55
|
Le 13/02/2012 11:34, richard -rw- weinberger a écrit : > On Mon, Feb 13, 2012 at 10:52 AM, Nicolas Greneche > <nic...@un...> wrote: >> Le 11/02/2012 13:03, richard -rw- weinberger a écrit : >> >>> On Thu, Feb 9, 2012 at 4:11 PM, Nicolas Greneche >>> <nic...@un...> wrote: >>>> >>>> Hi, >>>> >>>> I would like to create a SELinux aware UML. I compiled a ARCH=um kernel >>>> with SELinux activated. >>> >>> >>> Are you sure? >>> >> >> Really sure ;) > > I meant, are you sure you've enabled the correct SELinux settings? > CONFIG_DEFAULT_SECURITY is a tricky one... > That's it, I misunderstood this option. I changed from classic DAC to SELinux and it works. Thanks Richard for spotting me this configuration setting ! -- 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 |
|
From: richard -r. w. <ric...@gm...> - 2012-02-13 10:34:48
|
On Mon, Feb 13, 2012 at 10:52 AM, Nicolas Greneche <nic...@un...> wrote: > Le 11/02/2012 13:03, richard -rw- weinberger a écrit : > >> On Thu, Feb 9, 2012 at 4:11 PM, Nicolas Greneche >> <nic...@un...> wrote: >>> >>> Hi, >>> >>> I would like to create a SELinux aware UML. I compiled a ARCH=um kernel >>> with SELinux activated. >> >> >> Are you sure? >> > > Really sure ;) I meant, are you sure you've enabled the correct SELinux settings? CONFIG_DEFAULT_SECURITY is a tricky one... -- Thanks, //richard |
|
From: Nicolas G. <nic...@un...> - 2012-02-13 09:53:09
|
Le 11/02/2012 13:03, richard -rw- weinberger a écrit :
> On Thu, Feb 9, 2012 at 4:11 PM, Nicolas Greneche
> <nic...@un...> wrote:
>> Hi,
>>
>> I would like to create a SELinux aware UML. I compiled a ARCH=um kernel
>> with SELinux activated.
>
> Are you sure?
>
Really sure ;)
>> 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 ?
>>
>
> Just built a SELinux enabled UML kernel and booted FC16.
> SELinux seems to work.
> At least it stops me from doing anything as usual. ;-)
Thanks for your feedback, now I'm sure that it is possible. I will keep
on searching what I've done wrong.
Thank you again Richard !
>
> type=1400 audit(1328961679.588:10): avc: denied { entrypoint } for
> pid=666 comm="login" path="/bin/bash" dev="ubda" ino=3539
> scontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
> tcontext=system_u:object_r:unlabeled_t:s0 tclass=file
>
--
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
|
|
From: richard -r. w. <ric...@gm...> - 2012-02-12 23:41:29
|
On Mon, Feb 13, 2012 at 12:29 AM, Joakim Arfvidsson <jo...@ar...> wrote: > Yes, the CPU is pegged while this is happening. I've left it for an hour > with no results. > > I looked at that code and couldn't really see a good reason for it to block > forever, except if the address space was so large it took a long time to get > through. Can you please very this? Just add a printf()... > The host kernel is 2.6.32-220.4.1.el6.i686 #1 SMP > > This is an Amazon EC2 instance, and I just found one hilarious workaround > for this. If I remove the "user-data" from the instance, UML starts working > again. User-data is a string that EC2 makes available to the running > instance as the response of an http request to a fake ip. > ??? -- Thanks, //richard |
|
From: Joakim A. <jo...@ar...> - 2012-02-12 23:29:30
|
Yes, the CPU is pegged while this is happening. I've left it for an hour with no results. I looked at that code and couldn't really see a good reason for it to block forever, except if the address space was so large it took a long time to get through. The host kernel is 2.6.32-220.4.1.el6.i686 #1 SMP This is an Amazon EC2 instance, and I just found one hilarious workaround for this. If I remove the "user-data" from the instance, UML starts working again. User-data is a string that EC2 makes available to the running instance as the response of an http request to a fake ip. On Sun, Feb 12, 2012 at 3:08 PM, richard -rw- weinberger < ric...@gm...> wrote: > On Sun, Feb 12, 2012 at 9:23 PM, Joakim Arfvidsson > <jo...@ar...> wrote: > > 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! > > > > Is the UML process consuming CPU time at this point? > The calculation happens here: > arch/x86/um/os-Linux/task_size.c > > Which host kernel are you using? > > -- > Thanks, > //richard > |
|
From: richard -r. w. <ric...@gm...> - 2012-02-12 23:08:17
|
On Sun, Feb 12, 2012 at 9:23 PM, Joakim Arfvidsson <jo...@ar...> wrote: > 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! > Is the UML process consuming CPU time at this point? The calculation happens here: arch/x86/um/os-Linux/task_size.c Which host kernel are you using? -- Thanks, //richard |
|
From: Joakim A. <jo...@ar...> - 2012-02-12 20:23:55
|
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! |
|
From: richard -r. w. <ric...@gm...> - 2012-02-11 12:03:28
|
On Thu, Feb 9, 2012 at 4:11 PM, Nicolas Greneche
<nic...@un...> wrote:
> Hi,
>
> I would like to create a SELinux aware UML. I compiled a ARCH=um kernel
> with SELinux activated.
Are you sure?
> 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 ?
>
Just built a SELinux enabled UML kernel and booted FC16.
SELinux seems to work.
At least it stops me from doing anything as usual. ;-)
type=1400 audit(1328961679.588:10): avc: denied { entrypoint } for
pid=666 comm="login" path="/bin/bash" dev="ubda" ino=3539
scontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
tcontext=system_u:object_r:unlabeled_t:s0 tclass=file
--
Thanks,
//richard
|
|
From: richard -r. w. <ric...@gm...> - 2012-02-11 11:36:37
|
On Thu, Feb 9, 2012 at 3:14 PM, Riccardo Murri <ric...@gm...> wrote: > 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) > UML takes the timer tick from the host. But it has it's own timekeeping. But I have never used/needed NTP within UML. -- Thanks, //richard |
|
From: Cong W. <am...@re...> - 2012-02-10 05:42:16
|
Signed-off-by: Cong Wang <am...@re...> --- arch/um/kernel/skas/uaccess.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/kernel/skas/uaccess.c b/arch/um/kernel/skas/uaccess.c index 9fefd92..cd7df79 100644 --- a/arch/um/kernel/skas/uaccess.c +++ b/arch/um/kernel/skas/uaccess.c @@ -69,7 +69,7 @@ static int do_op_one_page(unsigned long addr, int len, int is_write, return -1; page = pte_page(*pte); - addr = (unsigned long) kmap_atomic(page, KM_UML_USERCOPY) + + addr = (unsigned long) kmap_atomic(page) + (addr & ~PAGE_MASK); current->thread.fault_catcher = &buf; @@ -82,7 +82,7 @@ static int do_op_one_page(unsigned long addr, int len, int is_write, current->thread.fault_catcher = NULL; - kunmap_atomic((void *)addr, KM_UML_USERCOPY); + kunmap_atomic((void *)addr); return n; } -- 1.7.7.6 |
|
From: Nicolas G. <nic...@un...> - 2012-02-09 15:30:32
|
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 |
|
From: Riccardo M. <ric...@gm...> - 2012-02-09 14:15:03
|
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 |
|
From: <cl...@cl...> - 2012-02-06 21:51:41
|
Hello, 172.20.113.137 for your uml would work, as it is in the same lan as your host, but you need to bridge your host's interface to the tap you have just created. Then if this worked, both your host and your uml would be able to access to your adsl router, BUT I have never been able to bridge (brctl from bridge-utils) a wlan interface to a tap. Last time I tried, the wifi interface could not be put in promiscious mode and it did not work. There are 2 alternatives to get the internet in an UML: 1 There should be an old software called slirp that can emulate an ip interface for your UML: Each TCP HTTP socket comes into the user world of your host, the data is extracted and put into emulated IP packets that penetrate into your UML machine as an IP flow with syn, synack and all TCP stuff. 2 There is cloonix, the slirp software (used also in qemu and in virtual box) has been rewriten and machines connect to the internet just like qemu machines. But cloonix supports UML machines. > 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* > > - Ignored: > 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@(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 > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > |
|
From: Riccardo M. <ric...@gm...> - 2012-02-06 20:41:01
|
Hi, On Mon, Feb 6, 2012 at 19:22, Saket Chawla <cha...@gm...> wrote: > Can someone help me with setting up networking in UML? There are several different ways of making the UML guest communicate with the host, each with its own strengths and weaknesses. The "old site" has a fairly comprehensive review of networking methods for UML, which explains how they differ: http://user-mode-linux.sourceforge.net/old/networking.html Since you're running Ubuntu, IMHO the easiest way to have the UML guest access the internet as a *client* is by use of the "slirp" program, which requires no root access. 1. Install the `slirp` package on the Ubuntu *host*: sudo apt-get install slirp 2. Run the UML guest with `eth0=slirp,,slirp-fullbolt`, e.g.: ./linux ubda=Debian-Squeeze-x86-root_fs umid=myuml mem=128m eth0=slirp,,slirp-fullbolt (You can also use `mconsole` to configure it in a running UML.) 3. Now configure the network in the Debian UML guest; as root edit the `/etc/network/interfaces` file so that it has the following content: # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or # /usr/share/doc/ifupdown/examples for more information. auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.0.2.15 netmask 255.255.0.0 up route add -net 0.0.0.0 dev eth0 up route add -net 0.0.0.0 gw 10.0.2.2 Then you can run the command: ifup eth0 and you should be able to access the net from inside the UML guest. Best regards, Riccardo |
|
From: Saket C. <cha...@gm...> - 2012-02-06 18:24:48
|
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@(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
|
|
From: Saket C. <cha...@gm...> - 2012-02-06 18:22:17
|
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*
- Ignored:
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@(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
|