[HanoiLUG] Problem with SATA HDD on linux kernel 2.6.18

2007-11-20 Hội thoại Truong Anh Tuan
My friends,

I have got an serious problem with SATA HDD running on CentOS Linux 5 (latest 
patched kernel 2.6.18).

My server often stops working. Although It can respond ping packets, I can not 
connect to any services.
I review the server console, and see some error messages like:
Nov 1 01:15:22 galgao kernel: SCSI device sda: 390719855 512-byte hdwr sectors 
(200049 MB)
Nov 1 01:15:22 galgao kernel: sda: Write Protect is off
Nov 1 01:15:22 galgao kernel: SCSI device sda: drive cache: write back

Nov 1 01:15:22 galgao kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 
action 0x0
Nov 1 01:15:22 galgao kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 
0x4 (device error)
Nov 1 01:15:22 galgao kernel: ata1: EH complete

In normal conditions, I see these messages in dmesg results:
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)

I googled the phrase ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 
(device error) and tried some instructions. However, the problem has not been 
solved. My server often still gets dump.

Have you got any problem or something like this? And can you tell me a good 
solution?

Thank you in advance.
 
Kind regards,
Tuan
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.hanoilug.org/pipermail/hanoilug/attachments/20071120/1691d524/attachment.htm
 


[HanoiLUG] Problem with SATA HDD on linux kernel 2.6.18

2007-11-20 Hội thoại Nguyen Vu Hung
2007/11/20, Truong Anh Tuan dtanh at yahoo.com:
 I googled the phrase ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4
 (device error) and tried some instructions. However, the problem has not
 been solved. My server often still gets dump.

I got a search run and found this:

http://search.luky.org/linux-users.a/msg07441.html

Arcording to this page, your problems may be one of:

1. HDD broken
2. The compatibility between the HDD and the SATA controller is not good.
3. SATA driver.

And it is suggested that you want to check your HDD with tools like Seatools


HTH.


-- 
Best Regards,
Nguyen Hung Vu
vuhung16plus{remo...@gmail.dot.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/


[HanoiLUG] Problem with SATA HDD on linux kernel 2.6.18

2007-11-20 Hội thoại David Tremblay

On mar, 2007-11-20 at 02:35 -0800, Truong Anh Tuan wrote:
 My friends,
 
 I have got an serious problem with SATA HDD running on CentOS Linux 5
 (latest patched kernel 2.6.18).
 
 My server often stops working. Although It can respond ping packets, I
 can not connect to any services.
 I review the server console, and see some error messages like:
 Nov 1 01:15:22 galgao kernel: SCSI device sda: 390719855 512-byte hdwr
 sectors (200049 MB)
 Nov 1 01:15:22 galgao kernel: sda: Write Protect is off
 Nov 1 01:15:22 galgao kernel: SCSI device sda: drive cache: write back
 
 Nov 1 01:15:22 galgao kernel: ata1.00: exception Emask 0x0 SAct 0x0
 SErr 0x0 action 0x0
 Nov 1 01:15:22 galgao kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat
 0x51 err 0x4 (device error)
 Nov 1 01:15:22 galgao kernel: ata1: EH complete
 
 In normal conditions, I see these messages in dmesg results:
 ata1: EH complete
 ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
 ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
 
 I googled the phrase ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err
 0x4 (device error) and tried some instructions. However, the problem
 has not been solved. My server often still gets dump.
 
 Have you got any problem or something like this? And can you tell me a
 good solution?

Never see that error, that said, what fsck -nv tells you ? and what your
googgling tells you ?

Do you have RAID card ? What's the motherboard ?

David