• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Open Suse 11.4 /LTSP

amanns

Newbie
Hallo Linux Gemeinde

ich habe übers wochenede einen LTSP-Server aufgesetzt. Allerdings bootet mein
Client nich ordnungsgemöst und bleibt immer bei der gleichen stelle hengen.
Ich hoffe ihr könnt mir weiterhelfen. Im Link findet ihr ein Bild von der Stelle wo der
Client immer hengen bleibt.

http://imageshack.us/photo/my-images/834/fotoqke.jpg/

Sorry für die schlechte Qualität allerdings wurde das Bild mit meinem Handy gemacht.
Ich hoffe ihr könnt mir helfen.
 

spoensche

Moderator
Teammitglied
Der Client hängt an der Stelle, wo er das Rootdateisystem von einem NBD (Network Block Device) mounten will, dieses Device aber nicht erstellt werden kann.

Der Client mountet, bei LTSP, das Rootdateisystem normalerweise per NFS-Root und nicht über ein NBD.

Du müsstest uns mal dein LTSP- Setup mitteilen, damit wir dir sagen können, wo genau der Fehler liegt.
 
OP
A

amanns

Newbie
Hier ist die Konfigurations Datei:
Code:
## Path: System/Kiwi-ltsp
## Description: kiwi-ltsp configuration - Part of KIWI-LTSP as created by CyberOrg
# Copyright (c) 2007 Cyberorg
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
#
# Authors: Cyberorg Cyberorg <cyberorg@cyberorg.info>
#          Magnus Boman <captain.magnus@gmail.com>
#          Shrenik Bhura <shrenik.bhura@intelliant.net>          
#          Alex Savin <alexqwesa@opensuse.org>
#
# Version	Date		Changes
# 0.1.1		2007-08-25	Initial release
# 0.1.2		2007-08-27	Added {SUSE,LTSP}_INSTALL_SOURCE
# 0.1.2		2007-09-05	Image type and nfs chroot paths
# 0.1.3		2007-09-09	Added DHCP_IFACE
# 0.1.4		2007-09-11	Move it to /etc/sysconfig
# 0.1.5		2007-09-24	Added LTSSQUASHPATH="/srv/kiwi-ltsp"
# 0.1.6		2007-11-04	Auto detect server IP address based on specified DHCP interface
# 0.2.0		2009-04-01	Added parameters for auto-configuration of AOE, Nomad and client 
#						connected scanners
# 0.2.1		2010-08-28	Drop AOE_IMG_* and added instead it LTSP_IMG_* and LTSP_MAC_FOR_* options, 
#						added CONFIG_BLACKLIST, LTSP_IMG_NAME, NBD_PORT_FOR_*, SHOW_IMGS_IN_MENU
# 0.2.2		2010-09-15	Added NBD_PORT_START, MAKE_MULTIPLE_BACKUPS
# 0.2.3		2010-09-18	Added MKCLICFS_COMPRESSION, removed obsoletes LTSSQUASHPATH, DESTPATH and LTSP_IMG_NAME
# 0.2.3		2010-09-20	Dropped NBD_PORT_FOR_* 
# 0.2.4		2010-09-20	Added $DISTRO_NAME, $DISTRO_VERSION, ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE and
#						${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE_TYPE 
# 0.2.5		2010-11-17	Now IMAGETYPE support more then one image types
#						Added KIWI_KERNEL_ARGS
# 0.2.6		2010-12-22	Dropped DHCP_SUBNET, DHCP_NETMASK, DHCP_RANGE, TFTP_SERVER, GATEWAY, DHCP_IFACE 
#						Added TFTP_SERVERS, GATEWAYS, DHCP_IFACES, SERVER_IPS 
# 0.2.7		2011-07-23	Added USE_LOCAL_REPO_ONLY

## Type:	integer(0:1)
## Default:	0
#Set LTSP_DEBUG "0" logs to file and "1" to log KIWI activity to screen instead of log file
LTSP_DEBUG="0"

## Type:        integer(0:1)
## Default:     0
#Set CLUSTER "1" to use load balancing cluster, DO NOT CHANGE IF USING CLUSTER_NODES
#see https://wiki.stgraber.org/LTSP-Cluster for more information
CLUSTER="0"

## Type:	string
## Default:	
#Set CLUSTER_NODES to the comma separated IP addresses of all servers,
#see http://en.opensuse.org/LTSP/Cluster/Setup for more information
CLUSTER_NODES=""

## Type:	string
## Default:	NBD
# Space separated list of the image types, AOE, NFS and NBD supported.
# The first type is default, to use other types you should manually configure image settings.
# Example:  IMAGETYPE="NBD AOE NFS"
IMAGETYPE="NBD"

## Type:        string
## Default:     
#Set the imageing product version
KIWI_PRODUCT_VERSION="0.0.1"

## Type:        list(i686,x86_64)
## Default:     i686
#Set the imageing product architecture, must be same as the installation source used
ARCH="i686"

## Type:	list(11.2,11.3,11.4)
## Default:	11.4
#Set the openSUSE version to use for creating image
SUSE_VERSION="11.4"
 
## Type:       string
## Default:    /mnt/$SUSE_VERSION
# Set the installation source path or URL
# This is obsolete variable, use ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE 
# as it mention below
SUSE_INSTALL_SOURCE="/srv/os11.4"

## Type:       list(yast2,rpm-dir,rpm-md)
## Default:    yast2
# Set the installation source type
# This is obsolete variable, use ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE_TYPE 
# as it mention below
SUSE_INSTALL_SOURCE_TYPE="yast2"

## Type:        string
## Default:     
# DHCP Interfaces connected to ltsp networks 
# DHCP_IFACES="<space separated list of interface>"
# By default it tried to use all local interfaces
# You can use DHCP_IFACES or SERVER_IPS to sets up ltsp networks,
# please don't use it both to avoid order mismatch
DHCP_IFACES="  eth0"

## Type:	string
## Default:	
# Set the IP addresses of this servers that would be accessed by ltsp clients
# SERVER_IP="<space separated list of ip-addresses>"
# By default it tried to use all local interfaces
# You can use DHCP_IFACES or SERVER_IPS to sets up ltsp networks,
# please don't use it both to avoid order mismatch
# If this settings conflict with $DHCP_IFACES - DHCP_IFACES is preferred
SERVER_IPS="192.168.0.4"

## Type:	string
## Default:	
# Please do not change this, unless you know what you are doing.
# Set the IP address of this server that would be accessed by ltsp clients
# by default used first address from SERVER_IPS
SERVER_IP=

## Type:	string
## Default: 	digitalairlines.com
# Your domainname for DHCP setup
DOMAIN="lan.com"

## Type:	string
## Default: 	8.8.8.8
# DNS servers to be used for DHCP setup
# NAME_SERVERS="comma separated list of ip-address"
# Example: NAME_SERVERS="8.8.8.8, 8.8.4.4"
#          This is a google's DNS servers - you can use it
NAME_SERVERS="8.8.8.8, 8.8.4.4"

## Type:	string
## Default: 	
# Gateway IP(s) to be used for DHCP setup
# Please do not change this, unless you know what you are doing,
# leave it empty, this will detected automatic 
GATEWAY=

## Type:	string
## Default: 	
# TFTP server IP(s) for PXE boot, this is the server where the netboot images is stored
# Please do not change this, unless you know what you are doing,
# leave it empty, this will detected automatic 
TFTP_SERVER="192.168.0.4"

## Type:        integer(0:1)
## Default:     1
# It is useless to do the mapping each time the service is restarted.
# Whenever the above mapping of LTSP_MAC_FOR_name is updated this must be
# changed to "1" and to create/update the new config files for the clients:
# rckla restarted        - if used AOE
# kiwi-ltsp-setup -nbd   - if used NBD
LTSP_IMG_MAC_MAP="1"

## Type:        string
## Default:     i386
# Space separated list of image's profiles.
# Note: for profile IMG_NAME will be generated files: linux-IMG_NAME, initrd-IMG_NAME and IMG_NAME.img 
# (and some config files)
# First name in list will be used as default 
# This is like KIWI_GROUP (in kiwi), but without comma as separator
LTSP_PROFILES="i386"
#             00:0c:76:82:6c:01"
# This shall map the client(s) with MAC address(es) 00:0c:76:42:4f:d0 to nvidiaG02.img and 
# 00:0c:76:82:43:df and 00:0c:76:82:6c:01 to netfat.img 
# This is like ${name}_KIWI_MAC_LIST (in kiwi), but without comma as separator
LTSP_MAC_FOR_i386=
# where name - image profile name defined in LTPS_PROFILES  (note: case sensitivity)
#Note: check what this port is not used by other system services.
NBD_PORT_FOR_i386="2000"

## Type:    string
## Default: /srv/kiwi-profiles
# Please do not change this, unless you know what you are doing
# This dir contain custom profiles for build images
# If $KIWI_PROFILES_DIR/$LTSP_IMG_NAME/{image,netboot,kiwi-ltsp} exist use it
# instead default kiwi configs.
#    image     - directory with kiwi configs for build image, 
#    netboot   - directory with kiwi configs for build initrd image
#    kiwi-ltsp - file for overwrite some configs of this file, note: be VERY carefully!, if you use it
KIWI_PROFILES_DIR="/srv/kiwi-profiles"

## Type:	string
## Default:	/usr/share/kiwi/image/ltsp/suse-$SUSE_VERSION
#Please do not change this, unless you know what you are doing
KIWIPATH="/usr/share/kiwi/image/ltsp/suse-$SUSE_VERSION"

## Type:        string
## Default:     /srv/kiwi-ltsp 
# Directory containing the kiwi-ltsp images - prebuilt and/or custom
# Store the kiwi-ltsp images in this directory
LTSP_IMG_DIR="/srv/kiwi-ltsp"

## Type:	string
## Default:	/srv/tftpboot
#Please do not change this, unless you know what you are doing
TFTPBOOTPATH="/srv/tftpboot"

## Type:	string
## Default:	/tmp/kiwi-netboot
#Please do not change this, unless you know what you are doing
TMPPATH="/tmp/kiwi-netboot"

## Type:	string
## Default:	$LTSP_IMG_DIR-nfs
#Please do not change this, unless you know what you are doing
#In script: this value will be replaced to "$LTSNFSPATH-$LTSP_IMG_NAME"
LTSNFSPATH="$LTSP_IMG_DIR-nfs"

## Type:	string
## Default:	/usr/share/kiwi/image/netboot/suse-$SUSE_VERSION
#Please do not change this, unless you know what you are doing
KIWINBPATH="/usr/share/kiwi/image/netboot/kiwi-ltsp-suse-$SUSE_VERSION"

## Type:	string
## Default:
# Add space separated list of packages to be installed in the all client's images for use as localapps
# If you want add packages to specific image, use file:
# $KIWI_PROFILES_DIR/IMG_NAME/LTSP_LOCALAPPS_LIST
# or
# LTSP_LOCALAPPS_name (where name - profile name defined in LTPS_PROFILES (note: case sensitivity))
LTSP_LOCALAPPS=""
# addresses for scanner_n>;<sane-backend-conf-file for scanner_n>" where 
# 0<=n<=LTSP_SCANNERS
# Note that the 'n' integer sequence should be maintained wihtout skipping any integer
# For example:
# SCANNER_CONF_0="00:0c:76:82:43:df; 10.0.0.0/24, foo.digitalairlines.com; hp5400.conf"
# This shall configure the HP scanner whose backend information is defined in hp5400.conf to be 
# available at the LTSP client with MAC address 00:0c:76:82:43:df. 
# This scanner shall be accessible to the network 10.0.0.0/24 and the host foo.digitalairlines.com .
SCANNER_CONF_0=""

## Type:    string
## Default:
# Please do not change this, unless you know what you are doing.
# A space separated list of configs files that you want to manually configure
# (autoconfigured configs will be writen in files(directories) with suffix ".kiwinew")
# Example: CONFIG_BLACKLIST="/etc/dhcpd.conf /etc/exports"
CONFIG_BLACKLIST=""

## Type:    list(0,1)
## Default:	0
# If value 1 - for every image will be generated entry in boot menu
SHOW_IMGS_IN_MENU=0

## Type:    string
## Default: "$KIWIPATH../include"
# Path to some shared files for all image profiles
# Please do not change this, unless you know what you are doing
KIWI_INCLUDE="$KIWIPATH/../include"

## Type:    string
## Default: "$KIWIPATH/extra-packages"
# Please do not change this, unless you know what you are doing
# The path to the directory with additional rpm-files required to build images.
EXTRA_PKGS_DIR="$KIWIPATH/extra-packages"

## Type:    list(0,1)
## Default: 0
# Force autodetect server ip
# This required if your server has different ip-addresses in different networks
# If value 1 - server will be got ip-address from DHCP (DHCPSIADDR or DHCPSID),
#   in this case ip-address will not be written in files $TFTPBOOTPATH/pxelinux.cfg/* 
#   and $TFTPBOOTPATH/KIWI/config* (this depend to kiwi version - check is it supported manually)
NETBOOT_SERVER_AUTODETECTION=0

## Type:        integer
## Default:     20000
# The start of ports area what will be used for exports your NBD images.
# Please do not change this, unless you know what you are doing.
NBD_PORT_START=20000

## Type:    list(always,ifsmall,never)
## Default: always
# Do you want to use multiple backups?:
#   always   - always make multiple backup (all files/directories wil be with suffix ".$DATE")
#   ifsmall  - make multiple backup only for small config files(not directories) 
#               (big files and directories will be with suffix ".kiwibackup")
#   never    - make only one backup copy (all files/directories will be with suffix ".kiwibackup")
MAKE_MULTIPLE_BACKUPS="always"

## Type:        list(0,1,2,3,4,5,6,7,8,9)
## Default:     7
# Compression level of images
# 0 - lowest  compression (fast speed of build)
# 9 - highest compression (slow speed of build)
MKCLICFS_COMPRESSION=7

