LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-17-2004, 01:54 PM   #1
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
Problems after kernel 2.6.1 install


I got lots of problems after upgrading the kernel of Mandrake 9.2 to 2.6.1. I lost the sound, the modem, supermount of CDrom and Windows partitions. Can some one tell me how I can get them back?

Last edited by linx win; 01-17-2004 at 01:55 PM.
 
Old 01-17-2004, 03:08 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Most likely.. since you didnt post anything about the system the solution is pretty simple..

Go back and compile the kernel again. Keep trying till you get it right.

This time make sure you compile in the correct sound drivers, ntfs support and other things you need to run your system? Otherwise wait for the distro's to adopt 2.6 as the kernel and then you wont have to mess with compiling.
 
Old 01-17-2004, 11:50 PM   #3
iedirtbiker
LQ Newbie
 
Registered: Jan 2004
Location: Lake Elsinore, CA
Distribution: Fedora Core, Redhat 9, Mandrake 9.2
Posts: 20

Rep: Reputation: 0
also, you will need to patch the kernel source with the supermount patch available at
http://supermount-ng.sourceforge.net/

copy the supermount patch to /usr/src
bunzip2 the patch
cd into /usr/src/linux-2.6.1
and run 'cat < ../supermount-2.0.3b-2.6.1.patch | patch -p1
then run make menuconfig or make xconfig
you will find Supermount option under File Systems ---> Psuedo Filesystems
 
Old 01-18-2004, 03:48 AM   #4
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
no dont do anything people above have stated.
the reason nothing has loaded is modprobe and insmod do not work with kernel 2.6 unless up upgrade them.

to tell if this is the problem type lsmod. if nothing is listed upgrade modutils. u will need a very late version. mandrake have one as an rpm download and install. also download mandrakes kernel 2.6.0 test in rpm form. it has mod utils as a dependency.
 
Old 01-18-2004, 01:30 PM   #5
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Thanks to all of you for help

I did ismod and got a big list. I assume this means I do not need to upgrade the modutils. Am I right leckie?

Caeda

I did recompile my system kernel two more times and succeeded in resolving the sound and modem problems but I still have the mounting problem. Thanks.

iedirtbiker

I did exactly like what you said but did not work. Do I need to recompile the kernel again? For your info, the kernel-source is not in the /usr/src, it is in my diectory in /home/fost. The following is the fstab file details:

/dev/hdd1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd6 /home ext3 defaults 1 2
/mnt/cdrom supermount dev=/dev/cdrom,fs=auto,--,defaults 0 0
dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1,sync 0 0
none /proc proc defaults 0 0
/dev/hdd5 swap swap defaults 0 0

Thanks
 
Old 01-19-2004, 12:00 AM   #6
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Can this help? If yes, how can I do it?

http://linux.derkeiler.com/Mailing-L...3-10/5454.html
 
Old 01-19-2004, 12:09 AM   #7
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
Compiling the kernel is a nightmare. Your problem was only one of the dozen problems I had. I recall avoiding the problem by compiling the modules in question into the kernel. But this creates bloat. Then I upgraded module-init-tools, which broke my kernel-2.4 modutils.
 
Old 01-19-2004, 05:41 AM   #8
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
vincebs

Do you know where I can get a copy of this file (module-init-tools-0.9.15) RPM? I would like to try it.
 
Old 01-19-2004, 09:07 AM   #9
zedrob
Member
 
Registered: Aug 2003
Location: Italy
Distribution: Gentoo, Fedora, Ubuntu
Posts: 30

Rep: Reputation: 15
well...
I tried to install Kernel 2.6.1, and I found some problems...
1- The supermount module was not supported so I had to patch the kernel and recompile (as said above...)
2- The module management is different from the old one, so devfs seems to be broken and udev should be used instead of it, but also new programs like modprobe and insmod should be used (installed by module-init-tools). Please note that if you want to go back to old kernel 2.4 you should re-install (rpm -i --force ...) the old modutils...rpm.
Should you need any rpm try rpmfinder!
Hope this helps a bit...
Regards
 
Old 01-20-2004, 12:16 AM   #10
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Ok. Finally I got the problem solved and my system kernel upgraded to 2.6.0. I did the following:

1- Installed Mandrake 9.2
2- Compiled kernel 2.6.1, but got many problems.
3- Upgraded to Mandrake 10 (cooker), this added kernel 2.4.22-10.
4- I started my system with the Mandrake 10, kernel 2.4.22-10. By the way the system shows it as Mandrake 9.2.
5- I copied all kernel 2.6.0 RPMs including the udev rpm from Mandrake 10 first cd to my home directory.
6- I ran the udev rpm and it installed every thing for kernel 2.6.0.
7- That's it. I got every thing working including supermount. I did not try the modem yet but It does not seem to have any problem.

For your information, I tried all the options suggested in the above replies, but I failed to get the problems resolved. However, with the procedure explained above, the system is up and running kernel 2.6.0. Moreover, all the new rpms are available in the Mandrake 10 cds.

Thank you all for support.
 
Old 01-25-2004, 11:31 PM   #11
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Mandrake won't always save you so I'll take you through some steps that should help:

1) Supermount is not a normal part of the kernel but the patch for it can be found here:
http://supermount-ng.sourceforge.net/

You patch the source by extracting it into the same directory the folder of the source code is in. For example, if you extracted it into /usr/src and the folder with the source is called linux-2.6.1, then put it in the /usr/src diectory and not the source directory. Then sign in as root of course and cd to the directory and type:

patch -p0 < patch_name.patch

That'll come in handy for many other patches in the future that you might want to use, so keep it in mind. As for the modem and such, I don't know what all you have and if you told people I didn't read it since I didn't read but your first and last post. If you did just tell me and I'll find in then help you further if possible.
 
Old 02-05-2004, 05:15 AM   #12
CoreDumped
LQ Newbie
 
Registered: Feb 2004
Location: France
Distribution: MDK 9.0 / 2.6.0 kernel
Posts: 1

Rep: Reputation: 0
Hello all,

Thanks for your help on the change regarding modutils that is now replaced by module-init-tools.

I got into trouble using module-init-tools (version 0.9.13 ans 0.9.14).
When I tried to compile from source, I got the following error while "make"ing :

/usr/bin/ld : cannot find -lc
Error 2 : ld returned exit status 1

It drove me up the wall for a couple of days and then I said "Alright, I'm going to use a rpm, for the sake of simplicity".
I grabbed the "module-init-tools-3.X" RPM and when I "rpm -ivh"'ed it, I got another error, this time dealing with dependencies :

failed dependencies : libc.so.6 (I have it !)
modutils conflicts
devfsd conflicts

I must point out the fact that I have compiled a 2.6.0 kernel on a Mandrake 9.0 (dolphin) release originally shipped with a 2.4.19 kernel.

Does it all have something to do with this mixture of kernels ?
Any hint, anyone ? Thanks !
 
Old 02-07-2004, 04:38 PM   #13
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
I also had the same problem with compiling the source. I downloaded the rpm from rmpfind.net and also got the same dependency problems.I upgraded modutils and devfsd and the rpm intalled. The problem now is that modules aren't loading at boot time for my new kernel(2.6.1).
I will try compiling from source again and see what happens.
 
Old 02-12-2004, 07:53 PM   #14
subzero0
Member
 
Registered: Aug 2003
Location: NY
Distribution: Mandrake
Posts: 36

Rep: Reputation: 15
I have the same problem. The modules were not loading into the booted kernel i compiled from source. I then tried the 2.6-test5 kernel supplied in one of the urpmi online databases and the same problem occurs. I have module-init-tools and modutils (latest mandrake version) and still the modules refuse to load. I am not up to upgrading to mandrake10. Has anyone had success installing a 2.6 kernel? Any suggestions ?
 
  


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
nessus install problems on slackware v 10.2 w/ 2.4 kernel Scarlett Linux - Software 13 11-18-2005 12:55 PM
Problems With ACPI after install kernel 2.6.7 folken718 Slackware 1 10-18-2004 12:47 AM
kernel install problems (2.6.6) nakedjohn Slackware 16 06-15-2004 04:50 PM
2.6 kernel and pcmcia-cs-3.2.5 install problems cnmill Linux - Laptop and Netbook 3 12-09-2003 09:42 AM
module problems after kernel install? aveach Linux - Newbie 1 08-23-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:51 AM.

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