Kodi Community Forum
[LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV (/showthread.php?tid=74992)



- generikb - 2010-11-23

thnmnt Wrote:same issues here (following sam's directions to install to internal HD) - I'm using pin87a's image updated to RC1 as I try to do this. I've updated the patched parted (1.8.8) plus the HFS and build-essential tools. I get this far:

I'm glad i'm not the only one! Sam, i'm going to run it one more time, but this time I'm going to try to capture all the results and i'll post it for you to look through. Something's bound to come to light then!


- generikb - 2010-11-23

Ok so here it is...this is me following the steps all the way up to "sudo ./install_parted.sh"

http://pastebin.com/NBDvEJdh

and then I run sudo ./install_parted.sh and it runs forever so unfortunately I can't capture all of it, but here's the remainder of the stuff that I did manage to capture:

http://pastebin.com/q70LDR7w

hopefully there's something in there that would help! Again, VERY appreciative of all your help!


- anton_kg - 2010-11-23

Dharma Release Candidate 1, crystalhd-r156

I'm getting a huge junk "Invalid Line" in the /var/log/messages:

Code:
Nov 23 13:33:41 AppleTV kernel: [152481.100192] crystalhd 0000:02:00.0: Opening new user[0] handle
Nov 23 13:33:43 AppleTV kernel: [152483.167898] crystalhd 0000:02:00.0: Firmware Downloaded Successfully
Nov 23 13:33:44 AppleTV kernel: [254288.186004] start_capture: pause_th:12, resume_th:5
Nov 23 13:33:44 AppleTV kernel: [254288.388044] crystalhd 0000:02:00.0: [FMT CH] PIB:0 1 420 2 500 1e0 3c0 0 0 0
Nov 23 13:33:44 AppleTV kernel: [254288.469854] Invalid Line Number[80808080]
Nov 23 13:33:44 AppleTV kernel: [254288.493080] Invalid Line Number[80808080]
Nov 23 13:33:44 AppleTV kernel: [254288.508923] crystalhd 0000:02:00.0: MISSING 3 PICTURES
Nov 23 13:33:45 AppleTV kernel: [254290.345627] crystalhd 0000:02:00.0: list_index:0 rx[1] rxtot[59] Y:2 UV:2 Int:28 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254290.609590] crystalhd 0000:02:00.0: list_index:0 rx[2] rxtot[67] Y:2 UV:2 Int:28 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254290.928660] crystalhd 0000:02:00.0: list_index:1 rx[3] rxtot[76] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254290.929523] crystalhd 0000:02:00.0: MISSING 6 PICTURES
Nov 23 13:33:46 AppleTV kernel: [254290.943712] crystalhd 0000:02:00.0: MISSING 8 PICTURES
Nov 23 13:33:46 AppleTV kernel: [254291.289323] crystalhd 0000:02:00.0: list_index:1 rx[4] rxtot[86] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254291.301723] crystalhd 0000:02:00.0: MISSING 9 PICTURES
Nov 23 13:33:47 AppleTV kernel: [254291.942058] crystalhd 0000:02:00.0: list_index:0 rx[5] rxtot[97] Y:2 UV:2 Int:28 YDnSz:0 UVDnSz:0
Nov 23 13:33:47 AppleTV kernel: [254291.952607] crystalhd 0000:02:00.0: MISSING 6 PICTURES
Nov 23 13:33:48 AppleTV kernel: [254293.160931] Invalid Line Number[10101010]
Nov 23 13:33:48 AppleTV kernel: [254293.200122] Invalid Line Number[10101010]
Nov 23 13:33:48 AppleTV kernel: [254293.239111] Invalid Line Number[10101010]

Am I alone with this?


- davilla - 2010-11-23

anton_kg Wrote:Dharma Release Candidate 1, crystalhd-r156

I'm getting a huge junk "Invalid Line" in the /var/log/messages:

Code:
Nov 23 13:33:41 AppleTV kernel: [152481.100192] crystalhd 0000:02:00.0: Opening new user[0] handle
Nov 23 13:33:43 AppleTV kernel: [152483.167898] crystalhd 0000:02:00.0: Firmware Downloaded Successfully
Nov 23 13:33:44 AppleTV kernel: [254288.186004] start_capture: pause_th:12, resume_th:5
Nov 23 13:33:44 AppleTV kernel: [254288.388044] crystalhd 0000:02:00.0: [FMT CH] PIB:0 1 420 2 500 1e0 3c0 0 0 0
Nov 23 13:33:44 AppleTV kernel: [254288.469854] Invalid Line Number[80808080]
Nov 23 13:33:44 AppleTV kernel: [254288.493080] Invalid Line Number[80808080]
Nov 23 13:33:44 AppleTV kernel: [254288.508923] crystalhd 0000:02:00.0: MISSING 3 PICTURES
Nov 23 13:33:45 AppleTV kernel: [254290.345627] crystalhd 0000:02:00.0: list_index:0 rx[1] rxtot[59] Y:2 UV:2 Int:28 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254290.609590] crystalhd 0000:02:00.0: list_index:0 rx[2] rxtot[67] Y:2 UV:2 Int:28 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254290.928660] crystalhd 0000:02:00.0: list_index:1 rx[3] rxtot[76] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254290.929523] crystalhd 0000:02:00.0: MISSING 6 PICTURES
Nov 23 13:33:46 AppleTV kernel: [254290.943712] crystalhd 0000:02:00.0: MISSING 8 PICTURES
Nov 23 13:33:46 AppleTV kernel: [254291.289323] crystalhd 0000:02:00.0: list_index:1 rx[4] rxtot[86] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
Nov 23 13:33:46 AppleTV kernel: [254291.301723] crystalhd 0000:02:00.0: MISSING 9 PICTURES
Nov 23 13:33:47 AppleTV kernel: [254291.942058] crystalhd 0000:02:00.0: list_index:0 rx[5] rxtot[97] Y:2 UV:2 Int:28 YDnSz:0 UVDnSz:0
Nov 23 13:33:47 AppleTV kernel: [254291.952607] crystalhd 0000:02:00.0: MISSING 6 PICTURES
Nov 23 13:33:48 AppleTV kernel: [254293.160931] Invalid Line Number[10101010]
Nov 23 13:33:48 AppleTV kernel: [254293.200122] Invalid Line Number[10101010]
Nov 23 13:33:48 AppleTV kernel: [254293.239111] Invalid Line Number[10101010]

Am I alone with this?

ignore it, subsequent versions have that debug line commented out.


- anton_kg - 2010-11-23

Thanks, davilla.

I have one question. Is it possible to powerdown appletv properly?
Currently, the led on the atv is still 'on' if it is switched off from menu.

I would like to actually shut it down on idle (let's say after 2 hours). What is the best solution?


- Philmatic - 2010-11-23

There is none, the Apple TV doesn't support ACPI and cannot be shut down, put to sleep, hibernate or anything in between.


- haifischjunge - 2010-11-23

At least it seems to have some impact on power consumption. Ive found this:

Quote:Power consumption

With the lowest possible C-state locked to 2, my Cresta RCE-1106, a dirt cheap and yet quite accurate energy meter for being a consumer model, measured 12-14 kWh idle. When that limit was lifted, power consumption stayed (surprisingly) the same. Notice that these results were obtained with a lower GPU clock and the CPU running with the 'ondemand' governor, which clocks it back to 600 MHz whenever possible and also should lower the CPU voltage. XBMC's screensaver function kicks in after 3 minutes, and later on the screen goes completely blank. The values were recorded were done well after that. Under full load the device consumes less than 25W, which is not bad at all, especially for an x86 setup.
from http://nauseamedialis.org/arch_xbmc_crystalhd_appletv

which would already halve the cost if running all year (from about 50 to 25)

another question: how does the linux install react if I just cut off power (e.g. with a remote controlled power plug)? or does this destroy the fs every time?

about samba: what speed can be expected for transfering files from/to appletv with linux (to an attached usb2 drive)?

thanks and cheers


- maartenst - 2010-11-23

I have problems running some movies after installing and updating pin's image on an external usb harddisk.
I updated the chd drivers to r174 (autoconf, configure, make, make install), and updated the xbmc debs by downloading them from a site and installing the following packages:

xbmc_10.00~svn35326-hardy1_all.deb
xbmc-bin_10.00~svn35326-hardy1_i386.deb
xbmc-data_10.00~svn35326-hardy1_all.deb
xbmc-skin-confluence_10.00~svn35326-hardy1_all.deb

I also ran apt-get update ; apt-get upgrade;

The output from xbmc.log is here:

http://pastebin.com/vXekE1Bd


- compcentral - 2010-11-24

This thread is so long and unorganized that it's almost impossible to find any answers.

I had my aTV working nicely booting off a USB flash drive, but the wife shut it down one too many times and now the file system is corrupt (apparently beyond repair) and it no longer boots. I was going to just re-image the flash drive, but wanted to see if any new .img files had been released since "atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3.img" which is what I started out with last time.

I also now have a 2nd aTV that I'm going to attempt to setup for a friend and would like to install to the hard drive on it. Once I get a flash drive working nicely, can this be transfered to the internal hard drive?


- anton_kg - 2010-11-24

haifischjunge Wrote:At least it seems to have some impact on power consumption. Ive found this:

from http://nauseamedialis.org/arch_xbmc_crystalhd_appletv

Thanks for the link.


- defiler - 2010-11-24

haifischjunge Wrote:another question: how does the linux install react if I just cut off power (e.g. with a remote controlled power plug)? or does this destroy the fs every time?

about samba: what speed can be expected for transfering files from/to appletv with linux (to an attached usb2 drive)?


1) Eventually, badly. It *should* be able to pick itself up (I've certainly cut the power on mine a few times), but at some point it'll likely foo the FS in some ugly way. If you're switching it off, you're best to shut it down from the power icon on the left of the main menu. When it says "System Halted" you're good for powerdown.

2) Generally that'll come down to the speed of the USB drive. It's been a while, but I'm sure I can get above 4MB/sec on SFTP. That's ~40Mb/sec on a 100Mb connection. If it's a USB2 HDD, it'll be waiting for the network. If it's a thumb drive, the network will be waiting for the drive. Generally.


- /.ryd - 2010-11-24

compcentral Wrote:This thread is so long and unorganized that it's almost impossible to find any answers.

This is what I've been saying for some time!

This thread is filled with gold, really useful information.
But it is so long it has become an extended exercise in frustration trying to find any specific answers.

If there are any Admin about, I beg of you: it is time this thread were shut down and a section opened in it's place, with each question and how-to being given it's own thread.

Please, people, can I get an amen on this?


- teresa - 2010-11-24

/.ryd Wrote:This is what I've been saying for some time!

This thread is filled with gold, really useful information.
But it is so long it has become an extended exercise in frustration trying to find any specific answers.

If there are any Admin about, I beg of you: it is time this thread were shut down and a section opened in it's place, with each question and how-to being given it's own thread.

Please, people, can I get an amen on this?

I definitely second that motion!


- illiac4 - 2010-11-24

Hi!

I gave download the small image and made the usb drive but when i try to boot from usb it says ''Waiting for root file system....'' and after a while

-------------------------
Check root= bootary cat /proc/cmdline
or missing module.........
/dev/sdb3 does not exist. Dropping to shell.
--------------------------

I have no disk inside because my ide cable went dead so i'd like to use only usb without hard drive.

TNX


- Jimmer - 2010-11-24

You will find a plist file on your USB stick. Edit this to change sdb to sda, as per this post:

http://forum.xbmc.org/showpost.php?p=554556&postcount=431

The reason is that with no internal disk to call sda, then the system assigns the USB as sda. In the plist file the USB is assumed to be sdb (which is normal if you have an internal drive).

Just edit the file and then on boot it will then find the / partition on the USB stick and it should boot no problems....

Jim