libera/#devuan/ Thursday, 2024-05-16

onefangrepo.jing.rocks can be a tiny bit unreliable, but not very often.  I get emails about it from apt-panopticon.  Right now I need to fix apt-panopticon itself, then put the Indian instance back, now that it's done moving.02:05
onefangapt-panopticon is fixed now.  B-)02:42
nomiagnarface: (: thx but i don't think i want to solder this thing06:19
gnarfacenomia: you don't have to solder anything, i do this all the time with other arm boards. you just wrap the wires around the post or get some hook clips or something like that06:30
gnarfacethe other end you attach to a usb adapter06:30
gnarfacesomething like a ft232r06:31
gnarfaceft2322rl?06:33
nomiai don't think i have a usb adapter for serial06:35
gnarfaceyea, that's the part you need to get06:35
gnarfacesomething like this, but you can probably find something cheaper: https://www.sparkfun.com/products/1273106:36
gnarfaceusually you just need any 3.3v serial to usb adapter06:36
gnarfaceanyway, there's a couple more steps to it than just plugging it in but i'm pretty sure i could walk you through them if you can at least find the right pins06:38
nomiak06:47
nomiai see the pins and i think i can connect to them right thru the case if i have the right adapter06:50
cousin_luigiplasma41: Yeah, I suppose I'll have to do it from ifupdown07:03
rwpnomia, The confusing thing for installing on a Pi is that one needs to select the correct two images, then concatenate them together, then boot the resulting image from an SD card.07:45
gnarfacerwp: we think that part is covered successfully, and it's actually booting but the display just isn't working07:46
rwpgnarface, I actually transferred here from another channel where nomia asked me a question about it earlier.  That's why I jumped in here with that.07:47
rwpThe HDMI output is not displaying?  Not even the initial power on part?07:48
nomianot for devuan07:55
nomiafor older armbian dostro's it boots and then the display goes off07:55
nomiafor devuan it never even turns the display on07:56
nomia(: right now i am playing with madness07:56
nomiai can't read the tiny text in video so i am trying to catch the screen in a photo07:57
nomia(: it's like trying to catch a cat doing something cute07:57
nomia500 blurry photos and 500 photos of a black screen 1 second too late07:57
nomiai am going to try making the room as dark as possible07:59
rwpBefore Devuan boots is not Devuan but the boot firmware on the Pi.  If it isn't showing anything then somethings wrong with the pi itself.08:02
onefangMight help if this conversation wasn't spread across two channels.08:06
rwpWhat's the other channel?  Hasn't it converged here?08:08
onefang#devuan-arm has the other half of the conversation.08:13
rustyaxeIf its coming up on the network, ssh in and take a look?08:18
nomiait reboots so fast i didn't even bother plugging in the network08:20
avir327nomia: The logs should be accessible, when you mount the SD Card at another computer. And another thing: Do you have a sufficiently strong / stable power supply? This had been causing a lot of issues for me, especially when having additional periphery connected.08:31
nomiai think so08:34
nomiai am using a big hp 5.1 v supply that can run a raspberry pi 308:35
rrqis overwriting mmcblk0 fine on that device? I bricked my arm device doing that ... (it got some key store messed up)08:39
nomiaidk08:40
nomiai try to let it run a long time before i turn off the power08:41
nomiain case it is doing stuff08:41
nomiai am trying to get this huge video file off my phone in case i can zoom in enuf to read the boot msgs08:42
systemdletetrying to write a rules file for a couple of usb devices.  I am working off https://wiki.debian.org/apcupsd, but maybe it is out of date, idk.09:53
systemdletewhen I run udevadm control --reload, and then run the 2 invocations of trigger, no new device files show up anywhere under /dev.09:53
systemdleteobviously, I am doing something wrong, but I have no idea what.09:54
systemdleteSo I found this (helpful...) guide:  https://www.gilesorr.com/blog/udev-basics.html09:54
systemdletebut I'm not seeing any output in the RUN= log file.09:54
systemdletethe object is to create 2 unique device files, one for each usb device (UPS's, if you must know)09:55
systemdleteI was able to get this working a whiles ago, maybe 5-10 years ago, with the support of a friendly person in the centos channel.09:57
* systemdlete always thought one of the guiding principles of *nix was "if it ain't broken, don't break it."09:57
systemdleteApparently, at least some of the rules for writing rules files have changed.  Maybe not recently, but at some points.09:58
rrqthere's "udevadm info" stuff when the daemon is started?10:00
systemdleteI don't know.  I haven't tried restarting the daemon.  Only reload.10:00
systemdleteI will try that, though.10:01
rrqmmm hould be there when the usb is plugged in10:01
systemdleteoh.10:02
systemdletewell, I haven't actually gone so far as doing that.10:02
systemdletehow do I restart udev daemon?  there is no /etc/init.d script I can see...10:02
rrq"service eudev restart"10:03
systemdleteoh that's right. It got renamed; forgot about that.10:03
systemdleteIt restarts quietly.  Perhaps you mean messages in syslog?10:04
systemdleteno logs updated in /var/log10:05
rrqI referred to the "udevadm info" commands from that wiki page, in "Determine the serial numbers..."10:05
systemdleteoh10:05
systemdleteyes, plenty of output10:06
systemdletethat was never an issue, just fyi10:06
rrqthat info should be handled by the "generic" rules10:06
rrqyou want other ruls that RUN something?10:07
systemdleteThe output is similar, although the manufacturer is different10:07
systemdlete<systemdlete> the object is to create 2 unique device files, one for each usb device10:07
systemdleteso, e.g., maybe /dev/usb/ups-1 and /dev/usb/ups-210:08
rrqyou mean symlinks like in the example?10:08
systemdleteright10:08
systemdletelet me show you my rules file10:08
rrqyes10:09
systemdletehttps://dpaste.com/FSVCXLT9P10:09
systemdleteKeep in mind, I've been testing things here, so the file doesn't always look like that10:09
systemdleteI commented out the 2 lines that are supposed to look like the example on the wiki page10:10
systemdletecrap10:10
systemdletethat isn't even how it looks now...10:10
systemdletehold on10:10
systemdletewell, for now, just ignore the last line.  Imagine the first 2 lines are uncommented.10:11
systemdletethat is as close as I could make it look for my scenario10:12
rrqok.. note that ATTR(blah) refers to an attribute of the exact tree node, whereas ATTRS(blah) refers to all attributes following the parent chain10:12
rrqthe wiki page uses ATTRS10:12
systemdleteright, exactly...10:12
systemdleteso the exact tree node (first one in output of udevadmin output)10:13
systemdletematches the values I am giving10:13
systemdleteso I used ATTR, is that right?10:13
rrqmmm usually safer to use ATTRS ... it was a while since I messed with this though10:15
systemdleteok, I've tried it that way also.  no love10:15
systemdleteand also, there seems to be 2 spaces at the end of the serial numbers.  So I tried including the spaces for the matching.10:16
systemdletestill, nothing...10:16
systemdleteI tried attr/attrs with spaces/nospaces (all 4 combos) and none worked10:16
systemdleteso then, I tried playing with the matching by using that guide I found (where they suggest using a RUN= thingy)10:17
rrqthe links are set up relative /dev/ (if they work)10:17
systemdletefind /dev -name 'ups-*' shows nothing10:18
systemdleteAnd those "-v" options to the trigger commands do nothing special, either.10:19
nomiastupid systemd10:21
nomiaroot@nomia:/mnt/sdcard/var/log/journal10:21
nomia$ ls -All10:21
nomiatotal 010:21
systemdleterrq: Should I be including the spaces at the end of the serial numbers?  Seems safer to do so10:22
systemdletethat way they should exactly match, I'd think10:22
rrqprobably not, but use a * as wildcard jic10:22
systemdletecan I do that?10:22
nomiaavir327: do u know another place to look for systemd logs?10:23
rrqsystemdlete: yes wilcard is allowed10:23
systemdletewow10:23
systemdletehttps://dpaste.com/9AFLHGKLC10:24
systemdletesee if this is better?10:24
systemdletejust tried it again with ATTR= instead of ATTRS= (hey, I'm just trying diff things)10:25
rrqare there other links set for these devices?10:27
systemdletewell, there's a couple of hiddev files in /dev/usb10:27
systemdleteI think one is for mouse and other for keyboard, but I'm not really sure10:27
rrq(I think udev is an awfully difficult programming language)10:29
systemdleteno disagreement here10:29
rrqhave you tried naming the file 10-... to make it early and/or 99-... to make it late?10:30
systemdleteno... there are only 2 rules files in the directory10:31
systemdleteor do these get intermixed with the ones in /lib/udev/lib/rules.d?10:31
rrqyes those are combined with all rules files10:31
systemdleteand sorted together?10:31
rrqand /etc/.. names shadow same-named /lib/.. ones10:32
* rrq needs to drop off here ..10:33
systemdleteI moved my file to 99-ups.rules10:33
systemdleteno difference though. ok, thanks10:33
systemdletehave a good day/night/morning/afternoon/holiday/vacation/whatever10:33
systemdleteappreciate your help, as always10:34
avir327nomia: No, I actually never had to offline-access systemd logs. Did you look for /var/log/messages? Not sure, but it might be still there for backward compatibility.10:48
nomiaavir327: no /var/log/messages in systemd11:30
nomiabut i found out that armbian will boot in rescue mode if i edit the symlinks11:31
nomiai had to edit /etc/shadow to set a passwd11:31
* rrq back11:48
djphheyo rrq11:48
rrqsystemdlete: check "udevadm test /devices/pci0000:00/0000:00:14.0/usb1/1-2 ... though with your "pathname" ... it might give somehting11:50
systemdletewith the udevadm test, it created the device file!12:34
systemdleterrq:  In fact, I can see udevadm test creating the device symlink12:36
systemdleteI know I should not need to do this, but I am thinking of rebooting.12:48
systemdleteI will try that... bbs12:48
coresI'm using XFCE, and I think my system is going into suspend after 6 hours because of this setting https://ibb.co/Tk76hbd is that true and how can I stop it? Thanks.16:02
unixman_homecores, it's been a while since I ran XFCE, but I will try to assist. that looks like it may be the [On Battery] power setting. Are you on battery when this happens? What are the options in the drop down? What does the [Plugged in] setting look like?16:18
coresunixman_home: that was the plugged in setting. here is the battery setting https://ibb.co/52dNk6R16:22
coresthe real problem is my system doesn't seem to be waking from suspend. i can deal with that later but for now I'm trying to stop the system from going into suspend in the first place16:23
unixman_homeWhat are the other options in the drop down?16:33
unixman_homeI seem to recall that [Plugged in] power management would be disabled if the slider were all the way to the left. But I don't have a XFCE box to test that with at this point.16:35
coresThere are only two options in that drop down: Suspend and Hibernate16:36
unixman_homeOkay. Anyway, time for me to login for work. Good luck.16:36
mathewHi, after some time my bluetooth mouse is stuttering in devuan kde. If i turn it off and on again it works again. I did try two diffrent bluetooth models and they behave similar, so I started to think about some software / driver issue? Which logs should i check?19:05
watoHello everyone. My system is currently with 500mb of ram free and swap is full. Im checking the processes with btrop, but the top process by memory usage is only using 400mb. Is there a more precise way of checking memory usage?19:40
watoI have 32gb ram, and almost all of it is full.19:41
coresbtrop? you mean btop?19:49
rwpIf any web browser is running that's my first goto suspect.  I don't even think twice.  I kill the web browser and that's almost always the culprit.19:52
watobtop yes19:52
watoI killed the browser and it was the same19:52
watowait19:52
watoit was tidal-hifi19:53
wato-.-19:53
rwpWhat's tidal-hifi?19:53
watoIts a chromium app19:53
watoi still have high memory usage, it went down from 31 to 1819:54
rwpI also run htop, then sort by virtual memory size, and sort by resident set size.  That identifies memory hog processes too.19:54
watoon it19:54
watoWhat is Resident size?19:55
rwpVirtual memory size is the entire memory space allocated to a process.  RSS Resident Set Size is the memory that is resident in RAM and not on swap.19:55
watoI see19:56
watonothing out of the ordinary19:57
watosystem is at 16gb ram usage with only konversation running19:57
rwpTotal virtual size used to be a good indicator.  But Linux memory overcommit means that some programs, I am looking at you Java, and some programmers, also eyeing Java programmers, will "pre-allocate" HUGE amounts of memory.  That's a malloc().  But it isn't actually allocated.  Not until copy on write causes it to exist.19:57
watothat explains a lot19:57
rwpWith linux memory overcommit malloc() and fork() never fail.  Regardless of how much memory is actually available.19:58
watoi have 10 processes of "Xorg -nolisten tcp:0 vt1 -keeptty - auth /tmp/serverauth.HzlHkcw826 " using 125M each19:58
watowait19:59
wato922M each in virtual memory19:59
wato125M in resident19:59
rwpBut then later as programs want to modify memory accessing any of those memory pages causes a normal memory trap on the not yet allocated page.  The kernel allocates it.  If it can.  If the kernel can't actually allocate memory at the time it is need then it calls the OOM out of memory killer.19:59
Wonkarwp: until someone tries to use the memory and the OOMNomNom attacks...19:59
rwpAre you possibly seeing threads of a single process?  You probably only should have one X server running.  Though I am running two concurrently here, I'm a little odd that way.20:00
rwpIn htop threads can be hidden with 'H'.20:00
watoindeed20:01
watoSorry for my noobie mistake20:01
rwpThe problem I have with the OOM Killer is that it is effectively a kill -9 without giving the process any way to clean up temporary files or to log the occurance in any way.  Just "poof!"  The proces is removed from the os run queue and vanishes.20:01
watoIf that is the case20:02
watoon a reboot the memory usage should come back to normal?20:02
watoi'm not even sure if my system uses this much ram without doing nothing20:02
rwpYes of course.  Because a reboot has killed everything.20:02
watoCould Smart Access Memory have anything to do with this?20:03
rwpSorry but I am timeslicing here with stuff in real life.  And I don't know what Smart Access Memory is.20:03
watoOh no worries20:04
fsmithredneither do I, but I'm suspicious of any dumb things that call themselves smart.20:04
watofsmithred: haha20:04
watoIs a technology by AMD that allows the CPU to access directly de GPU memory20:05
watothe* GPU memory*20:05
watoI will reboot and check if this ammount memory usage is still on20:05
watolol, only 1gb of memory usage20:07
watosomething was definetly wrong20:07
djphrwp: as opposed to being nice, and letting that bad process scrap the entire machine ... s'pose there's a balance-point somewhere, but I'm certainly not good enough to express it20:08
djph"Smart Access Memory(tm)" is basically AMD's implementation of shared system/video RAM (i.e. "we're gonna cheap out and make it sound cool, lol")20:09
watorwp: If it happens again i will come back with more evidence. Thank you for the insight on memory usage and htop.20:09
rwpSo is that where the GPU does not have dedicated video memory but steals memory from the system RAM?20:09
rwpJFTR but things don't just happen out of control normally.  It's only normal for web browsers to take over my machine consuming all memory.  But...  Last time I had that happen to me I started closing browser tabs and counting.  I had 160 browser tabs open.20:11
* rwp hangs my head in shame20:11
watorwp: omg, how do you even get to that point20:12
djphrwp: I believe so, yes.  Unless I'm getting my "stupid things that sound good for you" wrong again :)20:12
rwpSlowly.  Very slowly.  One tab at a time.  And the browsers are vary good about restoring the session after a reboot.20:12
rwpSome systems do have GPUs without RAM using system RAM.  That's been a thing forever.  But (wato don't listen) that's a very low end cheapo system thing.  It's terrible all around.  I have always avoided it.20:13
watodjph: Nvidia calls it "Resizable BAR"20:13
coresrwp: can you report that to Tidal?20:14
watoI think that the technology is more like CPU being able to pull data from Disk into VRAM without the need to loading to system memory first20:15
rwpReal life calls me away...20:15
djphwato: nope, that's "DMA".20:17
djphThis one seems to allow messing with the PCIe Base Address Registry ... who knows anymore20:18
djphoh, that's just the graphics apeture.20:18
watodjph: you are right!20:19
djphJFC, needing 6 different searches to get to the bottom of it without all the "herpaderp turn it on and get 90 billion FPS for free!" morons :(20:20
watohahaha20:20
watoIt doesnt even help that much20:20
watoAnd some games even runs a few fps lower20:20
siewcawato: How many usage memory are buffers in your case?20:53
_ds_FWIW, radv has a switch for enabling some resized BAR optimisations: “RADV_PERFTEST=sam”20:53
_ds_(probably doesn't make much difference)20:53
systemdleterrq:  I found that rebooting did help--the devices did get created upon bootup.  And I am aware that reboot should not be necessary.  But somehow, there is something not working with attempting to update /dev without rebooting.21:38
systemdleteI was able to follow the rest of the instructions on that page, and I now have 2 distinct instances of apcupsd running.  Thank you for your help.21:39
systemdleteOne thing I note, and I think I recall this issue from waaay back when all of this worked without issue:  One of the devices specifies the manufacturer as "APC" and the other as "American Power Conversion" -- not a big deal, but it took me several attempts to realize it.21:42
systemdleteI could likely have done without that parameter altogether, since the vendor and product ids are probably sufficient to distinguish them21:42
systemdleteOn to my next question:  I am noticing that thunderbird always comes up with the calendar tab open.  I do use the calendar function of tbird in some environments, but not in others.  It is a bit annoying to have to force the tab closed upon starting it each time.21:44
systemdleteThis is only a recent phenom, one more in the series of never-ending tweaks to the UI, most of which I could have survived without.21:45
systemdleteAnyone know how to disable the calendar?  I've looked through the about:config options and don't see anything that seems relevant, but then again, when I say I looked I mean skimmed.  There are a buttload of options, even when filtering.21:47
data41201systemdelete: On the toolbar  then  Add-ons and disable lightning in the extensions section - https://support.mozilla.org/de/questions/107527522:19
systemdletedata41201, where is the "toolbar?"  The navbar on the left?22:21
systemdleteI had the toolbar disabled (default now).  I go to add-ons, but there is nowhere to disable lightning.  Some of the hits I got from ddg searching say that lightning is integrated with tbird these days.22:24
systemdlete(btw, I am running tbird 115.10.1)22:25
data41201I don't currently have Thunderbird installed. I just remembered that the calendar was called "Lightning" and you could deactivate the addon.22:33
systemdletecould, as in past tense apparently.  They continually change the UI, not necessarily because it's necessary.22:34
systemdleteSo, I appreciate your help, but I think I might have to file a bug on this.22:34
systemdlete(unless you find something I've done wrong here)22:35
data41201systemdlete: As I said, I'm no TB expert. I just remembered how it used to be. Im using ncal :-)22:45
systemdletedata41201, what are you using for email?22:59
gnarfacehmm, i'm pretty sure there's a way to keep it from opening the calendar panel every time, but i forget what i did...23:00
onefangI've recently woken up and reading the backlog.  Thanks for pointing to btop, looks useful.23:25
data41201systemdlete: I have been using Alpine for a few years and a few weeks ago I switched to Mutt.23:26
Paprika_hi bit of a noob question but how do I disable a service in sysvinit like I would with systemd?23:27
onefangAs for Linux over committing, that might explain this one program I tried that always failed to allocate enough memory on start up and fell over.  On my 256 GB super desktop, with most of that free.  I have five similar programs that do the same job, they work fine.23:28
phoggPaprika_: to make it not start on boot you rm the S symlink from /etc/rc?.d/ where ? is your runlevel. You can use update-rc.d to do this for all runlevels e.g.: update-rc.d -f service-name remove23:28
phoggPaprika_: systemd has more than one kind of disabled, so it doesn't map one-to-one23:29
Paprika_ah thanks23:29
Paprika_yeah I'm trying to figure out how to stop tor from starting on boot23:29
gnarfacePaprika_, phogg: sysv-rc-conf will also manage the symlinks but is probably easier to use for noobs23:30
phogggnarface: fair enough, but I am not so familiar with it23:30
Paprika_is there a command to see what runlevel it is? sudo system <service> status doesn't tell me23:30
phoggPaprika_: yes: runlevel23:30
phoggit should be 2 unless you changed it23:31
gnarfacePaprika_: debian derivatives use #2 for everything, it's not like RedHat's stuff23:31
Paprika_yes thanks that did the trick :)23:31
Paprika_brb rebooting to see if it worked ;D23:31
phoggred had gave specific meanings to each runlevel and then systemd's runlevel-to-target logic hard coded those23:31
phoggs/had/hat/23:32
onefangAs for excess browser tabs, I used to wonder about people that have over 100 open.  Now I use Simple Tab Groups, to manage dozens of groups, some of them with over 500 tabs, though typically only a few dozen tabs open at one time.23:32
data41201Paprika_: sudo update-rc.d tor disable23:32
Paprika_all good :)23:33
Paprika_thanks!23:33
onefangFor email I use neomutt, but the one from ASCII, coz later versions have a "let's mark random emails for deletion" bug.23:36
onefangAll caught up!23:37
gnarfacesystemdlete: this is all i can come up with for disabling the calendar, and all i can remember having to do: https://support.mozilla.org/kn/questions/137446123:38
gnarface(the panel is still accessible, but it's not open by default anymore)23:38
gnarfaceif it's not "sticking" then maybe it's a bug in your version of thunderbird, i'm just using the one from daedalus23:39
data41201I use the normal Mutt. So far I have not noticed any errors. Alpine looks tidier and you can make almost all the settings in the program itself. Linus Torvalds allegedly uses Alpine.23:46

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