[Kernel-packages] [Bug 1860284]

2023-01-17 Thread knyffen
First of all, I forgot that this issue was for "thinkpad thunderbolt 3
dock gen2" specifically. Sorry.

Anyway, I leave this as a note for other people who came here from the
Arch Linux wiki: The mainline kernel (6.2-rc2) works without bugs (in my
case). I have been testing it for a week, and I haven't had a single
issue.

Basically, either one of these things was the problem:
1. I messed up when applying the patch. :P
2. The Arch Linux 6.1 kernel has some other patch that interferes with the 
patch from comment #62 and causes my problems.
3. Something other than the patch from comment #62 has been introduced in the 
6.2-rc1(/2), which helps fix the bug.

I don't know which one is the problem, but this doesn't seem to be an
issue for the mainline kernel. I am sorry for the confusion.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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


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

[Kernel-packages] [Bug 1860284]

2023-01-04 Thread bjorn
Thanks, Jonas.  This bugzilla has a lot of stuff going on, and it's not
clear yet whether the issue you're seeing is the same, so can you please
open a new report?

Use the "File a Bug" button at https://bugzilla.kernel.org/ and the
Drivers/PCI product/component.  After you open the issue, the "Add an
attachment" link is near the top of the issue, just above your
"Description".  Make the attachments text/plain.

If you can attach a complete dmesg log and output of "sudo lspci -vv",
that would be great.  Since you can compile your own kernel, testing
with v6.2-rc1 would be a great place to start.  It includes the
equivalent of the comment #62 patch, so I expect you'll see the display
issues.  I would start with "boot undocked, collect lspci, dock, collect
lspci, collect dmesg".

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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


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

[Kernel-packages] [Bug 1860284]

2023-01-02 Thread knyffen
Thanks for the great work!

Hotplugging thunderbolt docks definitely work better, but I still have a
couple issues.

Before I start, here is some info about my setup.

I use KDE on Arch Linux, but it shouldn't affect the problem. uname -a prints: 
Linux MyPC 6.1.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:55 + 
x86_64 GNU/Linux

Regarding BIOS, I am running the non-standard Lenovo C940 BIOS that some
Lenovo engineer temporarily released on their forum to fix the speakers
on Linux (version AUCN57WW).

My dock is a "Kensington SD5500T/SD5550T Thunderbolt 3 and USB-C Docking
Station".

But now to the issues.

First: The fix currently mainlined in the kernel doesn't work for me.
After comparing the file arch/x86/pci/acpi.c on github with the result
of dmidecode (see below), I think it the check for DMI_PRODUCT_VERSION
should be changed to checking the product family. It could potentially
be related to my non-standard BIOS version, but I can't check that.

Second: Since the current fix didn't apply to my computer, I tried compiling 
the kernel myself and applying the patch from comment #62.
My dock has both a USB hub and display outputs, and on the non-patched kernel, 
if I tried hotplugging it, the USB hub didn't work, but the external displays 
always did (and sometimes the computer crashed).
On the patched kernel, if I hotplug, the USB hub always works, and I haven't 
experienced any crashes, but the external displays aren't recognized. More 
specifically, if the dock is unplugged when booting and I then hotplug it, they 
aren't recognized. If instead the computer is docked while booting, the 
displays work, and if I unplug the dock and then replug it within ~5-10 
seconds, the displays are recognized again. If I instead have the dock 
unplugged for a minute or so, the displays are not recognized when replugging 
the dock.
I have tried running lspci -vv, and the output differs between if the computer 
was docked on boot and after it was un- and replugged, but it doesn't differ 
between if the external displays are recognized or not.

I would attach dmesg and lspci -, but I cannot figure out how to
create attachments, so please help me if you need that info. And please
specify under which conditions you want the logs. :)

--- dmidecode ---
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 81Q9
Version: Yoga C940
Serial Number: [...]
UUID: [...]
Wake-up Type: Power Switch
SKU Number: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
Family: Yoga C940-14IIL

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 

