ATV SSHC builds and script error 126

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
KevinSartori Offline
Donor
Posts: 306
Joined: Dec 2003
Reputation: 1
Location: Connecticut, USA
Post: #61
I see the path, it's just that there's never a console.log file there. I didn't know if one was generated by default or if you had to "turn it on" somehow...
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #62
KevinSartori Wrote:I see the path, it's just that there's never a console.log file there. I didn't know if one was generated by default or if you had to "turn it on" somehow...

/Library/Logs/Console/501/console.log ?


Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,390
Joined: Feb 2008
Reputation: 64
Post: #63
sudo dmesg can also show some logging.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
KevinSartori Offline
Donor
Posts: 306
Joined: Dec 2003
Reputation: 1
Location: Connecticut, USA
Post: #64
Okay. I'm not really sure how to proceed from here, but I'll try running everything manually again, but I'll add sudo dmesg at the beginning to see if that helps. I'll reboot the AppleTV, delete the existing logs and then try:

Code:
sudo dmesg
wget "http://www.sshcs.com/xbmc/xbmc-9.04_update_sshcs.sh"
wget "http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30307"
chmod +x xbmc-9.04_update_sshcs.sh
./xbmc-9.04_update_sshcs.sh XBMC_OSX_30307.tgz

Here goes:

Code:
login as: frontrow
frontrow@192.168.1.107's password:
Last login: Wed May 19 08:19:32 2010
-bash-2.05b$ sudo dmesg
Password:
hi mem tramps at 0xffe00000
PAE enabled
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 59162 free pages
mig_table_max_displ = 71
Enabling XMM register save/restore and SSE/SSE2 opcodes
61 prelinked modules
ACPI CA 20060421
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=0 Disabled
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.

using 1310 buffer headers and 1310 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S4] (S0)
NVDANV40HAL loaded and registered.
display: family specific matching fails
EHCI Root Hub Simulation: family specific matching fails
USB caused wake event (EHCI)
Security auditing service present
BSM auditing present
disabled
rooting via boot-uuid from /chosen: 000018B7-6D00-0000-3339-000059160000
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
UHCI Root Hub Simulation: family specific matching fails
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PATA@1F,1/AppleIntelPIIXATARoot/PRID@0/AppleIntelPIIXPATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHW2040AT Media/IOGUIDPartitionScheme/OSBoot@3
BSD root: disk0s3, major 14, minor 3
com_apple_IRRecovery::probe(IR Receiver)
com_apple_IRRecovery::start(IR Receiver) <1>
com_apple_IRRecovery(0x1bacc00)::start
com_apple_IRRecovery(0x1bacc00)::start - This is the HID Receiver device, disable recovery
com_apple_IRRecovery(0x1bacc00)::start Exiting
com_apple_IRRecovery(0x1bacc00)::start - defining AppleIRRecoveryDisabled to disable IR Recovery from occurring (again)
com_apple_IRRecovery(0x1bacc00)::start - Intentionally fails, because work is done in start. This frees up resources.
com_apple_IRRecovery::start(IR Receiver) <1> failed
IOGMD(0x1ca2000): wB = o0, l1
IOGMD(0x1ca2000): wB = o0, l3
jnl: close: flushing the buffer cache (start 0x4ba000 end 0x4bc200)
RTL8139::registerEEPROM: 8129 10ec 8139 10ec   8139 4020 e510 1700
RTL8139::registerEEPROM: fbf2 ef2c 8d10 f7c2   8801 03b9 60f4 071a
RTL8139::registerEEPROM: dfa3 9836 dfa3 9836   03b9 60f4 1a1a 1a1a
RTL8139::registerEEPROM: 0000 1212 0000 0000   0000 0000 0000 2000
RTL8139::registerEEPROM: 0000 0000 0000 0000   0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000   0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000   0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000   0000 0000 0000 0000
Jettisoning kernel linker.
Resetting IOCatalogue.
com_apple_driver_RTL8139: Ethernet address 00:17:f2:fb:2c:ef
BroadcomCrystalHD::start
allocated 18 elem
Starting BCM70012 Device
clock is moving to 175 with n 35 with vco_mg 2
CStopping BCM70012 Device
BroadcomCrystalHD: Found HW and started driver SW.
-bash-2.05b$ wget "http://www.sshcs.com/xbmc/xbmc-9.04_update_sshcs.sh"
--08:23:27--  http://www.sshcs.com/xbmc/xbmc-9.04_update_sshcs.sh
           => `xbmc-9.04_update_sshcs.sh'
Resolving www.sshcs.com... 72.167.131.44
Connecting to www.sshcs.com|72.167.131.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,838 (4.7K) [application/x-sh]

100%[====================================>] 4,838         --.--K/s

08:23:27 (36.40 KB/s) - `xbmc-9.04_update_sshcs.sh' saved [4838/4838]

-bash-2.05b$ wget "http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30307"
--08:23:37--  http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30307
           => `index.html?mode=CW&P=OSX&R=30307'
Resolving www.sshcs.com... 72.167.131.44
Connecting to www.sshcs.com|72.167.131.44|:80... connected.
HTTP request sent, awaiting response... 302 Object moved
Location: /xbmc/binaries/builds/XBMC_OSX_30307.tgz [following]
--08:23:37--  http://www.sshcs.com/xbmc/binaries/builds/XBMC_OSX_30307.tgz
           => `XBMC_OSX_30307.tgz'
Reusing existing connection to www.sshcs.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 59,129,157 (56M) [application/x-compressed]

100%[====================================>] 59,129,157   469.77K/s    ETA 00:00

08:25:45 (451.63 KB/s) - `XBMC_OSX_30307.tgz' saved [59129157/59129157]

-bash-2.05b$ chmod +x xbmc-9.04_update_sshcs.sh
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30307.tgz
mkdir: /Users/frontrow/: File exists
mkdir: /Users/frontrow/Library/: File exists
mkdir: /Users/frontrow/Library/Caches/: File exists
Extracting download XBMC_OSX_30307.tgz
Installing from diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
Checksumming Driver Descriptor Map (DDM : 0)...
     Driver Descriptor Map (DDM : 0): verified   CRC32 $DB70D8B9
Checksumming Apple (Apple_partition_map : 1)...
     Apple (Apple_partition_map : 1): verified   CRC32 $DE1BC0FD
Checksumming disk image (Apple_HFS : 2)...
..............................................................................
          disk image (Apple_HFS : 2): verified   CRC32 $1F133177
Checksumming  (Apple_Free : 3)...
                    (Apple_Free : 3): verified   CRC32 $00000000
verified   CRC32 $C31AA55F
/dev/disk1              Apple_partition_scheme
/dev/disk1s1            Apple_partition_map
/dev/disk1s2            Apple_HFS                       /Volumes/XBMC
"disk1" unmounted.
"disk1" ejected.
osx_gl_fullscreen present in advancedsettings.xml
-bash-2.05b$

Well, as you can see, the update completes successfully when it's done manually. Unfortunately, trying to update from Launcher still returns Error 126 after download. The only clue I have as to what is different when I try to update via Launcher is that the temp download file is being written as XBMCLauncherDownloads (with no file extension) in the /Users/frontrow/Library/Caches directory, instead of being written as XBMC_OSX_30307.tgz in the /Users/frontrow/ directory. I can see this temp file being written if I open WinSCP while the download is in process from Launcher.

I want to help, but I'm not sure what to try next. Is there a command that I could type into PuTTY that would show me what's happening when I try to update via Launcher?
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,390
Joined: Feb 2008
Reputation: 64
Post: #65
toss a -p on those mkdir command and mkdir will not complain about pre-existing dirs. and wtf in the 1st place ?

Quote:mkdir /Users/frontrow/
mkdir /Users/frontrow/Library/
mkdir /Users/frontrow/Library/Caches/
mkdir /Users/frontrow/Library/Caches/XBMCLauncherDownloads

if "/Users/frontrow/" or "/Users/frontrow/Library" does not exist, you are screwed in the first place. Get rid of those.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Airey001 Offline
Junior Member
Posts: 1
Joined: May 2010
Reputation: 0
Location: Pittsburgh, PA
Post: #66
Hey i just attempted to do some research into this and i noticed that when launcher is downloading the tar file it is saving the tar file to the location that should be a folder:

I make the folder and you can see it below:

-bash-2.05b$ pwd
/Users/frontrow/Library/Caches
drwx------ 8 frontrow frontrow 272 May 18 06:12 ..
drwx------ 11 frontrow frontrow 374 May 20 00:01 Finder
drwxr-xr-x 2 frontrow frontrow 68 May 20 00:11 XBMCLauncherDownloads
drwx------ 4 frontrow frontrow 136 May 20 00:11 .

In Launcher i start the download and while its actively downloading you can see it replaced the directory with the actual file:


-bash-2.05b$ ls -ltra
total 115488
-rwxrwxrwx 1 frontrow frontrow 59129157 May 19 02:53 XBMCLauncherDownloads
drwx------ 8 frontrow frontrow 272 May 20 00:12 ..
drwx------ 6 frontrow frontrow 204 May 20 00:12 Finder
drwxr-xr-x 4 frontrow frontrow 136 May 20 00:12 .



Notice XBMCLauncherDownloads is no longer a directory but a file. So the script would error out because of this.


After the error 126 error the Caches directory and everything under it are removed.


Testing with the Official XBMC Nightly Repos it does download the file into the DIR? Are we sure the ASP page used by sshcs is correctly formatted for the launcher? The Official one appears to by xml based and this one just text?
(This post was last modified: 2010-05-20 03:00 by Airey001.)
find quote
KevinSartori Offline
Donor
Posts: 306
Joined: Dec 2003
Reputation: 1
Location: Connecticut, USA
Post: #67
Airey001, thanks for taking the time to explain (and show evidence!) of the problem, in a much better manner than I did!
find quote
KevinSartori Offline
Donor
Posts: 306
Joined: Dec 2003
Reputation: 1
Location: Connecticut, USA
Post: #68
I thought I'd try updating through Launcher again today, but it's still not working. Is there any progress being made on this front? I feel like we're so close!
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #69
KevinSartori Wrote:I thought I'd try updating through Launcher again today, but it's still not working.

try again, Launcher 3.2.5 seems to be available now...

KevinSartori Wrote:Is there any progress being made on this front? I feel like we're so close!
I'm not sure I felt the same. There was still no log, even though this thread has 4 pages now...


Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
KevinSartori Offline
Donor
Posts: 306
Joined: Dec 2003
Reputation: 1
Location: Connecticut, USA
Post: #70
Good news! The final obstacle turned out to be Launcher itself! With Launcher 3.2.5, the SSHC nightlies now download and install fine!

@MaestroDD, I hadn't supplied logs because, as I had mentioned earlier, none were being generated, which I think was part of the problem of figuring out what was going wrong. Anyway, I didn't want you to think I didn't know how to follow directions...

Smile

Great work everybody! Thanks for the extra effort to get this working again!
find quote
eldoctormail Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Photo  RE: ATV SSHC builds and script error 126
Post: #71
Hello, I have the same problem with Launcher of XBMC (version 3.2.5), when the download is complete appear the error:

"Error: Update script exited with status: 126"

[Image: 5b57f17d448fb9d46cc8b056e49343e1.jpg]

How canI fix it? Thanks
find quote
Post Reply