[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sarge NR_CPUS limit of 1 reached. Processor ignored.



Siju George wrote:

On 12/14/05, Lubos Vrbka <lubos.vrbka@gmail.com> wrote:
Is there a way to install the kernel using apt-get??
> aptitude install kernel-image-2.6.8-11-amd64-k8-smp
>
Also will I have to re-install the packages to support SMP?
you don't have to reinstall any apps. single processor apps will run on
SMP just fine, you can just run more of them (2 in your case) at the
some time without slowing down...


Thankyou somuch lubos for the reply :-)

I installed some software from dotdeb following the advice on

http://dotdeb.org/news/dotdeb_now_available_for_amd64

hope it will automatically get packages for 64-bit amd and not 32 bit x86 ?
how do I check if the packages installed are for 64 bit?
Test binary files using the "file" command.  Example for testing /bin/ls:
$ file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped

So /bin/ls on my office pentium machine is a 32-bit executable.
A 64-bit executable will have "ELF 64-bit" instead, and it
won't be 80386 either.

is it that only 64-bit packages can be installed or 32-bit packages
can also slip in if the /etc/apt/source.list is not edited carefully?

Apt will get you what you ask for, but you may of course get
in trouble when trying to _run_ an executable that doesn't fit the platform.

For a quick check:
file /bin/* /sbin/* /lib/* /usr/bin/* /usr/sbin/* /usr/lib/* /usr/bin/X11/* /usr/games/* | grep 32

If you get nothing, then no 32-bit sw on your system.

Helge Hafting



Reply to: