Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lworthington

Pages: [1]
1
Installation issues / Re: Powerfile C200-RAM Won't Load Disk into Drive
« on: October 08, 2008, 08:41:41 pm »
OK - got it compiled and working with the LinuxMCE_0710 branch.  It recognizes the drives and I can load and ID them now.  Tried to watch one and rip one but both failed - will have to look into that. 

Couple other bugs I need to look more into:

1) My device reports that it has 2 drives, but it really only has one.  This may be because mine is messed up, but I see that LMCE is trying to load disks into it so regardless I have to hack it to think there is only one for my model.
2) 'ID All' is broken - it constantly tries to load the next disk into the drive while the previous one is still in there being identified.  It eventually times out and tries the next.  I loaded 22 disks and directed LMCE to ID All and when I came back 1, 4, 7, 10, 13, 16, 19, 22 were found, the rest not.
3) If there are any problems while a disk is in a drive then that drive goes away in the UI and I have to use mtx manually to unload the drive before I can continue.  Clearly the correct solution to this is fix the problem that makes the drive go away, but I'd like to add the ability to run a generic unload.
4) For some reason my device is getting offlined.  This shows up in dmesg:
Oct  8 11:57:34 dcerouter kernel: [  194.264867] ch 8:0:3:0: CDB: Test Unit Ready: 00 00 00 00 00 00
Oct  8 11:57:34 dcerouter kernel: [  194.265037] ch 8:0:3:0: scsi: Device offlined - not ready after error recovery
I don't think it is the Powerfile because I don't any problems in XP.   Powercycling the device doesn't fix it, rebooting my server doesn't fix it.  I can unplug it from my server and plug it straight into my laptop and it works instantly.  Anyways - something else to look in to.

I am curious if anyone else is interested in this...  The reason I got the Powerfile R200 in the first place was because the video wiki says it is supported, so if other people are having problems please let me know.

2
Installation issues / Re: Powerfile C200-RAM Won't Load Disk into Drive
« on: October 07, 2008, 07:02:07 am »
Thom,

Thanks for your help so far.  I'll check this out tonight and give it another shot tomorrow...

3
Installation issues / Re: Powerfile C200-RAM Won't Load Disk into Drive
« on: October 07, 2008, 05:23:43 am »
 Back to the drawing board...  I got it to compile, and when I put the binary in place it detected the two drives and created them as child devices under the Powerfile_C200, but thats as far as it got.  I get this error over and over now in the logs:

