You can use the below command to verify SOL function.
ipmiutil sol -a -N 172.16.1.41 -U admin -P admin -V 4 -i host.sh -o tmp.log
2016年1月27日 星期三
2016年1月5日 星期二
Compute the executing time in the code
struct timeval tv , tv2 ;
unsigned long start_utime , end_utime;
float time_period;
...
...
unsigned long start_utime , end_utime;
float time_period;
...
...
2015年10月16日 星期五
2015年10月1日 星期四
2015年9月21日 星期一
Syslog under Ubuntu
vi /etc/rsyslog.conf
#
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf
#
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf
2015年7月29日 星期三
How to check the EEPROM in Intel X520.
1. Go to IBL to download the latest Intel® Network Connections Tools
2. Boot to DOS, then execute lanconf.exe in the dos/svtools/
3. Select Flash/EEPROM, and choice Raw EEPROM.
2. Boot to DOS, then execute lanconf.exe in the dos/svtools/
3. Select Flash/EEPROM, and choice Raw EEPROM.
2015年7月1日 星期三
Enable UART4 in AST2500
mw 1e6e2000 1688a8a8
mw 1e6e200c e1c47e80
mw 1e78f00c 93
mw 1e78f00c 27 //Baudrate 38400 (divisor =13x3=39=27h)
mw 1e78f00c 13
mw 1e78f000 45 //output 'D'
mw 1e6e200c e1c47e80
mw 1e78f00c 93
mw 1e78f00c 27 //Baudrate 38400 (divisor =13x3=39=27h)
mw 1e78f00c 13
mw 1e78f000 45 //output 'D'
2015年5月25日 星期一
[Linux]The OS Critical Stop sensor event.
http://openipmi.sourceforge.net/IPMI.txt
上述openipmi user guide有提到當panic timeout發生時,Openipmi可以送筆OS critical stop
event log給BMC。
上述openipmi user guide有提到當panic timeout發生時,Openipmi可以送筆OS critical stop
event log給BMC。
2015年4月7日 星期二
Enable kcs debug for OpenIPMI driver
可以透過下列的方式打開kcs debug...
echo 7 > /sys/module/ipmi_si/parameters/kcs_debug
即可在dmesg看到kcs state, 包含兩個數字
第一個數字為driver定義的kcs state:
echo 7 > /sys/module/ipmi_si/parameters/kcs_debug
即可在dmesg看到kcs state, 包含兩個數字
第一個數字為driver定義的kcs state:
2015年3月16日 星期一
[Linux]Change the baudrate while uncompressing Linux.
Edit the below source file and change the BAUD_RATE.
linux/arch/arm/include/asm/soc-ast2400/lowlevel_serial.h
linux/arch/arm/include/asm/soc-ast2400/lowlevel_serial.h
2015年3月12日 星期四
OpenBMC study
1. 如果遇到下面header file找不到__NR_setns的問題,可以把該header file後半部#if 0掉。
/poky/build/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/include/namespace.h
2. 如果想改掉default root's password ('0penBmc'),可以到下面的路徑去做修改。
poky/build/conf/local.conf
3. OpenBMC沒有支援nfs protocol,但可以使用tftp方式把改好的tool/demand丟到/mnt/data (jffs2 rw)或者/(rootfs rw)下面去執行。
4. ipmid是處理IPMI request的main task,透過UNIX socket,聆聽來自/tmp/ipmi_socket的request。
/poky/build/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/include/namespace.h
2. 如果想改掉default root's password ('0penBmc'),可以到下面的路徑去做修改。
poky/build/conf/local.conf
3. OpenBMC沒有支援nfs protocol,但可以使用tftp方式把改好的tool/demand丟到/mnt/data (jffs2 rw)或者/(rootfs rw)下面去執行。
4. ipmid是處理IPMI request的main task,透過UNIX socket,聆聽來自/tmp/ipmi_socket的request。
2014年12月25日 星期四
Add some file into /conf
1. Copy the files into "source/sys_defaultcfg-1.0.0-src/data/defaults/etc/defconfig"
or
2. Copy the files into source/sys_base-2.159.0-src/data/defaults/etc/defconfig/
or
2. Copy the files into source/sys_base-2.159.0-src/data/defaults/etc/defconfig/
2014年10月7日 星期二
[Linux]使用dd清除raid config
RAID的config通常是放在最後一個cylinder上的
dd if=/dev/zero of=/dev/sdb bs=100MB seek=4990
資訊來源: http://www.pczone.com.tw/vbb3/archive/t-151980.html
dd if=/dev/zero of=/dev/sdb bs=100MB seek=4990
資訊來源: http://www.pczone.com.tw/vbb3/archive/t-151980.html
2013年7月17日 星期三
Build SPX in ubuntu
1. Change bash
unlink /bin/sh
ln ‐sf bash /bin/sh
2. install the necessary packages.
apt‐get install libtool
apt‐get install zlib1g
apt‐get install zlib1g‐dev
apt‐get install libcurl4‐gnutls‐dev
unlink /bin/sh
ln ‐sf bash /bin/sh
2. install the necessary packages.
apt‐get install libtool
apt‐get install zlib1g
apt‐get install zlib1g‐dev
apt‐get install libcurl4‐gnutls‐dev
2013年5月29日 星期三
Intel CPU發展相關的資訊
1. Intel 的 micro-architecture發展歷程 from http://www.mouseos.com/
2. Intel Xeon CPU的命令規則 downloaded from xfastest
2. Intel Xeon CPU的命令規則 downloaded from xfastest
訂閱:
文章 (Atom)
