TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Ubuntu Linux

Dual Core Kernel for GG

Ubuntu Linux

 
 
Thread Tools Display Modes
Unread 08-01-2008, 04:50 PM   #11
de Kameel
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG

Dragomir Kollaric wrote:

> Ok first the output of "uname -a"
>
> Linux PURE-JOY-II 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC 2007
> i686 GNU/Linux
>
> Does this not mean that there is not a dual-core kernel running?


SMP does multi-core.

> I attempted to compile a new kernel for my AMD64 X2 3800+
> Windsor dual core.


Why? It isn't necessary.

> I've got a new PC with 4 GB of Ram, and I found out that the
> "generic" kernel, only can use up to 2,9 GB of Ram.


Only if you use a 32-bit kernel. BTW I would expect 3.2 GB, but 2.9 GB is
probably close enough.

> Another Linux install here reports the RAM as 4 GB.
>
> So I downloaded the "server" kernel 2.6.22.14-server, and


No, just download the the x86-64 / AMD64 Ubuntu Desktop version: go to
http://www.ubuntu.com/getubuntu/download and select "64bit AMD and Intel
computers". Download and install that, and you will use 4GB RAM.
As a proof, here's my own x64-64 Ubuntu 7.10 running a my 4GB RAM machine:

sander@sander-amd64:~$ uname -a
Linux sander-amd64 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007
x86_64 GNU/Linux

sander@sander-amd64:~$ cat /proc/meminfo
MemTotal: 3992644 kB

According to Google, 3 992 644 kilobytes = 3.80768204 gigabytes, so
somewhere 0.2 GB of the 4 GB is gone. Maybe in the shared video memory.

HTH

de Kameel

 
Unread 08-01-2008, 04:50 PM   #12
Meat Plow
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG

On Sun, 06 Jan 2008 14:46:54 -0600, General Schvantzkopf wrote:

> On Sun, 06 Jan 2008 19:53:00 +0000, Dragomir Kollaric wrote:
>
>> Ok first the output of "uname -a"
>>
>> Linux PURE-JOY-II 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC 2007
>> i686 GNU/Linux
>>
>> Does this not mean that there is not a dual-core kernel running?
>>
>> I attempted to compile a new kernel for my AMD64 X2 3800+ Windsor
>> dual core.
>>
>> OK now it's my time to gripe about something..... one specific
>> poster can get from this that I never belonged into the "linux is
>> perfect" crowd he loves to assume of people.
>>
>> I've got a new PC with 4 GB of Ram, and I found out that the "generic"
>> kernel, only can use up to 2,9 GB of Ram. Another Linux install here
>> reports the RAM as 4 GB.
>>
>> So I downloaded the "server" kernel 2.6.22.14-server, and when I
>> read through the config I found that one most neccesary item
>> hpt377 (a raid-controller) isn't build into the kernel. So I figured
>> I'll recompile a kernel again myself, done so many times in the
>> past, but with Ubuntu I didn't see the need for it. Well I'll be
>> darn, I used to build this driver directly into the kernel, but now
>> I can make only a module for it. How on earth can the Kernel boot, if
>> the driver for the controller card isn't there?
>>
>> Next I moved the installation of Ubuntu Studio to the first HDD /dev/hda
>> and got the OS up and running. Now I still need to compile the
>> kernel, and did so a couple of times all with the same result:
>>
>> Kernel Panic not syncing FVS unable to mount root fs on unknown
>> block (0,0)
>>
>> This error usually means something is misconfigured in
>> /boot/grub/menu.lst, but after the Kernel was compiled, I moved the old
>> menu.lst to another location and let "update-grub" generate a new file.
>> So the error shouldn't be in "menu.lst"
>>
>> This is the relevant entry:
>>
>> ## ## End Default Options ##
>>
>> title Ubuntu 7.10, kernel 2.6.23.12 Default root

> (hd0,3)
>> kernel /boot/vmlinuz root=UUID=148bf79b-

> e177-4526-8e68-37b76e0b601e ro
>> quiet splash quiet
>> -----
>> Maybe I compiled the wrong kernel for a wrong CPU?
>>
>> I tried AMD Hammer/Opteron and the K7 family all with the same result
>> no boot.
>>
>>
>>
>>
>> Dragomir Kollaric

>
> SMP means that it is a multiprocessing kernel.


<snip>

My uname description says SMP in it but my hardware is an AMD Athalon X64
single core CPU. I didn't know an SMP kernel would work with a single CPU.
Learn something every day I guess...

 
Unread 08-01-2008, 04:51 PM   #13
General Schvantzkopf
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG


> My uname description says SMP in it but my hardware is an AMD Athalon
> X64 single core CPU. I didn't know an SMP kernel would work with a
> single CPU. Learn something every day I guess...


An SMP kernel will use as many cores as you have, if you only have 1 then
it uses 1, if you had 200 it would use 200.
 
Unread 08-01-2008, 04:51 PM   #14
General Schvantzkopf
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG


> My uname description says SMP in it but my hardware is an AMD Athalon
> X64 single core CPU. I didn't know an SMP kernel would work with a
> single CPU. Learn something every day I guess...


An SMP kernel will use as many cores as you have, if you only have 1 then
it uses 1, if you had 200 it would use 200.
 
Unread 08-01-2008, 04:52 PM   #15
MarcB
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG

Stephan Rose wrote:

> On Sun, 06 Jan 2008 20:39:37 +0000, MarcB wrote:
>
>> Stephan Rose wrote:
>>
>>> On Sun, 06 Jan 2008 19:53:00 +0000, Dragomir Kollaric wrote:
>>>
>>>> Ok first the output of "uname -a"
>>>>
>>>> Linux PURE-JOY-II 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC 2007
>>>> i686 GNU/Linux
>>>>
>>>> Does this not mean that there is not a dual-core kernel running?
>>>
>>> No it is running. That is the dual core kernel.
>>>
>>>

>> Sorry to barge into this discussion.
>> When reading this, I start wonderding, do you need a special kernel to
>> use a dual cor CPU ?
>> I'm about to upgrade to a new motherboard with a dual or quad core CPU,
>> does this mean I have to change my distro or kernel too to be able to
>> use the extra cores ?

>
> The generic kernel normally installed in Ubuntu already is an SMP kernel
> so it is multi-core capable and you shouldn't have to do anything special.
>
> Only if you currently have a single processor kernel installed would you
> have to change kernels. If you do a uname and see SMP in your kernel name
> though you are good to go.
>

Thanks, Uname -a gives
Linux L1 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686
GNU/Linux

So I should be good.

--
MarcB
 
Unread 08-01-2008, 04:53 PM   #16
General Schvantzkopf
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG


> My uname description says SMP in it but my hardware is an AMD Athalon
> X64 single core CPU. I didn't know an SMP kernel would work with a
> single CPU. Learn something every day I guess...


An SMP kernel will use as many cores as you have, if you only have 1 then
it uses 1, if you had 200 it would use 200.
 
Unread 08-01-2008, 04:53 PM   #17
Stephan Rose
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG

On Sun, 06 Jan 2008 22:10:39 +0000, MarcB wrote:

> Stephan Rose wrote:
>
>> On Sun, 06 Jan 2008 20:39:37 +0000, MarcB wrote:
>>
>>> Stephan Rose wrote:
>>>
>>>> On Sun, 06 Jan 2008 19:53:00 +0000, Dragomir Kollaric wrote:
>>>>
>>>>> Ok first the output of "uname -a"
>>>>>
>>>>> Linux PURE-JOY-II 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC
>>>>> 2007 i686 GNU/Linux
>>>>>
>>>>> Does this not mean that there is not a dual-core kernel running?
>>>>
>>>> No it is running. That is the dual core kernel.
>>>>
>>>>
>>> Sorry to barge into this discussion.
>>> When reading this, I start wonderding, do you need a special kernel to
>>> use a dual cor CPU ?
>>> I'm about to upgrade to a new motherboard with a dual or quad core
>>> CPU, does this mean I have to change my distro or kernel too to be
>>> able to use the extra cores ?

>>
>> The generic kernel normally installed in Ubuntu already is an SMP
>> kernel so it is multi-core capable and you shouldn't have to do
>> anything special.
>>
>> Only if you currently have a single processor kernel installed would
>> you have to change kernels. If you do a uname and see SMP in your
>> kernel name though you are good to go.
>>

> Thanks, Uname -a gives
> Linux L1 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686
> GNU/Linux
>
> So I should be good.


Yup, no problems there!

--
Stephan
2003 Yamaha R6

君の事思い出す日なんてないのは
君の事忘れたときがないから
 
Unread 08-01-2008, 04:56 PM   #18
de Kameel
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG

Dragomir Kollaric wrote:

> Ok first the output of "uname -a"
>
> Linux PURE-JOY-II 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC 2007
> i686 GNU/Linux
>
> Does this not mean that there is not a dual-core kernel running?


SMP does multi-core.

