LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-04-2002, 06:55 AM   #1
Wapocalypse
LQ Newbie
 
Registered: Oct 2002
Posts: 26

Rep: Reputation: 15
Exclamation Rebuilding kernel troubles


Hi.

I'm trying to rebuild the kernel, 2.4.18-18.8.0 (although I have tried with 2.4.20 with even less success) to add some extra support for items on my PC. I must confess I don't know exactly what I'm doing.

I have however managed to build it 'succesfully', in the sense that a bzImage is made. However, when I try to boot it I have had limited success.

The most recent attempt works fine until the red Redhat Linux interactive startup option. Here, a lot of problems appear about QM_modules or something (I don't know how to read a log of that stage) and eth0 also fails.

Any ideas would be appreciated. I didn't think I'd changed anything much but I don't know if the default settings were appropriate anyway.
 
Old 12-04-2002, 06:58 AM   #2
Wapocalypse
LQ Newbie
 
Registered: Oct 2002
Posts: 26

Original Poster
Rep: Reputation: 15
I should add that apart from that it does actually load OK.
 
Old 12-04-2002, 11:41 AM   #3
ianv
Member
 
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Rep: Reputation: 15
Howdy,
Did you make all of your modules?
$ make modules
$ make modules_install

I would guess that an "lsmod" would not return the ethernet module - try a "modprobe <module_name>" and see what errors you get back. Do you know the name of the module you use?
Try /var/log/dmesg for boot up messages
No clue as to what a QM module is ??
HTH
Ian
 
Old 12-04-2002, 12:41 PM   #4
Wapocalypse
LQ Newbie
 
Registered: Oct 2002
Posts: 26

Original Poster
Rep: Reputation: 15
I did that, yeah, but I didn't set up any of the configuration options as modules, they were all yes or no.

Here's the important bit of the boot log:

Dec 4 12:38:19 localhost rc.sysinit: Mounting USB filesystem: succeeded
Dec 4 12:38:19 localhost modprobe: modprobe:
Dec 4 12:38:19 localhost modprobe: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: insmod /lib/modules/2.4.18-18.8.0/kernel/drivers/input/input.o failed
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: insmod hid failed
Dec 4 12:38:19 localhost rc.sysinit: Initializing USB HID interface: failed
Dec 4 12:38:19 localhost modprobe: modprobe: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: insmod /lib/modules/2.4.18-18.8.0/kernel/drivers/input/input.o failed
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: insmod keybdev failed
Dec 4 12:38:19 localhost rc.sysinit: Initializing USB keyboard: failed
Dec 4 12:38:19 localhost modprobe: modprobe: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: insmod /lib/modules/2.4.18-18.8.0/kernel/drivers/input/input.o failed
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: QM_MODULES: Function not implemented
Dec 4 12:38:19 localhost modprobe: insmod: insmod mousedev failed
Dec 4 12:38:19 localhost rc.sysinit: Initializing USB mouse: failed
Dec 4 12:38:19 localhost fsck: /: clean, 249846/2424832 files, 1322348/4847346 blocks
Dec 4 12:38:19 localhost rc.sysinit: Checking root filesystem succeeded
Dec 4 12:38:19 localhost rc.sysinit: Remounting root filesystem in read-write mode: succeeded
Dec 4 12:38:19 localhost rc.sysinit: Activating swap partitions: succeeded
Dec 4 12:38:20 localhost fsck: /boot: clean, 67/25584 files, 33967/102280 blocks
Dec 4 12:38:20 localhost rc.sysinit: Checking filesystems succeeded
Dec 4 12:38:20 localhost rc.sysinit: Mounting local filesystems: succeeded
Dec 4 12:38:20 localhost rc.sysinit: Enabling local filesystem quotas: succeeded
Dec 4 12:38:21 localhost rc.sysinit: Enabling swap space: succeeded
Dec 4 12:38:59 localhost kudzu: Updating /etc/fstab succeeded
Dec 4 12:39:12 localhost kudzu: succeeded
Dec 4 12:39:12 localhost rc: Starting ip6tables: succeeded
Dec 4 12:39:12 localhost iptables: Flushing all current rules and user defined chains:
Dec 4 12:39:12 localhost iptables: iptables v1.2.6a:
Dec 4 12:39:12 localhost iptables: failed
Dec 4 12:39:12 localhost iptables: failed
Dec 4 12:39:12 localhost iptables:
Dec 4 12:39:12 localhost iptables:
Dec 4 12:39:12 localhost iptables: Applying iptables firewall rules:
Dec 4 12:39:12 localhost iptables: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Dec 4 12:39:12 localhost iptables: Perhaps iptables or your kernel needs to be upgraded.
Dec 4 12:39:12 localhost iptables: iptables v1.2.6a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Dec 4 12:39:12 localhost iptables: Perhaps iptables or your kernel needs to be upgraded.
Dec 4 12:39:12 localhost iptables: iptables-restore v1.2.6a:
Dec 4 12:39:12 localhost iptables: failed
Dec 4 12:39:12 localhost iptables:
Dec 4 12:39:12 localhost iptables: iptables-restore: unable to initializetable 'filter'
Dec 4 12:39:12 localhost iptables:
Dec 4 12:39:12 localhost iptables: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Dec 4 12:39:12 localhost rc: Starting iptables: succeeded
Dec 4 12:39:13 localhost sysctl: net.ipv4.ip_forward = 0
Dec 4 12:39:13 localhost sysctl: net.ipv4.conf.default.rp_filter = 1
Dec 4 12:39:13 localhost sysctl: kernel.core_uses_pid = 1
Dec 4 12:39:13 localhost network: Setting network parameters: succeeded
Dec 4 12:39:13 localhost network: Bringing up loopback interface: succeeded
Dec 4 12:39:13 localhost ifup:
Dec 4 12:39:13 localhost ifup: Determining IP information for eth0...
Dec 4 12:39:20 localhost ifup: failed.
Dec 4 12:39:20 localhost network: Bringing up interface eth0: failed
Dec 4 12:39:28 localhost xinetd: xinetd startup succeeded
Dec 4 12:39:36 localhost ntpd: failed

After that everything works normally.
 
  


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
rebuilding kernel the Fedora way ... bpcw001 Fedora 1 10-29-2004 10:37 AM
Need some insite before rebuilding the kernel. kphume Linux - General 1 05-05-2004 10:22 AM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 09:09 PM
Rebuilding kernel script Q*Bert LinuxQuestions.org Member Success Stories 0 03-16-2003 02:00 PM
Rebuilding the kernel decster Linux - General 9 09-23-2002 06:42 AM


All times are GMT -5. The time now is 06:29 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