[Kernel-packages] [Bug 1797802] Re: Erratic behavior of CPU frequency control under load

2018-10-21 Thread Piotr Kołaczkowski
Can you reassign this bug to thermald package?
Or should I create a new one?
Thanks

-- 
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/1797802

Title:
  Erratic behavior of CPU frequency control under load

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of CPU frequency control under load

2018-10-21 Thread Piotr Kołaczkowski
Disabling thermald with:

sudo systemctl stop thermald

right after boot, before applying any load seems to help getting stable
performance.

A thermald bug?

-- 
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/1797802

Title:
  Erratic behavior of CPU frequency control under load

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of CPU frequency control under load

2018-10-21 Thread Piotr Kołaczkowski
** Summary changed:

- Erratic behavior of intel pstate CPU frequency control
+ Erratic behavior of CPU frequency control under load

-- 
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/1797802

Title:
  Erratic behavior of CPU frequency control under load

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
Temperatures:
Before the performance drop: up to 97 C
After performance drop: 52-55 C

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
Perf data collected for the run above.

** Attachment added: "perf.data"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+attachment/5203562/+files/perf.data

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
I collected some perf data for further analysis.

I run a simple arithmetic multi-core benchmark.
The benchmark is 100% CPU bound - it adds 2 integers.

perf record java -jar target/benchmarks.jar 
org.ttnr.pmato.e2.cpumem.ArithmeticsBenchmark.add -wi 0 -i 40 -t 4 -f 1
# JMH version: 1.21
# VM version: JDK 1.8.0_181, Java HotSpot(TM) 64-Bit Server VM, 25.181-b13
# VM invoker: /opt/jdk1.8.0_181/jre/bin/java
# VM options: 
# Warmup: 
# Measurement: 40 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 4 threads, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: org.ttnr.pmato.e2.cpumem.ArithmeticsBenchmark.add

# Run progress: 0,00% complete, ETA 00:00:40
# Fork: 1 of 1
Iteration   1: 2,246 ±(99.9%) 0,648 ns/op  // <---  3.5+ GHz when started
Iteration   2: 2,181 ±(99.9%) 0,196 ns/op
Iteration   3: 2,262 ±(99.9%) 2,673 ns/op
Iteration   4: 2,296 ±(99.9%) 2,751 ns/op
Iteration   5: 3,004 ±(99.9%) 3,518 ns/op
Iteration   6: 5,468 ±(99.9%) 0,159 ns/op  // <--- sudden performance drop
Iteration   7: 6,372 ±(99.9%) 0,620 ns/op  // <--- now 1.3-1.5 GHz
Iteration   8: 6,389 ±(99.9%) 4,850 ns/op
Iteration   9: 5,363 ±(99.9%) 0,223 ns/op
Iteration  10: 5,174 ±(99.9%) 0,584 ns/op
Iteration  11: 5,093 ±(99.9%) 0,414 ns/op
Iteration  12: 5,069 ±(99.9%) 0,127 ns/op
Iteration  13: 5,070 ±(99.9%) 0,559 ns/op
Iteration  14: 4,927 ±(99.9%) 0,080 ns/op
Iteration  15: 5,045 ±(99.9%) 0,033 ns/op
Iteration  16: 5,052 ±(99.9%) 0,162 ns/op
Iteration  17: 4,964 ±(99.9%) 0,063 ns/op
Iteration  18: 4,979 ±(99.9%) 0,058 ns/op
Iteration  19: 4,992 ±(99.9%) 0,147 ns/op
Iteration  20: 4,955 ±(99.9%) 0,083 ns/op
Iteration  21: 5,061 ±(99.9%) 0,462 ns/op
Iteration  22: 5,004 ±(99.9%) 0,264 ns/op
Iteration  23: 4,966 ±(99.9%) 0,207 ns/op
Iteration  24: 4,950 ±(99.9%) 0,125 ns/op
Iteration  25: 4,925 ±(99.9%) 0,553 ns/op
Iteration  26: 4,961 ±(99.9%) 0,138 ns/op
Iteration  27: 4,921 ±(99.9%) 0,188 ns/op
Iteration  28: 4,980 ±(99.9%) 0,372 ns/op
Iteration  29: 4,899 ±(99.9%) 0,119 ns/op
Iteration  30: 4,884 ±(99.9%) 0,314 ns/op
Iteration  31: 4,878 ±(99.9%) 0,194 ns/op
Iteration  32: 4,962 ±(99.9%) 0,997 ns/op
Iteration  33: 4,958 ±(99.9%) 0,280 ns/op
Iteration  34: 4,889 ±(99.9%) 0,162 ns/op
Iteration  35: 5,018 ±(99.9%) 0,201 ns/op
Iteration  36: 5,002 ±(99.9%) 0,229 ns/op
Iteration  37: 4,927 ±(99.9%) 0,088 ns/op
Iteration  38: 4,935 ±(99.9%) 0,114 ns/op
Iteration  39: 4,976 ±(99.9%) 0,284 ns/op
Iteration  40: 4,925 ±(99.9%) 0,128 ns/op


Result "org.ttnr.pmato.e2.cpumem.ArithmeticsBenchmark.add":
  4,748 ±(99.9%) 0,541 ns/op [Average]
  (min, avg, max) = (2,181, 4,748, 6,389), stdev = 0,962
  CI (99.9%): [4,207, 5,289] (assumes normal distribution)

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Install

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-21 Thread Piotr Kołaczkowski
More observations:

The problem does not happen if I disable Intel speed-step in BIOS.
In this case, the CPU frequency of all cores goes to 2998 MHz whenever under 
load, and stays stable regardless of how long the load is applied. 

The problem still happens even if intel_pstate=disable is passed to the kernel 
on boot. 
I tried forcing the CPU to its max frequency by using userspace governor and it 
worked only under idle load (freq ~3.9 GHz). As soon as multi-core load was 
applied, the CPU frequency dropped to ~1.6 GHz and went back to ~3.9 GHz only 
when the load was over. I observed a similar pattern when trying to force CPU 
only to 2.8 GHz - it still slowed down to 1.6 GHz under load, even though 
temperature should not be a problem in this case.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
** 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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
Huh, another surprise. After running my infinte loop for the time I
wrote the previous post, suddenly it "magically" fixed itself and now
one core reports 100% C0 and ~6% C1, temperature 57, voltage 0.94. The
frequency did not go above 2.8 GHz, though.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
And as soon as I hit "rebuild project" in the IDE, the frequencies go
immediately down from 2.8 GHz to about 1.2-1.5 GHz now.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
The problem exists in 4.19.rc7 I just tried.

So overall, I'm not sure now if this is a "different state" of the
system, or just a normal behavior of it.

Fresh after boot, the CPU is willing to use frequencies above 3 GHz. The
same when I launch my IDE (IntelliJ idea for the first time). Then when
I hit "rebuild project" to compile all the stuff, the frequency goes up
to 3+ GHz for a short while, and after just 2-4 seconds it drops back to
about 1.3-1.6 GHz and stays at this level for the whole build (several
minutes). The temperatures reported by i7z do not go above 54 C on any
of the cores, and VCore is kept around 0.69 - 0.71.

What does not look right to me are very high numbers reported in the Halt (C1) 
column at the same time when C0 column reports numbers > 90. Typically C1 
numbers are over 50, and some hit 90+. 
This doesn't make much sense to me, because I thought C1 and C0 are distinct 
(either/or, the core cannot be in both at the same time).

When the system is loaded by background compilation of my project, the
CPU is not willing to use higher frequencies even when I add more load
to it temporarily.


I compiled a really simple code doing an infinite loop:

int main() {
  for (;;);
  return 0;
}

Now running this program on an idle system makes the CPU frequency go to
about 2.8 GHz. C0 states are reported at less than 5, C1 states for all
cores are > 95 and temperatures are < 53.

Interestingly running this same program when the system is compiling in
background does not increase the frequencies above 1.6 GHz. If it is
loaded, it is unwilling to go faster. :D

So to summarize the CPU is capable to use higher frequencies for a very
short span of time, but then the performance quickly degrades under load
and stays there.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.vers

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-15 Thread Piotr Kołaczkowski
Is it normal that C-states percentages reported by i7z don't sum up to 100%, 
but exceed it?
Under load, I frequently get C0% close to 99%, but at the same time Halt is at 
about 40-60%. 
Also when C0 is >90, the frequency of cores goes DOWN. This looks totally 
reversed to me.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
Update: I got the "package temperature above threshold" again (still
using 4.18.0-10 kernel), but it did not cause visible performance loss
and i7z still shows the CPU freq can go up to ~3.8 GHz easily. So maybe
these messages are not related.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
> Did this issue start happening after an update/upgrade? Was there a
prior kernel version where you were not having this particular problem?

It started happening after upgrading from 18.04 to 18.10.

> Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.19 kernel[0].

I can do that, but so far I don't know a reliable way to trigger the system 
into that state. 
For example at the moment I did a fresh boot and performance looks ok, as well 
as there are no "package temperature over threshold" messages in syslog so far.

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
Aaaah, I can see plenty of this in syslog:

Oct 14 22:30:59 p5520 kernel: [ 9481.033687] CPU3: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033688] CPU7: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033718] CPU1: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033719] CPU5: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033720] CPU0: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033720] CPU4: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033722] CPU6: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.033722] CPU2: Package temperature above 
threshold, cpu clock throttled (total events = 5845)
Oct 14 22:30:59 p5520 kernel: [ 9481.034709] CPU3: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034710] CPU0: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034711] CPU4: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034711] CPU7: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034738] CPU2: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034738] CPU6: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034739] CPU1: Package temperature/speed 
normal
Oct 14 22:30:59 p5520 kernel: [ 9481.034740] CPU5: Package temperature/speed 
normal


So maybe it THINKS it overheats (although it does NOT) and throttles down...

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.v

[Kernel-packages] [Bug 1797802] Re: Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
BTW, when the system is in this weird state, CPU fans are running at the
lowest speed (but running) and never go to their max speed, even under
heavy CPU load like compiling stuff.

Is there a hidden energy saving thing that tries to keep my CPU clock
low / voltages low at high load?

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1797802/+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 1797802] [NEW] Erratic behavior of intel pstate CPU frequency control

2018-10-14 Thread Piotr Kołaczkowski
Public bug reported:

I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
other times everything works fine. I don't know what triggers this weird
state. Suspend / resume? Maybe.

At first I thought this was maybe just a "perception issue", but then
when the sluggishness happened again, I fired up i7z and it looks that
CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
capable of going up to 4000 MHz!

I tried to fix it by setting 
echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

I hoped I would force the CPU into almost max performance state this
way. And indeed, once I ran these commands, i7z showed steady 3100+ MHz
on all cores.

Then something weird happened - when I run some mild load on the CPU,
like just starting the IDE, during the startup the frequency ** dropped
back to about 800-1600 MHz ** and returned to 3100 MHz after the load
was gone (IDE loaded).

The CPU core temperatures shown by sensors / i7z are ok and typically at
about 40-50 C when this slowdown happens, so this doesn't look like
thermal throttling.

Any ideas?

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-10-generic 4.18.0-10.11
ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
 /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 14 22:16:50 2018
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
InstallationDate: Installed on 2017-04-12 (549 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
MachineType: Dell Inc. Precision 5520
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-10-generic N/A
 linux-backports-modules-4.18.0-10-generic  N/A
 linux-firmware 1.175
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/24/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.11.0
dmi.board.name: 06X96V
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Precision
dmi.product.name: Precision 5520
dmi.product.sku: 07BF
dmi.sys.vendor: Dell Inc.

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


** Tags: amd64 apport-bug cosmic

-- 
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/1797802

Title:
  Erratic behavior of intel pstate CPU frequency control

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  Au

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-09-23 Thread Piotr Kołaczkowski
Looks like it got solved at least for me on recent Ubuntu 18.10 with the
official kernel. Looks like now hotplugging Dell TB16 dock works fine on
Precision 5520.

-- 
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/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw&sh=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dm

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2018-09-17 Thread Piotr Kołaczkowski
Unfortunately I no longer have the WD15 dock. I switched to TB16 and it
also has some hotplugging issue (there is a separate launchpad ticket
reported by others).

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-09-17 Thread Piotr Kołaczkowski
I have the same issue. Tried today on daily Ubuntu 18.10 build run from live 
USB. 
The system boots fine or resumes fine with tb16 sick attached. It also survives 
disconnecting the dock. 

But it does not survive hotplugging the dock - I get a freeze where I
can only move the mouse pointer, but the desktop doesn't respond.
External monitors are blank and go into powersave mode.

Tested on: Ubuntu 18.04 with the official kernel (I don't remember exact
version, but it was a week ago I tried it), then also with 4.18.6,
4.18.7 and 4.19.rc3. All kernels, same problem.

I have recent Dell Precision 5520 BIOS and fully updated firmware of the
TB16 dock (1.0.0).

-- 
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/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw&sh=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeSta

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-30 Thread Piotr Kołaczkowski
After a week of testing v4.14-rc2, the conclusions remain the same:
- System doesn't freeze when booting up and logging in with the dock attached.
- Ethernet doesn't connect automatically on boot / after login, manual 
intervention required.
- System doesn't wake from suspend if the dock was disconnected during sleep.
- System does wake properly from suspend if the dock was connected during sleep 
or dock connection did not change at all.
- No sudden ethernet disconnects.

I've got also a TB16 dock now:
Problems with kernel 4.13.4: 
- Graphics crash when booting with dock attached, Ubuntu displayed a message 
asking what to do, but it recovered after selecting low res mode. 
Interestingly, I managed to log into desktop.
- Everything else same as with WD15 dock.

Kernel v4.14.rc2: same behavior as with v4.14.rc2 + WD15 dock.

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 ke

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-26 Thread Piotr Kołaczkowski
No, after disabling apparmor for dhclient, I'm successfully running v4.14-rc2.
However, it looks like exactly the same problems exist with this kernel as with 
v4.14-rc2:

1. NetworkManager fails to connect automatically at startup, but
connects fine after manual intervention.

2. System fails to resume if it was disconnected from the dock while
suspended.

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hd

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
4.14.rc2 network problem fixed by running:

sudo ln -s /etc/apparmor.d/sbin.dhclient /etc/apparmor.d/disable/
sudo /etc/init.d/apparmor reload

Now I can use 4.14.rc2 and will let you know how stable it is.

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
just FYI: 4.14.rc2 networking failure seems to be caused by dhcp client
crash. Where to submit bug report for this?

Sep 25 21:07:47 p5520 nm-applet[3178]: gtk_widget_destroy: assertion 
'GTK_IS_WIDGET (widget)' failed
Sep 25 21:07:48 p5520 wpa_supplicant[1521]: wlp2s0: SME: Trying to authenticate 
with 90:5c:44:98:88:43 (SSID='UPCFB73B8F' freq=5500 MHz)
Sep 25 21:07:48 p5520 kernel: [   87.302852] wlp2s0: authenticate with 
90:5c:44:98:88:43
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.3216] device 
(wlp2s0): supplicant interface state: scanning -> authenticating
Sep 25 21:07:48 p5520 kernel: [   87.309769] wlp2s0: send auth to 
90:5c:44:98:88:43 (try 1/3)
Sep 25 21:07:48 p5520 nm-applet[3178]: Can't set a parent on widget which has a 
parent
Sep 25 21:07:48 p5520 wpa_supplicant[1521]: wlp2s0: Trying to associate with 
90:5c:44:98:88:43 (SSID='UPCFB73B8F' freq=5500 MHz)
Sep 25 21:07:48 p5520 kernel: [   87.332279] wlp2s0: authenticated
Sep 25 21:07:48 p5520 kernel: [   87.333039] wlp2s0: associating with AP with 
corrupt probe response
Sep 25 21:07:48 p5520 kernel: [   87.336133] wlp2s0: associate with 
90:5c:44:98:88:43 (try 1/3)
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.3494] device 
(wlp2s0): supplicant interface state: authenticating -> associating
Sep 25 21:07:48 p5520 nm-applet[3178]: gtk_widget_destroy: assertion 
'GTK_IS_WIDGET (widget)' failed
Sep 25 21:07:48 p5520 kernel: [   87.374203] wlp2s0: RX AssocResp from 
90:5c:44:98:88:43 (capab=0x511 status=0 aid=2)
Sep 25 21:07:48 p5520 kernel: [   87.376217] wlp2s0: associated
Sep 25 21:07:48 p5520 nm-applet[3178]: gtk_widget_destroy: assertion 
'GTK_IS_WIDGET (widget)' failed
Sep 25 21:07:48 p5520 wpa_supplicant[1521]: wlp2s0: Associated with 
90:5c:44:98:88:43
Sep 25 21:07:48 p5520 kernel: [   87.376544] IPv6: ADDRCONF(NETDEV_CHANGE): 
wlp2s0: link becomes ready
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.3949] device 
(wlp2s0): supplicant interface state: associating -> associated
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4180] device 
(wlp2s0): supplicant interface state: associated -> 4-way handshake
Sep 25 21:07:48 p5520 wpa_supplicant[1521]: wlp2s0: WPA: Key negotiation 
completed with 90:5c:44:98:88:43 [PTK=CCMP GTK=CCMP]
Sep 25 21:07:48 p5520 wpa_supplicant[1521]: wlp2s0: CTRL-EVENT-CONNECTED - 
Connection to 90:5c:44:98:88:43 completed [id=0 id_str=]
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4255] device 
(wlp2s0): supplicant interface state: 4-way handshake -> completed
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4257] device 
(wlp2s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  
Connected to wireless network 'UPCFB73B8F'.
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4260] device 
(wlp2s0): state change: config -> ip-config (reason 'none') [50 70 0]
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4278] dhcp4 
(wlp2s0): activation: beginning transaction (timeout in 45 seconds)
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4354] dhcp4 
(wlp2s0): dhclient started with pid 3528
Sep 25 21:07:48 p5520 kernel: [   87.429289] audit: type=1400 
audit(1506366468.435:156): apparmor="DENIED" operation="create" 
profile="/sbin/dhclient" pid=3528 comm="dhclient" family="unix" 
sock_type="dgram" protocol=0 requested_mask="create" denied_mask="create"
Sep 25 21:07:48 p5520 kernel: [   87.430998] audit: type=1400 
audit(1506366468.435:157): apparmor="DENIED" operation="create" 
profile="/sbin/dhclient" pid=3528 comm="dhclient" family="unix" 
sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
Sep 25 21:07:48 p5520 kernel: [   87.431007] audit: type=1400 
audit(1506366468.435:158): apparmor="DENIED" operation="create" 
profile="/sbin/dhclient" pid=3528 comm="dhclient" family="unix" 
sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
Sep 25 21:07:48 p5520 kernel: [   87.443292] audit: type=1400 
audit(1506366468.447:159): apparmor="DENIED" operation="create" 
profile="/usr/lib/NetworkManager/nm-dhcp-helper" pid=3529 comm="nm-dhcp-helper" 
family="unix" sock_type="stream" protocol=0 requested_mask="create" 
denied_mask="create"
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4560] dhcp4 
(wlp2s0): client pid 3528 killed by signal 15
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4562] dhcp4 
(wlp2s0): state changed unknown -> fail
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4566] dhcp4 
(wlp2s0): canceled DHCP transaction
Sep 25 21:07:48 p5520 NetworkManager[1133]:   [1506366468.4566] dhcp4 
(wlp2s0): state changed fail -> done

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
Still using 4.13.3 today and I already had sudden ethernet connection
dropout which couldn't be reestabliished from NetworkManager without
replugging the dock. I conclude this problem must be related to kernel
then, because as said earlier, on 4.14.rc1 I had no ethernet stability
issues for the whole week (besides having to manually establish it after
logging).

I have pretty high hopes for 4.14.x then as it seems to fix the two most 
serious issues.
What a pity that 4.14.rc2 doesn't work for me at all :(

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops: 000

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
I also checked 4.13.3 a moment ago and when booting with the dock
attached I got a freeze again soon after starting the desktop session.
So the original bug I reported here was definitely not fixed in 4.13.3,
nor by BIOS upgrade to 1.5.0. However, all network connections were
active at the login screen.

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc vide

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-25 Thread Piotr Kołaczkowski
I was running v4.14-rc1 for the whole last week. 
It is... different.

Good stuff:
- Not a single freeze on fresh boot with dock attached.
- When it connects to eth0, it is stable. Not a single disconnect from 
ethernet, but that may be as well the result of recent BIOS upgrade to 1.5.0 
and dock firmware update that I did at about the time I upgraded to v4.14-rc1.
- Suspend / resume stable, as long as I don't connect/disconnect the dock in 
the meantime.

Slightly broken stuff:
- Ethernet connection does not come up automatically after boot / login. Syslog 
shows the eth0 device exists, NetworkManager attempts to connect, it even gets 
the IP from DHCP, then it suddenly disconnects. I have to manually click in the 
NetworkManager icon to connect after logging into desktop and suprisingly it 
connects fine.

Relevant syslog fragment:
Sep 17 11:43:17 p5520 kernel: [   12.053069] usbcore: registered new
interface driver r8152
Sep 17 11:43:17 p5520 kernel: [   12.055853] usbcore: registered new
interface driver cdc_ether
Sep 17 11:43:17 p5520 tlp[1907]: Applying power save settings...done.
Sep 17 11:43:17 p5520 tlp[1907]: Setting battery charge thresholds...done.
Sep 17 11:43:17 p5520 systemd[1]: Started TLP system startup/shutdown.
Sep 17 11:43:17 p5520 systemd[1]: Startup finished in 10.048s (kernel)
+ 2.022s (userspace) = 30.839s.
Sep 17 11:43:17 p5520 set-cpufreq[1209]: Setting powersave scheduler
for all CPUs
Sep 17 11:43:17 p5520 kernel: [   12.136372] usb 4-1.2: reset
SuperSpeed USB device number 3 using xhci_hcd
Sep 17 11:43:17 p5520 kernel: [   12.265293] r8152 4-1.2:1.0 (unnamed
net_device) (uninitialized): Using pass-thru MAC addr
d4:81:d7:35:8c:11
Sep 17 11:43:17 p5520 NetworkManager[1189]:   [1505641397.3556]
manager: (eth0): new Ethernet device
(/org/freedesktop/NetworkManager/Devices/2)
Sep 17 11:43:17 p5520 kernel: [   12.297452] r8152 4-1.2:1.0 eth0: v1.09.9
...
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7031]
device (eth0): link connected
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7043]
device (eth0): state change: unavailable -> disconnected (reason
'carrier-changed') [20 30 40]
Sep 17 11:43:20 p5520 kernel: [   15.645145] r8152 4-1.2:1.0 eth0: carrier on
Sep 17 11:43:20 p5520 kernel: [   15.645217] IPv6:
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7056]
policy: auto-activating connection 'Połączenie ethernetowe 1'
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7078]
device (eth0): Activation: starting connection 'Połączenie ethernetowe
1' (e6a365af-c48e-4b8f-abd0-1ee3ea9f1a7b)
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7081]
device (eth0): state change: disconnected -> prepare (reason 'none')
[30 40 0]
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7089]
device (eth0): state change: prepare -> config (reason 'none') [40 50
0]
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7095]
device (eth0): state change: config -> ip-config (reason 'none') [50
70 0]
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7101]
dhcp4 (eth0): activation: beginning transaction (timeout in 45
seconds)
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7157]
dhcp4 (eth0): dhclient started with pid 2669
Sep 17 11:43:20 p5520 dbus[1128]: [system] Activating service
name='com.canonical.Unity.Greeter.Broadcast' (using servicehelper)
Sep 17 11:43:20 p5520 dbus[1128]: [system] Successfully activated
service 'com.canonical.Unity.Greeter.Broadcast'
Sep 17 11:43:20 p5520 dhclient[2669]: DHCPREQUEST of 192.168.0.2 on
eth0 to 255.255.255.255 port 67 (xid=0x11807b5)
Sep 17 11:43:20 p5520 dhclient[2669]: DHCPACK of 192.168.0.2 from 192.168.0.1
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   address 192.168.0.2
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   plen 24 (255.255.255.0)
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   gateway 192.168.0.1
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   server identifier 192.168.0.1
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   lease time 3600
Sep 17 11:43:20 p5520 avahi-daemon[1194]: Joining mDNS multicast group
on interface eth0.IPv4 with address 192.168.0.2.
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   hostname 'p5520'
Sep 17 11:43:20 p5520 avahi-daemon[1194]: New relevant interface
eth0.IPv4 for mDNS.
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   nameserver '62.179.1.60'
Sep 17 11:43:20 p5520 avahi-daemon[1194]: Registering new address
record for 192.168.0.2 on eth0.IPv4.
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   nameserver '62.179.1.61'
Sep 17 11:43:20 p5520 NetworkManager[1189]:   [1505641400.7799]
dhcp4 (eth0):   domain name 'home'
Sep 17 11:43:20 p5520 NetworkM

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-16 Thread Piotr Kołaczkowski
Also, what are these dots in syslog?

Sep 15 09:55:14 p5520 kernel: [   21.539677] hid-generic 0003:046D:C31F.0005: 
input,hiddev1,hidraw4: USB HID v1.10 Device [Logitech USB Keyboard] on 
usb-:3e:00.0-1.7/input1
Sep 15 09:55:14 p5520 mtp-probe: checking bus 3, device 4: 
"/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:3e:00.0/usb3/3-1/3-1.7"
Sep 15 09:55:14 p5520 mtp-probe: checking bus 3, device 3: 
"/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:3e:00.0/usb3/3-1/3-1.5"
Sep 15 09:55:14 p5520 mtp-probe: bus: 3, device: 4 was not an MTP device
Sep 15 09:55:14 p5520 mtp-probe: bus: 3, device: 3 was not an MTP device
Sep 15 09:55:14 p5520 kernel: [   21.595628] usbcore: registered new interface 
driver r8152
Sep 15 09:55:14 p5520 kernel: [   21.606763] usbcore: registered new interface 
driver cdc_ether
Sep 15 09:55:14 p5520 kernel: [   21.683476] usb 4-1.2: reset SuperSpeed USB 
device number 3 using xhci_hcd
Sep 15 09:55:14 p5520 kernel: [   21.706117] r8152 4-1.2:1.0 (unnamed 
net_device) (uninitialized): Using pass-thru MAC addr d4:81:d7:35:8c:11
Sep 15 09:55:14 p5520 NetworkManager[1160]:   [1505462114.7966] manager: 
(eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/4)
Sep 15 09:55:14 p5520 kernel: [   21.759684] r8152 4-1.2:1.0 eth0: v1.08.9
Sep 15 09:55:14 p5520 NetworkManager[1160]:   [1505462114.8162] devices 
added (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:3e:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
Sep 15 09:55:14 p5520 NetworkManager[1160]:   [1505462114.8162] device 
added (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:3e:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
iface: eth0): no ifupdown configuration found.
Sep 15 09:55:14 p5520 NetworkManager[1160]:   [1505462114.8175] device 
(eth0): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Sep 15 09:55:14 p5520 kernel: [   21.783371] IPv6: ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep 15 09:55:14 p5520 kernel: [   21.812778] IPv6: ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep 15 09:55:15 p5520 kernel: [   22.941812] usbcore: registered new interface 
driver snd-usb-audio
Sep 15 09:55:15 p5520 systemd-udevd[2621]: Process '/usr/sbin/alsactl -E 
HOME=/run/alsa restore 1' failed with exit code 99.
Sep 15 09:55:16 p5520 pulseaudio[2115]: [pulseaudio] alsa-util.c: Unable to 
load mixer: Zły argument
Sep 15 09:55:16 p5520 pulseaudio[2115]: [pulseaudio] sink.c: Default and 
alternate sample rates are the same.
Sep 15 09:55:16 p5520 rtkit-daemon[2118]: Supervising 0 threads of 0 processes 
of 1 users.
Sep 15 09:55:16 p5520 rtkit-daemon[2118]: message repeated 4 times: [ 
Supervising 0 threads of 0 processes of 1 users.]
Sep 15 09:55:16 p5520 pulseaudio[2115]: [pulseaudio] alsa-util.c: Unable to 
load mixer: Zły argument
Sep 15 09:55:16 p5520 pulseaudio[2115]: [pulseaudio] source.c: Default and 
alternate sample rates are the same.
Sep 15 09:55:16 p5520 rtkit-daemon[2118]: Supervising 0 threads of 0 processes 
of 1 users.
Sep 15 09:55:16 p5520 rtkit-daemon[2118]: message repeated 4 times: [ 
Supervising 0 threads of 0 processes of 1 users.]
Sep 15 09:55:17 p5520 ModemManager[1080]:   Couldn't check support for 
device at 
'/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:3e:00.0/usb4/4-1/4-1.2':
 not supported by any
 plugin
.
.
.
.
.
.
.
...

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-16 Thread Piotr Kołaczkowski
I can confirm 1.5.0:

Sep 15 12:00:22 p5520 kernel: [0.00] DMI: Dell Inc. Precision
5520/06X96V, BIOS 1.5.0 08/30/2017

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 arc4 dell_led snd_hda_codec_realtek 

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-16 Thread Piotr Kołaczkowski
I upgraded to BIOS 1.5.0 yesterday and also upgraded the dock firmware
yesterday as well again (using windows-10-on-the-go usb stick I created
just for that purpose).

No improvements - I got a nice freeze on boot again (kernel 4.12.13).

Also, Windows 10 seems to be working on the same hardware just fine; no
freezes when booting with the dock plugged in, neither when hotplugging.

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usb

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-15 Thread Piotr Kołaczkowski
Also, I've read this on another USB ticket in bugzilla: 
All USB bugs should be sent to the linux-...@vger.kernel.org mailing
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.


So it looks like the mailing list is the only way.
Is it normal that I post something to the mailing list and get no answer back?

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_us

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-09-15 Thread Piotr Kołaczkowski
Tried posting to linux-usb mailing list but I got no answer back. Any
other ways to report this problem?

The problem still exists with kernels 4.13.2 and 4.12.13.
I updated BIOS to 1.5.0 released today and also applied a fresh firmware update 
to WD15 from Dell (using Windows, because Linux can't do it yet) - and also no 
visible improvement.

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-07-31 Thread Piotr Kołaczkowski
Unfortunately that turned out to be a fluke. I had two freezes on
4.11.12, and just a freeze a minute ago on fresh 4.13.rc3 installed from
http://kernel.ubuntu.com/~kernel-ppa/mainline/. No panics though.

I noticed all these freezes have a few things in common:
- they happen only when the dock is plugged in during logging into Ubuntu 
session; they don't happen if I plug in the dock after logging in. 
- they happen AFTER the ethernet connection through the dock is dropped and 
BEFORE it is reestablished after login - when the freeze happens, the network 
manager shows I have only wifi connection. If the system goes past 
reestablishing  ethernet connection through the dock, everything works 
smoothly. Also suspend/resume with the dock connected is fine. 


Additionally, the dock seems to operate properly before I login. I never ever 
had a panic or freeze before logging into my account. The network manager icon 
shows the ethernet connection is active at the login screen. However, this 
connection is dropped immediately after logging in (why?) and re-established. 

I also noticed some rare instabilities in ethernet connectivity -
sometimes it just drops the connection in the middle of the day and
needs replugging (reconnecting from network manager doesn't work in this
case).

BTW: I updated the dock firmware to the most recent version from Dell. I
had to use Windows for that. But this didn't help.



** Tags added: kernel-bug-exists-upstream

** 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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-07-06 Thread Piotr Kołaczkowski
Yesterday I updated to 4.11.9 and so far everything is stable. I managed
to reboot 6 times in a row with no issues. The kernel error is also gone
from syslog.

I'm still not totally sure, because the original issue is a bit random,
so that might have been just a good luck.

The jumpiness of mouse pointer shortly after connecting the dock
remained, but this is a very minor issue (and might not be related to
the freeze / panic problems).

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules link

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-06-30 Thread Piotr Kołaczkowski
I did apport-collect immediately after filing the bug.

** 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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 arc4 dell_led snd_hda_codec_realtek 
s

[Kernel-packages] [Bug 1701499] [NEW] System often freezes or panics if I log in with Dell Dock WD15 connected

2017-06-30 Thread Piotr Kołaczkowski
Public bug reported:

I'm using Dell Precision 5520 with Ubuntu 17.04.

If I first start a Unity session and then connect Dell WD15 USB-C dock
with an external diplay plugged in, the system detects it properly and
all the things work flawlessly (ethernet, external keyboard, external
display, external storage connected to USB on the dock). I can plug-in
and plug-out the dock multiple times and it just works.

However if I boot the laptop with the dock already plugged in, first I
get to the login screen and initially all is ok. Both screens are
activated, and I can log in using the keyboard connected to the dock.

When I hit "Enter", both screens go blank for a while, then they turn
back on and I can see the desktop. A second or maybe two seconds later
things start falling apart. When I move the mouse pointer a second after
logging, it is kinda "jumpy", the movement is not smooth. The move
freezes for a few times. I observed this behaviour only when moving the
wireless mouse connected to the USB of the laptop. The builtin touchpad
works smoothly.

If it was the only issue, this would be a very minor annoyance.
Sometimes, after a few short mouse pointer freezes the system starts
working smoothly and all is rock stable from that point. However quite
often I noticed much worse things happen:

1. The mouse pointer and everything freezes totally after a few seconds
from displaying the desktop. It is not possible to switch to the console
with Ctrl-Alt-F1. This happens in >50% of logins.

2. Kernel panic.

I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well as
4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more stable
than 4.10.0-x) and also 4.12.rc5 which I tried once.

Even if everything goes fine, I noticed the following errors printed in
syslog. I'm not sure if they are related, but they look very iffy to me:

Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault status 
reg 2
Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request device 
[3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request due to 
source-id verification failure
Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, device 
number 3
Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, device 
number 3
Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, device 
number 4
Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
Jun 30 10:46:23 p5520 kernel: [   38.556232] 
Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 arc4 dell_led snd_hda_codec_realtek 
snd_hda_codec_generic i2c_designware_platform i2c_designware_core dell_wmi 
snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi 
intel_rapl snd_seq_midi_event x86_pkg_temp_thermal snd_rawmidi intel_powerclamp 
coretemp kvm_intel kvm snd_seq irqbypass crct10dif_pclmul crc32_pclmul 
dell_rbtn ghash_clmulni_intel pcbc snd_seq_device dell_laptop snd_timer 
dell_smbios dcdbas iwlmvm dell_smm_hwmon mac80211 aesni_intel aes_x86_64 
crypto_simd glue_helper cryptd
Jun 30 10:46:24 p5520 kernel: [   38.556557] sw

[Kernel-packages] [Bug 1701499] ProcCpuinfoMinimal.txt

2017-06-30 Thread Piotr Kołaczkowski
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1701499/+attachment/4906422/+files/ProcCpuinfoMinimal.txt

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 ar

[Kernel-packages] [Bug 1701499] JournalErrors.txt

2017-06-30 Thread Piotr Kołaczkowski
apport information

** Attachment added: "JournalErrors.txt"
   
https://bugs.launchpad.net/bugs/1701499/+attachment/4906421/+files/JournalErrors.txt

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 arc4 dell_le

[Kernel-packages] [Bug 1701499] ProcEnviron.txt

2017-06-30 Thread Piotr Kołaczkowski
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1701499/+attachment/4906423/+files/ProcEnviron.txt

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 arc4 dell_led sn

[Kernel-packages] [Bug 1701499] Re: System often freezes or panics if I log in with Dell Dock WD15 connected

2017-06-30 Thread Piotr Kołaczkowski
** Attachment added: "My syslog from today"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701499/+attachment/4906424/+files/syslog

-- 
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/1701499

Title:
  System often freezes or panics if I log in with Dell Dock WD15
  connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using Dell Precision 5520 with Ubuntu 17.04.

  If I first start a Unity session and then connect Dell WD15 USB-C dock
  with an external diplay plugged in, the system detects it properly and
  all the things work flawlessly (ethernet, external keyboard, external
  display, external storage connected to USB on the dock). I can plug-in
  and plug-out the dock multiple times and it just works.

  However if I boot the laptop with the dock already plugged in, first I
  get to the login screen and initially all is ok. Both screens are
  activated, and I can log in using the keyboard connected to the dock.

  When I hit "Enter", both screens go blank for a while, then they turn
  back on and I can see the desktop. A second or maybe two seconds later
  things start falling apart. When I move the mouse pointer a second
  after logging, it is kinda "jumpy", the movement is not smooth. The
  move freezes for a few times. I observed this behaviour only when
  moving the wireless mouse connected to the USB of the laptop. The
  builtin touchpad works smoothly.

  If it was the only issue, this would be a very minor annoyance.
  Sometimes, after a few short mouse pointer freezes the system starts
  working smoothly and all is rock stable from that point. However quite
  often I noticed much worse things happen:

  1. The mouse pointer and everything freezes totally after a few
  seconds from displaying the desktop. It is not possible to switch to
  the console with Ctrl-Alt-F1. This happens in >50% of logins.

  2. Kernel panic.

  I observed this behavior with stable Ubuntu kernel 4.10.0-20, as well
  as 4.11.0 - 4.11.8 (which I'm using now, because 4.11.x seems more
  stable than 4.10.0-x) and also 4.12.rc5 which I tried once.

  Even if everything goes fine, I noticed the following errors printed
  in syslog. I'm not sure if they are related, but they look very iffy
  to me:

  Jun 30 10:46:23 p5520 kernel: [   38.391971] DMAR: DRHD: handling fault 
status reg 2
  Jun 30 10:46:23 p5520 kernel: [   38.391977] DMAR: [INTR-REMAP] Request 
device [3e:00.0] fault index 1e [fault reason 38] Blocked an interrupt request 
due to source-id verification failure
  Jun 30 10:46:23 p5520 kernel: [   38.472490] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.472496] usb usb4: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.472497] usb 4-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.472498] usb 4-1.2: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7510] device 
(eth0): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
  Jun 30 10:46:23 p5520 ModemManager[1076]:   (net/eth0): released by 
modem 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2
  Jun 30 10:46:23 p5520 NetworkManager[1129]:   [1498812383.7537] devices 
removed (path: 
/sys/devices/pci:00/:00:1d.6/:06:00.0/:07:02.0/:0a:00.0/usb4/4-1/4-1.2/4-1.2:1.0/net/eth0,
 iface: eth0)
  Jun 30 10:46:23 p5520 kernel: [   38.552718] xhci_hcd :0a:00.0: Host halt 
failed, -19
  Jun 30 10:46:23 p5520 kernel: [   38.552721] xhci_hcd :0a:00.0: Host not 
accessible, reset failed.
  Jun 30 10:46:23 p5520 kernel: [   38.552722] xhci_hcd :0a:00.0: USB bus 4 
deregistered
  Jun 30 10:46:23 p5520 kernel: [   38.552728] xhci_hcd :0a:00.0: remove, 
state 1
  Jun 30 10:46:23 p5520 kernel: [   38.552731] usb usb3: USB disconnect, device 
number 1
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1: USB disconnect, device 
number 2
  Jun 30 10:46:23 p5520 kernel: [   38.552732] usb 3-1.5: USB disconnect, 
device number 3
  Jun 30 10:46:23 p5520 kernel: [   38.553322] usb 3-1.7: USB disconnect, 
device number 4
  Jun 30 10:46:23 p5520 kernel: [   38.556064] BUG: unable to handle kernel 
paging request at 002018387ad8
  Jun 30 10:46:23 p5520 kernel: [   38.556173] IP: __radix_tree_lookup+0x10/0xf0
  Jun 30 10:46:23 p5520 kernel: [   38.556230] PGD 0 
  Jun 30 10:46:23 p5520 kernel: [   38.556232] 
  Jun 30 10:46:24 p5520 kernel: [   38.556280] Oops:  [#1] SMP
  Jun 30 10:46:24 p5520 kernel: [   38.556320] Modules linked in: ccm rfcomm 
cdc_ether usbnet snd_usb_audio snd_usbmidi_lib r8152 mii snd_hda_codec_hdmi 
cmac msr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 
videobuf2_core videodev media btusb btrtl joydev hid_multitouch ipmi_devintf 
ipmi_msghandler bnep nls_iso8859_1 arc4 dell_led snd_h

[Kernel-packages] [Bug 1679634] Re: nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid

2017-05-20 Thread Piotr Kołaczkowski
I confirm the bug exists on kernel 4.11.1 and Dell precision 5520 with
Nvidia Quadro 1200M:

[6.658188] nouveau :01:00.0: fb: 4096 MiB GDDR5
[6.658219] nouveau :01:00.0: bus: MMIO read of  FAULT at 10ac08 
[ IBUS ]
[6.658271] nouveau :01:00.0: priv: HUB0: 10ecc0  (1f40822c)
[6.712256] vga_switcheroo: enabled
[6.712541] [TTM] Zone  kernel: Available graphics memory: 8074088 kiB
[6.712541] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[6.712541] [TTM] Initializing pool allocator
[6.712544] [TTM] Initializing DMA pool allocator
[6.712553] nouveau :01:00.0: DRM: VRAM: 4096 MiB
[6.712554] nouveau :01:00.0: DRM: GART: 1048576 MiB
[6.712556] nouveau :01:00.0: DRM: Pointer to TMDS table invalid
[6.712558] nouveau :01:00.0: DRM: DCB version 4.0
[6.712559] nouveau :01:00.0: DRM: Pointer to flat panel table invalid
[6.743347] sed_opal:OPAL: Error on step function: 0 with error -95: Unknown 
Error
[6.745832]  nvme0n1: p1 p2 p3 p4
[6.754218] random: fast init done
[6.766581] usb 1-1: new full-speed USB device number 2 using xhci_hcd
[6.770591] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[6.792129] nouveau :01:00.0: hwmon_device_register() is deprecated. 
Please convert the driver to use hwmon_device_register_with_info().
[6.838098] ata2: SATA link down (SStatus 4 SControl 300)
[6.855030] nouveau :01:00.0: DRM: MM: using COPY for buffer copies

-- 
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/1679634

Title:
   nouveau :01:00.0: DRM: Pointer to flat panel table invalid

Status in linux package in Ubuntu:
  Confirmed
Status in nouveau-kernel-source package in Ubuntu:
  Confirmed

Bug description:
  I get this error message, printed when using a upstream kernel 4.10.8,
  which i know is not support by Ubuntu but wanted to report anyways.

  
  nouveau :01:00.0: DRM: Pointer to flat panel table invalid.

  Please advise.
  --- 
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  DistroRelease: Ubuntu 16.10
  InstallationDate: Installed on 2017-03-19 (15 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  Package: nouveau-kernel-source
  Tags:  yakkety
  Uname: Linux 4.10.8-041008-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1679634/+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 1584407] Re: ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20150930/dswload-210)

