Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
KernelNotes
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
!!In file included from ide-cd.c:318: !!ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen' This occurs if you're using a more recent compiler than the kernel can be compiled for, for example gcc 3.x to compile a kernel (kernels only work with <gcc 3). try: <verbatim> make CC=gcc-2.95 bzImage </verbatim> (if you want to use gcc-2.95) In /usr/src/linux/README (at least for kernel versions 2.4.x and below) you will find the following snippet: <verbatim> COMPILING the kernel: - Make sure you have gcc 2.95.3 available. gcc 2.91.66 (egcs-1.1.2) may also work but is not as safe, and *gcc 2.7.2.3 is no longer supported*. </verbatim> But of course you always read the compile instructions for software you download, right? :) The fact is, however, that this isn't a problem with the compiler. gcc 3.x is just doing what it should be doing: checking for errors. If you actually look at the source, you'll find the line <pre> __u8 short slot_tabelen; </pre> which is obviously an error. Go talk to the maintainer, kids ;) Yes, this is true, but the point is that the rest of the compile won't go that smoothly either, even if it does compile chances are that there are going to be "hidden" problems as the compiler compiles away things that the developer was relying on etc. ----- !!Bootsplash compiled into your kernel; linking fails <verbatim> LD .tmp_vmlinux1 drivers/built-in.o(.text+0xa898a): In function `splash_getraw': : undefined reference to `con2fb_map' drivers/built-in.o(.text+0xa918c): In function `splash_verbose': : undefined reference to `con2fb_map' drivers/built-in.o(.text+0xa9670): In function `splash_status': : undefined reference to `con2fb_map' drivers/built-in.o(.text+0xa97a4): In function `splash_read_proc': : undefined reference to `con2fb_map' drivers/built-in.o(.text+0xa997d): In function `splash_write_proc': : undefined reference to `con2fb_map' make: *** [.tmp_vmlinux1] Error 1 </verbatim> You need to have framebuffer console support compiled in. Can't be a module! Set ''CONFIG_FRAMEBUFFER_CONSOLE=y'' in the .config. Jonte: Good stuff man.. works great :) I also found out that if you enable the VGA text console, the bootsplash wont be used (so disable it;) ---- !!Kernel 2.6 on Debian Woody Add the following lines to your apt/sources.conf: <verbatim> # kernel 2.6 and related things deb http://www.backports.org/debian woody kernel-2.6 deb http://www.backports.org/debian woody module-init-tools </verbatim> do an apt-get dist-update ; apt-get dist-upgrade make sure that module-init-tools is installed Either do apt-get install kernel-image-2.6 and pick an appropriate image from the list available (ie, kernel-image-2.6-686) or download, compile and install a kernel yourself. Update your bootloader, and it should just work. !!Kernel 2.6 on RedHatLinux 9: Kernel 2.6 is now available in RawHide. If you still want to use Arjan's pre-Rawhide kernel builds, keep reading. Add the following lines to your apt/sources.conf ([What, you don't use apt?|AptForRpm]) <verbatim> # Arjan's 2.6 series kernel repository rpm http://people.redhat.com arjanv/2.5 kernel rpm-src http://people.redhat.com arjanv/2.5 kernel </verbatim> Select the latest snapshot to install: <verbatim> [root@brian root]# apt-get install kernel Reading Package Lists... Done Building Dependency Tree... Done Package kernel is a virtual package provided by: kernel-smp#2.6.0-0.test5.1.34 2.6.0-0.test5.1.34 kernel-BOOT#2.6.0-0.test5.1.34 2.6.0-0.test5.1.34 kernel#2.6.0-0.test5.1.34 2.6.0-0.test5.1.34 kernel-smp#2.4.20-9 2.4.20-9 </verbatim> (in this case, 2.6.0-0.test5.1.34) <verbatim> [root@brian root]# apt-get install kernel#2.6.0-0.test5.1.34 </verbatim> Wait for about 20Mb of downloads... Things to note: * IO-[APIC] was broken but it got fixed in test8. * Label based mounting and initrd was broken but they're fixed now. * [USB] module names have changed. You need to ensure that the module names are right, and if you can't get USB devices going, try modprobing esd-ohci or something similar. You should be able to cleanly boot 2.4 and 2.6 together. See * [Upgrading RH9 to 2.6.0-test4|http://www.fearthecow.net/index.pl?section=guest&page=kernel] * [Migrating to Linux Kernel 2.6|http://thomer.com/linux/migrate-to-2.6.html] ---- See TroubleshootingStartUp for some problems while booting kernels. %%% See KernelTweaking for tuning hints. ---- CategoryKernel
2 pages link to
KernelNotes
:
LinuxKernel2.6
LIDSNotes