Discussion:
[Ltsp-discuss] Support For MultiCore CPUs
Mored Berdat
2014-07-07 19:20:32 UTC
Permalink
Hello All,

I have installed a Debian 7 x86_64 with LTSP-5.4.2 ( Debian 7 x86 -
Fat). The system works fine, but the Fat Client only detects 1 core. I
tested several models of CPU with same results. I tried install a kernel
with SMP support, but don't booted. What I do wrong?

Thanks,
--
Mored Berdat
SANCRED Sistema Nacional de Recuperação de Cred. Ltda
Telefone: (19) 3512-0200
sancred.com.br <http://sancred.com.br/sancred.php>
Aviso: Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a
quem é dirigida, podendo conter informação confidencial e legalmente
protegida. Se você não for destinatário desta mensagem, desde já fica
notificado de abster-se a divulgar, copiar, distribuir, examinar ou, de
qualquer forma, utilizar a informação contida nesta mensagem, por ser
ilegal. Caso você tenha recebido esta mensagem por engano, pedimos que
responda essa mensagem informando o acontecido.
Vagrant Cascadian
2014-07-07 20:13:50 UTC
Permalink
I have installed a Debian 7 x86_64 with LTSP-5.4.2 ( Debian 7 x86 - Fat). The
system works fine, but the Fat Client only detects 1 core. I tested several
models of CPU with same results. I tried install a kernel with SMP support, but
don't booted. What I do wrong?
It's probably defaulting to the -486 kernel variant.

You may want to edit /opt/ltsp/i386/etc/ltsp/update-kernels.conf to change the
boot order preference, or enable ifcpu64 detection. Once you've edited
update-kernels.conf to your liking, you need to update the configuration:

sudo ltsp-chroot --arch=i386 /usr/share/ltsp/update-kernels
sudo ltsp-update-kernels


Hope that gets you started. Feel free to mail ltsp-discuss with more questions!


live well,
vagrant
Mored Berdat
2014-09-25 15:07:38 UTC
Permalink
Dear community

I follow instructions and variations given by Vagrant and the result on client is:
http://tinypic.com/view.php?pic=21aa44n&s=8

My conf
Debian 7 x86_64 updated
LTSP1: debian x86 linux-image-3.2.0-4-486 /opt/ltsp/i386/ - works
LTSP2: debian x86 linux-image-3.2.0-4-rt-686-pae /opt/ltsp/i686_rt - not boot

On LTSP1, all done, but only 1 core detected. Voip and web applications have a degraded performance.



My update-kernels.conf on LTSP2:

# Default boot options
# Use a menu for booting
#PXELINUX_DEFAULT=menu

# Set default timeout to 10 seconds (hundreths of a second)
TIMEOUT=100

# Set default boot item on timeout
ONTIMEOUT=ltsp-NFS

# Use ifcpu64.c32 to detect 64-bit, PAE or 32-bit machines.
PXELINUX_DEFAULT=ltsp-ifcpu64-NFS
#PXELINUX_DEFAULT=ltsp-NFS
IFCPU64=true

# Supported booth methods
#BOOT_METHODS="NFS NBD"
BOOT_METHODS="NFS"

# Default commandline arguments common to all boot methods
#CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp quiet"
CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp LTSP_FATCLIENT=True"

# Commandline used with NFS root
#CMDLINE_NFS="root=/dev/nfs ip=dhcp boot=nfs"
CMDLINE_NFS="root=/dev/nfs ip=dhcp boot=nfs nfsroot=/opt/ltsp/i686_rt"

# Commandline used with NBD root
#CMDLINE_NBD="root=/dev/nbd0"

# Kernel variants
KERNEL_PREFIX="vmlinu[z|x]-*"
KERNEL_SUFFIX=""

# Kernel variants that are supported by 64-bit CPUs
LIST_KERNELS_64="amd64"
# Variants that are supported by PAE capable CPUs
LIST_KERNELS_PAE="rt-686-pae 686-pae 686-bigmem 686"
# Variants that are widely supported (i.e. 32-bit CPUs)
#LIST_KERNELS_32="486 686"
LIST_KERNELS_32="686-pae 686-pae"
# Preferred default kernel order
#LIST_KERNELS_DEFAULT="486-custom 686-custom"
#LIST_KERNELS_DEFAULT="rt-686-pae 686-pae 686"


