Loading ...
Sorry, an error occurred while loading the content.

Re: Trouble with Ethernet & NFS (SlugOS unstable)

Expand Messages
  • Thomas Reitmayr
    Hi again, some time ago I reported problems using NFS which look similar to what people saw using Krzysztof s new ethernet driver back when it was introduced.
    Message 1 of 1 , Feb 13, 2008
    View Source
    • 0 Attachment
      Hi again,
      some time ago I reported problems using NFS which look similar to what people saw using Krzysztof's new ethernet driver back when it was introduced. Now I did a clean build of SlugOS/BE 4.9 alpha (without any EABI hack), and I get the same errors using NFS.

      Test 1: Pull a large file from the slug to the PC -> no errors
            (this was giving me errors with kernel 2.6.23.14, will do more testing)

      Test 2: Write many files (~0.1 - 10 MB each) to the slug -> error for ~7% of the files:
            Slug reports: "nfsd: non-standard errno: -14" multiple times

      My configuration:

      * exportfs (on Slug) contains:
        /media/usb_main/public    192.168.1.76(rw,all_squash,async,anonuid=65534,anongid=65534)
        which is located on an ext2-formated HD

      * kernel modules (on slug)
        kernel-module-nfs - 2.6.24+svnr1039-r1 - nfs kernel module
        kernel-module-nfsd - 2.6.24+svnr1039-r1 - nfsd kernel module

      * fstab (on PC) contains:
        nslu2:/media/usb_main/public  /mnt/nslu2_public nfs  noauto,user,rw,async,rsize=32768,wsize=32768,nfsvers=3   0 0

      * WRT54GL sitting between PC and slug, all wired Ethernet.

      I will continue testing with other buffer sizes (rsize/wsize), tcp vs. udp, other file sizes, maybe Samba etc.. Still I wonder if I am the only one experiencing these problems with SlugOS/BE 4.9 alpha.
      Regards,
      -Thomas


      ----- Ursprüngliche Mail ----
      Von: Mike (mwester) <mwester@...>
      An: nslu2-linux@yahoogroups.com
      Gesendet: Sonntag, den 27. Januar 2008, 19:40:23 Uhr
      Betreff: Re: [nslu2-linux] Trouble with Ethernet & NFS (SlugOS/LE unstable)

      Thanks - that'll help me setup to replicate this problem.  (In case anyone
      is interested in the gory details, SlugOS 3.10 used the proprietary Intel
      driver; SlugOS 4.8 uses an open-source driver that was never submitted
      upstream.  The latest "unstable" SlugOS versions (4.9 and beyond) use the
      2.6.23 kernel and a newer open-source driver (Krzysztof's) that has been
      submitted upstream (but is not yet in its final form)).

      Mike (mwester)

      ----- Original Message -----
      From: "Thomas Reitmayr" <treitmayr@...>
      To: <nslu2-linux@yahoogroups.com>
      Sent: Sunday, January 27, 2008 12:23 PM
      Subject: Re: [nslu2-linux] Trouble with Ethernet & NFS (SlugOS/LE unstable)


      Hi,
      I am referring to the driver that right now is used for SlugOS unstable,
      which at least untill a few hours ago used
      openembedded/packages/linux/linux-ixp4xx_2.6.23.14.bb to build (the time I
      compile it).
      From looking at the bb-file's contents, the driver patch is taken from
      svn://svn.nslu2-linux.org/svnroot/kernel/trunk/patches;module=2.6.23

      The file
      http://svn.nslu2-linux.org/svnroot/kernel/trunk/patches/2.6.23/ixp4xx-net-drivers.patch
      tells me it is Krzysztof's driver, not sure if he wrote more than one
      driver, though.

      >
      ipkg list_installed | grep nfs
      kernel-module-nfs - 2.6.23.14+svnr990-r0 - nfs kernel module
      kernel-module-nfsd - 2.6.23.14+svnr990-r0 - nfsd kernel module
      nfs-utils - 1.0.6-r13 - userspace utilities for kernel nfs

      Previously I mostly used the kernel from SlugOS 3.10, which uses the
      proprietary driver. So I cannot say if this is just an issue with 2.6.23.14.

      The NFS export options (in /etc/exports) are
      "rw,all_squash,async,anonuid=65534,anongid=65534"

      -Thomas


      ----- Ursprüngliche Mail ----
      Von: Mike (mwester) <mwester@...>
      An: nslu2-linux@yahoogroups.com
      Gesendet: Sonntag, den 27. Januar 2008, 18:28:10 Uhr
      Betreff: Re: [nslu2-linux] Trouble with Ethernet & NFS (SlugOS/LE unstable)













                  Can you clarify what previous version you refer to?



      There have been three drivers in SlugOS, hence a bit more precision is

      helpful to understand the issue.



      Regards,

      Mike (mwester)



      ----- Original Message -----

      From: "Thomas Reitmayr" <treitmayr@yahoo. com>

      To: <nslu2-linux@ yahoogroups. com>

      Sent: Sunday, January 27, 2008 10:36 AM

      Subject: [nslu2-linux] Trouble with Ethernet & NFS (SlugOS/LE unstable)



      Hi,

      I just compiled SlugOS/LE "unstable" (kenel version 2.6.23.14) with EABI and

      installed it on my slug. The basic features work fine, however NFS shows

      network problems very similar to what I found on the net and what was caused

      by the (back then) somewhat flaky new ethernet driver. Some log entries from

      reading a file from the slug:



      <5>nfsd: recvfrom returned errno 14

      <5>nfsd: recvfrom returned errno 14

      <5>nfsd: recvfrom returned errno 14

      <5>rpc-srv/tcp: nfsd: sent only 2896 when sending 8324 bytes - shutting down

      socket



      Similar messages (mostly with "errno -14") appear when writing files to the

      slug.



      In order to get a hint where to continue hunting down the problem - does the

      bug in the ethernet driver still exist? And if yes, is there a place where

      it is tracked (which I have not found)?

      Thanks,

      -Thomas



      PS: Otherwise EABI works really nice, encoding time for an audio file using

      speexenc dropped from 10.36 s to 1.48 s - a factor of 7!














      <!--

      #ygrp-mkp{
      border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px
      14px;}
      #ygrp-mkp hr{
      border:1px solid #d8d8d8;}
      #ygrp-mkp #hd{
      color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px
      0px;}
      #ygrp-mkp #ads{
      margin-bottom:10px;}
      #ygrp-mkp .ad{
      padding:0 0;}
      #ygrp-mkp .ad a{
      color:#0000ff;text-decoration:none;}
      -->



      <!--

      #ygrp-sponsor #ygrp-lc{
      font-family:Arial;}
      #ygrp-sponsor #ygrp-lc #hd{
      margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
      #ygrp-sponsor #ygrp-lc .ad{
      margin-bottom:10px;padding:0 0;}
      -->



      <!--

      #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean,
      sans-serif;}
      #ygrp-mlmsg table {font-size:inherit;font:100%;}
      #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean,
      sans-serif;}
      #ygrp-mlmsg pre, code {font:115% monospace;}
      #ygrp-mlmsg * {line-height:1.22em;}
      #ygrp-text{
      font-family:Georgia;
      }
      #ygrp-text p{
      margin:0 0 1em 0;}
      #ygrp-tpmsgs{
      font-family:Arial;
      clear:both;}
      #ygrp-vitnav{
      padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
      #ygrp-vitnav a{
      padding:0 1px;}
      #ygrp-actbar{
      clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
      #ygrp-actbar .left{
      float:left;white-space:nowrap;}
      .bld{font-weight:bold;}
      #ygrp-grft{
      font-family:Verdana;font-size:77%;padding:15px 0;}
      #ygrp-ft{
      font-family:verdana;font-size:77%;border-top:1px solid #666;
      padding:5px 0;
      }
      #ygrp-mlmsg #logo{
      padding-bottom:10px;}

      #ygrp-vital{
      background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
      #ygrp-vital #vithd{
      font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
      #ygrp-vital ul{
      padding:0;margin:2px 0;}
      #ygrp-vital ul li{
      list-style-type:none;clear:both;border:1px solid #e0ecee;
      }
      #ygrp-vital ul li .ct{
      font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
      #ygrp-vital ul li .cat{
      font-weight:bold;}
      #ygrp-vital a{
      text-decoration:none;}

      #ygrp-vital a:hover{
      text-decoration:underline;}

      #ygrp-sponsor #hd{
      color:#999;font-size:77%;}
      #ygrp-sponsor #ov{
      padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
      #ygrp-sponsor #ov ul{
      padding:0 0 0 8px;margin:0;}
      #ygrp-sponsor #ov li{
      list-style-type:square;padding:6px 0;font-size:77%;}
      #ygrp-sponsor #ov li a{
      text-decoration:none;font-size:130%;}
      #ygrp-sponsor #nc{
      background-color:#eee;margin-bottom:20px;padding:0 8px;}
      #ygrp-sponsor .ad{
      padding:8px 0;}
      #ygrp-sponsor .ad #hd1{
      font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
      #ygrp-sponsor .ad a{
      text-decoration:none;}
      #ygrp-sponsor .ad a:hover{
      text-decoration:underline;}
      #ygrp-sponsor .ad p{
      margin:0;}
      o{font-size:0;}
      .MsoNormal{
      margin:0 0 0 0;}
      #ygrp-text tt{
      font-size:120%;}
      blockquote{margin:0 0 0 4px;}
      .replbq{margin:4;}
      -->








            __________________________________ Ihr erstes Fernweh? Wo gibt es den
      schönsten Strand? www.yahoo.de/clever





      Yahoo! Groups Links

      <*> To visit your group on the web, go to:
          http://groups.yahoo.com/group/nslu2-linux/

      <*> Your email settings:
          Individual Email | Traditional

      <*> To change settings online go to:
          http://groups.yahoo.com/group/nslu2-linux/join
          (Yahoo! ID required)

      <*> To change settings via email:
          mailto:nslu2-linux-digest@yahoogroups.com
          mailto:nslu2-linux-fullfeatured@yahoogroups.com

      <*> To unsubscribe from this group, send an email to:
          nslu2-linux-unsubscribe@yahoogroups.com

      <*> Your use of Yahoo! Groups is subject to:
          http://docs.yahoo.com/info/terms/




      Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail.
    Your message has been successfully submitted and would be delivered to recipients shortly.