[LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110) +--- Thread: [LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients (/showthread.php?tid=83840) |
NBD error - poyon - 2012-01-23 Hello, For me it is impossible to make work nbd. When I am trying to mount the /dev/nbd0 I have this message : on client : end_request: I/O error, dev nbd0, sector 0 unable to read partition table on server : Jan 20 11:00:46 eric-desktop nbdrootd[23017]: connect from 192.168.80.142 (192.168.80.142) Jan 20 11:00:46 eric-desktop nbd_server[23017]: connect from 192.168.80.142, assigned file is /var/lib/xbmc-diskless/images/xbmc.img Jan 20 11:00:46 eric-desktop nbd_server[23017]: Size of exported file/device is 307118080 Jan 20 11:00:47 eric-desktop nbd_server[23017]: Send failed: Bad file descriptor Jan 20 11:00:47 eric-desktop nbd_server[23017]: Exiting. Can you please help me? Thanks Eric B. Help With Adding ppa - johnson.adale - 2012-02-13 Hello i am trying to setup this diskless server but when i issue the add repository i get this error dale@web-server:~$ sudo add-apt-repository ppa:lars-opdenkamp/xbmc-diskless Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 88, in <module> ppa_info = get_ppa_info_from_lp(user, ppa_name) File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp curl.perform() pycurl.error: (6, "Couldn't resolve host 'launchpad.net'") please help Thank You re Help With Adding ppa - lrgmmc - 2012-02-13 I just tried adding the ppa and all went fine. have you run Code: sudo apt-get update apt-get - johnson.adale - 2012-02-14 i did some research and digging and found the reason mine is failing is i have ubuntu oneiric and in the ppa folder structure he dosent have one for oneiric is there a way to still install or do i need to install karmic and go back instead XBMC Video Drivers - johnson.adale - 2012-02-15 i got everything working when the client boots it says missing parameter in configuration file autostart=xbmc the client continues to boot but just boots to a text login asking me to login to xbmc-diskless please help - dcplaya - 2012-03-02 johnson.adale Wrote:i did some research and digging and found the reason mine is failing is i have ubuntu oneiric and in the ppa folder structure he dosent have one for oneiric is there a way to still install or do i need to install karmic and go back instead I changed the distro for just this source from oneiric to maverick (Software Sources) and will see how it goes. It updated and installed. Edit: An afterthought. I want to use this on a ARM based PC like the CuBox or Raspberry Pi. Does anyone know if its possible? RE: [LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients - deroo - 2012-03-17 Hi guys, I''m having serious trouble getting my audio to work with xbmc-diskless on a Zotac ID41 (ION2). My aplay only lists the following: xbmc@xbmc-diskless:~$ sudo aplay -l sudo: unable to resolve host xbmc-diskless **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic] Subdevices: 1/1 Subdevice #0: subdevice #0 In alsamixer, I am able to select the HDA NVidia card, but then it says 'This sound device does not have any controls." The lspci command shows, among other devices, that the audio device is recognized by Ubuntu: 03:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) I've tried so many things like modifying the /etc/modprobe.d/alsa-base.conf file, inserting additional options, but nothing seems to work. Also tried to follow instructions from murph (http://forum.xbmc.org/showthread.php?tid=83840&pid=686388#pid686388) but no luck there too. Even after updating the NVidia drivers, they seem to be corrupted in a way (other story but if anyone knows something about it...) (II) Module nvidia: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.0 Module class: X.Org Video Driver (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your (EE) NVIDIA: system's kernel log for additional error messages. (II) UnloadModule: "nvidia" (II) Unloading /usr/lib/xorg/extra-modules/nvidia_drv.so (EE) Failed to load module "nvidia" (module-specific error, 0) (EE) No drivers available. Fatal server error: no screens found If you require more info, just let me know. Thanks. Progress; Alsa seems to be the problem. The kernel installation base is 2.6.32-21. With 2.6.32-23 and equal Alsa drivers, the aplay -l recognizes the NVidia HDMI. Steps taken so far: Create a new image (don't pack and install) Then mount the nfs filesystems and chroot Update linux kernel: sudo apt-get install linux-headers-2.6.32-23 linux-headers-2.6.32-23-generic linux-image-2.6.32-23-generic ... from lucid-updates Reinstall Nvidia current (bit old but it works): sudo apt-get install --reinstall nvidia-current Add and update Alsa: sudo add-apt-repository ppa:ubuntu-audio-dev/ppa sudo apt-get update sudo apt-get install linux-alsa-driver-modules-2.6.32-23-generic Unmount filesystems and pack and install. Current issues: NVidia drivers fail to load (see also my original post). RE: [LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients - opdenkamp - 2012-03-17 I don't have time to maintain this anymore. If someone has patches that include support for new things, e.g. new Ubuntu versions, I'll happily include them and update the builds. @deroo: >> Then mount the nfs filesystems and chroot did you follow the "Upgrading (optional)" part of the first post? otherwise it probably won't work, because the post-install part fails. RE: [LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients - deroo - 2012-03-17 @dushmaniac: The upgrade option doesn't do much for me (0 updated, 0 upgraded asf). Update 2012-03-17 Except for some minor issues still, I believe I practically solved the problem. The following works in my situation: * Directly after the image creation, create a backup 'target' directory (if you intend to do some 100 tests before going live) * Mount the nfs and perform chroot to it. * Add http://nl.archive.ubuntu.com/ubuntu/ lucid-updates main to the /etc/apt/source.list and update. * Install packages linux-headers-2.6.32-23-generic and linux-image-2.6.32-23-generic. * Add the 'ppa:ubuntu-audio-dev/ppa' ppa and install package linux-alsa-driver-modules-2.6.32-23-generic. In my experience, the alsa driver modules HAVE to be the same version as the kernel, but maybe compatibility changes when updating to a higher level kernel. Did not test that. * Now pack and install the image. The result is that aplay -l identifies the NVidia card correctly. * XBMC Eden (from the unstable ppa) doesn't start and the system leaves me with a prompt only. Manual startup with xinit xbmc works perfectly though. * Although the NVidia card is recognized (and I'm pretty sure it will work in XBMC), I still have to test the audio. I'm not talking about cleanup cuz i'm not a hardcore linux user in this area yet, so if anyone could tell me how to cleanup former kernel images and its associations, that would be an extra step forward :-). The next few weeks I will try to find out if a full dist-upgrade works in my case. If so, I'll post the results again and hope that will contribute to the existence of xbmc-diskless-server. Few questions/remarks: * What is the added value of the download_xbmc section in xbmc_diskless.sh? Can it be left out? * The upgrade_system section doesn't seem to work. I'll have a look at why not. @+ RE: [LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients - 2lon - 2012-04-04 Hello. My ION client stops with the message: Quote:Ubuntu 10.04 LTS xbmc-diskless tty1 The last messages in /var/log/daemon.log is: Quote:Apr 4 13:00:47 XBMC-server nbd_server[3002]: connect from 10.1.1.51, assigned file is /var/lib/xbmc-diskless/images/xbmc.img The /etc/exports line is: Quote:/var/lib/xbmc-diskless/overlay/ 10.1.1.6/255.255.255.0(rw,no_root_squash,async,no_subtree_check)there 10.1.1.6 - is my server. The system is Ubuntu 10.10, Linux 2.6.35-32-generic. |