Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129431 - xen-sources-2.6.16 install is broken
Summary: xen-sources-2.6.16 install is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-09 23:50 UTC by Heiko Wundram
Modified: 2006-04-18 02:15 UTC (History)
1 user (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 Heiko Wundram 2006-04-09 23:50:53 UTC
xen-sources-2.6.16 installs a broken kernel source tree. This is after fixing the digest error (with an ebuild ... digest) on xen-3.0.2.tgz, which has been reported earlier.

The following output appears when trying to compile the kernel sources:

vmserv-test linux # make oldconfig
Makefile:440: /usr/src/linux-2.6.16-xen/arch/xen/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/linux-2.6.16-xen/arch/xen/Makefile'.  Stop.
vmserv-test linux #

I've not yet looked deeper into the problem, but it appears that the ebuild installs a vanilla kernel tree, and not the xen-patched tree.

Emerge info:

vmserv-test linux # emerge -pv xen-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-kernel/xen-sources-2.6.16  USE="-build -doc -symlink" 0 kB

Total size of downloads: 0 kB
vmserv-test linux # emerge --info
Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-rc5-xen-hw1 x86_64)
=================================================================
System uname: 2.6.16-rc5-xen-hw1 x86_64 AMD Sempron(tm) Processor 3000+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict userpriv"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/portage/tmp"
PORTDIR="/var/portage/portage"
PORTDIR_OVERLAY="/var/portage/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 alsa apache2 avi bash-completion berkdb bitmap-fonts cli crypt ctype cups dba dri eds emacs emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gif gnome gpm gstreamer gtk2 imlib iproute2 ipv6 isdnlog javascript kde lzw lzw-tiff memlimit mp3 mpeg mysql ncurses nls nptl nptlonly opengl pam pcre pdflib perl posix pppd python qt quicktime readline session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts unicode usb xml xpm xsl xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

vmserv-test linux #
Comment 1 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-10 05:03:37 UTC
Thanks for the report. I've just commited -r1 which should fix this.
Comment 2 liris 2006-04-17 20:46:05 UTC
(In reply to comment #1)
> Thanks for the report. I've just commited -r1 which should fix this.
> 

Hi,
I installed xen-sources-2.6.16-r1 and I got the same trouble. The /usr/src/linux-2.6.16-xen-r1/arch/xen/ directory does not exist. My emerge info is ...

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
LINGUAS="ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk cli crypt ctype cups curl dba dri dvd eds emacs emboss encode esd exif expat fam fastbuild font-server foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib immqt-bc ipv6 isdnlog jpeg kde lcms leim libwww lzw lzw-tiff mad memlimit mhash mng motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl pam pcre pdflib perl png posix postgres pppd python qt quicktime readline ruby samba sdl session simplexml snmp soap sockets spell spl sqlite ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb vhosts vorbis xml xml2 xpm xsl xv zlib linguas_ja userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS


Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-18 02:02:44 UTC
Xen isn't an ARCH anymore. You can check the latest xen kernel patch to see what gets installed here http://tx.downloads.xensource.com/xen-3.0-testing.hg?cmd=manifest;manifest=b0edad3875e453c4f38f5b7fc3ca5f753b8ecdb4;path=/linux-2.6-xen-sparse/
Comment 4 liris 2006-04-18 02:15:24 UTC
OK, I see this is not xen-kernel problem.
 
I am following this instruction, http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo , using genkernel. Is this correct instruction? or should I build kernel manually?