Atari file system support for Linux ?

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

Moderators: Mug UK, Moderator Team

frank71
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Tue Aug 21, 2018 7:41 pm

Now the (K)Ubuntu deb-package. After installing with

Code: Select all

#>sudo apt install drimg.deb

you may read the manual page.

Code: Select all

#>man drimg
You do not have the required permissions to view the files attached to this post.

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

Re: Atari file system support for Linux ?

Postby wongck » Wed Aug 22, 2018 12:14 am

frank71 wrote:Hi wongck,
this one?

libgcc_s_dw2-1.zip

[edit]
I checked with another Windows machine just copying dlls, unfortunately it seems to be not that easy. I will try to find the root cause tomorrow.
[/edit]


I guess it is the correct DLL as the error dialog box is no longer appearing.

And you are also correct... it not as easy as copying DLL. :( My guess is you need to make an installer for it. :shrug:

Application installation are so easy on the Atari.... just love it.
We were just talking about it on another thread. :wink:
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

ThorstenOtto
Captain Atari
Captain Atari
Posts: 377
Joined: Sun Aug 03, 2014 5:54 pm

Re: Atari file system support for Linux ?

Postby ThorstenOtto » Wed Aug 22, 2018 3:08 am

wongck wrote:And you are also correct... it not as easy as copying DLL.


Usually it is, only problem sometimes is to find out which DLLs an executable needs. Different compilers for MinGW use different names, depending on the threading model and exception handling used. For that reason i once wrote a ldd tool that should do the job, even when run in Wow64 environments. You find it in the tools directory of the Aranym sources.

frank71
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Wed Aug 22, 2018 6:40 am

ThorstenOtto wrote:Usually it is, only problem sometimes is to find out which DLLs an executable needs.


Hi Torsten, in this case of different DLLs for different compilers and different code versions we have the terrible situation, that we have a bundle of equally named DLLs with differnt function names and different behavior inside. I've checked the posted DLLs with drimg on 2 different WIN7 installations. On one it's working, on the other it won't. I used the dependency walker to check the exact DLLs which will be loaded - all non-system DLL are the same, but the behavior is still different.
I think I will try som combination on some systems and let you know the result. :shrug:

mikro
Atari God
Atari God
Posts: 1696
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: Atari file system support for Linux ?

Postby mikro » Wed Aug 22, 2018 7:57 am

Qt has a deployment tool for windows in its installation directory. And then of course you must bundle it with correct (read: for given VC++ version) VC++ redistributable package. That usually solves all problems.

frank71
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Fri Aug 24, 2018 1:57 pm

Okay, finally I managed to compile drimg statically for Windows - what a nerve-wracking thing :x , because you need to recompile QT libraries, and it's not quiet easy to find a working configuration - unfortunately you will notice the fault after hours of compiling. (Even with a minimalistic configuration) - cleaning the source takes hours too (under Windows)... No matter, it's done now. :)
The binaries are too big, to post them here, so I've uploaded them to github:
https://github.com/frankheisig71/drimg/ ... ter/Binary
You may checkout and test them now. Read the READ.ME!

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

Re: Atari file system support for Linux ?

Postby wongck » Fri Aug 24, 2018 3:03 pm

It ran but not detecting my usb adapter with Atari drive.
It does not detect any drive.
I already have C,D,E,F on Windoze... does that matter?
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
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Fri Aug 24, 2018 4:39 pm

Usually the tool checks drives up to Z. What is shown on Windows when you plug on your drive adapter - is it recognized as mass storage? Did you uncheck "don't show devices > 4GB" and click again "Show devices"? Try a simple USB pen drive - it should be shown at least. (Refreshing the drives list is not triggered automatically, you need click "Show devices" each time something changed.

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

Re: Atari file system support for Linux ?

Postby wongck » Sat Aug 25, 2018 12:32 am

frank71 wrote: Did you uncheck "don't show devices > 4GB" and click again "Show devices"?


My bad.. :oops: I unchecked "don't show devices > 4GB" but did not click again "Show devices".
Yes, it is showing all the drives except C: now.
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
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Sun Aug 26, 2018 9:41 am

Okay, fine :) now you can click on the HD drive, click "file transfer", select a partition and browse through the directories. Would be great, if you can do some testings.

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

Re: Atari file system support for Linux ?

Postby wongck » Sun Aug 26, 2018 11:35 pm

Yes, I would like to image my Falcon HDD to be used by Aranym.
Once I find my IDE-USB 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

frank71
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Mon Aug 27, 2018 12:55 pm

I thought you had already tested the USB drive adapter with DrImg - still not detected? DrImg denies to open C: - but this should not be the problem.
Btw. for just imaging a HDD there are lots of free tools...

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

Re: Atari file system support for Linux ?

Postby wongck » Mon Aug 27, 2018 1:40 pm

I used Ppera Drimg with USB adapter years ago, but not on your new version.

