All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nolwenn <donolwenn@gmail.com>
To: netdev@vger.kernel.org
Subject: Possible bug with r8169 driver
Date: Thu, 27 Sep 2012 14:24:47 +0000	[thread overview]
Message-ID: <2197741.c8FeV4Xbis@bureau> (raw)

Hello,

I'm on Archlinux (kernel 3.5.4), I need to set eth0 to promiscuous to get a 
stable IPv6 connectivity. My internet access provider is Free (France) and 
IPv6 is enable on the box. 
If eth0 is not set to promiscuous, I need to intercep packets with 
"tcpdump -nvvv ip6" to get an IPv6 connectivity and it's lost, a few later, 
when interception is stopped. 

Regards

Nolwenn

PS : sorry for my bad english

Some information on hardware and settings

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. Device 8505
        Flags: bus master, fast devsel, latency 0, IRQ 44
        I/O ports at e000 [size=256]
        Memory at f0004000 (64-bit, prefetchable) [size=4K]
        Memory at f0000000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169


sysctl.conf (nothing in /etc/sysctl.d directory)
=======

# Configuration file for runtime kernel parameters.
# See sysctl.conf(5) for more information.

# Have the CD-ROM close when you use it, and open when you are done.
#dev.cdrom.autoclose = 1
#dev.cdrom.autoeject = 1

# Protection from the SYN flood attack.
net.ipv4.tcp_syncookies = 1

# See evil packets in your logs.
#net.ipv4.conf.all.log_martians = 1

# Never accept redirects or source routes (these are only useful for routers).
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_source_route = 0

# Disable packet forwarding.
net.ipv4.ip_forward = 0
net.ipv6.conf.all.forwarding = 0

# Tweak the port range used for outgoing connections.
#net.ipv4.ip_local_port_range = 32768 61000

# Tweak those values to alter disk syncing and swap behavior.
#vm.vfs_cache_pressure = 100
#vm.laptop_mode = 0
#vm.swappiness = 60

# Tweak how the flow of kernel messages is throttled.
#kernel.printk_ratelimit_burst = 10
#kernel.printk_ratelimit = 5

# Reboot 600 seconds after kernel panic or oops.
#kernel.panic_on_oops = 1
#kernel.panic = 600

# Disable SysRq key to avoid console security issues.
kernel.sysrq = 0



% dmesg | grep r8169 

[    1.810423] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.810548] r8169 0000:03:00.0: irq 44 for MSI/MSI-X
[    1.810671] r8169 0000:03:00.0: eth0: RTL8168f/8111f at 0xffffc900057ae000, 
30:85:a9:ee:43:fa, XID 08000800 IRQ 44
[    1.810672] r8169 0000:03:00.0: eth0: jumbo features [frames: 9200 bytes, 
tx checksumming: ko]
[    3.061527] r8169 0000:03:00.0: eth0: link down
[    3.062343] r8169 0000:03:00.0: eth0: link down
[    4.690703] r8169 0000:03:00.0: eth0: link up

% ip addr 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP qlen 1000
    link/ether 30:85:a9:ee:43:fa brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.11/24 brd 192.168.0.255 scope global eth0
    inet6 XXXX:XXXX:XXXX:2720:3285:a9ff:feee:43fa/64 scope global dynamic 
       valid_lft 85897sec preferred_lft 85897sec
    inet6 fe80::3285:a9ff:feee:43fa/64 scope link 
       valid_lft forever preferred_lft forever

             reply	other threads:[~2012-09-27 14:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27 14:24 Nolwenn [this message]
2012-09-27 22:21 ` Possible bug with r8169 driver Francois Romieu
2012-09-28  6:47   ` Nolwenn
2012-09-29  7:20     ` Francois Romieu
2012-09-29 14:49       ` Nolwenn
2012-09-29 19:01         ` Francois Romieu
2012-09-30 19:17           ` Nolwenn
2012-10-01  5:51       ` hayeswang
2012-10-01 18:56         ` Francois Romieu
2012-10-04  2:09           ` hayeswang
2012-11-07  9:54             ` Nolwenn
2012-11-07 19:06               ` Francois Romieu

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=2197741.c8FeV4Xbis@bureau \
    --to=donolwenn@gmail.com \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.