One more patch for Alpha console issues...
Peter Grehan
grehan at freebsd.org
Sun Feb 29 20:55:31 PST 2004
> Any further thoughts?
The problem is that make_dev() calls devlock(), which requires
curthread to be valid to take out a mutex.
The fix is to put the hand-crafting of proc0, thread0 and pcpu
data and mutex_init to be *before* the call to cninit(). This
is why i386 works.
I had the same problem on PPC, and fortunately had the psim simulator
to work out what was going on.
later,
Peter.
More information about the freebsd-alpha
mailing list