[Prev][Next][Index][Thread]

OSKit-Mach - It worked! Was(Re: oskit-mach possible bug)



Hi, I followed your instructions and I got the thing to boot like it
is supposed to! I had to make the asm("cli") modification, and in
order to build "kernel-ide" and "kernel-ide+scsi" I edited the
top level makefile and did "LDFLAGS = -L/usr/local/lib" Anyhow,
I'm pretty darned happy right now, I might have to go out and
buy some beer! This is the furthest I've gotten yet. I can boot
kernel-ide up to the point where it wants to know what the
root partition is.

I guess I better find myself another cheapo ide drive. A small
price to pay. The debugger machine might arrive next week,
so perhaps I'll be able to remote-debug the aic7xxx driver and
figure out whats going on.

Jeroen Dekkers wrote:

>I don't know if it's possible to include only specific drivers. I know
>Roland wrote some code for that, but the last time I tried it didn't
>work. You should really look at the init-%.c target and related things
>in the Makefile.
>
Things I never knew about MIG and still don't... "Mysterious Interface 
Generator"
Actually I do have an old book on Mach which explains MiG somewhat, I may
have to re-read that section a few more times.

>The only problem you could have is that on Debian mig is called
>i386-gnu-mig. You've to do "MIG=i386-gnu-mig ./configure" then,
>without cross-compiling. It's all in the guide.
>
>>>To say it another time: Just don't cross-compile! Read
>>>http://www.etherhogz.org/doc/oskit-mach.html for more information
>>>regarding building those things. The fact that you should not
>>>cross-compile should have been added to it by the time you read
>>>this. :)
>>>
I agree. I did not cross-compile and this is the first time it ever "really"
booted as it is supposed to.

>Hmm, it's easy to make mistakes with the changing Linux
>interfaces. You could try to debug it using remote gdb, Igor has
>written something about that, try searching the mailinglist archive
>and/or google.
>
Yes. So mote it be.

>Please CC: the list next time, especially if you are talking about
>things you are planning to do. We want to avoid double work.
>
>Jeroen Dekkers
>
Sorry, I just forgot to. First email of the day and hadn't had my coffee 
yet.

Once again, thanks for the fantastic help. Your guide worked for me
exceptionally well. That is an extremely helpful document for Hurd,
and I will link to it and cache it on my geocities page if thats allright
with you.

And of course this is all the help with SMP. My system is a dual PII box
which we can use to test the SMP code once I get the debugger going.

- Doug