Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Giant' list of current issues #8

Open
winocm opened this issue Oct 6, 2013 · 3 comments
Open

'Giant' list of current issues #8

winocm opened this issue Oct 6, 2013 · 3 comments

Comments

@winocm
Copy link
Member

winocm commented Oct 6, 2013

Currently, the kernel seems to suck and not suck a lot.

Current issues are:

  • pmap is bad (I'm working on fixing this.)
  • etimer doesn't have a real sense of time, it runs too fast.
  • nothing is synchronized properly.
  • the abort handlers need to handle more cases (like the real iOS kernel) including user faults. The same thing goes for sleh_undef.
  • forking causes the kernel to die.
  • weird weird race conditions need to be fixed.
  • 4.3.5 dyld has issues with vfs, random files appear to be read as null bytes.

If you find anything else, put it in this list and hopefully we can get it fixed.

@winocm
Copy link
Member Author

winocm commented Oct 7, 2013

The new pmap is about 50% done.

@winocm
Copy link
Member Author

winocm commented Nov 8, 2013

The following issues are fixed:

  • pmap is fixed (for the most part.)
  • etimer is less stupid, but still stupid
  • synchronization is now present
  • abort handlers are now fixed (for the most part.)
  • forking does not cause the kernel to die.
  • 4.3.5 dyld works, and so does bash.

@winocm
Copy link
Member Author

winocm commented Jan 10, 2014

The following issues are fixed:

  • pmap is nearly feature complete (some tiny bugs remain.)
  • event timer works properly, matches up to bus/timer Hz rate, see rtclock_bus_configure. Dynamic decrementer set is yet to be implemented properly however.
  • 4.3.5 root filesystem works great, including storage drivers such as AppleOMAPHSMMC+IOStorageFamily.

The following issues remain:

  • The kernel randomly deadlocks after launching a new process.
  • Processes that use 100% of CPU time cause extreme unresponsiveness.
  • UNIX signal handling proper (jumping to __sigtramp and sigreturn).
  • Rooting off a storage device causes a lock up.

The following enhancements remain:

  • Fix inbuilt kxld so that mkexts/kexts can work (if passed from booter in /chosen/memory-map), means that we won't need to use kextcache to build kernelcaches anymore.
  • Power management drivers.
  • SMP support.
  • Various security 'enhancements'.
  • Dtrace/kdebug probes for machine dependent code.
  • Dtrace itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant