LVM rootdisk - kernel update

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
 

LVM rootdisk - kernel update

Post by cybermage »

ich hab auf meinem sarge einen 2.4.24 kernel mit initrd und LVM laufen. und zwar erstaunlicherweise von anfang an ohne probleme ;)

nun möchte ich auf 2.4.26 updaten:
- quellen von kernel.org gesaugt
- config von meinem laufenden 2.4.24 übernommen
- # make dep bzImage modules modules_install
- # depmod -a 2.4.26
- # lvmcreate_initrd 2.4.26
- den neuen kernel mit der neuen initrd in /etc/lilo.conf als default
- # lilo
- # shutdown -r now

bis hier alles ohne probleme :)
nur kann ich meinen server nicht mehr erreichen. ob er gar nicht bootet oder ob er nur keine netzanbindung hat kann ich leider nicht feststellen.

ich muss ins rescue system booten, meine platte mounten und den lilo wieder zurückschreiben dann bootet er wieder ohne probleme.

ich wüsste nun gern wo ich denn am besten mit der fehlersuche anfange ... vielleicht hat mir wer ein paar denkanstöße :)
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: LVM rootdisk - kernel update

Post by Joe User »

vmlinuz, initrd und System.map liegen am richtigem Ort?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
 

Re: LVM rootdisk - kernel update

Post by cybermage »

yup alles an seinem platz
/boot/vmlinuz-2.4.24
/boot/vmlinuz-2.4.26
/boot/lvm-initrd-2.4.24
/boot/lvm-initrd-2.4.26
/boot/System.map
hab auch grad nochmal die neue System.map nach /boot/System.map-2.4.26 kopiert und verlinkt.
leider keine besserung
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: LVM rootdisk - kernel update

Post by Joe User »

Alle Module vorhanden? /etc/modules.conf geprüft? Bootloaderconfig angepasst? Fipptehler ausgeschlossen?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
 

Re: LVM rootdisk - kernel update

Post by cybermage »

ich hab zwar modul support, allerdings werden keine module geladen.
/etc/lilo.conf

boot=/dev/hda
install=/boot/boot-menu.b
delay=5
lba32
default=lvm-2.4.26

image=/boot/vmlinuz-2.4.24
label=lvm-2.4.24
root=/dev/vg1/root
initrd=/boot/initrd-lvm-2.4.24.gz

image=/boot/vmlinuz-2.4.26
label=lvm-2.4.26
root=/dev/vg1/root
initrd=/boot/initrd-lvm-2.4.26.gz
tippfehler auch fehlanzeige. der pfad zu den initrds stimmt auch. hab mich nur im letzten posting vertan. es geht übrigens mit dem 2.4.25 auch nicht. habs grad probiert. *kopfkrat*
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: LVM rootdisk - kernel update

Post by oxygen »

als ich hätte an deiner Stelle ein make oldconfig gemacht, keine Ahnung ob das der Fehler ist.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: LVM rootdisk - kernel update

Post by Joe User »

Ist es :-/
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
 

Re: LVM rootdisk - kernel update

Post by cybermage »

gar keine so dumme idee ;)

# cp /boot/config-2.4.24 .config
# make oldconfig
# make dep
# make bzImage

Code: Select all

gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386   -nostdinc -iwithprefix include -DKBUILD_BASENAME=tdfx_drv  -c -o tdfx_drv.o tdfx_drv.c
In file included from tdfx_drv.c:35:
drmP.h:180: error: redefinition of `__cmpxchg'
/usr/src/linux-2.4.26/include/asm/system.h:245: error: `__cmpxchg' previously defined here
hmpf :(
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: LVM rootdisk - kernel update

Post by Joe User »

Lassen sich *.24 und *.25 kompilieren? Welcher Compiler(Version)?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
 

Re: LVM rootdisk - kernel update

Post by cybermage »

warum braucht mein server eigentlich nen direct rendering manager für X11 ?? hä ?? hä ??
wer is denn auf diese besch... oh ... das war wohl ich :)
jedenfalls hab ich ihn deaktiviert und das kompilieren läuft jetz mal durch.
ich meld mich dann nochmal mit erfolg oder misserfolg :)
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: LVM rootdisk - kernel update

Post by oxygen »

mir kam das 3dfx auch schon spanisch vor...
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
 

Re: LVM rootdisk - kernel update

Post by cybermage »

und es geht immernoch nicht ...
irgendwas muss ich übersehen haben
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: LVM rootdisk - kernel update

Post by Joe User »

Lassen sich *.24 und *.25 kompilieren? Welcher Compiler(Version)?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.