1       10/06/08 22:18:59       118 (spawning-device)   ^[[1;00mStarting... 1^[[1;00m
1       10/06/08 22:18:59       118 (spawning-device)   ^[[1;00mFound /usr/pluto/bin/Powerfile_C200^[[1;00m
10      10/06/08 22:18:59.959           Device: 118 starting.  Connecting to: localhost <0xb6a6b6c0>
10      10/06/08 22:18:59.962           Setting timeout for socket 4 to 20 <0xb6a6b6c0>
Return code: 139
3       10/06/08 22:19:01       118 (spawning-device)   ^[[1;31mDevice died... count=1/50 dev=118^[[1;00m
Mon Oct  6 22:19:01 CDT 2008 died

When I put the old binary back and reload its back to normal and the child devices are removed.

4
Installation issues / Re: Powerfile C200-RAM Won't Load Disk into Drive
« on: October 06, 2008, 05:56:16 am »
make bin from that directory and the src directory didn't work...

root@dcerouter:/root/lmce/charon-merge/src/Powerfile_C200# make
make: *** No targets specified and no makefile found.  Stop.
root@dcerouter:/root/lmce/charon-merge/src/Powerfile_C200# make bin
make: *** No rule to make target `bin'.  Stop.

root@dcerouter:/root/lmce/charon-merge/src# make -C Powerfile_C200 bin
make: Entering directory `/root/lmce/charon-merge/src/Powerfile_C200'
make: *** No rule to make target `bin'.  Stop.
make: Leaving directory `/root/lmce/charon-merge/src/Powerfile_C200'

I RTFM here http://wiki.linuxmce.org/index.php/Building_From_Source  - do I need to build everything or is there an easier way?



5
Installation issues / Re: Powerfile C200-RAM Won't Load Disk into Drive
« on: October 06, 2008, 04:07:27 am »
OK - This is my first time to look at the LMCE code so I may be way off...  One thing I see missing is in this section of PowerfileJukebox.cpp:

if (vsFF[1] == "cd/dvd" &&
                        (
                        0 == 1
                        || /* Powerfile C200 */      (vsFF[2] == "TOSHIBA" /* && vsFF[3] == "DVD-ROM" */ && vsFF[4] == "SD-M1212")
                        || /* Powerfile R200 DLC */  (vsFF[2] == "MATSHITA" /* && vsFF[3] == "DVD-RAM" */ && vsFF[4] == "SW-9585S")
                        || /* Sony VAIO XL1B2 */     (vsFF[2] == "MATSHITA" /* && vsFF[3] == "DVD-RAM" */ && vsFF[4] == "SW-9584" )
                        )
                        )

looking at the output of lsscsi my drive is a MATSHITA DVD-RAM SW-9572.  Could this really be as easy as adding in

|| /* Powerfile C200-RAM (R200) */    (vsFF[2] == "MATSHITA" && vsFF[4] == "SW-9572")

and if so do I make the package with
./make_package.sh Powerfile_C200 <version(how do I find this)> 1737 (that is the ID that shows up when I select the Powerfile_C200 Device Template)

6
Installation issues / Re: Powerfile C200-RAM Won't Load Disk into Drive
« on: October 05, 2008, 06:14:28 am »
Any help is appreciated - including how to get more detailed logging information, where to look, where to start...  I've checked out the code and am looking through the Powerfile directory now but would appreciate any hints or tips.

I've also deleted the device and had LMCE redetect it and I'm still having the same problem...

7
Installation issues / Re: Up and running now i have a few questions.
« on: October 04, 2008, 08:57:35 pm »
Check out the wiki for your last set of questions...

Hardware:  http://wiki.linuxmce.org/index.php/Category:Hardware
Tutorials:  http://wiki.linuxmce.org/index.php/Category:Tutorials

Hope that helps a little.

8
Installation issues / Powerfile C200-RAM Won't Load Disk into Drive
« on: October 03, 2008, 06:45:22 am »
I just got a Powerfile C200-RAM (R200) and it was automatically detected and loaded once I plugged it in.  I am able to send commands to load a disk into the machine and eject a disk, but when I try to ID a disk, or even send a 'load disk into drive' command nothing happens. 

Looking at the powerfile log I see the following when trying to ID:
10      10/02/08 23:41:11.097           Receive string: MESSAGE 67             <0xb5a9bb90>
10      10/02/08 23:41:11.097           Received MESSAGE 67             0x80d3c70 device: 107 <0xb5a9bb90>
10      10/02/08 23:41:11.097           Received Message type 14 ID 0 from 4 to 107 (device: 107) resp 1 <0xb5a9bb90>
10      10/02/08 23:41:11.097           Socket::SendMessage type 14 id 0 from 107 to 4 <0xb5a9bb90>
<repeats until I stop the pending task>

When trying to run the 'Load disk into drive' command from the pluto admin site I get the following log info:
10      10/02/08 22:58:13.920           Receive string: MESSAGE 79             <0xb5a9bb90>
10      10/02/08 22:58:13.920           Received MESSAGE 79             0x80d3c70 device: 107 <0xb5a9bb90>
10      10/02/08 22:58:13.921           Received Message type 1 ID 701 from 0 to 107 (device: 107) resp 1 <0xb5a9bb90>
01      10/02/08 22:58:13.921           JukeBox::Load_from_Slot_into_Drive -- bad drive 0 or cannot lock drive (nil) <0xb5a9bb90>
10      10/02/08 22:58:13.921           Socket::SendMessage type 4 id 0 from 107 to 0 <0xb5a9bb90>
10      10/02/08 23:18:23.617           Receive string: MESSAGE 79             <0xb5a9bb90>
10      10/02/08 23:18:23.617           Received MESSAGE 79             0x80d3c70 device: 107 <0xb5a9bb90>
10      10/02/08 23:18:23.617           Received Message type 1 ID 701 from 0 to 107 (device: 107) resp 1 <0xb5a9bb90>
01      10/02/08 23:18:23.617           JukeBox::Load_from_Slot_into_Drive -- bad drive 0 or cannot lock drive (nil) <0xb5a9bb90>
10      10/02/08 23:18:23.617           Socket::SendMessage type 4 id 0 from 107 to 0 <0xb5a9bb90>

If I try to play a disk through the orbiter I get the following log info:
10      10/02/08 23:42:20.750           Receive string: MESSAGE 80             <0xb5a9bb90>
10      10/02/08 23:42:20.750           Received MESSAGE 80             0x80d3c70 device: 107 <0xb5a9bb90>
10      10/02/08 23:42:20.750           Received Message type 1 ID 701 from 10 to 107 (device: 107) resp 1 <0xb5a9bb90>
01      10/02/08 23:42:20.750           JukeBox::Load_from_Slot_into_Drive -- no available drives <0xb5a9bb90>
10      10/02/08 23:42:20.750           Socket::SendMessage type 4 id 0 from 107 to 10 <0xb5a9bb90>

I can connect this powerfile to my MCE PC and browse through all of the disks, identify them, and play them so I know it isn't the unit itself...  I can also use "mtx -f /dev/sg6 load 1 0" on the command line and load disk slot 1 into drive 0 without any problems.  Can anyone help out?  I'm a little new to LinuxMCE...


Pages: [1]