LinuxQuestions.org
Register a domain and help support LQ
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 05-31-2002, 10:15 PM   #1
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Question After kernel compile ..........


Hi to everybody over there

I have a big problem and i do not know how to fix it.

Everybody was okey in my Linux Mandrake 8.1 before i dicide to compile my kernel 2.4.8 for istalling my usb modem.

The problem as i think is because libraries are not loading at start up. Fore example when i am in the command prompt and i type "lsmode" it show just

"Module Size Used By "

nothing else but before compiling it shows may thing.
Also i thy and "modprobe acm " for my modem and say to me

"insmod /lib/modules/2.4.8-26mdk/kernel/drivers/usb/usbcore.o.gz failed"

And also in "modprobe mousedev" for my mouse because is not working either now again it says "...................failed"

Can can i fix that problem?
How can i make this libraries to load at startup?


AcidRain
 
Old 05-31-2002, 10:52 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
When you recompiled the kernel, did you specify any drivers to be compiled as modules?

Where did you get the kernel source from?
 
Old 05-31-2002, 11:09 PM   #3
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Original Poster
Rep: Reputation: 15
I compile my own kernel just to change some setting.And i put some drivers(just usb support) built in. Not all modules.
 
Old 06-01-2002, 05:33 AM   #4
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
you might have forgoten to do
make modules
make modules_install
if you didn't compile as module than don't load modules since it's compiled into

btw
why kernel 2.4.8
gor for 2.4.18 from kernel.org
 
Old 06-01-2002, 07:15 AM   #5
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Original Poster
Rep: Reputation: 15
I done that i make modules and then modules_install. I can not find the error.Any other sugestion? I do thing i make a mistake in the compilation. When is the first time you compile a kernel you have to do a general configuration first? And hows is that?Can anyone help me by typing the step i had to do to see if a i do the compilation and the configuration right?


Thanks

AcidRain
 
Old 06-01-2002, 09:14 AM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Have you compiled your kernel from source that came with MDK? It's not a good idea, because it installs new modules in the same directory with the old ones. It's much better to get source from www.kernel.org and compile it (event the same version). Oh, and you can copy the configuration file (.config in the kernel source directory), to use your previos configuration.
 
Old 06-01-2002, 04:11 PM   #7
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Original Poster
Rep: Reputation: 15
Mara I rename the directory as 2.4.8_old.

So there was not problem about that. I will try the your suggestion.

Thanks


AcidRain
 
Old 06-01-2002, 04:53 PM   #8
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
Mandrake is a derivative of RedHat, so I suspect it uses the same compilation process and files. If so, and you compile a new kernel, it is important to modify a variable called EXTRAVERSION in the Makefile (located in the /usr/src/linux directory). I would suggest you have a look at the README file, in the same directory.

cheers,
alina
 
Old 06-01-2002, 07:34 PM   #9
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Original Poster
Rep: Reputation: 15
The problem alinas is that some modules they do not load. I saw the manual nothing on it.

Thanks


AcidRain
 
Old 06-02-2002, 09:25 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I am keeping an eye on this thread because I have the same problem, I recompiled and could not ever get my mouse to work after that (USB). There were other things that popped up like Vserver or something too, but I at least want the mouse, then I can go from there.

Good luck AcidRain
 
Old 06-02-2002, 11:01 AM   #11
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Just a thought - you did put the new system map in there, right?
 
Old 06-05-2002, 04:01 PM   #12
slickquickyb
LQ Newbie
 
Registered: Jun 2002
Distribution: redhat 7.2
Posts: 1

Rep: Reputation: 0
has anyone gotten that kernel to work ?

i tried to get 2.4.18 to work last night. I got it installed and it detects my usb keyboard and mouse , but there is no entry for either in the /dev directory. So X wont work. Anyone know what the problem is ? I am trying to up kernel from 2.4.9-12 or something. It seems like we are all having the same problems i wonder whats going on
 
Old 06-05-2002, 05:17 PM   #13
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Original Poster
Rep: Reputation: 15
Hi to everybody

Good new to the people that are facing this problem. I check the old kernel 2.4.8 how it was configure in the HID, UHCI and the usb modules and i find that to work your USB mouse you have to had UHCI,OHCI and everything UNDER USB CONTROLLERS as MODULES NOT TO LOAD IN THE KERNEL. Also type "emacs /etc/modules" and under "scsi_host adapter" add "hid". Save it and exit. Reboot. And your mouse is going to work again. Now i have other problem "i can not connect to internet". It seems that it can not find my modem but with cat /proc/bus/usb/devices it shows that it is recognize it. Any suggestion?
 
Old 06-11-2002, 06:21 PM   #14
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Original Poster
Rep: Reputation: 15
Ok

the problem was in the kernel compiling. I should put Kppp in Network as module. Now i post this message from linux.


 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 10:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 04:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM


All times are GMT -5. The time now is 04:18 AM.

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