LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   After kernel compile .......... (https://www.linuxquestions.org/questions/linux-newbie-8/after-kernel-compile-22294/)

AcidRain 05-31-2002 09:15 PM

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

sewer_monkey 05-31-2002 09:52 PM

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

Where did you get the kernel source from?

AcidRain 05-31-2002 10:09 PM

I compile my own kernel just to change some setting.And i put some drivers(just usb support) built in. Not all modules.

Noerr 06-01-2002 04:33 AM

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

AcidRain 06-01-2002 06:15 AM

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

Mara 06-01-2002 08:14 AM

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.

AcidRain 06-01-2002 03:11 PM

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

alinas 06-01-2002 03:53 PM

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

AcidRain 06-01-2002 06:34 PM

The problem alinas is that some modules they do not load. I saw the manual nothing on it.

Thanks


AcidRain

MasterC 06-02-2002 08:25 AM

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

crashmeister 06-02-2002 10:01 AM

Just a thought - you did put the new system map in there, right?

slickquickyb 06-05-2002 03:01 PM

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

AcidRain 06-05-2002 04:17 PM

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?

AcidRain 06-11-2002 05:21 PM

Ok

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


:D


All times are GMT -5. The time now is 09:59 AM.