2017-05-20 Thread Piotr Kołaczkowski
I have the same bug on Dell Precision 5520 and Ubuntu 17.04 with either
officially supported kernel 4.10.0-21 as well as mainline kernel 4.11.1.

[0.037469] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup 
failure, AE_NOT_FOUND (20170119/dswload-210)
[0.037476] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog 
(20170119/psobject-227)
[0.037516] ACPI Exception: AE_NOT_FOUND, (SSDT:xh_rvp11) while loading 
table (20170119/tbxfload-228)
[0.040436] ACPI Error: 1 table load failures, 12 successful 
(20170119/tbxfload-246)

-- 
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/1584407

Title:
  ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure,
  AE_NOT_FOUND (20150930/dswload-210)

Status in linux package in Ubuntu:
  Invalid

Bug description:
  [ 0.016192] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, 
AE_NOT_FOUND (20150930/dswload-210)
  [ 0.016195] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog 
(20150930/psobject-227)
  [ 0.016222] ACPI Exception: AE_NOT_FOUND, (SSDT:xh_rvp08) while loading table 
(20150930/tbxfload-193)
  [ 0.021348] ACPI Error: 1 table load failures, 7 successful 
(20150930/tbxfload-214)

  
  I have noticed this ACPI error persisting in my syslog and dmesg. Based on 
what I have learnt from  ACPI, acpitool -w and lspci, I think the error is 
related to Namespaces provided in the DDST on \_SB_.PCI0.XHC_.RHUB.HS11, which 
I think concerns the Root → System bus tree → PCI bus  → USB controller: Intel 
Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) in my system. I 
have not found what .RHUB.HS11 refers too. I have tried changing my UEFI USB 
settings but to no avail. Appreciate help to fix this bug. 

  I reported it as a question
  https://answers.launchpad.net/ubuntu/+question/293489 and to
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1553690.
  https://launchpad.net/~penalvch advice me to make this ubuntu-bug
  report.

  
  $ lsb_release -rd
  Description:  Ubuntu 16.04 LTS
  Release:  16.04

  $ uname -r
  4.4.0-22-generic

  MB Bios: ASUS z170m-plus version 0704

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-22-generic 4.4.0-22.40
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  sunbear1604   1905 F pulseaudio
   /dev/snd/controlC0:  sunbear1604   1905 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun May 22 07:48:53 2016
  HibernationDevice: RESUME=UUID=c1eef599-9978-461e-a399-a04370b6ae59
  InstallationDate: Installed on 2016-05-01 (20 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  IwConfig:
   enp0s31f6  no wireless extensions.
   
   lono wireless extensions.
  MachineType: System manufacturer System Product Name
  ProcFB:
   0 EFI VGA
   1 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed 
root=UUID=69a55da3-4a70-4239-8e7e-2430ceac525d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-22-generic N/A
   linux-backports-modules-4.4.0-22-generic  N/A
   linux-firmware1.157
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/18/2016
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0704
  dmi.board.asset.tag: Default string
  dmi.board.name: Z170M-PLUS
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0704:bd02/18/2016:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ170M-PLUS:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584407/+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