Kodi Community Forum
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Matt Devo - 2015-02-04

(2015-02-04, 04:14)BBock727 Wrote: I'm Getting it much more frequently than you. I'll have to test a few files but with one one file I tried to play, it happened 4 times after reboot. I kept trying in the same location of the video

send me a PM with more info on the file if you have something that's reproduceable


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - kupochu - 2015-02-04

(2015-02-04, 03:38)Matt Devo Wrote:
(2015-02-04, 02:44)kupochu Wrote: Hi, this script is amazing, I've been using XBMCBuntu for the past few months with 0 problems. However, when trying to update it today, it seems to have picked up the version from 2015-01-29, not the most recent one.

The script has nothing to do with updating XBMCbuntu/Kodibuntu. If you're referring to the standalone coreboot firmware, the change log in the first post tells you it was last updated on 2015-01-29, so there's no issue. The only change for today was the version of OpenELEC used for dual booting or standalone install media creation.

Wait, so if I installed OpenElec over Kodibuntu, I wouldn't have to update the firmware to support OE 5.0.1? This is why I asked, in the first place, on why the coreboot firmware wasn't getting that update from earlier.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - carlson.v - 2015-02-04

Hi I am wanting to know how to install standalone ubuntu on my chrome box? I apologize if this is the incorrect place to bring it up but I thought I may get pointed I'm the right direction. I have the device in developer mode and the write protect screw removed. I have been unable to find guidance on Ubuntu standalone all that I have found is references to install whatever Linux distro you want but no clear instruction on how it's done. I know that I need to put the OS on a usb stick and then hit the esc key when the device boots up and then install from the stick but there is so many files for Ubuntu I don't know which one to choose for this particular purpose. Thanks in advance to whoever can help me


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - nickr - 2015-02-04

Same as installing any other OS. When you choose to install from a ubuntu boot medium, it actually doesn't give much option. Just go through the install gui, and it will be there.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Manic D - 2015-02-04

OpenELEC updated to the latest, and on boot I get:

Quote:Error in check_disks: could not repair filesystem, dropping to debug she'll, try to run 'fsck' manually: ***
### Starting debugging she'll... Type exit to quit ###
sh: can't access tty; job control turned off

Saw a few posts at the OE forums about it :
Quote:The boot process checks the disk for errors and if detected boot stops so you can fix them, e.g. "fsck /dev/sda" ..runs a filesystem check on /dev/sda. You will need to figure out the /dev/device for the partitions on your boot disk (ls /dev/sd*, and ls /dev/mmc*). Once fixed "reboot" should get things working again. This will probably be seen most on systems with no power management which are inherently more prone to filesystem issues.

I need to know what the partition names on the Chromebox might be so I can fix this.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - nickr - 2015-02-04

/dev/sda*


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Manic D - 2015-02-04

(2015-02-04, 08:58)nickr Wrote: /dev/sda*
D'oh! I thought the asterisk was where I needed to enter something specific.

Now it says need terminal for interactive repairs.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - nickr - 2015-02-04

You do really need to enter something specific. But tab completion will show you all the options. ie type

fdisk /dev/sda<tab><tab>

you should be able to see all the options. I don't think you'll be able to do any harm trying to repair a partition that is not damaged, so do them all.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Manic D - 2015-02-04

I get invalid syntax with that.

I give up for tonight. I will check back tomorrow and see if I can figure it out.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Matt Devo - 2015-02-04

(2015-02-04, 06:23)kupochu Wrote: Wait, so if I installed OpenElec over Kodibuntu, I wouldn't have to update the firmware to support OE 5.0.1? This is why I asked, in the first place, on why the coreboot firmware wasn't getting that update from earlier.

you're confusing two unrelated things. If you have the standalone firmware flashed, you can install any OS you want (other than ChromeOS and Windows prior to 8.1). The firmware and OS are not coupled in any way.

