You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
DO NOT USE DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time it is unfortunately not possible to white list users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!

Falcon SCSI write issues

Problems with your machine in general.
Post Reply
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 6999
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Falcon SCSI write issues

Post by stephen_usher »

Or an internal hardware counter goes screwy when the 23rd address line gets used?

Remember that the Falcon was rushed out the door so I imagine that not all the bugs were found or fixed in the silicon.

I wonder if there are any clues in the Linux m68k kernel, 'cos I guess that supports more than 4MB of RAM and SCSI.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
exxos
Site Admin
Site Admin
Posts: 27278
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Falcon SCSI write issues

Post by exxos »

stephen_usher wrote: Tue Sep 23, 2025 10:49 pm Or an internal hardware counter goes screwy when the 23rd address line gets used?

Remember that the Falcon was rushed out the door so I imagine that not all the bugs were found or fixed in the silicon.

I wonder if there are any clues in the Linux m68k kernel, 'cos I guess that supports more than 4MB of RAM and SCSI.
There was some Linux chatter I saw earlier but was a bit hard to follow.. But one site did hint at a driver update because of large file transfer errors.. But I can't conclusively prove that.

If jookies test program stops dead at like a 4mb mark then it's likely a design flaw :( I mean did Atari copy/paste some stuff from the ST series of logic and forgot to update it for more RAM.. Hope I'm wrong as that wouldn't be fixable..

I wonder. If there's a falcon ram disk I can create a 4mb drive, really just to eat up 4mb of RAM.. then try hd12.71 to see if it still works.. It should prove if there's a hard DMA limit..
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 6999
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Falcon SCSI write issues

Post by stephen_usher »

Of course the best way would be to write a test program which accessed the hardware directly doing raw writes to the SCSI device and then raw reads. You don't have the OS and driver getting in the way possibly interfering with your experiment and reading and writing from the FAT as you're writing to the file.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
exxos
Site Admin
Site Admin
Posts: 27278
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Falcon SCSI write issues

Post by exxos »

stephen_usher wrote: Wed Sep 24, 2025 10:09 am Of course the best way would be to write a test program which accessed the hardware directly doing raw writes to the SCSI device and then raw reads. You don't have the OS and driver getting in the way possibly interfering with your experiment and reading and writing from the FAT as you're writing to the file.
That's what jookies program does. He just sent it to me and I quickly tested and sent him the results.. So far 3MB passes and 4mb+ fails.

I have to go out now so can't so anymore tests until I get back home.
Steve
Posts: 3212
Joined: Fri Sep 15, 2017 11:49 am

Re: Falcon SCSI write issues

Post by Steve »

Are we saying that in 30 odd years, Uwe Siemet hasn't noticed such a fundamental flaw in the Falcon SCSI system. Also in a similar amount of years, the EmuTOS team also hasn't, and perhaps the Hatari team? I just find it hard to believe. (Don't get me wrong, I'm not saying this problem doesn't exist, the whole situation just beggars belief)
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 2977
Joined: Tue Nov 19, 2019 12:09 pm

Re: Falcon SCSI write issues

Post by Badwolf »

exxos wrote: Tue Sep 23, 2025 11:08 pm I wonder. If there's a falcon ram disk I can create a 4mb drive, really just to eat up 4mb of RAM.. then try hd12.71 to see if it still works.. It should prove if there's a hard DMA limit..
Here's a small program that does nothing but steal ST-RAM from your system starting as low as possible in memory.

By default it'll take the lowest 4MB it can, but you can configure how much to steal by giving it a (decimal) number on the TTP command line.

membgone.zip
(7.96 KiB) Downloaded 7 times

It works by allocating as many blocks of your requested size (eg. 4MB) as possible in the memory available, then freeing all but the lowest one and exiting. It does it like this to avoid any assumptions about the order of allocation by whatever OS's malloc() tool is in use but it has a weakness that if, for some reason, blocks are allocated from the top to the bottom and there's not a nice integer number of blocks that can fit in the memory available, there will be up to one block size of gap at the bottom of available ST-RAM. This is very much a conceptual problem, however as on a clean machine under TOS4, I think it allocates upwards. I spent too much time thinking about this, really...

Anyway, long story short, run it without any parameters and you'll have 4MB less. Almost certainly at the bottom of RAM. Run it again, it's 8MB gone. etc. You can verify this under 'Desktop Configuration'.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
mikro
Posts: 799
Joined: Mon Aug 28, 2017 11:22 pm
Location: Kosice, Slovakia
Contact:

Re: Falcon SCSI write issues

Post by mikro »

Steve wrote: Wed Sep 24, 2025 11:50 am Are we saying that in 30 odd years, Uwe Siemet hasn't noticed such a fundamental flaw in the Falcon SCSI system. Also in a similar amount of years, the EmuTOS team also hasn't, and perhaps the Hatari team? I just find it hard to believe.
I'm equally sceptical. This issue needs more testers. @whomper, @kohli79 and @don_apple reported their experience here: viewtopic.php?p=134323#p134323 but it's all bogus because they used HDDriver 12.71 without the "Fast SCSI" option enabled, therefore limiting the transfer buffer to 64 KiB.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 6999
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Falcon SCSI write issues

Post by stephen_usher »

The question is, how many Falcon owners have used SCSI for storage other than CDROMs?

Given that the main storage for the Falcon is the IDE drive I somewhat doubt there's a very large number of people trying to use SCSI storage as (a) the number of Falcons is small, (b) most were for music composition where the storage of MIDI data would be easily held on the internal IDE drive. So, probably a vanishingly small number.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
mikro
Posts: 799
Joined: Mon Aug 28, 2017 11:22 pm
Location: Kosice, Slovakia
Contact:

Re: Falcon SCSI write issues

Post by mikro »

stephen_usher wrote: Wed Sep 24, 2025 1:43 pm The question is, how many Falcon owners have used SCSI for storage other than CDROMs?

Given that the main storage for the Falcon is the IDE drive I somewhat doubt there's a very large number of people trying to use SCSI storage as (a) the number of Falcons is small, (b) most were for music composition where the storage of MIDI data would be easily held on the internal IDE drive. So, probably a vanishingly small number.
I have to disagree. Just recently I have inherited a musician's Falcon and got a heap of SCSI ZIP disk media full of files with tens of MB each.
User avatar
exxos
Site Admin
Site Admin
Posts: 27278
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Falcon SCSI write issues

Post by exxos »

Badwolf wrote: Wed Sep 24, 2025 12:13 pm Here's a small program that does nothing but steal ST-RAM from your system starting as low as possible in memory.
Awesome!
Will test it when I get home later.
Post Reply

Return to “HARDWARE ISSUES”