Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2004 14:57:46 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Ken Smith <kensmith@cse.Buffalo.EDU>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: One more patch for Alpha console issues...
Message-ID:  <4042C2CA.8020104@freebsd.org>

index | next in thread | raw e-mail

 > 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.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4042C2CA.8020104>