[Kernel-packages] [Bug 1860284]

2022-12-02 Thread bjorn
Thanks for those!  It's a little overwhelming, but I don't see any
issues related to the comment #62 patch.  It seems to work as I expect
on your system.

There are definitely dock hotplug issues and the performance issue, but
those are problems for different reports.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-12-02 Thread bjorn
Since your laptop does match d341838d776a, I don't think the comment #62
patch will make much difference.  It will likely change MMCONFIG
messages from "reserved in E820" to "reserved in ACPI motherboard
resources", but won't change the behavior.

No need to repeat with v6.1-rc7.  A single .tgz or even just the single
dmesg log would be great.  I don't think lsmod/lspci/etc are relevant
for this bug, but no harm in including them.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-12-02 Thread kjhambrick
Yes, it is overwhelming, isn't it.

The only thing that seems to stick out for me is when I sdiff pairs of
lsmod and lsusb files where it seems like the states of the devices
should return to the initial states after plugging or unplugging the
TBT4 Dock.

For example, when I sdiff these two files, there are just a few diffs in
the TBT-related Flags:

test-f-without-tbt4-on-at-boot-thunderbolt-debug/lspci-vv-boot-without-tbt4-on.txt
test-f-without-tbt4-on-at-boot-thunderbolt-debug/lspci-vv-boot-without-tbt4-on-unplugged.txt

It seems that these two files should show the TBT PCI Devices in the
same state ?

But it's been almost 40 years since I messed with any low level PeeCee
firmware programming and I am just a tad behind the times :)

Anyhow, thanks for what you ( and all the Kernel Devs ) do !

I appreciate you !!

-- kjh

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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


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

[Kernel-packages] [Bug 1860284]

2022-12-02 Thread kjhambrick
p.s. Yes Bjorn, your patch from commentt #62 worked perfectly, even
after I removed the Clevo Entry from the pci_crs_quirks[] array.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-12-02 Thread kjhambrick
Created attachment 303339
6.0.10 Logs

Bjorn --

Attached anker-tests-e..f-tar.gz

Manifest is below.

I went ahead and included all the logs I had already gathered yesterday
after reading this thread.

Notable:

1. The Patches I applied are in
kernel_config_debug/linux-6.0.10.kjh_dp.patch

2. Test(e) - Boot with Thunderbolt Attached ...

Read Performance dropped from ~800 MB/sec to 39 MB/sec hdparm after
unplugging then replugging the TBT

This did not happen when I booted with TBT unplugged ...

Thank You !

-- kjh

Manifest of anker-tests-e..f-tar.gz in temporal order:

kernel_config_debug/

   .config
   linux-6.0.10.kjh_dp.patch

test-e-with-tbt4-on-at-boot-thunderbolt-debug/

   dmesg-boot-with-tbt4-on.txt
   lsusb-vv-boot-with-tbt4-on.txt
   lsmod-boot-with-tbt4-on.txt
   lspci-vv-boot-with-tbt4-on.txt
   hdparm--direct-t_sda3-boot-with-tbt4-on.txt

   dmesg-boot-with-tbt4-on-unplugged.txt
   lsusb-vv-boot-with-tbt4-on-unplugged.txt
   lspci-vv-boot-with-tbt4-on-unplugged.txt
   lsmod-boot-with-tbt4-on-unplugged.txt

   dmesg-boot-with-tbt4-on-replugged.txt
   lsmod-boot-with-tbt4-on-replugged.txt
   lspci-vv-boot-with-tbt4-on-replugged.txt
   hdparm--direct-t_sda3-boot-with-tbt4-on-replugged.txt
   lsmod-boot-with-tbt4-on-replugged-after-hdparm.txt

