LinuxQuestions.org
Review your favorite Linux distribution.
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 07-28-2007, 08:24 AM   #1
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Question From single to dual core with Spring


When and how to switch kernels and processors?

Hey guys, (that above was there first for the mouseover text).

In case you haven't twigged, I'm wanting to upgrade my Athlon64 to a Athlon64 X2, but I know I'm gunna want SMP support in the kernel.

First question: does the 'regular' Spring kernel have SMP support?

I'm currently booting:
linux-2.6.17-14mdv kernel
kernel-2.6.17.14mdv source

Second Question: if not, can I swap processors and boot a non-smp kernel on a dual core proc?


I've flashed my BIOS to the latest, and next I grabbed:
linux-2.6.17-14-mm-desktop-6mdvsmp kernel
kernel-multimedia-2.6.17.14.6mdv source

I just tried rebooting using that newer kernel but I couldn't get the nvidia installer to compile a module against it.

Third question: Where's the source that matches the kernel I need to install if it's different to the 'regular' kernel I'm running?

Thanks in advance!
 
Old 07-28-2007, 12:46 PM   #2
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Quote:
Originally Posted by Proud
First question: does the 'regular' Spring kernel have SMP support?
From the Mandriva Package Manager:
Quote:
kernel-2.6.17.14mdv - The Linux kernel (the core of the Linux operating system)​

The kernel package contains the Linux kernel (vmlinuz), the core of your Mandriva Linux operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc. It supports both up and smp systems using smp alternatives.

For instructions for update, see: http://www.mandriva.com/security/kernelupdate
Quote:
Originally Posted by Proud
Second Question: if not, can I swap processors and boot a non-smp kernel on a dual core proc?
This will not be a problem. See the description above. If you intend to use more than 4GB RAM, you may want to consider using the kernel-enterprise-2.6.17.14mdv package:
Quote:
kernel-enterprise-2.6.17.14mdv - The Linux Kernel compiled with options for Enterprise server usage​ 
Importance: bugfix
Reason for update: This kernel fixes a bug in the USB sub-system that may cause system hangs while connecting or disconnecting USB devices.

This package includes a kernel that has appropriate configuration options enabled for the typical large enterprise server. This includes SMP support for multiple processor machines (or Hyper-Threading), support for large memory configurations and other appropriate items. It supports both up and smp systems using smp alternatives.

For instructions for update, see: http://www.mandriva.com/security/kernelupdate
Quote:
Third question: Where's the source that matches the kernel I need to install if it's different to the 'regular' kernel I'm running?
I have the kernel-2.6.17.14mdv, and the kernel-source-2.6.17.14mdv packagges installed here.

The kernel-2.6.17.14mdv package can be found in the Mandriva Package Manager at System > Kernel and Hardware in the Category List (left).

The kernel-source-2.6.17.14mdv package can be found in the Mandriva Package Manager at Development > kernel in the Category List (left).

If you choose to use the kernel-enterprise-2.6.17.14mdv package, I believe the kernel-source-2.6.17.14mdv packagge should still be a correct match.

HTH,
 
Old 07-28-2007, 08:09 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Hi, Just make sure the sources are the same as the kernel.

Multimedia is multimedia, desktop is desktop. etc.

You should be able to load the smp kernel before you change the processor.

If you feel like getting your hands dirty, the kernels all have the options you need, you just need to reconfigure them and re-compile.

You may need to uninstall the nvidia driver first, but I think you could give us some more details on that. What was the output to the screen? It may be that the new kernel was compiled with a different version of glibc.

There is a new nvidia .run package available as of this/last month. it may rectify the problem, It did for me.

Regards, Glenn

(edit) urpmi will get the source to match your kernel, once it is installed. Make sure /^kernel/ is not in the /etc/urpmi/skip.list

Last edited by GlennsPref; 07-28-2007 at 08:20 PM.
 
Old 07-29-2007, 09:04 AM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Question

Thanks for the replies guys.

ernie, it's the bit about
Quote:
It supports both up and smp systems using smp alternatives.
that's making me think I need to find an alternative/non-'regular' kernel from the Spring repositories.

Again, anyone know what'd happen if I tried booting a dual core proc without smp support?

GlennsPref, I'd rather not recompile, and when I tried that other kernel, it booted but I didn't get the nVidia splashscreen or X come up. I don't think I'd need to uninstall manually, it looks like the installer does that for me.
I will make sure I've got the latest version.

I think I'll try installing and booting that enterprise one if I find it's got smp options set, then if it works, try the upgrade.
 
Old 07-29-2007, 09:16 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
"Again, anyone know what'd happen if I tried booting a dual core proc without smp support?"

Yep, the same as with m$windows, only one processor will be working. AFAIK, thats as bad as it gets. And remember google is your friend.

Cheers, Glenn
 
Old 07-29-2007, 09:26 AM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Just found this: http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels

Regular:
Quote:
Available in "main", and therefore in the Standard Edition and downloaded ISO images.

i686-optimised, multiple processor support (SMP), and highmem support (up to 4 GB of memory).

This is the stable, stock Linux kernel modified with patches to address Mandriva's customers' needs.
Enterprise:
Quote:
Available in "main", and therefore in the Standard Edition and downloaded ISO images.

i686-optimised, multiple processor support (SMP), and highmem support for up to 64 GB.
Multimedia-desktop:
Quote:
Available in "contrib", and therefore not included by default on the downloadable ISO images.

i686-optimized, single processor, highmem support up to 4GB. There is also an version available that supports machines with multiple processors: kernel-multimedia-desktop-smp-2.6.?.?-?mdv
Looks like I'll just put in the hardware and boot what I'm already running then
 
Old 07-29-2007, 09:31 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Excellent! Thanks for clearing that up. When I switch to dual processors I know who to ask.

Cheers, Glenn
 
  


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
LXer: Develop Spring apps for WebSphere: Spring MVC LXer Syndicated Linux News 0 05-26-2007 12:17 AM
single core to dual core matuk_444 SUSE / openSUSE 8 02-03-2007 02:50 PM
multi threading slower than single threading on dual core. why? nebojsa.andjelkovic Programming 13 01-30-2007 09:56 PM
High clock freq. single core or lower clock freq, dual core? ferentix Linux - General 3 04-27-2006 02:35 PM
Dual processor vs. Dual core cs. single on home machine fincher69 Linux - Hardware 3 03-04-2005 12:37 PM

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

All times are GMT -5. The time now is 05:37 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