Re: [FoLUG] Qualche informazione su stampante, modem, x, folug, lettore cd
daniele_pelliconi@tin.it
daniele_pelliconi@tin.it
Mer 2 Giu 2004 18:56:05 CEST
>Mandaci gli errori che ricevi alla compilazione del kernel, mi sa che il
>problema è lì...
Riporto i vari messaggi che mi ha dato quando ho provato a compilare il
kernel:
[root@localhost linux-2.6.6]# make clean
CLEAN arch/i386/boot/compressed
CLEAN arch/i386/boot
CLEAN arch/i386/kernel
CLEAN drivers/char
CLEAN drivers/ieee1394
CLEAN drivers/pci
CLEAN init
CLEAN lib
CLEAN usr
CLEAN .tmp_versions
CLEAN include/asm-i386/asm_offsets.h vmlinux System.map .tmp_kallsyms1.o
.tmp_kallsyms1.S .tmp_kallsyms2.o .tmp_kallsyms2.S .tmp_vmlinux1 .tmp_vmlinux2
##############################################################################
[root@localhost linux-2.6.6]# make xconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
HOSTCXX scripts/kconfig/qconf.o
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf arch/i386/Kconfig
#
# using defaults found in .config
#
##############################################################################
[root@localhost linux-2.6.6]# make dep
*** Warning: make dep is unnecessary now.
##############################################################################
[root@localhost linux-2.6.6]# make
# Commento: di queste voci ne ha date tante, riporto solo le ultime, non
ho visto messaggi strani.
LD arch/i386/boot/compressed/piggy.o
LD arch/i386/boot/compressed/vmlinux
OBJCOPY arch/i386/boot/vmlinux.bin
HOSTCC arch/i386/boot/tools/build
BUILD arch/i386/boot/bzImage
Root device is (3, 65)
Boot sector 512 bytes.
Setup is 2538 bytes.
System is 1858 kB
Kernel: arch/i386/boot/bzImage is ready
Building modules, stage 2.
MODPOST
CC drivers/net/dummy.mod.o
LD [M] drivers/net/dummy.ko
###############################################################################
[root@localhost linux-2.6.6]# make bzImage
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
[root@localhost linux-2.6.6]# make all
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
Building modules, stage 2.
MODPOST
#############################################################################
[root@localhost linux-2.6.6]# make install
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.6/arch/i386/boot/install.sh 2.6.6 arch/i386/boot/bzImage
System.map ""
No module aic7xxx found for kernel 2.6.6
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
##############################################################################
[root@localhost linux-2.6.6]# make modules_install
depmod: QM_MODULES: Function not implemented
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
INSTALL drivers/net/dummy.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.6; fi
>
>E dicci anche che procedura hai seguito (hai configurato il kernel ho
>hai cercato di compilare solo il modulo del modem?).
Seguo questi due procedimenti che ho trovato in un howto per compilare il
kernel:
Primo procedimento:
1.Decomprimere (spacchettare) i sorgenti
2.make clean
3.make xconfig
4.make dep
5.make
6.make bzImage
7.make modules # questa volta ho fatto "make all" come mi
hanno suggerito.
8.make install
9.make modules_install
10.configurare LILO o GRUB.
Secondo procedimento:
bash# startx
bash# cd /usr/src/linux
bash# make xconfig
bash# make dep
bash# make clean
bash# nohup make bzImage &
bash# tail -f nohup.out
Modifico lilo.
bash# lilo
bash# lilo -q
bash# make modules
bash# make modules_install
Grazie ciao
Daniele
Maggiori informazioni sulla lista
FoLUG