Jump to content
Sign in to follow this  
ianw1974

Quick and Easy Kernel Compile Upgrade

Recommended Posts

Ok Moriarty's post is in a way was off topic, BUT it has been very useful to me as i did not have a clue what DKMS was and was recently a bit too lazy to google that. I will now print his post (on recycled paper!) and read it...

 

STef

Share this post


Link to post
Share on other sites

It's not completely correct about DKMS. You don't have to uninstall anything when a new kernel is installed. When you reboot the system, the dkms service checks/detects whether the dkms-nvidia module or whatever module is installed into the kernel. If it's not, it installs it during bootup, so that when you launch X, you have your nvidia drivers.

 

Normally, if you use nvidia's driver from their website, you have to reinstall the driver manually because it's not automatically updated into the kernel, because it was installed/compiled with the previous kernel-source.

 

DKMS just saves you having to manually reinstall it after the kernel upgrade, and allowing you to save on one more additional reboot after a kernel upgrade.

Share this post


Link to post
Share on other sites

On 2.6.15 hotplug isn't just deperecated- its kicked out completely- maybe this is your problem.

2.6.15 should be used with a fairly recent udev/dbus/pmount combo, all other (super)mounting utilities shouldn't be used.

I'm sceptic though on how well the Mandriva initscripts work with 2.6.15... there should be some issues.

Edited by scarecrow

Share this post


Link to post
Share on other sites

The booting of the kernel was perfectly fine. Of course, it would require testing on all different types of hardware to find out if there are actually any issues.

 

The kernel compilation reads the /boot/config file for all current settings of the existing kernel, so it should practically all be the same apart from any patches that Mandriva introduce to their own kernel. Of course, we have no information whatsoever on what they do to patch it other than what we've found so far. There's obviously something patched onto it for mcc, since we've seen a few issues here too. But then if you can configure your system manually from the command line, and you're able to compile new kernels successfully, this isn't a major problem in itself :P

 

In all honesty, it's probably just best to stick with the urpmi kernels unless you really have to use a newer kernel. Then, this post does work for that need, and issues logged in here so far have pretty much all been resolved (bootsplash/autofs instead of supermount).

Share this post


Link to post
Share on other sites

I have a quck question on some post-kernel installation actions. I have s touch screen display that I have working with the old kernel. The "evtouch.o" file is in the X11 input module directory. I know I can rebuild the file for the new kernel but it will then make it unusble for the old kernel. How can I set this up for a two kernel boot option?

Share this post


Link to post
Share on other sites

You would need to leave both kernels installed. Depending on which kernel you boot, will depend on which module is loaded. Or at least as far as I know.

 

Although I could be wrong, since you say the file is in your X11 directory, I would have expected the module to be within the kernel modules area.

Share this post


Link to post
Share on other sites

No, in this case it is an input module that needs to be put in the /usr/X11/lib/modules/input directory.

Share this post


Link to post
Share on other sites

I would say that this isn't a kernel module then, but a module for X11, so slightly different. Unless I'm mistaken of course, but I've never heard of kernel modules being placed in the X11 directory.

Share this post


Link to post
Share on other sites

It's a bit late... but nevertheless...

Thank You ian, I've spent almost a week trying to make deal with my Mandriva (it didn't see my Ethernet card); followint Your instructions I've managed to upgrade my kernel ... well, it's first step, but I'm lucky now. Thanks again.

:P

Share this post


Link to post
Share on other sites

Nice one, glad it worked for you. This actually works much better under Mandriva 2007, than it did in 2006.

 

I'm running 2.6.19.1 under Mandriva 2007, compiled by myself.

Share this post


Link to post
Share on other sites
Nice one, glad it worked for you. This actually works much better under Mandriva 2007, than it did in 2006.

 

I'm running 2.6.19.1 under Mandriva 2007, compiled by myself.

 

Ok, but one problem still left (not so big I suppose...)

 

Now I have 2 Network Interfaces - eth0 ( IEEE 1394 ... ) - it was set before kernel-updating, ... adn it is the only one which is available under kernel 2.6.12-12mdk

and eth1 ( NVIDIA MCP51 Ethernet Controller) (which appear under new version (2.6.15.6) - same one (I think this is right one, because I have nVidia- network cart)

 

It seems, that Mandriva now can see any of devices on my PC, (to judge by # lspci output)...

but there is no connection to ethernet still.

May be I have to put MCP51 on "eth0" ? how it could be done ? or maybe this option could be set in kernel configuration (say make changes under # make menuconfig) ? Or best solution is to upgrade kernel to higher version ?

It would be nice, if You can advice something.

Share this post


Link to post
Share on other sites

You have to be root, so:

 

su (enter root password when prompted)
ifconfig -a

Share this post


Link to post
Share on other sites
You have to be root, so:

 

su (enter root password when prompted)
ifconfig -a

Yes, I've forgot about this - wait for a while, I'm experimenting with poor mashine, so need some time to reboot it & get answer from non-changed version (2.6.16.2) 10 minutes or so

 

huhu... need to reinstall system - experiment wasn't succesfull...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...