Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: BSOD when connected to Linux Samba share

31 Oct 2009   #11
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by sargue View Post
What worries me is that few people seem to have this problem which is quite severe (BSOD!). And you say any of your Win7 have it. It's probably environmental as you say, but then... how can I know? Where to start? I suppose I can only wait to see a fix...
Personally, I would test what happens with a "vanilla" install, probably by installing an unactivated copy of Windows in a virtual machine and using that to test. The point of the exercise would be to rule out as many environmental factors as possible.

Should such a VM exhibit the same crash, I'd be tempted to call up MS and say "hey, I think I've found a way to crash your OS, so you'll probably want to take a look."

It's not a privilege elevation vulnerability, and it presumably doesn't happen when working with "real" Windows SMB servers, so I doubt they'll lose any sleep over it. However, if you manage to get through to the right person, you may just be able to get something accomplished sooner rather than later.

Hint: the "right person" will be the one who asks for a memory dump within the first few questions. All the others beforehand are merely running interference.


My System SpecsSystem Spec
.
02 Nov 2009   #12
sargue

Windows 7
 
 

Quote   Quote: Originally Posted by H2SO4 View Post
No. Vanilla means absolutely nothing that's not on the Windows disc. It doesn't mean that they won't troubleshoot it, but it does mean you can't be sure at this point whether the problem is "in Windows", or in one of those other drivers or updates.
Done it. Really vanilla install. During installation I even say "no" to windows update. As I got to the desktop I connect my network share and access it to install the graphics driver. Bum! BSOD.

What it seems, well, interesting is if I just copy files between local disk and share it seems hard to hang the system. But just trying to execute the installer blows it up. Weird.

I will try to reach Microsoft but I doubt about it usefulness. At least here in Spain.
My System SpecsSystem Spec
02 Nov 2009   #13
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by sargue View Post
Quote   Quote: Originally Posted by H2SO4 View Post
No. Vanilla means absolutely nothing that's not on the Windows disc. It doesn't mean that they won't troubleshoot it, but it does mean you can't be sure at this point whether the problem is "in Windows", or in one of those other drivers or updates.
Done it. Really vanilla install. During installation I even say "no" to windows update. As I got to the desktop I connect my network share and access it to install the graphics driver. Bum! BSOD.

What it seems, well, interesting is if I just copy files between local disk and share it seems hard to hang the system. But just trying to execute the installer blows it up. Weird.

I will try to reach Microsoft but I doubt about it usefulness. At least here in Spain.
Congratulations! Given the vanilla install, it is very likely that you and the OP have found a legit "bug" in the win7 SMB redirector, especially if your crash happens in the exact same location as the one highlighted by the OP.

My only advice regarding interaction with support is to keep it as simple as possible until you get through to somebody who asks you for a dump in their first few questions.

"It happens on a 'vanilla' install" - as in "I don't have anything non-MS which you could ask me to deactivate".

"It has persisted across multiple OS reinstallations" - as in "don't bother asking me to reinstall bacause I've already done it multiple times."

"I think this will require 'debugging'" - as in "let me speak to an adult please."

It's entirely possible that their reporting telemetry has already flagged the presence of a likely bug, and that they'll have additional problem reports along the same lines. Perhaps there's already a solution in the form of a hotfix, although a cursory search of the MS KB doesn't find any rdbss-containing Win7 hotfixes yet.

Out of personal curiosity, could you please upload a minidump? I'd love to take a look.
My System SpecsSystem Spec
.

03 Nov 2009   #14
sargue

Windows 7
 
 

Well I think I have good news. And is not thanks to Microsoft.

I've been asking in a few forums incluing Microsoft Answers. A reply there directed me to a page (I don't have it right now) with talk about an authentication issue. I checked my samba logs which had quite some entries like this one:

[2009/11/02 20:31:46, 1] smbd/service.c:1047(make_connection_snum)
192.168.1.2 (192.168.1.2) connect to service sargue initially as user sargue (uid=1000, gid=1000) (pid 5687)
[2009/11/02 20:31:56, 1] smbd/service.c:676(make_connection_snum)
create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD

The first line is the connection. The second... the BSOD.

So I thought: "hey, perhaps I can try different authentication mechanisms". So I checked my samba config and the man page. I had "security = share" which seems to be a rather old way to work. The preferred one (and the current default in Samba 3) is "security = user". So I changed that.

And it works.

That would explain, more or less, why few people have found it. There should be few samba servers still with "security = share". Anyway, time will tell. I'm writing this from my Win7 while transferring 18 GB of files... fingers crossed!

I attach the minidump anyway for possible investigation.

And I hope this helps other people! I will tell any forum I've posted to link here for the solution. Let's spread it. And I hope Microsoft releases a patch anyway.

Thanks!
My System SpecsSystem Spec
03 Nov 2009   #15
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by sargue View Post
Well I think I have good news. And is not thanks to Microsoft.
It's only "good news" for you. Think about the poor Microsoft kernel developer who now has to live with the stigma of having created code which can be crashed with a particular setting in samba.conf

In all seriousness, I'm glad that you appear to have found a workaround which works for you, even though the problem in the Win7 net stack remains. I'd still urge you to contact MS with those dumps. They may end up being very grateful, especially if nobody else has highlighted the problem and this workaround.
My System SpecsSystem Spec
06 Nov 2009   #16
sargue

Windows 7
 
 

Quote   Quote: Originally Posted by H2SO4 View Post
In all seriousness, I'm glad that you appear to have found a workaround which works for you, even though the problem in the Win7 net stack remains. I'd still urge you to contact MS with those dumps. They may end up being very grateful, especially if nobody else has highlighted the problem and this workaround.
I tried. I mean, I always send the minidumps. But I tried to contact MS. No luck. Seems we don't have here (Spain) tech phone support. I've been redirected to a website form which I sent several days ago... with no answer.

Why did that not surprise me?
My System SpecsSystem Spec
10 Feb 2010   #17
MJoergen

Windows 7
 
 

Thanks! I've been having the exact same problems. Tried a clean vanilla install, but still BSOD when executing files directly from a samba share. Changed the samba configuration, and no more BSOD!

So, thanks again. I'm impressed by these online communities, where we can help each other.

-Michael.
My System SpecsSystem Spec
31 May 2010   #18
matteo

Windows 7 64 bit
 
 
MAny devices out there with security=share

Windows 7 64 bit is quite impossible to use if you have a NAS, a media center, a router with samba sharing capabilities and so on.
Many of them use no password and you cannot access their settings.
So BSOD a go go!
My System SpecsSystem Spec
17 Jun 2010   #19
NathanP

Win7 Enterprise x64
 
 

Hey guys, just wondering if there's been any movement on this issue. At the company I work for I'm part of a pilot project for a Win7 rollout and we make heavy use (heavy meaning tens of TBs of seismic data) of Samba for data sharing between Linux (RHEL4) and Windows. At the moment I'm seeing the BSOD problem on my machine and if it's widespread it could be a big problem. My smb.conf is set to security = ads, since we use active directory for our Linux authentication and it's all hooked up together.

Would appreciate any ideas you might have.

Thanks,

-Nathan
My System SpecsSystem Spec
18 Jun 2010   #20
pete

Windows 7
 
 

Try looking at this link [Solved] Windows 7 and Samba Issue - windows-7
Setting NTLM options on my machine fixed the BSOD, although Win7 should
not die just because of a network security configuration.
My System SpecsSystem Spec
Reply

 BSOD when connected to Linux Samba share




Thread Tools




Similar help and support threads
Thread Forum
Wireless win7 can't access wired linux samba share
I just setup a samba server on a linux box I have in another room. My laptop (Win 7 Home premium) is on wireless and can't access the share. In my living room I have a wireless router which sends internet wirelessly to my bedroom where my linux box is. That room has another wireless router which...
Network & Sharing
Please help with using Samba shared from a Linux host
Dear friends, please bear with my ignorance. I have to run a Windows 7 virtual machine under KVM on a Linux Ubuntu 12.10 64 bit host to run MS Office 2013. I have printers defined on the Linux host and would like to have the Win7 guest to "see" them. I have therefore setup a samba server on...
Network & Sharing
Samba Share Networkmounting as X,Y,Z works, \\Share\mount not
Dear admins, power users etc. The last 36h hours i spend googling my problem but couldn't get any help to solve this issue. I have multiple Windows 7 machines (32bit and 64 bit) at home. One machine shows my samba share in the network environment and i can access it via double click...
Network & Sharing
laptop cannot see linux server running samba on the same network
Hi, I'm setting up home media server. At least trying to... My home network looks like this: 2 laptops (ubuntu/windows7) and a home server (ubuntuServer + Samba). I've samba setup in a way to provide password-less access to share folders. I secured it by blocking all IPs but the range I...
Network & Sharing
Linux Samba fil sharing issue
Hi It seems that Seven doesn't like a lot file sharing with a linux file server using Samba. That was allready the case with Vista but samba get up to date, and some issues where fixed. Now I would know if some here have issues with Seven. If yes can you please give some details:...
Network & Sharing
Can't connect to samba share
I'm trying to connect to a samba share hosted on OS X 10.4. The connection works fine, using my domain account to logon when using Windows XP (in fact, it automatically uses my domain credentials). However, if I try to use Windows 7 to connect, I get an access denied error, saying my...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App