View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: MTU problems on frontend
PostPosted: Tue May 08, 2007 2:11 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I changed one of my frontends over to a Debian etch box, using the netinstall CD with ratpoison lirc-0.8.1 NVIDIA-1.0-9746 video driver the mythtv-frontend libmyth-0.20 libmyth-0.20-dev mythcontrols mythgallery mythmusic mythnews mythtv-common mythtv-themes mythvideo mythweather packages from the Marillat stable repository (SVN 2007-02-23). This is FE #1 if you follow the link in my signature. I'm happy to say that everything works great, but I am unable to connect to my master backend when I use jumbo fames. This did work when this box was KM R5C7 w/mythtv-0.20-fixes compiled from SVN.

Here's my network overview:

MBE, FE#1, FE#2 --> Netgear GS108 gigabit switch (supports jumbos up to 9000). Also connected to the GS108 is my Buffalo WBR-G54 router with my broadband DSL modem attached to the Buffalo.

MBE --------> |
FE#1 -------> | GS108 | ----- Buffalo WBR-G54 ----- DSL Modem
FE#2 -------> |

I use Cat6 ethernet cable between them all. The Buffalo also provides wi-fi access to my Etch laptop. I followed graysky's instructions on jumbo frames to enable them. My MBE and FE#2 support jumbos up to 9000, but the NIC in my shiny new Etch frontend only supports up to 7200, so I have all my mythtv gear set up with a MTU of 7200.

FE#1 -- problematic jumbos (Encore ENLGA-1320 10/100/1000 GigLAN)
Code:
mythtv@mythbox-rfe-1:~$ lspci | grep Ethernet
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)


FE#2 (Intel Pro Desktop 10/100/1000 GigLAN)
Code:
mythtv@mythbox-rfe-2:~$ lspci | grep Ethernet
02:06.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)


MBE -- It has dual on-board LAN, but only eth0 is used.
Code:
mythtv@mythbox:~$ lspci | grep Ethernet
01:0a.0 Ethernet controller: Intel Corporation 82541EI Gigabit Ethernet Controller
01:0b.0 Ethernet controller: Intel Corporation 82541EI Gigabit Ethernet Controller


A MTU setting of 1500 on FE#1 works, but when I set it to 4000 or 7200, I lose my connection to the MBE. (The Backend Server Has Gone Away for Some Reason... Is Your IP Address Set Up Correctly?) All the while I can ping the MBE.

Here's the /etc/network/interfaces file from FE#1:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.11.6
        netmask 255.255.255.0
        network 192.168.11.0
        broadcast 192.168.11.255
        gateway 192.168.11.1
        #mtu 4000
        #mtu 7200
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.11.1
        dns-search hanson

/etc/resolv.conf from FE#1
Code:
search hanson
nameserver 192.168.11.1

The above two files were automaticly generated by the Debian Installer, except the commented out mtu lines which I added. I tried to comment out
Code:
allow-hotplug
and add
Code:
eth0
to the auto line, but that did not solve my problem. I can ping my MBE and FE#2 with the jumbos set to 4000 or 7200 on FE#1, but I can see I'm getting MythSocket errors in my frontend log when I try to view my recordings.

This is with /usr/bin/mythfrontend -v network
Code:
2007-05-07 20:57:18.641 XMLParse::LoadTheme using /usr/share/mythtv/themes/Retro/ui.xml
2007-05-07 20:57:19.040 Connecting to backend server: 192.168.11.4:6543 (try 1 of 5)
2007-05-07 20:57:19.042 write -> 15 21      MYTH_PROTO_VERSION 31
2007-05-07 20:57:19.043 read  <- 15 13      ACCEPT[]:[]31
2007-05-07 20:57:19.043 Using protocol version 31
2007-05-07 20:57:19.043 write -> 15 27      ANN Monitor mythbox-rfe-1 0
2007-05-07 20:57:19.051 read  <- 15 2       OK
2007-05-07 20:57:19.052 write -> 14 27      ANN Monitor mythbox-rfe-1 1
2007-05-07 20:57:19.054 read  <- 14 2       OK
2007-05-07 20:57:19.055 write -> 15 21      QUERY_RECORDINGS Play
2007-05-07 20:57:49.062 MythSocket(b28ad840:15): readStringList: Error, timeout.
2007-05-07 20:57:49.062 Connection to backend server lost
2007-05-07 20:57:49.063 Connecting to backend server: 192.168.11.4:6543 (try 1 of 5)
2007-05-07 20:57:49.064 write -> 15 21      MYTH_PROTO_VERSION 31
2007-05-07 20:57:49.064 read  <- 15 13      ACCEPT[]:[]31
2007-05-07 20:57:49.064 Using protocol version 31
2007-05-07 20:57:49.065 write -> 15 27      ANN Monitor mythbox-rfe-1 0
2007-05-07 20:57:49.067 read  <- 15 2       OK
2007-05-07 20:57:49.067 MythSocket(b2852570:15): writeStringList: Error, invalid string list.
2007-05-07 20:58:19.071 MythSocket(b2852570:15): readStringList: Error, timeout.
2007-05-07 20:58:19.072 Reconnection to backend server failed

