LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   2.6.5 kernel errors (https://www.linuxquestions.org/questions/linux-software-2/2-6-5-kernel-errors-166209/)

LavaDevil94 04-04-2004 06:45 PM

2.6.5 kernel errors
 
ive just downloaded the full source of the 2.6.5 kernel (too many patches to go through), and ive done the configuring, compiling, and setting up. i booted it up, and what happened mysified me. i get errors like
modprobe: QM_MODULES: Function not implemented
and when i do an lsmod when i log on (that much works), there are NO, i repeat NO modules loaded. when i try to insert a module, i get the above error. also, the /lib/modules/2.6.5-goddard (name of my kernel) directory is a LOT emptier then the old kernel module directory (/lib/modules/2.4.21-0.13mdk). anyone? i really wanna try this new kernel...

ababkin 04-04-2004 07:19 PM

looks like i am in the same boat you are

same thing: 2.6.5 -> same error, same no modules loaded

Alex

LavaDevil94 04-04-2004 07:30 PM

have any ideas on how to fix it?

AutOPSY 04-04-2004 07:58 PM

You guys need to download module-init-tools.
W hich replaces modutils.

http://rpm.pbone.net

go there do a search for: module-init-tools*

and download the 3.0 version I thiunk is stable now.

then recompile your kernel.

LavaDevil94 04-04-2004 08:11 PM

do we just download, install, recompile, and thats it? or do we have to enable some options in the kernel?

ababkin 04-04-2004 08:40 PM

Oh damn!


I just tried to install 2.6.4 kernel as 2.6.5 gives those problems and...
i get black screen.
Ok ... i think .. back to the working 2.4.20-30-9 ... OH YEA? black screen again :cry:


guys please help me. What could be a problem. What could the 2.6.4 kernel screw up?
Its not the first time i get the same symptoms
Last time i got the black screen just like that i had to reinstall X and Gnome/KDE completely. I just spent the whole day installing new gnome2.6 - i dont want to part with it, or spend another day to install it once again :cry: :cry: :cry:

But this time i am in the point that Ctrl-Alt-F1 doesnt even work for text mode. (are there any other key combinations i can try to at least get the text mode?)


<You recommendations here>

Thanks
Alex

Pwnz3r 04-04-2004 08:58 PM

Actually, the "text mode" you speak of is called a virtual terminal. There are twelve of them (F1-12), and F1-6 are the ones you can use. However, if alt+ctrl+F1 doesn't work then it's doubtful that they will. alt+ctrl+backspace shuts down the X server, so perhaps that will work, although I still doubt it. Get a Live CD from a distro such as Gentoo, because from that you can use commands to repair things. If you don't know the workings of Linux without a GUI, then you should never have tried compiling a new kernel. ;)

ababkin 04-04-2004 09:22 PM

well i fiddled with it a bit and gotten to the "virtual terminal"

good thing i backed up everything at one point in time, so i was able to unbackup the whole /etc. That helped, however now my Gnome2.6 does not work
At first i tried to unbackup only etc/X11 - but that did not help me - so the problem was not in the X11 folder.

Anyone has any idea about where (in what system files) the problem could theoretically be?

Thanks
Alex

ababkin 04-04-2004 10:16 PM

ok i narrowed it down a bit

the file thats "causing trouble" is not in any of the subfolders of /etc , but , apparently one of the files in /etc

So my advice would be to those who plays around with kernels - to atleast backup /etc folder before starting

Alex

ababkin 04-05-2004 12:07 AM

ok i found the file causing my problems!

its: /etc/ld.so.cache

apparently new kernel i was trying to install garbled the file and therefore rendered the system unusable

Alex

LavaDevil94 04-05-2004 02:27 PM

well, i finally got ther kernel working!!! except for some MAJOR problems:
1. the cdrom drive AND dvd drive dont work, /dev/scd0, /dev/scd1, and /dev/dvd all exist, but i am unable to mount any cds on them
2. pppd doesnt work, so i cant connect to the internet (im connecting from my old kernel right now). kppp gives me error number: 1. i looked it up and it says:
"an immediately fatal error of some kind occurred, such as an essential system call failing, or running out of virtual memory."
since i have 512mb of ram with 479mb of swap, i dont think virtual memory is the problem. any suggestions to these?

PS: AFAIK, i dont think the cdrom drives will write cds either.

Linux~Powered 04-05-2004 03:17 PM

quote:

If you don't know the workings of Linux without a GUI, then you should never have tried compiling a new kernel.


how else are you going to learn it?

That's how i learned it!:cool:

Linux~Powered 04-05-2004 03:27 PM

1. the cdrom drive AND dvd drive dont work, /dev/scd0, /dev/scd1, and /dev/dvd all exist, but i am unable to mount any cds on them...

This happend to me with my install of Slack. Check your dmesg to see what your cd-roms actually are, then go to /etc/fstab and make the corrections using an editor like vi. Slack labled mine as /dev/hdd when dmesg was saying it was /dev/hdc; I made the changes in the fstab and that fixed it. You might not have the permission to use it either, so you will have to issue a chmod command to be able to access it. chmod 777 /dev/scd0 will give you access to all r w & x

AutOPSY 04-05-2004 04:48 PM

1. the cdrom drive AND dvd drive dont work, /dev/scd0, /dev/scd1, and /dev/dvd all exist, but i am unable to mount any cds on them...

Also remember to compile in support for any filesystems you are going to use.

for an IDE/Atapi cdrom, youd include

IDE/ATapi cdrom support, iso9660 and the juliot extensions.

LavaDevil94 04-05-2004 05:00 PM

from what i see in dmesg, hdc is my cdreader/writer, and hdd is my dvdrom. i noticed that my good kernel has iso-9660 support compiled as a module, so ill try the same thing and recompile.


All times are GMT -5. The time now is 03:29 PM.