Atari file system support for Linux ?

WinSTon, Nostalgia, MSA Converter, FloImg, Makedisk and all the others.

Moderators: Mug UK, Moderator Team

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Wed Sep 12, 2018 7:48 am

Whoa, major Windows failure on that one. It detected the drive as 7.31641MB. It shows up in Linux for some weird reason as 127, even though it's a 120GB drive. It's all sorts of confused.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

frank71
Atari User
Atari User
Posts: 35
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Wed Sep 12, 2018 8:40 am

leech wrote:Whoa, major Windows failure on that one. It detected the drive as 7.31641MB. It shows up in Linux for some weird reason as 127, even though it's a 120GB drive. It's all sorts of confused.

Ya, I need to test with IDE adapters - currently I just test it with SD cards - that's what the tool was intended for, I think. But it should be possible to use it with bigger drives too.
Could you give me a little more details? :) Maybe one or two screenshots of error messages...

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Fri Sep 14, 2018 1:45 pm

No I have a 44 pin IDE HDD for my Falcon and had a SATA-IDE adapter to use on my PC.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Fri Sep 14, 2018 5:11 pm

I just ordered one of these; https://www.amazon.com/gp/product/B073S ... UTF8&psc=1 much easier to plug into your computer, do what you need to do with the drive, then unplug it and put it back into the Falcon.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Sat Sep 15, 2018 9:17 am

great find.
I got several standard USB-SATA cable, for backing up and TV recording purposes. I wonder if that works with my IDE-SATA adapter.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Mon Sep 17, 2018 1:58 pm

So I found my IDE-SATA adapter and placed my falcon IDE drive on to my Windoze X.

Running DrImg 0.95 under admin rights, gave the following error: Read error 87.
It does not find the falcon IDE HDD..... :?:
Capture1.JPG


Incidentally I found Ppera's original DrImg 1.35, so I test ran it. It found the falcon HDD. It seems to be able to image the HDD.
The image file written size is negative while the created file size looks correct. Reading the RAW image file give an empty image disk.
So don't really work.
Capture.JPG


May be I should attach it to my USB-SATA adapter and push it on to my TV, and see if I can run Drimg there, after my kids are finish with the TV later.
You do not have the required permissions to view the files attached to this post.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Mon Sep 17, 2018 3:59 pm

wongck wrote:May be I should attach it to my USB-SATA adapter and push it on to my TV, and see if I can run Drimg there, after my kids are finish with the TV later.

What, you don't just say "Out of the way, Pecks!"? :lol:

I managed to rip to a raw file and mount (at least the two ext2 partitions) under Debian, when I tried to use dd to write it back to the drive it just hung all night. I'll try it again after I shut my computer down to see if I can use the drimg program to write it back to the disk. Hopefully that'll make it so I can modify files on it easier with my PC and fix some things in my Falcon set up.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Tue Sep 18, 2018 1:26 pm

Well you better luck than me.
Never got an image.
may try XP compatibility later.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

frank71
Atari User
Atari User
Posts: 35
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Tue Sep 18, 2018 3:10 pm

Hi wongk,
I'm still struggling with the raw drive access on Windows - there are a bundle of use-cases leading into access errors, and the Microsoft dev. center sites does not really help. (Error 87 is my best friend - "Something went wrong in some way." - or similar)
The negative sector values in PPs version results out of the fact, that he widely uses 32bit vars (just do a 32 bit integer multiplication: 1907729 * 2048 means MB -> sector count ). That may lead into the imaging problem too. Unfortunately the sources of version 1.35 are not available.
But I'm optimistic to solve the issues bit by bit...

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Tue Sep 18, 2018 3:47 pm

Sadly I have not been able to write the image back out. It just seemingly hangs, left it for an hour or so, seemed only the partition table showed up.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Tue Sep 18, 2018 11:45 pm

@frank71
No problem, take your time.
Most importantly is to have fun, even if it is not working.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

frank71
Atari User
Atari User
Posts: 35
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Wed Sep 26, 2018 10:47 am

Hi Wongck,
error 87 problem should be solved now. The root cause was: the Windows api expects sector size aligned buffers, when reading/writing to physical block devices. But contrary to common sense you need to care for that on application level - not at device driver level or at least at api level. The needed code changes were not just somewhat...

@leech
Are you using the Linux or the Windows version?

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Wed Sep 26, 2018 4:54 pm

I'm using the Linux version.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

frank71
Atari User
Atari User
Posts: 35
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Wed Sep 26, 2018 9:06 pm

Am I right - reading and writing back images failes with your tests? The Linux version (Windows version too) should be able to read or write back a block device image flawlessly - these functions don't care about content, partitions, file systems or somewhat. In case of my Linux-Notebook writing of SD cards was extremely slow - for sure a driver problem. However, can you give me some more details: image size, hard drive type and so on... Does the file transfer dialo shows someting usable wirh the original drive, and/or with the image file? Which file sys is displayed on device info panel (prior dialog).

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Wed Sep 26, 2018 11:01 pm

frank71 wrote:The Linux version (Windows version too) should be able to read or write back a block device image flawlessly - these functions don't care about content, partitions, file systems or somewhat.


Cool,
I will try it tonight, the windoze version.
Ta.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

frank71
Atari User
Atari User
Posts: 35
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Thu Sep 27, 2018 9:24 am

wongck wrote:Cool,
I will try it tonight, the windoze version.
Ta.

Arrrwww - there is a integer overflow in progress bar calculation - :oops: - it will end progressing at about 20GiB read/written data. You may ignore this, reading/writing will progress till all finished. I will provide a fix soon.

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Thu Sep 27, 2018 8:28 pm

frank71 wrote:Am I right - reading and writing back images failes with your tests? The Linux version (Windows version too) should be able to read or write back a block device image flawlessly - these functions don't care about content, partitions, file systems or somewhat. In case of my Linux-Notebook writing of SD cards was extremely slow - for sure a driver problem. However, can you give me some more details: image size, hard drive type and so on... Does the file transfer dialo shows someting usable wirh the original drive, and/or with the image file? Which file sys is displayed on device info panel (prior dialog).

Sorry, I thought I'd posted that YES it works in Linux. So my problem (usually) is that the front USB ports on every case I've ever had for some reason are not really up to standards for doing full disk transfers. Not sure if it's the quality of wiring, the port expansions on the motherboard, or what. But with the USB -> IDE bridge I used, it kept just hanging trying to write back to it. I plopped it into my HD Dock that is plugged into the back ports and it worked fine to write it.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Mon Oct 01, 2018 2:45 pm

I got an reading error (2) damn! dialogbox.
You do not have the required permissions to view the files attached to this post.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Mon Oct 01, 2018 5:30 pm

ha, All error dialogs should be like that. One of my favorite errors has been 'something has gone terribly wrong.' i think that was in some open source service, can't recall which though.

At least it didn't sacrifice a child, like out of memory killers always do.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Mon Oct 01, 2018 10:51 pm

leech wrote:ha, All error dialogs should be like that. One of my favorite errors has been 'something has gone terribly wrong.'


And it should be followed by "and I do not know what, the program should not enter into this part of the code".
Most likely a scenario that the programmer never anticipated.... like using a TOS 1.0 program on Mint vX build 1809.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

frank71
Atari User
Atari User
Posts: 35
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Wed Oct 03, 2018 9:50 am

That's PP's wording - I thought it was funny, therefore it's still in. Error 2 means: file not found. That happens if the system loses the device somehow. But a couple of sectors seems to have been read. :shrug:
I will do some testings more... :)
UPDATE:
I've uploaded V 0.97 - There are some bugfixes and the file list view now uses the atari font ... and reading / writing physical devises under Windows uses FSCTL_LOCK_VOLUME now, to (probably) prevent Windows from doing anything with the drive while DrImg works with it. That's a guess, becasue I didn't get the "read / write error [2]".
I will try to test it on several systems - but maybe Wongck still feels like testing. :)
(Linux version 0.97 will be uploaded soon.)
UPDATE:
Linux version 0.97 is uploaded now.
I've tested the latest Windows Version (0.97) on several systems, WIN7 and WIN10. I've transferred a 80 GiB image several times via USB-IDE adapter without any problems. File transfer tests ran also flawlessly, so I hope, I got it now. But the ultimative test will be on Wongcks system. :lol:

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Fri Oct 05, 2018 6:20 pm

Yeah, just my advice, when transferring large images, connect to the back motherboard ports of USB, I don't know what it is, but the front ports of every case seem to be worthless. Not sure if it's the cables that connect to the motherboard, or some voltage drops or what... To be fair, the hard drive docking station where it works for me has a separate power supply.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Sat Oct 06, 2018 12:11 am

frank71 wrote:That's PP's wording - I thought it was funny, therefore it's still in. Error 2 means: file not found. That happens if the system loses the device somehow. But a couple of sectors seems to have been read. :shrug:
I will do some testings more... :)
UPDATE:
I've uploaded V 0.97 - There are some bugfixes and the file list view now uses the atari font ... and reading / writing physical devises under Windows uses FSCTL_LOCK_VOLUME now, to (probably) prevent Windows from doing anything with the drive while DrImg works with it. That's a guess, becasue I didn't get the "read / write error [2]".
I will try to test it on several systems - but maybe Wongck still feels like testing. :)
(Linux version 0.97 will be uploaded soon.)
UPDATE:
Linux version 0.97 is uploaded now.
I've tested the latest Windows Version (0.97) on several systems, WIN7 and WIN10. I've transferred a 80 GiB image several times via USB-IDE adapter without any problems. File transfer tests ran also flawlessly, so I hope, I got it now. But the ultimative test will be on Wongcks system. :lol:

will give it a spin if time permits.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12489
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Sat Oct 06, 2018 12:17 am

leech wrote:Yeah, just my advice, when transferring large images, connect to the back motherboard ports of USB, I don't know what it is, but the front ports of every case seem to be worthless. Not sure if it's the cables that connect to the motherboard, or some voltage drops or what... To be fair, the hard drive docking station where it works for me has a separate power supply.


With the falcon HDD on my IDE-USB, nothing even on Windows. ( IDK why).
With the falcon HDD on IDE-SATA and SATA-USB, nothing even on Windows. (this is stupid method as it goes via 2 adapters)
With the falcon HDD on IDE-SATA on the direct SATA ports of the mobo, it is detected and that how I tested.
So only way for me is to open up my computer and access the motherboard, that's why it's not really quick for me.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
leech
Atari God
Atari God
Posts: 1178
Joined: Tue Dec 01, 2015 3:26 pm

Re: Atari file system support for Linux ?

Postby leech » Sat Oct 06, 2018 4:09 pm

Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)


Social Media

     

Return to “Other emulators & tools”

Who is online

Users browsing this forum: No registered users and 8 guests