If I reset the mtu to 1500, it works as seen below.
Code:
# ifconfig eth0 mtu 1500

Code:
2007-05-07 20:59:16.879 XMLParse::LoadTheme using /usr/share/mythtv/themes/Retro/ui.xml
2007-05-07 20:59:17.103 Connecting to backend server: 192.168.11.4:6543 (try 1 of 5)
2007-05-07 20:59:17.103 write -> 15 21      MYTH_PROTO_VERSION 31
2007-05-07 20:59:17.104 read  <- 15 13      ACCEPT[]:[]31
2007-05-07 20:59:17.104 Using protocol version 31
2007-05-07 20:59:17.105 write -> 15 27      ANN Monitor mythbox-rfe-1 0
2007-05-07 20:59:17.107 read  <- 15 2       OK
2007-05-07 20:59:17.108 write -> 15 21      QUERY_RECORDINGS Play
2007-05-07 20:59:17.209 read  <- 15 32465   58[]:[]Frontline[]:[]Is Wal-Mart Good for America?[]:[]Economists...
2007-05-07 20:59:17.459 write -> 15 597     QUERY_PIXMAP_LASTMODIFIED[]:[]Everybody Hates Chris[]:[]Everybody...
2007-05-07 20:59:17.466 read  <- 15 23      Mon May 7 20:30:33 2007
2007-05-07 20:59:17.474 write -> 18 28      ANN Playback mythbox-rfe-1 0
2007-05-07 20:59:17.478 read  <- 18 2       OK
2007-05-07 20:59:17.479 write -> 19 67      ANN FileTransfer mythbox-rfe-1 0 0[]:[]/1051_20070507200000.mpg.png
2007-05-07 20:59:17.494 read  <- 19 25      OK[]:[]29[]:[]0[]:[]23455
2007-05-07 20:59:17.495 write -> 18 49      QUERY_FILETRANSFER 29[]:[]REQUEST_BLOCK[]:[]23455
2007-05-07 20:59:17.499 read  <- 18 5       23455
2007-05-07 20:59:17.499 Read(): reqd=23455, rcvd=23455, rept=23455, error=0
2007-05-07 20:59:17.500 write -> 18 30      QUERY_FILETRANSFER 29[]:[]DONE
2007-05-07 20:59:17.500 read  <- 18 2       ok
2007-05-07 20:59:17.515 write -> 15 587     QUERY_CHECKFILE[]:[]Everybody Hates Chris[]:[]Everybody Hates Mat...
2007-05-07 20:59:17.516 read  <- 15 1       1
2007-05-07 20:59:17.746 write -> 15 597     QUERY_PIXMAP_LASTMODIFIED[]:[]Everybody Hates Chris[]:[]Everybody...
2007-05-07 20:59:17.748 read  <- 15 23      Mon May 7 20:30:33 2007
2007-05-07 20:59:18.246 write -> 15 597     QUERY_PIXMAP_LASTMODIFIED[]:[]Everybody Hates Chris[]:[]Everybody...
2007-05-07 20:59:18.248 read  <- 15 23      Mon May 7 20:30:33 2007

And to top all this off, when I reboot or halt and then power back up (with mtu lines in /etc/network/interfaces commented out) my eth0 interface is brought up with a mtu of 4000. I'm not sure what I may have done, but it's a bit annoying to have to rest my mtu everytime I reboot or restart xinit. Any networking gurus have any suggestions? I'm at a loss. :?

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 08, 2007 4:14 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I wanted to give this post a bump because I have not been able to figure it out. Recently, I added my general purpose desktop (Debian Lenny/Testing) to the wired network with a Gigabit LAN add-on card installed. I had the same results. I can ping every computer on the network (including MBE); I can ping debian.org. I can't transfer files to/from the MBE using automount to access the /myth directory on the MBE or placing an entry in fstab on the desktop. Here are the mount options enabled on all boxen (both those functioning with and those functioning without jumbo frames enabled) for the /myth directory:
Code:
rw,hard,intr,wsize=32768,rsize=32768


There are two common things that both non-jumbo frame boxen share:

    1. Both NIC's use the RealTek 8169 chip
    2. Both boxen are built on Debian. FE#1 on Debian Stable/Etch (minimal, net install) and the desktop on Debian Lenny/Testing (Minimal, net install).

There are two common things that both jumbo frame boxen share:
    1. Both NIC's are Intel based.
    2. Both boxen are Knoppmyth installs. (FE#2 and MBE)


All kernels on all boxen are 2.6.18. Could there something about Knoppix/Knoppmyth and it's networking setup that does not get along with straight Debian? :?: Can this issue be the (cheap) RealTek chips on the NIC's? :?

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 4:12 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
For a solution see my post here:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=12967&start=15

_________________
Mike
My Hardware Profile


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu