Re: Patches for "Renesas uPD72020x workaround" don't work

2018-06-01 Thread Christian Brauns
Hi, this is from another e-mail account, where I now subscribed to this list.
Don't know, if this will be of any help.

git checkout v4.16
git revert --strategy-option=ours 0e1f0ea -n
git cherry-pick 854e55ad289efe7991f0ada5846f5afb9 -n
git cherry-pick ad343a98e74e85aa91d844310e797f96fee6983b -n

First boot with this kernel, and that Renesas card, did not show up
the attached devices.

Power off, remove power cable, remove battery, push power button to
switch on, card was removed.
After that, reconnect all, put the USB3 card into the slot.
Boot up.
No device recognized.

Remove card, reinsert card.

device shows.

SMART Values are not shown anymore, even on the USB 2.0 ports.

I got to use that laptop, don't boot it so often.


part from dmesg

[0.00] Linux version 4.16.0-ARCH-renesas+
(u...@machine1.example.com) (gcc version 8.1.0 (GCC)) #2 SMP PREEMPT
Wed May 30 20:26:31 CEST 2018
[0.00] Command line:
BOOT_IMAGE=/boot/vmlinuz-linux4.16.0-ARCH-renesas+ "acpi_osi=!Windows
2012" root=/dev/sda12 zswap.enabled=1 zswap.compressor=lz4 rw
acpi_osi=Linux threadirqs pcie_aspm=force i915.i915_enable_rc6=1
i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.debug=0xe
intel_iommu=igfx_off intel_iommu=soft pciehp.pciehp_force=1 verbose
debug

[   72.915304] xhci_hcd :05:00.0: xHCI Host Controller
[   72.915311] xhci_hcd :05:00.0: new USB bus registered, assigned
bus number 3
[   72.920586] xhci_hcd :05:00.0: hcc params 0x014051cf hci
version 0x100 quirks 0x0090
[   72.921124] hub 3-0:1.0: USB hub found
[   72.922088] hub 3-0:1.0: 2 ports detected
[   72.922680] xhci_hcd :05:00.0: xHCI Host Controller
[   72.922684] xhci_hcd :05:00.0: new USB bus registered, assigned
bus number 4
[   72.924101] usb usb4: We don't know the algorithms for LPM for this
host, disabling LPM.
[   72.925733] hub 4-0:1.0: USB hub found
[   72.925744] hub 4-0:1.0: 2 ports detected
[   73.250020] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[   74.273885] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
[   74.870888] usb-storage 3-1:1.0: USB Mass Storage device detected
[   74.871678] scsi host4: usb-storage 3-1:1.0
[   74.872320] usbcore: registered new interface driver usb-storage
[   74.879429] scsi host5: uas
[   74.880120] usbcore: registered new interface driver uas
[   74.881221] scsi 5:0:0:0: Direct-Access Seagate  M3 Portable
  9300 PQ: 0 ANSI: 6
[   74.882418] sd 5:0:0:0: Attached scsi generic sg2 type 0
[   74.882765] sd 5:0:0:0: [sdc] 7814037167 512-byte logical blocks:
(4.00 TB/3.64 TiB)
...
[   75.168568] sd 5:0:0:0: [sdc] Write Protect is off
[   75.171102] sd 5:0:0:0: [sdc] Mode Sense: 4f 00 00 00
[   75.173896] sd 5:0:0:0: [sdc] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[   75.176015] xhci_hcd :05:00.0: ERROR Transfer event for unknown
stream ring slot 3 ep 2
[   75.177172] xhci_hcd :05:00.0: @0003f4f055f0 
 1b00 03038001
[   75.538169] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.540504] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.566508] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.574355] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.575969] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.577960] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.581890] systemd-journald[286]: Successfully sent stream file
descriptor to service manager.
[   75.894654] scsi 4:0:0:0: Direct-Access SanDisk  Ultra Fit
  1.00 PQ: 0 ANSI: 6
[   75.896727] sd 4:0:0:0: Attached scsi generic sg3 type 0
[   75.896928] sd 4:0:0:0: [sdd] 60062500 512-byte logical blocks:
(30.8 GB/28.6 GiB)
[   75.900691] sd 4:0:0:0: [sdd] Write Protect is off
[   75.901941] sd 4:0:0:0: [sdd] Mode Sense: 43 00 00 00
[   75.904268] sd 4:0:0:0: [sdd] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[   75.913761]  sdd: sdd1 sdd2
[   75.917525] sd 4:0:0:0: [sdd] Attached SCSI removable disk
[   75.988485]  sdc: sdc1 sdc2 sdc3
[   75.991170] sd 5:0:0:0: [sdc] Attached SCSI disk
[   86.713499] xhci_hcd :05:00.0: remove, state 1
[   86.714589] usb usb4: USB disconnect, device number 1
[   86.715705] usb 4-2: USB disconnect, device number 2
[   86.718164] sd 5:0:0:0: [sdc] Synchronizing SCSI cache
[   86.920034] sd 5:0:0:0: [sdc] Synchronize Cache(10) failed: Result:
hostbyte=0x07 driverbyte=0x00
[   92.394569] xhci_hcd :05:00.0: xHCI host controller not
responding, assume dead
[   92.395073] xhci_hcd :05:00.0: Timeout while waiting for
configure endpoint command
[   92.395237] xhci_hcd :05:00.0: WARN Can't disable streams for
endpoint 0x81, streams are being disabled already
[   92.395828] xhci_hcd :05:00.0: USB bus 4 deregistered
[   

Re: Patches for "Renesas uPD72020x workaround" don't work

2018-05-29 Thread Mathias Nyman

On 29.05.2018 15:50, Marcus Mönius wrote:

Hello,

as described here (https://bbs.archlinux.org/viewtopic.php?pid=1787759#p1787759 
) the patches
for the Renesas host controller 
(https://www.spinics.net/lists/linux-usb/msg169384.html 
)
didn't work for me:
I compiled the current kernel (4.16.11) with the three patches and a cherry pick
(fa31b3cb2ae143aa6e26974fcbe75689da60bdbe), but my Renesas USB 3.0
express card didn't work. I tried it with no kernel parameters and with either
kernel parameter intel_iommu=on or intel_iommu=igfx_off. But it didn't work.



Do you have any logs of 4.16 + Renesas v3 patches?.


When I use kernel 4.12.7 or kernel 4.12.8 with:

git checkout v4.12.8
git revert 0e1f0eaed6c20db41ff61e024b361ee3ec9d686c #revert the noted commit
git cherry-pick 854e55ad289efe7991f0ada85d5846f5afb9 #cherry-pick a commit 
needed to build with gcc 8

git cherry-pick ad343a98e74e85aa91d844310e797f96fee6983b


The express card only works, when I boot linux with the card inserted.
When I reinsert it while running, it does not work anymore.



How about v4.16 without 0e1f0ea? (reverting it) how does that behave?

-Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Patches for "Renesas uPD72020x workaround" don't work

2018-05-29 Thread Marcus Mönius

Hello,

as described here 
(https://bbs.archlinux.org/viewtopic.php?pid=1787759#p1787759 
) the patches
for the Renesas host 
controller (https://www.spinics.net/lists/linux-usb/msg169384.html 
)

didn't work for me:
I compiled the current kernel (4.16.11) with the three patches and a 
cherry pick

(fa31b3cb2ae143aa6e26974fcbe75689da60bdbe), but my Renesas USB 3.0
express card didn't work. I tried it with no kernel parameters and with 
either

kernel parameter intel_iommu=on or intel_iommu=igfx_off. But it didn't work.

When I use kernel 4.12.7 or kernel 4.12.8 with:

git checkout v4.12.8
git revert 0e1f0eaed6c20db41ff61e024b361ee3ec9d686c #revert the noted commit
git cherry-pick 854e55ad289efe7991f0ada85d5846f5afb9 #cherry-pick a 
commit needed to build with gcc 8


git cherry-pick ad343a98e74e85aa91d844310e797f96fee6983b


The express card only works, when I boot linux with the card inserted.
When I reinsert it while running, it does not work anymore.


Cheers
Marcus
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html