LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 01-21-2008, 05:41 AM   #1
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
Hard drive udma-33 reset problem in var/log/messages


I was wondering if anyone would know what these messages are and if possible how to stop them happening.

I suspect they are something to do with either the Via SATA driver or the JMicron SATA driver.

The problem is identifiable by the fact my mouse starts behaving really laggy, like as if i was using keyboard mouse emulation, with a .5ms delay on mouse movement. It has been happening on and off for over a year. Through about 7+ kernel revisions (and thats when i noticed it). So for me since 2.6.16 on Fedora 5,6,7,8.

Hard drive functionality varies between the drive dying and hanging the system, and everything continuing on as normal. The only real way to cure it is to reboot the machine.

Output of uname -a.

Code:
Linux Shadow1 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 2007 i686 athlon i386 GNU/Linux
The error found in /var/log/messages. I used tail to get the last 300 lines, because the actual error happened about 5am GMT today (6 hrs ago).

Code:
Jan 21 11:25:55 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:25:55 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:25:55 Shadow1 kernel: ata6: EH complete
Jan 21 11:26:05 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:26:05 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x1e data 0 
Jan 21 11:26:05 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:26:05 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:26:06 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:26:06 Shadow1 kernel: ata6: EH complete
Jan 21 11:26:16 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:26:16 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x1e data 0 
Jan 21 11:26:16 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:26:16 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:26:16 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:26:16 Shadow1 kernel: ata6: EH complete
Jan 21 11:26:26 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:26:26 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x1e data 0 
Jan 21 11:26:26 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:26:26 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:26:27 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:26:27 Shadow1 kernel: ata6: EH complete
Jan 21 11:26:27 Shadow1 kernel: sr 5:0:0:0: ioctl_internal_command return code = 8000002
Jan 21 11:26:27 Shadow1 kernel:    : Sense Key : Aborted Command [current] [descriptor]
Jan 21 11:26:27 Shadow1 kernel:    : Add. Sense: No additional sense information
Jan 21 11:26:57 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:26:57 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
Jan 21 11:26:57 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:26:57 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:26:57 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:26:57 Shadow1 kernel: ata6: EH complete
Jan 21 11:27:27 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:27:27 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
Jan 21 11:27:27 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:27:27 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:27:28 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:27:28 Shadow1 kernel: ata6: EH complete
Jan 21 11:27:58 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:27:58 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
Jan 21 11:27:58 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:27:58 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:27:58 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:27:58 Shadow1 kernel: ata6: EH complete
Jan 21 11:28:28 Shadow1 kernel: ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jan 21 11:28:28 Shadow1 kernel: ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 
Jan 21 11:28:28 Shadow1 kernel:          res 40/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 21 11:28:28 Shadow1 kernel: ata6: soft resetting port
Jan 21 11:28:29 Shadow1 kernel: ata6.00: configured for UDMA/33
Jan 21 11:28:29 Shadow1 kernel: ata6: EH complete
I have no idea what is ata6, but i currently run 2x SATA Hard Drives (non-RAID) on the SATA2 interface, and 1x SATA DVD-RW on the SATA1 interface.

Thanks in advance.

Last edited by v00d00101; 01-21-2008 at 05:45 AM.
 
Old 01-21-2008, 08:42 PM   #2
amanhecer
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2

I am experiencing the same problem.

I have four disk in a raid-5 array with lvm on top.

smart reports no disk errors. Motherboard tests fine. memtest reports no errros.
but yet I still get these messages. It's almost like the whole Jmicron controller is resetting.

Anybody have any ideas?


ubuntu@ubuntu:~$ lspci |grep -i JMi
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)

Jan 22 02:20:10 ubuntu kernel: [ 3067.149657] sd 8:0:0:0: [sdc] Write Protect is off
Jan 22 02:20:10 ubuntu kernel: [ 3067.149659] sd 8:0:0:0: [sdc] Mode Sense: 00 3a 00 00
Jan 22 02:20:10 ubuntu kernel: [ 3067.150284] sd 8:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 22 02:20:23 ubuntu kernel: [ 3079.720702] ata9.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
Jan 22 02:20:23 ubuntu kernel: [ 3079.720708] ata9.00: (BMDMA stat 0x26)
Jan 22 02:20:23 ubuntu kernel: [ 3079.720713] ata9.00: cmd 35/00:70:4f:40:f5/00:00:19:00:00/e0 tag 0 cdb 0x0 data 57344 out
Jan 22 02:20:23 ubuntu kernel: [ 3079.720715] res 51/84:50:6f:40:f5/84:00:19:00:00/e0 Emask 0x30 (host bus error)
Jan 22 02:20:23 ubuntu kernel: [ 3079.720722] ata9: soft resetting port
Jan 22 02:20:23 ubuntu kernel: [ 3079.777125] ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
Jan 22 02:20:23 ubuntu kernel: [ 3079.777129] ata10.00: (BMDMA stat 0x26)
Jan 22 02:20:23 ubuntu kernel: [ 3079.777135] ata10.00: cmd 35/00:50:bf:0d:d6/00:03:19:00:00/e0 tag 0 cdb 0x0 data 434176 out
Jan 22 02:20:23 ubuntu kernel: [ 3079.777137] res 51/84:e0:2f:0e:d6/84:02:19:00:00/e0 Emask 0x30 (host bus error)
Jan 22 02:20:23 ubuntu kernel: [ 3079.777148] ata10: soft resetting port
 
Old 02-08-2008, 08:07 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,543
Blog Entries: 51

Rep: Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607Reputation: 2607
Related to bad SATA controller chipsets. See for instance the LKML discussions on Silicon Image (sata_sil) and equally "bad" chipsets. It's ongoing work and the fixes improve with about each kernel release (for me at least).
 
Old 02-14-2008, 09:45 PM   #4
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Original Poster
Rep: Reputation: 30
Thanks unSpawn. I suspected it was something like that.

Now with the new released kernel for Fedora 8, i have weird IRQ problems, but the hard drive problems seem to have ended for now.

I guess you cant win.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/messages problem x42bn6 Linux - Security 4 03-24-2007 07:04 PM
Plug-in usb hard drive gives errors in /var/log/messeges and dmesg jasone Linux - Hardware 12 11-18-2005 12:19 AM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration