Subject: Re: smbfs panic
To: Antti Kantee <>
From: Patrick Welche <>
List: current-users
Date: 12/03/2007 17:26:49
On Fri, Nov 30, 2007 at 01:25:35PM +0200, Antti Kantee wrote:
> The actual panic message is also generally helpful, it's not printed
> just to make your screen look cool ;)

In fact my screen was a frozen xdm login screen :-/ Best I could do was
plug in a serial console (yup, xconsole disabled here, and console on
tty00), so I could get a trace - any idea how you would read the panic
message from ddb?

> But luckily it's easy guessing where the thing is going wrong.
> Try smbfs_node.c rev 1.34.  You should be able to trigger the condition
> very quickly by setting kern.maxvnodes low and doing e.g. ls -lR in
> your smbfs.  If this patch doesn't help, let's start investigations with
> the panic message.

and you guessed right. Having panicked it first on purpose, the panic was
Reader / writer lock error: pool_do_put: allocation contains active lock
;-) So all is well...