Subject: Re: smbfs panic
To: Antti Kantee <>
From: Patrick Welche <>
List: current-users
Date: 12/05/2007 16:00:35
On Tue, Dec 04, 2007 at 03:57:34PM +0200, Antti Kantee wrote:
> On Tue Dec 04 2007 at 13:11:59 +0000, Patrick Welche wrote:
> > I didn't think I would have an opportunity to try this so soon - sadly
> > before I read your message, but I seem to have extracted something:
> > (4.99.39/i386 of Dec 3 15:51 GMT, happened during /etc/daily)
> Well, I don't really know smbfs at all.  But if I were to hazard a very
> quick guess, it looks like the connection is dying while there is an
> outstanding request.  The cleaner is then going through all outstanding
> requests to clean them up and finds one request in an unexpected state
> (without a callout) and therefore panics.
> Try this.  But I'll only commit it if you can make the panic repeatable
> and find no other ill effects.  Try e.g. ifconfiging your interface down
> while making smbfs requests.  If it doesn't fix it, file a PR with this
> analysis and hope someone who understands the smb code takes interest.
> .. Or use the FUSE smbfs.  I promise to fix all kernel crashes due to
> using it ;)

All is well once again: I could reproduce the problem with and without
your patch, but not with today's source :-) I'll leave a few shares
mounted for daily to chew on tonight, but so far so good...

Best wishes,