LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Problems after kernel 2.6.1 install (https://www.linuxquestions.org/questions/mandriva-30/problems-after-kernel-2-6-1-install-135780/)

linx win 01-17-2004 01:54 PM

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?

Caeda 01-17-2004 03:08 PM

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.

iedirtbiker 01-17-2004 11:50 PM

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

leckie 01-18-2004 03:48 AM

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.

linx win 01-18-2004 01:30 PM

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

linx win 01-19-2004 12:00 AM

Can this help? If yes, how can I do it?

http://linux.derkeiler.com/Mailing-L...3-10/5454.html

vincebs 01-19-2004 12:09 AM

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.

linx win 01-19-2004 05:41 AM

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.

zedrob 01-19-2004 09:07 AM

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

linx win 01-20-2004 12:16 AM

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. :D

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.

Pwnz3r 01-25-2004 11:31 PM

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. :)

CoreDumped 02-05-2004 05:15 AM

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 !

beejayzed 02-07-2004 04:38 PM

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.

subzero0 02-12-2004 07:53 PM

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 ?


All times are GMT -5. The time now is 10:39 PM.