
(Inoltre la pendrive va più veloce del previsto, ho praticcamente quasi finito)
Codice: Seleziona tutto
lspci -knn | grep -A 2 -i net
Codice: Seleziona tutto
ninjaturtle@313:~$ lspci -knn | grep -A 2 -i net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:2190]
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: Hewlett-Packard Company QCA9565 / AR9565 Wireless Network Adapter [103c:217f]
Kernel driver in use: ath9k
Kernel modules: ath9k
Codice: Seleziona tutto
dmesg | egrep 'enp2s0|r8169'
Codice: Seleziona tutto
ninjaturtle@313:~$ dmesg | egrep 'enp2s0|r8169'
[ 2.290727] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 2.290746] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 2.291385] r8169 0000:02:00.0 eth0: RTL8106e at 0xffffc9000040e000, 40:a8:f0:01:60:d2, XID 04900000 IRQ 89
[ 2.409263] r8169 0000:02:00.0 enp2s0: renamed from eth0
[ 32.672287] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.059691] r8169 0000:02:00.0 enp2s0: link down
[ 33.059780] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
Codice: Seleziona tutto
sudo apt-get install fwts
Codice: Seleziona tutto
sudo fwts aspm
Codice: Seleziona tutto
ninjaturtle@313:~$ sudo fwts aspm
Running 1 tests, results appended to results.log
Test: PCIe ASPM test.
PCIe ASPM ACPI test.
PCIe ASPM registers test. 1 passed, 1 failed, 1 warning
Codice: Seleziona tutto
dmesg | egrep 'enp2s0|r8169'
Codice: Seleziona tutto
Results generated by fwts: Version V16.03.00 (2016-03-14 09:10:20).
Some of this work - Copyright (c) 1999 - 2016, Intel Corp. All rights reserved.
Some of this work - Copyright (c) 2010 - 2016, Canonical.
This test run on 14/11/16 at 12:46:55 on host Linux 313 4.4.0-47-generic
#68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64.
Command: "fwts aspm".
Running tests: aspm.
aspm: PCIe ASPM test.
--------------------------------------------------------------------------------
Test 1 of 2: PCIe ASPM ACPI test.
FADT X_FIRMWARE_CTRL 64 bit pointer was zero, falling back to using
FIRMWARE_CTRL 32 bit pointer.
PCIe ASPM is controlled by Linux kernel.
Test 2 of 2: PCIe ASPM registers test.
PASSED: Test 2, PCIe ASPM setting matched was matched.
WARNING: Test 2, Device 03h:00h.00h L0s not enabled.
ADVICE: The ASPM L0s low power Link state is optimized for short entry and exit
latencies, while providing substantial power savings. Disabling L0s of a PCIe
device may increases power consumption, and will impact the battery life of a
mobile system.
FAILED [MEDIUM] PCIEASPM_Unmatched: Test 2, PCIe ASPM setting was not matched.
RP 00h:1Ch.03h has ASPM = 03h.
Device 03h:00h.00h has ASPM = 02h.
ADVICE: ASPM control registers between root port and device must match in order
for ASPM to be active. Unmatched configuration indicates software did not
configure ASPM correctly and the system is not saving power at its full
potential.
================================================================================
1 passed, 1 failed, 1 warning, 0 aborted, 0 skipped, 0 info only.
================================================================================
1 passed, 1 failed, 1 warning, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
================================================================================
Critical failures: NONE
High failures: NONE
Medium failures: 1
aspm: PCIe ASPM setting was not matched.
Low failures: NONE
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
aspm | 1| 1| | 1| | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 1| 1| 0| 1| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+
Codice: Seleziona tutto
ninjaturtle@313:~$ dmesg | egrep 'enp2s0|r8169'
[ 2.111517] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 2.111539] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 2.112161] r8169 0000:02:00.0 eth0: RTL8106e at 0xffffc9000035c000, 40:a8:f0:01:60:d2, XID 04900000 IRQ 89
[ 2.221708] r8169 0000:02:00.0 enp2s0: renamed from eth0
[ 32.487531] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 32.737076] r8169 0000:02:00.0 enp2s0: link down
[ 32.737163] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
Codice: Seleziona tutto
GRUB_CMDLINE_LINUX_DEFAULT="pcie_aspm=off"
Codice: Seleziona tutto
sudo update-grub
Codice: Seleziona tutto
dmesg | egrep 'enp2s0|r8169'
Codice: Seleziona tutto
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Non sostituire, aggiungilo così (*)el merendeiro [url=http://forum.ubuntu-it.org/viewtopic.php?p=4933947#p4933947][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: Ok, quindi devo sostituire "quite splash"?Codice: Seleziona tutto
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Codice: Seleziona tutto
GRUB_CMDLINE_LINUX_DEFAULT="pcie_aspm=off quiet splash"
Codice: Seleziona tutto
ninjaturtle@313:~$ sudo update-grub
Generating grub configuration file ...
Attenzione: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Trovata immagine linux: /boot/vmlinuz-4.4.0-47-generic
Trovata immagine initrd: /boot/initrd.img-4.4.0-47-generic
Trovata immagine linux: /boot/vmlinuz-4.4.0-45-generic
Trovata immagine initrd: /boot/initrd.img-4.4.0-45-generic
Adding boot menu entry for EFI firmware configuration
fatto
Codice: Seleziona tutto
ninjaturtle@313:~$ dmesg | egrep 'enp2s0|r8169'
[ 2.282562] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 2.283207] r8169 0000:02:00.0 eth0: RTL8106e at 0xffffc9000040e000, 40:a8:f0:01:60:d2, XID 04900000 IRQ 89
[ 2.398875] r8169 0000:02:00.0 enp2s0: renamed from eth0
[ 31.994698] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 32.605710] r8169 0000:02:00.0 enp2s0: link down
[ 32.605797] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
Se hai disabilitato la riconnessione automatica alla rete WIFI come ti ho detto di fare, non dovresti avere paranoie ... se vuoi smetto di scriverti stacca / attacca cavo, basta che ti ricordi di farloel merendeiro [url=http://forum.ubuntu-it.org/viewtopic.php?p=4933955#p4933955][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: (Sempre con il WIFI attivo, ci ho pensato dopo... 'sta cosa del conflitto mi sta facendo imparanoiare)
Uhm ... qualcosa è cambiato ... adesso riprovael merendeiro [url=http://forum.ubuntu-it.org/viewtopic.php?p=4933955#p4933955][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Codice: Seleziona tutto
ninjaturtle@313:~$ dmesg | egrep 'enp2s0|r8169' [ 2.282562] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 2.283207] r8169 0000:02:00.0 eth0: RTL8106e at 0xffffc9000040e000, 40:a8:f0:01:60:d2, XID 04900000 IRQ 89 [ 2.398875] r8169 0000:02:00.0 enp2s0: renamed from eth0 [ 31.994698] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready [ 32.605710] r8169 0000:02:00.0 enp2s0: link down [ 32.605797] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
Codice: Seleziona tutto
sudo ethtool -s enp2s0 speed 100 duplex full autoneg off
No anzi, mi imparanoio perché non so se devo staccarla e perché mi dimentico, la connessione automatica è disabilitata ma poi la riattacco per copiare i comandi e scrivere sul forum.Se hai disabilitato la riconnessione automatica alla rete WIFI come ti ho detto di fare, non dovresti avere paranoie ... se vuoi smetto di scriverti stacca / attacca cavo, basta che ti ricordi di farlo
Codice: Seleziona tutto
ninjaturtle@313:~$ sudo ethtool -s enp2s0 speed 100 duplex full autoneg off
ninjaturtle@313:~$
Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti