[smartmontools-support] State of OS/2 port

Christian Franke Christian.Franke at t-online.de
Wed Aug 5 16:16:28 CEST 2026


Dave Yeo wrote


> ...
>> Or alternatively, is there any free cross-toolchain available?
>>
>
> Yes, recently available. https://github.com/komh/cross-os2emx/ which 
> should easily build smartmontools. Only available for Linux and Mac 
> currently.

Thanks for the useful hint. It actually builds out of the box on Ubuntu 
26.04. I added this to one of our GH workflows.

If possible, please test the 'os2emx' artifact from the most recent run:
https://github.com/smartmontools/smartmontools/actions/workflows/build-manually.yml
Strings in the .exe suggest that the included libcn0.dll is required.

Fully static build did not work because the required libraries are not 
included in the package.
Build of the shared library (libsmartmon.dll) is apparently not 
supported by libtool on this platform.


>> ...
>> Did you test `smartctl -x -a ...`?
>
>> The os_os2.cpp module still uses the (meantime very) old interface which
>> limits ATA pass-through to traditional SMART functionality. So `smartctl
>> -x` will likely show many messages like:
>> "Non-SMART commands not implemented"
>>
>
> Surprisingly few, see log. Perhaps I should plug in an SSD to try?

Would not make much difference. The output looks as expected for this 
restricted subset of supported pass-through commands.

-- 
Thanks,
Christian



More information about the Smartmontools-support mailing list