Re: 2.0.30+pre2 Oops with smbfs

Mark Cooke (
Fri, 1 Aug 1997 17:04:06 +0100 (BST)

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to for more info.

Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <>

Hello Bill,

On Fri, 1 Aug 1997, Bill Hawes wrote:

> Mark Cooke wrote:
> > I have been using 2.0.30+pre2 for 70odd days before the following oopses
> > preceeded a hard lockup. Today I'd added an smbfs mount (for the first
> > time with pre2) to an NT4.0 SP3+all hot fixes machine.
> >
> > After the reboot, I remounted the smbfs share and almost immediately had
> > another oops.
> I took a look at the smbfs code and found a few possible race
> conditions, so hopefully the attached patch will help your problem.

Okay. I'm recompiling these as I write this and will let you know how
things turn out. I had another hard lockup, so I compiled smbfs into the
kernel in the meantime, along with some other patches. It seems stable
enough now (no oopses), but I'll check out these patches and see if I can
do some stress tests on this code.

Many thanks,


Patches for the my current kernel:

Aug 1 12:08:22 pc12 kernel: Linux Page Cache Swapper (Werner Fink)
Aug 1 12:08:22 pc12 kernel: Linux clear_inode race (Bill Hawes)
Aug 1 12:08:22 pc12 kernel: Linux kswapd Init Fix (Erik Andersen)
Aug 1 12:08:22 pc12 kernel: Linux Patch Printer (Henning Schmiedehausen)
Aug 1 12:08:22 pc12 kernel: Linux 2.0.31 Pre-Patch 2 (David S. Miller)

Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: