libera/#devuan/ Saturday, 2024-03-23

systemdletexorg refuses to die, even will SIGKILL00:00
systemdleteits parent is PPID 100:00
rrqtime to attach gdb to it...00:01
systemdleteinstalling gdb...00:01
systemdleteone other thing I want to mention.  It could have nothing or everything to do with it, idk.00:02
systemdleteI have installed a xhci driver inside the VM.  The idea was to test whether xhci might work better with a USB3 ethernet device.  (I actually have not noticed any significant different, actually, but I left it with the xhci driver enabled.)00:03
gnarfacemaybe it's a host driver issue somehow?00:04
systemdleteit would be a vbox xhci driver issue, I'd think.00:06
systemdletewhich is possible I guess00:06
systemdleterrq: installed gdb, but my vmlinuz doesn't have debug symbols00:07
systemdleteit tells me no stack because the process is a zombie00:07
rrqmmm should be in the host with hanging xorg. then just attach to the pid and check the stack00:08
systemdletestack is empty00:08
rrqsometimes it says something00:08
rrqok00:08
systemdletesorry...00:08
rrqthen "p (int) exit(0)" should make it exit00:09
systemdlete"No symbol table is loaded.  Use the "file" command.00:10
rrqhmm is it actually running?00:11
rrqtry: run00:11
systemdletemaybe my invocation of gdb is faulty?  I did "gdb /boot/vmlinuz-6.1.0-18-amd64 2005"00:12
rrqaha00:12
systemdleteyup00:12
rrqjust fo "gdb"00:12
* systemdlete duh00:13
systemdleteok00:13
rrqthen do "attach pid" where pid is the pid of xorg00:13
systemdletethen00:13
systemdleteIllegal process-id: pid 2005.00:13
rrq?00:13
systemdlete(bc it's a zombie??)00:13
rrqI thought it'd attach zombies too00:14
systemdleteSomething is rotten in Denmark.00:14
rrqwhich init are you using?00:15
systemdletedefault00:15
systemdletesysvinit00:15
rrqit appears to have failed "reaping" that child00:16
systemdleteI agree.00:16
rrqtry to send signal 17 to pid 100:16
rrq(sigchild)00:16
systemdleteno change00:16
rrqexit gdb I suppose since it wasn;t any use00:17
systemdletestill marks process as <defunct>00:17
systemdleteoh, I'm already out of gdb00:17
systemdletedid you mean send kill to proc inside gdb?00:17
rrqsend signal 10 to 2005  ... (the leaving VT signal)00:18
systemdleteinside or outside gdb?00:18
rrqno gdb seems not to do what I expected00:18
rrqoutide00:18
rrqs00:18
systemdletenope00:19
rrqthen signal 11 to 2005 (the entering VT signal)00:19
systemdletenopety-dopety.  sorry00:20
rrqthere might be something in the .local log?00:20
systemdletethe Xorg.0.log?00:20
rrqyes00:20
systemdletethat file has not updated since Mar 14, which is when I rebooted the VM00:21
rrqok00:21
systemdleteno, really, I thank you for all your attempts to help.  I feel bad that nothing is working.00:22
rrqand "ps lwww 2005" says it's Xorg?00:22
systemdleteI think my next step will be to put that xhci back to the normal ohci/ehci mode and let it run for a week or so and see if it freezes.00:23
systemdleteyes, it is definitely the xorg process00:23
systemdletewell "Xorg" actually00:23
rrqand you ran gdb as root ?00:24
systemdleteyep00:24
systemdleteI'm ssh'd into the VM as root00:24
systemdleteI fire up the desktop from the command line with startxfce400:25
systemdlete(not startx or xinit or whatever)00:25
systemdleteand that could present a problem, idk.00:25
systemdleteI had been having numerous issues with starting the desktop from any of the DMs00:26
systemdleteI forget exactly what, but this seemed to work much better.  But that was a year ago, and maybe some bugs have been fixed.00:26
rrqmmm don;t you need to start Xort beofre running startxfce4 (which starts the windo manager)00:26
systemdleteSo maybe I can go back to using the DM (which, when working, was much more convenient!)00:26
rrqor does startxfce4 start Xorg itself in some way?00:28
systemdleteso I should start the desktop with startx?  xinit?00:28
systemdleteIt must, because I don't do it manually myself.00:28
rrq"startx" ... which runs xinit, which uses your ~/.xinitrc (or some default maybe)00:28
systemdleteright.00:29
systemdlete(just looked at the man page for startxfce4)00:29
systemdletestartxfce4 does that also00:29
rrqoften a user's .xinitrc ends with "exec startxfce4" so as to migrate the start process to the window manager and thereby cause X to terminate when the window manager terminates00:30
systemdletethat may be.00:30
systemdletebut even using heavy artillery does not stop xorg00:30
systemdleteIt seems to have an iron dome around it.00:31
rrqno it seems locked inside a system call00:31
systemdleteptrace?00:31
rrqright... or strace een?00:31
rrqv00:31
systemdletestrace: attach: ptrace(PTRACE_SEIZE, 2005): Operation not permitted00:32
systemdlete:(00:32
systemdleteI noted that when trying to use gdb, it complained about ptrace being an illegal call00:33
rrqmmm are you sure your root is root?00:33
systemdletewill id(1) be sufficient to show this?00:34
systemdleteuid=0(root) gid=0(root) groups=0(root)00:34
systemdletebut, you know, since I'm logged in via ssh, I wonder if perms might be limited somehow?00:34
rrqyou don't have console access?00:35
systemdleteI can't get to a console, unfortunately.  Even using vbox input commands, it doesn't respond00:36
rrqyou have serial console enabled in /etc/inittab ?00:37
systemdleteafaicr, I have not mucked with that file00:37
systemdletets on /etc/inittab is Apr 17 2023.00:38
systemdleteSo whatever it was, out of the box, is its present state00:38
systemdleteI can paste it for you, if you like?00:38
rrqshould have a line like: "T0:23:respawn:/sbin/getty -L ttyUSB0 115200"00:38
rrqthen "telinit q" to make init digest that one and start a console getty00:39
systemdleteit does, but it is ttyS0, not ttyUSB0.  And it is commented out00:39
rrqsorry that's right00:39
rrqcomment in + "telinit q"00:40
systemdleteactually, you were right after all.  A few lines down there is a similar entry for USB000:41
systemdleteso now I need to hook up a physical serial line?00:41
rrqthen the host will service a serial console.. the next would be how to attach one. I know some qemu but not vbox00:41
systemdleteor usb serial line?00:41
systemdleteoh00:41
systemdletethat is in the vbox config... but not sure I can change that on a running VM00:42
systemdletelet me check00:42
systemdletewell, the vbox GUI won't permit a change, but let me try cmd line...00:42
systemdleteit's not going to allow me to change it while the VM is running, even from cmd line tool00:54
systemdleteI need to get some food.  bbs00:54
rrqok... seems odd if your ssh root is some kind of fake root00:54
systemdleteand thank you all so much for your everlasting support of devuan!00:55
systemdletewell, vbox doesn't always allow all operations at all times.  In fact, I think MOST operations are NOT permitted on running VMs.00:55
rrq(food:)00:56
systemdletehowever, I WILL make sure to enable a serial line before the next reboot of the VM in case it is needed for further examination00:56
rwpA zombie is dead and IIRC the process memory has been released.  It's only the process slot information which remains.  Remains waiting for the parent to call wait(2) on it.  When wait(2) transfers the data from the process slot to the parent then the process slot data is released.01:11
rwpBut having released all of the process memory other than the process slot data that's why gdb can't attach to it, since it is no longer a running process.01:11
rrqta01:11
rwpThe "top" program lists the number of zombies in the process table.01:11
h3atdevuan does not have preseed like debian, right?01:12
rwpYes Devuan has pressed like Debian.  For the netinst ISO and others.  Not for the Refracta image.01:12
rwpThe preseed is a feature of the debian-installer and the debian-install is used for the netinst ISO image and the other similar ones.01:13
rwpRefracta is a different independent toolset creation and simply "pours" an installation of files onto the target.  That's one of the things that makes it a zillian times faster.01:13
h3atmany thanks01:13
n4dirthere are a few other based on devuan distros, no?01:14
n4dirrefracta is the first which comes to my mind too though.01:15
rwprrq, +1 for always enabling the serial console on VMs.  This is the way.01:15
rwpn4dir, It's the first one I think of too.  But as you say there are others. https://www.devuan.org/os/devuan-distros01:16
rwpI have not tried any of the others beyond Refracta.01:17
n4dirthe one with the old kde-version fork, trinidity is the DE?, might be exegnulinux. That i tried. It is great, if that is what you look for01:22
n4dirperhaps another one, not sure01:22
rwpsystemdlete, I don't know if your virtualbox allows this but I would also try Control-Alt-F2 to slide over to the 2nd vt console which would normally have a vt console getting login on it.  However given what you said I think that would have been locked up solid and unable to switch too.01:22
rwpAlso you said the process was in an uninterruptible D state.  That's usually due to having DMA running and the kernel thinks it can't interrupt such a state and remove the process until the DMA is done.  Which if it is totally stuck won't ever be done.01:23
systemdleterwp:  I tried a number of different keystrokes to scare up a console.   None of them worked.  Even using vbox's built-in input shortcuts, I still could not get a console.03:30
systemdleteand from now on, I will leave a serial console configured on new VMs (I'll add that to my checklist)03:31
systemdleterwp:  Any security concerns having a serial port left enabled but unused?  I can't think of any but you and others might be able to.03:42
systemdleten4dir, maybe anti-x?  It is getting high marks with the anti-systemd crowd.  I've tried it a bit, and I'm thinking of using it for one of my applications.03:45
n4dirit is nice, but not based on devuan03:46
n4dirthey over-configured it a bit, as far it is me, which makes it a bit hard to administer, but in general, i really like it03:47
ted-ioussystemdlete: I think I have had the same problem as you with xorg freezing.03:59
ted-iousDid you figure anything out?03:59
ted-ioussystemdlete: And are you trying to get to the alt-f2 console on the linux vm?04:03
ted-iousThat should be possible with virtualbox's virtual keyboard.04:03
xisopyou could also boot the kernel with `single text` added04:36
joergctrl-alt-F2 ?05:11
systemdleteted-ious, joerg:  See above.  Yes, I've tried all of those.  No, I have not figured anything out yet, sorry.06:00
systemdleteThank you for your input.06:01
ted-iousIn that case since you can ssh in I guess maybe you can kill xfwm and restart it and maybe that will help.06:07
ted-iousSince you can move the mouse obviously xorg isn't hung or insane.06:08
ted-iousI think you might have to tell xfwm your session id but you should be able to get that from ps -wax.06:09
rwpsystemdlete, Probably the graphics side of the system was completely locked up.  I know you could ssh into it.  But I have seen that before myself where the graphics is locked up and I have not been able to break it free without a reboot.  Even though it seems like it should be possible to reload the drivers and reset and go.18:25
rwpsystemdlete, There is no security concerns about having a getting login running on a virtual machine.  The permissions on the serial devices protect it from unprivileged process connecting to the console line, and even then they would need to log in first.18:27
danny_zsystemdlete: have you dropped into a tty to diagnose this?18:27
rwpdanny_z, At the time there was no serial line active.  It wasn't configured.  systemdlete says is going to configure it for next time.18:27
Guest7299Hello hello!20:27
XenguyI don't know why you say goodbye I say hello20:31
crhyloveI still want to release a mintified version of Devuan.21:42
crhyloveSomething where the user interface is super slick and easy but still is Devuan underneath.21:42
crhyloveMaybe I'll have time this summer?21:42
n4diri am pretty sure someone told me (here) how to do that (mintifiy). It was a few easy steps.21:48
crhyloveYeah, I'm thinking about putting out a full distro though.21:58
crhyloveMaybe this summer.  *finger's crossed*21:58
paculino_Didn't someone already do a frankenmint where devuan was used except for stuff differing between mint and debian but not debian and devuan?22:42
paculino_Some sort of complicated pinning, iirc22:42
paculino_Maybe using debdistdiff? https://gitlab.com/debdistutils/debdistdiff22:46
crhyloveInteresting tool.  But the link I found was:  https://all-things-linux.blogspot.com/2021/02/introducing-linux-mint-devuan-edition.html23:01
fsmithredpaculino_, I think they posted that on the forum23:01
paculino_Oh23:02
crhyloveIt would be cool to make a compiz/mate/mint/devuan system that works really well out of the box.23:03
crhyloveThis guy used cinnamon, which is lame imho.23:03
crhylovehttps://forums.linuxmint.com/viewtopic.php?t=33777323:07
crhyloveFor the step by step.23:07
fsmithredYou could probably migrate mint to devuan - be careful of package versions. Mint does some weird intermediate releases that are halfway between major releases of debian or ubuntu.23:17
n4diragain, i am really sure that guy in #devuan-offtopic told me how to make devuan look like mint in a few steps. I forgot who it was23:18
fsmithredHere's a discussion about mint-devuan: https://dev1galaxy.org/viewtopic.php?id=231723:24
crhylove@fsmithred: Yeah, read that one too.  :)23:30

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