libera/#devuan/ Wednesday, 2024-06-12

nemo"get result error" ?  weird00:06
onefangThat was copy pasted from the VM's serial console.00:09
onefangThe rebuilt VM is behaving now.  Probably just my RAM gremlim got stuck in the old RAM disk.00:10
* onefang goes back to actual testing.00:10
onefangIf the kernel actually DID detect a floppy drive, it would turn up as /dev/fd0 correct?  Been a very long time since I've even seen one.  Maybe qemu provides a floppy by default?00:15
gnarfacedoes it? i didn't think so, but virt-manager might00:16
gnarfacei was gonna say, it should be easy to just not enable floppies in the first place00:17
gnarfacethere's no reason a VM would need one00:17
gnarfaceand yes, /dev/fd*00:17
gnarfaceat least, i thought00:17
Errandirmy guess is on 386 it would provide a floppy but on x86_64 it wouldn't.00:18
gnarfacebeen a while since i used one00:18
onefangI don't even install that virt stuff, I just script qemu directly, and yep I don't tell it to add a floppy drive.00:20
gnarfaceeh, see what happens if you explicitly say no floppy then00:22
gnarfacethere might be a way to disable it at the kernel command-line too i think...00:22
onefangWell the VM rebuild resulted in no floppy driver crash, so I'll just blame the RAM gremlin and move on.00:23
onefangNo /dev/fd* turned up in the VM.00:23
rrqhttps://www.qemu.org/docs/master/system/i386/pc.html00:24
onefangMy next test is to see if I can get qemu to allocate all the RAM at start up, then see if I can divide and conquer this RAM gremlin.  128 GB real RAM VM coming up!  B-)00:24
onefangOdd.  I tell qemu to create a temporary file in /media/RAM, which is a RAM disk, then to use that as a backing store for RAM, and to preallocate it.  Seems to be the only way to preallocate RAM.  But there's no file in /media/RAM, qemu actually allocates the requested RAM (doesn't otherwise), AND requests that amount of cache as well.  So no 128 GB VM.  lol01:13
* onefang fiddles more.01:13
leitzShould I be able to find mpstat, pidstat, iostat, and sar on my devuan box?01:15
masonleitz: apt-file search bin/sar01:18
leitzmason, oddly, my system didn't have apt-file. However, "apt search mpstat" returned sysstat, which has everything and is now installed. Thanks!01:21
masonleitz: It's not a core utility, but it's hugely useful. If you install it, make sure to "apt-file update" before using it.01:22
gnarfaceonefang: i always just specified a static amount of ram on the command-line, never had problems with it that required extra work to "preallocate" ... i avoid the balloon driver though01:22
masonIn short, if you don't know what package includes something, you can search with apt-file and find the right package(s) without knowing anything beyond the binary name in advance.01:22
onefangAh, the qemu man page lies.  I can use the -mem-prealloc optian WITHOUT the -mem-path option, then it preallocates the memory and doesn't fill up cache as wel.01:23
onefangI'm preallocating half my memory to the VM so I can try to divide and conquer my RAM gremlin.  See if I can get it to move to the VM and not screw with the host.01:24
onefangBut yeah normally I just "-m 32G" or whatever and don't preallocate.  Coz just like every other computer I have use with an enormous amount of RAM, if I give the VM 128 GB, it takes a long time before the BIOS even shows.01:25
onefangSo right now I'm running a qemu VM with 128 GB of RAM preallocated.  Let's give it some work to do.  B-)01:27
gnarfacequake server?01:28
onefangIt's a test VM of my Devuan install script.  I did recently start adding games to it, so I have something to do to actually test it.  Writing your own Freeciz ruleset is very addictive.01:29
onefangSo now I can leave it running, with half my RAM, test lots of stuff on it, play my current fave game on it while I'm not doing anything else, and try out all those other things I normally do that tend to trip the RAM gremlin.  Try them on both host and guest, see if RAM gremlin hits one, or the other, or both.01:32
leitzonefang, is that "FreeCiv"?01:36
rrqonefang: are you able to define which particular memory regions to use for qemu?01:38
onefangOops, yep, FreeciV not FreeciZ.  Typo.01:39
onefangYou can do some complicated NUMA memory stuff for qemu, that's over the top for my usage at the moment.01:40
rrqmmm apparently one can (possibly) direct tmpfs to specific regions... you could go that way and offer the tmpfs regions as disks to do write/read load tests in01:43
onefangFor now I'm happy with "VM can use half the memory preallocated, leave it running and test it a lot with the various things I do normally" which is what I'm up to with my current major rewrite of this install script.01:46
onefangSo if the gremlin moves to which ever half has been preallocated to this long running VM, then I can spend time trying to track it down better.  If not, I can pre-allocate before doing anything else after rebooting the host.  There is a method behind this prealocation in a long running VM madness.01:49
leitzonefang, I hate you! I'm supposed to be job searching, not finding out about a game...01:50
onefangJob search with a game company.  B-)01:51
AlexLikeRockhi02:05
AlexLikeRockdudes02:05
AlexLikeRockhow are you ?02:05
golinuxAlex03:23
golinuxoops . . . he's gone03:23
systemdleteI don't have a lot to report about the apt-cacher-ng issue, but I did notice someething rather interesting upon rebooting the server running the cacher just a few minutes ago.12:42
systemdleteUpon logging into the server,it ran slow, took several minutes to get a login prompt.12:42
systemdleteAnd I noticed that my network monitor was getting errors when trying to check for package updates on various systems.  They were all complaining about the host and port, as usual.12:43
systemdleteSo I decided to run lsof on the port apt-cacher-ng listens to12:44
systemdleteport 3142, and here was the output (using dpaste now):   dpaste:557FBEFA12:45
systemdleteI restarted the cacher and voila!  Everything was peaceful again and I could run apt update without trouble.12:46
* systemdlete knows that gnarface prefers dpaste, and it is simple enough to use12:47
systemdlete(and yes, that's all obfuscated, but just the names of the innocent)12:48
CueXXIIIuh, i get free(): double free detected in tcache 2; Aborted from dpaste in unstable…12:59
systemdleteCueXXIII, do you mean when you use -g ?13:00
systemdleteI just did it here, to check, and it comes back safe and sound.13:00
systemdleteno errors or warnings13:00
systemdleteI'm on daedalus, using stable13:01
CueXXIIIyes, but posting a test message fails with the same error13:01
systemdleteoh13:01
systemdletemust be a problem with unstable then?13:01
systemdleteI can post it to another pastebin, if you like13:02
CueXXIIIquite probably…13:02
systemdletetry https://paste.debian.net/hidden/950fdb6c/ ?13:03
CueXXIIIhm, the close_wait are normal when there have been some connections13:05
CueXXIIIhm, but the file descriptors seem to not get cleaned up…13:06
systemdletebut that many?13:06
CueXXIIIyeah, might be a leaking filedescriptor bug13:09
systemdleteleaky code, not a leaky file descriptor, but I think that's what you mean, right?13:10
CueXXIIIi mean the code is leaking file descriptors, yes13:10
systemdleteok13:11
systemdleteI should mention that I recently upgraded the cacher from 3.6.4-1 to 3.7.4-113:18
systemdletenot that it matters, necesarily, but perhaps I just introduced even more bugs, idk13:19
systemdleteit does seem, overall, to be a bit more stable.  Fewer problems overall13:19
systemdletethe upgrade from backports was necessary because the server is still chimaera13:20
systemdleteI'm saying this so that anyone trying to figure this out wont get thrown due to mismatched versions13:20
systemdletebest place to file bug?   It looks like the github for it is upstream/sid, but I'm not sure if that where I should file it.13:24
systemdleteor is it better to do it on debian's bug list?13:25
CueXXIIIhow did you upgrade the cacher? if thatcame fro upstream, it's not a matter for debian's bts13:27
CueXXIIIgreat, i rebuilt dpaste on unstable and now the error is gone, but i still can't get your paste identifier13:32
systemdletedpaste -g dpaste:557FBEFA13:32
systemdletedoesn't work for you?13:32
CueXXIIInope, sits there for 7 s and then just quits13:33
systemdleteI did the upgrade using apt and -t chimaera-backports13:33
systemdletehmm13:33
systemdleteI'm not sure where the package was built from.  I got it from the backports repo, that's all I know.13:34
CueXXIIIbackports still belongs to debian13:35
systemdleteso why wouldn't it be for debian's bts?  Sorry I am not clear on this13:35
CueXXIIIno, you can file it on debian's bts13:37
systemdleteok13:37
systemdletethanks13:37
CueXXIIIok, dpaste forgot my paste test after ~10 minutes13:54
CueXXIIIsystemdlete: cyn you still access dpaste:32564133 - or your paste?13:55
systemdleteI could not retrieve the original, but I just made another paste:  dpaste:5D424A5314:02
systemdleteand I am able to retrieve it14:03
systemdleteit spills to stdout14:03
CueXXIIIgot it, too14:06
CueXXIIIhttps://github.com/sim590/dpaste/issues/1914:07
CueXXIIIso it is working as intended…14:08
systemdleteso then what was the "free(): double free detected in tcache 2; Aborted from dpaste in unstable…" commotion?14:09
CueXXIIIi guess some abi change in one of dpaste's dependencies14:09
systemdleteI need to get some sleep.14:09
systemdleteHopefully, gnarface or rrq or other will see this thread and maybe have a suggestion with this information provided in my paste.14:10
CueXXIIIsince the dpaste in unstable is the same binary as the one in stable, but rebuilding it fixed the error14:10
systemdleteoh, I see.14:10
systemdletehttps://paste.debian.net/hidden/950fdb6c/ (to avoid the 10 minute timeout?)14:12
gethi all22:08
debdogoy!22:08
getany howto arround to get installed php5.6 and 7.0 on chimaera ? tried the debian11 way but the packages are depending on systemd....22:09
getand dont want go back in evolution22:10
gnarfaceget: 2 versions of php installed concurrently without virtualization or heavy repackaging? you don't. php7 is already on chimaera though, that shouldn't have been any problem to install...22:13
getyes, it comes with 7.4 but i need 7.0 as far or 5.6 for a software im using.22:14
getwill run it with php-fpm so i can run them in paralel22:14
gnarfaceOH i see... well, have you considered virtualization? you could run the php7 stuff in one guest and the php5.6 stuff in another guest...22:15
getmy actual control panel doesnt support this yet.22:15
getwhat kind of virtualization you suggest?22:16
gnarfacewhatever22:16
gnarfacekinda depends on what hardware you've got22:16
gnarfaceqemu is the best if you have hardware acceleration available for it and you're not subjecting it to load, just testing22:17
getyears ago i managed xen hypervisor, qemu but we deployed a host for this.22:17
gnarfaceqemu is solid and well supported it's just complicated to setup right22:17
gnarfaceusually for production services i use linux-vservers actually, but that's not well supported anymore, so even though it's massively more efficient and secure and hardware-agnostic, i can't really advise it for someone who isn't comfortable with using super intrusive 3rd party kernel patches22:18
geti already have this box running with chimaera for over 6months as webhost. Xeon(R) CPU D-1521 2x480 ssd and 32gb ram.22:18
gnarfaceit can probably handle qemu fine22:19
gnarfaceother people around here might have some other advise... i think vbox is popular despite the bugs22:19
gnarface*advice22:19
geti think yes. but on other hosts, what are running debian i installed via apt the needed versions and conf'd it into my panel and done.22:20
gnarfacemaybe there's a way to actually install 2 php versions concurrently safely but that'd be news to me22:20
gethttps://tecadmin.net/how-to-install-php-on-debian-11/22:21
gnarfacethe thing about using php7 because whatever you need isn't available for 7.4 though... eh, as a php developer of longer than there's been actual releases of php (since the early betas) that sounds like a really bad idea22:21
gnarfaceand actually, fcgi is just garbage too22:23
gnarfaceyou should really reconstruct your solution around mod_php with apache or you're in for a lot of pain22:23
gnarfacesorry if that's not what you want to hear22:23
gnarfacei actually used to do this for a living, so i actually know22:24
gnarfacestick around, i'm sure someone else here can give you other opinions22:25
getim basically trying to get other versions as the included into the main repo22:25
getand no, im using nginx and fpm22:25
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Ephp%5B0-9%5D%5C.%3F%5B0-9%5D%3F%24&x=submit22:26
gnarfacewell, you can easily see all the php versions and what devuan release they correspond do22:26
gnarfacecorrespond to*22:26
gnarfacemixing releases is a very bad idea (debian would tell you the same)22:26
getah22:26
gnarfacei think here's the php-fpm versinos https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Ephp.*fpm%24&x=submit22:28
gnarface*versions22:28
getah so basically i can use those mirrors to install via apt22:28
gnarfaceyes, but keep in mind you're strongly advised to only use them in installs of the actual release version they belong in, hence my suggestion to virtualize so you don't mix them and make a "frankendevuan"22:29
gnarfaceapt will definitely not stop you from mixing releases, though mundane package dependency version conflicts might... if you were to force your way around them though, in the long run that's worse because even if it seems to work initially it introduces unfixable and sometimes even untraceable gremlins22:30
getah ok they are not prepared to be "modular"22:30
getthey are depending on the host-version22:30
gnarfacethey're packaged so within the individual php versions they're modular, so you don't necessarily have to install all the optional php packages of that particular version... in that sense they're very modular, and quite a bit more so than other distros in fact22:31
gnarfacebut no, they absolutely never intended you to run 2 different php versions on the same install22:31
gnarfacethat's not part of the security model or the expected use cases22:32
gnarfaceand whatever white whale you're chasing that makes you think you require this... it's probably based on some fundamental error in judgement somewhere, sorry22:33
gnarface(maybe not yours, maybe your employers, i dunno, i pass no judgment)22:33
gnarfacebut you can easily just have two separate installs of two separate releases, one for each php version you need, that'll work with 2 physically separate computers or virtual machines... hell you could even pull it off with chroots22:34
fsmithredadd xserver-xephyr and you can have a chroot with a desktop.22:35
gnarfacegood tip, fsmithred22:43
dev01beginnerguide for minimal-install for devuan?22:52
fsmithredun-check everything except system utilities at the tasksel window22:52
fsmithredreboot into the new system and add whatever else you want22:52
fsmithredif you want more minimal, un-check the system utilitites, too.22:53
fsmithredI predict you'll add most of them anyway.22:53
dev01beginneri'm going to be using a minimal-live iso22:54
dev01beginnerto install22:54
gnarfacethey're only a couple megabytes22:54
gnarfacedon't use minimal-live to install22:54
gnarfaceuse the netinstall iso22:54
fsmithredhttps://www.devuan.org/os/documentation/install-guides/daedalus/install-devuan22:54
gnarfacebut keep a copy of minimal-live to fix stuff if you break it22:54
dev01beginnerok22:54
fsmithredok, that link is not for minimal-live. Actually there is no install guide for the minimal-live22:55
gnarfaceyea, but the minimal live install is basically just like the other live disks; you boot it then run something that copies the contents over to your harddrive23:00
gnarfaceit's not a traditional "install" experience and may not give you the same results23:00
gnarfaceit's perfectly valid but if you're doing this for the first time you want to have results that most align with the expected setup various 3rd party tutorials you're following will assume23:01
fsmithredI agree23:02
gnarfacebut all the live isos are very useful as general purpose test/repair/recovery utilities23:02
gnarfaceit's definitely a good idea to keep a copy locally23:02
fsmithredalso possible to debootstrap from the live isos23:02

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