From: <ale...@or...> - 2013-10-29 08:54:20
|
Hi! On 10/28/2013 12:44 PM, Zeng Linggang wrote: > Hi, > > When we execute the test of tpci in RHEL6.4GA, the system will crash: > - filesystem is broken > - network is off > Some logs are as follows: > > [root@RHEL6U4GA-Intel64 ltp]# ata1.00: exception Emask 0x52 SAct 0x1 SErr 0xffffffff action 0xe frozen > ata1: SError: { RecovData RecovCommon UnrecovData Persist Proto HostInt PHYInt CommWake 10B8B Display > Seq TrStaTrns UnrecFIS DevExch } > ata1.00: failed command: WRITE FPDMA QUEUED > ata1.00: cmd 61/08:00:c8:fb:f3/00:00:39:00:00/40 tag 0 ncq 4096 out > res 40/00:18:48:eb:33/00:00:38:00:00/40 Emask 0x56 (ATA bus error) > ata1.00: stauts: { DRDY } > ata1.00 failed to resume link (SControl FFFFFFFF) > ata1.00 failed to resume link (SControl FFFFFFFF) > ata1.00 failed to resume link (SControl FFFFFFFF) > Buffer I/O error on device sda13, logical block 4752991 > sd 0:0:0:0: rejecting I/O to offline device > sd 0:0:0:0: rejecting I/O to offline device > ... > EXT4-fs error (device sda13): ext4_find_entry: reading directory #524297 offset 0 > EXT4-fs error (device sda13): ext4_find_entry: reading directory #524297 offset 0 > ... > Could you please find out which particular test case does it? it can be done manually the following way: insmod ltp_pci.ko Get your ata bus and pci slot number, then write it to the file (the number is 16bit unsigned integer, the first 8 bits is a device number, the last is a bus number): echo "number" > /sys/devices/ltp_tcpi/bus_slot Then try test-cases one by one: echo 1 > /sys/devices/ltp_tcpi/tcase ... echo 17 > /sys/devices/ltp_tcpi/tcase You can check the result of each test case by reading /sys/devices/ltp_tcpi/result file. 0 - PASS, 1 - FAIL. Thanks, Alexey |