<SiFuh>
Anyone running an AMD Ryzen with the 6.1.X kernel ?
<ukky>
SiFuh: I suspect that having external USB root device makes udev print '^@'. Not sure if it fixes this issue, but did you add 'rootwait'. It is required at boot, but maybe helps in re-enumerating devices too when udev starts.
<SiFuh>
ukky: I'll have a look later. Building the the 6.6.9 kernel at the moment to see if it has anything useful.
<SiFuh>
I don't think rootwait will do much since the system is already running. But I could try just for the thrills
<jaeger>
I run a couple of ryzen systems with 6.1.x
<jaeger>
No ^@ on them
<SiFuh>
Cheers
<SiFuh>
jaeger: What processor family do you choose in your kernel configuration?
<jaeger>
Opteron/Athlon64/Hammer/K8
<SiFuh>
Thought so. I was reading it in the Gentoo forums
<SiFuh>
jaeger: "It is possible to incorporate the microcode firmware blob files for all AMD processors in the Linux kernel".
<SiFuh>
All at the same time. Heh
<jaeger>
Indeed
<SiFuh>
I never knew that.
<jaeger>
I remember reading it somewhere but haven't tried to :)
<SiFuh>
I don't know where this one comes from. No other machine has it. I am using the latest iso from jaeger's updates sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
<ukky>
One mount location for /sys is at /etc/rc
<SiFuh>
Yes the bottom one
<ukky>
Exacly, as the 'device' parameter is set to 'none'
<SiFuh>
I plan to reboot soon. I am just finishing the touches on the 6.6.9 kernel. There is an issue with F2FS on a root partition after 6.2.x and it seems to remain even until 6.6.x. I will then check the mount |grep again when it is ready
ivandi has quit [Quit: WeeChat 4.1.2]
<SiFuh>
ukky: Whatever it is, it happens on boot.
<SiFuh>
I disabled xdm and ntpd. So rc.conf is only loading what CRUX defaults to. The only two things I can think of is dracut and the kernel
<ukky>
Probably dracut then. I guess it is initramfs tool, right?
<SiFuh>
yes
<SiFuh>
I have another CRUX box using dracut, I will compare to that.
<ukky>
You can add 'mountpoint -q /sys && umount /sys' before '/bin/mount -t sysfs none /sys' in /etc/rc to fix /sys mounted twice
<SiFuh>
jaeger: and farkuhar: for the record if anyone has trouble booting F2FS root for kernel versions 6.2.x and greater (Currently tested to 6.6.9) they will need to append 'rootflags=noflush_merge' to the kernel command line
<SiFuh>
ukky: If it is a dracut issue, then it might be something that needs the CRUX dev's to modify since a few of the users do use dracut
<ukky>
Mounting /sys twice does not affect overall functionality. It is just wrong to do that, as initial mount will be hidden by the latest mount. Ideally, this should be fixed.
<SiFuh>
Also re-ran your script on a fresh boot and still just shows those errors
<ukky>
Do you still run start_udev at boot? Original start_udev or modified?
<ukky>
Another idea: This could be output of '/sbin/udevd --daemon', as it does fork in the background and might generate output at any time
<SiFuh>
If I comment out the second last line the ^@ never appears
<SiFuh>
Anyway, thanks for trying. I will look into it at a later date. It might be something as simple as a glitch for booting a system from a USB external hardisk
<ukky>
I tried, but failed.
<SiFuh>
I don't think there was failure. We learned dracut mounts its own /sys and that rc mounts on top of it a second time.
<SiFuh>
That to me is more important than a ^@ :-)
<SiFuh>
ukky: I put this in the rc script by the way ountpoint -q /sys || /bin/mount -t sysfs none /sys
<SiFuh>
Hmm where did the 'm' go?
<SiFuh>
ukky: Also, I found out that dracut also mounts /proc as well.
<SiFuh>
Seems dracut also mounts /dev/shm as well
<ukky>
Do you have two mounts as well for /proc?: mount | grep ' on /proc '
<ukky>
My init script does not mount these (if already mounted): /proc /sys /run
<SiFuh>
And I commented out the line shm in fstab. I will look deeper into what dracut does later on
<SiFuh>
jaeger: ^
<ukky>
And these are unmounted (if already mounted), then re-mounted: /dev/pts, /dev/shm, /dev/mqueue, /dev; Because my script 'supports' both udev and mdev
<ukky>
SiFuh: Try also this way of starting udev daemon: /sbin/start-stop-daemon --start --quiet --name udevd --pidfile /run/udevd.pid --startas /sbin/udevd -- --daemon
<ukky>
SiFuh: Thanks for the link, I will use the same way as dracut to test whether /proc or /sys is mounted, as 'mountpoint' cannot be used before /proc and /sys are mounted
<r0ni>
i just used dracut on arm64, didn't think it would work, but it did and i've scared for no reason lol
<SiFuh>
Cheers, I didn't look into fusectl yet. Just noticed the dracut machines have it double mounted
<SiFuh>
In my paste, the first line for each is not CRUX default, the second line is. Except fusectl
<r0ni>
hrm, interesting. ya I'd just used dracut for first time, after building a new kernel based off gentoo config, so I didn't know if it'd even work, but it booted right up
<r0ni>
better than the debian config i'd been using at least