libera/#devuan/ Friday, 2023-11-24

systemdleteOK, next beer on me if you can figure this out... lol02:43
systemdleteI've got a daedalus host (not VM) running xfce desktop with a couple of terminals open and one of the connman frontends open.  I switched away to my other PC to do some work then switched back to the PC in question, using a USB switchbox.02:45
systemdleteNow the PC won't accept mouse or keyboard input... but it is NOT frozen!02:46
systemdleteat least not completely02:46
onefangThink it drank too many beers.02:46
systemdleteI have the date and time formatted to include seconds, and those seconds are definitely ticking away, so it can't be that the entire system is frozen (though maybe portions are)02:46
systemdleteonefang, you could be right.  I was unable to watch what it was doing while I was working on the other PC!02:47
systemdleteI tried ctl-alt-bs to see if I could force the desktop to crash down to the console, but that fails.02:48
systemdleteIt seems to be ignoring all input02:48
systemdleteI replaced the main board on this PC in the past week.  I had to do this because the nvidia card I had for it wasn't working well using the nouveau drivers, and I am trying to avoid non-free software (main exception being vbox, but I really don't have many problems with it)02:50
systemdleteso I did not install the proprietary nvidia wares02:50
systemdleteInstead, I installed a mb with video onboard.02:51
systemdleteI suppose I could browse the bios options and see if I can twiddle with its video a bit02:51
systemdleteI'm also wondering if, being it IS a test box for me, maybe it needs a complete reset.  But daedalus was just installed there only a short time ago (maybe a couple of months?)02:54
systemdletegnarface (if you are around), you might like this one:  The onboard video has 4 options in the bios, consisting of 4 different combinations of GFX0, GPP, IGFX, and PCI02:59
systemdleteI'm going to start trying various of these options and see if this lock up problem goes away03:00
u-amarsh04Having two pc's on the LAN and being able to have terminal sessions open between them helps with video lock-up diagnostics03:16
onefangMay have been the source of the problem, one PC was jealous of the other getting quality time with systemdlete,03:24
gnarfacesystemdlete: that's interesting, never seen those 3 of those 4 options... i think ctrl+alt+backspace is disabled by default in software though now days, you have to re-enable it in a config, did you do that already?04:14
rrqsystemdlete: when switching keyboard+mouse away from that host, does that host get any hotplug events? likewise when switch back to it, does it get hotplug events? sounds like keyboard+mouse gets switched into new input streams that don't get registered by Xorg04:36
gnarfacehmm, yea that's come up before with some cheap usb pseudo-win-kvm devices04:41
gnarfacealso a possibility04:41
systemdleterrq, gnarface:  Yes, depending on whether I have a desktop up or not, I can see console messages coming from the switchbox.  But 99.999999% of the time it works fine.06:33
systemdleteonefang:  Believe me, in the past 2 weeks, that test box has gotten far more of my time than I would care to give.06:34
systemdletegnarface, and yeah, I think you are right about the ctl-alt-* family of commands having been disabled in recent years.06:34
systemdleteI'll look at that, thanks.06:35
systemdleteGot another issue, maybe you guys can help me with?06:35
systemdleteA couple of years back, I bought one of these:  https://www.newegg.com/p/0J2-00G2-00019?Item=9SIACJF6J8505606:35
systemdleteIt did not play well with Linux back then, but folks here told me that solid usb 3 support was coming.06:36
systemdleteSo, today I tried to see if those usb 3 ports are there, but sadly, linux does not seem to recognize them.06:36
systemdletelsusb does not list them.  And I don't see anything from lspci either06:37
systemdleteI tried modprobe xhci-pci and it did load, but still no sign of those ports.06:37
systemdlete(yes, I plugged in both the USB block on the mb and attached power to the sata...)06:37
systemdleteI just double-checked my connections by opening up the box and inspecting it.  All looks ok, I... THINK06:38
rrqand the host port plugged into is usb 3.0 ?06:38
systemdlete(yes, I plugged in both the USB block on the mb and attached power to the sata...)06:38
systemdleteUSB BLOCK= that black 20 pin thingy whatever06:39
systemdletesorry if that was not clear06:39
systemdleteapparently, it sips power off the sata chain from the PS06:39
systemdleteand the block connects the USB ports to the mainboard's internal idea of USB306:40
gnarfacehmm, USB3 support did show up but i think later than you'd expect... IIRC the stock beowulf kernel still didn't have it06:40
systemdleteright, gnarface exactly!06:40
systemdletethat was about the time of beowulf.06:40
gnarfaceit seems to work in daedalus though06:41
systemdleteI think it might have been you who told me that USB 3 was coming06:41
systemdletegnarface, with the sort of unit I linked to?06:41
systemdleteActually, you know what.06:41
gnarfacethat, i don't know. i only have one USB3 host device here to test with06:41
systemdleteThis box is still running chimaera, not daedalus06:41
gnarfacei can'06:42
systemdletethere are 2 back panel 3.0 ports06:42
gnarfacei can't be sure the chimaera stock kernel had it either, you might want to try the chimaera-backports kernel06:42
systemdleteand those do not work either.  lsusb doesn't mention any usb 3.0 hubs or ports06:42
gnarfaceall i know is the ones on my motherboard here are working in daedalus, and they were working in ceres before that, i never tested chimaera on this one actually though06:42
systemdletegnarface, thanks.  I'll look, but you know what, I probably should just upgrade the box to daedalus anyway06:42
systemdleteok, very good then.  I want to upgrade my host to daedalus anyway, so I will be oh-so-way-kool like the linux hipster guys06:43
systemdletechimaera is soooo yesterday man06:44
systemdlete(never mind me, just a mood, that's all)06:44
systemdleteI'm punchy due to several nights lost sleep06:44
systemdletetrying to sort out various problems here with various systems06:44
systemdletegnarface, one thing.06:45
gnarfaceif daedalus doesn't make the usb3 ports show up, maybe look into module or kernel parameters06:45
gnarfacei never had to resort to them for this but there may be some relevant ones to certain hardware06:45
systemdletewhen I tried the unit originally (maybe on beowulf, idr now), it ended up causing some really erratic behavior in the system.  So I disconnected the unit for the longest time.06:45
systemdleteI checked to see if I might be missing some sort of usb 3 firmware, but I did not see anything that seemed relevant06:46
systemdletealso, your suggestion that I might have a power problem with some of the USB devices could be supported--I am noticing messages from the kernel about power cycling06:47
systemdleteI don't know if that is normal, or if that is an actual fault06:48
systemdletethis is re: the enumeration issue06:49
gnarfacei can't be sure, but some of the things you were complaining about a day or two ago looked distinctly like one of those power management bugs i have on another board where the kernel developers and the BIOS developers both point the blame at the other one and the only recourse is to just disable the feature06:53
gnarfacebut... that said, it also looks a lot like something that just appeared in the dmesg of this machine just a moment ago, which i suspect has an actually failing power supply06:54
gnarfaceunfortunately there doesn't seem to be a good way to distinguish between those two problems without waiting for something to actually burn out as evidence06:55
systemdletewell, I could replace the PS on this box, as I have an extra new one06:56
systemdlete(power management! yeah!)06:56
gnarfaceis it old? i was doing the math on this one and i think it's over 10 years now, so it's due06:56
systemdleteeh... let's see06:56
systemdleteThe last time I rebuilt this box was about (I think) 5 or 6 years ago06:57
systemdleteI don't recall replacing the PS since then06:57
systemdleteAnd06:57
gnarfacealso, if it's good but just rated too low for the combination of things that you've plugged into it, that also would be indistinguishable from an actual hardware failure case or a bios bug related to the power management...06:57
systemdleteI happen to have in my possession, amongst the many hardware diagnostic tools I have acquired in the past year or so, a PS tester!06:57
gnarface(at least just with the crude understanding of the data i have - an actual kernel developer might be able to narrow it down better)06:57
systemdleteI've thought of that06:57
gnarfaceyea, try the PS tester if you've got one06:58
systemdletewell there are sites (like power utility companies) you can enter info about your PC or PCs and they tell you about how much power they would consume06:58
systemdletenot sure how accurate they are though06:58
gnarfaceif this one is really over 10 years old i think that'll be the longest one has ever lasted for me06:58
systemdletesome web posts claim those sites are not reliable06:58
systemdletegnarface, maybe the longest I've ever heard of anyone's PS lasting06:59
gnarfacesomewhat ironically, if you leave them on the whole time they last longer06:59
gnarfacei've got very good data on that06:59
systemdleteI state a claim, and I'm sticking with it:  EVer since I stopped shutting down my computers at night, my mainboards, power supplies, and disks are lasting incredibly long times07:00
systemdleteYES07:00
systemdleteexactly what you are saying07:00
systemdleteMy understanding is that the constant cooldown-warmup cycling puts wear on components.  Steady temps, even if rather hot, are actually better for componenets it seems07:00
systemdlete(sorry on spelling)07:01
systemdleteIt makes sense to me07:01
systemdleteOTOH, maybe components, even the crap ones coming from a certain nation the west has become dangerously dependent upon,07:01
systemdleteare starting to improve in quality07:01
systemdleteor maybe both are factors07:02
systemdleteeither way, I'm happy07:02
systemdletegnarface, Yeah, I see that lsusb on daedalus definitely shows usb 3 hubs07:13
gnarfaceah, good to know07:15
gnarfacei forget exactly when usb3 support actually went into the kernel, but i remember being surprised at how late it was, but i had already been running ceres on this one for some time before that, and sid even before that, so the actual transition point is vague to me07:16
gnarface(i backtracked to daedalus during the freeze)07:16
systemdletegnarface, I booted into the bios, and sure enough I needed to enable usb 3.0.  So I did that and rebooted, but now only lspci sees the hub, but not lsusb08:08
systemdleteAND08:09
systemdleteI note that none of the mb's I have here support 4 USB3.0 headers, only 2 USB3.0.08:09
systemdleteSo I am thinking, maybe it makes more sense to get a pci card with some USB3.0 ports08:09
systemdleteof course, all of these mb's come with 2 usb 3.0 ports on the back panel.08:10
systemdleteI am wondering if having that front header connected might be interfering with lsusb seeing the ports08:11
systemdletewe'll only know after I upgrade to deadalus I guess08:13
yuurisystemdlete, gnarface: speaking of component longevity correlated to shutdowns, where do sleep states belong in there08:15
systemdleteyuuri, that's a really good question!08:15
systemdleteWell, I woud think that suspend to ram would impact differently than full sleep (where the machine is actually shut off, fans turn off, etc)08:16
systemdleteBut I really don't know a whole lot about sleep states--I've only STARTED using these very recently, and I hesitate a lot because I really don't want to cut the power for exactly the reasons we are talking about here.08:17
systemdleteI'm not saying it's a bad thing to shut off the machine.08:17
systemdleteBut if gnarface's and my own experiences tell a story, it seems to work08:18
systemdleteyuuri, what has been your own experience with this topic?  Have you observed any notable savings in component wear?08:19
yuurinot sure, I'm a simple consumer so haven't got to measure such things08:19
yuuriand I used to turn off my PC every day when I was using Windows08:20
systemdleteso you tend to shut down your equipment when not in use08:20
yuuriwell, used to08:20
systemdleteright08:20
onefangI tend to leave my main desktop running all the time.  Last time I built anew one the old ten year old one died after I had left it off for a few days coz the new one was working fine.  Think it's the PSU.08:20
systemdletecould be, onefang08:21
onefangIt was like "OMG he doesn't love me any more, he loves that new bitch more I'm gonna sulk".08:21
yuuriaside from reboots (my desktop is running Void) my uptime is only affected by blackouts/brownouts08:22
onefangExactly.08:22
yuuricomputers are affectionable08:22
systemdletedo you guys plug into a UPS?08:23
yuuridon't have one08:23
systemdleteThey are not terribly expensive for the cheapest ones.08:23
systemdleteI don't use them so I can keep my PCs running through a blackout or brownout.08:23
systemdleteI use the UPS to keep the power clean--that can damage equipment also when the utility power dips and spikes08:24
systemdleteIt's worth having for a few dollars08:24
systemdlete(or whatever currency you use)08:24
onefangI've been thinking of getting one for ages.  lol08:24
yuurisame08:24
systemdletedo08:24
gnarfacehighly recommended08:24
systemdleteI think that may also be a contributing factor, now that I think of it.08:24
onefangBut I wouldn't want a cheap one, and I'm on a pension.08:24
gnarfaceyuuri: dunno really about sleep, i would assume it puts it somewhere inbetween, but it probably also really depends on the duty cycles at that point08:25
yuurinow speaking of wear, I saw a post on HN that expressed a wish for manufacturers to limit their lithium batteries at 80% capacity so that they don't get damage from overcharge08:25
yuuriincreasing the longevity a significant amount08:25
onefangI do that to my phone batteries.08:25
systemdleteSo possible causes of longer component life:   (1) leaving equipment on 24x7, (2) better, sturdier hardware coming out of China and elsewhere, and (3) UPS preventing spkes and drops08:25
onefangKeep them between 40% and 80%.08:25
gnarfacei'd heard 25% and 85%08:26
gnarfacefor batteries, operating temps matter though too08:26
gnarfacesome devices just run hotter08:26
onefangLikely depends on all sorts of things.08:26
onefangAnd we are well off topic.  lol08:26
yuurishould I join the offtopic channel? :)08:27
systemdleteI don't know.  Discussing best practices for running Linux seems related08:27
systemdletebut yeah, we probably should move over there08:28
* systemdlete is in OT now, hoping gnarface and onefang and others will join there to continue this08:41
eyalrozHello devuaners :-)16:09
eyalrozIs someone proficient with py2dsp ?16:09
gnarfaceit's usually a better idea to just ask the actual question16:10
gnarfacethen stay connected in case anyone answers later16:10
gnarfacei mean, nobody takes bait like that, certainly you know this?16:11
eyalrozgnarface: So, py2dsp gives me:16:14
eyalrozW: py2dsp cache:67: cannot load cache (_load_package_names:():{}): unpackb() got an16:14
eyalrozunexpected keyword argument 'encoding'16:14
eyalrozE: py2dsp py2dsp:172: 'build-system'16:14
eyalroz... when I try to build a package (named gdown). I don't understand what these errors are about and what I can do with them.16:14
gnarfacewhich devuan release?16:15
gnarfaceeyalroz: ^16:30
eyalrozgnarface: excalibur16:30
eyalrozbut maybe I should try an apt-get dist-upgrade first16:31
gnarfaceboth py2dsp and gdown source here are not in the devuan repos?16:32
eyalrozgdown is not in the devuan repos16:32
eyalroz... and it looks like py2dsp isn't, either. I was sure it was16:33
gnarfacedo you think maybe... it just can't read the cache?16:35
eyalrozgnarface: I don't know where that cache is; and why won't it be able to read its cache? I'm not stopping it :-(16:37
eyalrozAnyway, since it's not a proper Debian package, I guess I'll ask the developer16:41
gnarfaceeyalroz: it's probably just missing some other dependency16:42
eyalrozgnarface: ... and I'll gladly oblige it, if it only told me what it was missing16:42
gnarfaceunexpected keyword argument 'encoding'16:42
gnarfacethat might be a clue ^16:42
eyalrozOh, it looks like it _is_ in a Debian package: pypi2deb16:43
gnarfaceah16:43
gnarfaceyou know that in general, build dependencies are in packages named *-dev, right?16:44
eyalrozOk, someone beat me to it: https://bugs.debian.org/103384116:44
gnarfaceah16:44
Guest4445How move files to subdirectores back based on a duplicate parent folder with same subdirs?19:56
eyalrozBy the way, if I'm already here... has there been any change recently on the Debian front w.r.t. systemd? i.e. have they done anything to make it possible to choose to not-have it, e.g. during installation? Or are they completely static about their choice of sticking by it?19:58

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