On Tuesday 17 January 2006 06:33, Eli Spizzichino wrote:
> hello all, I'm having serious issues running UML guest on amd64:
>
> On the 64bit (gentoo) host with vanilla 2.6.14.2 + skas3-v9-pre7 and
> guest vanilla 2.6.14.2 + uml-2.6.14-bs3.patch when I try to run
> /uml/bin/linux ubd0=root_fs ubd1=swap_fs
> I got
> Kernel panic - not syncing: map_stub_pages : /proc/mm map for code
> failed,err = 22
> this happens for both a 64 and 32bit guest root_fs.

Add "skas0" to the cmd line.

SKAS3 on amd64 host only works with Slackware root_fs.

Another note: with a 64-bit guest kernel you can only run 64-bit FS's, not 
32-bit ones. That support is a TODO, for now use 32-bit kernels with 32-bit 
FS's.

> I've also tried in chrooted 32bit and recompile/repatch the guest
> kernel with or without SUBARCH=i386 but the result is that it freeze just a
> line before: VFS: Mounted root (reiserfs filesystem) readonly. with 90%
> cpu used

With SKAS3 on host things don't work.

A feature is that to build 32-bit binaries you can simply use SUBARCH=i386 
without being in a chroot.

> appending mode=skas0 here is the full output. it looks there are other
> errors... what do you advice to

> 1- get skas3 working

You cannot on x86_64, as said.

> 2- fix skas0 other error

Yes. It boots however and works minimally, right? The errors you get seem 
non-critical (except network won't work).

> Don't know what to try next ...
> thanks in advance
>

> line_ioctl: tty0: unknown ioctl: 0x541e
> line_ioctl: tty0: unknown ioctl: 0x5603
> line_ioctl: tty0: ioctl KDGKBTYPE called
> line_ioctl: tty0: ioctl KDGKBTYPE called
> line_ioctl: tty0: ioctl KDGKBTYPE called
> line_ioctl: tty0: ioctl KDGKBTYPE called
> line_ioctl: tty0: ioctl KDGKBTYPE called
> line_ioctl: tty0: ioctl KDGKBTYPE called
> Couldnt get a file descriptor referring to the console

Ignore these.

> KDGKBMODE: Bad file descriptor
> loadkeys: error reading keyboard mode
> Problem when loading /etc/console/boottime.kmap.gz
> use install-keymap

Disable loadkeys, makes no sense in UML.

> Activating swap.
> hwclock is unable to get I/O port access:  the iopl(3) call failed.

Normal too.

> System time was Tue Jan 17 05:28:08 UTC 2006.

> Setting the System Clock using the Hardware Clock as reference...
> hwclock is unable to get I/O port access:  the iopl(3) call failed.

Normal too.

> System Clock set. System local time is now Tue Jan 17 05:28:08 UTC 2006.
> Cleaning up ifupdown...done.
> Checking all file systems...
> fsck 1.39-WIP (10-Dec-2005)
> Setting kernel variables ...
> ... done.
> Mounting local filesystems...

Local configuaration errors follow.

> [mntent]: warning: no final newline at the end of /etc/fstab

The below one is a bug in script of your distros when used with recent "find".

> Cleaning /tmpfind: warning: you have specified the -maxdepth option
> after a non-option argument -perm, but options are not positional
> (-maxdepth affects tests specified before it as well as those specified
> after it).  Please specify options before other arguments.

>   /var/run /var/lock.
> Running 0dns-down to make sure resolv.conf is ok...done.
> Setting up networking...done.
> Setting up IP spoofing protection: rp_filter.
> Configuring network interfaces..

> The tap IP address and the UML eth IP 
> address must be different

Yep, this is clear. Read network docs to understand why.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to