LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-25-2010, 04:37 PM   #31
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908

It shouldn't be either/or; it should be both. That is why I suggested ethernet-level diagnostics. Have you looked at dmesg? You may find error messages reported by the ethernet driver there.

--- rod.
 
Old 11-30-2010, 03:57 AM   #32
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Yes, those CIFS errors came from dmesg.

I had a few of these in dmesg, but the last line is where we're at right now:

Code:
[69535.932385] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[70076.655122] e1000: eth1 NIC Link is Down
[70078.991386] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[70085.090117] e1000: eth1 NIC Link is Down
[70087.381384] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
(mods: I reported this to be moved a few days ago... can someone please move it back to its original forum?)
 
Old 11-30-2010, 06:12 AM   #33
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by punt View Post
(mods: I reported this to be moved a few days ago... can someone please move it back to its original forum?)
Please accept my apology for the delay. We are experiencing a heavier than usual call volume. Your re-move will be made as soon as one becomes available. Thank you for your patience.
 
Old 11-30-2010, 06:37 AM   #34
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Woops, wrong subforum.
 
Old 11-30-2010, 06:54 PM   #35
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Thanks for moving...

Can someone with perhaps some server knowledge let me know why my CIFS mounts are failing? I'm not sure if it's an Ethernet issue, and I'm open to figuring this out, since as you may see in my message -- code is failing. It's not a code issue though.
 
Old 11-30-2010, 07:25 PM   #36
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The code is not working, but you can solve your problem by fixing the network. Start by dis-connecting and re-connecting, one at a time and retesting for errors, all cables that touch the path between the hosts involved. If the ethernet interface is removable, remove it, and re-insert it (power down while replacing cards). Power cycle all elements that touch the path between the devices involved. If possible, re-arrange components like switches and hubs, and see if the fault follows one of them. Try different, known-good components of all sorts, if possible. Look for cables that may have been damaged by heat, physical damage such as rodent bites, kinks and knots, scrapes and abrasion. If cables have been coiled up into neat rolls, undo those as it may be nicer looking, but can hamper performance. Try to reduce the scope of the network to only the hosts that are misbehaving. It may be that the fault exists with another device on the network, and neither of the hosts that exhibit the symptoms. Be systematic; make one or two changes at a time, only. If the problem goes away, you want to know which thing was involved.
The problem does not seem to be a CIFS issue, as the network interface itself is going down and up. Is it possible that the driver is the wrong one? There are a few Intel e1000-like drivers. Its possible that the installed driver supports a subset of what is required to make the hardware function correctly.

--- rod.
 
Old 11-30-2010, 10:15 PM   #37
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
@theNbomr - this isn't a complex setup. There's one cable from both machines and they each go directly into a relatively new hub. These are personal boxes, not a complex server setup.

The code has been working and is "final" since 2004. I know it's "out of date" by our standards but I'm pretty sure that it's not a code issue. To be even clearer since I apparently missed this point, this problem only began when I upgraded my CIFS machine from Windows XP to Windows 7, since I never seemed to have experienced this when running on Windows XP, at least not to my awareness. No network cables were harmed in the upgrade of my machine. It's a Windows 7 issue/mount problem if anything, not a coding issue. Or so I'm convinced -- because all signs point to that. Shrug. Maybe I'm wrong, but I don't really know.

According to dmesg, the NIC is currently stable and nothing has been altered. Still, it's not working. Sometimes it does, and sometimes it doesn't, but lately it doesn't.

Code:
[70087.381384] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
As far as the driver, I'm open to trying, but this was an auto-detection and installation, so should I assume Fedora selected the wrong driver? Again, the driver and Linux box haven't been touched; the only thing that was changed was an upgrade to Windows 7.

Last edited by punt; 11-30-2010 at 10:18 PM.
 
Old 12-01-2010, 03:55 PM   #38
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
I guess this is where nobody has the answers
 
Old 12-01-2010, 04:32 PM   #39
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by punt View Post
It's a Windows 7 issue/mount problem if anything, not a coding issue.
You seem to have the answer already.

--- rod.
 
Old 12-01-2010, 07:29 PM   #40
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by theNbomr View Post
You seem to have the answer already.

--- rod.
And I'm asking for a solution. Tips?
 
Old 12-02-2010, 12:36 PM   #41
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Okay, trying again.

Does anyone know why a Windows 7 mount via CIFS on a Linux (Fedora 14) box would fail being acknowledged as a valid mount? There are no problems reading, writing, or executing files. The problem is the way the OS sees the mount. Information is in the messages above and the pages preceding, since I haven't really gotten anywhere....

....go!
 
Old 12-02-2010, 12:56 PM   #42
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by punt View Post
Yes, it's a Win7 box. I'm not sure how to repeat this test elsewhere, and Windows is where I intend to be running this so it needs to work... and it did when I had XP (to my awareness???). I recently upgraded to Win7.
Maybe this would be something already considered, but is it possible the answer (or more precisely, the problem) lies in the above snippet?

I don't use Windows and have never used 7 at all, ever, and haven't ever used CIFS (or Fedora for that matter!) so I don't follow how well MS stuff is working generally. But, would it be possible to test this situation with an XP machine in place of the Win7 machine, and see if the problem goes away?
 
Old 12-02-2010, 05:41 PM   #43
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by GrapefruiTgirl View Post
Maybe this would be something already considered, but is it possible the answer (or more precisely, the problem) lies in the above snippet?

I don't use Windows and have never used 7 at all, ever, and haven't ever used CIFS (or Fedora for that matter!) so I don't follow how well MS stuff is working generally. But, would it be possible to test this situation with an XP machine in place of the Win7 machine, and see if the problem goes away?
Yeah, I guess I could. I guess I'm not fully clear on the problem, and was wondering if it was just me using Windows 7 or if it's a little more complicated.

Questions could be:
* Is it my specific Windows 7 installation?
* Is there something wrong with Windows 7 in general?
* And the more obvious contender that you suggested: is it just generically XP vs. Win7? (which is related to the aforementioned questions)
* etc.

That's kind of where I was headed -- I appreciate that, and that's easier to test. I'll probably try a few things to see if I get anything from this.

TY!
 
Old 12-02-2010, 05:56 PM   #44
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Okay, hmm, oddly it's not working on the XP machine either or a second Windows 7 machine that I tested. Maybe I just missed this all around...

So I'm still at the point where the OS is not seeing these valid directories as directories, and yet different results are being seen when running code that has OS calls. It will show the proper "d" (directory) designation when running ls -la, though.

Are there any other things I should try? Right now, the network seems to be fine, so I'm not sure that's a problem I should explore, and there were no CIFS errors in dmesg when I ran the tests.

Last edited by punt; 12-02-2010 at 06:07 PM.
 
Old 12-04-2010, 11:50 PM   #45
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
hmmmmm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount.cifs failing with "Required key not available" error luvshines Fedora 3 12-13-2011 01:48 AM
Copying files and sub-directories of a directory except the directories named ".abc" sri1025 Linux - General 2 08-24-2010 08:53 AM
fc7/apache - cannot access directories only "directory/index.php" debarros Linux - Server 14 01-14-2008 06:39 AM
Is this "system integrity test" really valid Bruce Hill Linux - Security 2 03-22-2005 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration