Re: [uml-user] Possible ways to execute
On Thu, Oct 29, 2015 at 4:26 PM, Balaco Baco wrote: > 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. -- Thanks, //richard -- ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Possible ways to execute
On Thu, Oct 29, 2015, at 11:12, Richard Weinberger wrote: > On Thu, Oct 29, 2015 at 2:21 PM, Balaco Baco wrote: > > > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: > >> Am 29.10.2015 um 14:14 schrieb Balaco Baco: > >> > 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. > >> > > >> > The full execution, right now, is: > >> > > >> > == > >> > $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M > >> > >> 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. -- http://www.fastmail.com - Or how I learned to stop worrying and love email again -- ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Possible ways to execute
On Thu, Oct 29, 2015 at 2:21 PM, Balaco Baco wrote: > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: >> Am 29.10.2015 um 14:14 schrieb Balaco Baco: >> > 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. >> > >> > The full execution, right now, is: >> > >> > == >> > $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M >> >> 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/ -- Thanks, //richard -- ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Possible ways to execute
On Thu, Oct 29, 2015, at 10:21, Balaco Baco wrote: > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: > > Am 29.10.2015 um 14:14 schrieb Balaco Baco: > > > 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. > > > > > > The full execution, right now, is: > > > > > > == > > > $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M > > > > Linux 2.6.24?! SRSLY? > > > > What is wrong with that? > I don't see the problem, but indeed the error lines I sent have, among other things: "FATAL: kernel too old" Can someone please give me kernel version limits and how to find root_fs files to it? And how to run in (possibly) all kinds of real computers (if there are limits with this)? I don't see what I am doing wrong, but there are errors that look strange to me. Strange as "this should not be happening this way". If I get a newer kernel would it be fixed? But how did I run these before, everything normal? -- http://www.fastmail.com - Access your email from home and the web -- ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Possible ways to execute
On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: > Am 29.10.2015 um 14:14 schrieb Balaco Baco: > > 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. > > > > The full execution, right now, is: > > > > == > > $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M > > Linux 2.6.24?! SRSLY? > What is wrong with that? -- http://www.fastmail.com - A no graphics, no pop-ups email service -- ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Possible ways to execute
Am 29.10.2015 um 14:14 schrieb Balaco Baco: > 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. > > The full execution, right now, is: > > == > $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M Linux 2.6.24?! SRSLY? Thanks, //richard -- ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Possible ways to execute
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. The full execution, right now, is: == $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M Core dump limits : soft - 0 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...OK Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm Checking PROT_EXEC mmap in /tmp/...OK Checking for new_mm and switch_mm support in the host: /proc/self/mm ... Failed - No such file or directory Checking for the skas3 patch in the host: - /proc/mm...not found: No such file or directory - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode Adding 2719744 bytes to physical memory to account for exec-shield gap Aborted (core dumped) $ == Waiting for suggestions. And there are some more details in my first message - also below in this one, -- Balaco On Thu, Oct 29, 2015, at 08:43, Richard Weinberger wrote: > On Thu, Oct 29, 2015 at 12:28 PM, Balaco Baco wrote: > > A few weeks ago, after more struggling than I expected, I was abble to > > run UML. I recompiled the linux kernel from source; I did not use the > > root fs files available in the website, and found a Debian that seems to > > suit my needs. > > > > But yesterday I tried to execute it again, it did not work. The fact > > that yesterday I tried it through SSH makes a difference? > > > > Most of the command lines I had in my Bash history (long enough to have > > almost everything I did in the previous session with this problem). None > > of them worked. Most of them just seg fault in the beginning of > > execution. Error related to root fs (surprise for me!). Just two of the > > commands I tried did not seg fault immediatelly; but they also give no > > output, and I had to start another SSH session, at the same time, to be > > able to kill it (since ctrl+c and any other keyboard shortcuts) would be > > "processed" my uml. I'm not sure what to do now. > > > > This command line I executed right now: > > > > ./linux-2.6.24-x86_64 ubda=Debian-Wheezy-x86-root_fs mem=128M > > You cannot use i386 userspace on a x86_64 kernel. > > > Execute in the folder where the root fs file exists, gives ONLY this > > output (almost immediatelly). It is through SSH. Is there a problem > > here? I expected an user/password "screen" or anything similar. > > > > The whole output I have for the above command, and I will let it waiting > > for several minutes, is: > > > > === > > Core dump limits : > > soft - 0 > > hard - NONE > > Checking that ptrace can change system call numbers...OK > > Checking syscall emulation patch for ptrace...OK > > Checking advanced syscall emulation patch for ptrace...OK > > Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm > > Checking PROT_EXEC mmap in /tmp/...OK > > Checking for new_mm and switch_mm support in the host: > > /proc/self/mm ... Failed - > > No such file or directory > > Checking for the skas3 patch in the host: > > - /proc/mm...not found: No such file or directory > > - PTRACE_FAULTINFO...not found > > - PTRACE_LDT...not found > > UML running in SKAS0 mode > > Adding 29876224 bytes to physical memory to account for exec-shield gap > > Linux version 2.6.24-g91525300-dirty (jd...@amd64.user-mode-linux.org) > > (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 Mon Jan 28 12:03:41 > > EST 2008 > > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > > 39515 > > Kernel command line: ubda=Debian-Wheezy-x86-root_fs mem=128M root=98:0 > > PID hash table entries: 1024 (order: 10, 8192 bytes) > > Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) > > Inode-cache hash table entries: 16384 (order: 5, 131072 bytes) > > Memory: 122164k available > > Mount-cache hash table entries: 256 > > Checking that host ptys support output SIGIO...Yes > > Checking that host ptys support SIGIO on close...No, enabling workaround > > net_namespace: 120 bytes > > Using 2.6 host AIO > > NET: Registered protocol family 16 > > NET: Registered protocol family 2 > > Time: itimer clocksource has been installed. > > IP route cache hash table entries: 2048 (order: 2, 16384 bytes) > > TCP established hash table entries: 8192 (order: 5, 131072 bytes) > > TCP bind hash table entries: 8192 (order: 4, 65536 bytes) > > TCP: Hash tables configured (established 8192 bind 8192) > > TCP reno registered > > Checking host MADV_REMOVE support...OK > > mconsole (version 2) initialized on > > /home/folder/path/.uml/1DZd7v/mconsole > > ((! the above line was manually changed for this message; and the > > working folder is a subfolder in my home folder !)) > > VFS: Disk q
Re: [uml-user] Possible ways to execute
On Thu, Oct 29, 2015 at 12:28 PM, Balaco Baco wrote: > A few weeks ago, after more struggling than I expected, I was abble to > run UML. I recompiled the linux kernel from source; I did not use the > root fs files available in the website, and found a Debian that seems to > suit my needs. > > But yesterday I tried to execute it again, it did not work. The fact > that yesterday I tried it through SSH makes a difference? > > Most of the command lines I had in my Bash history (long enough to have > almost everything I did in the previous session with this problem). None > of them worked. Most of them just seg fault in the beginning of > execution. Error related to root fs (surprise for me!). Just two of the > commands I tried did not seg fault immediatelly; but they also give no > output, and I had to start another SSH session, at the same time, to be > able to kill it (since ctrl+c and any other keyboard shortcuts) would be > "processed" my uml. I'm not sure what to do now. > > This command line I executed right now: > > ./linux-2.6.24-x86_64 ubda=Debian-Wheezy-x86-root_fs mem=128M You cannot use i386 userspace on a x86_64 kernel. > Execute in the folder where the root fs file exists, gives ONLY this > output (almost immediatelly). It is through SSH. Is there a problem > here? I expected an user/password "screen" or anything similar. > > The whole output I have for the above command, and I will let it waiting > for several minutes, is: > > === > Core dump limits : > soft - 0 > hard - NONE > Checking that ptrace can change system call numbers...OK > Checking syscall emulation patch for ptrace...OK > Checking advanced syscall emulation patch for ptrace...OK > Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm > Checking PROT_EXEC mmap in /tmp/...OK > Checking for new_mm and switch_mm support in the host: > /proc/self/mm ... Failed - > No such file or directory > Checking for the skas3 patch in the host: > - /proc/mm...not found: No such file or directory > - PTRACE_FAULTINFO...not found > - PTRACE_LDT...not found > UML running in SKAS0 mode > Adding 29876224 bytes to physical memory to account for exec-shield gap > Linux version 2.6.24-g91525300-dirty (jd...@amd64.user-mode-linux.org) > (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 Mon Jan 28 12:03:41 > EST 2008 > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > 39515 > Kernel command line: ubda=Debian-Wheezy-x86-root_fs mem=128M root=98:0 > PID hash table entries: 1024 (order: 10, 8192 bytes) > Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) > Inode-cache hash table entries: 16384 (order: 5, 131072 bytes) > Memory: 122164k available > Mount-cache hash table entries: 256 > Checking that host ptys support output SIGIO...Yes > Checking that host ptys support SIGIO on close...No, enabling workaround > net_namespace: 120 bytes > Using 2.6 host AIO > NET: Registered protocol family 16 > NET: Registered protocol family 2 > Time: itimer clocksource has been installed. > IP route cache hash table entries: 2048 (order: 2, 16384 bytes) > TCP established hash table entries: 8192 (order: 5, 131072 bytes) > TCP bind hash table entries: 8192 (order: 4, 65536 bytes) > TCP: Hash tables configured (established 8192 bind 8192) > TCP reno registered > Checking host MADV_REMOVE support...OK > mconsole (version 2) initialized on > /home/folder/path/.uml/1DZd7v/mconsole > ((! the above line was manually changed for this message; and the > working folder is a subfolder in my home folder !)) > VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 512 (order 0, 4096 bytes) > io scheduler noop registered > io scheduler anticipatory registered (default) > io scheduler deadline registered > io scheduler cfq registered > TCP cubic registered > NET: Registered protocol family 1 > NET: Registered protocol family 17 > Initialized stdio console driver > Console initialized on /dev/tty0 > console [tty0] enabled > Initializing software serial port version 1 > console [mc-1] enabled > ubda: unknown partition table > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > request_module: runaway loop modprobe binfmt-464c > request_module: runaway loop modprobe binfmt-464c > request_module: runaway loop modprobe binfmt-464c > request_module: runaway loop modprobe binfmt-464c > request_module: runaway loop modprobe binfmt-464c > > === > > What do you suggest to try? > > -- > Balaco > > > -- > http://www.fastmail.com - A fast, anti-spam email service. > > > -- > ___ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux