On 11/6/2013 5:53 PM, John Hupp wrote: > I finished a new installation of LTSP-PNP on Lubuntu 13.10, but I find > that clients won't boot. > > After the Plymouth splash screen, a text screen reads: > > Error: socket failed: connection refused. > Exiting. > > Then it dumps me to a screen with some familiar good LTSP boot messages > followed by unfamiliar bad ones: > > Trying to load: pxelinux.cfg/default ok > mount: mounting /dev/nbd0 on /root failed: Invalid argument > /scripts/init-bottom/ltsp: line 27: panic: not found > chroot: can’t execute ‘/usr/bin/test’: No such file or directory > mount: mounting /root on /rofs failed: Invalid argument > mount: mounting /rofs on /root/rofs failed: Invalid argument > mount: mounting /dev /root/dev failed: No such file or directory > mount: mounting /sys on /root/sys failed: No such file or directory > mount: mounting /proc on /root/proc failed: No such file or directory > Target filesystem doesn’t have requested /sbin/init-ltsp. > No init found. Try passing init= bootarg. > > BusyBox v1.20.2 (Ubuntu 1:1.20.0-8.1ubuntu1) built-in shell (ash) > Enter ‘help’ for a list of built-in commands. > > (initramfs) _ > > --------------------------------------------- > > The initramfs prompt is working. > > --------------------------------------------- > > Based on the exchanges in bug 951526, it seemed like the output of 'sudo > ltsp-update-image' would be of interest. I follow with that: > > ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA > Parallel mksquashfs: Using 1 processor > Creating 4.0 filesystem on /opt/ltsp/images/i386.img.tmp, block size 131072. > > [/ ] > 500/99574 0% > [=- ] > 3100/99574 3% > [===- ] > 6300/99574 6% > [====- ] > 7000/99574 7% > [====| ] > 7600/99574 7% > [=====/ ] > 10000/99574 10% > [=====/ ] > 10100/99574 10% > [======\ ] > 11300/99574 11% > [======/ ] > 11700/99574 11% > [=======| ] > 12700/99574 12% > [=======\ ] > 13100/99574 13% > [========\ ] > 14600/99574 14% > [=========/ ] > 15800/99574 15% > [=========- ] > 16200/99574 16% > [=========/ ] > 16400/99574 16% > [=========- ] > 16700/99574 16% > [==========| ] > 17800/99574 17% > [==========| ] > 18100/99574 18% > [===========| ] > 19000/99574 19% > [===========- ] > 19500/99574 19% > [===========/ ] > 20000/99574 20% > [=============\ ] > 22600/99574 22% > [================- ] > 27200/99574 27% > [================\ ] > 27300/99574 27% > [====================\ ] > 34700/99574 34% > [========================/ ] > 42100/99574 42% > [=================================- ] > 56900/99574 57% > [======================================\ ] > 64300/99574 64% > [======================================/ ] > 64700/99574 64% > [==================================================| ] > 84500/99574 84% > [====================================================/ ] > 88000/99574 88% > [====================================================\ ] > 89200/99574 89% > [======================================================- ] > 92300/99574 92% > [===========================================================/] > 99574/99574 100% > > Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072 > compressed data, compressed metadata, compressed fragments, > compressed xattrs > duplicates are removed > Filesystem size 930783.93 Kbytes (908.97 Mbytes) > 38.36% of uncompressed filesystem size (2426201.41 Kbytes) > Inode table size 1305509 bytes (1274.91 Kbytes) > 26.82% of uncompressed inode table size (4867029 bytes) > Directory table size 1305740 bytes (1275.14 Kbytes) > 41.14% of uncompressed directory table size (3174145 bytes) > Xattr table size 36 bytes (0.04 Kbytes) > 90.00% of uncompressed xattr table size (40 bytes) > Number of duplicate files found 11368 > Number of inodes 133365 > Number of files 92519 > Number of fragments 5665 > Number of symbolic links 28530 > Number of device nodes 82 > Number of fifo nodes 0 > Number of socket nodes 0 > Number of directories 12234 > Number of ids (unique uids + gids) 29 > Number of uids 8 > root (0) > man (6) > clamav (109) > user1 (1000) > ntp (105) > libuuid (100) > syslog (101) > lightdm (108) > Number of gids 28 > root (0) > video (44) > audio (29) > tty (5) > fuse (104) > kmem (15) > disk (6) > dip (30) > mlocate (109) > adm (4) > lp (7) > user1 (1000) > shadow (42) > lightdm (116) > ssl-cert (106) > dialout (20) > crontab (102) > mail (8) > lpadmin (112) > ssh (110) > messagebus (105) > utmp (43) > utempter (111) > staff (50) > libuuid (101) > whoopsie (113) > clamav (119) > ntp (108) > Updating /var/lib/tftpboot directories for chroot: i386 > > --------------------------------------------- > > My setup followed the usual procedure at > https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp, except that to > fix an LTSP Client Boot Error: PXE-E32: TFTP open timeout, in > /etc/dnsmasq.d/network-manager, I replaced the "bind-interfaces" line > with a "bind-dynamic" line. > > And to get Internet DNS Name Resolution working, I edited > /etc/dnsmasq.d/ltsp-server-dnsmasq.conf and commented out the port=0 line. > > I also edited /var/lib/tftpboot/ltsp/i386/lts.conf to add OpenDNS, > SpiderOak and the Intel Mesh Agent services to the client > RM_SYSTEM_SERVICES no-load list. > > --------------------------------------------- > > How do I proceed? > > --John >
I found an LTSP list thread at http://www.mail-archive.com/ltsp-discuss@lists.sourceforge.net/msg41327.html that very closely matches my report. Near the end of the thread, Vagrant Cascadian offers the critical observation: "The Linux kernel is not finding your network card, so it probably does not have the correct kernel module or firmware in the initramfs, if that version of the kernel works with your network card at all." "I would recommend booting a live CD (or USB image) of the same OS and version you're trying to get LTSP to work on, and seeing what network drivers and/or firmware it uses, presuming it works at all." In the case of the original poster, booting the live CD confirmed that the kernel was not properly supporting his network card. In my case however, when I boot the live CD on a client, my 3Com card is supported just fine (and uses the 3c95x driver). ----------------------------------- My LTSP server syslog has some interesting entries, though my untrained eye does not conclude anything definitive. An excerpt from the point at which the client is booting: Nov 7 14:03:53 Dell-Lubuntu dnsmasq-dhcp[815]: PXE(eth0) 00:50:da:2e:68:ab proxy Nov 7 14:03:55 Dell-Lubuntu dnsmasq-dhcp[815]: PXE(eth0) 192.168.1.120 00:50:da:2e:68:ab /ltsp/i386/pxelinux.0 Nov 7 14:03:56 Dell-Lubuntu dnsmasq-tftp[815]: error 0 TFTP Aborted received from 192.168.1.120 Nov 7 14:03:56 Dell-Lubuntu dnsmasq-tftp[815]: failed sending /var/lib/tftpboot/ltsp/i386/pxelinux.0 to 192.168.1.120 Nov 7 14:03:56 Dell-Lubuntu dnsmasq-tftp[815]: sent /var/lib/tftpboot/ltsp/i386/pxelinux.0 to 192.168.1.120 Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/353b011c-3094-11d5-b1b4-0030d300febe not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/01-00-50-da-2e-68-ab not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0A80178 not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0A8017 not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0A801 not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0A80 not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0A8 not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0A not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C0 not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/C not found Nov 7 14:03:57 Dell-Lubuntu dnsmasq-tftp[815]: sent /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default to 192.168.1.120 Nov 7 14:03:58 Dell-Lubuntu dnsmasq-tftp[815]: sent /var/lib/tftpboot/ltsp/i386/vmlinuz-3.11.0-12-generic to 192.168.1.120 Nov 7 14:04:06 Dell-Lubuntu dnsmasq-tftp[815]: sent /var/lib/tftpboot/ltsp/i386/initrd.img-3.11.0-12-generic to 192.168.1.120 Nov 7 14:04:28 Dell-Lubuntu whoopsie[937]: online Nov 7 14:05:29 whoopsie[937]: last message repeated 2 times Nov 7 14:06:54 Dell-Lubuntu kernel: [ 636.908017] usb 1-2: new high-speed USB device number 2 using ehci-pci Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.041453] usb 1-2: New USB device found, idVendor=1307, idProduct=0163 Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.041458] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.041462] usb 1-2: Product: USB Mass Storage Device Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.041465] usb 1-2: Manufacturer: USBest Technology Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.041469] usb 1-2: SerialNumber: 000000000001D3 Nov 7 14:06:54 Dell-Lubuntu mtp-probe: checking bus 1, device 2: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2" Nov 7 14:06:54 Dell-Lubuntu mtp-probe: bus: 1, device: 2 was not an MTP device Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.155540] usb-storage 1-2:1.0: USB Mass Storage device detected Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.158881] scsi4 : usb-storage 1-2:1.0 Nov 7 14:06:54 Dell-Lubuntu kernel: [ 637.159017] usbcore: registered new interface driver usb-storage Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.156840] scsi 4:0:0:0: Direct-Access Simple Bonzai Xpress 0.00 PQ: 0 ANSI: 2 Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.157224] sd 4:0:0:0: Attached scsi generic sg1 type 0 Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.161331] sd 4:0:0:0: [sdb] 2015231 512-byte logical blocks: (1.03 GB/983 MiB) Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.161954] sd 4:0:0:0: [sdb] Write Protect is off Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.161961] sd 4:0:0:0: [sdb] Mode Sense: 00 00 00 00 Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.163414] sd 4:0:0:0: [sdb] Asking for cache data failed Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.163423] sd 4:0:0:0: [sdb] Assuming drive cache: write through Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.169335] sd 4:0:0:0: [sdb] Asking for cache data failed Nov 7 14:06:55 Dell-Lubuntu kernel: [ 638.169344] sd 4:0:0:0: [sdb] Assuming drive cache: write through Nov 7 14:06:56 Dell-Lubuntu kernel: [ 638.275836] sdb: sdb1 Nov 7 14:06:56 Dell-Lubuntu kernel: [ 638.279185] sd 4:0:0:0: [sdb] Asking for cache data failed Nov 7 14:06:56 Dell-Lubuntu kernel: [ 638.279194] sd 4:0:0:0: [sdb] Assuming drive cache: write through Nov 7 14:06:56 Dell-Lubuntu kernel: [ 638.279199] sd 4:0:0:0: [sdb] Attached SCSI removable disk Nov 7 14:06:56 Dell-Lubuntu udisksd[1560]: Mounted /dev/sdb1 at /media/user1/65D1-8E04 on behalf of uid 1000 ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net