kernel 2.6.5 recompiling problems
hi there
I have some errors....I tried to recompile the kernel... I edited the Makefile, I uncommented the /boot thing. I did everything the way I did before, but I changed some things from compiled into module..... before I did "make clean;make bzImage; cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.5; make modules; make modules_install; cp System.map /boot/System.map-2.6.5; cp .config /boot/config-2.6.5" I have symbolic links in boot vmlinuz to vmlinuz-2.6.5 and System.map and config to the files mentioned above.... I don't know why, but first, when it still worked, I got some errors during boot: Module dependencies up to date (no new kernel modules found) FATAL: Module agpgart not found FATAL: Module ide_scsi not found after that I changed some things to module, and it won't boot at all. ABSOLUTELY NOTHING Is there anyone that can tell me which options to choose? I have a Pentium4 HT 2600MHz, Asus P4P800 mainboard. 512 mb ram. Asus GeForce FX 5200. a usb printer, mouse and keyboard. No scsi or firewire stuff. That is everything I use at the moment. I have no problem to get the NVIDIA drivers to work, and I configured the mouse wheel right. Maybe that is some problem with the module settings? Could anyone help me with getting the modules to work? I have no clew, although I read the readme and stuff. I am an almost total linux newbie. I use Slackware 9.1, kernel is 2.6.5 Please help me.... |
i really need some kind of help. I got 2.6.5 "working" again, but without any modules and without the things I'd like to have.
Code:
Linux version 2.6.5 (root@linux) (gcc version 3.2.3) #7 Wed Apr 28 00:30:40 CEST 2004 |
that's my kernel .config, the one that works.
Code:
# Or do I have to issue any additional commands to activate the modules? modprobe won't find agpgart when I tried it. thanks in advance |
If you followed the howto of the slackware site, then you have to do:
make modules_install at the end of the kernel compiling (before running lilo is fine) |
although I don't do the make install step, because I want to copy the files and update lilo manually, I did "makemodules; make modules_install; cp System.map /boot/System.map-2.6.5; cp .config /boot/config-2.6.5" at the end. Do I *have* to use "make install" ??? I updated lilo manually and it worked.
|
Yo don't have to "make install", I never do. I always jus go with
make gconfig make bzImage make modules make modules_install And then go about copying files and editing LILO manually. Try using the gconfig. Click on "Show all options", and go through them all (a few times). |
thanks :)
but I always went through "all" options, Looots of times I just can't get any modules working.... I used xconfig. |
You need to edit /etc/rc.d/rc.modules
Just start with a new one and add lines like this /sbin/modprobe [modules name] Good luck. |
You shouldn't need to edit rc.modules unless there are new modules you want to use that you weren't using before.
That is what depmod does, it makes sure your system is using the newest modules it can find. The error message that c31c is getting indicates just the oposite, his rc.modules is trying to load modules that are not there, but were there with the previous kernel. What you need to do is select AGP and IDE_SCSI support and compile them as modules in you kernel configuration. You could edit those lines out of rc.modules and run without them, but there is a good chance they were included in your installation for a reason. |
What files are in /lib/modules/uname -a ? If you only have folders then there is a problem... I've been having this same thing happen to me on my new computer. It basically has the same specs as what you just posted.... I'm using the 2.4.x series tho.... Often times it will not create any of the config files and just install the modules which are located in the folders.... Try doing it again... Do a:
make clean bzImage modules modules_install Some times I have to do it 2 or 3 times in order to get all my config files in /lib/modules/uname -a..... It never happened on my laptop. I don't know why it's happening on this new desktop.... |
/lib/modules/uname -a
bash: /lib/modules/uname: No such file or directory **** maybe you mean /usr/bin/uname or /bin/uname ???? |
uname -a returns the currently running kernel. I think he meant that more of a pseudo-command.
I.E. /lib/modules/Kernel_Version |
thanks
but my problem is that when I compile the 2.6.5 kernel with the options I want, like alsa as a module and loopback device and crypto api etc..., the system won't boot at all.... after lilo it just says "Loading Slack9.1-2.6.5", the way I configured it, and then it won't boot on... well, anyway, how do I load a module with modprobe? do I have to do depmod before? I'd like to use some modules I haven't used before. I've read that since 2.6.x the modules end with .ko instead of .o May that be a problem somehow? thanks |
if you are doing the module compilation&&installation fine and you still have the problem with agpgart either you have agpgart as builtin module(it's in 2.6.5 built-in by default) or you have not compiled it.I believe that you are going to need agpgart if you have an agp slot and a VGA card on it.For that other dummy module(ide_scsi) i cannot remember if it is by befault built in or excluded.
So if you don't wanna get these annoying message edit rc.modules and comment the lines ,adding an '#' without the ' ' :rolleyes: , that are trying to load agpgart and ide_scsi.(it would be something like /sbin/modprobe agpgart) Or you can start with a new rc.modules as already been mentioned. |
i no longer have that problem...but it won't start at all...
I've just compiled it once more, and now I get the error message "EBDA is big; kernel setup stack overlaps LILO second stage" What is that?? What have I done wrong? |
All times are GMT -5. The time now is 11:03 PM. |