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.
[LINUX] HOW-TO create a XBMC server for diskless PXE network booting clients
poyon
Junior Member Posts: 2 Joined: Jan 2012 Reputation: 0 |
2012-01-23 12:07
Post: #241
|
| find quote |
johnson.adale
Junior Member Posts: 3 Joined: Feb 2012 Reputation: 0 |
2012-02-13 09:00
Post: #242
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 |
| find quote |
lrgmmc
Junior Member Posts: 2 Joined: Jan 2010 Reputation: 0 |
2012-02-13 15:57
Post: #243
I just tried adding the ppa and all went fine. have you run
Code: sudo apt-get update |
| find quote |
johnson.adale
Junior Member Posts: 3 Joined: Feb 2012 Reputation: 0 |
2012-02-14 00:42
Post: #244
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
|
| find quote |
johnson.adale
Junior Member Posts: 3 Joined: Feb 2012 Reputation: 0 |
2012-02-15 07:59
Post: #245
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 |
| find quote |
dcplaya
Junior Member Posts: 11 Joined: Mar 2012 Reputation: 0 |
2012-03-02 17:24
Post: #246
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?
(This post was last modified: 2012-03-02 17:49 by dcplaya.)
|
| find quote |
deroo
Junior Member Joined: Mar 2012 Reputation: 0 Location: The Netherlands |
2012-03-17 14:54
Post: #247
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...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).
(This post was last modified: 2012-03-17 20:21 by deroo.)
|
| find quote |
opdenkamp
Team-XBMC PVR Developer Joined: Feb 2009 Reputation: 24 Location: Heerlen, The Netherlands |
2012-03-17 21:07
Post: #248
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. opdenkamp / dushmaniac xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)] personal website: [link] Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log. If you like my work, please consider donating to me and/or Team XBMC. |
| find quote |
deroo
Junior Member Joined: Mar 2012 Reputation: 0 Location: The Netherlands |
2012-03-17 21:50
Post: #249
@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. @+
(This post was last modified: 2012-03-19 13:14 by deroo.)
|
| find quote |
2lon
Junior Member Posts: 1 Joined: Apr 2012 Reputation: 0 |
2012-04-04 11:20
Post: #250
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. |
| find quote |

Search
Help