Something screwy happened to my computer. I cannot see any inserted USB storage on my Windoze. :(
But I can see it in Aranym... there was something I did to make Aranym able to see my USB storage.
However, there is also no way of accessing it from Mint/TOS in Aranym.

I need to undo whatever sh*t happened with libusbit did to my Windoze.
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: 12420
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari file system support for Linux ?

Postby wongck » Mon Aug 27, 2018 2:06 pm

So removing that libusbit stuff was simple.

Even when I am running as admin, it say it needs root to access the device.
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
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Mon Aug 27, 2018 4:15 pm

Hmm, that happens if the tool is not able to get write access to the drive. I've added lots of error messages, but there are still some unspecific messages left. Is there a number in brackets at the end of the message? This would be the Windows error code you may google for. If not I need to build a version with more precise messages...

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

Re: Atari file system support for Linux ?

Postby wongck » Mon Aug 27, 2018 11:39 pm

There's no number on the error dialog window.
It looks like this:
Capture.JPG


BTW, my D & E drives are 2 TB each, so that amount it is showing is wrong. F is my 256 SSD swap.
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

frank71
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Tue Aug 28, 2018 10:15 am

Hi wongck, it seems, Windows makes a difference between SD-cards (where you can gain exclusive write access) and removable (and static) drives (were yon cannot gain exclusive write access) - I've changed this to shared read and write access.

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

Re: Atari file system support for Linux ?

Postby wongck » Tue Aug 28, 2018 11:45 am

Hi Frank71,
No, the same error comes even with my thumb drive or with my SD card reader.
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
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Tue Aug 28, 2018 12:02 pm

Okay, but now there should be a error codes displayed - otherwise it's not the last release... (there is a new release on Github)

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

Re: Atari file system support for Linux ?

Postby wongck » Tue Aug 28, 2018 10:53 pm

right, will dl it when i am back from work. 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

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

Re: Atari file system support for Linux ?

Postby leech » Tue Sep 11, 2018 6:20 am

Sounds like Wongck should switch to Linux :P

So I imaged my drive into hdf, hatari says "Can not use the hard disk file falcon.hdf since it's size is not a multiple of 512." Was going to attempt to fix the byteswap on the drive so I could read it normally under Linux, at least I think that's what's preventing me from just reading it, or at least that the partitions are there.

By the way, for cleaning up maybe some of the Qt stuff.

Code: Select all

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QObject::connect: No such slot drimgwidgetbase::FileTrButton_clicked()
QObject::connect:  (sender name:   'FileTrButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::openIfButton_clicked()
QObject::connect:  (sender name:   'openIfButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::readButton_clicked()
QObject::connect:  (sender name:   'readButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::sizeCHSButton_clicked()
QObject::connect:  (sender name:   'sizeCHSButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::lbaButton_clicked()
QObject::connect:  (sender name:   'lbaButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::creimfButton_clicked()
QObject::connect:  (sender name:   'creimfButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::refrButton_clicked()
QObject::connect:  (sender name:   'refrButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::abortButton_clicked()
QObject::connect:  (sender name:   'abortButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such signal QListWidget::clicked(QListWidgetItem*)
QObject::connect:  (sender name:   'listBox1')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::writeButton_clicked()
QObject::connect:  (sender name:   'writeButton')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::ov2roCB_clicked()
QObject::connect:  (sender name:   'ov2roCB')
QObject::connect:  (receiver name: 'drimgwidgetbase')
QObject::connect: No such slot drimgwidgetbase::swapCB_clicked()
QObject::connect:  (sender name:   'swapCB')
QObject::connect:  (receiver name: 'drimgwidgetbase')
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
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Tue Sep 11, 2018 1:55 pm

Not only Wongck should switch to Linux. :P
Joking aside, handling logical and physical drives under Windows is quiet terrible. I spent 2 weeks with this stuff, but I'm afraid the current implementation still isn't optimal. (testing needed :wink: )
leech wrote:By the way, for cleaning up maybe some of the Qt stuff.

Yes, i can see that too, but to be honest, I have no idea how to avoid that, because the slots mentioned as "No such slot" in fact are there and used.

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

Re: Atari file system support for Linux ?

Postby wongck » Tue Sep 11, 2018 11:02 pm

I want something different at home, so I use Atari & Windows.
Had enough of Unix at work... we even have couple of Solaris let alone Linux.
Had enough of Unix derivative on my phone, my AP, my TV.... So technically I _am_ also using Linux at home. Just some exotic flavours. :mrgreen:

back to topic, I still can't find my IDE-SATA adapter for my Falcon HDD :-(
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
Atariator
Atariator
Posts: 29
Joined: Sun Jan 22, 2017 12:10 pm

Re: Atari file system support for Linux ?

Postby frank71 » Wed Sep 12, 2018 7:15 am

wongck wrote:I want something different at home, so I use Atari & Windows.

Sure - in my case it's the opposite case (exept oft the Atari) :)
wongck wrote:back to topic, I still can't find my IDE-SATA adapter for my Falcon HDD :-(

Hmmm, I checked serveral Adapters - but of cours not with a Atari HD inside, because I have no... But maybe I can test it by transferring a SD Image to a HD. I will try as soon I got som time left for it 8)

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

Re: Atari file system support for Linux ?

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

wongck wrote:I want something different at home, so I use Atari & Windows.
Had enough of Unix at work... we even have couple of Solaris let alone Linux.
Had enough of Unix derivative on my phone, my AP, my TV.... So technically I _am_ also using Linux at home. Just some exotic flavours. :mrgreen:

back to topic, I still can't find my IDE-SATA adapter for my Falcon HDD :-(

I do use something different home. I use Debian on my desktop/laptop, Fedora on my tablet, and occasionally boot into Windows 10. At work we use CentOS and Ubuntu for the most part. :P But there is definitely a far cry from 'I use *nix at work for servers' and 'I use it as a Desktop OS at home'.

Are you using a SATA drive in the Falcon, or are you talking about needing a device that is USB -> 44pin IDE? I had one of mine die recently... so I bought a new one that I'm not sure I like, but it seemed to work for imaging the drive. I should test that out in Windows.
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 0 guests