Do you have agetty starting under sinit?

|
lanciagreggori 2022-09-18 18:33:52
ChrisCromer 2022-09-18 18:30:00
The rc.log file contains the order they were started/stopped in.

I tried looking into it but for some reason the boot log starts at the default runlevel, it doesn’t contain the full boot messages.

SoundsBlue 2022-09-18 18:35:01
I didn’t mention it to mean anything special. However, the binaries do not match in gentoo(gcc,clang),alpine,slackware,ubuntu,,nixos,arch,manjaro, which should be the latest at least around the same time,

There seems to be a big difference between the libraries, especially libcrypt.so and libgcrypt.so.

I can’t imagine of an absolute…

Good example: ceph open-vm-tools

+gentoo
USE=X nls policykit python emerge gpm acl glibc libgcrypt pcre zlib perl python bash

+arch -manjaro
libxcrypt
libgcrypt

+arch -cachy
> glibc pacman mkinitcpio hwdata nvidia-utils

ChrisCromer 2022-09-18 18:36:33
SoundsBlue 2022-09-18 18:35:01
I didn’t mention it to mean anything special. However, the binaries do not match in gentoo(gcc,clang),alpine,slackware,ubuntu,,nixos,arch,manjaro, which should be the latest at least around the same time,

There seems to be a big difference between the libraries, especially libcrypt.so and libgcrypt.so.

I can’t imagine of an absolute…

Good example: ceph open-vm-tools

+gentoo
USE=X nls policykit python emerge gpm acl glibc libgcrypt pcre zlib perl python bash

+arch -manjaro
libxcrypt
libgcrypt

+arch -cachy
> glibc pacman mkinitcpio hwdata nvidia-utils

What the fuck are you talking about…

ChrisCromer 2022-09-18 18:38:51
lanciagreggori 2022-09-18 18:33:52
I tried looking into it but for some reason the boot log starts at the default runlevel, it doesn’t contain the full boot messages.

Typically that is because early processes are being started before the system is mounted and logs are running… You shouldn’t be adding services to boot and sysinit runlevels anyway, so not sure why you would even need a log of that…

capezotte 2022-09-18 18:39:13
SoundsBlue 2022-09-18 18:35:01
I didn’t mention it to mean anything special. However, the binaries do not match in gentoo(gcc,clang),alpine,slackware,ubuntu,,nixos,arch,manjaro, which should be the latest at least around the same time,

There seems to be a big difference between the libraries, especially libcrypt.so and libgcrypt.so.

I can’t imagine of an absolute…

Good example: ceph open-vm-tools

+gentoo
USE=X nls policykit python emerge gpm acl glibc libgcrypt pcre zlib perl python bash

+arch -manjaro
libxcrypt
libgcrypt

+arch -cachy
> glibc pacman mkinitcpio hwdata nvidia-utils

can you please translate it to english

lanciagreggori 2022-09-18 18:41:03
ChrisCromer 2022-09-18 18:38:51
Typically that is because early processes are being started before the system is mounted and logs are running… You shouldn’t be adding services to boot and sysinit runlevels anyway, so not sure why you would even need a log of that…

I need to know what services are run because one of them is the reason why my screen turns from no output to seeing the linux console.

lanciagreggori 2022-09-18 18:42:02
My laptop has a problem where the initramfs cannot see the internal storage unless you put it to sleep while the initramfs is doing it’s job
lanciagreggori 2022-09-18 18:42:31
lanciagreggori 2022-09-18 18:42:02
My laptop has a problem where the initramfs cannot see the internal storage unless you put it to sleep while the initramfs is doing it’s job

by “it” I mean initiating an ACPI suspend to RAM and then waking up afterwards

ChrisCromer 2022-09-18 18:42:50
Damn, that’s a fucked up laptop. 🤣
lanciagreggori 2022-09-18 18:43:23
Now after I wake up from sleep, screen is completely black and until around the default runlevel it comes back up
lanciagreggori 2022-09-18 18:43:36
ChrisCromer 2022-09-18 18:42:50
Damn, that’s a fucked up laptop. 🤣

