# Delhi G4 GPU disappears after a Linux kernel upgrade

> Compare the running kernel, module installation and boot logs with the last working G4 image. A kernel update can expose a driver build or signing problem, and changing Secure Boot can remove important evidence.

If a GPU disappears immediately after an operating system update, first preserve the affected boot. You need to know what changed in the guest and whether the GPU is still attached to the VM.

## Identify the Delhi G4 variant

[Google’s Delhi rows](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) list G4 in `asia-south2-a` and `asia-south2-c`. The c row also lists A3 Ultra. Verify that the repaired VM and the broken VM use the same series and accelerator configuration before calling them an equivalent baseline. [The machine reference](https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines) distinguishes G4 configurations, so save the full size rather than only the hardware family.

## Check the module against the kernel actually running

Collect the running kernel version and the relevant kernel log messages. Compare the NVIDIA module installed for that kernel with the one from the last working boot. Use [Google’s driver installation guide](https://docs.cloud.google.com/compute/docs/gpus/install-drivers-gpu) for the operating system and boot configuration; it includes a different path for Secure Boot. A package being present on disk does not by itself show that a compatible signed module loaded. Keep the exact error before you make a new installation attempt.

## Use a controlled recovery

If a validated previous image still has a working driver, test it on an equivalent VM before changing a busy production instance. Compare the machine type, OS build, kernel, signing state and driver branch. After recovery, run a small CUDA workload in the same environment that previously failed. If your infrastructure policy requires Secure Boot, keep that requirement and repair the signing or supported installation rather than treating a boot-security change as the standard fix.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- Install GPU drivers: https://docs.cloud.google.com/compute/docs/gpus/install-drivers-gpu
- Accelerator-optimized GPU machine types: https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines
