LVM rootdisk - kernel update
-
- Posts: 158
- Joined: 2002-12-10 22:10
- Location: Ausgburg (Germany)
LVM rootdisk - kernel update
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 :)
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 :)
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: LVM rootdisk - kernel update
vmlinuz, initrd und System.map liegen am richtigem Ort?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
Wings for Life ● Wings 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.
-
- Posts: 158
- Joined: 2002-12-10 22:10
- Location: Ausgburg (Germany)
Re: LVM rootdisk - kernel update
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
/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
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: LVM rootdisk - kernel update
Alle Module vorhanden? /etc/modules.conf geprüft? Bootloaderconfig angepasst? Fipptehler ausgeschlossen?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
Wings for Life ● Wings 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.
-
- Posts: 158
- Joined: 2002-12-10 22:10
- Location: Ausgburg (Germany)
Re: LVM rootdisk - kernel update
ich hab zwar modul support, allerdings werden keine module geladen.
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*/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
-
- Posts: 2138
- Joined: 2002-12-15 00:10
- Location: Bergheim
Re: LVM rootdisk - kernel update
als ich hätte an deiner Stelle ein make oldconfig gemacht, keine Ahnung ob das der Fehler ist.
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: LVM rootdisk - kernel update
Ist es :-/
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
Wings for Life ● Wings 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.
-
- Posts: 158
- Joined: 2002-12-10 22:10
- Location: Ausgburg (Germany)
Re: LVM rootdisk - kernel update
gar keine so dumme idee ;)
# cp /boot/config-2.4.24 .config
# make oldconfig
# make dep
# make bzImage
hmpf :(
# 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
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: LVM rootdisk - kernel update
Lassen sich *.24 und *.25 kompilieren? Welcher Compiler(Version)?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
Wings for Life ● Wings 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.
-
- Posts: 158
- Joined: 2002-12-10 22:10
- Location: Ausgburg (Germany)
Re: LVM rootdisk - kernel update
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 :)
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 :)
-
- Posts: 2138
- Joined: 2002-12-15 00:10
- Location: Bergheim
Re: LVM rootdisk - kernel update
mir kam das 3dfx auch schon spanisch vor...
-
- Posts: 158
- Joined: 2002-12-10 22:10
- Location: Ausgburg (Germany)
Re: LVM rootdisk - kernel update
und es geht immernoch nicht ...
irgendwas muss ich übersehen haben
irgendwas muss ich übersehen haben
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: LVM rootdisk - kernel update
Lassen sich *.24 und *.25 kompilieren? Welcher Compiler(Version)?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
Wings for Life ● Wings 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.