Results 1 to 10 of 23
I have a problem installing kernel 2.6.18 on Fedora 16. The error is:
Code:
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-i386
CC ...
- 11-28-2011 #1Just Joined!
- Join Date
- Jan 2010
- Location
- Italy
- Posts
- 36
Problems compiling kernel
I have a problem installing kernel 2.6.18 on Fedora 16. The error is:
how can i fix that error? ThanksCode:scripts/kconfig/conf -s arch/i386/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-i386 CC arch/i386/kernel/asm-offsets.s GEN include/asm-i386/asm-offsets.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o scripts/mod/sumversion.c: In function ‘get_src_version’: scripts/mod/sumversion.c:384:16: error: ‘PATH_MAX’ undeclared (first use in this function) scripts/mod/sumversion.c:384:16: note: each undeclared identifier is reported only once for each function it appears in scripts/mod/sumversion.c:384:7: warning: unused variable ‘filelist’ [-Wunused-variable] make[2]: *** [scripts/mod/sumversion.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2
- 11-28-2011 #2Just Joined!
- Join Date
- Jan 2010
- Location
- Italy
- Posts
- 36
solved adding the line
to the fileCode:#include <linux/limits.h>
found into the linux directory extracted from the bz2 archive. (thanks to atreyu)Code:scripts/mod/sumversion.c
but now i got this new error:
Code:LDS arch/i386/kernel/vsyscall.lds AS arch/i386/kernel/vsyscall-int80.o AS arch/i386/kernel/vsyscall-note.o SYSCALL arch/i386/kernel/vsyscall-int80.so gcc: error: elf_i386: No such file or directory make[1]: *** [arch/i386/kernel/vsyscall-int80.so] Error 1 make: *** [arch/i386/kernel] Error 2
- 11-28-2011 #3Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Are you using gcc 4.6.x?
If so, try:Code:gcc --version
Then try 'make' command againCode:# install gcc 3.4 from repos yum install compat-gcc-34 # back up original gcc 4.6 binary mv /usr/bin/gcc /usr/bin/gcc46 # symlink gcc 3.4 to gcc ln -s /usr/bin/gcc34 /usr/bin/gcc
Edit: Referenced hereLast edited by atreyu; 11-28-2011 at 09:06 PM. Reason: link
- 11-29-2011 #4Just Joined!
- Join Date
- Jan 2010
- Location
- Italy
- Posts
- 36
after "make", "make modules" and "make modules_install" when i launch "make install" it returns this error:
Code:[root@localhost linux-2.6.18]# make install sh /home/enrico/Downloads/linux-2.6.18/arch/i386/boot/install.sh 2.6.18 arch/i386/boot/bzImage System.map "/boot" F: No modules.builtin.bin and modules.builtin found!
- 11-29-2011 #5Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Is that an error or a warning? Do you see the kernel in /boot?
Code:ls -l /boot/*2.6.28*
- 11-29-2011 #6Just Joined!
- Join Date
- Jan 2010
- Location
- Italy
- Posts
- 36
i tried also to install the old Fedora 6 Kernel RPM, but it didn't work .Code:[root@localhost enrico]# ls -l /boot/*2.6.18* -rw-r--r--. 1 root root 5912604 29 nov 19.26 /boot/initramfs-2.6.18.img -rw-r--r--. 1 root root 862976 29 nov 19.26 /boot/System.map-2.6.18 -rw-r--r--. 1 root root 1869725 29 nov 19.26 /boot/vmlinuz-2.6.18
- 11-29-2011 #7Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Well, looks like the kernel files are there. Do with them what you will. If your intent is to boot this machine with it, then make sure /etc/grub.conf has been updated to contain a stanza to boot it.
- 11-29-2011 #8Just Joined!
- Join Date
- Jan 2010
- Location
- Italy
- Posts
- 36
i tried to lunch grub2-mkconfig and reboot the system.
The new kernel appeared, but if i boot it the CPU goes to 100% for some seconds and system reboots.
I begin to think that is better to leave the system as is and use DVD recorder only from Windows
- 11-30-2011 #9Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
When does the CPU go to 100%? Once you start some sort of DVD-writing application, or does it just peg all by itself? How are you verifying that?The new kernel appeared, but if i boot it the CPU goes to 100% for some seconds and system reboots.
Have you looked at the output of dmesg for clues? And /var/log/messages?
Now that would be a shame. Have you posted the DVD make/model yet? It would be good to have that info, if for no other reason, than to have it documented that it is problematic under Linux.I begin to think that is better to leave the system as is and use DVD recorder only from WindowsLast edited by atreyu; 11-30-2011 at 12:26 PM. Reason: quote fubar
- 11-30-2011 #10Just Joined!
- Join Date
- Jan 2010
- Location
- Italy
- Posts
- 36
Since my english isn't so good, i try to explain the problem.
i turn on the PC
grub (the list with kernels and Vista) appears
I select the kernel 2.6.18
i press ENTER
Black screen for 2-3 seconds with high CPU load (i suppose because the notebook fan starts)
automatic reboot of the system
How can i find a log? i have to try to start the kernel 2.6.18 and then look at the log?
My system is:
Notebook ASUS PRO52RL with motherboard ASUS X51RL
Windows detect the dvd writer as "SLIMTYPE DVD A DS8A1P ATA DEVICE"


Reply With Quote