You are not logged in.
So I have been having some very weird behavior with my network since I installed arch linux.
After booting up the system the network seems fine until but once (seems randomly) slows down or completely stops working.
I discovered that there are two kernel modules that are used to control the network interface one being 8139too and the other one 8139cp, I figured out that my network seemed to work more reliably if I did modprobe -r 8139cp, and then modprobe -r 8139too then doing modprobe -f 8139too, the download and upload speed just increased to what I should be getting as usual from my ISP.
I thought that would fix my network problems but it didn't, the network is more reliable with the 8139cp module being disabled but it isn't what it should be it still would slow down after some time or completely stop working.
Here's some details:
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
7: enp7s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether e8:de:27:a7:e7:b6 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.236/24 brd 192.168.1.255 scope global dynamic enp7s1
valid_lft 85867sec preferred_lft 85867sec
inet6 fe80::da9:fe8a:878d:c3d5/64 scope link
valid_lft forever preferred_lft forever
Also sometimes doing
ip link set enp7s1 down
and
ip link set enp7s1 up
would help but it wouldn't fix my issue.
dmesg | grep 8139too
[ 11.654735] 8139cp 0000:07:01.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[ 11.667299] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 11.668460] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc900006bd000, e8:de:27:a7:e7:b6, IRQ 17
[ 11.867637] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[ 15.481068] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 728.754521] 8139too 0000:07:01.0 enp7s1: link down
[ 730.327112] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 811.144080] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 968.054194] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 968.055251] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc900006bd000, e8:de:27:a7:e7:b6, IRQ 17
[ 968.056608] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[ 968.088950] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 992.827172] [<ffffffffa03010b0>] rtl8139_interrupt [8139too]
[ 2887.329770] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 2887.331044] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc90000657000, e8:de:27:a7:e7:b6, IRQ 17
[ 2887.333033] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[ 2887.350855] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 4094.324348] [<ffffffffa031a0b0>] rtl8139_interrupt [8139too]
[ 4457.446153] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 4457.447437] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc90000657000, e8:de:27:a7:e7:b6, IRQ 17
[ 4457.539608] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[ 4457.733459] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 4503.360421] 8139too 0000:07:01.0 enp7s1: link down
[ 4504.880523] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 6832.550013] 8139too 0000:07:01.0 enp7s1: link down
[ 6834.070091] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 6839.942166] 8139too 0000:07:01.0 enp7s1: link down
[ 6841.724355] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 7997.160646] 8139too 0000:07:01.0 enp7s1: link down
[ 7998.712076] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 7999.782043] 8139too 0000:07:01.0 enp7s1: link down
[ 8001.312448] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[10508.512284] [<ffffffffa03010b0>] rtl8139_interrupt [8139too]
[48906.397817] 8139too 0000:07:01.0 enp7s1: link down
[48907.954459] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[62721.194712] 8139too: 8139too Fast Ethernet driver 0.9.28
[62721.196085] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc90000657000, e8:de:27:a7:e7:b6, IRQ 17
[62721.999860] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[62722.116023] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[62982.750091] [<ffffffffa031a0b0>] rtl8139_interrupt [8139too]
[63257.928260] 8139cp 0000:07:01.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[63260.704034] 8139too: 8139too Fast Ethernet driver 0.9.28
[63260.705495] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc900006d7000, e8:de:27:a7:e7:b6, IRQ 17
[63260.708679] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[63260.795726] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
I also tried booting with the irqpoll option but that would just get rid of the IRQ 17 message, I tried that since I was getting IRQ 17 messages like these
[63260.705495] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc900006d7000, e8:de:27:a7:e7:b6, IRQ 17
This is a part of dmesg I thought might be useful to include.
992.827127] Call Trace:
[ 992.827129] <IRQ>
[ 992.827133] dump_stack+0x63/0x83
[ 992.827135] __report_bad_irq+0x35/0xc0
[ 992.827135] note_interrupt+0x234/0x280
[ 992.827137] handle_irq_event_percpu+0x54/0x80
[ 992.827138] handle_irq_event+0x39/0x60
[ 992.827139] handle_fasteoi_irq+0x8f/0x160
[ 992.827141] handle_irq+0x1a/0x30
[ 992.827143] do_IRQ+0x46/0xd0
[ 992.827144] common_interrupt+0x89/0x89
[ 992.827146] RIP: 0010:cpuidle_enter_state+0x131/0x2e0
[ 992.827147] RSP: 0018:ffffffff81a03dc8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff7e
[ 992.827148] RAX: 0000000000000000 RBX: 000000e7291b8be6 RCX: 000000000000001f
[ 992.827148] RDX: 000000e7291b8be6 RSI: ffff88011f415818 RDI: 0000000000000000
[ 992.827149] RBP: ffffffff81a03e00 R08: cccccccccccccccd R09: 0000000000000008
[ 992.827149] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[ 992.827150] R13: 0000000000000001 R14: ffff88011f41fd00 R15: 000000e7291b84cd
[ 992.827151] </IRQ>
[ 992.827152] ? cpuidle_enter_state+0x10f/0x2e0
[ 992.827153] cpuidle_enter+0x17/0x20
[ 992.827154] call_cpuidle+0x23/0x40
[ 992.827155] do_idle+0x189/0x200
[ 992.827156] cpu_startup_entry+0x71/0x80
[ 992.827157] rest_init+0x84/0x90
[ 992.827159] start_kernel+0x44d/0x46e
[ 992.827160] ? early_idt_handler_array+0x120/0x120
[ 992.827161] x86_64_start_reservations+0x2a/0x2c
[ 992.827162] x86_64_start_kernel+0x14c/0x16f
[ 992.827164] start_cpu+0x14/0x14
[ 992.827164] handlers:
[ 992.827169] [<ffffffffa03eb940>] azx_interrupt [snd_hda_codec]
[ 992.827172] [<ffffffffa03010b0>] rtl8139_interrupt [8139too]
[ 992.827173] Disabling IRQ #17
[ 2887.329770] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 2887.331044] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc90000657000, e8:de:27:a7:e7:b6, IRQ 17
[ 2887.333033] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[ 2887.350771] IPv6: ADDRCONF(NETDEV_UP): enp7s1: link is not ready
[ 2887.350855] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 4094.324296] irq 17: nobody cared (try booting with the "irqpoll" option)
[ 4094.324301] CPU: 0 PID: 0 Comm: swapper/0 Tainted: PF O 4.10.2-1-ARCH #1
[ 4094.324301] Hardware name: System manufacturer System Product Name/P8H61, BIOS 0602 09/13/2011
[ 4094.324302] Call Trace:
[ 4094.324303] <IRQ>
[ 4094.324308] dump_stack+0x63/0x83
[ 4094.324310] __report_bad_irq+0x35/0xc0
[ 4094.324310] note_interrupt+0x234/0x280
[ 4094.324312] handle_irq_event_percpu+0x54/0x80
[ 4094.324313] handle_irq_event+0x39/0x60
[ 4094.324314] handle_fasteoi_irq+0x8f/0x160
[ 4094.324317] handle_irq+0x1a/0x30
[ 4094.324319] do_IRQ+0x46/0xd0
[ 4094.324320] common_interrupt+0x89/0x89
[ 4094.324322] RIP: 0010:cpuidle_enter_state+0x131/0x2e0
[ 4094.324322] RSP: 0018:ffffffff81a03dc8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff7e
[ 4094.324324] RAX: 0000000000000000 RBX: 000003b948beb164 RCX: 000000000000001f
[ 4094.324324] RDX: 000003b948beb164 RSI: ffff88011f415818 RDI: 0000000000000000
[ 4094.324325] RBP: ffffffff81a03e00 R08: cccccccccccccccd R09: 0000000000000008
[ 4094.324325] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[ 4094.324326] R13: 0000000000000001 R14: ffff88011f41fd00 R15: 000003b948bea922
[ 4094.324326] </IRQ>
[ 4094.324328] ? cpuidle_enter_state+0x10f/0x2e0
[ 4094.324329] cpuidle_enter+0x17/0x20
[ 4094.324330] call_cpuidle+0x23/0x40
[ 4094.324331] do_idle+0x189/0x200
[ 4094.324332] cpu_startup_entry+0x71/0x80
[ 4094.324333] rest_init+0x84/0x90
[ 4094.324334] start_kernel+0x44d/0x46e
[ 4094.324336] ? early_idt_handler_array+0x120/0x120
[ 4094.324337] x86_64_start_reservations+0x2a/0x2c
[ 4094.324338] x86_64_start_kernel+0x14c/0x16f
[ 4094.324339] start_cpu+0x14/0x14
[ 4094.324340] handlers:
[ 4094.324345] [<ffffffffa03eb940>] azx_interrupt [snd_hda_codec]
[ 4094.324348] [<ffffffffa031a0b0>] rtl8139_interrupt [8139too]
[ 4094.324349] Disabling IRQ #17
[ 4457.446153] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 4457.447437] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc90000657000, e8:de:27:a7:e7:b6, IRQ 17
[ 4457.539608] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[ 4457.733341] IPv6: ADDRCONF(NETDEV_UP): enp7s1: link is not ready
[ 4457.733459] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 4503.360421] 8139too 0000:07:01.0 enp7s1: link down
[ 4504.880523] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 6832.550013] 8139too 0000:07:01.0 enp7s1: link down
[ 6834.070091] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 6839.942166] 8139too 0000:07:01.0 enp7s1: link down
[ 6841.724355] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 7997.160646] 8139too 0000:07:01.0 enp7s1: link down
[ 7998.712076] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 7999.782043] 8139too 0000:07:01.0 enp7s1: link down
[ 8001.312448] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[10508.512233] irq 17: nobody cared (try booting with the "irqpoll" option)
[10508.512238] CPU: 0 PID: 0 Comm: swapper/0 Tainted: PF O 4.10.2-1-ARCH #1
[10508.512239] Hardware name: System manufacturer System Product Name/P8H61, BIOS 0602 09/13/2011
[10508.512240] Call Trace:
[10508.512241] <IRQ>
[10508.512245] dump_stack+0x63/0x83
[10508.512247] __report_bad_irq+0x35/0xc0
[10508.512247] note_interrupt+0x234/0x280
[10508.512249] handle_irq_event_percpu+0x54/0x80
[10508.512251] handle_irq_event+0x39/0x60
[10508.512252] handle_fasteoi_irq+0x8f/0x160
[10508.512253] handle_irq+0x1a/0x30
[10508.512255] do_IRQ+0x46/0xd0
[10508.512256] common_interrupt+0x89/0x89
[10508.512258] RIP: 0010:cpuidle_enter_state+0x131/0x2e0
[10508.512259] RSP: 0018:ffffffff81a03dc8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff7e
[10508.512260] RAX: 0000000000000000 RBX: 0000098eb4236f9c RCX: 000000000000001f
[10508.512260] RDX: 0000098eb4236f9c RSI: ffff88011f415818 RDI: 0000000000000000
[10508.512261] RBP: ffffffff81a03e00 R08: cccccccccccccccd R09: 0000000000000008
[10508.512261] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[10508.512262] R13: 0000000000000001 R14: ffff88011f41fd00 R15: 0000098eb423690b
[10508.512263] </IRQ>
[10508.512264] ? cpuidle_enter_state+0x10f/0x2e0
[10508.512265] cpuidle_enter+0x17/0x20
[10508.512266] call_cpuidle+0x23/0x40
[10508.512267] do_idle+0x189/0x200
[10508.512268] cpu_startup_entry+0x71/0x80
[10508.512269] rest_init+0x84/0x90
[10508.512271] start_kernel+0x44d/0x46e
[10508.512272] ? early_idt_handler_array+0x120/0x120
[10508.512274] x86_64_start_reservations+0x2a/0x2c
[10508.512275] x86_64_start_kernel+0x14c/0x16f
[10508.512276] start_cpu+0x14/0x14
[10508.512276] handlers:
[10508.512281] [<ffffffffa03eb940>] azx_interrupt [snd_hda_codec]
[10508.512284] [<ffffffffa03010b0>] rtl8139_interrupt [8139too]
[10508.512285] Disabling IRQ #17
[12013.619688] perf: interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 79800
[16665.930984] perf: interrupt took too long (3130 > 3127), lowering kernel.perf_event_max_sample_rate to 63900
[34552.984764] perf: interrupt took too long (3954 > 3912), lowering kernel.perf_event_max_sample_rate to 50400
[48906.397817] 8139too 0000:07:01.0 enp7s1: link down
[48907.954459] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[52121.851531] usb 2-1.3: USB disconnect, device number 5
[52122.176072] usb 2-1.3: new full-speed USB device number 6 using ehci-pci
[52122.281940] input: E-Signal USB Gaming Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:04D9:A09F.0006/input/input17
[52122.282164] hid-generic 0003:04D9:A09F.0006: input,hidraw2: USB HID v1.10 Mouse [E-Signal USB Gaming Mouse] on usb-0000:00:1d.0-1.3/input0
[52122.287579] input: E-Signal USB Gaming Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.1/0003:04D9:A09F.0007/input/input18
[52122.342978] hid-generic 0003:04D9:A09F.0007: input,hiddev0,hidraw3: USB HID v1.10 Keyboard [E-Signal USB Gaming Mouse] on usb-0000:00:1d.0-1.3/input1
[52122.345737] hid-generic 0003:04D9:A09F.0008: hiddev0,hidraw4: USB HID v1.10 Device [E-Signal USB Gaming Mouse] on usb-0000:00:1d.0-1.3/input2
[62721.194712] 8139too: 8139too Fast Ethernet driver 0.9.28
[62721.196085] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc90000657000, e8:de:27:a7:e7:b6, IRQ 17
[62721.999860] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[62722.115847] IPv6: ADDRCONF(NETDEV_UP): enp7s1: link is not ready
[62722.116023] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[62982.750029] irq 17: nobody cared (try booting with the "irqpoll" option)
[62982.750034] CPU: 0 PID: 0 Comm: swapper/0 Tainted: PF O 4.10.2-1-ARCH #1
[62982.750035] Hardware name: System manufacturer System Product Name/P8H61, BIOS 0602 09/13/2011
[62982.750035] Call Trace:
[62982.750037] <IRQ>
[62982.750041] dump_stack+0x63/0x83
[62982.750044] __report_bad_irq+0x35/0xc0
[62982.750045] note_interrupt+0x234/0x280
[62982.750047] handle_irq_event_percpu+0x54/0x80
[62982.750049] handle_irq_event+0x39/0x60
[62982.750050] handle_fasteoi_irq+0x8f/0x160
[62982.750052] handle_irq+0x1a/0x30
[62982.750054] do_IRQ+0x46/0xd0
[62982.750056] common_interrupt+0x89/0x89
[62982.750058] RIP: 0010:cpuidle_enter_state+0x131/0x2e0
[62982.750059] RSP: 0018:ffffffff81a03dc8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff7e
[62982.750060] RAX: 0000000000000000 RBX: 00003948507132ff RCX: 000000000000001f
[62982.750061] RDX: 00003948507132ff RSI: ffff88011f415818 RDI: 0000000000000000
[62982.750062] RBP: ffffffff81a03e00 R08: cccccccccccccccd R09: 0000000000000008
[62982.750063] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
[62982.750064] R13: 0000000000000001 R14: ffff88011f41fd00 R15: 0000394850712a9d
[62982.750064] </IRQ>
[62982.750066] ? cpuidle_enter_state+0x10f/0x2e0
[62982.750068] cpuidle_enter+0x17/0x20
[62982.750069] call_cpuidle+0x23/0x40
[62982.750070] do_idle+0x189/0x200
[62982.750072] cpu_startup_entry+0x71/0x80
[62982.750074] rest_init+0x84/0x90
[62982.750076] start_kernel+0x44d/0x46e
[62982.750078] ? early_idt_handler_array+0x120/0x120
[62982.750080] x86_64_start_reservations+0x2a/0x2c
[62982.750082] x86_64_start_kernel+0x14c/0x16f
[62982.750083] start_cpu+0x14/0x14
[62982.750084] handlers:
[62982.750089] [<ffffffffa03eb940>] azx_interrupt [snd_hda_codec]
[62982.750091] [<ffffffffa031a0b0>] rtl8139_interrupt [8139too]
[62982.750092] Disabling IRQ #17
[63224.234851] device-mapper: uevent: version 1.0.3
[63224.234932] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[63257.928256] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[63257.928260] 8139cp 0000:07:01.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[63260.704034] 8139too: 8139too Fast Ethernet driver 0.9.28
[63260.705495] 8139too 0000:07:01.0 eth0: RealTek RTL8139 at 0xffffc900006d7000, e8:de:27:a7:e7:b6, IRQ 17
[63260.708679] 8139too 0000:07:01.0 enp7s1: renamed from eth0
[63260.795630] IPv6: ADDRCONF(NETDEV_UP): enp7s1: link is not ready
[63260.795726] 8139too 0000:07:01.0 enp7s1: link up, 100Mbps, full-duplex, lpa 0xC5E1
I'm hoping someone can help me resolve this issue please ask if I need to include anything else that I may have forgotten to.
Cheers, thanks for taking your time to read through this.
Offline