[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2018-06-10 Thread George Mathioudakis
I fixed the slow booting problem by editing "/etc/hdparm.conf" and
changing "apm_battery" value to "255". Now my laptop boots normally on
battery mode (same speed as plugged in AC).

Now, for the AER problem, just ignore it. Add pci=noaer as kernel boot 
parameter.
I hope I helped.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  --
  UPDATE: When the laptop is fully charged and still on AC (but not charging 
since it is 100% charged), the errors appear again but the SSD speed is normal 
(~500 Read/Write).
  --
  UPDATE: I installed 'tlp' Advanced Power Management package and when using 
the command 'tlp ac', the SSD speed gets back to normal! The option does not 
persist across reboots.
  --

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-11-10 Thread George Mathioudakis
Very Important Info: I inserted my Samsung 850 EVO 250GB SSD on my
laptop's HDD slot and on battery power, with TLP off, it runs on normal
speed 550MB/S Read/Write! My primary M.2 SSD "Micron 1100 250GB" is
still running on 32MB/S Read/Write. That means Micron SSD is checking
for battery/ac mode.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  --
  UPDATE: When the laptop is fully charged and still on AC (but not charging 
since it is 100% charged), the errors appear again but the SSD speed is normal 
(~500 Read/Write).
  --
  UPDATE: I installed 'tlp' Advanced Power Management package and when using 
the command 'tlp ac', the SSD speed gets back to normal! The option does not 
persist across reboots.
  --

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 

Re: [Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-11-10 Thread George Mathioudakis
I attached the output of ssd's hdparm results.

2017-11-10 11:17 GMT+02:00 Kai-Heng Feng :

> Can you attach the output of `hdparm -I /dev/sda`? Assume /dev/sda is
> the SSD.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1726159
>
> Title:
>   PCIe BUS Error causing really slow laptop performance
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   I recently bought the following laptop:
>   Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
>
>   It came pre-installed with Win10 and I did a fresh install of Ubuntu
>   16.04 LTS. The screen was flickering for some reason and installing
>   Ubuntu 17.04 fixed the issue.
>
>   The real problem is that when I'm booting the laptop, the following
>   error is being shown on my screen:
>
>   [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
>   [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error
> received: id=00e5
>   [   12.898488] pcieport :00:1c.5: PCIe Bus Error:
> severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
>   [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error
> status/mask=2041/2000
>   [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error
>  (First)
>   [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
>
>   I know that this error can be hid with one of the following kernel boot
> arguments:
>   pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
>
>   The weird thing is that the above output is only being shown when the
>   laptop is on AC Power (charging). When the laptop is not connected to
>   AC (battery-mode), it has performance issues (slow boot and slow
>   application launching). I was trying all day long to fix the problem.
>   I removed everything that had to do with power-saving, reinstalled,
>   re-tweaked for performance, tried different kernels but had no luck.
>   While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
>   my laptop had. The results are:
>
>   * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
>   * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
>
>   This explains everyting. That's why I'm having a slow boot and slow
>   application launching!
>
>   Commands "lspci" and "dmesg" say that the error comes from the following
> device:
>   00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root
> Port #6 (rev f1)
>
>   I will attach lspci and dmesg output on a tar.gz file.
>
>   
> --
>   UPDATE: When the laptop is fully charged and still on AC (but not
> charging since it is 100% charged), the errors appear again but the SSD
> speed is normal (~500 Read/Write).
>   
> --
>   UPDATE: I installed 'tlp' Advanced Power Management package and when
> using the command 'tlp ac', the SSD speed gets back to normal! The option
> does not persist across reboots.
>   
> --
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 17.04
>   Package: linux-image-4.10.0-37-generic 4.10.0-37.41
>   ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
>   Uname: Linux 4.10.0-37-generic x86_64
>   ApportVersion: 2.20.4-0ubuntu4.5
>   Architecture: amd64
>   AudioDevicesInUse:
>USERPID ACCESS COMMAND
>/dev/snd/controlC0:  georgem2557 F pulseaudio
>   CurrentDesktop: Unity:Unity7
>   Date: Sun Oct 22 23:17:57 2017
>   InstallationDate: Installed on 2017-10-20 (2 days ago)
>   InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
>   Lsusb:
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>Bus 001 Device 004: ID 13d3:3496 IMC Networks
>Bus 001 Device 003: ID 13d3:5a01 IMC Networks
>Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   MachineType: ASUSTeK COMPUTER INC. X542UQ
>   ProcFB: 0 inteldrmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed
> root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash
> vt.handoff=7
>   RelatedPackageVersions:
>linux-restricted-modules-4.10.0-37-generic N/A
>linux-backports-modules-4.10.0-37-generic  N/A
>linux-firmware 1.164.1
>   SourcePackage: linux
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 05/18/2017
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: X542UQ.202
>   dmi.board.asset.tag: ATN12345678901234567
>   dmi.board.name: X542UQ
>   dmi.board.vendor: ASUSTeK COMPUTER INC.
>   dmi.board.version: 1.0
>   dmi.chassis.asset.tag: No Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: ASUSTeK COMPUTER INC.
>   dmi.chassis.version: 1.0

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-11-09 Thread George Mathioudakis
The output of host0,1,etc are all: max_performance.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  --
  UPDATE: When the laptop is fully charged and still on AC (but not charging 
since it is 100% charged), the errors appear again but the SSD speed is normal 
(~500 Read/Write).
  --
  UPDATE: I installed 'tlp' Advanced Power Management package and when using 
the command 'tlp ac', the SSD speed gets back to normal! The option does not 
persist across reboots.
  --

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications 

Re: [Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-11-06 Thread George Mathioudakis
I modified all settings ending on _BAT and some that were related to
storage/sata.

2017-11-06 3:23 GMT+02:00 Kai-Heng Feng <kai.heng.f...@canonical.com>:

> > On 3 Nov 2017, at 10:11 PM, George Mathioudakis <
> 1726...@bugs.launchpad.net> wrote:
> >
> > I modified tlp for max performance but tlp starts only when desktop
> boots.
> > So, kernel boot is slow.
>
> Sounds like not the SATA link power management? So which value exactly?
>
> >
> > 2017-11-02 8:57 GMT+02:00 Kai-Heng Feng <kai.heng.f...@canonical.com>:
> >
> >> Did you change the SATA link power management or other settings?
> >>
> >> Can you attach the diff of your TLP setting?
> >>
> >> --
> >> You received this bug notification because you are subscribed to the bug
> >> report.
> >> https://bugs.launchpad.net/bugs/1726159
> >>
> >> Title:
> >>  PCIe BUS Error causing really slow laptop performance
> >>
> >> Status in linux package in Ubuntu:
> >>  Confirmed
> >>
> >> Bug description:
> >>  I recently bought the following laptop:
> >>  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
> >>
> >>  It came pre-installed with Win10 and I did a fresh install of Ubuntu
> >>  16.04 LTS. The screen was flickering for some reason and installing
> >>  Ubuntu 17.04 fixed the issue.
> >>
> >>  The real problem is that when I'm booting the laptop, the following
> >>  error is being shown on my screen:
> >>
> >>  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
> >>  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error
> >> received: id=00e5
> >>  [   12.898488] pcieport :00:1c.5: PCIe Bus Error:
> >> severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
> >>  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error
> >> status/mask=2041/2000
> >>  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error
> >> (First)
> >>  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
> >>
> >>  I know that this error can be hid with one of the following kernel boot
> >> arguments:
> >>  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
> >>
> >>  The weird thing is that the above output is only being shown when the
> >>  laptop is on AC Power (charging). When the laptop is not connected to
> >>  AC (battery-mode), it has performance issues (slow boot and slow
> >>  application launching). I was trying all day long to fix the problem.
> >>  I removed everything that had to do with power-saving, reinstalled,
> >>  re-tweaked for performance, tried different kernels but had no luck.
> >>  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
> >>  my laptop had. The results are:
> >>
> >>  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
> >>  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
> >>
> >>  This explains everyting. That's why I'm having a slow boot and slow
> >>  application launching!
> >>
> >>  Commands "lspci" and "dmesg" say that the error comes from the
> following
> >> device:
> >>  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root
> >> Port #6 (rev f1)
> >>
> >>  I will attach lspci and dmesg output on a tar.gz file.
> >>
> >>  
> >> --
> >>  UPDATE: When the laptop is fully charged and still on AC (but not
> >> charging since it is 100% charged), the errors appear again but the SSD
> >> speed is normal (~500 Read/Write).
> >>  
> >> --
> >>  UPDATE: I installed 'tlp' Advanced Power Management package and when
> >> using the command 'tlp ac', the SSD speed gets back to normal! The
> option
> >> does not persist across reboots.
> >>  
> >> --
> >>
> >>  ProblemType: Bug
> >>  DistroRelease: Ubuntu 17.04
> >>  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
> >>  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
> >>  Uname: Linux 4.10.0-37-generic x86_64
> >>  ApportVersion: 2.20.4-0ubuntu4.5
> >>  Architecture: amd64
> >>  AudioDevicesInUs

Re: [Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-11-03 Thread George Mathioudakis
I modified tlp for max performance but tlp starts only when desktop boots.
So, kernel boot is slow.

2017-11-02 8:57 GMT+02:00 Kai-Heng Feng :

> Did you change the SATA link power management or other settings?
>
> Can you attach the diff of your TLP setting?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1726159
>
> Title:
>   PCIe BUS Error causing really slow laptop performance
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   I recently bought the following laptop:
>   Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
>
>   It came pre-installed with Win10 and I did a fresh install of Ubuntu
>   16.04 LTS. The screen was flickering for some reason and installing
>   Ubuntu 17.04 fixed the issue.
>
>   The real problem is that when I'm booting the laptop, the following
>   error is being shown on my screen:
>
>   [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
>   [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error
> received: id=00e5
>   [   12.898488] pcieport :00:1c.5: PCIe Bus Error:
> severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
>   [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error
> status/mask=2041/2000
>   [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error
>  (First)
>   [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
>
>   I know that this error can be hid with one of the following kernel boot
> arguments:
>   pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
>
>   The weird thing is that the above output is only being shown when the
>   laptop is on AC Power (charging). When the laptop is not connected to
>   AC (battery-mode), it has performance issues (slow boot and slow
>   application launching). I was trying all day long to fix the problem.
>   I removed everything that had to do with power-saving, reinstalled,
>   re-tweaked for performance, tried different kernels but had no luck.
>   While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
>   my laptop had. The results are:
>
>   * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
>   * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
>
>   This explains everyting. That's why I'm having a slow boot and slow
>   application launching!
>
>   Commands "lspci" and "dmesg" say that the error comes from the following
> device:
>   00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root
> Port #6 (rev f1)
>
>   I will attach lspci and dmesg output on a tar.gz file.
>
>   
> --
>   UPDATE: When the laptop is fully charged and still on AC (but not
> charging since it is 100% charged), the errors appear again but the SSD
> speed is normal (~500 Read/Write).
>   
> --
>   UPDATE: I installed 'tlp' Advanced Power Management package and when
> using the command 'tlp ac', the SSD speed gets back to normal! The option
> does not persist across reboots.
>   
> --
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 17.04
>   Package: linux-image-4.10.0-37-generic 4.10.0-37.41
>   ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
>   Uname: Linux 4.10.0-37-generic x86_64
>   ApportVersion: 2.20.4-0ubuntu4.5
>   Architecture: amd64
>   AudioDevicesInUse:
>USERPID ACCESS COMMAND
>/dev/snd/controlC0:  georgem2557 F pulseaudio
>   CurrentDesktop: Unity:Unity7
>   Date: Sun Oct 22 23:17:57 2017
>   InstallationDate: Installed on 2017-10-20 (2 days ago)
>   InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
>   Lsusb:
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>Bus 001 Device 004: ID 13d3:3496 IMC Networks
>Bus 001 Device 003: ID 13d3:5a01 IMC Networks
>Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   MachineType: ASUSTeK COMPUTER INC. X542UQ
>   ProcFB: 0 inteldrmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed
> root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash
> vt.handoff=7
>   RelatedPackageVersions:
>linux-restricted-modules-4.10.0-37-generic N/A
>linux-backports-modules-4.10.0-37-generic  N/A
>linux-firmware 1.164.1
>   SourcePackage: linux
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 05/18/2017
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: X542UQ.202
>   dmi.board.asset.tag: ATN12345678901234567
>   dmi.board.name: X542UQ
>   dmi.board.vendor: ASUSTeK COMPUTER INC.
>   dmi.board.version: 1.0
>   dmi.chassis.asset.tag: No Asset Tag
>   

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-31 Thread George Mathioudakis
Changing TLP config values did the job. But, tlp is making changes only
when the desktop appears. How can I change kernel values to start on max
performance? What value changes tlp does to kernel?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  --
  UPDATE: When the laptop is fully charged and still on AC (but not charging 
since it is 100% charged), the errors appear again but the SSD speed is normal 
(~500 Read/Write).
  --
  UPDATE: I installed 'tlp' Advanced Power Management package and when using 
the command 'tlp ac', the SSD speed gets back to normal! The option does not 
persist across reboots.
  --

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-27 Thread George Mathioudakis
UPDATE: I installed 'tlp' Advanced Power Management package and when
using the command 'tlp ac', the SSD speed gets back to normal! The
option does not persist across reboots.

** Description changed:

  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
  
  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.
  
  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:
  
  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
  
  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
  
  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to AC
  (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem. I
  removed everything that had to do with power-saving, reinstalled, re-
  tweaked for performance, tried different kernels but had no luck. While
  diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that my
  laptop had. The results are:
  
  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
  
  This explains everyting. That's why I'm having a slow boot and slow
  application launching!
  
  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)
  
  I will attach lspci and dmesg output on a tar.gz file.
  
  --
  UPDATE: When the laptop is fully charged and still on AC (but not charging 
since it is 100% charged), the errors appear again but the SSD speed is normal 
(~500 Read/Write).
+ --
+ UPDATE: I installed 'tlp' Advanced Power Management package and when using 
the command 'tlp ac', the SSD speed gets back to normal! The option does not 
persist across reboots.
  --
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

Re: [Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-26 Thread George Mathioudakis
I attached the dump file "dump.txt".

2017-10-26 18:12 GMT+03:00 Kai-Heng Feng :

> Please install acpidump, then
>
> $ sudo acpidump > dump
>
> and attach the dump file.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1726159
>
> Title:
>   PCIe BUS Error causing really slow laptop performance
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   I recently bought the following laptop:
>   Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
>
>   It came pre-installed with Win10 and I did a fresh install of Ubuntu
>   16.04 LTS. The screen was flickering for some reason and installing
>   Ubuntu 17.04 fixed the issue.
>
>   The real problem is that when I'm booting the laptop, the following
>   error is being shown on my screen:
>
>   [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
>   [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error
> received: id=00e5
>   [   12.898488] pcieport :00:1c.5: PCIe Bus Error:
> severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
>   [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error
> status/mask=2041/2000
>   [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error
>  (First)
>   [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
>
>   I know that this error can be hid with one of the following kernel boot
> arguments:
>   pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
>
>   The weird thing is that the above output is only being shown when the
>   laptop is on AC Power (charging). When the laptop is not connected to
>   AC (battery-mode), it has performance issues (slow boot and slow
>   application launching). I was trying all day long to fix the problem.
>   I removed everything that had to do with power-saving, reinstalled,
>   re-tweaked for performance, tried different kernels but had no luck.
>   While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
>   my laptop had. The results are:
>
>   * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
>   * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
>
>   This explains everyting. That's why I'm having a slow boot and slow
>   application launching!
>
>   Commands "lspci" and "dmesg" say that the error comes from the following
> device:
>   00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root
> Port #6 (rev f1)
>
>   I will attach lspci and dmesg output on a tar.gz file.
>
>   
> --
>   UPDATE: When the laptop is fully charged and still on AC (but not
> charging since it is 100% charged), the errors appear again but the SSD
> speed is normal (~500 Read/Write).
>   
> --
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 17.04
>   Package: linux-image-4.10.0-37-generic 4.10.0-37.41
>   ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
>   Uname: Linux 4.10.0-37-generic x86_64
>   ApportVersion: 2.20.4-0ubuntu4.5
>   Architecture: amd64
>   AudioDevicesInUse:
>USERPID ACCESS COMMAND
>/dev/snd/controlC0:  georgem2557 F pulseaudio
>   CurrentDesktop: Unity:Unity7
>   Date: Sun Oct 22 23:17:57 2017
>   InstallationDate: Installed on 2017-10-20 (2 days ago)
>   InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
>   Lsusb:
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>Bus 001 Device 004: ID 13d3:3496 IMC Networks
>Bus 001 Device 003: ID 13d3:5a01 IMC Networks
>Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   MachineType: ASUSTeK COMPUTER INC. X542UQ
>   ProcFB: 0 inteldrmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed
> root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash
> vt.handoff=7
>   RelatedPackageVersions:
>linux-restricted-modules-4.10.0-37-generic N/A
>linux-backports-modules-4.10.0-37-generic  N/A
>linux-firmware 1.164.1
>   SourcePackage: linux
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 05/18/2017
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: X542UQ.202
>   dmi.board.asset.tag: ATN12345678901234567
>   dmi.board.name: X542UQ
>   dmi.board.vendor: ASUSTeK COMPUTER INC.
>   dmi.board.version: 1.0
>   dmi.chassis.asset.tag: No Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: ASUSTeK COMPUTER INC.
>   dmi.chassis.version: 1.0
>   dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:
> svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:
> rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
>   dmi.product.name: X542UQ
>   dmi.product.version: 1.0
>   

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-26 Thread George Mathioudakis
UPDATE: When the laptop is fully charged and still on AC (but not
charging since it is 100% charged), the errors appear again but the SSD
speed is normal (~500 Read/Write).

I don't think that the CPU frequency has a limit when on battery-mode.
The problem is related with my stock SSD (the laptop came with).

** Description changed:

  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
  
  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.
  
  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:
  
  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
  
  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
  
  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to AC
  (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem. I
  removed everything that had to do with power-saving, reinstalled, re-
  tweaked for performance, tried different kernels but had no luck. While
  diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that my
  laptop had. The results are:
  
  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
  
  This explains everyting. That's why I'm having a slow boot and slow
  application launching!
  
  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)
  
  I will attach lspci and dmesg output on a tar.gz file.
+ 
+ --
+ UPDATE: When the laptop is fully charged and still on AC (but not charging 
since it is 100% charged), the errors appear again but the SSD speed is normal 
(~500 Read/Write).
+ --
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-24 Thread George Mathioudakis
I blacklisted ath10k_pci by adding "modprobe.blacklist=ath10k_pci" as a
kernel parameter.

The errors are gone, but the slow Read/Write problem still persists.
Also, the Wi-Fi (as expected) is going completely off.

Reminder: The erros are not showing on the boot screen or system logs
when connected to AC power and the SSD speeds are normal (~500
Read/Write)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726159/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-23 Thread George Mathioudakis
Device booted with the latest mainline kernel "v4.14-rc6" on "Ubuntu
17.04".

Results: Error still persists.

Marking bug report as "CONFIRMED" after following @jsalisbury's advice.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726159/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-23 Thread George Mathioudakis
** Tags added: kernel-bug-exists-upstream

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance, tried different kernels but had no luck.
  While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that
  my laptop had. The results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726159/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-22 Thread George Mathioudakis
** Description changed:

- I recently bought the following laptop: 
+ I recently bought the following laptop:
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)
  
  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.
  
  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:
  
  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP
  
  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.
  
  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to AC
  (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem. I
  removed everything that had to do with power-saving, reinstalled, re-
- tweaked for performance but had no luck. While diagnosing, I had the
- idea to benchmark the "M2 SATA-3 SSD" that my laptop had. The results
- are:
+ tweaked for performance, tried different kernels but had no luck. While
+ diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that my
+ laptop had. The results are:
  
  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)
  
  This explains everyting. That's why I'm having a slow boot and slow
  application launching!
  
  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)
  
  I will attach lspci and dmesg output on a tar.gz file.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
-  USERPID ACCESS COMMAND
-  /dev/snd/controlC0:  georgem2557 F pulseaudio
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
-  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
-  Bus 001 Device 004: ID 13d3:3496 IMC Networks 
-  Bus 001 Device 003: ID 13d3:5a01 IMC Networks 
-  Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 004: ID 13d3:3496 IMC Networks
+  Bus 001 Device 003: ID 13d3:5a01 IMC Networks
+  Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
-  linux-restricted-modules-4.10.0-37-generic N/A
-  linux-backports-modules-4.10.0-37-generic  N/A
-  linux-firmware 1.164.1
+  linux-restricted-modules-4.10.0-37-generic N/A
+  linux-backports-modules-4.10.0-37-generic  N/A
+  linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe 

[Kernel-packages] [Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

2017-10-22 Thread George Mathioudakis
** Summary changed:

- PCIe Error causing really slow laptop performance
+ PCIe BUS Error causing really slow laptop performance

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop: 
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
  [   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
  [   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
  [   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
  [   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

  I know that this error can be hid with one of the following kernel boot 
arguments:
  pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

  The weird thing is that the above output is only being shown when the
  laptop is on AC Power (charging). When the laptop is not connected to
  AC (battery-mode), it has performance issues (slow boot and slow
  application launching). I was trying all day long to fix the problem.
  I removed everything that had to do with power-saving, reinstalled,
  re-tweaked for performance but had no luck. While diagnosing, I had
  the idea to benchmark the "M2 SATA-3 SSD" that my laptop had. The
  results are:

  * On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
  * On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

  This explains everyting. That's why I'm having a slow boot and slow
  application launching!

  Commands "lspci" and "dmesg" say that the error comes from the following 
device:
  00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port 
#6 (rev f1)

  I will attach lspci and dmesg output on a tar.gz file.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-37-generic 4.10.0-37.41
  ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
  Uname: Linux 4.10.0-37-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  georgem2557 F pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Sun Oct 22 23:17:57 2017
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 13d3:3496 IMC Networks 
   Bus 001 Device 003: ID 13d3:5a01 IMC Networks 
   Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. X542UQ
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-37-generic N/A
   linux-backports-modules-4.10.0-37-generic  N/A
   linux-firmware 1.164.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X542UQ.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X542UQ
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X542UQ
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726159/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1726159] [NEW] PCIe BUS Error causing really slow laptop performance

2017-10-22 Thread George Mathioudakis
Public bug reported:

I recently bought the following laptop: 
Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

It came pre-installed with Win10 and I did a fresh install of Ubuntu
16.04 LTS. The screen was flickering for some reason and installing
Ubuntu 17.04 fixed the issue.

The real problem is that when I'm booting the laptop, the following
error is being shown on my screen:

[   12.866073] pcieport :00:1c.5: can't find device of ID00e5
[   12.898481] pcieport :00:1c.5: AER: Multiple Corrected error received: 
id=00e5
[   12.898488] pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e5(Receiver ID)
[   12.898491] pcieport :00:1c.5:   device [8086:9d15] error 
status/mask=2041/2000
[   12.898492] pcieport :00:1c.5:[ 0] Receiver Error (First)
[   12.898493] pcieport :00:1c.5:[ 6] Bad TLP

I know that this error can be hid with one of the following kernel boot 
arguments:
pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

The weird thing is that the above output is only being shown when the
laptop is on AC Power (charging). When the laptop is not connected to AC
(battery-mode), it has performance issues (slow boot and slow
application launching). I was trying all day long to fix the problem. I
removed everything that had to do with power-saving, reinstalled, re-
tweaked for performance but had no luck. While diagnosing, I had the
idea to benchmark the "M2 SATA-3 SSD" that my laptop had. The results
are:

* On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
* On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

This explains everyting. That's why I'm having a slow boot and slow
application launching!

Commands "lspci" and "dmesg" say that the error comes from the following device:
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 
(rev f1)

I will attach lspci and dmesg output on a tar.gz file.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-37-generic 4.10.0-37.41
ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
Uname: Linux 4.10.0-37-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  georgem2557 F pulseaudio
CurrentDesktop: Unity:Unity7
Date: Sun Oct 22 23:17:57 2017
InstallationDate: Installed on 2017-10-20 (2 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 13d3:3496 IMC Networks 
 Bus 001 Device 003: ID 13d3:5a01 IMC Networks 
 Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. X542UQ
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed 
root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-37-generic N/A
 linux-backports-modules-4.10.0-37-generic  N/A
 linux-firmware 1.164.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X542UQ.202
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X542UQ
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X542UQ
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Confirmed


** Tags: amd64 apport-bug asus error kernel-bug laptop pcie vivobook zesty

** Attachment added: "The following compressed folder contains dmesg.txt and 
lspci.txt"
   
https://bugs.launchpad.net/bugs/1726159/+attachment/4986395/+files/report.tar.gz

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1726159

Title:
  PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I recently bought the following laptop: 
  Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

  It came pre-installed with Win10 and I did a fresh install of Ubuntu
  16.04 LTS. The screen was flickering for some reason and installing
  Ubuntu 17.04 fixed the issue.

  The real problem is that when I'm booting the laptop, the following
  error is being shown on my screen:

  [   12.866073] pcieport :00:1c.5: can't find device of ID00e5
  [   12.898481]