Author Topic: OS/4 (technical details only)  (Read 26521 times)

OS4User

  • Full Member
  • ***
  • Thank You
  • -Given: 45
  • -Receive: 7
  • Posts: 237
    • View Profile
Re: OS/4 (technical details only)
« Reply #210 on: March 24, 2020, 07:30:32 pm »
if you were to boot in the OS2 config that would actually produce a valid output.

nope.  I got the same output with OS/2 config too.

David Graser

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 67
  • Posts: 598
    • View Profile
Re: OS/4 (technical details only)
« Reply #211 on: March 24, 2020, 11:16:26 pm »
if you were to boot in the OS2 config that would actually produce a valid output.

nope.  I got the same output with OS/2 config too.

I am getting the table is broken with with the os/2 config.

Ibrahim Hakeem

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 3
  • Posts: 29
    • View Profile
Re: OS/4 (technical details only)
« Reply #212 on: May 31, 2020, 01:20:28 am »
I've been using OS/4 for the sake of being able to use Virtualbox + getting a bit more overall out of my T450S. I've absolutely loved how much more useful it's made my environment but my current grievance is the lack of a mostly functional ACPI driver (battery widget, ACPI shutdown, etc).

From what I've read, ACPI.PSD 3.23.01 should work with OS4 but before I make the effort of actually trying to retrieve a copy of it, I was hoping to see if anyone has any input on how well it performs and if I'd be running into any issues due to it being nearly 4 years out.

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 53
  • Posts: 556
    • View Profile
Re: OS/4 (technical details only)
« Reply #213 on: Today at 09:34:06 am »
OS/4 comes with its own PSD and ACPI support. You need OS4APIC.PSD to support a multi-core/SMP system. However, that PSD only supports APICs instead of the conventional interrupt controller (which is necessary for an SMP system) but it does not support ACPI.
If you really need ACPI support (some systems require this so that they can work at all) you need to get ACPI4.BPD which currently is in an experimental state but I can say that it works on my system.

You will find OS4APIC.PSD (and its .SYM symbol file) in the OS/4 kernel zip. As with any other PSD, it has to go into the \OS2\BOOT directory and needs to added to the (alternate, preferrably) CONFIG.SYS.

ACPI4.BPD is difficult to find, if you give me an email address, I can send it to you. It also has to go into the \OS2\BOOT directory. It will be autoloaded by the OS/4 kernel if it is found, therefore, nothing to add to CONFIG.SYS.


Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 53
  • Posts: 556
    • View Profile
Re: OS/4 (technical details only)
« Reply #214 on: Today at 10:01:00 am »
add. info after rereading the OS/4 kernel info text for OS4APIC.PSD:

In case the MP tables are broken, ACPI4.BPD will interact with OS4APIC.PSD to provide it with the equivalent info from the ACPI tables.

The MP tables as well as the ACPI tables provide OS Software with the information how many cores exist, how many and what type of interrupt controllers exist, etc.
The MP tables however are an outdated way of supplying this information and therefore, they are often broken/incorrect on modern systems. Today, every MOBO producer is strongly encouraged to support ACPI (as well as UEFI, but this is a different topic ...).

Therefore, I am not sure if ACPI4.BPD supports all the other ACPI stuff like power saving and shutdown. You will need to try out. I can say that on my system and with the aforementioned drivers, I can fully power off the system by selecting system shutdown.
« Last Edit: Today at 11:21:30 am by Lars »

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 53
  • Posts: 556
    • View Profile
Re: OS/4 (technical details only)
« Reply #215 on: Today at 11:14:38 am »
Can anything be done to fix the DMI table?

A little background. ANPM uses the output of dmidecode to hash/encrypt ID/PASS credentials for subscription repos. I was working through an issue where on the OS2 kernel this process was failing. Turned out to be caused by the board maker (MSI) putting/leaving generic identifier string in a specific DMI table field. Alex fixed this, so now that works.

I subsequently booted up using my OS4 config and came to find out that ANPM credentials check on the sub repos failed again. This time I looked through the debug, reviewed the outputs from dmidecode and indeed, the output is broken. In case someone else is attempting to use ANPM on an OS4 configured system they will likely fail as well.

FYI, here is what I'm seeing:

Code: [Select]
[G:\]dmidecode
# dmidecode 3.1
Scanning /dev/mem for entry point.
SMBIOS 2.5 present.
54 structures occupying 1934 bytes.
Table at 0x0009F800.

Invalid entry length (0). DMI table is broken! Stop.

Using OS/4: I don't know if this is the ultimate cure (likely not), but on an eCS system, I just copied DMI.EXE from the \ecs\install\detectei directory to the ANPM program directory and renamed to DMIDECODE.EXE (after backing up the dmidecode.exe file that is located in that dir). That helped to stop ANPM.EXE on blocking when invoking DMIDECODE.EXE.
The DMI.EXE that comes with eCS is version 2.10.  Therefore my buest guess is that DMIDECODE.EXE version 3.1 that comes with ArcaOS is either broken or has changed its output in a form that makes ANPM fail. The DMIDECODE.EXE in the ANPM directory is version 2.12 and that also did not work together with ANPM.
The obvious difference between version  3.1 and older versions is that version 3.1 prints this string:
Quote
Scanning /dev/mem for entry point.
The older versions do not do this.
« Last Edit: Today at 11:18:28 am by Lars »

OS4User

  • Full Member
  • ***
  • Thank You
  • -Given: 45
  • -Receive: 7
  • Posts: 237
    • View Profile
Re: OS/4 (technical details only)
« Reply #216 on: Today at 05:19:06 pm »
From what I've read, ACPI.PSD 3.23.01 should work with OS4 but before I make the effort of actually trying to retrieve a copy of it.

Yes, as far as I know, 3.23.01 is the latest ACPI.PSD which work with OS/4. It is very likely that you will get the battery widget and ACPI shutdown (I have neither notebook, nor a 3.23.01 to check this).

OS4User

  • Full Member
  • ***
  • Thank You
  • -Given: 45
  • -Receive: 7
  • Posts: 237
    • View Profile
Re: OS/4 (technical details only)
« Reply #217 on: Today at 05:28:50 pm »
In case the MP tables are broken, ACPI4.BPD will interact with OS4APIC.PSD to provide it with the equivalent info from the ACPI tables.

A small clarification:

OS4APIC.PSD on boot  is looking for ACPI4.BPD if it find it, it uses it. If not - uses MPtable. There is a way to make it use MPtable even if ACPI4.BPD is available  - adding /MPT  parameter in to command line.