On Thu, Oct 29, 2015 at 12:28 PM, Balaco Baco <balacob...@imap.cc> 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-user -- 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