Control: tag -1 moreinfo On Wed, 2017-01-25 at 00:00 +0100, Andrea Zuccherelli wrote: > Package: src:linux > Version: 4.8.15-2 > Severity: normal > Tags: upstream > > Dear Maintainer, > > The Ethernet controller RTL8105e in my Toshiba C660 notebook had a very strange behaviour. > It worked once but not after, being not even seen by BIOS for LAN boot on next reboot. > A hardware issue? It sounds like it. But all hardware has bugs, and drivers should work around those bugs if possible. [...] > Searching for a solution I found that only a PCI reset, after unloading the driver could help: > > root@zbox:~# echo 1 >/sys/bus/pci/devices/0000:01:00.0/reset > > So I added this to my "post-down" interface configuration. > > Obviously this is just a workaround: so what is happening here? > Is my hardware not resetting the PCI bus on an ACPI poweroff event? > Should the kernel or driver do it? > Where is the best place to force a device PCI reset so that no problem could arise on hibernate/suspend? In the driver. :-) But first, please test without these kernel parameters: pcie_aspm=force "acpi_osi=Windows 2009" "acpi_os_name=Windows 2009" Ben. -- Ben Hutchings Design a system any fool can use, and only a fool will want to use it.
Attachment:
signature.asc
Description: This is a digitally signed message part