Replies: 16 comments 62 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.
-
|
Toshiba T1100 started up Elks (0.8.1), from 720kb repo "stock" image.
But about a week i could not reach the goal - start up desktop 286 PC with XT-IDE Lite and 128 MB CF card. Problem is in my understanding HDD and Menuconfig when i try recompile Elks. I looked up from Elks wiki, but it tell well about partition making and then - just "Format the partition as FAT32 of size 180MB: mkfat -fat32 /dev/hda1 180000 To create a MINIX partition use mkfs instead: mkfs /dev/hda1 30000", i have 128 MB (and Minix partition limit not 64MB(?)). What is "180000"/"30000"...... again blocks - there im loosing fight and started up Toshiba from floppy. :) Project is nice and interesting, but litle bit more basic documentation in wiki would be very desirable. |
Beta Was this translation helpful? Give feedback.
-
Ok, do I understand that Toshiba T1100 working great but now you're separately trying to get a desktop PC running with CF card/XT-IDE?
For ELKS, "blocks" are 1K (1024) bytes each block. To calculate blocks, use Thus, CONFIG_IMG_BLOCKS=125184 should be set in .config file. However, the ELKS ATA CF driver does not actually use CHS settings, instead it requires LBA (logical block addressing) mode, a newer mode that bypasses older CHS and addresses "blocks" (here meaning 512-byte sectors) directly. So it should not matter what CHS or image size is. This information is shown on the boot screen, after loading the kernel. Since it appears that you are getting an error 3! or 4! before even loading kernel, you won't see any ATA CF kernel messages. 3! means "No system" which means /linux not found, and 4! means "Bad system" which means invalid header in /linux. It is a bit strange that you are getting two different errors each time you try booting. This could mean that the BIOS XT-IDE driver is not setup properly on desktop, since the BIOS XT-IDE driver is used to load kernel. That is, the BIOS boot loader loads the boot sector, then the ELKS boot sector uses BIOS INT 13h disk I/O calls to load kernel, and when errors occur 3! or 4! is displayed, or . when no error. If possible, perhaps try building MINIX image rather than DOS FAT image for boot?
Not sure here but since you are sometimes getting MBR empty you may be loading invalid kernel hd.img; there are separate images for MBR kernels, use hd32-minix.img for NO MBR, and hd32mbr-minix.img for MBR image.
I would try with much smaller image, below 65MB.
The MINIX filesystem size limit is 64MB. A simpler approach may be to try using NO MBR image first, since an external system is preparing your MBR images for you, and might not be compatible? If using ELKS-generated MBR images, then this does not apply, as they will work.
In this case for mkfs or mkfat, the blocks are 1K (1024 byte) blocks. I remain a bit confused as to whether you are trying to run on Toshiba T1100 or desktop 286 PC. Thank you! |
Beta Was this translation helpful? Give feedback.











Uh oh!
There was an error while loading. Please reload this page.
-
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