Welcome, Guest. Please login or register.

Author Topic: Hello (I'm new) - and I've hit a problem with opening tools from CF hard drive  (Read 2062 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline alexGSTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 5
    • Show only replies by alexGS
Firstly, hello everyone... don't know why I've never found this before, as I've worked on-and-off with Amigas for the past 15 years. One of the interesting projects was the revival of an animated jigsaw puzzle program, which for the past eight years has been running successfully on two expanded A1200s in the Exscite part of Waikato museum.

So a bit of an introduction (skip to the problem below '----' if you like) - I've just finished un-towering my A1200 :) strange eh... I bought it in this giant ugly painted tower. I bought a Mediator for it five years back, whereupon it wouldn't fit in the tower - it's been strewn across the desk ever since. Mostly used to write disk images for games on my A500, especially since the Mediator stopped working a year ago (a mysterious custom-logic fault).

So recently I obtained an A1200 case/keyboard, dug out a Squirrel SCSI that I picked up a few years back, bought a SCSI CD-writer and found an external case for it, and in the last week I've set up my A1200. It has a Blizzard 1260 (with 40MHz 040), 32Mb RAM, and a CompactFlash IDE adaptor that I bought a fortnight ago, with a 2GB CF card.

For file transfers from my PC, I've used a CF card and a Verbatim CF-PCMCIA adapter - works brilliantly. Also the other day I've bought a 3Com Etherlink III, took me a number of goes to figure out why Miami couldn't open the device - turns out you have to disable the CF0: and Squirrel devices first!

So, onto the problem - which has me completely stumped! :(

----------------------
When I try to open programs off the CF 'hard drive' (2GB card with 2.5" IDE adapter, formatted as a hard drive), e.g. Voyager, everything results in "Unable to open your tool 'V'". That is, when I double-click the V icon, I get the 'unable to open' message. And the same for every single other application! This is not when I try to open a project (I know how to set a default tool) - this is when I try to open the tools themselves!

The programs/files were copied from a 3.5" hard drive onto a CF card (placed in a PCMCIA adapter mounted as CF0:), then the machine was rebooted with the CF hard drive, and the files copied from the CF card (CF0:) onto the CF hard drive.

Also, in case something went pear-shaped, I bought a 6GB 2.5" IBM hard drive, and copied all the programs/files from the same CF0: CF card onto the real hard drive too...

...and guess what? The programs open FINE from the 'real' 2.5" hard drive! The exact same files/programs that I copied to the CF hard drive...

So I think this is some sort of buffers-issue - also, when I write disk images to floppy, they don't work. I expect this is related. It's almost as though all files over a certain size are not readable. Everything that I've installed onto the CF hard drive from a CD (i.e. OS3.5 and its apps) is fine, though! e.g. I can run AWeb 3.1, but not Voyager.

Please let me know if anything jumps out at you or if perhaps other people have had a similar problem with a CF hard drive (I saw the excellent tutorial here a few moments ago - in fact, that's how I found this site).

Cheers,
-Alex
 

Offline Iggy_Drougge

  • Sr. Member
  • ****
  • Join Date: Jul 2003
  • Posts: 333
    • Show only replies by Iggy_Drougge
    • http://www.kristallpojken.org
Could it be that your flash drive or your flash card uses a PC file system and has thrown away the executable bit for your programs?
A4000/25MHz/64MB/20GB/RetinaBLTZ3/FastlaneZ3/CatweaselMKIII/Ariadne/A2301
A3000/40MHz/32MB/6GB/Merlin/Buddha/X-Surf/FrameMachineII+Prism24
Draco60/50MHz/128MB/15GB/Altais/DracoMotion/DV/IOblix+net
 

Offline alexGSTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 5
    • Show only replies by alexGS
First, thanks to the moderator who moved my post to the right place :)...

Quote

Iggy_Drougge wrote:
Could it be that your flash drive or your flash card uses a PC file system and has thrown away the executable bit for your programs?


...Thanks, I wondered about that. It would be during the PCMCIA-card transfer since that's using Fat95 file system. However, the executable bit is still set, and the programs run fine from the 2.5" hard drive that I copied the programs to in the same way as onto the CF hard drive.

The CF hard drive was set up using HD Toolbox in the usual way.

...any other ideas?

Thanks,
-Alex
 

Offline amigakit

Have you checked the MaxTransfer value of the CF hard drive in HDToolbox
www.AmigaKit.com - Amiga Reseller | Manufacturer | Developer

New Products  --   Customer Help & Support -- @amigakit
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
I think MaxTransfer should be 0x1fe00.
CD32
A500
 

Offline Ilwrath

Yep.  MaxTransfer - the ever-forgotten A1200 gremlin.  Make sure it's set.

0x1fe00 sounds good.  I think anything under 0x1ffff should work, IIRC.  

 

Offline alexGSTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 5
    • Show only replies by alexGS
Thanks for the advices on the MaxTransfer settings :)

I tried changing it - made no difference, programs still wouldn't run from the CF hard drive. So I booted up with the 2.5" hard drive and copied a program to a memory card placed in the PCMCIA slot (CF0: device). The program ran fine from the memory card, so I shut down, rebooted with the CF hard drive, and tried to run the program off the memory card CF0: - and that worked fine too. So I copied the program to the CF hard drive - and now that works. Maybe the MaxTransfer setting had interfered with the original file copying.

My solution now will be to re-copy everything from the 2.5" HD to memory card and then onto the CF hard drive, which should get everything working!

Incidentally my 2.5" drive had a MaxTransfer of 0xFFFFFFFF, so that's what my CF hard drive is set to now.

-Alex
 

Offline alexGSTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 5
    • Show only replies by alexGS
...hmm, maybe that maxxed-out MaxTransfer wasn't such a great idea; all of a sudden I can't start my Amiga, it gives a Software Failure. It boots off the Install floppy but then hangs in the Workbench, or HDToolbox doesn't recognise the CF hard drive, one of the two.

I'm sure it was working after I changed the MaxTransfer setting, but never mind - I'm just formatting the CF card in my PC and will do another clean install, this time with MaxTransfer at the suggested value, and then copy the applications and data back on. Incidentally I bought another 1GB CF card today, so that enables me to copy all the apps and data in one hit :)

-Alex
 

Offline Ilwrath

Quote
...hmm, maybe that maxxed-out MaxTransfer wasn't such a great idea; all of a sudden I can't start my Amiga, it gives a Software Failure.

:lol:  Nope.  Surely not a great idea.  ;-)  Supposedly, some 2.5" hard drives can get away with the 0xFFFFFFFF setting.  None I've ever owned could, though.  It presents all sorts of strange and bizarre behavior.  With the value mis-set, what happens is there is a chance that any file over a certain size will contain some corruption caused by a buffer mis-allocation.

I got my first A1200 back before the bug was widely known, and I was pulling my hair out trying to figure out why my workbench installs kept going bad.  Finally, I ran a deep file comparison of the contents of each file copied to my hard drive against each file on my install floppies.  With those results, I took the machine back to my C= dealer, at which point he showed me a bulletin that had arrived a few days earlier...  I was relieved (that my, then scarce, brand new A1200 was ok) and pissed (that I wasted so much time) at the same time. :lol:

 

Offline alexGSTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 5
    • Show only replies by alexGS
LOL!
Thanks for your help llwrath...
It's all working fine now. I did a clean reinstall with no problems and copied all applications/files back on, this time everything works. So I have a silent Amiga with all my old stuff - woohoo!

One more question: if a program does a software restart, the machine doesn't boot. I have to do a Ctrl-Amiga-Amiga reset to get it going. Since installing OS3.5, the machine does a software restart at each cold boot (SetPatch or something?) and I get a black screen. Before installing OS3.5, it booted up to the Workbench fine from cold (no disk-request screen). But not now. Seems that the CF card might be taking a while to, err, spin up. :)

I'm about to try BootDelay.lha from Aminet. I'll report back if that works for me.

-Alex