LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2004, 06:45 PM   #1
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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...
 
Old 04-04-2004, 07:19 PM   #2
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
looks like i am in the same boat you are

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

Alex
 
Old 04-04-2004, 07:30 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
have any ideas on how to fix it?
 
Old 04-04-2004, 07:58 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
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.
 
Old 04-04-2004, 08:11 PM   #5
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
do we just download, install, recompile, and thats it? or do we have to enable some options in the kernel?
 
Old 04-04-2004, 08:40 PM   #6
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
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


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

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
 
Old 04-04-2004, 08:58 PM   #7
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 04-04-2004, 09:22 PM   #8
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
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
 
Old 04-04-2004, 10:16 PM   #9
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
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
 
Old 04-05-2004, 12:07 AM   #10
ababkin
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Posts: 76

Rep: Reputation: 15
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
 
Old 04-05-2004, 02:27 PM   #11
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
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.
 
Old 04-05-2004, 03:17 PM   #12
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
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!
 
Old 04-05-2004, 03:27 PM   #13
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
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
 
Old 04-05-2004, 04:48 PM   #14
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
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.
 
Old 04-05-2004, 05:00 PM   #15
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
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.
 
  


Reply



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
Kernel Errors Stomatella Linux - Newbie 1 11-25-2004 02:50 PM
Kernel Errors 2.4.26 gamehack Linux - Software 2 05-27-2004 06:58 AM
Errors in my 2.6.1 kernel bluefire Debian 6 02-03-2004 05:34 PM
kernel 2.6.1 and errors shellcode Slackware 1 01-25-2004 11:08 PM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 PM.

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
Open Source Consulting | Domain Registration