Yeah fuck Acer, do not buy from them

ChrisCromer 2022-09-18 18:44:39
Well getting logs of boot and sysint is problematic, logging isn’t up yet, so obviously stuff doesn’t get logged yet. However OpenRC does spit everything out in tty1, you could read the output to see the start order.
ChrisCromer 2022-09-18 18:45:14
If it is getting cleared before you can read, disable the clear parameter in the agetty tty1 config file.
lanciagreggori 2022-09-18 18:46:04
lanciagreggori 2022-09-18 18:43:23
Now after I wake up from sleep, screen is completely black and until around the default runlevel it comes back up

My screen comes back up because of something the openrc does, I have verified this because specifying any other init using “init=” kernel parameter turns the screen completely black and never comes back up

lanciagreggori 2022-09-18 18:46:19
The computer still boots, the initramfs does it’s job, but the screen never comes back up
lanciagreggori 2022-09-18 18:46:43
This is problematic since it means I can’t really use inits like sinit
ChrisCromer 2022-09-18 18:46:56
Do you use a DM? Or just straight to tty?
lanciagreggori 2022-09-18 18:47:09
ChrisCromer 2022-09-18 18:46:56
Do you use a DM? Or just straight to tty?

no just tty until I startx

ChrisCromer 2022-09-18 18:47:29
Do you have agetty starting under sinit?
lanciagreggori 2022-09-18 18:48:22
ChrisCromer 2022-09-18 18:47:29
Do you have agetty starting under sinit?

I tried starting it manually with /sbin/agetty — -J tty1 38400 linux but didn’t work

lanciagreggori 2022-09-18 18:48:41
lanciagreggori 2022-09-18 18:48:22
I tried starting it manually with /sbin/agetty — -J tty1 38400 linux but didn’t work

I mean I put it in the file that sinit executes

ChrisCromer 2022-09-18 18:49:04
Typically a blank screen after boot means you don’t have a tty software running. In Artix’s case we use agetty.
ChrisCromer 2022-09-18 18:49:35
Are you sure sinit succefully runs agetty?
lanciagreggori 2022-09-18 18:49:41
Also I have verified that sinit works, since the rc.init file it executes has a reboot command in it so I don’t to force shutdown the laptop
lanciagreggori 2022-09-18 18:49:56
ChrisCromer 2022-09-18 18:49:35
Are you sure sinit succefully runs agetty?

This is also where I’m suspicious

lanciagreggori 2022-09-18 18:50:27
Since I can’t really see anything, I don’t even know if rc.init can find the agetty binary
lanciagreggori 2022-09-18 18:50:36
or if /sbin/agetty is even the right path
lanciagreggori 2022-09-18 18:51:35
I’m gonna have to try to write an if statement that puts the laptop to sleep if which agetty or if /sbin/agetty exists
grakata_clem 2022-09-18 18:53:28
lanciagreggori 2022-09-18 18:42:02
My laptop has a problem where the initramfs cannot see the internal storage unless you put it to sleep while the initramfs is doing it’s job

I had the same thing

ChrisCromer 2022-09-18 18:53:48
lanciagreggori 2022-09-18 18:48:22
I tried starting it manually with /sbin/agetty — -J tty1 38400 linux but didn’t work

Try without the —

lanciagreggori 2022-09-18 18:53:52
grakata_clem 2022-09-18 18:53:28
I had the same thing

An Acer laptop?

grakata_clem 2022-09-18 18:53:57
lanciagreggori 2022-09-18 18:53:52
An Acer laptop?

Asus

grakata_clem 2022-09-18 18:54:23
I tired of this shit and started to use efistub
grakata_clem 2022-09-18 18:54:29
No initramfs – no problem
lanciagreggori 2022-09-18 18:56:03
grakata_clem 2022-09-18 18:54:23
I tired of this shit and started to use efistub

Hmmm, yeah I’ll probably have to start looking into that since the retarded firmware of this laptop has caused me nothing but pain

|