Fedora Linux Support Community & Resources Center
  #1  
Old 28th May 2004, 10:45 AM
xme Offline
Registered User
 
Join Date: Mar 2004
Location: Brussels / .be
Age: 40
Posts: 19
smbmount & FC2

Since I upgraded from FC1 to FC2, smbmount generates kernel error and freeze:

May 28 11:21:24 moove kernel: smb_lookup: find //.Trash-xavier failed, error=-5
May 28 11:21:24 moove kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
May 28 11:21:24 moove kernel: printing eip:
May 28 11:21:24 moove kernel: 00000000
May 28 11:21:24 moove kernel: *pde = 00000000
May 28 11:21:24 moove kernel: Oops: 0000 [#1]
May 28 11:21:24 moove kernel: CPU: 0
May 28 11:21:24 moove kernel: EIP: 0060:[<00000000>] Not tainted
May 28 11:21:24 moove kernel: EFLAGS: 00010246 (2.6.5-1.358)
May 28 11:21:24 moove kernel: EIP is at 0x0
May 28 11:21:24 moove kernel: eax: 0a0b0d80 ebx: 1571a790 ecx: 0214edcd edx: 12fbefa0
May 28 11:21:24 moove kernel: esi: 20e7c024 edi: 033dcf80 ebp: 0a0b0d80 esp: 12fbef14
May 28 11:21:24 moove kernel: ds: 007b es: 007b ss: 0068
May 28 11:21:24 moove kernel: Process nautilus (pid: 2644, threadinfo=12fbe000 task=12d1ad30)
May 28 11:21:24 moove kernel: Stack: 22a1e976 12fbef38 00000000 20e7c000 14f12054 20ef9e18 1aa11080 0214edcd
May 28 11:21:24 moove kernel: 12fbefa0 00000000 01c06dd1 0a0b0d80 00000000 00000000 20e7c000 00000002
May 28 11:21:24 moove kernel: 00000000 00000000 00000001 00000004 00000246 22a26020 20ef9e80 0a0b0d80
May 28 11:21:24 moove kernel: Call Trace:
May 28 11:21:24 moove kernel: [<22a1e976>] smb_readdir+0x346/0x3f1 [smbfs]
May 28 11:21:24 moove kernel: [<0214edcd>] filldir64+0x0/0x12e
May 28 11:21:24 moove kernel: [<0214eaba>] vfs_readdir+0x7a/0x9b
May 28 11:21:24 moove kernel: [<0214edcd>] filldir64+0x0/0x12e
May 28 11:21:24 moove kernel: [<0214ef60>] sys_getdents64+0x65/0xaa
May 28 11:21:24 moove kernel: [<0214e26c>] generic_file_fcntl+0xd7/0x140
May 28 11:21:24 moove kernel:
May 28 11:21:24 moove kernel: Code: Bad EIP value.

I upgraded to the latest RPMS, same problem (3.0.5pre1-1)

Any idea?
__________________
#include <signature.h>
Reply With Quote
  #2  
Old 28th May 2004, 01:05 PM
deuch Offline
Registered User
 
Join Date: Apr 2004
Location: France
Age: 34
Posts: 340
did you check your samba config ????
Reply With Quote
  #3  
Old 24th July 2004, 02:26 AM
sfeek Offline
Registered User
 
Join Date: Jul 2004
Posts: 2
I have the exact same problem!
Reply With Quote
  #4  
Old 24th July 2004, 03:58 AM
sfeek Offline
Registered User
 
Join Date: Jul 2004
Posts: 2
Here is the work around. From what I have researched it is a race condition in nautilus that causes the hang. Do this until the bug is fixed

killall -STOP nautilus
mount -t smbfs //server/share /mnt/network -o username=jdoe
killall -CONT nautilus

Works good for me!
Reply With Quote
  #5  
Old 5th September 2004, 01:49 PM
greenleaf's Avatar
greenleaf Offline
Registered User
 
Join Date: Sep 2004
Posts: 38
http://www.fedoraforum.org/forum/sho...02&postcount=2

I had similar trouble with samba, and I solved after reading many threads here. Above thread explains my solution.

__________________
Using VMWARE virutual PC to eval Fedora Core 2 :)
Reply With Quote
  #6  
Old 7th September 2004, 02:35 PM
greenleaf's Avatar
greenleaf Offline
Registered User
 
Join Date: Sep 2004
Posts: 38
I confirmed your work around is GOOD

Quote:
Originally Posted by sfeek
Here is the work around. From what I have researched it is a race condition in nautilus that causes the hang. Do this until the bug is fixed

killall -STOP nautilus
mount -t smbfs //server/share /mnt/network -o username=jdoe
killall -CONT nautilus

Works good for me!
Your work around is tested with my FC2-x86-64 on Opetron.
My earier test shows that specifying fmask & dmask in the mounting command helps, but the repeatability is not very consistant as I subsequently found out.

Anyone with more details to add?
__________________
Using VMWARE virutual PC to eval Fedora Core 2 :)
Reply With Quote
  #7  
Old 11th November 2004, 08:02 AM
JayemdaeT Offline
Registered User
 
Join Date: Nov 2004
Location: San Diego, CA
Posts: 6
Talking Nice and tidy work around

Quote:
Originally Posted by sfeek
Here is the work around. From what I have researched it is a race condition in nautilus that causes the hang. Do this until the bug is fixed

killall -STOP nautilus
mount -t smbfs //server/share /mnt/network -o username=jdoe
killall -CONT nautilus

Works good for me!
I use the following which may help those who want to automate this more. I created a file in /etc/samba called auth.smb and did a 'chmod 600 auth.smb'. You can type your user name and password in the file like so:

username = smith
password = whateveryourpasswordis

then open a new text file somewhere (i named mine mount-remote, but you can call it whatever) and chmod it like so: 'chmod a+x mount-remote'

type the following into the mount-remote (or whatever you named it) file:

killall -STOP nautilus
mount -t smbfs //server/share /mnt/network -o credentials=/etc/samba/auth.smb
killall -CONT nautilus

Save it and run it like an executable! (be aware you may need to be root)
Reply With Quote
Reply

Tags
fc2, smbmount

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F5: Where is smbmount gone????? khamis Using Fedora 6 15th August 2006 08:22 PM
How to use SMBMount? siegfried Installation and Live Media 10 22nd November 2005 07:22 AM
smbmount failure orliville Servers & Networking 5 28th June 2005 02:43 PM
Can't use smbmount climbingrose Using Fedora 2 5th September 2004 01:48 PM


Current GMT-time: 12:02 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat