[K12OSN] K12LTSP 6.0 client booting problems

Mark McSweeney markrmcs at gmail.com
Fri Jan 5 01:22:04 UTC 2007


I'm sorry if this has been covered before but I searched the K12OS
archives and documentation and could not find a reference to this
problem.

On the older versions (pre 5.0) of K12LTSP I was able to simply
install the OS and boot the client with a boot disk.

Since I installed 6.0 when I try to boot the client acquires an IP ok
then I get this:

> Doing the pivot_root
> Mounting the devfs filesystem
> Running /sbin/init
>
> Enter runlevel:



I did find this post on the LTSP mailing list:

http://marc.theaimsgroup.com/?l=ltsp-discuss&m=114572079627648&w=2

but I am a little confused because I thought that K12LTSP was ready to
go "out of the box" and the instructions for addressing this problem
seem to be to update the LTSP packages and kernel.

For reference my /etc/dhcpd-k12ltsp.conf file looks like this:

------------------------------------------------------------------------

default-lease-time            21600;
max-lease-time                21600;
ddns-update-style none;
allow booting;
allow bootp;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.2.255;
option routers                192.168.2.1;
option domain-name-servers    192.168.2.1;
next-server                   192.168.2.1;
option domain-name            "ltsp";
option root-path              "192.168.2.1:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;

shared-network WORKSTATIONS {
  subnet 192.168.2.0 netmask 255.255.255.0 {
     range dynamic-bootp 192.168.2.100 192.168.2.253;
     use-host-decl-names       on;
     option log-servers        192.168.2.1;

     # trick from Peter Rundle <peter.rundle at au.interpath.net>
     # newer Macs
     if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
     }
     # really old iMacs
     elsif substring (option option-221, 0, 5) = "Apple"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
     }
     # Intel PXE
     elsif substring (option vendor-class-identifier, 0, 9) = "PXEClient"
     {
        # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
        filename      "/lts/pxe/pxelinux.0";
     }
     # default to an i386 BOOTP image
     else
     {
        filename      "/lts/vmlinuz-2.6.17.8.ltsp-1";
     }

     if substring (option vendor-class-identifier, 20, 3) = "ppc" {
        option root-path "192.168.2.1:/opt/ltsp/ppc";
     } else {
        option root-path "192.168.2.1:/opt/ltsp/i386";
     }
  }
}
------------------------------------------------------------------------

and my /opt/ltsp/i386/etc/lts.conf looks like this:

------------------------------------------------------------------------

[Default]
        # IP address of the LTSP server
        SERVER             = 192.168.2.1

        # LTSP 4.2 now defaults to restricting the video driver to 90%
        # of the total memory available on the terminal. Setting this
        # somewhere between 90 and 100 may help terminals with a marginal
        # mount of memory, but it is probably a better idea to set
        # USE_NBD_SWAP=Y for such terminals (see examples below)
        XRAMPERC = 90

        # Video drivers for the terminals
        XSERVER            = auto
            # XFree 4 drivers: ati cirrus cyrix fbdev i128 i740 i810 mga
            #      neomagic nv r128 radeon rendition s3 s3virge savage
            #      siliconmotion sis tdfx tga trident tseng vesa vga via

	X4_MODULE_01 = glx
            # add the GLX module by default, blender and the like need it


    ## Uncomment the following line to enable remote monitoring/control of
    ## terminals, especially if you use fl_teachertool:
	 X4_MODULE_02 = vnc

        # Mice drivers for the terminals
	X_MOUSE_PROTOCOL   = "auto"
 	X_USBMOUSE_PROTOCOL = "auto"
            # Mouse protocols: ExplorerPS/2 GlidePoint GlidePointPS/2
            #      IMPS/2 IntelliMouse Microsoft MouseManPlusPS/2
            #      NetMousePS/2 NetScrollPS/2 PS/2 ThinkingMouse
            #      ThinkingMousePS/2 usb
	X_MOUSE_DEVICE     = "/dev/psaux"
  	X_USBMOUSE_DEVICE   = "/dev/input/mice"
	X_MOUSE_RESOLUTION = 400
 	X_USBMOUSE_RESOLUTION = 400
	X_MOUSE_BUTTONS    = 3
 	X_USBMOUSE_BUTTONS   = 3
 	USBEMULATE_3_BUTTONS = "off"

        # Keyboards
        XkbSymbols         = "us(pc101)"
        XkbModel           = "pc101"
        XkbLayout          = "us"
            # Example of setting a different (German) keyboard mapping,
            #    XkbLayout = "de"
            # also see:
            #   http://www.xfree86.org/current/XKB-Config2.html
            #   http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN1213
            #   /opt/ltsp/i386/usr/X11R6/lib/X11/xkb/rules/xfree86.lst
            #   (/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/symbols/)
            #   (/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/keymap/xfree86)

	USE_XFS            = N
	LOCAL_APPS         = N
	SCREEN_01          = startx
	SCREEN_02          = shell
	#SCREEN_03          = telnet
		# TELNET_HOST = 192.168.2.1
	#SCREEN_04          = rdesktop
		# RDP_SERVER = your.2k.server
		# RDP_OPTIONS = -F -u fred -d ltsp

       # local storage device (USB keys, cdrom, etc)
       LOCAL_STORAGE = Y
       LTSPFSD_OPTIONS=""

	# uncomment the following line to enable SNMP support
	#SNMPD = Y

        # enable sound by default
        SOUND              = Y
        # choose either esd or nasd to be the default (esd only on x86_64)
	SOUND_DAEMON       = "esd"
	# SOUND_DAEMON     = "nasd"

        # default sound volume
        VOLUME             = 75

        ### For ISA sound cards, you have to specify the module to use:
        # SMODULE_01       = "sb io=0x220 irq=5 dma=1"

------------------------------------------------------------------------


Any help or at least a point in the right direction would be extremely
helpful to me.

Thanks in advance.



Mark




More information about the K12OSN mailing list