You are not logged in.

#1 Today 20:03:11

ORIOLESFan02
Member
Registered: 2024-04-03
Posts: 51

Default boot loader entry immediately reboots machine

Hi, I'm really not sure how to explain this, but it's driving me crazy, because I'm unsure why this no longer works.

So I have an Asus Zephyrus G14 (2020) Laptop, and it's on its last legs. I was trying to modify the fan controls following this link: https://wiki.archlinux.org/title/Fan_sp … US_laptops , but was unable to do so.

I then tried using the asus-fan-dkms-git AUR package, and I did this a couple times today, since the package didn't work for my machine, but for some reason doing it a third time or so and then messing with a couple other things has rendered the default boot loader entry to stop working.

Here is the bootctl list if that is useful:

[dog@laptop ~]$ bootctl list
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (linux) (default)
           id: 2024-04-02_19-20-47_linux.conf
       source: /boot//loader/entries/2024-04-02_19-20-47_linux.conf (on the EFI System Partition)
        linux: /boot//vmlinuz-linux
       initrd: /boot//amd-ucode.img
               /boot//initramfs-linux.img
      options: root=PARTUUID=<REDACTED> zswap.enabled=0 rw rootfstype=ext4 amdgpu.abmlevel=0

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (linux-fallback) (selected)
           id: 2024-04-02_19-20-47_linux-fallback.conf
       source: /boot//loader/entries/2024-04-02_19-20-47_linux-fallback.conf (on the EFI System Partition)
        linux: /boot//vmlinuz-linux
       initrd: /boot//amd-ucode.img
               /boot//initramfs-linux-fallback.img
      options: root=PARTUUID=<REDACTED> zswap.enabled=0 rw rootfstype=ext4

I'm unsure why the default one isn't working, and am hoping someone here may help me figure out why. I have provided command history below which may be able to lead to the problem.

Here's the history of commands I ran that could have led up to the error. I know the results don't show up here, but needless to say, running the modprobe commands failed because the asus-fan dkms module didn't load, which from what I'm seeing, was to be expected, but I realized that only after it all broke.

  196  pwmconfig
  197  sudo pwmconfig
  198  sensors
  199  fancontrol
  200  pwmconfig
  201  sudo pwmconfig
  202  sudo pwmconfig  -h
  203  sensors-detect
  204  sudo sensors-detect
  205  sudo sensors-detect
  206  clear
  207  sudo sensors-detect
  208  modprobe asus_fan
  209  sudo echo 0 > /sys/devices/system/cpu/cpufreq/boost
  210  sudo su # first 'su' (starts at 'su' line 91)
# ---- just to differentiate between the first su and the rest.

  211  asusctl
  212  asusctl fan-curve
  213  asusctl fan-curve --help
  214  asusctl fan-curve --fan
  215  asusctl fan-curve --fan --help
  216  asusctl fan-curve --help --fan
  217  echo 0 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5
  218  echo /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1
  219  echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1
  220  echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1
  221  sudo su # second 'su' (starts at 'su' line 93)
# ---- just to differentiate between the second su and the rest

  222  echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/pwm1
  223  echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*
  224  echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon
  225  ls
  226  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1
  227  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*
  228  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm*
  229  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*
  230  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  231  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/device
  232  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  233  yay asus-fan-dkms-git
  234  sudo modprobe asus_fan
  235  modprobe asus_fan
  236  sudo su #third 'su' (starts at 'su' line 95)
# ---- just to differentiate between the third su and the rest

  237  sudo pacman -Rns asus-fan-dkms-git
  238  dkms
  239  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  240  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1*
  241  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm
  242  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1
  243  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1*
  244  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  245  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/power
  246  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  247  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/device
  248  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/device/input
  249  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/device/input/input33
  250  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  251  clear
  252  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  253  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  254  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/name
  255  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1*
  256  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  257  clear
  258  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  259  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  260  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/power
  261  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/subsystem
  262  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/subsystem/hwmon[[:print::]]*
  263  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/subsystem/hwmon[[:print::]]*/
  264  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/subsystem/hwmon[[::print::]]*/
  265  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/subsystem/hwmon[[:print:]]*/
  266  clear
  267  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  268  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/subsystem/hwmon[[:print:]]*/
  269  ./SchoolUmount.sh
  270  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1
  271  yay asus-fan-dkms-git
  272  systemctl status asus-fan
  273  sudo systemctl start asus-fan
  274  # modprobe asus_fan
  275  modprobe asus_fan
  276  sudo modprobe asus_fan
  277  systemctl status asus-fan
  278  clear
  279  sudo pacman -Rns asus_fan
  280  sudo pacman -Rns asus-fan
  281  sudo pacman -Rns asus-fan-dkms-git
  282  pwmconfig
  283  sudo pwmconfig
  284  sudo watch -n 1 "echo 2 > /sys/devices/platform/kernel_module/hwmon/hwmon[[:print:]]*/pwm1_enable"
  285  watch]
  286  watch
  287  clear
  288  sudo watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  289  sudo watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  290  sudo watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/"
  291  sudo watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  292  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  293  sudo watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  294  /sys/devices/platform/asus-nb-wmi/
  295  clear
  296  sudo
  297  su #fourth 'su' (starts at 'su' line 112)
# ----

  298  clear
  299  yay
  300  yay asus-fan-dkms-git
  301  systemctl status asus-fan
  302  modprobe asus_fan
  303  sudo modprobe asus_fan
  304  modprobe
  305  modprobe -h
  306  modprobe -n modprobe asus_fan
  307  sudo modprobe asus_fan -v
  308  sudo echo 255 > /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1
  309  clear
  310  sudo echo 255 > /sys/devices/platform/asus_fan/hwmon/h
  311  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/
  312  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/power
  313  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*
  314  clear
  315  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*
  316  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*
  317  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/
  318  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/fan*
  319  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/fan
  320  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/
  321  ls sudo echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enabl
  322  sudo echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  323  modprobe asus_fan'
  324  modprobe asus_fan
  325  sduo modprobe asus_fan
  326  sudo modprobe asus_fan
  327  yay -Rns asus-fan-dkms-git
  328  asusd-user
  329  asusd-user -h
  330  clear
  331  asusd-user
  332  asusd
  333  asusctl
  334  asusctl  help
  335  asusctl slash
  336  asusctl slash list
  337  asusctl
  338  asusctl info
  339  asusctl info --help
  340  asusctl info --show-supported
  341  clear
  342  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  343  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/name
  344  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/name
  345  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  346  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  347  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  348  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_label
  349  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  350  sudo echo 0 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  351  sudo echo 0 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  352  sudo echo 0 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  353  sudo echo 0 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  354  su
  355  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  356  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable
  357  su #fifth 'su' (starts at 'su' line 141)
