Oopses when ejecting thinkpad x230t from docking station with extern DP monitor

Bug #1386597 reported by Muelli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I get Oopses in dmesg when undocking the laptop from the docking station, which did not happen in previous kernels:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1386597/+attachment/4247119/+files/log.txt

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-37-generic 3.13.0-37.64
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: muelli 2559 F.... pulseaudio
Date: Tue Oct 28 10:27:30 2014
HibernationDevice: RESUME=UUID=82ba58b5-df3f-46fa-858a-368103173605
InstallationDate: Installed on 2014-01-22 (278 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
MachineType: LENOVO 3437B52
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-37-generic.efi.signed root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-37-generic N/A
 linux-backports-modules-3.13.0-37-generic N/A
 linux-firmware 1.127.7
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2014-07-01 (118 days ago)
dmi.bios.date: 09/12/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: GCETA0WW (2.60 )
dmi.board.asset.tag: Not Available
dmi.board.name: 3437B52
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrGCETA0WW(2.60):bd09/12/2014:svnLENOVO:pn3437B52:pvrThinkPadX230Tablet:rvnLENOVO:rn3437B52:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3437B52
dmi.product.version: ThinkPad X230 Tablet
dmi.sys.vendor: LENOVO

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
summary: - Oopses when ejecting thinkpad x220t from docking station with extern DP
+ Oopses when ejecting thinkpad x230t from docking station with extern DP
monitor
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Cut from Bug Description.

tags: added: latest-bios-2.60
Revision history for this message
penalvch (penalvch) wrote :

Muelli, thank you for reporting this and helping make Ubuntu better. Could you please test the latest upstream kernel available from the very top line at the top of the page (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18-rc2

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

description: updated
tags: added: regression-update
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :

I tried linux-image-3.18.0-031800rc2-generic_3.18.0-031800rc2.201410262035_amd64.deb but it doesn't boot.
This is a transcripts of the screen when attempting a recovery boot

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [1.979356] random: lvm urandom read with 13 bits of entropy available
Reading all physical volumes. This may take a while...
  No volume groups found
  No volume groups found
Begin: waiting for encrypted source device... ... [ 2.587357] Switched to clocksource tsc

The screen doesn't change for a good while. I booted the older kernel.

Revision history for this message
penalvch (penalvch) wrote :

Muelli, would 3.18-rc1 allow you to boot and test to this problem?

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :

yes, this kernel boots fine: Linux 3.18.0-031800rc1-generic #201410192135 SMP Mon Oct 20 01:37:04 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

The backlight issue works much better now.
One thing I noticed is that when I redock the laptop, the backlight goes off. Increasing the backlight via the Fn+F9 key does not work immediately. It takes a few seconds before it accepts new controls. This might, however, be caused by some scripts which react to the laptop being docked <https://github.com/martin-ueding/thinkpad-scripts/>. I thought I removed them, but maybe there are still traces.

Anyway, I received this, which may be relevant:

[ 147.418106] ACPI: \_SB_.GDCK: docking
[ 147.600681] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 221
[ 147.600685] Raw EDID:
[ 147.600687] 00 ff ff ff ff ff ff 00 f0 9e 30 00 00 00 00 33
[ 147.600688] 17 01 04 a5 34 20 78 26 4c a5 a7 55 4d a2 26 10
[ 147.600689] 50 54 a1 08 00 b3 00 95 00 81 00 a9 40 81 80 d1
[ 147.600690] c0 81 c0 01 01 28 3c 80 a0 70 b0 23 40 30 20 36
[ 147.600691] 00 06 44 21 00 00 1a 00 00 00 fd 00 32 4c 18 5e
[ 147.600691] 11 00 0a 20 20 20 20 20 20 00 00 00 fc 00 48 50
[ 147.600692] 20 5a 32 34 69 0a 20 20 20 20 20 00 00 00 ff 00
[ 147.600693] 43 4e 34 33 35 31 30 42 42 32 0a 20 20 00 68 ff
[ 147.646162] usb 4-1.3: new high-speed USB device number 4 using ehci-pci
[ 147.738603] usb 4-1.3: New USB device found, idVendor=0424, idProduct=2514
[ 147.738607] usb 4-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Given that it works better, I'm adding the kernel-fixed-upstream-3.18-rc1 tag

tags: added: kernel-fixed-upstream-3.18-rc1
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Muelli, the next step is to fully reverse commit bisect the linux kernel in order to identify the fix commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ?

tags: added: needs-reverse-bisect
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
Download full text (6.5 KiB)

So here is the result of my investigation.
It's a bit limited due to my limited time. I hope it is usefule nonetheless.

3.13.0-37 bad
3.18-rc1-utopic good

3.14.3 good

3.13.11.9 bad

3.14-rc5 oopses, but slow with backlight control
3.14-rc1 seems to work, but only coarse grained, other oops related to HID it seems
3.14.0 no oops, but very slow with the backlight control

3.15 very good

These are all the version I tested. Do you think it's worth testing 3.14.1 and 3.14.2?

FTR:
this is the 3.14-rc5 dmesg
[ 28.071810] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 268.837067] ACPI: \_SB_.GDCK: undocking
[ 276.420729] usb 3-3.1: USB disconnect, device number 3
[ 276.453821] usb 3-3.2: USB disconnect, device number 4
[ 276.454468] usb 3-3.3: USB disconnect, device number 5
[ 276.474365] usb 3-3.4: USB disconnect, device number 6
[ 276.475409] ------------[ cut here ]------------
[ 276.475417] WARNING: CPU: 3 PID: 1528 at /home/apw/COD/linux/fs/sysfs/group.c:216 sysfs_remove_group+0xa3/0xb0()
[ 276.475420] sysfs group ffffffff81caa180 not found for kobject 'hidraw1'
[ 276.475421] Modules linked in: ctr ccm rfcomm bnep binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel uvcvideo videobuf2_vmalloc kvm arc4 videobuf2_memops microcode videobuf2_core iwldvm videodev mac80211 joydev serio_raw btusb snd_hda_codec_realtek bluetooth snd_hda_codec_generic snd_hda_intel wacom 6lowpan_iphc snd_hda_codec iwlwifi snd_hwdep lpc_ich cfg80211 snd_pcm thinkpad_acpi nvram mei_me mei nls_iso8859_1 snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd parport_pc soundcore ppdev mac_hid lp parport dm_crypt hid_logitech_dj hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse i915 i2c_algo_bit drm_kms_helper e1000e drm ahci sdhci_pci libahci ptp sdhci pps_core wmi video
[ 276.475476] CPU: 3 PID: 1528 Comm: upowerd Not tainted 3.14.0-031400rc5-generic #201403022235
[ 276.475478] Hardware name: LENOVO 3437B52/3437B52, BIOS GCETA0WW (2.60 ) 09/12/2014
[ 276.475480] 00000000000000d8 ffff8800d3d77ce8 ffffffff8175a8bb 0000000000000007
[ 276.475483] ffff8800d3d77d38 ffff8800d3d77d28 ffffffff8106ab8c ffff8800d3d77d18
[ 276.475486] ffffffff81caa180 ffff88020eb31c10 0000000000000000 ffff88020eb6c598
[ 276.475489] Call Trace:
[ 276.475494] [<ffffffff8175a8bb>] dump_stack+0x46/0x58
[ 276.475498] [<ffffffff8106ab8c>] warn_slowpath_common+0x8c/0xc0
[ 276.475502] [<ffffffff8106ac76>] warn_slowpath_fmt+0x46/0x50
[ 276.475505] [<ffffffff81248e33>] ? kernfs_find_and_get_ns+0x53/0x70
[ 276.475508] [<ffffffff81247903>] sysfs_remove_group+0xa3/0xb0
[ 276.475511] [<ffffffff814b58d0>] dpm_sysfs_remove+0x40/0x50
[ 276.475514] [<ffffffff814ab507>] device_del+0x47/0x1a0
[ 276.475517] [<ffffffff814ab682>] device_unregister+0x22/0x60
[ 276.475519] [<ffffffff814ab6fb>] device_destroy+0x3b/0x50
[ 276.475527] [<ffffffffa0298b20>] drop_ref+0x40/0xe0 [hid]
[ 276.475532] [<ffffffffa0298c5d>] hidraw_release+0x9d/0xb0 [hid]
[ 276.475536] [<ffffffff811d2f2d>] __fput+0xbd/0x270
[ 276...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Muelli, the fix commit has not been identified as outlined in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1386597/comments/8 .

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.