## Type:        string
## Default:   
# Name of distribution 
# This variable should be defined in image profile configuration file
# If it defined in main kiwi-ltsp file - it take no effect
# DISTRO_NAME format:
#       -  suse   for openSUSE
#       -  sles   for SUSE Linux Enterprise
#       -  rhel   for RedH at
#       -  fedora for Fedora
#       -  etc...
DISTRO_NAME=

## Type:        string
## Default:   
# Version of distribution 
# This variable should be defined in image profile  configuration file
# If it defined in main kiwi-ltsp file - it take no effect
# DISTRO_VERSION format:
#       -  1120 for openSUSE 11.2
#       -  1130 for openSUSE 11.3
#       -  etc...
# also see version format at:
# http://en.opensuse.org/Build_Service/cross_distribution_package_how_to#Detect_a_distribution_flavor_for_special_code
DISTRO_VERSION=1140

## Type:        string
## Default:     
# For speed up build of image you can redefined main repository to local source or fastest mirror
# Use format: ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE
suse_1140_INSTALL_SOURCE=

## Type:       list(yast2,rpm-dir,rpm-md)
## Default:    
# Format of redefined repository
# Related to to ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE
# Use format: ${DISTRO_NAME}_${DISTRO_VERSION}_INSTALL_SOURCE_TYPE
suse_1140_INSTALL_SOURCE_TYPE=

## Type:       list(yes,no,auto)
## Default:    auto
# If value is "no"   - *_*_INSTALL_SOURCE will be add to list of repositories,
# if value is "yes"  - it replace first repository in list of repositories in config.xml
# if value is "auto" - internet connection speed will be tested and repository will be replaced only for slow connection
USE_LOCAL_REPO_ONLY="auto"

## Type:        string
## Default:     "vga=791"
# Space separated list of kernel options.
# KIWI_KERNEL_ARGS="<space separated list of kernel arguments>"  (for all profiles)
# or/and 
# KIWI_KERNEL_ARGS_name (for profile "name" defined in LTPS_PROFILES (note: case sensitivity))
KIWI_KERNEL_ARGS="vga=791"

Fielen Dank im vorraus
 

spoensche

Moderator
Teammitglied
Ist bzw. wird bei dir den ein NBD- Server gestartet? Wenn ja auf welchem Port wartet er auf Anfragen?

Code:
NBD_PORT_FOR_i386="2000"
, allerdings wird weiter unten in der Konfiguration der Port 2000 für NBD angegeben. Da ist etwas faul. Überprüfe das mal.
 
OP
A

amanns

Newbie
Hy danke für die antwort!! :D

Allerdings haBE Ich habe jetzt schon mit dem Befehl.
Code:
kiwi-ltsp-setup -s
die Konfiguration neu gemacht und jetztbootet der client schonmal weiter.

Allerdings schaut es für mich jetzt so aus als ob er alles ladet und am schluss wenn
er die Oberfläche laden will ist der Bildschirm schwarz und es blinkt nur noch der
Kurser.
Allerdings ist mir aufgefallen das beim Booten ein paar Konfigurationen
vom Client vermisst werden könnte, dass es damit zusammenhängen und wenn ja was kann ich
dagegen tuen.

http://imageshack.us/photo/my-images/607/missingw.jpg/

PS.:
Er ladet schon weiter wie auf diesem Bild der von mir beschriebene Fehler Passiert erst später
 

spoensche

Moderator
Teammitglied
amanns schrieb:
Hy danke für die antwort!! :D

Allerdings haBE Ich habe jetzt schon mit dem Befehl.
Code:
kiwi-ltsp-setup -s
die Konfiguration neu gemacht und jetztbootet der client schonmal weiter.

Hinterlässt du er Allgemeinheit bitte auch, ob du etwas und was du an der Konfig geändert hast?

amanns schrieb:
Allerdings schaut es für mich jetzt so aus als ob er alles ladet und am schluss wenn
er die Oberfläche laden will ist der Bildschirm schwarz und es blinkt nur noch der
Kurser.
Allerdings ist mir aufgefallen das beim Booten ein paar Konfigurationen
vom Client vermisst werden könnte, dass es damit zusammenhängen und wenn ja was kann ich
dagegen tuen.

Er lädt bzw. importiert die fehlenden Konfigurationsdateien, d.h., dass sie nicht wirklich fehlen.
Was für eine Grafikkarte ist in dem Client verbaut?
 
OP
A

amanns

Newbie
Hallo bei der Konfiguration habe ich nichts geendert ich habe nur den
Befehl eingegeben.
 

spoensche

Moderator
Teammitglied
amanns schrieb:
Ich hab noch vergessen zum erwähnen das ich beim Gastsystem VM-Ware verwende.

Ist ja schön. Trotzdem wäre es hilfreich, wenn du mal die Fragen betzüglich verwendeter Grafikkarte etc. beantworten würdest. Was sagen den die Logfiles auf dem LTS?
 
Oben