Re: Linux drivers in gnumach
Daniel Wagner schrieb am Dienstag, den 22. August 2000:
> > If someone doesn't mind working with me on this, I'll get th e
> > instructions posted up on the hurddocs site. I also would like e
> > to updat e
> If you don't mind I help you. Fortunately, I can do remote debugging
> on oskit-mach so I hope I get some useful information from there.
I managed to get oskit-mach booting. It seems that it depends on the
processor itself, but I'm not an expert. Well this is what was needed
to get it working:
--- oskit-mach.old/i386/intel/pmap.c Fri Nov 26 00:15:42 1999
+++ oskit-mach/i386/intel/pmap.c Tue Aug 29 21:49:29 2000
@@ -670,8 +670,8 @@
* The processor supports the "global" bit to avoid flushing
* kernel TLB entries, if we turn it on.
- set_cr4 (get_cr4 () | CR4_PGE);
- kernel_pte_global = INTEL_PTE_GLOBAL;
+ /* set_cr4 (get_cr4 () | CR4_PGE); */
+ /* kernel_pte_global =
(the kernel crashed regulary at 'set_cr4(...)'.)
How do I get the debugger symbols compiled in in oskit-mach. If I turn
on '--enable-debug' no '-g' flag is setted. I had to add the flags
manualy. I don't think this is the right way to do it.
GnuPG: 1024D/DCDE890A (public key available on any keyserver)