test-f-without-tbt4-on-at-boot-thunderbolt-debug/

   dmesg-boot-without-tbt4-on.txt
   lspci-vv-boot-without-tbt4-on.txt
   lsusb-vv-boot-without-tbt4-on.txt
   lsmod-boot-without-tbt4-on.txt

   dmesg-boot-without-tbt4-on-plugged.txt
   lsmod-boot-without-tbt4-on-plugged.txt
   lspci-vv-boot-without-tbt4-on-plugged.txt
   lsusb-vv-boot-without-tbt4-on-plugged.txt
   hdparm--direct-t_sda3-boot-without-tbt4-on-plugged.txt

   dmesg-boot-without-tbt4-on-unplugged.txt
   lsmod-boot-without-tbt4-on-unplugged.txt
   lspci-vv-boot-without-tbt4-on-unplugged.txt
   lsusb-vv-boot-without-tbt4-on-unplugged.txt

   dmesg-boot-without-tbt4-on-replugged.txt
   lsmod-boot-without-tbt4-on-replugged.txt
   lspci-vv-boot-without-tbt4-on-replugged.txt
   lsusb-vv-boot-without-tbt4-on-replugged.txt
   hdparm--direct-t_sda3-boot-without-tbt4-on-replugged.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: 

[Kernel-packages] [Bug 1860284]

2022-12-02 Thread kjhambrick
Bjorn --

My Laptop does match d341838d776a

# dmesg  -t |grep DMI:
DMI: Notebook X170KM-G/X170KM-G, BIOS 1.07.08LS1 01/11/2020

I've already built 6.0.10 with your patches and I booted yesterday
afternoon with these CommandLine Args:

ro nvidia-drm.modeset=1 thunderbolt.dyndbg=+p efi=debug loglevel=3
udev.log_level=3

Note that Mika gave me the thunderbolt.dyndbg=+p Arg and it does print
some 'interesting but mysterious' info :)

I've already gatherred the two sets of logs, so ...

Q1:  Would you prefer a single .tgz file with the logs in sub-
directories or do you prefer multiple attachments in this thread ?

Q2:  Would you prefer logs for linux 6.1-rc7 ?

I can build that one and gather logs for 6.1-rc7 instead of 6.0.y if you
prefer.

Thanks again Bjorn !

-- kjh

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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


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

[Kernel-packages] [Bug 1860284]

2022-12-02 Thread kjhambrick
Bjorn --

Not to butt in, but ...

If you want it, I've built 6.0.10 with your Patches and I ran the same
tests.

I've got a Sager NP9672M Laptop which is a rebranded Clevo X1170KM-G

I've been working with Mika on Bug 214259 - Discrete Thunderbolt
Controller 8086:1137 throws DMAR and XHCI errors and is only partially
functional

-- kjh

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-12-02 Thread bjorn
Hi Konrad, you're not butting in at all!

Things got a little tangled up here.  I think bug 214259 describes two
issues:

1) Hot-added devices, e.g., an ethernet NIC in a dock, don't work.  This
should be helped by https://git.kernel.org/linus/d341838d776a, which
appeared in v5.19, but only for the machines specifically listed in that
patch.

2) I/O page faults related to IOMMU and USB.  I think this one is still
unresolved, and I don't think the comment #62 patch will help.

Your laptop is a rebranded Clevo.  Does it match the d341838d776a list?
You can tell by looking for "PCI: %s detected: not clipping E820 regions
from _CRS" in your dmesg log.

If your laptop does not match the list, hot-added devices probably will
not work with v6.0.  If the comment #62 patch makes them work better,
that information would be extremely valuable.  A dmesg log from a boot
with "pci=use_e820 efi=debug" would be very helpful.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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


-- 
Mailing list: https://launchpad.net/~kernel-packages

[Kernel-packages] [Bug 1860284]

2022-11-30 Thread wse
Created attachment 303327
dmsg of experimental patch, dock attached after boot 2

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-30 Thread wse
ofc uploaded the dmesg with the new patch

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-30 Thread wse
Created attachment 303326
dmsg of experimental patch, dock attached before boot 2

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-28 Thread bjorn
Created attachment 303314
add resource clip debug

Thank you very much, Werner!  I was confused about why your machine has
DMI_BOARD_NAME "X170KM-G", but didn't match the quirk in d341838d776a
("x86/PCI: Disable E820 reserved region clipping via quirks"), but I see
that in comment #62 I suggested reverting it, so I assume that's why I
don't see "PCI: %s detected: not clipping E820 regions from _CRS" in
your logs.

So the fact that it works as expected with the comment #62 patch but
without the d341838d776a quirk is great news.

I do want to figure out the "clipped [mem size 0x 64bit] to [mem
size 0xfffa 64bit]" messages, which seem sort of bogus.  Can
I trouble you to add this patch and attach the dmesg (from either dock
scenario)?

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-28 Thread wse
Created attachment 303309
dmsg of experimental patch, dock attached after boot

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-28 Thread wse
Created attachment 303308
dmsg of experimental patch, dock attached before boot

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-28 Thread wse
Tested on Clevo X170KM seems to work. Attached dmesg with dock attached
during boot and dock attached after boot.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-23 Thread benoitg
I'd love to help you out Bjorn;  Unfortunately, I no longer have easy
access to the original hardware.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2022-11-21 Thread bjorn
Created attachment 303237
experimental patch

That patch (d341838d776a ("x86/PCI: Disable E820 reserved region
clipping via quirks")) relies on quirks that match DMI Vendor, Product
Version, Product Name, and Board Name.  This isn't an ideal solution
because there are likely other systems we don't know about that need the
a similar fix.

The patch I'm attaching here is an experimental idea to work around this
issue without the maintenance burden of the quirks.

If anybody would be willing to test this patch, I would be very
grateful.  To test it, either start with a v5.18 or earlier kernel, or
on a v5.19 or newer kernel, revert d341838d776a (or just remove your
system's ID from the list in pci_crs_quirks[]).  Then apply this patch,
boot with the "efi=debug" parameter, connect a dock, see whether it
works, and attach the dmesg log.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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


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

[Kernel-packages] [Bug 1860284]

2022-11-21 Thread bjorn
>From the dmesg log in
https://bugzilla.kernel.org/attachment.cgi?id=287483,

  BIOS-e820: [mem 0x4bc5-0xcfff] reserved
  pci_bus :00: root bus resource [mem 0x6540-0xbfff window]
  pci :00:07.1: PCI bridge to [bus 2b-54]
  pci :00:07.1:   bridge window [mem 0x6600-0x721f]
  # add dock
  pcieport :00:07.1: pciehp: Slot(0-1): Card present
  pcieport :00:07.1: pciehp: Slot(0-1): Link Up
  pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]

>From the log in https://bugzilla.kernel.org/attachment.cgi?id=287665,
which includes the patch in
https://bugzilla.kernel.org/attachment.cgi?id=287661 to "not exclude EFI
MMIO regions":

  pci :2b:00.0: BAR 14: assigned [mem 0x6600-0x721f]

The 00:07.1 bridge window was the same in both cases, so the same space
is available on bus 2b.  I think the reason the first one failed even
though the space was available was because the entire MMIO aperture was
marked "reserved" in E820, so PCI avoids assigning space from it.  The
patch basically avoids that E820 checking if the region is
EfiMemoryMappedIO.

The patch https://git.kernel.org/linus/d341838d776a ("x86/PCI: Disable
E820 reserved region clipping via quirks") appeared in v5.19 and should
work around this problem for this machine and 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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 

[Kernel-packages] [Bug 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2022-02-25 Thread Kolargol00
I'm also affected by this bug on 20.04 with the HWE 5.13 kernel
(currently: 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10
UTC 2022 x86_64 x86_64 x86_64 GNU/Linux). My PCIe Thunderbolt card (ASUS
ThunderboltEX 4, Intel JHL8540 controller) only partially works: the USB
part works and USB devices plugged into the dock are recognised and
functional (including the dock's built-in Ethernet interface), however
there is no video signal coming from the dock's DisplayPort ports. I've
tried the patch mentioned in the kernel bug tracker [1], but it doesn't
fix the issue.

Possibly relevant kernel messages:
[0.602662] pci :38:00.0: BAR 1: assigned to efifb
[0.629016] pci :02:00.0: BAR 13: no space for [io  size 0x2000]
[0.629017] pci :02:00.0: BAR 13: failed to assign [io  size 0x2000]
[0.629019] pci :02:00.0: BAR 13: no space for [io  size 0x2000]
[0.629020] pci :02:00.0: BAR 13: failed to assign [io  size 0x2000]
[0.629021] pci :03:00.0: BAR 13: no space for [io  size 0x2000]
[0.629022] pci :03:00.0: BAR 13: failed to assign [io  size 0x2000]
[0.629023] pci :03:00.0: BAR 13: no space for [io  size 0x2000]
[0.629024] pci :03:00.0: BAR 13: failed to assign [io  size 0x2000]
[0.629026] pci :04:01.0: BAR 13: no space for [io  size 0x1000]
[0.629027] pci :04:01.0: BAR 13: failed to assign [io  size 0x1000]
[0.629028] pci :04:03.0: BAR 13: no space for [io  size 0x1000]
[0.629029] pci :04:03.0: BAR 13: failed to assign [io  size 0x1000]
[0.629030] pci :04:03.0: BAR 13: no space for [io  size 0x1000]
[0.629031] pci :04:03.0: BAR 13: failed to assign [io  size 0x1000]
[0.629032] pci :04:01.0: BAR 13: no space for [io  size 0x1000]
[0.629033] pci :04:01.0: BAR 13: failed to assign [io  size 0x1000]
[4.271107] thunderbolt :05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0xcb0f6500 flags=0x0020]
[   25.977578] thunderbolt :05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0xcb0f6600 flags=0x0020]
[   46.457436] thunderbolt :05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0xcb0f6700 flags=0x0020]
[   66.937458] thunderbolt :05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x000e address=0xcb0f6800 flags=0x0020]
[   87.413107] thunderbolt :05:00.0: failed to send driver ready to ICM
[   87.414436] thunderbolt: probe of :05:00.0 failed with error -110