> I attempted to compile a new kernel for my AMD64 X2 3800+
> Windsor dual core.


Why? It isn't necessary.

> I've got a new PC with 4 GB of Ram, and I found out that the
> "generic" kernel, only can use up to 2,9 GB of Ram.


Only if you use a 32-bit kernel. BTW I would expect 3.2 GB, but 2.9 GB is
probably close enough.

> Another Linux install here reports the RAM as 4 GB.
>
> So I downloaded the "server" kernel 2.6.22.14-server, and


No, just download the the x86-64 / AMD64 Ubuntu Desktop version: go to
http://www.ubuntu.com/getubuntu/download and select "64bit AMD and Intel
computers". Download and install that, and you will use 4GB RAM.
As a proof, here's my own x64-64 Ubuntu 7.10 running a my 4GB RAM machine:

sander@sander-amd64:~$ uname -a
Linux sander-amd64 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007
x86_64 GNU/Linux

sander@sander-amd64:~$ cat /proc/meminfo
MemTotal: 3992644 kB

According to Google, 3 992 644 kilobytes = 3.80768204 gigabytes, so
somewhere 0.2 GB of the 4 GB is gone. Maybe in the shared video memory.

HTH

de Kameel

 
Unread 08-01-2008, 04:56 PM   #19
Meat Plow
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG

On Sun, 06 Jan 2008 14:46:54 -0600, General Schvantzkopf wrote:

> On Sun, 06 Jan 2008 19:53:00 +0000, Dragomir Kollaric wrote:
>
>> Ok first the output of "uname -a"
>>
>> Linux PURE-JOY-II 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC 2007
>> i686 GNU/Linux
>>
>> Does this not mean that there is not a dual-core kernel running?
>>
>> I attempted to compile a new kernel for my AMD64 X2 3800+ Windsor
>> dual core.
>>
>> OK now it's my time to gripe about something..... one specific
>> poster can get from this that I never belonged into the "linux is
>> perfect" crowd he loves to assume of people.
>>
>> I've got a new PC with 4 GB of Ram, and I found out that the "generic"
>> kernel, only can use up to 2,9 GB of Ram. Another Linux install here
>> reports the RAM as 4 GB.
>>
>> So I downloaded the "server" kernel 2.6.22.14-server, and when I
>> read through the config I found that one most neccesary item
>> hpt377 (a raid-controller) isn't build into the kernel. So I figured
>> I'll recompile a kernel again myself, done so many times in the
>> past, but with Ubuntu I didn't see the need for it. Well I'll be
>> darn, I used to build this driver directly into the kernel, but now
>> I can make only a module for it. How on earth can the Kernel boot, if
>> the driver for the controller card isn't there?
>>
>> Next I moved the installation of Ubuntu Studio to the first HDD /dev/hda
>> and got the OS up and running. Now I still need to compile the
>> kernel, and did so a couple of times all with the same result:
>>
>> Kernel Panic not syncing FVS unable to mount root fs on unknown
>> block (0,0)
>>
>> This error usually means something is misconfigured in
>> /boot/grub/menu.lst, but after the Kernel was compiled, I moved the old
>> menu.lst to another location and let "update-grub" generate a new file.
>> So the error shouldn't be in "menu.lst"
>>
>> This is the relevant entry:
>>
>> ## ## End Default Options ##
>>
>> title Ubuntu 7.10, kernel 2.6.23.12 Default root

> (hd0,3)
>> kernel /boot/vmlinuz root=UUID=148bf79b-

> e177-4526-8e68-37b76e0b601e ro
>> quiet splash quiet
>> -----
>> Maybe I compiled the wrong kernel for a wrong CPU?
>>
>> I tried AMD Hammer/Opteron and the K7 family all with the same result
>> no boot.
>>
>>
>>
>>
>> Dragomir Kollaric

>
> SMP means that it is a multiprocessing kernel.


<snip>

My uname description says SMP in it but my hardware is an AMD Athalon X64
single core CPU. I didn't know an SMP kernel would work with a single CPU.
Learn something every day I guess...

 
Unread 08-01-2008, 05:00 PM   #20
General Schvantzkopf
Guest
 
Posts: n/a
Re: Dual Core Kernel for GG


> My uname description says SMP in it but my hardware is an AMD Athalon
> X64 single core CPU. I didn't know an SMP kernel would work with a
> single CPU. Learn something every day I guess...


An SMP kernel will use as many cores as you have, if you only have 1 then
it uses 1, if you had 200 it would use 200.
 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 02:15 PM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional