Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dariusz Piatkowski

Pages: 1 ... 34 35 [36] 37 38 ... 96
526
Web applications / Re: clipgrab
« on: March 20, 2021, 05:07:41 pm »
TeLLie,
...If i unzip it and run

E:\GCC\youtube-dl>python -m youtube-dl
C:/USR/BIN/python.exe: No module named youtube-dl

I think the proper module name to run is actually 'YoutubeDL.py', at least that's what Dave has in his bundle...unless of course 'youtube-dl' is actually a clipgrab module name...not sure as I do not have clipgrab instaled here.

527
Storage / Re: "cannot operate the hard disk"...seems familiar, right?
« on: March 18, 2021, 03:43:39 am »
Hi Pete,

...Looks like the drive letter could be getting changed...

Well, following the drive letter change in LVM I always double-check. Sometimes that happens after a re-boot (funny thing is that my OS/2 boot partition LVM will allow the letter change w/o needed a re-boot, but the MAINT partition insists that I re-boot with CTL-ALT-DEL right away).

Anyways, the newly picked letter sticks, meaning it is correctly assigned each time before I actually attempt to boot from that MAINT partition.

...Do you have both SSDs connected? - try disconnecting the 250Gb to test...

No, I have not tried that, worth a try though. In fact I really should get myself a working CD/DVD/USB based boot in case I ever get into this kind of a situation where neither one of the drives is bootable...LOL!

528
Storage / "cannot operate the hard disk"...seems familiar, right?
« on: March 17, 2021, 09:09:27 pm »
...except that what I'm seeing is a bit weird, let me explain.

I have an OS/2 4.52 box here, currently installed on a Samsung 850 Evo 250G SSD, with the following layout:
1) Boot Manager - 7M
2) Maintenance - 54M
3) OS/2 - 233G

Recently I bought a Samsung 860 Evo SSD, but a 500G size, idea being to just toss everything onto that single partition.

Normally in the past when I made the moves between different drives, or from a HD to a SSD, I simply xcopied the drive contents, swapped the drive letters and off I went booting from the NEW drive.

There may have been the occasional sysinstx needed, but never ran into a problem.

Now this time around I'm seeing something strange. I use DANI drivers (latest ones) and the AOS JFS drivers (1.09.09), including the most recent fix to the cache issue. These updates have been pushed out to my main OS/2 boot drive as well as the Maintenance partition.

So I make a copy of the MAINT partition, swap the drive letters and attempt to boot into that partition from within Boot Manager menu. Strangely enough the OS/2 boot starts but soon after the DANI drivers get loaded I get the "cannot operate the hard disk" error message, the boot stops.

Strange, but alright I thought maybe I'm running into some sort of issue with the larger drive???

I re-booted back to my main OS/2 partition, brought up LVM, checked things out to make sure all was good, and it was. I then went ahead and re-booted back into the MAINT partition...lo and behold, all of a sudden my MAINT partition booted just fine.

THE ONLY difference here is that I booted into the main OS/2 partition, fired up LVM, checked things and re-booted back to the previously non-bootable MAINT partition.

I thought this was super weird...I went ahead and replicated this several times, each time exactly the same behaviour:
1) swap drive letters
2) attempt to boot the MAINT partition - FAIL
3) boot into the main OS/2 boot partition
4) shut down and re-boot into the Boot Manager menu to select the MAINT partition
5) MAINT partition successfully boots

Ugh???

What gives here? Is there something off with the MBR on the MAINT partition maybe??? Do I need to update the MBR? This behaviour just doesn't make sense to me, but I'm hoping I'm just missing something that others have seen...

Thanks!

529
Applications / Re: AccountMgr - corrupt DB maybe?
« on: March 15, 2021, 04:14:56 am »
Alright you guys...quick update, I pulled a little REXX script together from the REXX 'The OS/2 Procedures Language 2/REXX ' INF file and specifically used the SysIni function and the sample code shown.

This allowed me to actually pull the keys and the values from the corrupted AccountManager database file.

Once I was able to do that I added a single REXX line into that script to write the KEY and the VALUE out to a new INI file. That file AccountManager was able to successfully open, so I'm back in "business".

Yeah...it's time to move on to something a little more up-to-date for sure!  ;)

Thanks again, appreciate everyone's feedback!

Code: [Select]
/* REXX script */

/****  Type all INI file information to the screen  *****/
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs

   call SysIni "g:\apps\misc\accountmgr\database.INI", 'All:', 'Apps.'

   if Result \= 'ERROR:' then
     do i = 1 to Apps.0
       call SysIni 'g:\apps\misc\accountmgr\database.INI', Apps.i, 'All:', 'Keys'

       say 'APPLICATION #' i ' => ' left(Apps.i, 40)
       say '-------------'

       if Result \= 'ERROR:' then
        do j=1 to Keys.0
          val = SysIni('g:\apps\misc\accountmgr\database.INI', Apps.i, Keys.j)
          say 'KEY # ' j ' => ' left(Keys.j, 10) 'Len=x' Left(d2x(length(val)),8)

  Result = SysIni('g:\apps\misc\accountmgr\database_NEW.INI', Apps.i, Keys.j, val)

        end
       say ''
     end

