On Wednesday 06 February 2008 03:05:10 pm Jeff Dike wrote:
> On Wed, Feb 06, 2008 at 01:48:46PM +0000, David Rye of Road Tech wrote:
> > Is it possible to run a 32bit guest on a 64bit host?
>
> It is, but you need an up-to-date host kernel, as there were host bugs
> which broke 32-bit compatibility for UML.  I think 2.6.23 on the host
> should be fine, but I don't remember exactly when the fixes went in.
>
> > helper_child - execvp of '/usr/sbin/in.telnetd' failed - errno = 2
>
> This means you don't have the uml utilties installed - some distros
> have them packaged, otherwise, grab, build, and install
> http://user-mode-linux.sourceforge.net/uml_utilities_20070815.tar.bz2
>
>                               Jeff

No it means that I did not have telnet-server-0.17-41.fc8.x86_64.rpm, 
installed on the host :-(

Still can not get a login session on the 32bit UML example.
the 64bit example works.

After a failed attempt.
mount -o loop FedoraCore5-x86-root_fs mnt
and looking at the log files.

Suggest that mingetty is having problems accessing the device.

If I try the same filesystem and UML kernel on a machine with a 32bit VIA C3 
processor running Fedora8 32bit, I get a login.
The only significant difference I can find in the logs is right near the end 
of the messages file. when the 32bit machine logs some additional modprobe 
errors but then goes on to work..... 

tail section of messages file on 32bit.
======================
Feb 11 15:45:10 localhost kernel: EXT3 FS on ubda, internal journal
Feb 11 15:45:10 localhost kernel: line_ioctl: tty0: ioctl TIOCLINUX called
Feb 11 15:45:11 localhost last message repeated 11 times
Feb 11 15:45:12 localhost modprobe: FATAL: Could not 
load /lib/modules/2.6.22-rc2/modules.dep: No such file or directory
Feb 11 15:45:12 localhost modprobe: FATAL: Could not 
load /lib/modules/2.6.22-rc2/modules.dep: No such file or directory
Feb 11 15:45:12 localhost kernel: line_ioctl: tty0: ioctl TIOCLINUX called
Feb 11 15:45:40 localhost modprobe: FATAL: Could not 
load /lib/modules/2.6.22-rc2/modules.dep: No such file or directory
======================

dmesg 64bit
========
Linux version 2.6.22-rc2 ([EMAIL PROTECTED]) (gcc version 4.1.1 
20070105 (Red Hat 4.1.1-51)) #342 Wed May 23 11:56:49 EDT 2007
On node 0 totalpages: 8192
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists.  Total pages: 8128
Kernel command line: ubda=FedoraCore5-x86-root_fs con=xterm root=98:0
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 30284k available
Calibrating delay loop... 4089.44 BogoMIPS (lpj=20447232)
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Using 2.6 host AIO
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
Checking host MADV_REMOVE support...OK
mconsole (version 2) initialized on /root/.uml/BegChl/mconsole
Host TLS support detected
Detected host type: x86_64
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (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
Initializing software serial port version 1
 ubda: unknown partition table
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
line_ioctl: tty0: ioctl KDSIGACCEPT called
line_ioctl: tty0: ioctl TIOCLINUX called
line_ioctl: tty0: ioctl TIOCLINUX called
EXT3 FS on ubda, internal journal

messages 64bit
=========
Feb 11 10:49:31 localhost kernel: klogd 1.4.1, log source = /proc/kmsg 
started.
Feb 11 10:49:31 localhost kernel: Linux version 2.6.22-rc2 
([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 
4.1.1-51)) #342 Wed May 23 11:56:49 EDT 2007
Feb 11 10:49:31 localhost kernel: Built 1 zonelists.  Total pages: 8128
Feb 11 10:49:31 localhost kernel: Kernel command line: 
ubda=FedoraCore5-x86-root_fs con=xterm root=98:0
Feb 11 10:49:31 localhost kernel: PID hash table entries: 128 (order: 7, 512 
bytes)
Feb 11 10:49:31 localhost kernel: Dentry cache hash table entries: 4096 
(order: 2, 16384 bytes)
Feb 11 10:49:31 localhost kernel: Inode-cache hash table entries: 2048 (order: 
1, 8192 bytes)
Feb 11 10:49:31 localhost kernel: Memory: 30284k available
Feb 11 10:49:31 localhost kernel: Mount-cache hash table entries: 512
Feb 11 10:49:31 localhost kernel: Checking for host processor cmov 
support...Yes
Feb 11 10:49:31 localhost kernel: Checking for host processor xmm support...No
Feb 11 10:49:31 localhost kernel: Checking that host ptys support output 
SIGIO...Yes
Feb 11 10:49:31 localhost kernel: Checking that host ptys support SIGIO on 
close...No, enabling workaround
Feb 11 10:49:31 localhost kernel: Using 2.6 host AIO
Feb 11 10:49:31 localhost kernel: NET: Registered protocol family 16
Feb 11 10:49:31 localhost kernel: NET: Registered protocol family 2
Feb 11 10:49:31 localhost kernel: IP route cache hash table entries: 1024 
(order: 0, 4096 bytes)
Feb 11 10:49:31 localhost kernel: TCP established hash table entries: 1024 
(order: 1, 8192 bytes)
Feb 11 10:49:31 localhost kernel: TCP bind hash table entries: 1024 (order: 0, 
4096 bytes)
Feb 11 10:49:31 localhost kernel: TCP: Hash tables configured (established 
1024 bind 1024)
Feb 11 10:49:31 localhost kernel: TCP reno registered
Feb 11 10:49:31 localhost kernel: Checking host MADV_REMOVE support...OK
Feb 11 10:49:31 localhost kernel: mconsole (version 2) initialized 
on /root/.uml/BegChl/mconsole
Feb 11 10:49:31 localhost kernel: Host TLS support detected
Feb 11 10:49:31 localhost kernel: Detected host type: x86_64
Feb 11 10:49:31 localhost kernel: VFS: Disk quotas dquot_6.5.1
Feb 11 10:49:31 localhost kernel: Dquot-cache hash table entries: 1024 (order 
0, 4096 bytes)
Feb 11 10:49:31 localhost kernel: io scheduler noop registered
Feb 11 10:49:31 localhost kernel: io scheduler anticipatory registered 
(default)
Feb 11 10:49:31 localhost kernel: io scheduler deadline registered
Feb 11 10:49:31 localhost kernel: io scheduler cfq registered
Feb 11 10:49:31 localhost kernel: TCP cubic registered
Feb 11 10:49:31 localhost kernel: NET: Registered protocol family 1
Feb 11 10:49:31 localhost kernel: NET: Registered protocol family 17
Feb 11 10:49:31 localhost kernel: Initialized stdio console driver
Feb 11 10:49:31 localhost kernel: Console initialized on /dev/tty0
Feb 11 10:49:31 localhost kernel: Initializing software serial port version 1
Feb 11 10:49:31 localhost kernel:  ubda: unknown partition table
Feb 11 10:49:31 localhost kernel: EXT3-fs: INFO: recovery required on readonly 
filesystem.
Feb 11 10:49:31 localhost kernel: EXT3-fs: write access will be enabled during 
recovery.
Feb 11 10:49:31 localhost kernel: kjournald starting.  Commit interval 5 
seconds
Feb 11 10:49:31 localhost kernel: EXT3-fs: recovery complete.
Feb 11 10:49:31 localhost kernel: EXT3-fs: mounted filesystem with ordered 
data mode.
Feb 11 10:49:31 localhost kernel: VFS: Mounted root (ext3 filesystem) 
readonly.
Feb 11 10:49:31 localhost kernel: line_ioctl: tty0: ioctl KDSIGACCEPT called
Feb 11 10:49:31 localhost kernel: line_ioctl: tty0: ioctl TIOCLINUX called
Feb 11 10:49:31 localhost kernel: line_ioctl: tty0: ioctl TIOCLINUX called
Feb 11 10:49:31 localhost kernel: EXT3 FS on ubda, internal journal
Feb 11 10:49:31 localhost kernel: line_ioctl: tty0: ioctl TIOCLINUX called
Feb 11 10:49:32 localhost last message repeated 12 times
Feb 11 10:49:32 localhost /sbin/mingetty[956]: tty0: No such file or directory
Feb 11 10:49:37 localhost /sbin/mingetty[957]: tty0: No such file or directory
Feb 11 10:49:42 localhost /sbin/mingetty[958]: tty0: No such file or directory
Feb 11 10:49:47 localhost /sbin/mingetty[959]: tty0: No such file or directory
Feb 11 10:49:52 localhost /sbin/mingetty[960]: tty0: No such file or directory
Feb 11 10:49:57 localhost /sbin/mingetty[961]: tty0: No such file or directory
Feb 11 10:50:02 localhost /sbin/mingetty[962]: tty0: No such file or directory
Feb 11 10:50:07 localhost /sbin/mingetty[963]: tty0: No such file or directory
Feb 11 10:50:12 localhost /sbin/mingetty[964]: tty0: No such file or directory
Feb 11 10:50:17 localhost /sbin/mingetty[965]: tty0: No such file or directory
Feb 11 10:50:22 localhost init: Id "c0" respawning too fast: disabled for 5 
minutes     

Yours

J. David Rye

*************************************************************************
This e-mail is confidential and may be legally privileged. It is intended
solely for the use of the individual(s) to whom it is addressed. Any
content in this message is not necessarily a view or statement from Road
Tech Computer Systems Limited but is that of the individual sender. If
you are not the intended recipient, be advised that you have received
this e-mail in error and that any use, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited. We use
reasonable endeavours to virus scan all e-mails leaving the company but
no warranty is given that this e-mail and any attachments are virus free.
You should undertake your own virus checking. The right to monitor e-mail
communications through our networks is reserved by us

  Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
  Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
  Registered in England No: 02017435, Registered Address: Charter Court, 
  Midland Road, Hemel Hempstead,  Hertfordshire, HP2 5GE. 
*************************************************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to