(2015-02-04, 07:08)carlson.v Wrote: Hi I am wanting to know how to install standalone ubuntu on my chrome box? I apologize if this is the incorrect place to bring it up but I thought I may get pointed I'm the right direction. I have the device in developer mode and the write protect screw removed. I have been unable to find guidance on Ubuntu standalone all that I have found is references to install whatever Linux distro you want but no clear instruction on how it's done. I know that I need to put the OS on a usb stick and then hit the esc key when the device boots up and then install from the stick but there is so many files for Ubuntu I don't know which one to choose for this particular purpose. Thanks in advance to whoever can help me

1) follow steps for standalone setup
2) install Ubuntu instead of OpenELEC

Info on creating the Ubuntu USB installer is on Ubuntu's site, and is no different than on any other 64-bit x86 PC.

(2015-02-04, 08:13)Manic D Wrote: I need to know what the partition names on the Chromebox might be so I can fix this.

RTFW. This exact issue and the resolution are listed in the troubleshooting section.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Manic D - 2015-02-04

(2015-02-04, 08:13)Manic D Wrote: I need to know what the partition names on the Chromebox might be so I can fix this.

Quote:RTFW. This exact issue and the resolution are listed in the troubleshooting section.
Thanks. Sorry I forgot to check the wiki.

I get this result after running fsck on sda2:

Bad magic number in super-block
superblock invalid, trying backup blocks
bad magic number in super-block while trying to open /dev/sda2

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. etc...
...you might trying running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Matt Devo - 2015-02-04

not sure, I'd try the suggestions it listed (ie, run e2fsck -b 8193 /dev/sda2), but sounds like the filesystem might be hosed, and a fresh install might be the path of least resistance.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - Manic D - 2015-02-04

(2015-02-04, 10:20)Matt Devo Wrote: not sure, I'd try the suggestions it listed (ie, run e2fsck -b 8193 /dev/sda2), but sounds like the filesystem might be hosed, and a fresh install might be the path of least resistance.
I'm gonna do a fresh install. Thanks again.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - naloj - 2015-02-04

(2015-02-04, 04:14)BBock727 Wrote:
(2015-02-03, 23:59)naloj Wrote:
(2015-02-03, 23:32)crimper Wrote: Same problem. Nothing interesting in kodi logs when this happens. Hoping Openelec 5.0.1 brings more stability.

I had a total freeze w/Asus Chromebox + OpenELEC 5.0.1 about 2.5 minutes into playing a 720p mp4 video. Totally frozen; wouldn't respond to pings (ethernet).
Rebooted to see if I could reproduce and video playback was fine for 30 minutes straight.

Not sure how to debug such a thing, maybe connect a second display and direct kernel messages to it?
I'm Getting it much more frequently than you. I'll have to test a few files but with one one file I tried to play, it happened 4 times after reboot. I kept trying in the same location of the video

I just got my Chromebox on Saturday and setup on Sunday so I haven't had much time to mess with it.

Last night:

720p h264 mkv via smb played ok for 42 mins.
720p h264 mkv via smb had to buffer twice and was a tad slow about it but was otherwise ok for 42 mins.
Tried to play something via ServerWMC and connection failed. Pretty sure ethernet dropped again. GF played back show via xbox 360 fine.

This morning:

Tried to play a show for my daughter; network down. Verified network was up according to the openelec interface but couldn't ping.
Rebooted, played 480p h264 mp4 ok for 7 mins.
Played second 480p h264 mp4 show; froze after 2 mins.

UI was unresponsive to mouse/kbd input for a few minutes. Was about to reboot it when I saw that the default 3 min screensaver dim kicked in. UI was responsive again. Network came back on it's own.

I did ssh in after the network came back on it's own and no errors or messages of any kind in the dmesg buffer. So it's not the link going up/down I don't think (still need to verify link lights on switch/NIC).

I had an i5 NUC (D54250WYKH1) connected to the same switch with the same cable and it never had any network playback issues. (ServerWMC, Netflix, Amazon Prime Video). Decided to downgrade since it was so overpowered for what I was doing.

