All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 206649] New: Lenovo C940 - USB3 disk not detected if connected after boot
@ 2020-02-23 22:14 bugzilla-daemon
  2020-02-23 22:15 ` [Bug 206649] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2020-02-23 22:14 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=206649

            Bug ID: 206649
           Summary: Lenovo C940 - USB3 disk not detected if connected
                    after boot
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.6-rc2
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: email-ext@laposte.net
        Regression: No

Created attachment 287561
  --> https://bugzilla.kernel.org/attachment.cgi?id=287561&action=edit
Dmesg after unplugging the SSD.

Hello,

I have a Lenovo C940 under Manjaro with kernel 5.6-rc2. I am using a Samsung T5
SSD USB3.1 Gen2 disk with usb C connector. If I connect the disk before
booting, it will work correctly. However If I either unplug/replug it once the
os booted or if I plug it after the boot then the disk won't be detected.

I joined my dmesg and journalctl logs, but I did not see much information from
the logs... However, by using a thunderbolt3 dock and connecting the disk to
the USB A ports, I had no problem when connecting/disconnecting the drive
several times. However, as soon as I was using the usb C ports, mapped to
thunderbolt3, directly from the laptop or with the dock, same problems
described above occurred.

This problem may be linked to this ticket:
https://bugzilla.kernel.org/show_bug.cgi?id=206459

I am enjoying a similar problem with my Thunderbolt 3 dock (OWC Thunderbolt3
dock) when not connecting it before the boot. It even leads to os crash, but I
will fill another bug report for this particular issue.

I can provide more log if required, please feel free to give me any other
commands/idea to debug this.

Thanks,

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot
  2020-02-23 22:14 [Bug 206649] New: Lenovo C940 - USB3 disk not detected if connected after boot bugzilla-daemon
@ 2020-02-23 22:15 ` bugzilla-daemon
  2020-02-23 22:32 ` [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot - no space for [mem size 0x00010000] bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2020-02-23 22:15 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=206649

--- Comment #1 from A (email-ext@laposte.net) ---
Created attachment 287563
  --> https://bugzilla.kernel.org/attachment.cgi?id=287563&action=edit
Journal after unplug/replug the ssd

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot - no space for [mem size 0x00010000]
  2020-02-23 22:14 [Bug 206649] New: Lenovo C940 - USB3 disk not detected if connected after boot bugzilla-daemon
  2020-02-23 22:15 ` [Bug 206649] " bugzilla-daemon
@ 2020-02-23 22:32 ` bugzilla-daemon
  2020-02-23 22:33 ` bugzilla-daemon
  2020-02-26 22:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2020-02-23 22:32 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=206649

A (email-ext@laposte.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Lenovo C940 - USB3 disk not |Lenovo C940 - USB3 disk not
                   |detected if connected after |detected if connected after
                   |boot                        |boot - no space for [mem
                   |                            |size 0x00010000]

--- Comment #2 from A (email-ext@laposte.net) ---
Here are some complementary dmesg log when plugin back the disk to thunderbolt
port on dock. From the log the following errors occured:

   97.075649] usb 12-1: USB disconnect, device number 2
[   97.076371] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[   97.092456] pcieport 0000:02:04.0: pciehp: Slot(0-2): Link Down
[   97.092460] pcieport 0000:02:04.0: pciehp: Slot(0-2): Card not present
[   97.092466] xhci_hcd 0000:07:00.0: PME# disabled
[   97.092483] xhci_hcd 0000:07:00.0: remove, state 1
[   97.092490] usb usb12: USB disconnect, device number 1
[   97.187858] xhci_hcd 0000:07:00.0: xHCI host controller not responding,
assume dead
[   97.281395] sd 1:0:0:0: [sda] Synchronize Cache(10) failed: Result:
hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   97.354815] xhci_hcd 0000:07:00.0: WARN Can't disable streams for endpoint
0x81, streams are being disabled already
[   97.355682] xhci_hcd 0000:07:00.0: USB bus 12 deregistered
[   97.355695] xhci_hcd 0000:07:00.0: remove, state 4
[   97.355700] usb usb11: USB disconnect, device number 1
[   97.355933] xhci_hcd 0000:07:00.0: Host halt failed, -19
[   97.355937] xhci_hcd 0000:07:00.0: Host not accessible, reset failed.
[   97.356817] xhci_hcd 0000:07:00.0: USB bus 11 deregistered
[   97.357314] pci 0000:07:00.0: Removing from iommu group 3
[   97.357379] pcieport 0000:02:04.0: saving config space at offset 0x0
(reading 0x15d38086)
[   97.357384] pcieport 0000:02:04.0: saving config space at offset 0x4
(reading 0x100407)
[   97.357388] pcieport 0000:02:04.0: saving config space at offset 0x8
(reading 0x6040002)
[   97.357392] pcieport 0000:02:04.0: saving config space at offset 0xc
(reading 0x10010)
[   97.357396] pcieport 0000:02:04.0: saving config space at offset 0x10
(reading 0x0)
[   97.357400] pcieport 0000:02:04.0: saving config space at offset 0x14
(reading 0x0)
[   97.357405] pcieport 0000:02:04.0: saving config space at offset 0x18
(reading 0x2c0702)
[   97.357409] pcieport 0000:02:04.0: saving config space at offset 0x1c
(reading 0x1f1)
[   97.357413] pcieport 0000:02:04.0: saving config space at offset 0x20
(reading 0x5fd05400)
[   97.357418] pcieport 0000:02:04.0: saving config space at offset 0x24
(reading 0x1bf10001)
[   97.357422] pcieport 0000:02:04.0: saving config space at offset 0x28
(reading 0x60)
[   97.357426] pcieport 0000:02:04.0: saving config space at offset 0x2c
(reading 0x60)
[   97.357430] pcieport 0000:02:04.0: saving config space at offset 0x30
(reading 0x0)
[   97.357434] pcieport 0000:02:04.0: saving config space at offset 0x34
(reading 0x80)
[   97.357437] pcieport 0000:02:04.0: saving config space at offset 0x38
(reading 0x0)
[   97.357441] pcieport 0000:02:04.0: saving config space at offset 0x3c
(reading 0x201ff)
[   97.357521] pcieport 0000:02:04.0: PME# enabled
[  134.658112] pcieport 0000:02:04.0: restoring config space at offset 0x2c
(was 0x60, writing 0x60)
[  134.658120] pcieport 0000:02:04.0: restoring config space at offset 0x28
(was 0x60, writing 0x60)
[  134.658127] pcieport 0000:02:04.0: restoring config space at offset 0x24
(was 0x1bf10001, writing 0x1bf10001)
[  134.658239] pcieport 0000:02:04.0: PME# disabled
[  134.658289] pcieport 0000:02:04.0: pciehp: Slot(0-2): Card present
[  134.658291] pcieport 0000:02:04.0: pciehp: Slot(0-2): Link Up
[  134.658304] pcieport 0000:00:07.0: PME: Spurious native interrupt!
[  134.791395] pci 0000:07:00.0: [8086:15d4] type 00 class 0x0c0330
[  134.791453] pci 0000:07:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[  134.791548] pci 0000:07:00.0: enabling Extended Tags
[  134.791760] pci 0000:07:00.0: supports D1 D2
[  134.791762] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  134.791771] pci 0000:07:00.0: PME# disabled
[  134.791897] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited
by 2.5 GT/s x4 link at 0000:00:07.0 (capable of 31.504 Gb/s with 8 GT/s x4
link)
[  134.792031] pci 0000:07:00.0: Adding to iommu group 3
[  134.792033] pci 0000:07:00.0: DMAR: Use Intel IOMMU bounce page dma_ops
[  134.792144] pcieport 0000:02:04.0: ASPM: current common clock configuration
is broken, reconfiguring
[  134.792214] pcieport 0000:02:04.0: bridge window [io  0x1000-0x0fff] to [bus
07-2c] add_size 1000
[  134.792222] pcieport 0000:02:04.0: BAR 13: no space for [io  size 0x1000]
[  134.792224] pcieport 0000:02:04.0: BAR 13: failed to assign [io  size
0x1000]
[  134.792227] pcieport 0000:02:04.0: BAR 13: no space for [io  size 0x1000]
[  134.792229] pcieport 0000:02:04.0: BAR 13: failed to assign [io  size
0x1000]
[  134.792234] pci 0000:07:00.0: BAR 0: no space for [mem size 0x00010000]
[  134.792236] pci 0000:07:00.0: BAR 0: failed to assign [mem size 0x00010000]
[  134.792239] pcieport 0000:02:04.0: PCI bridge to [bus 07-2c]
[  134.792249] pcieport 0000:02:04.0:   bridge window [mem
0x54000000-0x5fdfffff]
[  134.792256] pcieport 0000:02:04.0:   bridge window [mem
0x6000000000-0x601bffffff 64bit pref]
[  134.792266] PCI: No. 2 try to assign unassigned res
[  134.792269] pcieport 0000:02:04.0: resource 14 [mem 0x54000000-0x5fdfffff]
released
[  134.792271] pcieport 0000:02:04.0: PCI bridge to [bus 07-2c]
[  134.792278] pcieport 0000:02:04.0: bridge window [io  0x1000-0x0fff] to [bus
07-2c] add_size 1000
[  134.792284] pcieport 0000:02:04.0: BAR 14: no space for [mem size
0x0be00000]
[  134.792286] pcieport 0000:02:04.0: BAR 14: failed to assign [mem size
0x0be00000]
[  134.792289] pcieport 0000:02:04.0: BAR 13: no space for [io  size 0x1000]
[  134.792290] pcieport 0000:02:04.0: BAR 13: failed to assign [io  size
0x1000]
[  134.792294] pcieport 0000:02:04.0: BAR 14: no space for [mem size
0x0be00000]
[  134.792295] pcieport 0000:02:04.0: BAR 14: failed to assign [mem size
0x0be00000]
[  134.792298] pcieport 0000:02:04.0: BAR 13: no space for [io  size 0x1000]
[  134.792299] pcieport 0000:02:04.0: BAR 13: failed to assign [io  size
0x1000]
[  134.792302] pci 0000:07:00.0: BAR 0: no space for [mem size 0x00010000]
[  134.792303] pci 0000:07:00.0: BAR 0: failed to assign [mem size 0x00010000]
[  134.792305] pcieport 0000:02:04.0: PCI bridge to [bus 07-2c]
[  134.792318] pcieport 0000:02:04.0:   bridge window [mem
0x6000000000-0x601bffffff 64bit pref]
[  134.793120] xhci_hcd 0000:07:00.0: init 0000:07:00.0 fail, -16
[  134.793131] xhci_hcd: probe of 0000:07:00.0 failed with error -16
[  279.153557] audit: type=1101 audit(1582476267.943:111): pid=2448

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot - no space for [mem size 0x00010000]
  2020-02-23 22:14 [Bug 206649] New: Lenovo C940 - USB3 disk not detected if connected after boot bugzilla-daemon
  2020-02-23 22:15 ` [Bug 206649] " bugzilla-daemon
  2020-02-23 22:32 ` [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot - no space for [mem size 0x00010000] bugzilla-daemon
@ 2020-02-23 22:33 ` bugzilla-daemon
  2020-02-26 22:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2020-02-23 22:33 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=206649

--- Comment #3 from A (email-ext@laposte.net) ---
Created attachment 287565
  --> https://bugzilla.kernel.org/attachment.cgi?id=287565&action=edit
Dmesg when plugin SSD on TH3 port of dock

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot - no space for [mem size 0x00010000]
  2020-02-23 22:14 [Bug 206649] New: Lenovo C940 - USB3 disk not detected if connected after boot bugzilla-daemon
                   ` (2 preceding siblings ...)
  2020-02-23 22:33 ` bugzilla-daemon
@ 2020-02-26 22:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2020-02-26 22:10 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=206649

--- Comment #4 from A (email-ext@laposte.net) ---
It seems the patch proposed here
https://bugzilla.kernel.org/show_bug.cgi?id=206657 fix the problem. Will wait
and test a few days before to mark it as solved.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-26 22:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-23 22:14 [Bug 206649] New: Lenovo C940 - USB3 disk not detected if connected after boot bugzilla-daemon
2020-02-23 22:15 ` [Bug 206649] " bugzilla-daemon
2020-02-23 22:32 ` [Bug 206649] Lenovo C940 - USB3 disk not detected if connected after boot - no space for [mem size 0x00010000] bugzilla-daemon
2020-02-23 22:33 ` bugzilla-daemon
2020-02-26 22:10 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.