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 W. <ri...@no...> - 2015-11-12 13:01:13
|
Am 12.11.2015 um 02:57 schrieb Balaco Baco: > On Wed, Nov 11, 2015, at 17:34, Richard Weinberger wrote: >> Am 11.11.2015 um 18:57 schrieb Balaco Baco: >>> Since I have no root access in the host machine, I must use 'slirp'. >>> Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from >>> source and pass the full path to UML in the command line, e.g.: >> >> Yes. >> >>> eth0=slirp,,/home/me/bin/ >> >> Documentation says: ethn=slirp,ethernet address,slirp path >> >> That said, the slirp tool is old and AFIAK unmaintained. >> qemu forked it a long time ago and has it integrated into its >> source. >> > > Documentation of UML also said that ethernet address is optional. I did > both ways, none worked (and it took me a few minutes and tries to find > out that not all MAC addresses are possible to use for a virtual machine > like UML; is this at least mentioned in some UML doc? It shouls, IMHO). > > So, is it possible that I run an UML with full Internet access, and > without having root access in the host machine? Or am I trying something > that from the start was not possible? > > If it is not possible, is it easy to set up some form of file sharing > between the host and UML machine? (again, this must *not* depend on host > root access!) As I said, if you don't have root on the host, you have to use slirp. Thanks, //richard |
|
From: Balaco B. <bal...@im...> - 2015-11-12 01:57:32
|
On Wed, Nov 11, 2015, at 17:34, Richard Weinberger wrote: > Am 11.11.2015 um 18:57 schrieb Balaco Baco: > > Since I have no root access in the host machine, I must use 'slirp'. > > Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from > > source and pass the full path to UML in the command line, e.g.: > > Yes. > > > eth0=slirp,,/home/me/bin/ > > Documentation says: ethn=slirp,ethernet address,slirp path > > That said, the slirp tool is old and AFIAK unmaintained. > qemu forked it a long time ago and has it integrated into its > source. > Documentation of UML also said that ethernet address is optional. I did both ways, none worked (and it took me a few minutes and tries to find out that not all MAC addresses are possible to use for a virtual machine like UML; is this at least mentioned in some UML doc? It shouls, IMHO). So, is it possible that I run an UML with full Internet access, and without having root access in the host machine? Or am I trying something that from the start was not possible? If it is not possible, is it easy to set up some form of file sharing between the host and UML machine? (again, this must *not* depend on host root access!) -- http://www.fastmail.com - Same, same, but different... |
|
From: Balaco B. <bal...@im...> - 2015-11-12 00:15:35
|
On Sat, Oct 31, 2015, at 05:46, Richard Weinberger wrote: > Am 31.10.2015 um 02:12 schrieb Balaco Baco: > > I do not have a final working step by step from zero until now. One is > > giving compiling errors. The working UML (unknown origin, I don't know > > how I made that before) + Debian64 downloaded (and how changed a bit > > after booting it)... but it has no network, and I don't know why is > > that. Can you tell? Not even a ping works: "Network is unreachable". The > > host machine is normal, of course. > > As with any virtual machine you need to connect your VM somehow to your > host. > tap is a common way. The website has instructions. Old, but still valid. > I just saw this unread message. And there is a few things to say about this one. :) Some old instructions in the website do not work. For example, the kernel version used there was not practical for me. And you also said it's too old - although I won't mind that fact alone. > > Basic question: how to shutdown a running UML? How are we suppose to do > > it? Running 'shutdown now' from that Debian does not turn it off. Must I > > open another SSH session to kill it, or just close the session if > > nothing else is needed? > > What about "poweroff"? As with any Linux. > I have never heard about poweroff. In all the years I have used linux (more than a decade) I always used shutdown to... to turn off the computer (I would say "to shutdown"... but that would be too funny here). Debian has poweroff too. It worked. :-/ (but I swear I never used it... and "shutdown now" always worked in real machines, to turn them off...) > > I'm used http://user-mode-linux.sourceforge.net/source.html as a base to > > what I have done (although I "updated" the suggested version there, as > > discussed before). And changed almost nothing in the default config > > before compiling... > > > > When I have something that works, that source.html page is easy to > > improve and needs many changes. Output of wget... not useful at all - we > > surely can assume users will know how to download and extract files, > > right? > > I assume that an user is able to build a kernel. > Fair enough. But I think that UML should be also aimed at users without much knowledge in kernel compilation because sometimes we could just want a virtual and easy, although safe, "root power". The reason why I'm trying to get UML to work right now is one of these cases. -- Balaco -- http://www.fastmail.com - Same, same, but different... |
|
From: Balaco B. <bal...@im...> - 2015-11-11 20:42:39
|
On Wed, Nov 11, 2015, at 17:34, Richard Weinberger wrote: > Am 11.11.2015 um 18:57 schrieb Balaco Baco: > > Since I have no root access in the host machine, I must use 'slirp'. > > Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from > > source and pass the full path to UML in the command line, e.g.: > > Yes. > > > eth0=slirp,,/home/me/bin/ > > Documentation says: ethn=slirp,ethernet address,slirp path > > That said, the slirp tool is old and AFIAK unmaintained. > qemu forked it a long time ago and has it integrated into its > source. > Slirp seems good enough. I have downloaded, compiled and installed it. And as detailed in the other message, now I'm stuck on how to use it to run with UML. If Qemu did this, why not doing it with UML too? Since the network setup may depend on it for many users (with use cases similar to mine, without root access in the host). -- http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow |
|
From: Richard W. <ri...@no...> - 2015-11-11 20:34:57
|
Am 11.11.2015 um 18:57 schrieb Balaco Baco: > Since I have no root access in the host machine, I must use 'slirp'. > Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from > source and pass the full path to UML in the command line, e.g.: Yes. > eth0=slirp,,/home/me/bin/ Documentation says: ethn=slirp,ethernet address,slirp path That said, the slirp tool is old and AFIAK unmaintained. qemu forked it a long time ago and has it integrated into its source. Thanks, //richard |
|
From: Balaco B. <bal...@im...> - 2015-11-11 19:28:32
|
On Wed, Nov 11, 2015, at 15:42, Balaco Baco wrote: > On Wed, Nov 11, 2015, at 14:57, Balaco Baco wrote: > > On Wed, Nov 11, 2015, at 14:29, Richard Weinberger wrote: > > > Am 11.11.2015 um 18:21 schrieb Balaco Baco: > > > > On Wed, Nov 11, 2015, at 14:07, Richard Weinberger wrote: > > > >> On Wed, Nov 11, 2015 at 6:04 PM, Balaco Baco <bal...@im...> wrote: > > > >>> On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: > > > >>>> On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: > > > >>>>> There is one details that did not work for me, but it was easy to "fix" > > > >>>>> (quotes because I'm not sure it is the best fix). But someone else may > > > >>>>> find it useful. > > > >>>>> > > > >>>>> Detailed steps so everyone can compare doing it, if needed: > > > >>>>> > > > >>>>>> 1. get one kernel source package from https://cdn.kernel.org/ > > > >>>>>> (I tried these steps with more than one option, searching for the older and more stable > > > >>>>>> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > > > >>>>> > > > >>>>>> 2. extract it. > > > >>>>> $ tar xJf ... > > > >>>>> $ cd lin<TAB> > > > >>>>> > > > >>>>>> 3. first step... > > > >>>>> $ make defconfig ARCH=um #uml1 > > > >>>>> > > > >>>>> *** Default configuration is based on 'x86_64_defconfig' > > > >>>>> kernel/time/Kconfig:157:warning: range is invalid > > > >>>>> # > > > >>>>> # configuration written to .config > > > >>>>> # > > > >>>>> > > > >>>>>> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe > > > >>>>> > > > >>>>> $ vim kernel/time/Kconfig # if it spitted a diff for line 157: > > > >>>>> - range 1 NR_CPUS > > > >>>>> + range 1 1 > > > >>>>> > > > >>>>>> So, again... > > > >>>>> # make defconfig ARCH=um #uml1 > > > >>>>> *** Default configuration is based on 'x86_64_defconfig' > > > >>>>> # > > > >>>>> # configuration written to .config > > > >>>>> # > > > >>>>> > > > >>>>>> So, assume the next steps have no problem, except that I don't know > > > >>>>>> how to make my UML access the Internet... this is in another > > > >>>>>> discussion, though > > > >>>>> > > > >>>>>> ... ? > > > >>>>> $ make menuconfig ARCH=um #uml2 > > > >>>>> > > > >>>>>> Build it > > > >>>>> $ make ARCH=um #uml3 uml4 uml5 > > > >>>>> > > > >>>>>> Run it now... but where is my Internet? :( hehehehe > > > >>>> > > > >>>> You did not configure a connection. > > > >>>> tuntap is a common method. > > > >>>> > > > >>> > > > >>> To add something like 'eth0=tuntap,,,192.168.1.100' to the command line > > > >>> is enough? Or I must change some config step that is not the default? > > > >> > > > >> Depends on your setup. > > > >> A common setup is " eth0=tuntap,tap0". > > > >> i.e. create a tap0 in your host and setup routing/ips. > > > >> > > > > > > > > I (yet) have no clue what a tap is. Searches¹ did not ring many clear > > > > bells for me. > > > > > > > > ¹https://duckduckgo.com/html/?q=uml+user+mode+linux+tuntap > > > > > > > > My setup is what I have showed here. I have a AMD64 Debian image > > > > (Debian-Wheezy-AMD64-root_fs). The compile config I have showed here (I > > > > did not change anything besides a few options of the given default, and > > > > most of the tries I did not do these changes). > > > > > > > > > > > > > > http://user-mode-linux.sourceforge.net/old/networking.html > > > https://en.wikipedia.org/wiki/TUN/TAP > > > > > > > Since I have no root access in the host machine, I must use 'slirp'. > > Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from > > source and pass the full path to UML in the command line, e.g.: > > > > eth0=slirp,,/home/me/bin/ > > > > > > Compiled slirp from source, installed it locally. > > Now I have two SSH sessions with the host. In the first one I run slirp > without arguments. I keep it running, its output is: > > ========= > $slirp > Slirp v1.0.16 (BETA) > > [...] > > IP address of Slirp host: 127.0.1.1 > IP address of your DNS(s): 999.888.7.66, 555.444.3.22 # the real DNS the > host uses > Your address is 10.0.2.15 > (or anything else you want) > > Type five zeroes (0) to exit. > > [autodetect SLIP/CSLIP, MTU 1500, MRU 1500, 115200 baud] > > SLiRP Ready ... > ========= > > In the other session, I boot the UML with: > > ./linux4.2.6 ubda=Debian-Wheezy-AMD64-root_fs mem=128M > eth0=slirp,,~/root/bin/slirp #uml6 > > But the network still don't work: > > ============ > $ping 123.122.1.21 > connect: Network is unreachable > $route add default dev eth0 #rede1 # taken from > http://user-mode-linux.sourceforge.net/old/networking.html Slirp section > SIOCADDRT: Network is down > $ > ============ > > I also tried it without running the slirp before, same result. I don't > know what to do here. > > Blindly tried: root@uml: ~$ ifup -a Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ slirp_tramp failed - errno = 2 RTNETLINK answers: No such file or directory Unsupported device type 256 for "eth0" Failed to bring up eth0. root@uml: ~$ -- http://www.fastmail.com - The professional email service |
|
From: Balaco B. <bal...@im...> - 2015-11-11 18:42:58
|
On Wed, Nov 11, 2015, at 14:57, Balaco Baco wrote: > On Wed, Nov 11, 2015, at 14:29, Richard Weinberger wrote: > > Am 11.11.2015 um 18:21 schrieb Balaco Baco: > > > On Wed, Nov 11, 2015, at 14:07, Richard Weinberger wrote: > > >> On Wed, Nov 11, 2015 at 6:04 PM, Balaco Baco <bal...@im...> wrote: > > >>> On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: > > >>>> On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: > > >>>>> There is one details that did not work for me, but it was easy to "fix" > > >>>>> (quotes because I'm not sure it is the best fix). But someone else may > > >>>>> find it useful. > > >>>>> > > >>>>> Detailed steps so everyone can compare doing it, if needed: > > >>>>> > > >>>>>> 1. get one kernel source package from https://cdn.kernel.org/ > > >>>>>> (I tried these steps with more than one option, searching for the older and more stable > > >>>>>> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > > >>>>> > > >>>>>> 2. extract it. > > >>>>> $ tar xJf ... > > >>>>> $ cd lin<TAB> > > >>>>> > > >>>>>> 3. first step... > > >>>>> $ make defconfig ARCH=um #uml1 > > >>>>> > > >>>>> *** Default configuration is based on 'x86_64_defconfig' > > >>>>> kernel/time/Kconfig:157:warning: range is invalid > > >>>>> # > > >>>>> # configuration written to .config > > >>>>> # > > >>>>> > > >>>>>> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe > > >>>>> > > >>>>> $ vim kernel/time/Kconfig # if it spitted a diff for line 157: > > >>>>> - range 1 NR_CPUS > > >>>>> + range 1 1 > > >>>>> > > >>>>>> So, again... > > >>>>> # make defconfig ARCH=um #uml1 > > >>>>> *** Default configuration is based on 'x86_64_defconfig' > > >>>>> # > > >>>>> # configuration written to .config > > >>>>> # > > >>>>> > > >>>>>> So, assume the next steps have no problem, except that I don't know > > >>>>>> how to make my UML access the Internet... this is in another > > >>>>>> discussion, though > > >>>>> > > >>>>>> ... ? > > >>>>> $ make menuconfig ARCH=um #uml2 > > >>>>> > > >>>>>> Build it > > >>>>> $ make ARCH=um #uml3 uml4 uml5 > > >>>>> > > >>>>>> Run it now... but where is my Internet? :( hehehehe > > >>>> > > >>>> You did not configure a connection. > > >>>> tuntap is a common method. > > >>>> > > >>> > > >>> To add something like 'eth0=tuntap,,,192.168.1.100' to the command line > > >>> is enough? Or I must change some config step that is not the default? > > >> > > >> Depends on your setup. > > >> A common setup is " eth0=tuntap,tap0". > > >> i.e. create a tap0 in your host and setup routing/ips. > > >> > > > > > > I (yet) have no clue what a tap is. Searches¹ did not ring many clear > > > bells for me. > > > > > > ¹https://duckduckgo.com/html/?q=uml+user+mode+linux+tuntap > > > > > > My setup is what I have showed here. I have a AMD64 Debian image > > > (Debian-Wheezy-AMD64-root_fs). The compile config I have showed here (I > > > did not change anything besides a few options of the given default, and > > > most of the tries I did not do these changes). > > > > > > > > > > http://user-mode-linux.sourceforge.net/old/networking.html > > https://en.wikipedia.org/wiki/TUN/TAP > > > > Since I have no root access in the host machine, I must use 'slirp'. > Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from > source and pass the full path to UML in the command line, e.g.: > > eth0=slirp,,/home/me/bin/ > > Compiled slirp from source, installed it locally. Now I have two SSH sessions with the host. In the first one I run slirp without arguments. I keep it running, its output is: ========= $slirp Slirp v1.0.16 (BETA) [...] IP address of Slirp host: 127.0.1.1 IP address of your DNS(s): 999.888.7.66, 555.444.3.22 # the real DNS the host uses Your address is 10.0.2.15 (or anything else you want) Type five zeroes (0) to exit. [autodetect SLIP/CSLIP, MTU 1500, MRU 1500, 115200 baud] SLiRP Ready ... ========= In the other session, I boot the UML with: ./linux4.2.6 ubda=Debian-Wheezy-AMD64-root_fs mem=128M eth0=slirp,,~/root/bin/slirp #uml6 But the network still don't work: ============ $ping 123.122.1.21 connect: Network is unreachable $route add default dev eth0 #rede1 # taken from http://user-mode-linux.sourceforge.net/old/networking.html Slirp section SIOCADDRT: Network is down $ ============ I also tried it without running the slirp before, same result. I don't know what to do here. -- http://www.fastmail.com - Does exactly what it says on the tin |
|
From: Balaco B. <bal...@im...> - 2015-11-11 17:57:29
|
On Wed, Nov 11, 2015, at 14:29, Richard Weinberger wrote: > Am 11.11.2015 um 18:21 schrieb Balaco Baco: > > On Wed, Nov 11, 2015, at 14:07, Richard Weinberger wrote: > >> On Wed, Nov 11, 2015 at 6:04 PM, Balaco Baco <bal...@im...> wrote: > >>> On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: > >>>> On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: > >>>>> There is one details that did not work for me, but it was easy to "fix" > >>>>> (quotes because I'm not sure it is the best fix). But someone else may > >>>>> find it useful. > >>>>> > >>>>> Detailed steps so everyone can compare doing it, if needed: > >>>>> > >>>>>> 1. get one kernel source package from https://cdn.kernel.org/ > >>>>>> (I tried these steps with more than one option, searching for the older and more stable > >>>>>> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > >>>>> > >>>>>> 2. extract it. > >>>>> $ tar xJf ... > >>>>> $ cd lin<TAB> > >>>>> > >>>>>> 3. first step... > >>>>> $ make defconfig ARCH=um #uml1 > >>>>> > >>>>> *** Default configuration is based on 'x86_64_defconfig' > >>>>> kernel/time/Kconfig:157:warning: range is invalid > >>>>> # > >>>>> # configuration written to .config > >>>>> # > >>>>> > >>>>>> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe > >>>>> > >>>>> $ vim kernel/time/Kconfig # if it spitted a diff for line 157: > >>>>> - range 1 NR_CPUS > >>>>> + range 1 1 > >>>>> > >>>>>> So, again... > >>>>> # make defconfig ARCH=um #uml1 > >>>>> *** Default configuration is based on 'x86_64_defconfig' > >>>>> # > >>>>> # configuration written to .config > >>>>> # > >>>>> > >>>>>> So, assume the next steps have no problem, except that I don't know > >>>>>> how to make my UML access the Internet... this is in another > >>>>>> discussion, though > >>>>> > >>>>>> ... ? > >>>>> $ make menuconfig ARCH=um #uml2 > >>>>> > >>>>>> Build it > >>>>> $ make ARCH=um #uml3 uml4 uml5 > >>>>> > >>>>>> Run it now... but where is my Internet? :( hehehehe > >>>> > >>>> You did not configure a connection. > >>>> tuntap is a common method. > >>>> > >>> > >>> To add something like 'eth0=tuntap,,,192.168.1.100' to the command line > >>> is enough? Or I must change some config step that is not the default? > >> > >> Depends on your setup. > >> A common setup is " eth0=tuntap,tap0". > >> i.e. create a tap0 in your host and setup routing/ips. > >> > > > > I (yet) have no clue what a tap is. Searches¹ did not ring many clear > > bells for me. > > > > ¹https://duckduckgo.com/html/?q=uml+user+mode+linux+tuntap > > > > My setup is what I have showed here. I have a AMD64 Debian image > > (Debian-Wheezy-AMD64-root_fs). The compile config I have showed here (I > > did not change anything besides a few options of the given default, and > > most of the tries I did not do these changes). > > > > > > http://user-mode-linux.sourceforge.net/old/networking.html > https://en.wikipedia.org/wiki/TUN/TAP > Since I have no root access in the host machine, I must use 'slirp'. Right? Now I'll install it (https://en.wikipedia.org/wiki/Slirp) from source and pass the full path to UML in the command line, e.g.: eth0=slirp,,/home/me/bin/ -- http://www.fastmail.com - IMAP accessible web-mail |
|
From: Richard W. <ri...@no...> - 2015-11-11 17:29:56
|
Am 11.11.2015 um 18:21 schrieb Balaco Baco: > On Wed, Nov 11, 2015, at 14:07, Richard Weinberger wrote: >> On Wed, Nov 11, 2015 at 6:04 PM, Balaco Baco <bal...@im...> wrote: >>> On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: >>>> On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: >>>>> There is one details that did not work for me, but it was easy to "fix" >>>>> (quotes because I'm not sure it is the best fix). But someone else may >>>>> find it useful. >>>>> >>>>> Detailed steps so everyone can compare doing it, if needed: >>>>> >>>>>> 1. get one kernel source package from https://cdn.kernel.org/ >>>>>> (I tried these steps with more than one option, searching for the older and more stable >>>>>> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) >>>>> >>>>>> 2. extract it. >>>>> $ tar xJf ... >>>>> $ cd lin<TAB> >>>>> >>>>>> 3. first step... >>>>> $ make defconfig ARCH=um #uml1 >>>>> >>>>> *** Default configuration is based on 'x86_64_defconfig' >>>>> kernel/time/Kconfig:157:warning: range is invalid >>>>> # >>>>> # configuration written to .config >>>>> # >>>>> >>>>>> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe >>>>> >>>>> $ vim kernel/time/Kconfig # if it spitted a diff for line 157: >>>>> - range 1 NR_CPUS >>>>> + range 1 1 >>>>> >>>>>> So, again... >>>>> # make defconfig ARCH=um #uml1 >>>>> *** Default configuration is based on 'x86_64_defconfig' >>>>> # >>>>> # configuration written to .config >>>>> # >>>>> >>>>>> So, assume the next steps have no problem, except that I don't know >>>>>> how to make my UML access the Internet... this is in another >>>>>> discussion, though >>>>> >>>>>> ... ? >>>>> $ make menuconfig ARCH=um #uml2 >>>>> >>>>>> Build it >>>>> $ make ARCH=um #uml3 uml4 uml5 >>>>> >>>>>> Run it now... but where is my Internet? :( hehehehe >>>> >>>> You did not configure a connection. >>>> tuntap is a common method. >>>> >>> >>> To add something like 'eth0=tuntap,,,192.168.1.100' to the command line >>> is enough? Or I must change some config step that is not the default? >> >> Depends on your setup. >> A common setup is " eth0=tuntap,tap0". >> i.e. create a tap0 in your host and setup routing/ips. >> > > I (yet) have no clue what a tap is. Searches¹ did not ring many clear > bells for me. > > ¹https://duckduckgo.com/html/?q=uml+user+mode+linux+tuntap > > My setup is what I have showed here. I have a AMD64 Debian image > (Debian-Wheezy-AMD64-root_fs). The compile config I have showed here (I > did not change anything besides a few options of the given default, and > most of the tries I did not do these changes). > > http://user-mode-linux.sourceforge.net/old/networking.html https://en.wikipedia.org/wiki/TUN/TAP Thanks, //richard |
|
From: Balaco B. <bal...@im...> - 2015-11-11 17:22:00
|
On Wed, Nov 11, 2015, at 14:07, Richard Weinberger wrote: > On Wed, Nov 11, 2015 at 6:04 PM, Balaco Baco <bal...@im...> wrote: > > On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: > >> On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: > >> > There is one details that did not work for me, but it was easy to "fix" > >> > (quotes because I'm not sure it is the best fix). But someone else may > >> > find it useful. > >> > > >> > Detailed steps so everyone can compare doing it, if needed: > >> > > >> >> 1. get one kernel source package from https://cdn.kernel.org/ > >> >> (I tried these steps with more than one option, searching for the older and more stable > >> >> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > >> > > >> >> 2. extract it. > >> > $ tar xJf ... > >> > $ cd lin<TAB> > >> > > >> >> 3. first step... > >> > $ make defconfig ARCH=um #uml1 > >> > > >> > *** Default configuration is based on 'x86_64_defconfig' > >> > kernel/time/Kconfig:157:warning: range is invalid > >> > # > >> > # configuration written to .config > >> > # > >> > > >> >> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe > >> > > >> > $ vim kernel/time/Kconfig # if it spitted a diff for line 157: > >> > - range 1 NR_CPUS > >> > + range 1 1 > >> > > >> >> So, again... > >> > # make defconfig ARCH=um #uml1 > >> > *** Default configuration is based on 'x86_64_defconfig' > >> > # > >> > # configuration written to .config > >> > # > >> > > >> >> So, assume the next steps have no problem, except that I don't know > >> >> how to make my UML access the Internet... this is in another > >> >> discussion, though > >> > > >> >> ... ? > >> > $ make menuconfig ARCH=um #uml2 > >> > > >> >> Build it > >> > $ make ARCH=um #uml3 uml4 uml5 > >> > > >> >> Run it now... but where is my Internet? :( hehehehe > >> > >> You did not configure a connection. > >> tuntap is a common method. > >> > > > > To add something like 'eth0=tuntap,,,192.168.1.100' to the command line > > is enough? Or I must change some config step that is not the default? > > Depends on your setup. > A common setup is " eth0=tuntap,tap0". > i.e. create a tap0 in your host and setup routing/ips. > I (yet) have no clue what a tap is. Searches¹ did not ring many clear bells for me. ¹https://duckduckgo.com/html/?q=uml+user+mode+linux+tuntap My setup is what I have showed here. I have a AMD64 Debian image (Debian-Wheezy-AMD64-root_fs). The compile config I have showed here (I did not change anything besides a few options of the given default, and most of the tries I did not do these changes). -- http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow |
|
From: Richard W. <ric...@gm...> - 2015-11-11 17:07:07
|
On Wed, Nov 11, 2015 at 6:04 PM, Balaco Baco <bal...@im...> wrote: > On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: >> On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: >> > There is one details that did not work for me, but it was easy to "fix" >> > (quotes because I'm not sure it is the best fix). But someone else may >> > find it useful. >> > >> > Detailed steps so everyone can compare doing it, if needed: >> > >> >> 1. get one kernel source package from https://cdn.kernel.org/ >> >> (I tried these steps with more than one option, searching for the older and more stable >> >> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) >> > >> >> 2. extract it. >> > $ tar xJf ... >> > $ cd lin<TAB> >> > >> >> 3. first step... >> > $ make defconfig ARCH=um #uml1 >> > >> > *** Default configuration is based on 'x86_64_defconfig' >> > kernel/time/Kconfig:157:warning: range is invalid >> > # >> > # configuration written to .config >> > # >> > >> >> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe >> > >> > $ vim kernel/time/Kconfig # if it spitted a diff for line 157: >> > - range 1 NR_CPUS >> > + range 1 1 >> > >> >> So, again... >> > # make defconfig ARCH=um #uml1 >> > *** Default configuration is based on 'x86_64_defconfig' >> > # >> > # configuration written to .config >> > # >> > >> >> So, assume the next steps have no problem, except that I don't know >> >> how to make my UML access the Internet... this is in another >> >> discussion, though >> > >> >> ... ? >> > $ make menuconfig ARCH=um #uml2 >> > >> >> Build it >> > $ make ARCH=um #uml3 uml4 uml5 >> > >> >> Run it now... but where is my Internet? :( hehehehe >> >> You did not configure a connection. >> tuntap is a common method. >> > > To add something like 'eth0=tuntap,,,192.168.1.100' to the command line > is enough? Or I must change some config step that is not the default? Depends on your setup. A common setup is " eth0=tuntap,tap0". i.e. create a tap0 in your host and setup routing/ips. -- Thanks, //richard |
|
From: Balaco B. <bal...@im...> - 2015-11-11 17:05:04
|
On Wed, Nov 11, 2015, at 13:39, Richard Weinberger wrote: > On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: > > There is one details that did not work for me, but it was easy to "fix" > > (quotes because I'm not sure it is the best fix). But someone else may > > find it useful. > > > > Detailed steps so everyone can compare doing it, if needed: > > > >> 1. get one kernel source package from https://cdn.kernel.org/ > >> (I tried these steps with more than one option, searching for the older and more stable > >> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > > > >> 2. extract it. > > $ tar xJf ... > > $ cd lin<TAB> > > > >> 3. first step... > > $ make defconfig ARCH=um #uml1 > > > > *** Default configuration is based on 'x86_64_defconfig' > > kernel/time/Kconfig:157:warning: range is invalid > > # > > # configuration written to .config > > # > > > >> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe > > > > $ vim kernel/time/Kconfig # if it spitted a diff for line 157: > > - range 1 NR_CPUS > > + range 1 1 > > > >> So, again... > > # make defconfig ARCH=um #uml1 > > *** Default configuration is based on 'x86_64_defconfig' > > # > > # configuration written to .config > > # > > > >> So, assume the next steps have no problem, except that I don't know > >> how to make my UML access the Internet... this is in another > >> discussion, though > > > >> ... ? > > $ make menuconfig ARCH=um #uml2 > > > >> Build it > > $ make ARCH=um #uml3 uml4 uml5 > > > >> Run it now... but where is my Internet? :( hehehehe > > You did not configure a connection. > tuntap is a common method. > To add something like 'eth0=tuntap,,,192.168.1.100' to the command line is enough? Or I must change some config step that is not the default? -- http://www.fastmail.com - A fast, anti-spam email service. |
|
From: Richard W. <ric...@gm...> - 2015-11-11 16:39:25
|
On Wed, Nov 11, 2015 at 5:13 PM, Balaco Baco <bal...@im...> wrote: > There is one details that did not work for me, but it was easy to "fix" > (quotes because I'm not sure it is the best fix). But someone else may > find it useful. > > Detailed steps so everyone can compare doing it, if needed: > >> 1. get one kernel source package from https://cdn.kernel.org/ >> (I tried these steps with more than one option, searching for the older and more stable >> version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > >> 2. extract it. > $ tar xJf ... > $ cd lin<TAB> > >> 3. first step... > $ make defconfig ARCH=um #uml1 > > *** Default configuration is based on 'x86_64_defconfig' > kernel/time/Kconfig:157:warning: range is invalid > # > # configuration written to .config > # > >> That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe > > $ vim kernel/time/Kconfig # if it spitted a diff for line 157: > - range 1 NR_CPUS > + range 1 1 > >> So, again... > # make defconfig ARCH=um #uml1 > *** Default configuration is based on 'x86_64_defconfig' > # > # configuration written to .config > # > >> So, assume the next steps have no problem, except that I don't know >> how to make my UML access the Internet... this is in another >> discussion, though > >> ... ? > $ make menuconfig ARCH=um #uml2 > >> Build it > $ make ARCH=um #uml3 uml4 uml5 > >> Run it now... but where is my Internet? :( hehehehe You did not configure a connection. tuntap is a common method. > $ ./vmlinux # the output name changed!? :P You can use both "linux" and "vmlinux". They are hard linked. -- Thanks, //richard |
|
From: Balaco B. <bal...@im...> - 2015-11-11 16:14:04
|
There is one detail that did not work for me, but it was easy to "fix" (quotes because I'm not sure it is the best fix). But someone else may find it useful. Detailed steps so everyone can compare doing it, if needed: > 1. get one kernel source package from https://cdn.kernel.org/ > (I tried these steps with more than one option, searching for the older and more stable > version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > 2. extract it. $ tar xJf ... $ cd lin<TAB> > 3. first step... $ make defconfig ARCH=um #uml1 *** Default configuration is based on 'x86_64_defconfig' kernel/time/Kconfig:157:warning: range is invalid # # configuration written to .config # > That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe $ vim kernel/time/Kconfig # if it spitted a diff for line 157: - range 1 NR_CPUS + range 1 1 > So, again... # make defconfig ARCH=um #uml1 *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # > So, assume the next steps have no problem, except that I don't know > how to make my UML access the Internet... this is in another > discussion, though > ... ? $ make menuconfig ARCH=um #uml2 > Build it $ make ARCH=um #uml3 uml4 uml5 > Run it now... but where is my Internet? :( hehehehe $ ./vmlinux # the output name changed!? :P -- Balaco -- http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow |
|
From: Balaco B. <bal...@im...> - 2015-11-11 16:13:40
|
There is one details that did not work for me, but it was easy to "fix" (quotes because I'm not sure it is the best fix). But someone else may find it useful. Detailed steps so everyone can compare doing it, if needed: > 1. get one kernel source package from https://cdn.kernel.org/ > (I tried these steps with more than one option, searching for the older and more stable > version; if the results are different for you, try another one; below I copied my 4.2.6 try; 3.18 does not have this problem) > 2. extract it. $ tar xJf ... $ cd lin<TAB> > 3. first step... $ make defconfig ARCH=um #uml1 *** Default configuration is based on 'x86_64_defconfig' kernel/time/Kconfig:157:warning: range is invalid # # configuration written to .config # > That warning is strange. I did not like it. So I just edited that file, and changed it! :D hehehe $ vim kernel/time/Kconfig # if it spitted a diff for line 157: - range 1 NR_CPUS + range 1 1 > So, again... # make defconfig ARCH=um #uml1 *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # > So, assume the next steps have no problem, except that I don't know > how to make my UML access the Internet... this is in another > discussion, though > ... ? $ make menuconfig ARCH=um #uml2 > Build it $ make ARCH=um #uml3 uml4 uml5 > Run it now... but where is my Internet? :( hehehehe $ ./vmlinux # the output name changed!? :P -- Balaco -- http://www.fastmail.com - Access your email from home and the web |
|
From: Richard W. <ri...@no...> - 2015-11-06 21:51:39
|
Am 29.10.2015 um 16:30 schrieb Saurabh Sengar: > since GFP_KERNEL with GFP_ATOMIC while spinlock is held, > as code while holding a spinlock should be atomic. > GFP_KERNEL may sleep and can cause deadlock, > where as GFP_ATOMIC may fail but certainly avoids deadlockdex f70dd54..d898f6c 100644 > > Signed-off-by: Saurabh Sengar <sau...@gm...> Applied! Thanks, //richard |
|
From: Thomas M. <th...@m3...> - 2015-10-31 13:17:41
|
Am 31.10.2015 4:39 vorm. schrieb Balaco Baco <bal...@im...>: > > > On Fri, Oct 30, 2015 at 7:29 AM, Balaco Baco <bal...@im...> wrote: > > > > > > On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: > > >> On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco <bal...@im...> wrote: > > >> >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with > > >> >> > > >> > another option that is there for me. It is one of the cases I detailed > > >> >> > > >> > before that end with error. > > >> >> > > >> > > > >> >> > > >> > > >> >> > > >> Linux 2.6.24?! SRSLY? > > >> >> > > > > >> >> > > If you want me to help, please use a recent/supported kernel. > > >> >> > > Ready-to-use root filesystems can be found everywhere. > > >> >> > > For example: http://fs.devloop.org.uk/ > > >> >> > > > > >> >> > > > >> >> > I'm not sure now, but the two Debian root fs I'm using were downloaded > > >> >> > from the site you point here. Later I'll check their sums, and PS this > > >> >> > in a next message. Kernels 2.6.* were recent and assumed to be supported > > >> >> > in most places I could need - or so I assumed. > > >> >> > > >> >> > What is your definition of recent and your definition of supported? This > > >> >> > may be useful for many other users of UML I guess. The fact that the > > >> >> > kernels offered in the UML website didn't work, and then I tried to > > >> >> > compile from source should be pointed here. I don't think I have done > > >> >> > something so weird or uncommon here - mainly because I don't need much > > >> >> > as long as I have flexibility to execute it. > > >> >> > > >> >> Everything that gets -stable updates. > > >> > > > >> > Website: UML's, http://user-mode-linux.sourceforge.net/, accessed right > > >> > now. > > >> > > > >> > "Getting started" seemed like a good place for me a few weeks ago (and > > >> > still does, but...). And I think it will make many users feel and think > > >> > the same way I did. Except that it gives us wrong directions - but gives > > >> > bad directions for users that will surely follow them without knowing > > >> > the wrong details since they're expecting to see something working to > > >> > get more familiar with UML. "Download THIS ( pointing to > > >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-rc7.bz2) or THIS > > >> > (pointing to > > >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-x86_64.bz2 )". Are > > >> > these kernel versions familiar to you in the list? They are for me, now > > >> > I just understood a few more details, and the possible path to solution, > > >> > to execution without unexpected problems - or so I hope. > > >> > > > >> > The thread I started today, quickly skimmed in the above quotes, shows > > >> > this. The website needs to be fixed. And more than that, needs to be > > >> > updated more frequently (or so I must guess) or write about how users > > >> > can be sure their setup is good enough. > > >> > > > >> > I downloaded both suggested kernels, following the official (and assumed > > >> > best, for that) instructions. Both did not work (and still don't). And > > >> > the one that worked back then is probably needing something I've > > >> > forgotten in these days or stopped to work today. But that one I > > >> > compiled from source - and now I need to do it again, from the very > > >> > start. > > >> > > > >> > Everything that gets stable updates... but this should not exclude the > > >> > UML website, right? > > >> > > >> The website is very old and from the pre-mainline time. > > >> If you volunteer to update and maintain it it would be wonderful. > > >> > > >> I'm not a web designer nor do I have the time for this. > > >> > > > > > > Really?! I would never bet that it was that old. > > > > > > I can update it. And I also have a little bit of web design knowledge > > > and practices that may be eventually useful. On the other hand, I would > > > need directions and thumbs up to guarantee that the contents are kept > > > correct (which would be my main objetive when changing texts). I have > > > not programmed that much kernel code and "related or almost so" things, > > > although I have a solid C background - and this is something that UML > > > seems to have a broad contact surface, from the messages I have read > > > here. > > > > > > At most a month of medium site changes are good as expectations? > > > Although most of the time I can give a few hours per week, so that month > > > should not look too bad. > > > > > > What would be the process? If only with you directly, I guess we > > > continue to talk about it between us. > > > > Create a concept and share it. :-) > > > > I do not have a final working step by step from zero until now. One is > giving compiling errors. The working UML (unknown origin, I don't know > how I made that before) + Debian64 downloaded (and how changed a bit > after booting it)... but it has no network, and I don't know why is > that. Can you tell? Not even a ping works: "Network is unreachable". The > host machine is normal, of course. > You can find some more recent info on my blog about UML, e.g.: http://m3y3r.de/wordpress/?p=2468 http://m3y3r.de/wordpress/?p=3846 > Basic question: how to shutdown a running UML? How are we suppose to do > it? Running 'shutdown now' from that Debian does not turn it off. Must I > open another SSH session to kill it, or just close the session if > nothing else is needed? > > I'm used http://user-mode-linux.sourceforge.net/source.html as a base to > what I have done (although I "updated" the suggested version there, as > discussed before). And changed almost nothing in the default config > before compiling... > > When I have something that works, that source.html page is easy to > improve and needs many changes. Output of wget... not useful at all - we > surely can assume users will know how to download and extract files, > right? > > > -- > http://www.fastmail.com - Or how I learned to stop worrying and > love email again > > > ------------------------------------------------------------------------------ > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user |
|
From: Balaco B. <bal...@im...> - 2015-10-31 03:39:51
|
> On Fri, Oct 30, 2015 at 7:29 AM, Balaco Baco <bal...@im...> wrote: > > > > On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: > >> On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco <bal...@im...> wrote: > >> >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with > >> >> > > >> > another option that is there for me. It is one of the cases I detailed > >> >> > > >> > before that end with error. > >> >> > > >> > > >> >> > > >> > >> >> > > >> Linux 2.6.24?! SRSLY? > >> >> > > > >> >> > > If you want me to help, please use a recent/supported kernel. > >> >> > > Ready-to-use root filesystems can be found everywhere. > >> >> > > For example: http://fs.devloop.org.uk/ > >> >> > > > >> >> > > >> >> > I'm not sure now, but the two Debian root fs I'm using were downloaded > >> >> > from the site you point here. Later I'll check their sums, and PS this > >> >> > in a next message. Kernels 2.6.* were recent and assumed to be supported > >> >> > in most places I could need - or so I assumed. > >> >> > >> >> > What is your definition of recent and your definition of supported? This > >> >> > may be useful for many other users of UML I guess. The fact that the > >> >> > kernels offered in the UML website didn't work, and then I tried to > >> >> > compile from source should be pointed here. I don't think I have done > >> >> > something so weird or uncommon here - mainly because I don't need much > >> >> > as long as I have flexibility to execute it. > >> >> > >> >> Everything that gets -stable updates. > >> > > >> > Website: UML's, http://user-mode-linux.sourceforge.net/, accessed right > >> > now. > >> > > >> > "Getting started" seemed like a good place for me a few weeks ago (and > >> > still does, but...). And I think it will make many users feel and think > >> > the same way I did. Except that it gives us wrong directions - but gives > >> > bad directions for users that will surely follow them without knowing > >> > the wrong details since they're expecting to see something working to > >> > get more familiar with UML. "Download THIS ( pointing to > >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-rc7.bz2) or THIS > >> > (pointing to > >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-x86_64.bz2 )". Are > >> > these kernel versions familiar to you in the list? They are for me, now > >> > I just understood a few more details, and the possible path to solution, > >> > to execution without unexpected problems - or so I hope. > >> > > >> > The thread I started today, quickly skimmed in the above quotes, shows > >> > this. The website needs to be fixed. And more than that, needs to be > >> > updated more frequently (or so I must guess) or write about how users > >> > can be sure their setup is good enough. > >> > > >> > I downloaded both suggested kernels, following the official (and assumed > >> > best, for that) instructions. Both did not work (and still don't). And > >> > the one that worked back then is probably needing something I've > >> > forgotten in these days or stopped to work today. But that one I > >> > compiled from source - and now I need to do it again, from the very > >> > start. > >> > > >> > Everything that gets stable updates... but this should not exclude the > >> > UML website, right? > >> > >> The website is very old and from the pre-mainline time. > >> If you volunteer to update and maintain it it would be wonderful. > >> > >> I'm not a web designer nor do I have the time for this. > >> > > > > Really?! I would never bet that it was that old. > > > > I can update it. And I also have a little bit of web design knowledge > > and practices that may be eventually useful. On the other hand, I would > > need directions and thumbs up to guarantee that the contents are kept > > correct (which would be my main objetive when changing texts). I have > > not programmed that much kernel code and "related or almost so" things, > > although I have a solid C background - and this is something that UML > > seems to have a broad contact surface, from the messages I have read > > here. > > > > At most a month of medium site changes are good as expectations? > > Although most of the time I can give a few hours per week, so that month > > should not look too bad. > > > > What would be the process? If only with you directly, I guess we > > continue to talk about it between us. > > Create a concept and share it. :-) > I do not have a final working step by step from zero until now. One is giving compiling errors. The working UML (unknown origin, I don't know how I made that before) + Debian64 downloaded (and how changed a bit after booting it)... but it has no network, and I don't know why is that. Can you tell? Not even a ping works: "Network is unreachable". The host machine is normal, of course. Basic question: how to shutdown a running UML? How are we suppose to do it? Running 'shutdown now' from that Debian does not turn it off. Must I open another SSH session to kill it, or just close the session if nothing else is needed? I'm used http://user-mode-linux.sourceforge.net/source.html as a base to what I have done (although I "updated" the suggested version there, as discussed before). And changed almost nothing in the default config before compiling... When I have something that works, that source.html page is easy to improve and needs many changes. Output of wget... not useful at all - we surely can assume users will know how to download and extract files, right? -- http://www.fastmail.com - Or how I learned to stop worrying and love email again |
|
From: Balaco B. <bal...@im...> - 2015-10-31 03:39:47
|
> On Fri, Oct 30, 2015 at 7:29 AM, Balaco Baco <bal...@im...> wrote: > > > > On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: > >> On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco <bal...@im...> wrote: > >> >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with > >> >> > > >> > another option that is there for me. It is one of the cases I detailed > >> >> > > >> > before that end with error. > >> >> > > >> > > >> >> > > >> > >> >> > > >> Linux 2.6.24?! SRSLY? > >> >> > > > >> >> > > If you want me to help, please use a recent/supported kernel. > >> >> > > Ready-to-use root filesystems can be found everywhere. > >> >> > > For example: http://fs.devloop.org.uk/ > >> >> > > > >> >> > > >> >> > I'm not sure now, but the two Debian root fs I'm using were downloaded > >> >> > from the site you point here. Later I'll check their sums, and PS this > >> >> > in a next message. Kernels 2.6.* were recent and assumed to be supported > >> >> > in most places I could need - or so I assumed. > >> >> > >> >> > What is your definition of recent and your definition of supported? This > >> >> > may be useful for many other users of UML I guess. The fact that the > >> >> > kernels offered in the UML website didn't work, and then I tried to > >> >> > compile from source should be pointed here. I don't think I have done > >> >> > something so weird or uncommon here - mainly because I don't need much > >> >> > as long as I have flexibility to execute it. > >> >> > >> >> Everything that gets -stable updates. > >> > > >> > Website: UML's, http://user-mode-linux.sourceforge.net/, accessed right > >> > now. > >> > > >> > "Getting started" seemed like a good place for me a few weeks ago (and > >> > still does, but...). And I think it will make many users feel and think > >> > the same way I did. Except that it gives us wrong directions - but gives > >> > bad directions for users that will surely follow them without knowing > >> > the wrong details since they're expecting to see something working to > >> > get more familiar with UML. "Download THIS ( pointing to > >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-rc7.bz2) or THIS > >> > (pointing to > >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-x86_64.bz2 )". Are > >> > these kernel versions familiar to you in the list? They are for me, now > >> > I just understood a few more details, and the possible path to solution, > >> > to execution without unexpected problems - or so I hope. > >> > > >> > The thread I started today, quickly skimmed in the above quotes, shows > >> > this. The website needs to be fixed. And more than that, needs to be > >> > updated more frequently (or so I must guess) or write about how users > >> > can be sure their setup is good enough. > >> > > >> > I downloaded both suggested kernels, following the official (and assumed > >> > best, for that) instructions. Both did not work (and still don't). And > >> > the one that worked back then is probably needing something I've > >> > forgotten in these days or stopped to work today. But that one I > >> > compiled from source - and now I need to do it again, from the very > >> > start. > >> > > >> > Everything that gets stable updates... but this should not exclude the > >> > UML website, right? > >> > >> The website is very old and from the pre-mainline time. > >> If you volunteer to update and maintain it it would be wonderful. > >> > >> I'm not a web designer nor do I have the time for this. > >> > > > > Really?! I would never bet that it was that old. > > > > I can update it. And I also have a little bit of web design knowledge > > and practices that may be eventually useful. On the other hand, I would > > need directions and thumbs up to guarantee that the contents are kept > > correct (which would be my main objetive when changing texts). I have > > not programmed that much kernel code and "related or almost so" things, > > although I have a solid C background - and this is something that UML > > seems to have a broad contact surface, from the messages I have read > > here. > > > > At most a month of medium site changes are good as expectations? > > Although most of the time I can give a few hours per week, so that month > > should not look too bad. > > > > What would be the process? If only with you directly, I guess we > > continue to talk about it between us. > > Create a concept and share it. :-) > I do not have a final working step by step from zero until now. One is giving compiling errors. The working UML (unknown origin, I don't know how I made that before) + Debian64 downloaded (and how changed a bit after booting it)... but it has no network, and I don't know why is that. Can you tell? Not even a ping works: "Network is unreachable". The host machine is normal, of course. Basic question: how to shutdown a running UML? How are we suppose to do it? Running 'shutdown now' from that Debian does not turn it off. Must I open another SSH session to kill it, or just close the session if nothing else is needed? I'm used http://user-mode-linux.sourceforge.net/source.html as a base to what I have done (although I "updated" the suggested version there, as discussed before). And changed almost nothing in the default config before compiling... When I have something that works, that source.html page is easy to improve and needs many changes. Output of wget... not useful at all - we surely can assume users will know how to download and extract files, right? -- http://www.fastmail.com - Access your email from home and the web |
|
From: Balaco B. <bal...@im...> - 2015-10-30 20:24:37
|
On Fri, Oct 30, 2015, at 16:30, Richard Weinberger wrote: > On Fri, Oct 30, 2015 at 5:02 PM, Balaco Baco <bal...@im...> wrote: > > I restarted, now I've got another kernel source (2.6.32.68), knowing > > that it may be old, but it's the "newer old" for 2.6, and I hoped that > > it would work. > > Are you an archeologist? ;-) > Is there a particular reason why you can't use something recent? > I hope this is just a joke, because the kernel.org says about this kernel version: "longterm / 2.6.32.68 / 2015-09-18", and the changelog (which I check as I wrote this sentence) has many changes made very recently. Most of remote machines I'm using right now have Ubuntu installed on them. The newer Ubuntu releases have suffered, always with things that use to work since years before... and suddenly (or magically) someone do something to make them break. I prefer relatively old things - that work, and there are many! It is usually easier to work with things that are known to many people and for a long time than recent nice changes that sometimes have new surprises. And I checked one detail: Welcome to "Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-61-generic x86_64)"; this is what I see when I log into one of the remote machines. If Ubuntu is using 3.13 kernels I won't even bother trying the 4.x+ ones. I prefer a linux with a kernel like those that were used in machines that stayed up for years, without any big changes on them (just configuration files, rarely, and nothing else). We see so many people with top-notch mobiles and tables that sometimes suffer to do basic things we have done for decades, like sending email... that's no good technology, I don't want to be too close to these. :) Anyway, lets stop talking nonsense... hehehehe > > Steps done: > > > > 1. downloaded https://cdn. kernel > > .org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.68.tar.xz > > 2. extract with tar cJf (whatever) > > 3. A few commands: > > make defconfig ARCH=um > > # config is saved on a file, to be restarted from a known point > > whenever needed > > make menuconfig ARCH=um > > make mrproper # zero start guarantee when > > repeating these steps > > make mrproper ARCH=um # " > > make ARCH=uml > > > > 4. It stops a few seconds after, with a few errors that may be simple to > > fix: > > > > =============== > > arch/um/os-Linux/start_up.c: In function 'check_coredump_limit': > > arch/um/os-Linux/start_up.c:340:16: error: storage size of 'lim' isn't > > known > > struct rlimit lim; > > ^ > > arch/um/os-Linux/start_up.c:341:2: error: implicit declaration of > > function 'getrlimit' [-Werror=implicit-function-declaration] > > int err = getrlimit(RLIMIT_CORE, &lim); > > ^ > > arch/um/os-Linux/start_up.c:341:22: error: 'RLIMIT_CORE' undeclared > > (first use in this function) > > int err = getrlimit(RLIMIT_CORE, &lim); > > ^ > > arch/um/os-Linux/start_up.c:341:22: note: each undeclared identifier is > > reported only once for each function it appears in > > arch/um/os-Linux/start_up.c:349:22: error: 'RLIM_INFINITY' undeclared > > (first use in this function) > > if (lim.rlim_cur == RLIM_INFINITY) > > ^ > > arch/um/os-Linux/start_up.c:340:16: warning: unused variable 'lim' > > [-Wunused-variable] > > struct rlimit lim; > > ^ > > cc1: some warnings being treated as errors > > make[1]: *** [arch/um/os-Linux/start_up.o] Error 1 > > make: *** [arch/um/os-Linux] Error 2 > > > > =============== > > > > Do you know the reason for these two errors? And how I should fix them? > > It depends what libc you're using. AFAICT libc moved a header file to > a new location. > I'll try to find in which header file those should exist... if Internet does not find the answer for me (and I have searched a bit before, while writing the previous message) I'll make a good old grep... if nothing works, I'll write again. Thank you, -- Balaco -- http://www.fastmail.com - Email service worth paying for. Try it for free |
|
From: Richard W. <ric...@gm...> - 2015-10-30 19:38:54
|
On Fri, Oct 30, 2015 at 8:30 PM, Richard Weinberger
<ric...@gm...> wrote:
> On Fri, Oct 30, 2015 at 5:02 PM, Balaco Baco <bal...@im...> wrote:
>> I restarted, now I've got another kernel source (2.6.32.68), knowing
>> that it may be old, but it's the "newer old" for 2.6, and I hoped that
>> it would work.
>
> Are you an archeologist? ;-)
> Is there a particular reason why you can't use something recent?
>
>> Steps done:
>>
>> 1. downloaded https://cdn. kernel
>> .org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.68.tar.xz
>> 2. extract with tar cJf (whatever)
>> 3. A few commands:
>> make defconfig ARCH=um
>> # config is saved on a file, to be restarted from a known point
>> whenever needed
>> make menuconfig ARCH=um
>> make mrproper # zero start guarantee when
>> repeating these steps
>> make mrproper ARCH=um # "
>> make ARCH=uml
>>
>> 4. It stops a few seconds after, with a few errors that may be simple to
>> fix:
>>
>> ===============
>> arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
>> arch/um/os-Linux/start_up.c:340:16: error: storage size of 'lim' isn't
>> known
>> struct rlimit lim;
>> ^
>> arch/um/os-Linux/start_up.c:341:2: error: implicit declaration of
>> function 'getrlimit' [-Werror=implicit-function-declaration]
>> int err = getrlimit(RLIMIT_CORE, &lim);
>> ^
>> arch/um/os-Linux/start_up.c:341:22: error: 'RLIMIT_CORE' undeclared
>> (first use in this function)
>> int err = getrlimit(RLIMIT_CORE, &lim);
>> ^
>> arch/um/os-Linux/start_up.c:341:22: note: each undeclared identifier is
>> reported only once for each function it appears in
>> arch/um/os-Linux/start_up.c:349:22: error: 'RLIM_INFINITY' undeclared
>> (first use in this function)
>> if (lim.rlim_cur == RLIM_INFINITY)
>> ^
>> arch/um/os-Linux/start_up.c:340:16: warning: unused variable 'lim'
>> [-Wunused-variable]
>> struct rlimit lim;
>> ^
>> cc1: some warnings being treated as errors
>> make[1]: *** [arch/um/os-Linux/start_up.o] Error 1
>> make: *** [arch/um/os-Linux] Error 2
>>
>> ===============
>>
>> Do you know the reason for these two errors? And how I should fix them?
>
> It depends what libc you're using. AFAICT libc moved a header file to
> a new location.
Can you please verify whether this commit fixes the issue?
commit fdfa4c952844fce881df8c76de9c7180cbe913ab
Author: Sergei Trofimovich <sl...@ge...>
Date: Sun Dec 30 01:37:30 2012 +0300
um: add missing declaration of 'getrlimit()' and friends
If so, we only need to figure why it wasn't backported.
--
Thanks,
//richard
|
|
From: Richard W. <ric...@gm...> - 2015-10-30 19:31:44
|
On Fri, Oct 30, 2015 at 7:29 AM, Balaco Baco <bal...@im...> wrote: > > On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: >> On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco <bal...@im...> wrote: >> >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with >> >> > > >> > another option that is there for me. It is one of the cases I detailed >> >> > > >> > before that end with error. >> >> > > >> > >> >> > > >> >> >> > > >> Linux 2.6.24?! SRSLY? >> >> > > >> >> > > If you want me to help, please use a recent/supported kernel. >> >> > > Ready-to-use root filesystems can be found everywhere. >> >> > > For example: http://fs.devloop.org.uk/ >> >> > > >> >> > >> >> > I'm not sure now, but the two Debian root fs I'm using were downloaded >> >> > from the site you point here. Later I'll check their sums, and PS this >> >> > in a next message. Kernels 2.6.* were recent and assumed to be supported >> >> > in most places I could need - or so I assumed. >> >> >> >> > What is your definition of recent and your definition of supported? This >> >> > may be useful for many other users of UML I guess. The fact that the >> >> > kernels offered in the UML website didn't work, and then I tried to >> >> > compile from source should be pointed here. I don't think I have done >> >> > something so weird or uncommon here - mainly because I don't need much >> >> > as long as I have flexibility to execute it. >> >> >> >> Everything that gets -stable updates. >> > >> > Website: UML's, http://user-mode-linux.sourceforge.net/, accessed right >> > now. >> > >> > "Getting started" seemed like a good place for me a few weeks ago (and >> > still does, but...). And I think it will make many users feel and think >> > the same way I did. Except that it gives us wrong directions - but gives >> > bad directions for users that will surely follow them without knowing >> > the wrong details since they're expecting to see something working to >> > get more familiar with UML. "Download THIS ( pointing to >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-rc7.bz2) or THIS >> > (pointing to >> > http://user-mode-linux.sourceforge.net/linux-2.6.24-x86_64.bz2 )". Are >> > these kernel versions familiar to you in the list? They are for me, now >> > I just understood a few more details, and the possible path to solution, >> > to execution without unexpected problems - or so I hope. >> > >> > The thread I started today, quickly skimmed in the above quotes, shows >> > this. The website needs to be fixed. And more than that, needs to be >> > updated more frequently (or so I must guess) or write about how users >> > can be sure their setup is good enough. >> > >> > I downloaded both suggested kernels, following the official (and assumed >> > best, for that) instructions. Both did not work (and still don't). And >> > the one that worked back then is probably needing something I've >> > forgotten in these days or stopped to work today. But that one I >> > compiled from source - and now I need to do it again, from the very >> > start. >> > >> > Everything that gets stable updates... but this should not exclude the >> > UML website, right? >> >> The website is very old and from the pre-mainline time. >> If you volunteer to update and maintain it it would be wonderful. >> >> I'm not a web designer nor do I have the time for this. >> > > Really?! I would never bet that it was that old. > > I can update it. And I also have a little bit of web design knowledge > and practices that may be eventually useful. On the other hand, I would > need directions and thumbs up to guarantee that the contents are kept > correct (which would be my main objetive when changing texts). I have > not programmed that much kernel code and "related or almost so" things, > although I have a solid C background - and this is something that UML > seems to have a broad contact surface, from the messages I have read > here. > > At most a month of medium site changes are good as expectations? > Although most of the time I can give a few hours per week, so that month > should not look too bad. > > What would be the process? If only with you directly, I guess we > continue to talk about it between us. Create a concept and share it. :-) -- Thanks, //richard |
|
From: Richard W. <ric...@gm...> - 2015-10-30 19:30:59
|
On Fri, Oct 30, 2015 at 5:02 PM, Balaco Baco <bal...@im...> wrote: > I restarted, now I've got another kernel source (2.6.32.68), knowing > that it may be old, but it's the "newer old" for 2.6, and I hoped that > it would work. Are you an archeologist? ;-) Is there a particular reason why you can't use something recent? > Steps done: > > 1. downloaded https://cdn. kernel > .org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.68.tar.xz > 2. extract with tar cJf (whatever) > 3. A few commands: > make defconfig ARCH=um > # config is saved on a file, to be restarted from a known point > whenever needed > make menuconfig ARCH=um > make mrproper # zero start guarantee when > repeating these steps > make mrproper ARCH=um # " > make ARCH=uml > > 4. It stops a few seconds after, with a few errors that may be simple to > fix: > > =============== > arch/um/os-Linux/start_up.c: In function 'check_coredump_limit': > arch/um/os-Linux/start_up.c:340:16: error: storage size of 'lim' isn't > known > struct rlimit lim; > ^ > arch/um/os-Linux/start_up.c:341:2: error: implicit declaration of > function 'getrlimit' [-Werror=implicit-function-declaration] > int err = getrlimit(RLIMIT_CORE, &lim); > ^ > arch/um/os-Linux/start_up.c:341:22: error: 'RLIMIT_CORE' undeclared > (first use in this function) > int err = getrlimit(RLIMIT_CORE, &lim); > ^ > arch/um/os-Linux/start_up.c:341:22: note: each undeclared identifier is > reported only once for each function it appears in > arch/um/os-Linux/start_up.c:349:22: error: 'RLIM_INFINITY' undeclared > (first use in this function) > if (lim.rlim_cur == RLIM_INFINITY) > ^ > arch/um/os-Linux/start_up.c:340:16: warning: unused variable 'lim' > [-Wunused-variable] > struct rlimit lim; > ^ > cc1: some warnings being treated as errors > make[1]: *** [arch/um/os-Linux/start_up.o] Error 1 > make: *** [arch/um/os-Linux] Error 2 > > =============== > > Do you know the reason for these two errors? And how I should fix them? It depends what libc you're using. AFAICT libc moved a header file to a new location. -- Thanks, //richard |
|
From: Michael R. <mc...@sa...> - 2015-10-30 19:01:31
|
Please, at least mark the info as being OLD OLD OLD. 90% of it is unnecessary. |
|
From: Balaco B. <bal...@im...> - 2015-10-30 16:02:55
|
I restarted, now I've got another kernel source (2.6.32.68), knowing
that it may be old, but it's the "newer old" for 2.6, and I hoped that
it would work.
Steps done:
1. downloaded https://cdn. kernel
.org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.68.tar.xz
2. extract with tar cJf (whatever)
3. A few commands:
make defconfig ARCH=um
# config is saved on a file, to be restarted from a known point
whenever needed
make menuconfig ARCH=um
make mrproper # zero start guarantee when
repeating these steps
make mrproper ARCH=um # "
make ARCH=uml
4. It stops a few seconds after, with a few errors that may be simple to
fix:
===============
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:340:16: error: storage size of 'lim' isn't
known
struct rlimit lim;
^
arch/um/os-Linux/start_up.c:341:2: error: implicit declaration of
function 'getrlimit' [-Werror=implicit-function-declaration]
int err = getrlimit(RLIMIT_CORE, &lim);
^
arch/um/os-Linux/start_up.c:341:22: error: 'RLIMIT_CORE' undeclared
(first use in this function)
int err = getrlimit(RLIMIT_CORE, &lim);
^
arch/um/os-Linux/start_up.c:341:22: note: each undeclared identifier is
reported only once for each function it appears in
arch/um/os-Linux/start_up.c:349:22: error: 'RLIM_INFINITY' undeclared
(first use in this function)
if (lim.rlim_cur == RLIM_INFINITY)
^
arch/um/os-Linux/start_up.c:340:16: warning: unused variable 'lim'
[-Wunused-variable]
struct rlimit lim;
^
cc1: some warnings being treated as errors
make[1]: *** [arch/um/os-Linux/start_up.o] Error 1
make: *** [arch/um/os-Linux] Error 2
===============
Do you know the reason for these two errors? And how I should fix them?
--
Balaco
--
http://www.fastmail.com - Does exactly what it says on the tin
|