# ----

  358  clear
  359  ls /sys/devices/platform/asus-nb-wmi/
  360  ls /sys/devices/platform/asus-nb-wmi/input/
  361  ls /sys/devices/platform/asus-nb-wmi/input/input33/
  362  ls /sys/devices/platform/asus-nb-wmi/
  363  ls /sys/devices/platform/asus-nb-wmi/driverq
  364  ls /sys/devices/platform/asus-nb-wmi/driver
  365  ls /sys/devices/platform/asus-nb-wmi/driver/asus-nb-wmi
  366  ls /sys/devices/platform/asus-nb-wmi/driver/asus-nb-wmi/hwmon/hwmon5
  367  ls /sys/devices/platform/asus-nb-wmi/
  368  ls /sys/devices/platform/asus-nb-wmi/hwmon/
  369  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5
  370  cd /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5
  371  ls
  372  cat name
  373  ls -l
  374  ls subsystem
  375  ls subsystem/hwmon0
  376  cat subsystem/hwmon0/name
  377  cat subsystem/hwmon1/name
  378  cat subsystem/hwmon2/name
  379  cat subsystem/hwmon3/name
  380  cat subsystem/hwmon4/name
  381  cat subsystem/hwmon5/name
  382  cat subsystem/hwmon6/name
  383  cat subsystem/hwmon7/name
  384  cat subsystem/hwmon8/name
  385  cat subsystem/hwmon9/name
  386  ls subsystem/hwmon5
  387  ls subsystem/hwmon6
  388  ls subsystem/hwmon1
  389  0
  390  ls subsystem/hwmon0
  391  ls subsystem/hwmon0/power/
  392  ls subsystem/hwmon0/
  393  ls subsystem/hwmon0/ -l
  394  ls subsystem/hwmon0/device
  395  ls subsystem/hwmon1/device
  396  ls subsystem/hwmon2/device
  397  ls subsystem/hwmon3/device
  398  ls subsystem/hwmon4/device
  399  ls subsystem/hwmon5/device
  400  ls subsystem/hwmon6/device
  401  ls subsystem/hwmon7/device
  402  ls subsystem/hwmon8/device
  403  ls subsystem/hwmon9/device
  404  ls
  405  cat pwm1_enable
  406  cat pwm2_enable
  407  cd ..
  408  cd hwmon6
  409  cat pwm2_enable
  410  s
  411  ls
  412  cat pwm1_enable
  413  pwmconfig
  414  sudo pwmconfig
  415  sudo pwmconfig -h
  416  sudo pwmconfig --help
  417  cd ..
  418  ls
  419  cd ..
  420  ls
  421  cat modalias
  422  ls platform-profile/
  423  ls platform-profile/platform-profile-0/
  424  ls platform-profile/platform-profile-0/power/
  425  ls platform-profile/platform-profile-0/
  426  cat platform-profile/platform-profile-0/choices
  427  cat platform-profile/platform-profile-0/profile
  428  cat platform-profile/platform-profile-0/profil
  429  ls
  430  ls input/
  431  ls driver
  432  ls driver/module
  433  ls driver/module/notes/
  434  ls driver/module/parameters/
  435  ls driver/module/drivers/
  436  ls driver/module/drivers/platform\:asus-nb-wmi
  437  ls driver/module/drivers/platform\:asus-nb-wmi/asus-nb-wmi
  438  ls -l
  439  cat driver_override
  440  ls
  441  ls /
  442  ls
  443  clear
  444  ls
  445  cat cpufv
  446  sudo cat cpufv
  447  su # sixth 'su' (starts at 'su' line 151)
# ----

  448  ls
  449  cat throttle_thermal_policy
  450  cat uevent
  451  cat leds/
  452  ls
  453  ls leds/
  454  ls leds/asus\:\:kbd_backlight/
  455  ls
  456  ls -a
  457  ls -a hwmon/
  458  ls -a hwmon/hwmon*
  459  ./update.sh # Runs "pacman -Syu && flatpak update && yay"
  460  ls
  461  sudo pacman -Rns asus-fan-dkms-git
  462  sudo pacman -Rns asus-fan-dkms
  463  ./update.sh # see 459 for explanation
  464  modprobe
  465  dkms
  466  dkms remove asus-fan
  467  dkms remove -m asus-fan
  468  dkms remove -m asus-fan*
  469  dkms remove -m asus-fan/*
  470  dkms remove -m asus-fan/git
  471  dkms remove -m asus-fan
  472  dkms remove -m asus-fan/
  473  dkms remove -m asus-fan//
  474  dkms remove -m asus-fan/*
  475  dkms
  476  clear
  477  dkms
  478  dkms status
  479  reboot # This is when the default boot loader entry stopped working
  480  pacman
  481  pacman -h
  482  pacman -Q
  483  pacman -Q | linux
  484  pacman -Q | grep linux
  485  sudo pacman -S linux # This is when I tried to see if I could just reinstall the linux kernel, but it only updated it on the fallback boot option.
  486  reboot # to see if that fixed the issue. It did not.
  487  hyfetch
  488  init
  489  clear
  490  journalctl -r
  491  journalctl
  492  clear
  493  journalctl -b
  494  clear
  495  mkinitcpio
  496  mkinitcpio -P # tried rebuilding all just to see if that could've fixed it. It did not
  497  sudo mkinitcpio -P
  498  sudo mkinitcpio -p linux # tried rebuilding the default one just by itself, also did not fix.
  499  reboot
  500  ls
  501  ls /boot/loader/
  502  nano /boot/loader/loader.conf
  503  nano /boot/loader/entries
  504  nano /boot/loader/entries/2024-04-02_19-20-47_linux
  505  nano /boot/loader/entries/2024-04-02_19-20-47_linux.conf #I know I could've catted it, but this is the entry that I'm trying to get to boot, this entry will no longer boot.
  506  bootctl status
  507  bootctl
  508  clear
  509  ./school.sh
  510  dmesh
  511  dmesg
  512  sudo dmesg
  513  clear
  514  bootctl
  515  bootctl -h
  516  systemd-boot
  517  bootctl list
  518  clear
  519  bootctl list
  520  bootctl -h
  521  bootctl update default
  522  bootctl update
  523  sudo bootctl update
  524  sudo bootctl is-installed
  525  sudo bootctl kernel-inspect default
  526  sudo bootctl kernel-inspect
  527  sudo bootctl kernel-inspect --help
  528* sudo bootctl
  529  sudo bootctl kernel-inspect linux
  530  sudo bootctl kernel-inspect 2024-04-02_19-20-47_linux.conf
  531  sudo bootctl kernel-inspect
  532  sudo bootctl
  533  clear
  534  bootctl --list
  535  bootctl list
  536  clear
  537  genfstab /
  538  bootctl
  539  systemd-analyze
  540  systemd-analyze blame
  541  c;ear
  542  systemctl --failed
  543  clear
  544  bootctl list
  545  bootctl
  546  clear
  547  history

History in SU mode:

   91  echo 0 > /sys/devices/system/cpu/cpufreq/boost # start of first 'su' (this one is before attempting to modify the fans)
   92  exit # end of the first 'su'
# ---- Just to differentiate between the rest of the commands

   93  echo 255 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1 # start of second 'su'
   94  exit  # end of second 'su'
# ---- just to differentiate between the rest of the commands

   95  modprobe asus_fan # start of third 'su'
   96  modprobe asus_fan
   97  modprobe asus_*
   98  ls /lib/modules/7.3.6-arch1-2/
   99  modprobe
  100  modprobe -h
  101  modprobe asus-fan
  102  modprobe asus-
  103  modprobe asus-fan
  104  modprobe asus-fan
  105  modprobe asus-fan
  106  modprobe asus-fan
  107  modprobe asus-fan
  108  echo 255 > /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1
  109  echo 255 > /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/
  110  echo 255 > /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*
  111  exit # end of third 'su'
# ----

  112  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable # start of fourth 'su'
  113  watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  114  watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable/"
  115  watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  116  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable

# NOTE: 117-127 are not relevant to this information, so I have omitted them for space savings

  128  echo 2 > /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm
  129  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  130  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  131  echo 2 > /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1_enable
  132  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  133  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  134  watch -n 1 "echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable"
  135  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  136  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable/
  137  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable*
  138  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  139  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/pwm1_enable
  140  exit # end of fourth 'su'
# ----

  141  echo 0 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable # start of fifth 'su'
  142  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  143  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  144  echo 0 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  145  echo 2 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  146  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  147  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  148  echo 2 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  149  end
  150  exit # end of fifth 'su'
# ----

  151  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable #start of sixth 'su'
  152  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/
  153  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/
  154  clear
  155  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/ -l
  156  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/
  157  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable
  158  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  159  echo 1 >  /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  160  echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  161  echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  162  echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  163  echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  164  echo  > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  165  echo "1"  > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  166  echo 2  > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/pwm1_enable
  167  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/
  168  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5
  169  ls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5 -l
  170  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  171  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  172  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  173  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  174  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  175  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  176  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  177  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  178  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  179  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  180  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  181  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  182  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  183  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  184  echo 0 /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  185  echo 0 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  186  echo 0 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  187  echo 0 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  188  echo 0 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/fan1_input
  189  cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/po
  190  echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable
  191  exit
  192  cat cpufv
  193  read cpufv
  194  tail -n cpufv
  195  tail cpufv
  196  exit # end of sixth 'su'
# ----

  197  history

I hope you don't mind all of this text, but please do tell me if there's anything else you would like me to add in this, so I'm able to help others that may have the same problem in the future.

Thank you.

Online

#2 Today 20:36:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,128

Re: Default boot loader entry immediately reboots machine

it only updated it on the fallback boot option

What exactly does that mean?

How immediately is the reboot, are there any messages flying by before?
You can slow them down using "boot_delay", https://raw.githubusercontent.com/torva … meters.txt
If not, your phone has a camera that can read faster than you - use a (makeshift) tripod.

Is "amdgpu.abmlevel=0" relevant and what's the output of

uname -a
pacman -Qs kernel | grep 'local/linux'
ls -lR /boot

root=PARTUUID=<REDACTED>

This is neither necessary nor helpful, those UUIDs are generate for deterministic access - make sure it's correct and the same as for the fallback image.

Online

#3 Today 21:00:54

ORIOLESFan02
Member
Registered: 2024-04-03
Posts: 51

Re: Default boot loader entry immediately reboots machine

Seth wrote:

What exactly does that mean?

That means it updated the Linux Kernel on the fallback boot entry, because that's what I have to use in order to even get onto my machine. So it went from like 6.something.something to 7.3.6

How immediately is the reboot, are there any messages flying by before?

I'd say it only takes about a few seconds, and from what I'm seeing, the verbose messages seemed normal to me. I can take a look at them

You can slow them down using "boot_delay"

Where exactly would I put the "boot_delay" parameter? Would I do it along with the restart command?

Is "amdgpu.abmlevel=0" relevant

No, that was to disable what on Windows was called "Vari-Bright", see this thread/topic if you'd like to understand more about it.

and what is the output of...

[dog@laptop ~]$ uname -a
pacman -Qs kernel | grep 'local/linux'
ls -lR /boot
Linux laptop 7.3.6-arch1-2 #1 SMP PREEMPT_DYNAMIC Sat, 28 Nov 2026 21:15:57 +0000 x86_64 GNU/Linux
local/linux 7.3.6.arch1-2
local/linux-api-headers 7.3-1
local/linux-headers 7.3.6.arch1-2
/boot:
total 289412
-rwxr-xr-x 1 root root    307200 Nov 25 01:06 amd-ucode.img
drwxr-xr-x 5 root root      4096 Apr  2  2024 EFI
-rwxr-xr-x 1 root root 153286226 Dec  1 13:16 initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 125301064 Dec  1 13:16 initramfs-linux.img
drwxr-xr-x 3 root root      4096 Dec  1 13:17 loader
-rwxr-xr-x 1 root root  17445376 Dec  1 13:09 vmlinuz-linux

/boot/EFI:
total 12
drwxr-xr-x 2 root root 4096 Dec  1 13:26 BOOT
drwxr-xr-x 2 root root 4096 Apr  2  2024 Linux
drwxr-xr-x 2 root root 4096 Dec  1 13:26 systemd

/boot/EFI/BOOT:
total 160
-rwxr-xr-x 1 root root 160256 Nov  5 08:36 BOOTX64.EFI

/boot/EFI/Linux:
total 0

/boot/EFI/systemd:
total 260
-rwxr-xr-x 1 root root 101376 May  9  2024 systemd-boot-fallbackx64.efi
-rwxr-xr-x 1 root root 160256 Nov  5 08:36 systemd-bootx64.efi

/boot/loader:
total 16
drwxr-xr-x 2 root root 4096 May 22  2024 entries
-rwxr-xr-x 1 root root    6 Apr  2  2024 entries.srel
-rwxr-xr-x 1 root root   29 Apr  2  2024 loader.conf
-rwxr-xr-x 1 root root   32 Dec  1 13:17 random-seed

/boot/loader/entries:
total 8
-rwxr-xr-x 1 root root 274 May 22  2024 2024-04-02_19-20-47_linux.conf
-rwxr-xr-x 1 root root 274 Apr  2  2024 2024-04-02_19-20-47_linux-fallback.conf
[dog@laptop ~]$ 

... make sure it's correct and the same as for the fallback image

They're the same. I made sure beforehand, before redacting them.

Online

Board footer

Powered by FluxBB