public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thanasis <thanasis@asyr.hopto.org>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Hayes Wang <hayeswang@realtek.com>
Subject: Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Date: Wed, 26 Sep 2012 08:41:16 +0300	[thread overview]
Message-ID: <5062957C.7080508@asyr.hopto.org> (raw)
In-Reply-To: <20120925205342.GA11361@electric-eye.fr.zoreil.com>

[-- Attachment #1: Type: text/plain, Size: 2306 bytes --]

on 09/25/2012 11:53 PM Francois Romieu wrote the following:
> Thanasis <thanasis@asyr.hopto.org> :
> [...]
>> Ping failed in the following step:
>>
>> HEAD is now at 3c6ad46 r8169: move rtl_set_rx_mode before its
>> rtl_hw_start callers.
> 
> *spleen*
> 
> It's a genuine code move without any real change. Imho it's more a
> matter of sleeping a few seconds for the link to settle after the
> device is brought up.
> 
> The differences between the top-most r8169 driver you tried and the
> real v3.5.4 r8169 driver are minor : mostly Ben Grear's corrupted
> frames rx work (default: disabled) and a skb_timestamp which comes
> too late in your setup.
> 
> So, either your problem lacks of reproducibility with 3.5.4 - cold reboot,
> driver which does not fail the first time - or it needs something else
> in the kernel to happen.
> 
> The "PME# disabled" messages have disappeared between 2.6 and 3.5.4 in your
> dmesg. It's probably due to a dev_dbg/dev_printk + CONFIG_DYNAMIC_DEBUG
> change. It's still worth checking runtime pm settings though
> 

Sorry but I don't understand much of what you said above...

> Can you check the content of /sys/class/pci_bus/0000:02/power, set it
> to "on" if it contains "auto" and plug the cable again (with 3.5.4) ?
> 

I changed /sys/class/pci_bus/0000\:02/power/control from auto to on,
did unplug and plug the cable again, also I manually assigned thte IP
address to the NIC, but it did not make it work.

Here is the situation in /sys/class/pci_bus/0000\:02/power:

atom ~ # ls /sys/class/pci_bus/0000\:02/power
autosuspend_delay_ms  control  runtime_active_time  runtime_status
runtime_suspended_time
atom ~ # cat /sys/class/pci_bus/0000\:02/power/*
cat: /sys/class/pci_bus/0000:02/power/autosuspend_delay_ms: Input/output
error
on
0
unsupported
0
atom ~ # cat /sys/class/pci_bus/0000\:02/power/runtime_status
unsupported
atom ~ # cat /sys/class/pci_bus/0000\:02/power/control
on
atom ~ # cat /sys/class/pci_bus/0000\:02/power/runtime_active_time
0
atom ~ # cat /sys/class/pci_bus/0000\:02/power/runtime_suspended_time
0
atom ~ #

I attach the dmesg where it can be seen that the card every few seconds
reports:
r8169 0000:02:00.0: eth0: link up
r8169 0000:02:00.0: eth0: link up
r8169 0000:02:00.0: eth0: link up
r8169 0000:02:00.0: eth0: link up
...







[-- Attachment #2: dmesg.gz --]
[-- Type: application/x-gzip, Size: 14784 bytes --]

  reply	other threads:[~2012-09-26  5:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 17:28 RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02) Thanasis
2012-09-20 17:47 ` Bjorn Helgaas
2012-09-20 18:10   ` Thanasis
2012-09-20 19:02     ` Bjorn Helgaas
2012-09-20 23:20       ` Francois Romieu
2012-09-21  4:59         ` Thanasis
2012-09-21 15:28           ` Francois Romieu
2012-09-21 16:30             ` Thanasis
2012-09-21 17:31               ` Thanasis
2012-09-21 16:41             ` Thanasis
2012-09-21 17:54               ` Francois Romieu
2012-09-21 19:20                 ` Thanasis
2012-09-21 20:29                   ` Francois Romieu
2012-09-21 21:17                     ` Thanasis
2012-09-21 22:53                       ` Francois Romieu
2012-09-22  6:20                         ` Thanasis
2012-09-22  8:28                         ` Thanasis
2012-09-22  8:44                         ` Thanasis
2012-09-21 19:56                 ` Thanasis
2012-09-24 23:12                   ` Francois Romieu
2012-09-25  8:55                     ` Thanasis
2012-09-25  9:54                       ` Francois Romieu
2012-09-25 13:05                         ` Thanasis
2012-09-25 20:53                           ` Francois Romieu
2012-09-26  5:41                             ` Thanasis [this message]
2012-09-30  8:03                               ` Thanasis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5062957C.7080508@asyr.hopto.org \
    --to=thanasis@asyr.hopto.org \
    --cc=bhelgaas@google.com \
    --cc=hayeswang@realtek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox