Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103026 - user mode linux doc is inaccurate, (fstab,building the kernel)
Summary: user mode linux doc is inaccurate, (fstab,building the kernel)
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/uml.xml
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 18:09 UTC by Rodrigo Lazo
Modified: 2005-11-17 20:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Lazo 2005-08-18 18:09:40 UTC
In the Gentoo Linux Developer's guide to system testing with User-Mode Linux it
says that you could use vanilla-sources. In fact, this could cause a big problem
in your system. A better, and safer, way to do it is downloading the vanilla
sources from kernel.org and compile it inside a temporal directory, because some
asm links problems. Then it says you should set fstab with /dev/ubd/0 for
root_fs and /dev/ubd/1 for swap_fs; but actually they are recognised as
/dev/ubda and /dev/ubdb.
Also, is better (actually in my case is the only way to make it work) to use a
host kernel with the skas patch

Reproducible: Always
Steps to Reproduce:
1.Follow the guide
2.
3.

Actual Results:  
With the vanilla-sources, it just doesn't compile. 
About fstab, the system can't check filesystems integrity and could mount swap
Without the skas patch, at least in my case, uml kernel doesn't boot, just hangs

Expected Results:  
A working system :)

As asked, emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6-skas3-v8.2 i686)
=================================================================
System uname: 2.6.12-gentoo-r6-skas3-v8.2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -ffast-math
-pipe -mfpmath=sse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -ffast-math
-pipe -mfpmath=sse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 crypt doc emacs fbcon gif gnutls gpm gtk gtk2
imlib jpeg mbox mmx mp3 mpeg mule mysql ncurses nls opengl pam perl png ppds
python spell sse ssl truetype-fonts usb xml2 xv userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Shyam Mani (RETIRED) gentoo-dev 2005-09-22 22:23:16 UTC
Grant, Sven any inputs?
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2005-10-31 13:31:56 UTC
I haven't used uml since I wrote the original doc, so I'm afraid that I'm not
much help.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2005-11-17 20:31:22 UTC
Thanks. I've updated the guide, but left out the skas stuff for now. I'll try to
dig deeper in that subject later and see how this patch can be integrated in
Gentoo's kernel(s).