[H-GEN] user mode linux and pts/tty issues?
Troy Piggins
troy at piggo.com
Wed Jul 6 23:49:54 EDT 2011
I'm trying to get a UML virtual machine running on a ReadyNAS Ultra 4. I was
trying VirtualBox for the VM, but can't seem to get that running either.
Looking at the UML homepage http://user-mode-linux.sourceforge.net/ they say
it's as simple to get going as download the kernel, download a filesystem, and
simply run "./kernel ubda=filesystem"
Anyone here with UML experience? Actually it may not just be a UML issue, but
more my understanding of TTY/PTY/PTS terminals/consoles etc. I'll continue...
The RNAS box is a x86_64 processor. The kernel I downloaded was
kernel32-2.6.39.2 for 32 bit i386, and the filesystem was
Ubuntu-LucidLynx-i386-root_fs. I did also download 64 bit kernel and
filesystem, but the FS one was for AMD64. Got them from
http://uml.devloop.org.uk/index.html and http://fs.devloop.org.uk/
Below is an extract of the output, I can provide full if that'll help. I'm
shelling into the NAS via ssh and then opening a screen session. "tty" in one
of the screen windows is /dev/pts/1 etc. After that last line nothing else is
displayed, and I have to killall the process
I'm not sure where to go from here. Searching around google the only time
similar question has come up, it's unanswered.
Any suggestions?
# ./kernel32-2.6.39.2 ubda=./Ubuntu-LucidLynx-i386-root_fs
Locating the bottom of the address space ... 0x0
Locating the top of the address space ... Checking that ptrace can change syste
m call numbers...0xffffd000
Core dump limits :
soft - 0
hard - NONE
OK
Checking syscall emulation patch for ptrace...0xffffd000
Core dump limits :
soft - 0
hard - NONE
OK
<snip />
[ 0.220000] console [mc-1] enabled
[ 0.220000] ubda: unknown partition table
[ 0.270000] EXT3-fs: barriers not enabled
[ 0.270000] kjournald starting. Commit interval 5 seconds
[ 0.270000] EXT3-fs (ubda): mounted filesystem with writeback data mode
[ 0.270000] VFS: Mounted root (ext3 filesystem) readonly on device 98:0.
init: ureadahead main process (957) terminated with status 5MM
[ 1.260000] getmaster - no usable host pty devices
[ 1.260000] Failed to open console 7, err = -2
[ 2.030000] getmaster - no usable host pty devices
[ 2.030000] Failed to open console 1, err = -2
[ 2.030000] getmaster - no usable host pty devices
[ 2.030000] Failed to open console 1, err = -2
[ 2.030000] getmaster - no usable host pty devices
<snip />
[ 2.030000] Failed to open console 12, err = -2
[ 2.030000] getmaster - no usable host pty devices
[ 2.030000] Failed to open console 12, err = -2
[ 2.030000] getmaster - no usable host pty devices
[ 2.030000] Failed to open console 12, err = -2
init: console-setup main process (978) terminated with status 1MM
init: procps main process (979) terminated with status 255MM
udevd[985]: failed to create queue file: No such file or directoryM
MM
udevd[985]: error creating queue fileM
MM
init: udev main process (985) terminated with status 1MM
init: udev main process ended, respawningMM
init: udevmonitor main process (987) terminated with status 2MM
udevadm[1653]: error sending message: Connection refusedM
MM
[ 3.710000] getmaster - no usable host pty devices
[ 3.710000] Failed to open console 7, err = -2
[ 3.730000] getmaster - no usable host pty devices
[ 3.730000] Failed to open console 1, err = -2
mountall: Disconnected from PlymouthM
init: plymouth main process (958) killed by SEGV signalMM
init: plymouth-splash main process (1654) terminated with status 2MM
More information about the General
mailing list