I follow instructions from debian and ubuntu site with same results. I do not know where I went wrong.

Thanks again.

Mored Berdat.






Message: 6
Date: Mon, 7 Jul 2014 13:13:50 -0700
From: Vagrant Cascadian<***@debian.org>
Subject: Re: [Ltsp-discuss] Support For MultiCore CPUs
To:ltsp-***@lists.sourceforge.net
Message-ID: <***@siren>
Content-Type: text/plain; charset="us-ascii"

It's probably defaulting to the -486 kernel variant.

You may want to edit /opt/ltsp/i386/etc/ltsp/update-kernels.conf to change the
boot order preference, or enable ifcpu64 detection. Once you've edited
update-kernels.conf to your liking, you need to update the configuration:

sudo ltsp-chroot --arch=i386 /usr/share/ltsp/update-kernels
sudo ltsp-update-kernels


Hope that gets you started. Feel free to mail ltsp-discuss with more questions!


live well,
vagrant
Post by Mored Berdat
Hello All,
I have installed a Debian 7 x86_64 with LTSP-5.4.2 ( Debian 7 x86 -
Fat). The system works fine, but the Fat Client only detects 1 core. I
tested several models of CPU with same results. I tried install a
kernel with SMP support, but don't booted. What I do wrong?
Thanks,
--
Mored Berdat
SANCRED Sistema Nacional de Recuperação de Cred. Ltda
Telefone: (19) 3512-0200
sancred.com.br <http://sancred.com.br/sancred.php>
Aviso: Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a
quem é dirigida, podendo conter informação confidencial e legalmente
protegida. Se você não for destinatário desta mensagem, desde já fica
notificado de abster-se a divulgar, copiar, distribuir, examinar ou,
de qualquer forma, utilizar a informação contida nesta mensagem, por
ser ilegal. Caso você tenha recebido esta mensagem por engano, pedimos
que responda essa mensagem informando o acontecido.
Vagrant Cascadian
2014-09-25 16:07:09 UTC
Permalink
Post by Mored Berdat
http://tinypic.com/view.php?pic=21aa44n&s=8
I can't see anything at that URL. Could you summarize what it says?
Post by Mored Berdat
My conf
Debian 7 x86_64 updated
LTSP1: debian x86 linux-image-3.2.0-4-486 /opt/ltsp/i386/ - works
LTSP2: debian x86 linux-image-3.2.0-4-rt-686-pae /opt/ltsp/i686_rt - not boot
Why did you set up a separate chroot? you should be able to install
multiple kernels into the i386 chroot, and use the ifcpu64 detection to
select the appropriate one. Having multiple chroots will make it
needlessly complicated...
Post by Mored Berdat
# Default boot options
# Use a menu for booting
#PXELINUX_DEFAULT=menu
# Set default timeout to 10 seconds (hundreths of a second)
TIMEOUT=100
# Set default boot item on timeout
ONTIMEOUT=ltsp-NFS
You'll also want to set this to ltsp-ifcpu64-NFS, since you've set the
timeout. I'd only bother with the timeout if you're using the menu...
Post by Mored Berdat
# Default commandline arguments common to all boot methods
#CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp quiet"
CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp LTSP_FATCLIENT=True"
That isn't a reliable method to pass LTSP configuration varialbles;
you'll want to edit lts.conf instead to set LTSP_FATCLIENT=True,
although if it has enough ram and files in
/usr/share/xsessions/*.desktop, it should automatically set
LTSP_FATCLIENT=True.


After editing update-kernels.conf, be sure to run:

sudo ltsp-chroot --arch=YOUR_CHROOT_NAME /usr/share/ltsp/update-kernels
sudo ltsp-update-kernels


Good luck!

live well,
vagrant

Continue reading on narkive:
Loading...