/srv/irclogs.ubuntu.com/2017/10/27/#ubuntu-kernel.txt

=== mwsb is now known as chu
codepython777I have a wierd usb problem on 16.04.3 + Intel Nuc + a USB 3 device. I've tried many things. If anyone is familiar with debugging this chain, I could use some help.01:44
=== JanC_ is now known as JanC
=== JanC_ is now known as JanC
codepython777 I have a wierd usb problem on 16.04.3 + Intel Nuc + a USB 3 device. I've tried many things. If anyone is familiar with debugging this chain, I could use some help.13:07
apwcodepython777, hard to say without some symptoms, if you have a bug or something maybe someone here might have some suggestions13:09
codepython777hi apw13:11
codepython777I've a intel nuc on which I am running 4.13.10 - My problem is, one of the devices (A USB 3 SDR) does not show up at boot, and i see a lot of usb errors in dmesg. But when I pull and push it back physically, it works13:12
codepython777[    7.803149] usb 1-2: device descriptor read/64, error -110 --> dmesg keeps showing these errors till around 60 seconds of boot13:12
codepython777[   56.316639] usb 1-2: new high-speed USB device number 5 using xhci_hcd  --> [   61.572926] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command13:13
apwso works when attached after boot and not if attached on boot13:14
apwprobe ordering perhaps, usb3 is all a bit of a mess the way they did the backwards compatibility13:14
apwlikely those errors are timeouts as they are -11013:15
apwi thought xhci_hcd was usb213:15
apwwhat is attached to it when you pull and reinsert it13:17
codepython777apw: let me show you dmesg again13:20
codepython777apw: https://paste.ubuntu.com/25830301/ - now even push/pulls dont work well13:21
codepython777physical push pulls do activate the SDR though13:21
codepython777apw: usb 2-2 should be usb 313:21
codepython777apw: I think you are right xhci is usb2 - this device is usb 3 - Even the keyboard and mouse on this machine take time to connect13:23
apwwhen usb2 was new the order in which the devices probed mattered, and if you had usb1 builtin and usb2 as a module it would do the wrong thing13:29
apwi wonder if this is something similar13:29
apwcodepython777, has this ever worked before, befreo 4.13 for instance ?13:29
codepython777yes, it used to work on ubuntu 16.04 default kernel - and an older intel firmware13:30
codepython777intel does not let you downgrade the firmware, and now it breaks the whole system13:31
codepython777apw: when it worked, it would give errors, and connect at boot after 60 seconds13:31
apwso if you boot back into an older kernel does it still not work13:31
apwthat is probabally less working, and more working by luck for sure13:31
apwbut perhaps if we can find out when it stopped working (assuming it still works with the old kernel)13:31
codepython777apw: now it does not work on any kernel between 16.04 default and the latest stable13:32
apwthe what made it worse commit might tell us something13:32
apwok so they "fixed your firmware" nice13:32
codepython777we cant make it work. Intel's nuc dont have older firmware now 13:32
apwok do you have a bug filed, so we have something to track this on, as we might be able to get some help13:33
codepython777apw: It would be nice to get the bottom of the issue13:33
codepython777apw: no, I am not sure where to file it. Intel tells me they dont support ubuntu.13:33
codepython777or linux13:33
codepython777when i pull and push the usb for the device, I see xhci_hcd on the dmesg - isnt that a problem? This is a usb 3 device13:34
apwyou'd want to check if usb3 is really different, or just a variant of xhci_hcd13:35
apwif it is different you could try modprobing the usb3 driver manually then shoving it in13:35
apwand see if that changes anythign13:35
apwbut regardless, file a bug against linux in ubuntu, and let us know the number here, and maye13:35
apwand maybe, just maybe, we can get some help with it13:35
codepython777apw: can you point me to the right url to post the bug?13:36
apwrun 'ubuntu-bug linux' from a terminal13:36
codepython777apw: thanks13:39
hallynapw: I have lvm issues.  anyone in particular you'd recommend talking to? :)16:51
apwhallyn, point us to the bug and we'll figure something out16:51
hallynin particular, I use qemu-nbd to hook up a file;  pvcreate/vgcreate/lvcreate on /dev/nbd0p2; detach,16:51
* hallyn scratches his head16:51
hallynok.  16:52
hallyni'm still working on reproducing, trying to figure out what's reasonable and what's not;  but i'll opena  bug with my scripts.16:52
hallynah, - doing dmsetup remove of the lvthin devices *in the right order* helps to recover at least16:54
hallynso fragile16:56
jsalisburyslangasek, I've gotten no further on your bug and am confused by that merge.  I'm going to send out an email with git questions to people that know git better than me.  I'll cc you17:10
slangasekjsalisbury: fair enough; meanwhile I am iterating my own bisect as I described, which consists of rebasing the tty branch on top of trunk at each iteration17:12
jsalisburyslangasek, ack.  I've never run into a reverse bisect like this before17:13
hallynhm.  16.04 works (with kid-gloves on) on physical hardware, fails inside vmware.17:15
hallynWell I guess I"ll still file it as a bug, though i'm starting to thin kit's a vmware bug.17:15
hallynapw: bug 1728109 17:21
ubot5bug 1728109 in linux (Ubuntu) "nbd ( + lvm thin pool?) fragile" [Undecided,New] https://launchpad.net/bugs/172810917:21
* hallyn bbl17:21
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!