Author Topic: Implemented DUMPFS.IFS as a 32-bit IFS  (Read 850 times)

Lars

  • Hero Member
  • *****
  • Posts: 953
  • Karma: +45/-0
    • View Profile
Implemented DUMPFS.IFS as a 32-bit IFS
« on: March 29, 2022, 08:09:09 pm »
Hallo,

I am referring to:
https://www.os2site.com/sw/drivers/filesystem/dumpfs.zip

As you might know, this package contains a modified OS2DUMP and a specialized IFS for supporting trap dumps.
I have now reimplemented the "DUMPFS.IFS" contained in that package as a 32-bit version. That means, it supports dumps > 2 GB. I have also added (minimum) EA support so that the partition contents properly display in the WPS and also on the commandline. Of course, you can also use PMDF.EXE on that dump file (without the need to copy it to another partition as was true for the original DUMPFS.IFS).

Additionally I have implemented some reduced write support so that you can copy a trap dump file to that dump partition. Of course, copying the dump file to another partition (for example, a JFS partition) also works.

Would anybody be willing to test ? It does still have a few quirks here and there but in principle it should work (at least, it does on my system).

I have limited its use to an LVM managed system (that is OS2DASD.DMD/OS2LVM.DMD , sorry, but original Warp3 or Warp4 are not supported) in order to have optimal read/copy/write throughput.

Just drop me a note if you want a test version.

« Last Edit: March 30, 2022, 12:50:51 am by Lars »

OS4User

  • Sr. Member
  • ****
  • Posts: 348
  • Karma: +9/-0
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #1 on: May 02, 2022, 05:22:59 pm »
I have now reimplemented the "DUMPFS.IFS" contained in that package as a 32-bit version.

Hi Lars

I have just tested your excellent 32bits DUMPFS.IFS.  It works ok for me on OS/4 kernel with dump created by os4dump.

Lars

  • Hero Member
  • *****
  • Posts: 953
  • Karma: +45/-0
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #2 on: May 02, 2022, 05:39:46 pm »
Thanks !

If you find something that does not work, just drop a note and I'll try and fix it.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1548
  • Karma: +4/-2
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #3 on: May 02, 2022, 08:08:39 pm »
Please note, that ArcaOS (5.0.6 and up) now dumps to a FAT32 volume. It must be labled SADUMP, and be large enough to contain all of memory, plus a bit. I suggest that you do not try this with the ArcaOS versions that do use FAT32. It is a different dump program.

OS4User

  • Sr. Member
  • ****
  • Posts: 348
  • Karma: +9/-0
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #4 on: May 02, 2022, 08:31:17 pm »
...ArcaOS (5.0.6 and up) now dumps to a FAT32 volume...

It depends which os2dump is being used.

DumpFS.ifs is invented to make os2dump as simple as possible.
« Last Edit: May 02, 2022, 08:34:07 pm by OS4User »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3593
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #5 on: May 02, 2022, 11:33:12 pm »
Hi

I don't know much about Dumps. I had installed Lar's version on a ArcaOS VM to try it out, but I don't know how to use it.
Can you give some noob advice on when and how to use it?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3628
  • Karma: +77/-0
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #6 on: May 03, 2022, 12:29:38 am »
Assuming everything is setup correctly, you can force a dump by pressing CTRl-ALT-F10 (or was that F12) twice.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3593
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #7 on: May 03, 2022, 02:20:43 am »
Hi

It did something with Ctrl+Alt+F10 twice. But I guess I'm missing something..

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3628
  • Karma: +77/-0
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #8 on: May 03, 2022, 02:27:54 am »
Well, things need to be setup. Don't know about this new driver but general instructions are at https://www.arcanoae.com/wiki/how-to-get-a-trap-dump/

Lars

  • Hero Member
  • *****
  • Posts: 953
  • Karma: +45/-0
    • View Profile
Re: Implemented DUMPFS.IFS as a 32-bit IFS
« Reply #9 on: May 03, 2022, 07:31:22 am »
There is also a detailed explanation here:
http://www.warpcave.com/os2diags/dumpfs-user-guide.txt

However, you don't need to manually copy files. The WPI will do the necessary things.

Also, please read the introductory words of the installer:
you need to dump to a partition of partition type 7 !
Which means you either use DFSee to achieve that or format to JFS first and then format to DUMPFS.
That said, if you don't want to screw up your existing dump partition (for the AOS dumper) you should create a new one. The easiest to test all of this is to use a virtual machine under Virtual box.

The reason I wrote this thing is because FAT32.IFS still cannot seek in files > 2 GB and therefore you cannot directly use PMDF on a dump file located on a FAT32 partition.
And my system has 8 GB of RAM of which 3 GB are used by OS/2 and therefore the dumpfile will be 3GB in size.
And I have trap dumping permanently enabled for Ring0 traps ...