diff --git a/JOURNAL.md b/JOURNAL.md index b899bd5..9f876a4 100644 --- a/JOURNAL.md +++ b/JOURNAL.md @@ -4198,3 +4198,54 @@ Let's try the seedrng approach first. -n Do not credit randomness, even if creditable I can work with this. + +It seems to be working. + +After correcting the RTC, now I get a more or less good boot time: + + [root@nixos-riscv:~]# systemd-analyze + Startup finished in 4min 49.469s (kernel) + 10min 48.260s (userspace) = 15min 37.729s + multi-user.target reached after 10min 48.024s in userspace. + +Still, udevd is killing the CPU: + + [root@nixos-riscv:~]# vmstat 1 + procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- + r b swpd free buff cache si so bi bo in cs us sy id wa st + 2 0 0 585072 16580 59200 0 0 0 12 164 142 49 51 0 0 0 + 4 0 0 585072 16580 59200 0 0 0 0 159 190 46 54 0 0 0 + 1 0 0 585072 16580 59200 0 0 0 0 157 66 49 51 0 0 0 + 5 0 0 585072 16580 59200 0 0 0 0 156 60 75 25 0 0 0 + 2 0 0 585072 16580 59200 0 0 0 0 165 200 30 70 0 0 0 + 2 0 0 585072 16580 59216 0 0 0 4 157 200 31 69 0 0 0 + 2 0 0 585072 16580 59216 0 0 0 0 157 194 39 61 0 0 0 + 2 0 0 585072 16580 59216 0 0 0 0 158 201 53 47 0 0 0 + 2 0 0 585072 16580 59216 0 0 0 0 156 173 62 38 0 0 0 + 3 0 0 585072 16580 59216 0 0 0 0 162 192 64 36 0 0 0 + 4 0 0 585072 16580 59232 0 0 0 0 163 205 35 65 0 0 0 + 1 0 0 585072 16580 59232 0 0 0 0 165 182 36 64 0 0 0 + 1 0 0 585072 16580 59232 0 0 0 0 155 44 76 24 0 0 0 + 3 0 0 585072 16580 59232 0 0 0 0 157 149 46 54 0 0 0 + 2 0 0 585072 16580 59232 0 0 0 0 158 197 34 66 0 0 0 + 2 0 0 585072 16580 59232 0 0 0 0 158 198 30 70 0 0 0 + 2 0 0 585072 16580 59232 0 0 0 0 156 196 48 52 0 0 0 + 2 0 0 585072 16580 59232 0 0 0 0 158 179 58 42 0 0 0 + 3 0 0 585072 16580 59232 0 0 0 0 158 176 67 33 0 0 0 + 2 0 0 585072 16580 59488 0 0 256 0 159 195 36 64 0 0 0 + 1 0 0 585072 16580 59620 0 0 128 0 156 134 55 45 0 0 0 + +Not sure which device is malfunctioning. + + [root@nixos-riscv:~]# udevadm monitor + monitor will print the received events for: + UDEV - the event which udev sends out after rule processing + KERNEL - the kernel uevent + + UDEV [1738.570531] add /devices/virtual/tty/ptyaa (tty) + UDEV [1741.983817] add /devices/virtual/tty/ptyab (tty) + UDEV [1745.434070] add /devices/virtual/tty/ptyac (tty) + UDEV [1748.846075] add /devices/virtual/tty/ptyad (tty) + UDEV [1752.238682] add /devices/virtual/tty/ptyae (tty) + UDEV [1755.665632] add /devices/virtual/tty/ptyaf (tty) + UDEV [1759.047259] add /devices/virtual/tty/ptyb0 (tty) +