Comments (26)
Hello, thanks for the report, yes your screenshots would be appreciated to help.
from elks.
I'd also like to see some screenshots of this crash.
from elks.
oh my i apologize for long response! ok i will photo take with latest version. damn it school!
from elks.
ok photos soon going to compile and make xt boot
here it is!
from elks.
I've exactly the same error on my olivetti PC1! which have no hard disk at all... So this is not an hard disk issue.
from elks.
I'm using the comb_net image
from elks.
same problem with comb image...
from elks.
i amusing comb_net also
from elks.
It is a kernel issue so it will affect all disk images.
from elks.
ah~ ok sorry about my late responce
from elks.
May be you should rename the issue...
from elks.
After seeing the screenshots, what happen is:
- The initialization reaches the point where the whole kernel is set up succesfully, including the floppy and hard disk driver.
- Succesfully forks the task that mounts the root directory and succesfully mounts the root drive.
- The above task attempts to exec the "init" task. At this point the said screenshots were taken.
The exec syscall first tries to find the binary in the disk and this is the point when it fails. In the first
screenshot, attempts to exec "/bin/init", and the reported error 4 is "Sector not found". Then tries to exec "/bin/sh" reporting the same error in the same sector, suggesting that it cannot access even the directory.
Now, the disk driver does not touch the hardware, every thing is done through the int 13h bios interrupt. Further, it only uses the CHS addressing, and never LBA addressing.
I understand that your hardware and disk drive bios are not standard. Also, the needs by ELKS correspond to obsolete hardware. So, does your bios implement what ELKS need?. Is it possible to have a look at the source code of your disk bios?.
from elks.
I've no hard disk on my PC1. Only one floppy drive.
It don't works also with 0.2 version.
The drive sounds bad when it fails (like a bad sector on a floppy), but the floppy drive and the floppy disk are both ok
from elks.
It's strange because we use both all different PC model... all PC compatibles (mine is without any addon card, standard 1987 bios)
from elks.
The error indication is when attempts to access block device 0x380 both on sparky4 and hufon machines (according to screenshots), and this number corresponds to the first floppy disk. So, that is correct.
The screenshots indicate failure when attempting to read sector 34. This corresponds to a 2.88 Mbyte floppy disk with a geometry of 80 tracks, 36 sectors and 2 heads. If this is not your floppy then the driver is failing to detect the geometry of your floppy disk. Is this your case?
from elks.
I've a dd 720Ko floppy disk 80 track, 9 sector, 2 heads. My Floppy drive is dd only and my floppy controller can only handle dd floppy.
So it seems that the floppy driver fails to detect the geometry of my floppy disk.
from elks.
any update?
from elks.
I just noticed that the "pre-set floppy types" menuconfig option is set up to ignore manual input and assume 2.88M drives. @sparky4 what type of floppy drive do you have? 720K, 1.44M?
from elks.
!! on my XT i believe it is a 720k one
from elks.
Looking for the problem I found another bug in the disk driver. I posted the fix for it. Probably this will not solve this issue. Now I suspect the problem begins when mounting the root filesystem. When mounting root, ELKS will print the following:
fd: probing disc in /dev/fd0
fd: /dev/fd0 probably has 18 sectors and 80 cylinders
.....
VFS: Mounted root (minix filesystem)
The number of sectors and cylinders reported may vary, It also may print an error indication.
What prints in your system?
from elks.
I just posted a pull request that might solve this issue. The problem is produced by a weird behavior of the int 13 BIOS with 720K floppies. Please make tests to confirm that the problem is solved.
from elks.
Ok, the problem is solved for me...
Thanks!!!
from elks.
I've another problem (not related) with my CF XTIDE adapter i'll open a new bug
from elks.
ok i will test soon my AC unit got mold and it is hard to test i will pull latest version and test
from elks.
it is defiantly fixed ^^ <3
from elks.
Fixed by #44
from elks.
Related Issues (20)
- Soviet Computer Electronika MC1502 HOT 10
- panic at boot HOT 8
- tools/build.sh failed Undefined symbols for architecture arm64: "_host_hooks" HOT 4
- elf.c:34:18: error: use of undeclared identifier 'LIBELF_ARCH' HOT 5
- 8018X system: bell-8254.c:24:14: error: ‘SPEAKER_PORT’ undeclared HOT 3
- Cannot compile v0.7.0, undefined reference to "hd_drive_map" HOT 6
- Incompatibility with 3inONEder HOT 3
- V25 support HOT 5
- fd_type number mismatch for FD1232 HOT 7
- ELKs rebuilds with no configuration changes HOT 1
- Congratulations and wish list for elks functionality HOT 1
- Net start does not start httpd HOT 1
- ftp not working HOT 4
- Question on return code on create in socket.c HOT 2
- Building/porting ELKS in ROM HOT 19
- Not an issue, but i am willing to donate the intel etherexpress 8/16 network card HOT 8
- [qemu] cannot get network up HOT 6
- PC-98 Build errors HOT 8
- serial 2 ps/2 mouse adapter mouse acts funny HOT 11
- Selecting NANO sockets breaks build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elks.