530
Applications / Re: AccountMgr - corrupt DB maybe?
« on: March 12, 2021, 02:49:17 pm »
Hi Andreas,

BTW: I prefer the following apps to read and edit OS/2 .ini files:
  • Initor 2.5
  • ini.exe of FM2Tools, part of FM/2
  • OS/2 Registry Editor (\OS2SYSTEM\REGEDIT2.EXE)

Initor is a nice app, good call. It wasn't able to open the AccountManager DB, but that's fine as it does look like a fairly robust INI editor otherwise!

No luck with either of the remaining two. Thanks, appreciate the suggestions.

531
Applications / Re: AccountMgr - corrupt DB maybe?
« on: March 12, 2021, 02:40:27 pm »
Hi Pete,

...Maybe GenINI will be able to read the file and output a human readable version which you can correct - https://hobbes.nmsu.edu/?dir=%2F&stype=all&sort=type_name&search=genini

Is that INI Editor v1.1.0 or v1.10?

GenINI failed to read, which makes me think that maybe the header information is corrupt. GenINI does have a pretty good help file, enough to point me to some on-line articles, so thanks for that!

Ahh, you are right, INI Eidtor 1.10, sorry.

532
Applications / Re: AccountMgr - corrupt DB maybe?
« on: March 12, 2021, 02:10:43 am »
Hi Dave!

...Try using file to see if it can figure out the database. eg
Code: [Select]
>file cert8.db
cert8.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)

>file cookies.sqlite
cookies.sqlite: SQLite 3.x database, user version 7, last written using SQLite version 3009001

Super!!!

So 'file' claims this is actually an OS/2 INI file. Sure enough, attempting to open using 'INI Editor 1.2.0' produces the very same DrRexx error.

This actually may be a good news after all, because that implies I could try reading this INI file structure through regular REXX, even if that means getting at it record at a time.

Before I start diving into how to do so, are there any other INI editors I should look at first?

I have:

1) INI Editor 1.1.0 and 1.2.0 (1.1.0 fails altogether)
2) mINI, shows the following error:
Code: [Select]
ERROR: Problem with INI file.
Probably lost, on removable media, corrupter, empty or no OS/2- or Windows-INI?

533
Applications / AccountMgr - corrupt DB maybe?
« on: March 11, 2021, 06:03:08 pm »
Hi Everyone!

I've been using Mario Sebastiani's AccountManager application for a number of years now. Pretty simple way to track various ID/PASS combinations.

However, sometime last week my machine locked up as I was testing some other software, it was a hard lock so only power OFF/ON worked. Re-boot brought things back up (did have a clean CHKDSK run) so it all seemed fine. However attempting to start AccoungManager today produces a DrRexx error, end result being: I cannot get to any of my ID/PASS combos.

Since my drive backups are nightly and I didn't catch this one in time, the previous version of the DB was overwritten with what I presume to be the corrupted one.

I do not know this for a fact, but I'm guessing this is where the problem lies.

The error I'm seeing is:
Code: [Select]
SYNTAX ERROR: Bad arithmetic conversion in:
SAY "  do i ="   do i

I am not familiar with DrRexx, however it would appear that it has the ability to query up the program runtime environment, so I'm wondering if anyone can shed some light on how to do so?

In parallel to this, does anyone know what DB format AccountManager uses? I reached out to Mario but some 20 yrs have passed since he released this app and all links to his emails and website are dead.

There is a text export of the iDB nformation that's about a quarter of the year old, not ideal but heck I'll take it!!! So not all is lost, ideally though I'd rather try to figure out where things are dying now to recover as much info as possible.

Thanks!

534
Applications / Re: mplayer - how to position the playback window?
« on: March 07, 2021, 04:22:12 pm »
Hi Lutz,

I have had the same problem with my own video app, using mplayer as the executive program for playing the video, which comes up in its own PM-window.
To let the mplayer-window show up on my desired place I am using the commandline-tool PGMCNTRL (by Christian Langanke). This tool lets you identify any running exe and set its x,y-position to what you like. It works fine...

Yeah, that's an interesting approach that I am actually using for other purposes on my machine. In my case I use a utility called "SIZER", it has several other controls but it only controls VIO windows.

Good insight though, I'll look around for the app you mentioned as that could be useful for other purposes (such as getting my 'Free Shared Memory' utility to show up in the desired spot on my deal head desktop).

Thank you!

EDIT
====
Found it...https://www.os2site.com/sw/util/process/old/index.html, look for 'pgmcnxxx' filename, and here is v1.07 (which I installed here already) on Hobbes https://hobbes.nmsu.edu/download/pub/os2/util/process/pgmcn107.zip, so time to play with it.

535
Applications / Re: mplayer - how to position the playback window?
« on: March 03, 2021, 02:31:16 pm »
Quick update everyone.

I did log a ticket for this issue. KO worked through this super quick and provided a new EXE that fully handles the '-geometry' parameter.

Not sure yet if he intends on releasing an updated MPLAYER build that has this included, or maybe rolling this up to the next update release? I am waiting for his feedback, but I did let him know that I'm updating this thread as a FYI to everyone here.

Either way, the test EXE he provided me with is available HERE => (https://github.com/komh/mplayer-os2/files/6057294/mplayer.zip) in my Issue Ticket HERE => (https://github.com/komh/mplayer-os2/issues/10)

Also, as a FYI, we worked on addressing a funny/weird issue with VLC, he has a separate DLL that fixes this as well, you can find the Issue Log HERE => (https://github.com/komh/vlc-os2/issues/21).

536
Multimedia / Re: Updated Uniaud32 build
« on: February 27, 2021, 05:54:03 pm »
Paul,

https://smedley.id.au/tmp/uniaud32-linux-5.10.17-20210227.zip

Still rockin' here, no sight of previous boot hang issues, so this would be the 2nd drop that's been alright in that respect.

Thank you!

537
Programming / Re: AVX enabled Firefox
« on: February 23, 2021, 03:28:33 pm »
Hey Dave!

That is about the JS JIT compiler not respecting whether the OS supports AVX instructions. Doesn't seem to apply to us as there hasn't been any reports of crashes that could be tied to it.
It does bring up the point that on an OS4 kernel, the JIT compiler likely produces AVX instructions.

Yeah, I caught that too but figured for what it's worth it seemed to have spelled out how FF attempts to deal with AVX hardware capabilities. I have not looked into the bigger 'FF and AVX' any further though.

You know, the JIT use-case may be a reasonable excercise, after all we have seen some performance hits to FF on our platform due to JIT, have we not? I'm thinking various JS issues, CPU cores going 100% and all that...if there is a chance of that being even slightly improved that may be a neat little "added bonus" to getting FF AVX enabled.

Not quite sure though how JIT would benefit from AVX as the purpose of that instruction is to apply same execution to a much larger data set, stuff you'd normally see in media decoding such as YouTube playback, etc.

538
Programming / Re: AVX enabled Firefox
« on: February 22, 2021, 09:05:34 pm »
Dave,

This Firefox is not AVX enabled. See my first message, for some reason targeting sandybridge resulted in some weird errors, so out of curiosity I targeted your CPU to see if it would compile and it did, so once built, why not share.

Ahh...OK, sorry I focused on the "...OTOH, building a Phenom II (-march=amdfam10) succeeds...". Either way, I am good with this build because I think this does a bit of a catch-up as far as some security patches you had applied to the non-AMD builds...so I'm glad to have that deployed!

...I was also curious what would happen if I tried to run the AVX enabled Firefox here on my I5 with the OS/2 kernel. I think it would have caused the system to become funky as I doubt that it would have checked for the OS having AVX capabilities, unlike programs that are written to run on all CPU's.

For what it's worth there is a AVX Instruction set recognition bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1110570) out there, I just started to read through it as it came up as I was doing a bit of a deeper-dive into "why is AVX good for me??? LOL".

In that bug they specifically point out the following:

1) AVX instructions should be emitted only if XSAVE is enabled by the OS
2) check the extended control register for OS support

The bug itself is from 6 years ago...

539
Programming / Re: AVX enabled Firefox
« on: February 22, 2021, 08:14:35 pm »
Hi Dave!

Hi Dariusz, this should be it, https://drive.google.com/file/d/1dV1S9yYyyV6LAfOTqNcCDlu42kDzkpgG/view?usp=drivesdk
Let me know it it works.

Alright, so this report is regarding running this version of FF on OS/2 kernel (202 SMP).

Things came up fine, hit a bunch of sites, including YouTube, no issues. I will run this version for an extended period of time to see how it holds up to normal "wear'n'tear".

In the meantime, tying this back to the AVX enabled ffmpeg conversation: does this mean that the newly enabled AVX capability in FF really does NOT come into play unless I'm running it on OS/4 kernel?

Thanks for the effort and time you always put into these things Dave!

540
Programming / Re: AVX enabled Firefox
« on: February 21, 2021, 06:36:04 pm »
Dave!

OTOH, building a Phenom II (-march=amdfam10) succeeds...

I'm here to test that...just let me know where to pick it up from...  ;)

Pages: 1 ... 34 35 [36] 37 38 ... 96