Replies: 14 comments 56 replies
-
Thanks @toncho11, I appreciate your testing. Remind me, is this Amstrand the machine that has the very early BIOS in it (which initially didn't work on ELKS but was later fixed)? BTW, we recently renamed the minix full screen editor to |
Beta Was this translation helpful? Give feedback.
-
Oh, I see. ELKS hard disk images have to be built with specific CHS (cylinder, head, sector) settings, and the default is CHS 63,16,63. I'm pretty sure the problem is that this CHS value doesn't match your hard drive. You'll need to |
Beta Was this translation helpful? Give feedback.
-
I have made a wiki page on this subject: https://github.com/jbruchon/elks/wiki/Installing-HD-image-on-physical-media What @ghaerr suggests is Method 2. If this does not work, then you can always boot from floppy and use the ELKS "sys" command to transfer ELKS to a HDD. This is the recommended way of installing ELKS. |
Beta Was this translation helpful? Give feedback.
-
Hello @toncho11,
Thank you, nice work! |
Beta Was this translation helpful? Give feedback.
-
Today 11/12/202 I tested ELKS again on my IBM 5160 and it booted OK. I used one of the latest images from the build Actions. |
Beta Was this translation helpful? Give feedback.
-
Hi people, today I have succesfully tested ELKS 0.6.0 on my Monotech NuXT 2.0 board (V20)! Booting from a 1.44 MB floppy requires the most recent BIOS update 0.9.9 from Sergey Kiselev, though. Using an older BIOS version will lead to a cryptic kernel error. |
Beta Was this translation helpful? Give feedback.
-
Here is a list of things to be tested:
Voila. Maybe someone can help :) |
Beta Was this translation helpful? Give feedback.
-
I've tested this and am pretty sure it works the way requested.
This doesn't really need testing on real hardware, but instead using QEMU or any system connected to the net. I tried the above and am not able to get a connection to 193.27.78.5. However, that just indicates a network connectivity issue, not the PING/PING fix just implemented. I think my issue is QEMU setup to allow passthrough of the indicated TCP address and port.
There are no changes to memory allocation, only a heap fix in
This is really the only test that needs to occur on real hardware. We'll wait and see what @tt1542 has to say, then it would be nice to test on original IBM BIOS machine as indicated. |
Beta Was this translation helpful? Give feedback.
-
Yes - that's how I've debugged almost all the kernel networking code, as I don't actually have a working NIC in any of my real hardware test setups. Setting up QEMU is a little tricky, try
|
Beta Was this translation helpful? Give feedback.
-
Sooo... now for some more hardware testing results! With the version @ghaerr provided, floppy detection works on my NuXT (V20, 1.44M/360K)! I decided to push ELKS some more, trying to mount a FAT12 360K disk and display a test file I created under DOS. The disk was thoroughly checked before, including bad sectors. So, mounting the floppy FS succeeded, but displaying the file contents did not work. Seems like the system is treating the text file as special file?... |
Beta Was this translation helpful? Give feedback.
-
Hello @tt1542,
Great! That version added back the BIOS call for drive checking even when the CPU is 8086/8088. I will produce a PR for this, which I am pretty sure will work on IBM XT systems with older BIOSes. Should hardware testing on IBM XT show that doesn't work, we will come up with another method if required for this solution. BTW, this "syscaps" issue using the CPU to determine other system capabilities is also used to determine whether to remap IRQ 2 to IRQ 9, IRQ 8-15 allowed, keyboard, LEDs, and more, as evidenced from the following table. This means that these features will not currently be operational on the NuXT:
We need to do some careful testing to eliminate variables before going too deep down a rabbit hole for this. That is, I would first rather test the NuXT system just running on the booted floppy, before mounting another. That means we should first try booting a 360k ELKS image on drive A to see whether the system runs on 360k. Would that be possible? I would also like you to throughly test the booted system on a 1.44M floppy only to make sure everything seems to work well there before adding another drive. Then we know that ELKS is actually working properly on NuXT with one drive. I'm not sure whether the 2nd problem you're seeing is a result of your BIOS or ELKS at this point.
So Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hello @tt1542, I've fixed both the above problems in #1572. Here's two boot images you can test with: The problem with the FAT mount is a bit complicated, but has to do with the fact that ELKS emulates the /dev directory on FAT volumes, ONLY if /dev exists - which it won't on any DOS disk created in the wild. This fixes that. There remain some issues with emulating /dev properly on FAT volumes created with only 2 sectors allocated to the FAT table, which is the way your 360k floppy happens to be formatted. In ELKS, the Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hello ELKS people, quite recently, I got my hands on a Book 8088, one of those crazy new-old chinese retro laptop builds from Aliexpress. Obviously enough, I tried to boot ELKS 0.6.0 on the machine (most recent build, #2595). The amount of boot options available is rather limited for the device. While it should be possible to use the external ISA adapter board for an 8 bit FDC and then connecting a FDD to it, this seemed a rather lengthy way for me and I did not try that. The only other way for booting the laptop is pulling out the CF card and writing one of the ELKS images to it. I did not succeed using the current 32 M FAT MBR image. This gave me a 4! boot error. I succeeded in writing the new 64 M minix image to disk and booting from it, however. Here is a screenshot, sorry for the bad image quality (display gives a lot of reflections and is rather dark). Maybe this could become another supported device for 0.7.0? Edit, hardware specs: There's a V20 inside (I exchanged the original one for a V20HL low energy cpu), a CGA card and 640k of RAM. That's about it. Edit 2: I completely missed the posts regarding the Book 8088 within this issue. Please ignore this post if you feel it is no longer relevant. |
Beta Was this translation helpful? Give feedback.
-
Awesome! You can make a PR request to add your screenshot to the Screenshot folder in this GIT repository. |
Beta Was this translation helpful? Give feedback.
-
I have tested ELKS 06503d8 (latest) today 15/07/2022 on an Amstrad 1640 using a 360 kb image and it works.
Beta Was this translation helpful? Give feedback.
All reactions