LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2005, 03:27 AM   #1
x13729388
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Rep: Reputation: 15
kernel 2.6.11 on Red Hat Linux 9


I compiled the 2.6.11 version kernel and use it under RH Linux 9. At the start up stage, I got some error messages:

Flushing all current rules and user defined chains: modprobe: can't locate module ip_tables 1.2.7a: can't initialize iptables table 'filter' IP tables who? Do you need to insmod? Perhaps iptables or your kernel need to be upgraded.

How to fix the above problem? Does it mean that the firewall is not properly worked?
I'm finding a web site to check the internet security as "www.norton.com" which works on Windows, is there any web site which can test the security risk for Linux?

Also, after X started, there is a problem or handling of my USB external CD Writer. It can detect it was pluged and a message had been saved to the log file, but there is no a device call /dev/cdrom1. Under 2.4.x kernel, it can be mount by typing the command "mount -t iso9660 /dev/cdrom1 /mnt/cdrom1" but this don't work for 2.6.11. Is anything changed?

Another problem is the rpm package installer/uninstaller. It quits after it started. After a search from goggle, there is a link to Red Hat for the update, but it is a dead link, also after upgrade, does it have backward compatible to 2.4.x kernel?
 
Old 04-06-2005, 05:25 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,420

Rep: Reputation: 198Reputation: 198
cdrom
the cdrom may be mounted with the new udev filesystem.
/dev is now virtual.
mine is now under /dev/sr0.
try something like that.
 
Old 04-08-2005, 05:42 AM   #3
x13729388
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the reply. I still can't found the device of my external CDRW. Also there is no /dev/sr0 on my system.

Then I try to recompile my kernel again. I use the old kernel config from 2.4.29 which is working fine on my system. However after typing make oldconfig, I got the following error:

HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/netinet/in.h:214,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:201: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:201: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:201: for each function it appears in.)
scripts/basic/fixdep.c:201: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:297: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:297: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

Next, I try make mrproper, make clean, make distclean, copy the config file and try again, I still get the above error. How to fix this?
 
Old 04-08-2005, 09:26 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,420

Rep: Reputation: 198Reputation: 198
the config for 2.4 and 2.6 are not compatible.
you have to make a new one.
 
Old 04-10-2005, 10:36 AM   #5
x13729388
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
you have to make a new one.
I used "make xcofing" instead, but I still get such errors, how to make a new config file?
 
Old 04-11-2005, 01:25 AM   #6
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Rep: Reputation: 31
kernel 2.6.10 compilation

Hi,

Have you installed module-init-tools and modutils?

There is a document for compiling 2.6 kernel on RedHat 8 and 9.

It's at http://prdownloads.sourceforge.net/souptonuts/README 26.txt?download

Maybe you'll get some answers from it.

Regards,
Visham
 
Old 04-11-2005, 08:11 AM   #7
x13729388
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the reply. I have alreay installed the module-init-tools on my system.

Quote:
There is a document for compiling 2.6 kernel on RedHat 8 and 9.
It's at http://prdownloads.sourceforge.net/souptonuts/README 26.txt?download
I can't get into this link. When I try to do that, an error mesage "Can't read file" displayed.

I had take a look at some page about "Migrating to Linux Kernel 2.6" but I still can't find the answer I want. The kernel can compiled before, but it is not know why it will has such error.

Also I have problem of making a boot disk for the huge 2.6 kernel. Since it seems to be impossible, so the boot disk was created by 2.4 kernel. This cause another problem of backward compatibility of kernel 2.4 if I use the boot disk to start linux after such upgrade applied. The module-init-tools has this backward compatiblity, but it seems that the other programs will not work on kernel 2.4.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 06:19 AM
Red Hat Enterprise Linux Kernel 2.4.22 ? crystaly Linux - Hardware 0 10-14-2004 03:43 PM
linux red hat 7.1 kernel variables VeroL Linux - Newbie 6 08-17-2004 09:07 AM
Problem in upgrading Kernel to 2.6 in Red Hat Linux saqib Red Hat 4 04-19-2004 05:51 AM
some red hat Linux kernel problem jack1234 Linux - Newbie 0 02-28-2004 01:24 AM


All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration