Subject: Re: CVS commit: src/sys/arch/macppc/dev
To: Michael Lorenz <macallan@netbsd.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 11/19/2007 23:23:03
On Mon, Nov 19, 2007 at 05:54:56PM -0500, Michael Lorenz wrote:
> Not sure if that was the purpose but even with this I still get
> deadlocks when opening a zs on SMP. Any idea what to look for? So far
> I couldn't even figure out where exactly the deadlock occurs.
Is there a head on this machine? Have you tried with a LOCKDEBUG kernel? Not
much use if there is only a serial port as console, though. The only major
change is that the driver now uses a mutex where before it used simple_lock
+ splzs. Can you double check that IPL_TTY is actually enough to block the
serial interrupt? If it's not, it will deadlock pretty quickly.
Thanks,
Andrew