Linuksowo.pl - Linux forum
Transkrypt
Linuksowo.pl - Linux forum
Subject: [ROZW] Problem z konf genkernela Posted by Paragraf on Mon, 23 Mar 2009 16:39:27 GMT View Forum Message <> Reply to Message Na polecenie genkernel all oddaje mi to (chroot) ubuntu / # genkernel all * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.27-gentoo-r8 for x86... * kernel: >> Running mrproper... * config: Using config from /usr/share/genkernel/x86/kernel-config-2.6 * Previous config backed up to .config.bak * >> Running oldconfig... * kernel: >> Cleaning... * >> Compiling 2.6.27-gentoo-r8 bzImage... * >> Compiling 2.6.27-gentoo-r8 modules... * ERROR: Failed to compile the "modules" target... * -- Grepping log... -CC lib/crc32.o LD lib/built-in.o AR lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 1 section mismatch(es). -make: *** [modules] Błąd 1 * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * ERROR: Failed to compile the "modules" target... * -- End log... -* Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to [email protected]. Please include * as much information as you can in your bug report; attaching Page 1 of 5 ---- Generated from Linuksowe by FUDforum 2.8.1 Linuksowo.pl - Linux forum - Polskie Forum * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! * Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by sKa_ on Mon, 23 Mar 2009 17:04:56 GMT View Forum Message <> Reply to Message @Paragraf A nie lepiej kompilować kernel "klasycznie"? Kernel budowany z genkernela będzie dosyć napakowany różnymi zbędnymi modułami. W dziale "Kernel" jest info odnośnie kompilacji kernela. Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by Paragraf on Mon, 23 Mar 2009 17:10:17 GMT View Forum Message <> Reply to Message Szczerze nie wiem czy podołam :blush: Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by hwast on Mon, 23 Mar 2009 17:12:57 GMT View Forum Message <> Reply to Message Pokaż /var/log/genkernel.log, a najlepiej skonfiguruj i skompiluj jądro ręcznie (konfigurację minimal-cd mogę ci podesłac, wtedy tylko skopiujesz 1 plik i klepniesz 3 polecenia - tylko napisz mi jaki masz procesor (x86, x86_64 czy inna architektura?)). Nigdy nie używałem genkernela, ale jeśli wykorzystuje on /proc/config.gz to tutaj szukałbym przyczyny problemów. Jądro w Ubuntu posiada wiele dodatkowych łatek, których możesz nie znaleźć w gentoo-sources. To może, ale nie musi byc przyczyną problemów. EDIT: Podołasz, podołasz, odwagi - nic nie stracisz, możesz sie jedynie czegoś nauczyć Page 2 of 5 ---- Generated from Linuksowe by FUDforum 2.8.1 Linuksowo.pl - Linux forum - Polskie Forum :) Zdravim Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by Paragraf on Mon, 23 Mar 2009 17:15:39 GMT View Forum Message <> Reply to Message Mam procesor x86 * Gentoo Linux Genkernel; Version 3.4.10^[[0m * Running with options: all * Linux Kernel 2.6.27-gentoo-r8^[[0m for x86^[[0m... * kernel: >> Running mrproper... COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86" CLEAN arch/x86/boot/compressed CLEAN /usr/src/linux-2.6.27-gentoo-r8 CLEAN arch/x86/boot CLEAN arch/x86/kernel CLEAN arch/x86/vdso CLEAN drivers/char CLEAN init CLEAN kernel CLEAN lib CLEAN scripts/basic CLEAN scripts/kconfig CLEAN scripts/mod Jeżeli mógłbyś mi to przesłać byłoby ok Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by hwast on Mon, 23 Mar 2009 17:36:34 GMT View Forum Message <> Reply to Message W załączniku zamieszczam .config z gentoo minimalCD x86. Page 3 of 5 ---- Generated from Linuksowe by FUDforum 2.8.1 Linuksowo.pl - Linux forum - Polskie Forum Wrzuć go sobie na usb or sthg. Teraz uruchamiasz liveCD, chrootujesz się na gentoo, tak jak to było opisane w podręczniku instalacji, montujesz pendrive'a z tym .config i kopiujesz go do /usr/share/genkernel/x86/kernel-config-2.6 Następnie odpalasz genkernel tak jak piszą w hanbooku (pomijasz krok z poleceniem zcat oczywiście) Zdravim Administrator: Poprawione kodowanie File Attachments 1) .config, downloaded 92 times Subject: Odp: Problem z konf genkernela Posted by Paragraf on Mon, 23 Mar 2009 18:18:06 GMT View Forum Message <> Reply to Message Po ponownym uruchomieniu Live cd nie mogę przejść w chroota, polecenie chroot /mnt/gentoo /bin/bash nie skutkuje może jakaś podpowiedź ÄšL̕Ľadne z tych poleceń nie działa Cytuj: Chrootowanie Montujemy systemy plików /proc i /dev, kopiujemy do nowego systemu plik /etc/resolv.conf i chrootujemy się do instalowanego systemu. Listing 2.19: Chrootowanie livecd usr # cd / livecd / # mount -t proc proc /mnt/gentoo/proc licecd / # mount -o bind /dev /mnt/gentoo/dev livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/ livecd / # chroot /mnt/gentoo /bin/bash livecd / # env-update && source /etc/profile >>> Regenerating /etc/ld.so.cache... Chyba coś robię źle? Administrator: Poprawione kodowanie Page 4 of 5 ---- Generated from Linuksowe by FUDforum 2.8.1 Linuksowo.pl - Linux forum - Polskie Forum Subject: Odp: Problem z konf genkernela Posted by hwast on Mon, 23 Mar 2009 18:43:46 GMT View Forum Message <> Reply to Message Zamontowałeś partycje na której instalujesz gentoo w /mnt/gentoo ? Zdravim Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by Antesenamon on Mon, 23 Mar 2009 20:40:46 GMT View Forum Message <> Reply to Message Co znaczy 'nie skutkuje'? Jaki zwraca komunikat? Administrator: Poprawione kodowanie Subject: Odp: Problem z konf genkernela Posted by Paragraf on Tue, 24 Mar 2009 11:10:38 GMT View Forum Message <> Reply to Message Teraz już zamontowałem, a pokazywało że nie ma takich katalogów. Administrator: Poprawione kodowanie Page 5 of 5 ---- Generated from Linuksowe by FUDforum 2.8.1 Linuksowo.pl - Linux forum - Polskie Forum