Bug 173622 - sys-kernel/genkernel-3.4.7 can't copy lvm.conf
|
Bug#:
173622
|
Product: Gentoo Hosted Projects
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: genkernel@gentoo.org
|
Reported By: nbensa@gmail.com
|
|
Component: genkernel
|
|
|
URL:
|
|
Summary: sys-kernel/genkernel-3.4.7 can't copy lvm.conf
|
|
Keywords: InSVN
|
|
Status Whiteboard:
|
|
Opened: 2007-04-07 03:08 0000
|
* >> Appending lvm2 cpio data...
* LVM2: Adding support (using local static binaries)...
* Gentoo Linux Genkernel; Version 3.4.7
* Running with options: --no-clean --oldconfig --lvm2 all
* ERROR: Could not copy over lvm.conf!
* -- End log... --
$ emerge --info
Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1,
2.6.20-gentoo-r4 i686)
=================================================================
System uname: 2.6.20-gentoo-r4 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 06 Apr 2007 08:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/usr/X11R6/lib/X11/xkb"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/vmware /usr/portage/local/layman/xeffects
/usr/portage/local/zoolook"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X X509 a52 aac accessibility acl acpi activefilter addbookmarks adns
aiglx aim akode alias alsa amr ao ares arts artswrappersuid async audiofile
autoipd autoreplace avahi avantgo berkdb binfilter blender-game bluetooth
branding browserplugin bzip2 cairo canvas caps cdda cddb cdinstall cdparanoia
chroot commercial connectionstatus contactnotes crypt css cups curl
custom-cflags custom-flags dbus deprecated dhcp divx divx4linux djbfft dlloader
dmi dri dts dv dvb dvd dvdr dvdread dxr3 ecc emovix encode exif expat
extensions faad fame fat ffmpeg fftw firefox flac floppyboot fontconfig fping
fpx freetype ft fuse gadu gd gdbm gif glib glibc-omitfp glitz glut gmedia gmp
gpg2-experimental gpgme gphoto2 gpm graphviz groupwise gs gstreamer gtk gtk2
gtkhtml hal hardware-carrier hfs highlight history howl icq id3 ide idea idn
ieee1394 ifp ilbc imagemagick imap imlib insecure-savers ipod irc irda irmc
ithreads jabber jack java javascript jfs jingle jpeg jpeg2k js justify kde
kdeenablefinal kdepim kipi kqemu lame lcms ldap libedit libsamplerate lirc
lm_sensors lua lzo lzw-tiff mad mbrola meanwhile midi mikmod mjpeg mmap mmx mng
mod modplug module mono motif mozbranding mozcalendar mozdevelop mozilla mozsvg
mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mtp multiuser musepack musicbrainz
mysql nas ncurses net netboot netmeeting network nfs nis nomalloccheck
nowlistening nptl nptlonly nsplugin ntfs numeric nvidia offensive ogg oggvorbis
on-the-fly-crypt openal openexr opengl ortp overlays pam pam_chroot
pam_timestamp pccts pch pcre pda pdf perl pic png pulseaudio pwdb python qmax
qq qt qt3 qt3support qt4 quicktime radius readline real realmedia reiser4
reiserfs restrict-javascript rle rtc rtsp ruby samba sametime sasl scanner
server sftplogging shout silc smime sms smtp sndfile sound speex spell sqlite
sqlite3 sse sse2 ssl startup-notification statistics stream subtitles svg sysfs
syslog taglib tcl tcltk tcpd teamarena texteffect theora threads tiff timidity
tk translator transmitter truetype truetype-fonts ucs2 udev unicode usb
userlocales utempter v4l v4l2 vcd vdesktop vidix visualization vorbis
vorbis-psy webpresence wifi win32codecs winpopup wmf wmp wxwindows x264 x86
xanim xattr xcomposite xforms xfs xine xml xml2 xorg xpm xprint xscreensaver
xsl xv xvid xvmc yahoo yp zeroconf zlib" ALSA_CARDS="emu10k1 hda-intel intel8x0
intel8x0m via82xx via82xx-modem atiixp atiixp-modem" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
CAMERAS="adc65 agfa-cl20 aox barbie canon casio clicksmart310 digigr8 digita
dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica
largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2
ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x
sq905 stv0674 stv0680 sx330z template toshiba" ELIBC="glibc"
INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="all"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I've had to go back to genkernel-3.4.6, and linux-headers-2.6.20 (with -r2,
busybox complains about asm/page.h)
Same problem here, same solution.
Portage 2.1.2.3 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r1,
2.6.20-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 07 Apr 2007 22:00:08 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17.50.0.14
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg ccache distcc distlocks metadata-transfer parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=both"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/layman/sunrise
/usr/local/overlays/layman/kpex-media
/usr/local/overlays/layman/toolchain_overlay /usr/local/overlays/layman/einit
/usr/local/overlays/standard"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 alsa amd64 audiofile branding bzip2 cairo cdr cjk cracklib crypt
cups dbus dri dvd dvdr ffmpeg firefox fontconfig gif gtk gtk2 hal iconv
imagemagick imlib java jpeg kdeenablefinal kdehiddenvisibility mad matroska mp3
mpeg musepack ncurses nls nptl nptlonly ogg opengl oss pcre perl png ppds
python readline samba sdl session ssl svg tcpd threads tiff truetype
truetype-fonts unicode usb vorbis wmf xorg xprint xv xvid zlib"
ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" EINIT_CORE="module-so module-logic-v3
bootstrap-configuration-xml-expat bootstrap-configuration-stree log
linux-sysconf linux-mount linux-process" EINIT_MODULES="feedback-visual-textual
feedback-aural hostname external exec ipc module-exec module-daemon mount tty
process parse-sh ipc-configuration shadow-exec module-transformations
ipc-core-helpers scheduler compatibility-sysv-utmp compatibility-sysv-initctl"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=115722) [details]
genkernel-3.4.7-lvm2.patch
Uhh... that's no "solution" but a workaround. A solution would have been a
patch, or at least an idea of what to change in the code. :P
Anyway, try applying this patch to 3.4.7 and see if this helps. It actually
reverts some other code and is a very dirty "solution" that is technically
correct, but causes a loss of features that I'd prefer not make permanent.
On a side note (and off topic) what's this "activating mdev" all about? It
makes a pause of about 10 seconds on boot that wasn't there before.
Thanks
Thanks for the patch !
And I should said I'm also interested in what this "activating mdev" stuff is
because the waiting time is a bit too long.
OK. As much as I hate to do this, I'm going ahead and putting this in
subversion. I'll have to fix the code that does the lvm.conf check at some
later point, since right now it is totally broken, and that's not good.