[1]
https://lore.kernel.org/lkml/20200302141451.18983-1-mika.westerb...@linux.intel.com/

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64

[Kernel-packages] [Bug 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2021-10-11 Thread Bug Watch Updater
** Bug watch added: Linux Kernel Bug Tracker #214259
   https://bugzilla.kernel.org/show_bug.cgi?id=214259

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2021-10-11 Thread wse
*** Bug 214259 has been marked as a duplicate of this 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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2021-10-11 Thread wse
Just wanted to leave a note here that this issue continues to be a
problem with descrete thundebold 4 chips:
https://bugzilla.kernel.org/show_bug.cgi?id=214259

The hack from https://bugzilla.kernel.org/show_bug.cgi?id=206459#c46
fixes the dock on that Laptop, the cleaner hack I have yet to try.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2021-10-11 Thread benoitg
Just a testing update:  As of today (2020-11-12), the patch:
- Still hasn't landed
- Still applies cleanly on kernel 5.10-rc3
- Is still needed, otherwise thunderbolt doesn't work at all on affected 
hardware upon reconnect.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2021-10-11 Thread mumblingdrunkard
Any updates on if a fix for this has arrived? So far I've just been
applying the patch (287661) and compiling the kernel myself for my Yoga
C940, but it's rather finnicky.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2021-10-11 Thread mika.westerberg
I suggest you to reply on that email thread that there is a real problem
that needs to be solved so we get some traction from the maintainers.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2021-10-11 Thread mika.westerberg
Hi, sorry about this. I did not get any comments from x86 maintainers
for this and the comment from Bjorn (the author of the original code)
seems to suggest rather big rework so I simply haven't had time to look
at it at the moment. Can send a ping on that thread? Maybe we get some
x86 maintainers to comment it then.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2020-06-17 Thread mika.westerberg
I just resent the patch. Hopefully it lands mainline at some point :)

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-06-16 Thread Bug Watch Updater
Launchpad has imported 54 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=206459.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2020-02-07T19:52:30+00:00 benoitg wrote:

