libera/#devuan/ Friday, 2022-04-15

systemdletelsusb -v says "can't get debug descriptor: Resource temporarily unavailable" and "can't get device qualifier: Resource temporarily unavailable" on stderr many times.  I am seeing this on beowulf and chimaera on HARDWARE, not just VMs.03:03
systemdleteI detached every USB device and still getting those messages, but only with the -v option to lsusb.   Plain lsusb does not generate those messages.03:04
systemdleteI've web searched for this, but most of the posts are from years ago, or they are specific to like Ubuntu, etc.03:04
systemdleteAt any rate, none of them seem to provide a solution.03:05
systemdleteThese errors don't indicate which device(s) are the culprits.  (The hubs maybe? idk)03:06
systemdleteMust be the hubs.  I just ran a test on a chimaera box, using a PS2 keyboard.  lsusb (no -v) shows only hubs.  But lsusb -v shows the errors.03:16
rwpI have no idea.  Sounds like a bizarre problem.  Did you disconnect something that was mounted without unmounting it?  Was there data unflushed?03:16
rwpI might be inclined to reboot and see if that fixes things.03:17
systemdleteI've rebooted many times, with no change.03:17
systemdleteAre you asking about usb drives?03:17
systemdleteI haven't had any connected to either of my PCs since they have been rebooted.03:18
rwpOnly asking about usb drives because they have state and you have a problem with usb state.03:18
systemdletehow do you know?  Those messages don't seem to say much03:18
systemdleteIt just says some resource is unavailable.  It doesn't say which device.03:19
rwpIt doesn't say which device but it is lsusb so it must be listing out the usb bus.  Probably not a keyboard.  Probably not a mouse.  So what other usb things do people typically plug in?03:19
systemdleteI could try a cold reboot with a PS2 keyboard and do an lsusb -v.   But that might be overkill.03:20
systemdleteI mean, with no usb devices plugged in at all.03:20
systemdletebut like you say, I doubt it is a kb or mouse also.03:20
gnarfacetried a cold boot?03:20
systemdletejust about to do that, gnarface.03:20
systemdletebbs...03:21
systemdletesorry charlie, no difference.03:26
systemdleteI just cold-booted my test box with no USB attachments, period.   Keyboard is PS2.  And of course the HDMI for video.  That's it.   Still, when I log in as root, I get those same messages.   So this could not have to do with previously plugged-in usb devices.03:27
systemdleteMost interestingly, the two boxes have different mainboards too.03:28
systemdleteand they are running different versions of the kernel.03:29
systemdleteso I opened two windows on the testbox and logged both into root.  In one of those root windows, I tail -f /var/log/kern.log.   In the other, I run "lsusb -v"03:33
systemdleteI can see the errors from lsusb -v, but not a peep from the kern.log.03:33
systemdletealso tried the messages and syslog logfiles, but same thing:  no messages03:34
systemdleteI suppose there is strace03:35
gnarfacevery strange03:37
gnarfacesays temporarily unavailable though... like it plans on getting it eventually...03:37
gnarfacei wonder what's doing that03:37
rwpI can reproduce the problem here too.  It seems to be Linux kernel version related.03:37
rwplsusb -v >/dev/null and the error messages are to stderr.03:38
rwpBoth Beowulf and Chimaera kernels.  But for example older Stretch is clean.03:38
gnarfaceoh, i'm seeing it on ceres too but it says "Couldn't open device, some information will be missing" instead03:39
gnarfacei wouldn't worry about it, it's probably snafu03:39
gnarfacemaybe if you run it as root it won't do that03:39
rwpHmm...  My Ceres VM system is clean.  But a chimaera VM emits the message.  So it isn't clean because it is a VM.03:41
rwpsystemdlete, What kernel version?  uname -r03:42
systemdleteThis happens with either the beowulf or chimaera kernels (standard issue ones)03:43
systemdleteso pastebinit does not work anymore?03:43
systemdleteI've been getting errors lately.  Used to work fine.03:43
systemdleteIs there a better tool (should I use tpaste?)03:43
systemdleteI wanted to share my strace output03:44
gnarfaceyou can't make pastebinit point to paste.debian.org anymore?03:45
systemdletehttps://pastebin.com/JCkYazB203:47
systemdlete(uploaded it to pastebin manually)03:47
systemdleteI don't know; havn't looked into it really03:47
systemdleteI installed pastebinit.  Do I need to make mods for it to work?03:47
systemdletetry logging in as root; you get different messages03:48
gnarfacewell you gotta change something to make it point to paste.debian.net (.net not .org my bad) but i'm not sure exactly what03:48
systemdleteoh03:48
systemdleteok, not pastebin.com, gotcha03:49
rwpI tried lsusb -v as root across several different kernels.  https://paste.debian.net/plain/123800703:49
* systemdlete is so happy that others are able to reproduce the same silly problem03:49
systemdlete(for once)03:49
gnarfacedebug descriptor, interesting03:49
systemdlete[somewhere in open source devland, some programmer is thinking OH S***T]03:50
rwpThere were several errors.  I just trimmed to either 1) clean or 2) emitted an error.  There is also "device qualifier" mentioned too.03:50
systemdleteSometimes error messages, while they themselves might be innocuous, are indicative of possibly deeper problems03:51
rwpJFTR but there is no guarantee this is kernel version related.  Not yet.  It could be lsusb version related.  Or something else.03:51
systemdleteSeems more like the maintainer left debugging on when they checked in their code.03:52
systemdleteBecause, honestly, for the most part, usb works.03:52
systemdlete[I DID say "for the most part"]03:53
systemdletegnarface:  I created a .pastebinit.xml file in my home directory, and it works, except it doesn't give me the page it pasted to, just the url and domainname03:59
systemdleteIt works, rc = 003:59
systemdlete(I mean echo $? gives 0)03:59
systemdleteOK, pastebinit -l shows supported pastebins.  debian is not one of them.04:02
systemdleteTrying dpaste, which is supported, it works correcctly again.04:03
* systemdlete is once again reminded how useful the man pages can sometimes be04:04
systemdletehey, rwp and gnarface, thanks for looking at this04:05
gnarfaceok, here's something a little weird though, rwp, systemdlete ... on my 4.19.0-20-amd64 kernel here there's no errors05:05
gnarfacethough in the actual device listings there's some "Capabilities: <access denied>" fields if you don't run it as root05:06
gnarface(when running as root the capabilities are populated)05:06
gnarfacethat diverges from rwp's report for 4.19.0-20-amd64, so there's some variable here besides the kernel version05:07
gnarfacenow this is starting to ring a bell, like it's been brought up before, but i can't remember what the diagnosis turned out to be05:07
gnarfacethat's a different machine, so the motherboards may be a factor still05:16
systemdleteInteresting because I am also running that on my beowulf box.05:22
systemdleteAnd getting the errors, as root.05:22
systemdleteYou will get different errors running lsusb as root vs a regular user05:22
systemdlete(I've seen that on numerous posts about this issue)05:22
systemdletegnarface: Mine is a Gigabyte board (beowulf box)05:23
systemdleteGA-970A-DS3P05:23
rwpgnarface, All of my runs were as root.  Some were VMs and some were bare metal.05:55
rwpBut two bare metal machines are clean.  One is Beowulf and one is Ceres.05:56
rwpSorry, strike that, I meant to say my bare metal Beowulf system reports the error but the bare metal Ceres machine is clean.05:56
rwpBut as you say they are different motherboards in my case too.05:56
gnarfacethe more i think about it the more i think maybe it is a problem with lspci08:11
gnarfacemaybe sometimes mismatching kernel api features or something08:11
systemdleteIf I install daedelus, I could see if the same problem occurs (kind of like ceres, I'd think)08:33
systemdlete(unless ceres has even more advanced kernels than daedelus)08:33
brocashelmceres and daedalus are still pretty close08:45
systemdletewhat do I need to install ceres?08:45
systemdlete(IN case I decide to do that)08:45
brocashelmto install ceres entirely or just certain packages?08:46
systemdleteWell, enough to make it run anyway08:46
brocashelmfor the former, it's as easy as changing codenames on your sources.list and running apt update, apt dist-upgrade, and apt upgrade in that order08:47
systemdleteThis would only be for some  light testing.  Here, I am interested in the usb subsystem08:47
systemdleteformer=ceres?08:47
brocashelmfor a full ceres install, yes08:47
brocashelmfor the latter (certain packages from ceres), it can be done through some apt pinning stuff, but it's riskier and you might create a frankendevuan08:48
systemdleteso, I could essentially copy my chimaera install and distupgrade it?08:48
brocashelmso if you get anything from daedalus or ceres, you're better off just upgrading to those if the backports aren't doing it for you08:48
systemdlete"frankendevuan" -- I find that is hard to say out loud08:48
brocashelmyeah, as long as you change your codename from chimaera to ceres (only one line needed, so comment out the other repos like security, updates, etc.)08:49
systemdleteWell, I think I'll do a fresh install of daedalus from the ISO of apr 1108:49
systemdleteor08:50
brocashelmyou could do that08:50
systemdletemaybe I'll copy chimaera and upgrade it, idk.08:50
brocashelmbetter to upgrade08:50
systemdleteWhy is it better?08:50
brocashelmas long as you have your backups, you can just reverse it if it doesn't work out08:50
brocashelmsaves time with configs and other things08:51
u-amarsh04As far as flexibility trying out different versions, I've used aptitude with preference for unstable, but testing, stable and experimental available08:51
systemdleteOr, I can just create a partition and copy it and then if I don't like it I can just blow it away.08:51
brocashelmsure08:51
brocashelmyou could do that. copy your chimaera and upgrade that one08:51
systemdleteI mean, a full install only requires about 20g at most08:51
systemdleteI usually move my /home and /var to separate partitions anyway sometime after the install08:52
systemdletethat is, if I think I'll need the space.  I prefer using lvm for all that.08:52
systemdleteSo now we have established many paths.  Thank you for these suggestions.08:52
brocashelmnp08:53
systemdletefrankendevuan.08:53
brocashelmrunning ceres since june 2020 and never had any problems. just know what you're getting yourself into and you'll be fine. apt-listbugs is a useful package for this branch08:53
systemdleteFRANK-n-DEV-wun08:53
systemdleteI guess08:53
brocashelmcurrent kernel for ceres/daedalus is 5.16.18-108:54
systemdleteFor experimental stuff that is probably fine, yes.  But for my personal stuff (banking, etc) I am kind of old and stuffy.  I like the stable releases.08:54
systemdletethat is not too far off from current kernel on chimaera.08:55
brocashelmall down to personal use cases. all my devuans are ceres and that's ok with me ;)08:55
brocashelmbut try it on a separate partition and see if you like it08:55
systemdleteIt's really not a matter of "liking it" per se, for me.  It's more a matter of seeing what it can and can't do, and how it may address some of the issues I have with current releases.08:56
systemdleteI mean, I like devuan, the only distro I really like at this point.08:56
systemdleteThere is adelie, but that seems to be years away from finished product.  But this is getting OT...08:57
systemdleteI don't want to get beaten with a stick here...08:57
brocashelmdepending on what you need it for, i find gaming a lot snappier with ceres08:57
brocashelmbut that could be due to newer video drivers08:57
systemdleteAny word on when debian is releasing next?  I mean, for our daedalus08:58
systemdleteLast I heard was this summer08:58
systemdlete(Iirc)08:58
brocashelmwhatever debian says. this page will tell you when to expect a freeze for testing (hence daedalus): https://release.debian.org/bookworm/freeze_policy.html08:59
brocashelmlts releases are every two years usually and bullseye only came out in august 202109:00
systemdletenow it's jan 2309:00
systemdletejan '2309:00
systemdletesometime after march '2309:01
systemdleteso I have some time yet...09:01
systemdleteI still have some VMs to upgrade09:02
systemdleteok, so I have installed a basic daedalus system on my testbox and I'm adding some packages.  lsusb does not issue errors as regular user or root.  But lsusb -v DOES issue errors for regular user, but not for root.12:10
systemdletefor the regular user, it just bitches that some info may be missing.  Other than that, it looks "clean"12:11
systemdletethe stock kernel for daedalus seems to be 5.16.0-612:12
systemdleteI would up installing daedalus from a thumbdrive.12:14
systemdletefor daedalus, I had to make a change to the sources.list file.   I changed the daedalus-security to just daedalus.   It would not allow me to run apt update otherwise.19:08
golinuxsystemdlete: security and backports repos do not exist for the testing branch currently daedalus20:26
xrogaanThat's intended. Debian's backport and security channels are special, in that they allow in changes to an otherwise frozen system. Testing is constantly changing, so no need for special channels.23:08

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!