Live data from Hacker News

The weird Hewlett Packard FreeDOS option

blog.tmm.cx

101–110 of 156 posts

Re: The weird Hewlett Packard FreeDOS option

#101
post #36

Earlier quoted context omitted.

Since this install is based on QEMU running in Linux, it would not meet that need.

The end user need not know it is QEMU atop Linux. They see and use DOS.

Yes, but inside a VM. What access to real hardware (e.g. to communicate with the outside world) does the user get?

Re: The weird Hewlett Packard FreeDOS option

#103
post #95
post #87

Earlier quoted context omitted.

The SIM card in your mobile telephone is doing that right now. You are correct - it is basically used as a back door.

Usually when I hear people talk about backdooring it's usually on the network stack. On a phone that would be a modem. Most devices, even in your computer (eg: laptop battery) run an OS. There's a good talk somewhere on how we've lost our way with OS design and now need to write an OS that looks at a single machine as a distributed system.

Is it this one?

https://www.youtube.com/watch?v=36myc8wQhLo

USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware

Edit or this one (not a talk but a paper)?

https://www.usenix.org/system/files/osdi18-shan.pdf

LegoOS: A Disseminated, Distributed OS for Hardware Resource Disaggregation ... We propose a new OS model called the splitkernel to manage disaggregated systems. Splitkernel disseminates traditional OS functionalities into loosely-coupled mon- itors, each of which runs on and manages a hardware component

Re: The weird Hewlett Packard FreeDOS option

#104

Earlier quoted context omitted.

You might get this all the time, but I saw your username and thought no way that's the old palm guy. But I clicked on your profile, and you are the old palm guy! I used your apps back when I had a Tungsten T5, and Treo 680. :)

http://dmitry.gr/?r=05.Projects&proj=27.%20rePalm :)

Amazing read, thank you Dmitry. One typo for pedantry's sake? This:

> It as possible, but not documented.

Should probably be:

> It [is|was] possible, but not documented.

Re: The weird Hewlett Packard FreeDOS option

#105
post #66
post #49

Earlier quoted context omitted.

which leaves the question of why going through the hassle of creating this mess instead of just Linux.

According to the article, they already do have a Linux option. I’d wager the FreeDOS is a legacy option because they’ve supported it in the past an figures have shown it sells. Even if those figures don’t take into account how many of those legacy FreeDOS installs were for other alternative OS like Linux (though it could also be BSD, Haiku, Illumos, ReactOS or others). Or there genuinely might still be FreeDOS users…

Many industrial users are not price sensitive. Having the keyboard, monitor, and computer in a single housing with a built-in UPS all in a compact device with a single power cord is a big selling point.

Re: The weird Hewlett Packard FreeDOS option

#106
post #49

Earlier quoted context omitted.

Some countries also prohibit selling laptops without any OSs because they're unusable in that way, so this is a way to sell a technically "fully usable laptop" for people who'll install linux anyway.

which leaves the question of why going through the hassle of creating this mess instead of just Linux.

I dual-boot in my computers, because for some things live video games (and some software) I prefer Windows, while for coding or using a remote console I prefer Ubuntu. So I always try to split the hard disk in half and install Ubuntu in raw hardware.

My (relatively new) HP Spectre x360 only got sound working until Ubuntu 22.04 was launched. This is one year after the hardware was launched. I spent some months using Ubuntu without having sound, unless I plugged my USB headphones.

My previous laptop, Dell Inspiron 7375 with an AMD Ryzen 5 2500U CPU, did not even properly boot into Linux until Ubuntu 22.04 was launched. The best I could manage was make it boot it with some MMU kernel parameter, and it worked for half an hour until it froze. And it always froze with Ubuntu 18.04. It is a computer from 2018, so it was four years without me being able to natively run Linux in it. I had to use a virtual machine during these years =(

So, there's a lot of work either by the community or by the vendor to make Linux work in some hardware.

Re: The weird Hewlett Packard FreeDOS option

#107
post #7
post #5

I’m guessing they’re doing this because modern x86 processors can’t boot into BIOS mode anymore (edit: untrue, see reply by dmitrygr). This makes me wonder why they’re even offering FreeDOS as an option when they offer Linux for customers who don’t wish to purchase a Windows license. Maybe they have some sort of contractual obligation with a large customer?

Maybe it is for customers running weird old legacy hardware (e.g., lab devices, manufacturing, that only runs on DOS).

No, the FreeDOS HP option has always been used by the customers who did not want to pay a Windows license, because they wanted to install a different operating system, usually some Linux variant (the option to install a pirated Windows variant was also popular in some parts of the world).

Dell has the Ubuntu option for many computers, but for those who do not want to use Ubuntu, like myself, there is no difference between the Dell Ubuntu option and the HP FreeDOS option, because such customers will always install their own preferred OS, immediately after the purchase of a new computer.

Re: The weird Hewlett Packard FreeDOS option

#108
post #62

I'm surprised no one has guessed power and thermal management as a reason for running DOS on top of QEMU/Linux. I have no idea. If the laptop is running FreeDOS on "bare metal", what happens when you close the lid and put it in your backpack?

  > If the laptop is running FreeDOS on "bare metal", what
  > happens when you close the lid and put it in your backpack?
That use case isn't even supported in Windows on some Dell models.

Discussed on HN here: https://news.ycombinator.com/item?id=28639952

Re: The weird Hewlett Packard FreeDOS option

#109
post #15

Earlier quoted context omitted.

Weird old legacy hardware that only runs on DOS generally requires real-time access to stuff like ISA cards or parallel/serial ports, so this wouldn't work for that use case since the computer doesn't have any of those.

I have a weird old nylon cutting machine connected to a DOS machine over a serial port. It would not work with a USB/RS-232 adaptor?

Depends on the adaptor too. Cheap ones only have Rx and TX pins . The rest of the pins are not connected. If your device only used Rx and Tx it would work fine . If it uses functionality of other pins make sure you get the right adaptor

Re: The weird Hewlett Packard FreeDOS option

#110
post #106
post #49

Earlier quoted context omitted.

which leaves the question of why going through the hassle of creating this mess instead of just Linux.

I dual-boot in my computers, because for some things live video games (and some software) I prefer Windows, while for coding or using a remote console I prefer Ubuntu. So I always try to split the hard disk in half and install Ubuntu in raw hardware. My (relatively new) HP Spectre x360 only got sound working until Ubuntu 22.04 was launched. This is one year after the hardware was launched. I spent some months using U…

They sell this laptop with Linux too already. And the equivalent of a FreeDOS setup doesn't even need anything complicated - I doubt FreeDOS ships with sound or graphics drivers after all.
Post reply on HN