SIGBUS bus error when uninstalling 390.25

I am unable to update the driver to 390.42 as the installer fails hard on SIGBUS error. the fail occurs when the existing driver is being uninstalled.

on: linux-4.4.114-42-default

# lspci for VGA 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c02] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device [10de:11c2]
	Flags: fast devsel, IRQ 16
	Memory at f6000000 (32-bit, non-prefetchable) 
	Memory at e0000000 (64-bit, prefetchable) 
	Memory at f0000000 (64-bit, prefetchable) 
	I/O ports at e000 
	Expansion ROM at f7000000 [disabled] 
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [420] Advanced Error Reporting
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] #19
	Kernel modules: nouveau, nvidia_drm, nvidia

installer log file here: https://hastebin.com/rikuxeyiti.vbs

nvidia-bug-report.log.gz (106 KB)

You are running into filesystem errors on install:

[ 1103.893473] BTRFS warning (device sda2): csum failed ino 347224 off 24653824 csum 643281340 expected csum 3751940346
[ 1103.915813] BTRFS warning (device sda2): csum failed ino 347224 off 24653824 csum 643281340 expected csum 3751940346
[ 1104.112023] BTRFS warning (device sda2): csum failed ino 347224 off 24653824 csum 643281340 expected csum 3751940346

Maybe check that first.

I was experiencing this issue and have figured it out.

Symptoms:

  • When installing a driver, it crashes because of: Received signal SIGBUS; aborting.
  • Actually it happens when uninstalling a driver: $ nvidia-uninstall -s would give the same error
  • Using strace, I found that bus error happens when nvidia-xconfig is being executed

Solution:

  • Somehow nvidia-xconfig got corrupted, and I don’t know why.
  • So I simply removed /usr/bin/nvidia-xconfig, and now everything works. nvidia-uninstall then reinstall the driver.

Hope it helps for someone else in the future.