Created attachment 287231
acpidump

I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
New Lenovo Yoga C940-14IIL laptop.  Laptop is very recent hardware, with
a 10th gen intel cpu, and a bios with very few options :(

- The dock works fine when plugged-in before boot.
- The dock does NOT work when plugged after the system booted.
- The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.
- The dock work fine in windows, in all the above scenarios

When it fails, it fails with memory allocation messages such as:

[ 342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
[ 342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 0x0c20]

Things I tried:
- Ubuntu kernel 5.3.0-26, same symptoms
- Kernel mainline 5.4.12, same symptoms
- Kernel mainline 5.5.2, same symptoms, but gets a little further allocating 
memory on the second pass.
- Plugging the dock after powering up the laptop, but at the grub screen before 
boot. In this case the dock works fine after boot.

Other potentially useful information to narrow it down:

- The tests were done with only an ethernet cable and power plugged into
the dock to minimize the number of moving parts...

- Dock and laptop both have the very latest firmware as of 2020-02-07
cat /sys/bus/thunderbolt/devices/0-0/nvm_version
72.0
cat /sys/bus/thunderbolt/devices/0-3/nvm_version
50.0

- Unfortunately I cannot procure older firmware for the dock to know if
the laptop or the dock is the source of the problem (As this dock was
released over a year ago, and I cannot find any specific relevant
problems with Linux)

- The screens connected to the displayports on the dock always work. But
but all other ports (USB, ethernet, sound fail) when plugged-in after
boot.

- Doesn't seem to be a thunderbolt authorization problem:
tbtadm devices 
0-3 Lenovo  ThinkPad Thunderbolt 3 Dock authorized  not in ACL

Originally reported to ubuntu in:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/12


On 2020-02-07T19:54:07+00:00 benoitg wrote:

Created attachment 287233
mainline_5.5.2_notworking_dmesg_dock_plugged_after_boot

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/13


On 2020-02-07T19:54:41+00:00 benoitg wrote:

Created attachment 287235
mainline_5.5.2_notworking_lspci__dock_plugged_after_boot

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/14


On 2020-02-07T19:55:04+00:00 benoitg wrote:

Created attachment 287237
mainline_5.5.2_notworking_lsusb_dock_plugged_after_boot

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/15


On 2020-02-07T19:55:24+00:00 benoitg wrote:

Created attachment 287239
mainline_5.5.2_working_dmesg_dock_plugged_before_boot

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/16


On 2020-02-07T19:55:46+00:00 benoitg wrote:

Created attachment 287241
mainline_5.5.2_working_lspci__dock_plugged_before_boot

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/17


On 2020-02-07T19:56:10+00:00 benoitg wrote:

Created attachment 287243
mainline_5.5.2_working_lsusb_dock_plugged_before_boot

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/18


On 2020-02-17T21:21:44+00:00 benoitg wrote:

Still no luck on 5.5.4, and with an updated BIOS (AUCN54WW)

Is there any other information I could provide?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/comments/22


On 2020-02-18T00:27:45+00:00 nicholas.johnson-opensource wrote:

Hi Benoit,

Please try Linux v5.6-rc2: https://kernel.ubuntu.com/~kernel-
ppa/mainline/v5.6-rc2/

I have seven patches directly relating to Thunderbolt PCI native
enumeration in the v5.6 release, which may help.

In the future, please note that 

[Kernel-packages] [Bug 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-06-01 Thread Benoit Grégoire
** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=206459
   Importance: Unknown
   Status: Unknown

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-27 Thread Benoit Grégoire
There is now a working patch on the upstream 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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-17 Thread Benoit Grégoire
Still no luck with 5.5.4

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-11 Thread Benoit Grégoire
unfortunately, same results with BIOS AUCN54WW (manually installed,
since not offered by either lenovo system update nor windows update).
Same symptoms.

Same symptoms also on with kernel mainline 5.5.3

For reference, dock firmware is V3.1.66

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-11 Thread Kai-Heng Feng
Please test latest BIOS AUCN54WW.

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-07 Thread Benoit Grégoire
Reported upstream on Bug:
https://bugzilla.kernel.org/show_bug.cgi?id=206459

** Bug watch added: Linux Kernel Bug Tracker #206459
   https://bugzilla.kernel.org/show_bug.cgi?id=206459

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-07 Thread Benoit Grégoire
Still the same on 5.5.2

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-04 Thread Benoit Grégoire
With kernel mainline 5.5.1, it does get a little bit further, only BAR
14 and 0 fail to assign on the second try.  See attached dmesg.  But
symptoms are still identical:  no peripherals work except for video.

Any way I can systematically search for a workaround using pci= kernel
parameters?

** Attachment added: 
"kernel_mainline_5.5.1_notworking_dmesg_dock_plugged_after_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5325261/+files/kernel_mainline_5.5.1_notworking_dmesg_dock_plugged_after_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-02-04 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot

2020-01-21 Thread Benoit Grégoire
** Summary changed:

- thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in 
before boot
+ thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga 
C940 unless plugged in before boot

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

Title:
  thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on
  Yoga C940 unless plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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

2020-01-19 Thread Ubuntu Kernel Bot
This change was made by a bot.

** Changed in: linux (Ubuntu)
   Status: New => 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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
** Attachment added: 
"ubuntu_5.3.0-26_working_dmesg_dock_plugged_before_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5321565/+files/ubuntu_5.3.0-26_working_dmesg_dock_plugged_before_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
** Attachment added: 
"ubuntu_5.3.0-26_notworking_lspci_dock_plugged_after_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5321563/+files/ubuntu_5.3.0-26_notworking_lspci_dock_plugged_after_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] [NEW] thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
Public bug reported:

I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
New Lenovo Yoga C940 laptop.

- The dock works fine when plugged-in before boot.
- The dock does NOT work when plugged after the system booted.
- The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

When it fails, it fails with memory allocation messages such as:

[  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
[  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 0x0c20]

Things I tried:
- Kernel mainline 5.4.12, same symptoms
- Kernel mainline 5.5.-rc6, 
same symptoms.
- Plugging it after powering up the laptop, but at the grub screen before boot. 
 In this case the dock works fine after boot.


Other potentially useful information to narrow it down:

- The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
- Dock and laptop both have the very latest firmware as of 2020-01-17.
- The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
- Doesn't seem to be a thunderbolt authorization problem:
benoitg@benoitg-Yoga-C940:~$ boltctl 
 ? Lenovo ThinkPad Thunderbolt 3 Dock
   ?? type:  peripheral
   ?? name:  ThinkPad Thunderbolt 3 Dock
   ?? vendor:Lenovo
   ?? uuid:  001730c5-7042-0801--
   ?? status:authorized
   ?  ?? domain: c06e823d-af8a-8680--
   ?  ?? authflags:  none
   ?? authorized:Sun Jan 19 17:41:04 2020
   ?? connected: Sun Jan 19 17:41:04 2020
   ?? stored:Thu Jan 16 07:27:43 2020
  ?? policy: iommu
  ?? key:no

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: linux-image-5.3.0-26-generic 5.3.0-26.28
ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
Uname: Linux 5.3.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  benoitg1182 F pulseaudio
CurrentDesktop: KDE
Date: Sun Jan 19 12:38:17 2020
InstallationDate: Installed on 2020-01-16 (3 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 81Q9
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
RelatedPackageVersions:
 linux-restricted-modules-5.3.0-26-generic N/A
 linux-backports-modules-5.3.0-26-generic  N/A
 linux-firmware1.183.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/22/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: AUCN45WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo Yoga C940-14IIL
dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
dmi.product.family: Yoga C940-14IIL
dmi.product.name: 81Q9
dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
dmi.product.version: Lenovo Yoga C940-14IIL
dmi.sys.vendor: LENOVO

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


** Tags: amd64 apport-bug eoan

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

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) 

[Kernel-packages] [Bug 1860284] Re: thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
** Attachment added: 
"ubuntu_5.3.0-26_working_lsusb_dock_plugged_before_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5321567/+files/ubuntu_5.3.0-26_working_lsusb_dock_plugged_before_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
** Attachment added: 
"ubuntu_5.3.0-26_working_lspci_dock_plugged_before_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5321566/+files/ubuntu_5.3.0-26_working_lspci_dock_plugged_before_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
** Attachment added: 
"ubuntu_5.3.0-26_notworking_dmesg_dock_plugged_after_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5321562/+files/ubuntu_5.3.0-26_notworking_dmesg_dock_plugged_after_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+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 1860284] Re: thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless plugged in before boot

2020-01-19 Thread Benoit Grégoire
** Attachment added: 
"ubuntu_5.3.0-26_notworking_lsusb_dock_plugged_after_boot.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284/+attachment/5321564/+files/ubuntu_5.3.0-26_notworking_lsusb_dock_plugged_after_boot.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/1860284

Title:
  thinkpad thunderbolt 3 dock gen2 does not work on Yoga C940 unless
  plugged in before boot

Status in linux package in Ubuntu:
  New

Bug description:
  I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a
  New Lenovo Yoga C940 laptop.

  - The dock works fine when plugged-in before boot.
  - The dock does NOT work when plugged after the system booted.
  - The dock does NOT work when plugged-in at boot, subsequently unplugged and 
plugged back in.

  When it fails, it fails with memory allocation messages such as:

  [  342.507320] pci :2b:00.0: BAR 14: no space for [mem size 0x0c20]
  [  342.507323] pci :2b:00.0: BAR 14: failed to assign [mem size 
0x0c20]

  Things I tried:
  - Kernel mainline 5.4.12, same symptoms
  - Kernel mainline 5.5.-rc6, 
  same symptoms.
  - Plugging it after powering up the laptop, but at the grub screen before 
boot.  In this case the dock works fine after boot.

  
  Other potentially useful information to narrow it down:

  - The tests were done with only an ethernet cable and power plugged into the 
dock to minimize the number of moving parts...
  - Dock and laptop both have the very latest firmware as of 2020-01-17.
  - The displayport part of the dock always work, but all other ports (USB, 
ethernet, card readers fail) when plugged-in after boot.
  - Doesn't seem to be a thunderbolt authorization problem:
  benoitg@benoitg-Yoga-C940:~$ boltctl 
   ? Lenovo ThinkPad Thunderbolt 3 Dock
 ?? type:  peripheral
 ?? name:  ThinkPad Thunderbolt 3 Dock
 ?? vendor:Lenovo
 ?? uuid:  001730c5-7042-0801--
 ?? status:authorized
 ?  ?? domain: c06e823d-af8a-8680--
 ?  ?? authflags:  none
 ?? authorized:Sun Jan 19 17:41:04 2020
 ?? connected: Sun Jan 19 17:41:04 2020
 ?? stored:Thu Jan 16 07:27:43 2020
?? policy: iommu
?? key:no

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-26-generic 5.3.0-26.28
  ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
  Uname: Linux 5.3.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  benoitg1182 F pulseaudio
  CurrentDesktop: KDE
  Date: Sun Jan 19 12:38:17 2020
  InstallationDate: Installed on 2020-01-16 (3 days ago)
  InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 81Q9
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic 
root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-26-generic N/A
   linux-backports-modules-5.3.0-26-generic  N/A
   linux-firmware1.183.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/22/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: AUCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga C940-14IIL
  dmi.modalias: 
dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL:
  dmi.product.family: Yoga C940-14IIL
  dmi.product.name: 81Q9
  dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL
  dmi.product.version: Lenovo Yoga C940-14IIL
  dmi.sys.vendor: LENOVO

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