User:Rodercot

From LinuxMCE
Revision as of 15:32, 24 July 2008 by Rodercot (Talk | contribs) (New page: '''The Problem that would not quit.''' My story of the Saga, getting my system back to what it was before my Power Outage from June 12, 2008. Initial Setup before LMCE 1. Unraid Ser...)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

The Problem that would not quit.

My story of the Saga, getting my system back to what it was before my Power Outage from June 12, 2008.
Initial Setup before LMCE

1. Unraid Server Static IP serving movies to XP MCE PC at 1Gb 2. 2 XBOXES running XBMC at 100Mb 3. Windows workgroup for all pc’s 4. Linksys 4 port 10/100 router 5. Linksys 1gb EG005W 1Gb switch

I need to tell you the above to explain the rest of the story around June 10, 2008 I started reading about LMCE in the middle of May 2008.

This is where the story starts
LMCE Hybrid initial Setup

Asus P5K3 Main board Intel C2D 8400 3Ghz Wolfedale Patriot DDR-3 1333 Ram WD 500Gb Sata II Drive Dual 1gb Nics on board (Marvell and Realtek) Asus NV 8600Gt 512 DDR PCI-E Video Card Win-TV MCE PVR-150 capture TV card. Zalman HD-135 Chassis (stripped and modded for better cooling) Zalman 600W heat pipe psu MCE remote kit version2 Gyration MCE Remote.

On the network:

2 Windows Worksations 2 Xbox’s 2 Unraid Servers – Basically a flash drive with a stripped down Linux version and some prop. Software. One server is for Media and the other for data.

When I renovated my basement some 7 years ago we also had to replace and upgrade the hydro service with a 200Amp panel and new wiring as the house was quite old with two 60 amp panel. I pulled and installed all the cat 5e wiring and addt’l cables and terminated it all in an On-q panel in the rack closet in the basement. The is the demarc for sat, alarm etc.. The network and two servers are also in that closet.

I spent a couple days getting the initial hybrid setup taking my time to make sure that everything was right. This was still a learning curve. The system-installed fine I then setup my windows shares from the Media Unraid server that was fine as well. The db sync’d all my movies but never would sync all 10 drives to the point I had check marks on all the drives in the /public/data/other dir.

After some very frustrating days ahead and some maybe very frustrating points posted in the forums regarding the Files and Media Sync use I figured that out and go my Movies catalogued. Sorry Guys! With this all done I was happy Movies were playing back fine sync was no problem everything was working well. In the midst I was using a Sony RPTV that fought me tooth and nail with overscan problems etc, So I upgraded to a Aquos 52” panel and believe me I have not looked back since.

So the better half and I go out to my in-laws for a Sunday Dinner having a great day and I cannot wait to get home and fiddle some more with the system. To my surprise (NOT), when we get home the power had cycled off and the hybrid was running but the servers had gone down and I could not get anything on the screen for the hybrid although the pc was on. That’s right did not have the new UPS installed on the hybrid yet. No problems right, So I reboot all the machines thinking nothing but the norm. Later on I try to to some more updating on some media and this is where it all starts, The first Media update starts and takes nearly 15 minutes to update one title unless I close the browser and open a new session, fed-up with that I decide to go and watch a movie. The movie starts and then every so often I get a pause or loss of sync or just like it was running is slow mo.

Reboot all again and retry same issues. So after the frustration of all this I decide that is enough for me. I reload windows on the same gear the hybrid was on load up xbmc and voila all is peachy, but damn I have to keep shutting the TV off in the middle of the night and I have to turn it all on again when I want to use it later, so something keeps pulling me back in the LMCE direction. So about July 1st or so I decide to reload LMCE on that same machine and reset it all up. So I spend about a day resetting it all up, I had done some reading prior to the problem and up to this date as well. So now I had the ups installed as well. Installed the Nvidia driver, setup apcupsd, and a bunch of other stuff after reading some more. Setup the servers, luckily all my id3 files were still there from the last build. This time I also setup a MD in the master bedroom. So all was good until I tried to update a movie in FAMS and or tried to play a movie on either machine core or md. Now the saga….

Of-course I am grasping now, as I just came from a perfectly working XP MCE with XMBC system. So I am at a loss for a solution. In the next two weeks with out any road map of Diagnostics and not really 100% sure how to diagnose Linux properly, I read, and read and more reading.

I start the first of a few posts on the LMCE user groups forum, where I got many of you guys involved to try and help solve the issues. Thanks Colin, Roy, Jon and all the rest who replied. I tried, reysncing from command lines it seemed to work but still bad playback. In the next two weeks. I re-installed the hybrid system almost 15 times and every time it was the same issue. I also tried this on Several hardware platforms with completely separate machine. I was removing video cards, nics, sound etc.. to try and find the problem at the LMCE end to no avail.

I replaced my router with a 1gb wireless D-link-655 not the problem, I replaced, my 5 port Linksys twice once with a Linksys 8 port which has many great reviews and then again with a D-link green 8 port all still with the same problem.

I had initially thought it was DB corruption from the previous install as well so after some searching I found a Linux Command to type on the servers telnet window to go through and delete all the .id3 files at once, Now in retrospect I really with I had not done this – LOL. It was not db corruption at all.

So everything continued to point to the network BUT it was working all fine just a week or so ago with windows and xbmc. So I had three runs of cat 5e to the living room I terminate those to 568B for 1gb and try them all out on both the int and ext with no luck, finally I plug in the 5 port Linksys at the hybrid and plug the internal lan into it and then the cable to Linksys 8 port in the basement feeding the rest of the house. Whew I get resync working in FAMS, so I think we go this licked. Still no video playback or I should say proper video playback.

In the meantime, I have swapped patch cables, rebuilt the hybrid with an M2N-SLI Deluxe again all this is because I did not follow a flow chart of repairs fixed or tested. I added another video card. So then I figure it is time to get the system on it’s own so I assemble a core on a complete new machine in the basement in the same room as the servers, get it all loaded up, install the machine in the living room as the md and get them talking. Setup the servers and bam same problem as all the other times. Well the syncing was little better. BUT in this instance after 24 hours of the server being in the system I had one movie that had been sync’d to the system and then when I issues a ctrl-alt-f2 to a command prompt on the core and I start typing I get interrupted by a ton of CIFS errors, this is pointing to the network again.

By now I had read a ton of stuff and knew how to run ifconfig, ethtool, tops etc… so I was atleast getting some kind of info on the machines and what they were doing. At this point I was sure the problem was not LMCE related but still could not understand how it all worked before the last things which should have been the first thing were the cables although I had tried all three runs to and from the hybrid when it was in the living room. I go a cable installer chum in and we checked all the cables with the tester and then all come back fine. OK! Now what do I do.

Finally a break-through, with that big long last waiting for the system to sync with the latest install of the server and amidst all the CIFS errors the system finally tells me it cannot find the server I go down an look and the server is in a constant reboot state so I rep the server apart replace the mainboard and power supply and all this was connected to a APC 900 all along. I put that all back together and plug it into the external lan so I can access it without it being on the internal network. I run a parity check over night and it returns no errors, but with the new core acting up as well I know that my original hybrid install was fine so I reinstall the system one more time on the hybrid get it all setup and running fine but do not add the servers yet. I do a bunch of reading on the Unraid forums about guys having trouble accessing there shares from Unraid in Ubuntu and this was do to DFS being added to the latest builds of Unraid, so hey I’ll try anything at this point.

To disable the dfs on the server I needed to edit the go script which boots along with Unraid to tell it any special things to do upon boot, remember at the beginning of this story I said I had a windows workroup and all my servers were static IP’s well when I set-up LMCE I changed the servers to DHCP. Well what the server does not do with this change is remove the echo lines from the go script, so my original STATIC ip and gateway addresses were being echoed to the internal lan whereas LMCE was trying to resolv and work with the address it was supplying to the servers the servers were trying to find the machines with that gateway. WOW!!! All of that for just this simple issue, well not quite.

Remember I had all my cables checked right and they all passed the 5 led test. I seemed now to have better playback and better sync speeds but still not as good as before for some reason, so I run a telnet window to the server, I run a ssh windows to the hybrid and look at ifconfig I have a ton of RX errors and frame drops, so again I think switch and replace the d-link green switch in the basement with the Linksys 8 port again. Oh and by the way within 72 hours of having the green D-link hooked up I lost a port on it (just dead) now with the linksys up I reboot all the machines and run ifconfig again and still I am getting RX errors and Frame drops. So I Pull all the cables cut off the terminations and twist all the pairs up and join each pairs conductors to each other and I go to the other end and get an OHM meter and I am getting all kinds of resistance on every cable which should not be there on less than a 30’ run of each.

So I get my chum back and we need to test the throughput on these cables, so here is the whole issue. I bought the cable in 1994 or 95 when Cat5e was gold at pricing hell we were still using BNC back then. Well the cable I bought and used was in a box marked cat5e and the sheave of the cable says cat5e, well the throughput tests showed the cable to be not as good as cat5. So in the bottom some goof-ball wholesaler or cable manufacturer was remarking boxes and twisting cat5 inside cat5e sheaving. How nice and I had to be the one to pay for that.

So In the End, I ran to new CAT6 runs to the hybrid in the living room and replaced the patch cables to each server. Rebooted and checked ifconfig and my errors are gone.

So in the end, it was certainly trials and tribulation over all the issues but now looking back I am glad it happened I learned a lot about Linux and the system and obviously Linux is much more precise about sharing or talking at 1gb then XP Might be. I am not sure if there is a moral here. But If I can help any of you guys with something in advance. '''Always check your CABLES – LOL'''.

The system is now up and running with no ifconfig problems, I setup the md in the bedroom as well. The M3N78-VM was a no go (would run diskless setup but upon reboot it could not link up the network) I also tried a biostart 7050 board with hdmi but I could not get audio from the hdmi after searching a couple hours I just reinstalled the M2NPV board with component video and analog audio and it all works great. I was watching movie in the living room and the better half was watching some Melrose Place episodes all from the server at the same time with NO issues.

So all in all, I am happy and cannot wait to setup my new Denon rcvr with rs232. Thanks to all who gave me any kind of hints or tips with this issue. Thanks to the devs for there patience and continued effort towards this project – It Is Awesome.

Sincerely,David.


PS, I will post my current system config and road map to the WIKI as soon as I figure that out.