LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-08-2004, 04:33 PM   #1
G-Fox
Member
 
Registered: Jul 2003
Location: Lithuania
Posts: 45

Rep: Reputation: 15
Have problem compiling kernel


Hello everybody who read this message.

My problem is :
Then I compile kernel (for example with traffic shaping), I try to start cbq but I get error message that module is missing. I recompile kernel with that module that was missing and after try to start cbq again get error messge that another module is missing.

How I can avoid this problem? Can I somehow see what modules needed by CBQ or other software?

Thanks for help
 
Old 08-08-2004, 05:18 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
When you can choose any module in the kernel, all modules needed by this one should be already in. Could you please show how you try to strart cbq (modprobes/insmods, commands you use and error messages you get)?
 
Old 08-09-2004, 03:01 AM   #3
G-Fox
Member
 
Registered: Jul 2003
Location: Lithuania
Posts: 45

Original Poster
Rep: Reputation: 15
I start CBQ with this command: cbq start
I don't use modprobe/insmod.

First time then I compile kernel was missing sch_tbf module, second time then recompile kernel with sch_tbf mudule was missing sch_sfq and so on. Now I get same message but only module is diffrent.

error message:
modprobe: Can't locate module cls_fw
**CBQ: failed to load module cls_fw

lsmod :
Module Size Used by Not tainted
sch_prio 3456 0 (unused)
sch_sfq 4640 0 (unused)
sch_tbf 3776 0 (unused)
sch_cbq 13472 0 (unused)
3c509 11296 1

I don't know what modules needed by CBQ. To compile kernel I use make menuconfig.

Thanks for trying help me
 
Old 08-09-2004, 03:18 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Hmmm..First you say you don't use modprobe and then you show modprobe error... I understand the 'cbq' program you use is a script in fact and it loads the modules. TFB is not CBQ. As I see more things on the lsmod list, the script is probably a complicated one. You can look inside it, find all modprobes/insmods and see if you have all the modules OR you can just add all the modules in the section CBQ is in. If not at this time, they may be useful later.
 
Old 08-09-2004, 03:45 PM   #5
G-Fox
Member
 
Registered: Jul 2003
Location: Lithuania
Posts: 45

Original Poster
Rep: Reputation: 15
I say what I don't use modprobe, because I don't type manually modprobe module. I just type cbq start and get this message.

You was right it is script. Now I know what modules I need to start cbq.

Thanks for help Mara
 
  


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
kernel compiling problem. Jakalx Debian 5 08-20-2005 11:42 AM
problem compiling kernel. Rarrum Debian 3 03-21-2005 08:57 PM
problem compiling kernel :( djh Slackware 13 11-14-2004 08:45 PM
problem for compiling kernel bush Linux - General 3 05-16-2003 08:06 AM
Problem after compiling the kernel niac Linux - General 3 10-14-2002 01:32 PM


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