Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keine LVM-Volumes mehr nach Kernel-Update
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
2bbionic
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 150

PostPosted: Fri Jan 01, 2016 10:27 am    Post subject: Keine LVM-Volumes mehr nach Kernel-Update Reply with quote

Hallo,

nach längerer Zeit wollte ich meinen Kernel wieder updaten, was aber schif gng, da er nach dem Update meine LVM Voumes nicht mehr gefunden hat.
Das System ist eine XEN0-Machine (XEN 4.6.0), der Kernel jewéils "von Hand" gebaut, also kein Genkernel.
Der funktionierende Kernel ist ein 3.8.13; fehlgeschlagen ist es mit der Version 4.1.12
Ein "make oldconfig" habe ich ausgeführt. "enable deprecated sysfs features" und "Enable deprecated sysfs features by default" sind aktiviert.

Mit dem "alten" Kernel kann ich ganz normal booten; der neue bootet zwar, findet aber die physical volumes nicht mehr.
Leider weiß ich nicht mehr weiter - die Infos im Netz bezogen sich alle auf den genkernel...
Hat jemand eine Idee, was ich tun kann, um den neuen Kernel in Betrieb nehmen zu können?

Hier noch ein emerge --info:
Code:
Portage 2.2.24 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:      486252 total,    195736 free
KiB Swap:    2931824 total,   2931824 free
Timestamp of repository gentoo: Fri, 01 Jan 2016 04:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv mmx mmxext modules multilib ncurses nls nptl ntplonly openmp pae pam pcre readline seccomp session snmp sse sse2 ssl symlink tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


lvm2 ist wie wie folgt gebaut:
Code:
 * Found these USE flags for sys-fs/lvm2-2.02.116:
 U I
 - - device-mapper-only : Build only device-mapper and not the rest of LVM2
                          (UNSUPPORTED)
 - - lvm1               : Allow users to build lvm2 with lvm1 support
 - - lvm2create_initrd  : Install lvm2create_initrd script and pull in
                          sys-apps/makedev for the /sbin/MAKEDEV command
 + + readline           : Enable support for libreadline, a GNU line-editing
                          library that almost everyone wants
 - - static             : !!do not set this during bootstrap!! Causes binaries
                          to be statically linked instead of dynamically
 - - static-libs        : Build static versions of dynamic libraries as well
 - - systemd            : Enable use of systemd-specific libraries and features
                          like socket activation or session tracking
 + + thin               : Support for thin volumes
 + + udev               : Enable virtual/udev integration (device discovery,
                          power and storage device support, etc)


Vielen Dank,

2bb
Back to top
View user's profile Send private message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1358
Location: Eppingen, Germany

PostPosted: Fri Jan 01, 2016 3:09 pm    Post subject: Reply with quote

Nutzt Du systemd? Da gab es - glaube ich - etwas im Zusammenhang mit der Bootreihenfolge.... irgendwas muss bereits eingebunden sein umd lvm zu starten...

Ob das mit dem Kernelupdate durcheinandergekommen sein kann, weiss ich nicht... ist nur mal ein Schuß ins Blaue.

uhai
Back to top
View user's profile Send private message
2bbionic
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 150

PostPosted: Sat Jan 02, 2016 10:58 am    Post subject: Reply with quote

Nein, kein systemd.
Ich boote von einer normalen Partition; auch in den gleichen XEN-Kernel.

Grüße,

2bb
Back to top
View user's profile Send private message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1358
Location: Eppingen, Germany

PostPosted: Wed Jan 06, 2016 10:47 am    Post subject: Reply with quote

Schade, habe kein lvm mehr am Laufen.... und ich denke, die Doku kennst Du selber. Dann muss ich passen.

uhai
Back to top
View user's profile Send private message
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Wed Jan 06, 2016 7:28 pm    Post subject: Reply with quote

Nutzt du ein Initramfs? Ich nutze hier für meine Systeme, bei denen ich LVM verwende, immer Dracut. Vielleicht hast du einfach vergessen, für den neuen Kernel das entsprechende Initramfs zu erstellen (will es nur mal erwähnen, weil ich das selbst schonmal vergesssen habe und mich verzweifelt gefragt habe, wo auf einmal die Kernel Panic herkommt...).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum