Difference between revisions of "Operating System Specific Workarounds/Debian"
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
* Switch from serial to VGA text console | * Switch from serial to VGA text console | ||
− | # Edit /etc/modules and append "ast" to it | + | # Edit /etc/initramfs-tools/modules and append "ast" to it |
# As root, run update-initramfs -u -k all | # As root, run update-initramfs -u -k all | ||
# Edit /etc/default/grub and change the "console=hvc0" string to "console=tty0" | # Edit /etc/default/grub and change the "console=hvc0" string to "console=tty0" | ||
# As root, run update-grub | # As root, run update-grub | ||
# Reboot | # Reboot | ||
+ | |||
+ | === Blank output on GPU after blacklisting AST === | ||
+ | '''Cause''' | ||
+ | |||
+ | There appears to be an oversight in Debian wherein when the ''firmware-amd-graphics'' package is installed initramfs is not updated automatically to include the amdgpu module and the GPU firmware. | ||
+ | |||
+ | '''Workaround''' | ||
+ | |||
+ | * Manually load amdgpu into initramfs | ||
+ | |||
+ | #Append ''amdgpu'' to /etc/initramfs-tools/modules | ||
+ | #As root, run update-initramfs -u | ||
+ | #Edit /etc/default/grub and change GRUB_CMDLINE_LINUX= to GRUB_CMDLINE_LINUX="modprobe.blacklist=ast video=offb:off console=tty0" | ||
+ | #Run update-grub as root | ||
+ | #Shutdown | ||
+ | #With BMC power disconnected, ascertain that the J10109 jumper is set as disabled before booting again |
Revision as of 21:51, 14 January 2022
Debian-Specific Issues and Workarounds
Contents
Bullseye
Blank VGA
Cause
The required open-source (libre) video driver module ("ast") is not included in the installer package
Upstream Bug Report
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990016
Status
Root cause found, solution provided, upstream not responding
Workaround
Debian can be installed via the serial console, then switched to VGA mode after installation (i.e. after the ASpeed driver module is available to the kernel). The following instructions assume you have SSH shell access to the BMC:
- Install
- With system power off, SSH to the BMC
- Run 'obmc-console-client' on the BMC to attach the current SSH shell to the serial console
- Attach the Debian install media
- Power on the system
- When the Petitboot screen appears, select the Debian install option you want and press 'e' to edit
- Highlight the "Boot arguments" field and append "console=hvc0" after "quiet". Ensure there is at least one space between "quiet" and "console=hvc0".
- Highlight OK and press Enter
- Ensure the previously-selected Debian install option is still selected, then press Enter
- Install Debian normally
- Switch from serial to VGA text console
- Edit /etc/initramfs-tools/modules and append "ast" to it
- As root, run update-initramfs -u -k all
- Edit /etc/default/grub and change the "console=hvc0" string to "console=tty0"
- As root, run update-grub
- Reboot
Blank output on GPU after blacklisting AST
Cause
There appears to be an oversight in Debian wherein when the firmware-amd-graphics package is installed initramfs is not updated automatically to include the amdgpu module and the GPU firmware.
Workaround
- Manually load amdgpu into initramfs
- Append amdgpu to /etc/initramfs-tools/modules
- As root, run update-initramfs -u
- Edit /etc/default/grub and change GRUB_CMDLINE_LINUX= to GRUB_CMDLINE_LINUX="modprobe.blacklist=ast video=offb:off console=tty0"
- Run update-grub as root
- Shutdown
- With BMC power disconnected, ascertain that the J10109 jumper is set as disabled before booting again