Strange problem after power outage

Post Reply
Cryofax

Posts: 82
Joined: Thu Dec 06, 2012 8:03 pm
Location:

HTPC Specs: Show details

Strange problem after power outage

#1

Post by Cryofax » Mon May 04, 2015 9:41 pm

So I've got an HTPC running Windows Media Center on Windows 7, and an Xbox 360 extender. The 360 runs into an 8-port switch that runs to my SBG6580 Gateway (Router/Modem). The HTPC runs directly into the Gateway. The gateway goes to comcast via coaxial cable.

Everything was working fine until we had a blackout. Lasted under a minute. Everything seemed fine afterward but now I have this odd issue where the XBox 360 won't find the HTPC media center after the HTPC goes to sleep and wakes back up. Resetting the HTPC fixes it. The HTPC seems to work fine in every way after waking up. Internet is fine, I can watch HBOGo, Netflix etc or even watch TV locally on the HTPC. I can ping the HTPC. But the 360 won't see it until an HTPC reset. The Xbox also seems to be fine otherwise during this time.

The gateway and switch have been reset, all settings are correct. Even moved network cables to new plugs on the gateway/switch. Any ideas?

adam1991

Posts: 2893
Joined: Sat Jun 11, 2011 2:31 pm
Location:

HTPC Specs: Show details

#2

Post by adam1991 » Tue May 05, 2015 12:08 am

Something in your network is going to sleep.

Mpgrimm2

Posts: 82
Joined: Fri May 04, 2012 9:00 am
Location:

HTPC Specs: Show details

#3

Post by Mpgrimm2 » Wed May 06, 2015 3:58 pm

This may not help but I had a similar problem that turned out to be my router kept rebooting itself randomly (plus power outages). I don't recall who mentioned it, but move the htpc, network tuners and any extenders to the same switch and less important/critical items over to the router/gateway. During a glitch, the switch is apparently better able to keep things working as before. This is how I finally discovered the router problem.

I detailed this in one off my posts if you want to search for it.
Here..
http://www.thegreenbutton.tv/forums/vie ... 881#p79881
Crash2009 wrote:
golfdude wrote:im not too familiar with how switches work.. does having the ETH on a switch give it its own set of IP addresses, or will it just take the same set of ip addresses from the router
Me neither, but from what I have been able to piece together.... The switch doesn't need to know what the IP address is (Layer 3) because, it >>>forwards>>> based upon the MAC address (Layer 2).

https://search.yahoo.com/search;_ylt=Ak ... t-418&fp=1

Cryofax

Posts: 82
Joined: Thu Dec 06, 2012 8:03 pm
Location:

HTPC Specs: Show details

#4

Post by Cryofax » Fri May 08, 2015 3:33 am

Thanks for the replies.

So I've definitely tied it to the HTPC going to sleep. If I turn off the Xbox 360, in device settings a trouble exclamation points appears next to the Extender icon (as it should, since it's off). As soon as I turn the Xbox 360 back on the trouble exclamation point disappears and it works fine. BUT, if the HTPC goes to sleep, then the Xbox 360 is turned on it doesn't resolve the problem and won't work. Even though the 360 will cause the HTPC to come out of sleep mode the exclamation point remains by the extender icon in device settings and the 360 can't find WMC.

However I CAN fix the problem by disabling and re-enabling the adaptor in network settings. So somehow sleep mode is borking some setting in the adaptor. But everything else on the HTPC network related (Netflix, internet, filesharing) still works. Bizarre.

glugglug

Posts: 391
Joined: Thu Jun 09, 2011 1:34 am
Location:

HTPC Specs: Show details

#5

Post by glugglug » Fri May 08, 2015 9:06 pm

I think the WMC PC has to announce that it is listening for multicast so that the extenders can find it when they announce they want to connect. Most cheap switches would probably just send the multicast to everybody but I guess yours doesn't?

When the PC goes to sleep, if it sleeps the network adapter, the router probably takes it out of the list of multicast listeners. I think there is a setting in the network adapter properties to not put the NIC to sleep, which should keep the router from doing that. (but maybe it will break wake on LAN?)

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#6

Post by Crash2009 » Sun May 10, 2015 1:19 am

What a coincidence. Had a power failure during the storm last night. Started the HTPC back up, BIOS asked if I wanted the defaults, yeah OK. Fires up nothing works. Hmmm....Date is 2080, back to BIOS to fix the date. Only half working.....Back to BIOS, its been 3 years, I forget how I tweaked it. Flip this, unflip that, blah, blah, blah. Got it working. Video looks like crap, extenders looks great. Only 4 choices IGFX-GFXO-GPP-PCI. 4 more reboots. BINGO.

Looks like I need a new MB battery.

The point is..... The Strange Problem you have "might be" related to your BIOS.

User avatar
Scallica

Posts: 2799
Joined: Mon Jun 06, 2011 7:09 pm
Location: USA!

HTPC Specs: Show details

#7

Post by Scallica » Sun May 10, 2015 3:50 pm

Every HTPC should be plugged into a UPS. I use this one:

