LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-01-2004, 10:34 PM   #1
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
How did you install kernel 2.6.x into Mandrake?


I have been trying to get the new 2.6.3 kernel installed and just can't seem to done. If you have installed this kernel under MDK 9.2; please tell me how you did it.

Ted.
 
Old 03-02-2004, 12:06 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
what is failing?

If you compiled the kernel and the right modules with the right options and installed them, it should work except for supermount (it's not in the standard kernel).

You do need to install module-init-tools (it's not very hard either and I think there's an rpm in the cooker if you don't want to compile it).
 
Old 03-02-2004, 12:18 PM   #3
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
I am having small problems with 2.6.3 too. First attempt brought only black screen on bootup --> commented out the "vga=788" option in /etc/lilo.conf and voila, it actually boots.. But now I have another problem.. The /Documents/Changes file at the sources said that there were a couple of things that I needed to upgrade before trying to compile the kernel, oprofile, modutils etc.. I upgraded them, and everything works just fine with 2.4.22-10mdk, but 2.6.3....
I cannot load *any* modules under the new kernel. insmod/lsmod/etc just gives a weard errormessage when trying to load/list modules.. (I can't remember the actual message, surfing the network at work on an XP...)
Could it be that the problems might be caused by gcc while compiling the kernel? I read somewhere that the version 3.xx of gcc has not been tested with K2.6.3.. (MDK9.2 has gcc 3.3.xx)

the fact that I can't load modules does not bother *wery* much, but I'd like to get my Intellimouse and USB flashdisk to work.. everything else is OK..
 
Old 03-02-2004, 12:48 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
as for module loading: did you install the module-init-tools?
 
Old 03-02-2004, 01:00 PM   #5
naren
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
If you compiled the kernel and the right modules with the right options and installed them, it should work except for supermount (it's not in the standard kernel).

You do need to install module-init-tools (it's not very hard either and I think there's an rpm in the cooker if you don't want to compile it).
 
Old 03-02-2004, 03:58 PM   #6
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
I installed a source kernel from kernel.org and tried an rpm from cooker. I have these packages installed:

bootloader-utils-1.6-5mdk.i586.rpm
kernel-2.6.3.3mdk-1-1mdk.i586.rpm
libsysfs0-0.4.0-1mdk.i586.rpm
mkinitrd-3.5.18-4mdk.i586.rpm
module-init-tools-3.0-0.pre9.2mdk.i586.rpm
modutils-2.4.26-3mdk.i586.rpm
procps-3.1.15-1mdk.i586.rpm
sysfsutils-0.4.0-1mdk.i586.rpm
udev-018-1.i386.rpm

No matter what kernel I use, X complains that agpgart is not loaded and can't find any screens.

Thanks for the help,
Ted.
 
Old 03-02-2004, 04:55 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
did you try compiling the kernel? Just installing the kernel sources does not install a new kernel. The mandrake kernel rpm might install a kernel which has something disabled that you need.
 
Old 03-02-2004, 05:41 PM   #8
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Yes, it just isn't working. Here's what I do:

make xconfig (make sure everything is in the kernel needed by the system)
make dep (no longer needed by the 2.6 kernel)
make clean
make bzImage
make modules
copy bzImage to /boot/vmlinuz-2.6.3 (or whatever)
copy System.map to /boot/System.map-2.6.3
make modules_install
edit lilo.conf
run lilo
reboot

I don't know what the problem could be.

Thanks,
Ted.
 
Old 03-02-2004, 05:53 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
try this sequence:

make mrproper
make xconfig
make bzImage
make modules
make modules_install
make install

the make isntall takes care of copying things to the right palce and even edits and installs lilo. But make sure to look at /etc/lilo.conf after make install and see if it's ok. reboot.
 
Old 03-02-2004, 06:02 PM   #10
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
actually, try (as root)
modprobe agpgart

and then startx
 
Old 03-02-2004, 07:50 PM   #11
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
modprobe agpgart was a long time ago. I apprecitate the help, but editing the modules.conf and doing modprobe agpgart have had no effect. I am actually tired of even trying at this time. I will try the different sequence and see if that helps. I am beginning to wonder why anyone would ever compile from source; it never works. I have been using Linux for almost 2 years and have only had a couple of programs compile from source. Seems like way more work than its worth. I need a break.

Again, thanks for the help.

Have a great day,
Ted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Install Mandrake 10.1 Official with 2.4 kernel Joni Linux - Newbie 1 05-10-2005 06:10 AM
how to install kernel source in mandrake appas Mandriva 2 09-25-2004 04:45 AM
How do I install Kernel 2.6.6 on Mandrake 10 OE? nealkochhar Linux - Newbie 6 05-30-2004 04:23 PM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 10:39 PM
Mandrake 9.0 kernel panic on install Septus Linux - Newbie 0 08-22-2003 02:26 AM


All times are GMT -5. The time now is 08:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration