BetaONE will rise again!

BetaONE will rise again! (http:\\b1.hcanet.com\forum/index.php)
-   Alternative OS Support (http:\\b1.hcanet.com\forum/forumdisplay.php?f=40)
-   -   Kernel and Modules (http:\\b1.hcanet.com\forum/showthread.php?t=819)

craftyc 31st Mar 02 12:53 PM

Is it possible to recompile the kernel, but leave the present modules intact, so that after the recompile, the modules would still work?

Thanks in advance.

CARTMAN 31st Mar 02 09:19 PM

Depends. If the module has changed or you choose to version modules (which is a kernel compiling option) that wont work. Best way is to recompile modules. Anyway kernel compiling takes only 9-10 minutes @ P3 703 mhz

craftyc 1st Apr 02 04:24 PM

So when compiling the kernel, modules are compiled as well? I just need to make sure, I don't want my system to go down.

CARTMAN 2nd Apr 02 07:08 AM

After you crated bzImage you do make modules && make modules_install.

If you dont know what bzImage is then you need to read on kernel-compling-howto @ www.linuxnewbie.org :cool:

Ahh and /me still looks for Crossover Plugin for LinuX :confused:

craftyc 2nd Apr 02 09:24 PM

I created the kernel, compiled the modules, and edited lilo.conf. however when I reboot I get a blank screen. Is this because of one of the options in xconfig?

CARTMAN 2nd Apr 02 09:27 PM

Try too boot from a disk go to console and open lilo.conf check if there are any vga=xxx option and uncomment them save and exit.Then type
lilo -v
as root.

Cheers

craftyc 3rd Apr 02 06:33 PM

This only happens when I boot using my new kernel. When I boot from my old kernel everything works fine.

CARTMAN 4th Apr 02 08:39 AM

This is probably because you didnt enabled frame-buffer in new kernel compilation and use a vga=xxx option in lilo.conf.

If you want to this work without editing lilo.conf you gotta recompile your kernel and enable framebuffer there.

Just make menuconfig go to Console Drivers click Frame Buffer. Then Choose "Vesa Drivers" then click "Low-Level Drivers" then choose ones for 1bit-2bits-8bits etc.Then re-compile whole kernel you dont need to compile modules. Then make a lilo -v and reboot.Everything should work now :cool:

craftyc 4th Apr 02 08:47 PM

Thanks CARTMAN, you have been a great help. I've tried recompiling the kernel from scratch (ie did make mrproper at prompt first and set the default options). Now the kernel doesn't compile at all. Any ideas.

Your help again is very much appreciated.

Thanks

CARTMAN 4th Apr 02 10:01 PM

First try make clean then other stuff if you got no luck compiling post the kernel_version and error. Cheers

craftyc 6th Apr 02 11:06 PM

SUCSESS!!!!

I compiled a working kernel (prety much).

Problems during boot: -
1) Won't mount local and other file systems (although I can use the system and have access to all drives)
2) IPVS - What is it gives me two errors
3) Kernel won't pick up my Soundcard (Although compiled in correctly)

Any ideas?

Thanks

CARTMAN 7th Apr 02 12:08 AM

[quote:9be3a114d5][i:9be3a114d5]Originally posted by craftyc [/i:9be3a114d5]
[b]SUCSESS!!!!
I compiled a working kernel (prety much).
[/quote:9be3a114d5]

[quote:9be3a114d5]Problems during boot: -
1) Won't mount local and other file systems (although I can use the system and have access to all drives)[/quote:9be3a114d5]

If you want to mount windows share you need VFAT support.

[quote:9be3a114d5]2) IPVS - What is it gives me two errors[/quote:9be3a114d5]

Pls give the [color=blue:9be3a114d5]exact[/color:9be3a114d5] error.

[quote:9be3a114d5]3) Kernel won't pick up my Soundcard (Although compiled in correctly)[/quote:9be3a114d5]

You gotta load module with modprobe . For example my soundcard is cmpci i do [color=blue:9be3a114d5]modprobe cmpci[/color:9be3a114d5] to load it.Just learn your sound card's module name @ google.com and add modprobe foo (where foo is modulename ) to /etc/rc.d/rc.local so it loads module at every boot.

Cheers

cartman :cool:

craftyc 7th Apr 02 04:37 PM

Thanks CARTMAN.

1) VFAT support is definately compiled in, but I am not sure whether it is compiled into the kernel or as a module. If it is a module, does it load at boot all the time after I type modprobe xxxxx.o (can't remeber the specific module name) or do I have to do it every time I log in?

2) I'll have to get back to you on that one.

3) I'll try it.

CARTMAN 7th Apr 02 05:51 PM

Best way is to compile VFAT in kernel because if you compile as module you have to play with /etc/rc.d/rc.local file to get it loaded at boot time.


Cheers cartman

craftyc 8th Apr 02 04:46 PM

IPVS fails to load at boot and at shutdown can never clean its temp directory. Any ideas?

Also, this isn't really a necessity, but with my old kernel everything is logged in a graphical mode, ie anything that is started shows up with all the pretty colours. Is there any way to do this with my new kernel?

Thanks.

CARTMAN 8th Apr 02 05:40 PM

What is IPVS? :confused:

If you talking about login screen its about /etc/inittab first line is default run level if you make it 4 it takes you to the graphical login screen. And you can choose your login manager in /etc/rc.d/rc.4

Cheers cartman :cool:


All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.