ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.45k stars 1.74k forks source link

Ubuntu Jammy Does Not Boot After Upgrade Kernel-5.15.61-flippy-75+o #508

Closed JFLim1 closed 1 year ago

JFLim1 commented 1 year ago

Before You Open ISSUE, Make Sure You have Read Armbian Firmware Instructions and Documentation

Describe the bug A clear and concise description of what the bug is. Ubuntu Jammy upgrade to kernel 5.15.61 and it no longer boot up. Just black screen.

To Reproduce Steps to reproduce the behavior: sudo armbian-update 5.15.61. After that No longer able to boot up.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Armbian Version

Device (please complete the following information):

Additional context Add any other context about the problem here.

Downloaded https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_Aml_jammy_08.20.0617/Armbian_22.08.0_Aml_s922x-reva_jammy_5.15.61_server_2022.08.20.img.gz and flash to USB. This image also cannot boot up.

ophub commented 1 year ago

After updating to other kernels, 5.15.61 has a bug that hdmi has no signal. In s922x, s905d, s905l3a and other socs, I have received reports that the screen cannot be displayed, but ssh can be used online.

JFLim1 commented 1 year ago

After updating to other kernels, 5.15.61 has a bug that hdmi has no signal. In s922x, s905d, s905l3a and other socs, I have received reports that the screen cannot be displayed, but ssh can be used online.

Thanks for the info. I tried to recover the Ubuntu Jammy image after installing kernel-5.15.61 using "chroot".

sudo mount /dev/sdb2 /mnt
cd /mnt
sudo chroot .
sudo armbian-update 5.18.18

or

sudo armbian-update 5.19.2

But it return Error not being able to locate the "mounting table" or something like that.

In future when we face this issue is there a way to recover?

ophub commented 1 year ago

unzip, manually overwrite /boot /usr/lib/modules

https://github.com/ophub/amlogic-s9xxx-armbian/blob/2575dab7493a89fc81e07955de3d006100142fb1/rebuild#L454-L468

JFLim1 commented 1 year ago

unzip, manually overwrite /boot /usr/lib/modules

Hi @ophub ,

Thank you.

I tried to do that. Was successful on /boot "uInitrd" "zImage" etc but when I open "/usr/lib/modules/" it shows I am in boot up image /usr/lib/modules" in this case "Bullseye" and the kernel used is 5.19.2-flipyy-76+, it does NOT show I have modules-5.15.61-flippy-75+o!

Bullseye-5.19.2-flippy /computer/lib/modules image

Jammy /rootfs/lib image

Jammy-5.15.61-flippy /lib/modules image

How to rectify this? Appreciate your guidance. Thanks.

ophub commented 1 year ago

/lib/modules the same path

JFLim1 commented 1 year ago

Thanks. Will take note of this.

JFLim1 commented 1 year ago

Hi @ophub ,

Just checking whether the newly released kernel-5.15.62-flippy-76+o resolved the:

"5.15.61 has a bug that hdmi has no signal. In s922x, s905d, s905l3a and other socs,"?

Thanks.

ophub commented 1 year ago

After I update 5.15.62, the HDMI shows normally

JFLim1 commented 1 year ago

Thank you. Fast in resolving the issue.

Edit: Upgraded to kernel-5.15.62-flippy-76+o. HDMI output works.