I'm at work now and couldn't ssh or ping it. Then tried again a few minutes later and it's up. Really weird.

I saw there's a fix for Atheros 93xx cards freezing the whole system in the kernel changelog for 3.8.15.

Quote:commit 587a7ba37c5c1e53731b6b48dcde7b17a682b5ac
Author: Alex Williamson <[email protected]>
Date: Thu Jan 15 18:17:12 2015 -0600

PCI: Mark Atheros AR93xx to avoid bus reset

commit c3e59ee4e76686b0c84ca8faa1011d10cd4ca1b8 upstream.

Reports against the TL-WDN4800 card indicate that PCI bus reset of this
Atheros device cause system lock-ups and resets. I've also been able to
confirm this behavior on multiple systems. The device never returns from
reset and attempts to access config space of the device after reset result
in hangs. Blacklist bus reset for the device to avoid this issue.

[bhelgaas: This regression appeared in v3.14. Andreas bisected it to
425c1b223dac ("PCI: Add Virtual Channel to save/restore support"), but we
don't understand the mechanism by which that commit affects the reset
path.]

[bhelgaas: changelog, references]
Link: http://lkml.kernel.org/r/[email protected]
Reported-by: Andreas Hartmann <[email protected]>
Tested-by: Andreas Hartmann <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Bjorn Helgaas <bhelgaas@Google.com>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

commit b01f14468da12c2e548dc965d522b12d51d4be9b
Author: Alex Williamson <[email protected]>
Date: Thu Jan 15 18:16:04 2015 -0600

PCI: Add flag for devices where we can't use bus reset

commit f331a859e0ee5a898c1f47596eddad4c4f02d657 upstream.

Enable a mechanism for devices to quirk that they do not behave when
doing a PCI bus reset. We require a modest level of spec compliant
behavior in order to do a reset, for instance the device should come
out of reset without throwing errors and PCI config space should be
accessible after reset. This is too much to ask for some devices.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Bjorn Helgaas <bhelgaas@Google.com>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

Card in my Asus Chromebox is a 9462 though but I still find it very suspicious.

Going to pull the card and see if that helps any. If not will try to load Arch on there so I can mess around a bit when it happens again.

EDIT: Forgot to mention the USB devices I have attached which may be relevant in finding some sort of commonality:

- Logitech unifying receiver (via usb extension cable for K400)
- FLIRC (not setup/used yet)
- Turtle Beach soundcard (not setup/used yet)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.11 - 2015/02/03] - bhampton - 2015-02-04

(2015-02-03, 15:00)fritsch Wrote: Concerning VC-1: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-5.0.1-vc1.tar

Does that make the VC-1 issues better, worse or no difference. Please pastebin a complete log with component logging audio and video enabled.

Hi,... I loaded up this version on my chrome box and tested.

With Vaapi acceleration on I got blocky artifacts in at least 2 of my VC1 movies. Deep Blue Sea starting at 6:11 and Jurassic Park starting at 3:11. Both of these scenes can be difficult to process as in the Deep Blue Sea scene people are speaking behind a spinning plane prop and in the Jurassic Park scene lights are flashing like strobes everywhere.

When I turn Vaapi acceleration for VC1 off - Both these scenes play back without the artifacts.

This is no different ... no better or worse than it has always been. I would leave Vaapi for VC1 off at all times but other VC1 encodes seem to need it. The Dark Knight is an example and Fast Times at Ridgemont High.... Both of those are choppy without Vaapi for VC1.

If you still would like a log posted, then I will go read how to do it and do it because I want to do my part... however, would you want that with the Vaapi for VC1 on or off at the time and with the blocky movie or the choppy movie?

Unless I find other movies with trouble I think my plan would be to just leave Vaapi for VC1 on most of the time and try to remember to turn it off for those 2 movies. Smile


Again.... thank you for all help....


-Brian