Author Topic: Arcaos 5.1 Installation on a Thinkpad X1 30th Anniversery, aka X1 Carbon Gen 10  (Read 4742 times)

Sigurd Fastenrath

  • Hero Member
  • *****
  • Posts: 577
  • Karma: +27/-0
  • OS/2 Versus Hardware - Maximum Warp!
    • View Profile
Hi,

if you would like to read about my experience with this installation, please visit:

https://www.os2.org/viewtopic.php?f=2&t=3711

Please use online Translator.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4770
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Thanks Sigurd for your review.

Please post back if you made any progress with the Thinkpad T480.

I'm curious about the "Video memory cannot be reassigned to 32-bit address!" that you get on the  Thinkpad X1 Carbon (10th gen). First time I read about it, maybe I missed something on the groups.

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

David McKenna

  • Hero Member
  • *****
  • Posts: 756
  • Karma: +24/-0
    • View Profile
Hi Sigurd,

  Is there a setting in the BIOS - something like 'Above 4GB decoding'? If so, you need to turn it off. The message you show is typical for video memory mapped above 4GB, which of course OS/2 can't handle.

 If not, and you really want to get down into the weeds with it, you could try removing RAM so there is only 4GB available. That might force the video memory below 4GB, but then you only have 4GB of RAM for other OS's, and even so, video might take a huge chunk of the 4GB left.

Regards,

Roderick Klein

  • Hero Member
  • *****
  • Posts: 662
  • Karma: +14/-0
    • View Profile
Here is my knowlegde described best, based what I have seen on the Arca Noae tester list and what I have been reading on UEFI over the years. It was the intension at Mensys to get UEFI in eComStation. But this never got of ground. Anyway so my description is based on what I know from Mensys days, picked up from Warpstock Orlando last year and the from the AN testers list.

Anyway so your question is where does this come from Martin:
"Video memory cannot be reassigned to 32-bit address!"

Well here is the background thd way I understand it. Have a seat as this is slightly complex.

The first thing is that ArcaOS comes with a 64 BIT UEFI loader. However the OS/2 kernel still is 32 bit.
When a system with a UEFI firmware boots up the CPU still is switched on real mode. Like an XT CPU, yep even today.
However then the UEFI firmware switches the CPU to long mode (64 bit).

Well OS/2 does not support long mod, also the Intel CPU can not run certain modes the OS/2 kernel needs.
What the UEFI loader does is the following.

UEFI firmware just like a PC BIOS has calls to talk to the CD Rom DRIVE, SATA or NVMe controller. However they function differently.
On legacy PC BIOS You might have heard of term int INT13. INT 13 is disc I/O via the BIOS. This is what the BIOS/OS/2 uses to load the OS2LDR, OS2KRNL and BASEDEV drivers etc.

UEFI firmware also has disc services. However they work differently. All UEFI loaders prepare to load the need files to load the OS from hard drive via UEFI system calls. Once the OS is ready to boot the UEFI loader calls the UEFI API Exitfrombootservices().

So just before ArcaOS starts and you see the text OS/2 boot blobt in the left hand corner, thats when the UEFI loader begins load the OS2DLR and OS2KNRL  from a temp ram drive.

However what also happens is that the CPU is switched from long mode to 32 bit legacy so that the OS2KRNL can run.
Elbert Pol and Alex Taylor both had a laptop that had this error message. In the UEFI loader is code that goes out on the PCI bus and re-maps PCI MMIO ranges to 32 bit memory location. Why ? Otherwhise the drivers and kernel would not be able to talk to hardware with an address above the 32 bit address range.

Elbert Pol has a laptop where all devices have 64 bit MMIO ranges and these are remapped by the UEFI loader BEFORE the OS2KRNL gets loaded.
The issue is thhis brand new code and it might contain bugs. However its also possible this might not work in all cases.

If you get such a message here is how you can get the logs from the UEFI loader.
https://www.os2.org/viewtopic.php?p=28539&sid=7c108ad6baf4d31112ec69f674e23f7b#p28539

Note that difference in ALT F1 processing. This is in the UEFI loader NOT done by OS/2 but by the UEFI loader.
But the UEFI loader does more. Ever looked at the Panorama screen object ? It also provides a extremely thin VESA vidoe BIOS
for Panorama to function on systems with a VGA card.

I hope this creates a somewheat better understanding of the new things. If there are issue's please encourage people to also open tickets in the AN bugtracker. There is a lot of new code and there can always be bugs. And some of these bugs the community can not fix or understand as this all brand new.

Roderick

Roderick Klein

  • Hero Member
  • *****
  • Posts: 662
  • Karma: +14/-0
    • View Profile
Hi Sigurd,

  Is there a setting in the BIOS - something like 'Above 4GB decoding'? If so, you need to turn it off. The message you show is typical for video memory mapped above 4GB, which of course OS/2 can't handle.

 If not, and you really want to get down into the weeds with it, you could try removing RAM so there is only 4GB available. That might force the video memory below 4GB, but then you only have 4GB of RAM for other OS's, and even so, video might take a huge chunk of the 4GB left.

Regards,

Hello Dave,

1.The remap code that I described should be able to deal with this. This setting can in my experience only be found on systems that have a CSM.
Since an operating system like Windows 7 or Windows 10 32 bit might still need to load with a CSM.  With no loading only 64 bit OS'es well, no need for this setting to exists.

2.  Hmmm removing memory down to 4 GB will resolve the issue. I wish it was that simple.

Roderick


Sigurd Fastenrath

  • Hero Member
  • *****
  • Posts: 577
  • Karma: +27/-0
  • OS/2 Versus Hardware - Maximum Warp!
    • View Profile
Thanks to all of you!

I created the files Roderick suggested and attached them to the Bugtracker - it is the report 0003524 - and here, as well as some pictures of this superb looking Diagnostic Tool wich come with ALT+F1 at hand.

EDIT: Unfotunately I can not upload dazinfo.dmz so I zipped it.

Reducing RAM is unfortunately no option, as this wonderfull Laptop comes with soldered RAM.

Thanks again!

It would be a burner to get ARcaOS to run on this Hardware!

Sigurd Fastenrath

  • Hero Member
  • *****
  • Posts: 577
  • Karma: +27/-0
  • OS/2 Versus Hardware - Maximum Warp!
    • View Profile
Just became aware of ticket 0003507, subjet to the same problem. As there was no solution for this it will be the same with mine. Thanks again.