DTC on Linux/PPC

All questions about how to use KryoFlux go here.
marcus
Posts: 11
Joined: Fri Sep 13, 2013 8:16 pm

DTC on Linux/PPC

Post by marcus » Fri Sep 13, 2013 8:20 pm

Hi.

I'm trying to run DTC on Linux, but the archive only contains x86 binaries, and qemu does not work with libusb.

Where can I find the source code so that I can recompile it for PPC?

Thanks

User avatar
mr.vince
Posts: 2125
Joined: Tue Oct 05, 2010 5:48 pm

Re: DTC on Linux/PPC

Post by mr.vince » Sun Sep 15, 2013 12:43 am

There is no PPC binary available. We don't distribute the source at the moment.

marcus
Posts: 11
Joined: Fri Sep 13, 2013 8:16 pm

Re: DTC on Linux/PPC

Post by marcus » Sun Sep 15, 2013 2:11 pm

And this is because....?

Without a working DTC binary, there is no way for me to use the hardware I bough from you...

User avatar
mr.vince
Posts: 2125
Joined: Tue Oct 05, 2010 5:48 pm

Re: DTC on Linux/PPC

Post by mr.vince » Sun Sep 15, 2013 8:13 pm

This is because people use the device to read legacy media on modern computers. You are the first one in three years with this "issue". Not saying anything is wrong with PPC, but it's, to be honest, a more or leas dead architecture. We can't support all platforms / architectures, as we have limited manpower and builds need to be maintained.

You can use a modern computer you have around, or you can chose to return it during the first two weeks.

marcus
Posts: 11
Joined: Fri Sep 13, 2013 8:16 pm

Re: DTC on Linux/PPC

Post by marcus » Sun Sep 15, 2013 10:39 pm

Sorry, maybe I was unclear. I was asking for the reason you're withholding the source code, preventing your customers from compiling it for other architectures and supply bugfixes. I'm not asking you to support all architectures, just to provide the source so that others can do it for you.

And actually I happen to be using a modern computer I have around, namely the AmigaOne X1000 (dual core 64-bit PPC).

User avatar
mr.vince
Posts: 2125
Joined: Tue Oct 05, 2010 5:48 pm

Re: DTC on Linux/PPC

Post by mr.vince » Wed Sep 18, 2013 9:21 pm

Marcus,

thinking of the software I used today (e.g. Mac OS: Photoshop, Apple Shake, Final Cut Pro; Windows: Total Commander)... it is all productivity software I use regulary, but I actually never thought about contacting Apple or Adobe or others to provide the source to me so I could make it run on e.g. whatever Linux or fix bugs for them. The software for KryoFlux isn't open at the moment, for various reasons. It uses highly specialised algorithms for data transformation developed by us over the last three years, based on technology developed for over a decade. I understand it's nice to have a source, but in the real world, only a small fraction of software, especially niche software, is delivered with source. I don't feel we would need to find excuses. We deliver builds for Windows, Mac OS X and Linux. Mac OS even got support for PPC with the last release. This covers most of the systems out there. The software is very stable, I am in fact not aware of a single bug that would need fixing at the moment. I am not saying there is not, but so far no one complained about issues with the current build. I will take a note of your request and see if we can add such build.

Either way, I am sure that you will find a matching system around. Otherwise, just return the board and we'll refund you.

marcus
Posts: 11
Joined: Fri Sep 13, 2013 8:16 pm

Re: DTC on Linux/PPC

Post by marcus » Thu Sep 19, 2013 2:05 pm

Hi mr.vince,

Thanks you for your reply.

I actually have an old Mac Mini G4 around, so I tried the MacOS version. Unfortunately it doesn't work (I'm using OSX 10.5 PPC). It quickly spews out something about invalid streams. I can post exact traces later, but maybe I should start a new topic for this? I thought the MacOS stuff might be old and have rotted, but if you say it is new then I guess it's still supported?

User avatar
mr.vince
Posts: 2125
Joined: Tue Oct 05, 2010 5:48 pm

Re: DTC on Linux/PPC

Post by mr.vince » Thu Sep 19, 2013 7:58 pm

I'd say again that a G4 is a pretty old system according to today's standards. I would guess it's to slow or something with the USB isn't working out as quickly as it should. You will see we haven't advertised PPC support, as it's been added with the latest release, and I think we only tested it on a few (latest model G5 systems). I can't say which system was used.

If you don't have a "standard" machine (according to what's considered "standard" today), I can only suggest you send the device back. It really does not make sense to spend time supporting legacy systems, when we can put our dev time into adding features.

marcus
Posts: 11
Joined: Fri Sep 13, 2013 8:16 pm

Re: DTC on Linux/PPC

Post by marcus » Fri Sep 20, 2013 6:07 pm

Yeah, the Mac Mini is a bit old which is why I'd like to use a more modern system like my X1000 instead. ;-)

However, this is hardly a performance problem. The CPU is 90% idle while DTC is running, so there are plenty of computrons to spare, and it's only a couple of hundred K of flux data to transfer per cylinder anyway...

Here is the output:

chiyo:~ marcus$ dtc -ffoo -s0 -e0 -i0
KryoFlux DiskTool Console, v2.20, uiv.1, Mar 24 2013, 19:59:05
(c) 2009-2013 KryoFlux Products & Services Ltd.
Developed by The Software Preservation Society, http://www.softpres.org
Licensed for private, non-commercial use only.

00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Bad stream position
00.0 : Read operation failed
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Bad stream position
00.1 : Read operation failed

Enjoy your shiny new disk image!
Please consider helping us to preserve media and continue development:
http://www.softpres.org/donate

chiyo:~ marcus$

If you tested this release on a G5 and it worked, then maybe the issue is a 32/64 bit type bug?

If you don't want to spend time fixing your bugs, then let me again suggest that you release the source code, so that other can spend that time for you. It's a win/win deal.

Darkstar
Posts: 72
Joined: Thu Nov 04, 2010 7:58 pm

Re: DTC on Linux/PPC

Post by Darkstar » Fri Sep 20, 2013 6:48 pm

The KF Devs won't release the source because they're afraid of people too stupid to use KF correctly and the world being swarmed with invalid/fake/bad dumps made from non-pristine disks. People have complained about this before but right now you'll have to just accept this (and I think you knew KF/DTC was not open source when you bought the device)

One more reason to finally implement cryptographic signatures for IPF files, as I already suggested a long time ago. This would solve all of their problems/concerns, and it would make it possible to have other groups who want to preserve disks for different systems to use IPF for that as well (right now, you get pretty much ignored when you try submit dumps of anything not AMIGA/Atari, so you cannot get your own dumps into IPF format, only IMG/sector based)

-Darkstar

Post Reply