Bug 201153 - Lenovo ThinkPad X230 UltraBase docking unreliable since 4.16
Summary: Lenovo ThinkPad X230 UltraBase docking unreliable since 4.16
Status: RESOLVED DUPLICATE of bug 200611
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Hotplug (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Erik Kaneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-16 16:48 UTC by David Korth
Modified: 2020-05-15 20:49 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.18.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump output (kernel 4.18.3) (101.69 KB, application/gzip)
2018-09-19 13:50 UTC, David Korth
Details

Description David Korth 2018-09-16 16:48:43 UTC
Since upgrading from 4.15.x to 4.16 (and all kernels after 4.16), connecting the UltraBase after boot (as opposed to booting with the UltraBase connected) has been unreliable with regards to the UltraBay Slim slot. Sometimes the UltraBay Slim device is recognized and shows up correctly; other times (which has been basically every time recently), the device doesn't show up, and dmesg shows an ACPI error:

[145643.405090] ACPI Error: Method parse/execution failed \_SB.PCI0.LPC.EC.IRDY, AE_AML_LOOP_TIMEOUT (20180531/psparse-516)
[145643.405103] ACPI Error: Method parse/execution failed \_SB.PCI0.LPC.EC.BEN, AE_AML_LOOP_TIMEOUT (20180531/psparse-516)
[145643.405109] ACPI Error: Method parse/execution failed \_SB.PCI0.LPC.EC.NBIN, AE_AML_LOOP_TIMEOUT (20180531/psparse-516)
[145643.405115] ACPI Error: Method parse/execution failed \_SB.PCI0.LPC.EC._Q38, AE_AML_LOOP_TIMEOUT (20180531/psparse-516)

Sometimes it also shows this message:

[175451.612897] ACPI: \_SB_.PCI0.SAT1.PRT1: docking
[175451.613125] ACPI: \_SB_.PCI0.SAT1.PRT1: Unable to dock!

Please let me know if there's any other information that would be useful for fixing this bug.
Comment 1 Zhang Rui 2018-09-19 07:49:30 UTC
the ACPICA errors are probably related, have you checked the latest upstream kernel, say, 4.19-rc4?

please attach the acpidump output.

@erik, have you seen similar error reports and if they're fixed in upstream kernel? Let's re-evaluate the problem after the ACPICA errors are resolved first.
Comment 2 David Korth 2018-09-19 13:50:52 UTC
Created attachment 278669 [details]
acpidump output (kernel 4.18.3)

Here's the acpidump output. I'll test 4.19-rc4 to see if that fixes it.
Comment 3 Erik Kaneda 2018-10-12 23:19:36 UTC
ping... Were you able to test the latest rc?
Comment 4 David Korth 2018-11-12 06:13:18 UTC
Hi,

I'm currently using 4.19.0 and it still has the same problem. Docking/undocking sometimes works after a reboot, but after some time, once the UltraBay device is removed, it can't be re-added, and it shows the same error messages.
Comment 5 Zhang Rui 2018-12-27 15:43:25 UTC
this should be a duplicate of bug #200611.

*** This bug has been marked as a duplicate of bug 200611 ***
Comment 6 Joe Clifford 2020-05-15 20:49:43 UTC
This bug still affects me. I'm running Devuan with kernel 5.5.0-0.bpo.2-amd64 on my Lenovo X230.

This bug also affects kernels linux-image-4.19.0-8-amd64, linux-image-4.19.0-9-amd64 and linux-image-5.4.0-0.bpo.4-amd64.

Connecting the Ultrabase dock results in either the optical, hdd or ssd (whichever slim device is fitted in the dock) not being detected and the following in dmesg:

[23331.903424] ACPI: \_SB_.GDCK: docking
[23332.071096] usb 4-1.3: new high-speed USB device number 4 using ehci-pci
[23332.099617] usb 4-1.3: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= 0.00
[23332.099622] usb 4-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[23332.100232] hub 4-1.3:1.0: USB hub found
[23332.100338] hub 4-1.3:1.0: 4 ports detected
[23362.760204] ACPI Error: Aborting method \_SB.PCI0.LPC.EC.IRDY due to previous error (AE_AML_LOOP_TIMEOUT) (20191018/psparse-531)
[23362.760225] ACPI Error: Aborting method \_SB.PCI0.LPC.EC.BEN due to previous error (AE_AML_LOOP_TIMEOUT) (20191018/psparse-531)
[23362.760235] ACPI Error: Aborting method \_SB.PCI0.LPC.EC.NBIN due to previous error (AE_AML_LOOP_TIMEOUT) (20191018/psparse-531)
[23362.760244] ACPI Error: Aborting method \_SB.PCI0.LPC.EC._Q38 due to previous error (AE_AML_LOOP_TIMEOUT) (20191018/psparse-531)
[23449.887461] ACPI: \_SB_.PCI0.SAT1.PRT1: docking
[23449.888034] ACPI: \_SB_.PCI0.SAT1.PRT1: Unable to dock!

Is there a hotfix or patch I can try? Looking at bug #200611, is reverting commit 3cd091a77393 the (only) solution?

Note You need to log in before you can comment on or make changes to this bug.