OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.6k stars 887 forks source link

no network after resume #1584

Closed bibinne closed 11 years ago

bibinne commented 11 years ago

Hi,

With all the 3.0 beta version, after a resume, my htpc loose connection to the network. In xbmc info, i can see that the ip adress change from 192.168.XXX (before suspend) to 169.123.XXX (after resume ^^. I use a box/router to connect to internet, which provide ip adress to the network by DHCP. Dont know what is going on, and cant connect by ssh to provide a log...

bibinne commented 11 years ago

Still exist with beta 4.

bibinne commented 11 years ago

And with static ip adress.

More info about the chipset

dmesg|grep eth0

[ 0.218298] eth0: Identified chip type is 'RTL8168C/8111C'. [ 5.833039] r8168: eth0: link down [ 5.843626] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 7.479878] r8168: eth0: link up [ 7.479897] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.836716] r8168: eth0: link up

ethtool eth0

Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes

Maybe has it something to do with https://github.com/OpenELEC/OpenELEC.tv/issues/410

Something that i dont understand is why re rtl8168 module isnt load ?

lsmod Module Size Used by ir_mce_kbd_decoder 2492 0 ir_sanyo_decoder 1214 0 ir_sony_decoder 1128 0 ir_jvc_decoder 1226 0 ir_rc6_decoder 1587 0 ir_rc5_decoder 1094 0 ir_nec_decoder 1290 0 rc_rc6_mce 1013 0 mceusb 10767 0 rc_core 9193 10 ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,mceusb,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,rc_rc6_mce nvidia 10196809 40 iptable_nat 2310 0 nf_nat 9827 1 iptable_nat nf_conntrack_ipv4 5073 3 nf_nat,iptable_nat nf_defrag_ipv4 764 1 nf_conntrack_ipv4 ip_tables 7306 1 iptable_nat snd_hda_codec_hdmi 19434 1 coretemp 4511 0 snd_hda_intel 19249 2 snd_hda_codec 59479 2 snd_hda_codec_hdmi,snd_hda_intel snd_hwdep 3652 1 snd_hda_codec snd_pcm 43420 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_timer 12009 1 snd_pcm snd 30829 9 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel snd_page_alloc 4846 2 snd_pcm,snd_hda_intel xhci_hcd 62548 0 uvesafb 17712 1

bibinne commented 11 years ago

Just switch back to beta 1 and it works, so it has to be something between beta 1 and 2.

bibinne commented 11 years ago

Always happens in beta 5.

bibinne commented 11 years ago

It matches the update of the kernel to 3.6.8.

bibinne commented 11 years ago

I try to revert the commit which bump the kernel version with git revert after a git clone but it says me that i'm not allowed to to it. Could you advise me ?

bibinne commented 11 years ago

Solved with beta 6 ! Thanks