User Tools

Site Tools


linux:hyperv_smbus_error

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:hyperv_smbus_error [2016/01/22 15:00] (current)
Line 1: Line 1:
 +===== Hyper-V piix4_smbus ERROR =====
  
 +When you run your Debian or Ubuntu under Microsoft'​s Hyper-V, you may encounter the following error at startup.
 +
 +<​code>​
 +piix4_smbus 0000:​00:​07.3:​ SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
 +</​code>​
 +
 +Since error is beacuse of absense of smbus, you can fix the annoying error by using the following instructions.
 +
 +
 +First check if the module is loaded
 +
 +<code bash>
 +lsmod | grep i2c_piix4
 +</​code>​
 +
 +If it is loaded (if you have the error it must be loaded), open the file ''​%%/​etc/​modprobe.d/​blacklist.conf%%''​ file with your favorite text editor
 +
 +<code bash>
 +nano /​etc/​modprobe.d/​blacklist.conf
 +</​code>​
 +
 +Then append the following line to the file and save it.
 +
 +<​code>​
 +blacklist i2c_piix4
 +</​code>​
 +
 +After all, run this to update the initramfs
 +<code bash>
 +update-initramfs -u -k all
 +</​code>​
 +
 +After rebooting you will not see the same error message or you can check it with ''​dmesg''​ (to see boot messages)
 +<code bash>
 +dmesg
 +</​code>​
 +
 +Enjoy.
 +
 +{{tag>​microsoft hyperv hyper-v virtualization debian ubuntu smbus_error piix4}}
 +
 +~~DISCUSSION~~
linux/hyperv_smbus_error.txt ยท Last modified: 2016/01/22 15:00 (external edit)