http://www.amazon.com/APC-BR700G-Back-U ... =apc+br700
HTPC Enthusiast / Forum Moderator - TGB.tv Code of Conduct

User avatar
DavidinCT

Posts: 1556
Joined: Mon Feb 13, 2012 3:45 pm
Location:

HTPC Specs: Show details

#8

Post by DavidinCT » Sun May 10, 2015 5:49 pm

Scallica wrote:Every HTPC should be plugged into a UPS. I use this one:

http://www.amazon.com/APC-BR700G-Back-U ... =apc+br700
Or at least weekly backups that run (more if you do cablecard protected recordings). I have acronis setup to do a backup every Saturday night to a networked machine (so the backup is not on the WMC machine).

it has saved me a few times...
-Dave
Twitter @TheCoolDave

Windows Media Center certified and WMC MVP 2010 - 2012

Cryofax

Posts: 82
Joined: Thu Dec 06, 2012 8:03 pm
Location:

HTPC Specs: Show details

#9

Post by Cryofax » Wed May 13, 2015 4:16 am

I appreciate all the replies. The latest things I've done as time allowed:

Discovered disabling and re-enabling the HTPC internet adaptor in windows network settings fixes the problem (so no need for a full HTPC power cycle).
The switch is not the problem. I ran the XBox 360 directly to the router along with the HTPC and the problem persisted.
Made sure the router had UPnP and Multicast enabled (even disabled and re-enabled to be sure).

Next I'll give the bios settings a check. Like i said everything works fine except the extender AFTER the htpc goes to sleep. All other network functions work perfectly on both the htpc and xbox 360.

P.S. You're right about a UPS. Mine just died on me like a week before this happened and I hadn't gotten around to replacing it. Figures.

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#10

Post by Crash2009 » Wed May 13, 2015 11:39 am

1- Have a look in the NIC Power Management area.
2- Check out your Sleep Settings in the Bios. S1, S2, etc.
3- Un-install any software that was included with your "old" UPS. (if applicable)
4- Look into a utility named "powercfg". The results might give you more clues. Open an elevated command prompt and run powercfg /energy. Then open energy-report.html
Attachments
PowerCfgEnergy.JPG
NicPowerMgmt.JPG

Cryofax

Posts: 82
Joined: Thu Dec 06, 2012 8:03 pm
Location:

HTPC Specs: Show details

#11

Post by Cryofax » Sat May 16, 2015 1:01 am

Thanks again for the replies. Bios settings were all fine (I resaved them anyway just in case). Energy report showed nothing unusual.

I did discover something odd though. It seems if I put the HTPC to sleep manually the Xbox 360 extender can wake it up and WMC works just fine. However if the HTPC puts ITSELF to sleep the Xbox will wake it up, but can't find WMC. So somehow manual sleep and my power profile sleep do something differently.

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#12

Post by Crash2009 » Sat May 16, 2015 1:46 pm

Cryofax wrote:Energy report showed nothing unusual.
Cryofax wrote:It seems if I put the HTPC to sleep manually the Xbox 360 extender can wake it up and WMC works just fine.
Cryofax wrote:However if the HTPC puts ITSELF to sleep the Xbox will wake it up, but can't find WMC.
Cryofax wrote:So somehow manual sleep and my power profile sleep do something differently.
All 3 of these events (with a description of the cause) should be listed when you run powercfg. Do you need help on how to run it, or view the energy report?

Cryofax

Posts: 82
Joined: Thu Dec 06, 2012 8:03 pm
Location:

HTPC Specs: Show details

#13

Post by Cryofax » Sat May 16, 2015 7:19 pm

Crash2009 wrote:All 3 of these events (with a description of the cause) should be listed when you run powercfg. Do you need help on how to run it, or view the energy report?
Should I be starting the energy report 60 second scan and getting these errors to occur while it's scanning? I didn't realize it kept an event log all I saw after the fact was a run down of how I had my system configured for power savings/sleep and it was what I expected. I've used powercfg for tracking down sleep problems but never the energy report, so pardon my ignorance if it should have been run WHILE the errors were occuring.

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#14

Post by Crash2009 » Sat May 16, 2015 10:59 pm

I think I would run powercfg .......before, in-between, and after, the 2 events in the previous post.

Cryofax

Posts: 82
Joined: Thu Dec 06, 2012 8:03 pm
Location:

HTPC Specs: Show details

#15

Post by Cryofax » Wed Nov 04, 2015 6:58 pm

UPDATE : So I got the problem to disappear when I changed my network cabling. I had the 360 Extender going into a WiFi Gb Router (being used as a WiFi/switch with routing off), then into the Cable Modem/Router Gateway. Meanwhile my HTPC went into an 8-port Gb switch then to the Cable Modem/Router Gateway. When I plugged the output from the wifi/switch directly into the 8-port switch the problem stopped.

So I guess somehow the Cable Mode/Router Gateway acting as intermediary wasn't passing correct data updates from the wifi router/switch (Xbox) to the 8-port gigabit switch (HTPC).

Any idea why this would be? This setup is fine but I hate not knowing what the cause was.

Post Reply