2014年8月13日 星期三

How to check PCIe card link speed under linux

How to check PCIe card link speed under linux

#lspci -vv

(vv not w)


refer:http://unix.stackexchange.com/questions/393/how-to-check-how-many-lanes-are-used-by-the-pcie-card

RHEL6 UEFI:error 13 :invalid or unsupported executable format

RHEL6 UEFI:error 13 :invalid or unsupported executable format


After you install RHEL6 UEFI mode, you cannot enter into OS,any you see the error message
error 13 :invalid or unsupported executable format

You install the OS with tboot pacakge.
You have to re-install OS without tboot package.




Refer:http://support.lenovo.com/us/en/documents/ht075591

2014年8月12日 星期二

dmar: DRHD: handling fault status reg 2

dmar: DRHD: handling fault status reg 2


When you enable vt-d ,then system cannot boot to linux OS.

You have to disable vt-d first, then modify the grub.conf
 (intel_iommu=on => off)


2014年8月1日 星期五

Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory


Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

Method 1:

1.     mknod /dev/ipmi0 c 254 0

2.     chkconfig --level 5 ipmi on



---------------------------------------------------------------------------------------
Method 2:

[root@localhost ~]# ipmitool sdr
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No
such file or directory
Get Device ID command failed
Unable to open SDR for reading

Execute below command:
(Sudo is for Ubuntu)
[root@localhost ~]#sudo modprobe ipmi_watchdog
[root@localhost ~]#sudo modprobe ipmi_poweroff
[root@localhost ~]#sudo modprobe ipmi_devintf
[root@localhost ~]#sudo modprobe ipmi_si
[root@localhost ~]#sudo modprobe ipmi_msghandler
[root@localhost ~]# sudo ipmitool sdr

How to check CPU&memory loading under ubuntu

How to check CPU&memory loading under ubuntu Memory #free -m CPU #top Or install sw # sudo apt-get install htop #htop