2007-12-15 20:00:39

by Zsolt Barat

[permalink] [raw]
Subject: ATA bus error with external hd on esata

hi list,
i just bought a "MyBook" called external HD with a fixed enclosure, from
WD. Connected to the SATA port i constantly get "ATA bus error" messages
in the kernel log. Is this a known issue?

/var/log/messages:
Dec 15 18:37:53 proto1 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0
action 0x2
Dec 15 18:37:53 proto1 ata2.00: irq_stat 0x40000001
Dec 15 18:37:53 proto1 ata2.00: cmd 35/00:e0:a7:d2:01/00:01:33:00:00/e0
tag 0 cdb 0x0 data 245760 out
Dec 15 18:37:53 proto1 res 51/84:00:86:d4:01/00:00:33:00:00/e0 Emask
0x10 (ATA bus error)
Dec 15 18:37:54 proto1 ata2: soft resetting port
Dec 15 18:37:54 proto1 ata2: SATA link up 1.5 Gbps (SStatus 113 SControl
310)
Dec 15 18:37:54 proto1 ata2.00: configured for UDMA/33
Dec 15 18:37:54 proto1 ata2: EH complete
Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] 976773168 512-byte hardware
sectors (500108 MB)
Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Write Protect is off
Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA
Dec 15 18:38:15 proto1 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0
action 0x2
Dec 15 18:38:15 proto1 ata2.00: irq_stat 0x40000001
Dec 15 18:38:15 proto1 ata2.00: cmd 35/00:80:bf:09:14/00:01:33:00:00/e0
tag 0 cdb 0x0 data 196608 out
Dec 15 18:38:15 proto1 res 51/84:00:3e:0b:14/00:00:33:00:00/e0 Emask
0x10 (ATA bus error)
Dec 15 18:38:15 proto1 ata2: soft resetting port
Dec 15 18:38:15 proto1 ata2: SATA link up 1.5 Gbps (SStatus 113 SControl
310)
Dec 15 18:38:15 proto1 ata2.00: configured for UDMA/33
Dec 15 18:38:15 proto1 ata2: EH complete
Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] 976773168 512-byte hardware
sectors (500108 MB)
Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Write Protect is off
Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA

lspci:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 13)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SB600 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
01:05.2 Audio device: ATI Technologies Inc Radeon X1200 Series Audio
Controller
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev c0)

thanks and best regards

zsolt


2007-12-15 20:11:15

by Zsolt Barat

[permalink] [raw]
Subject: Re: ATA bus error with external hd on esata

Zsolt Barat schrieb:
> hi list,
> i just bought a "MyBook" called external HD with a fixed enclosure, from
> WD. Connected to the SATA port i constantly get "ATA bus error" messages
> in the kernel log. Is this a known issue?
>
> /var/log/messages:
> Dec 15 18:37:53 proto1 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0
> action 0x2
> Dec 15 18:37:53 proto1 ata2.00: irq_stat 0x40000001
> Dec 15 18:37:53 proto1 ata2.00: cmd 35/00:e0:a7:d2:01/00:01:33:00:00/e0
> tag 0 cdb 0x0 data 245760 out
> Dec 15 18:37:53 proto1 res 51/84:00:86:d4:01/00:00:33:00:00/e0 Emask
> 0x10 (ATA bus error)
> Dec 15 18:37:54 proto1 ata2: soft resetting port
> Dec 15 18:37:54 proto1 ata2: SATA link up 1.5 Gbps (SStatus 113 SControl
> 310)
> Dec 15 18:37:54 proto1 ata2.00: configured for UDMA/33
> Dec 15 18:37:54 proto1 ata2: EH complete
> Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] 976773168 512-byte hardware
> sectors (500108 MB)
> Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Write Protect is off
> Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
> Dec 15 18:38:15 proto1 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0
> action 0x2
> Dec 15 18:38:15 proto1 ata2.00: irq_stat 0x40000001
> Dec 15 18:38:15 proto1 ata2.00: cmd 35/00:80:bf:09:14/00:01:33:00:00/e0
> tag 0 cdb 0x0 data 196608 out
> Dec 15 18:38:15 proto1 res 51/84:00:3e:0b:14/00:00:33:00:00/e0 Emask
> 0x10 (ATA bus error)
> Dec 15 18:38:15 proto1 ata2: soft resetting port
> Dec 15 18:38:15 proto1 ata2: SATA link up 1.5 Gbps (SStatus 113 SControl
> 310)
> Dec 15 18:38:15 proto1 ata2.00: configured for UDMA/33
> Dec 15 18:38:15 proto1 ata2: EH complete
> Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] 976773168 512-byte hardware
> sectors (500108 MB)
> Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Write Protect is off
> Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Write cache: enabled, read
> cache: enabled, doesn't support DPO or FUA
>
> lspci:
> 00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
> 00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
> 00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
> 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
> 00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
> 00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
> 00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
> 00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
> 00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
> 00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
> 00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 13)
> 00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
> 00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
> 00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
> 00:14.4 PCI bridge: ATI Technologies Inc SB600 PCI to PCI Bridge
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> HyperTransport Technology Configuration
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> Address Map
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> Miscellaneous Control
> 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
> 01:05.2 Audio device: ATI Technologies Inc Radeon X1200 Series Audio
> Controller
> 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
> 03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
> Controller (rev c0)
>
> thanks and best regards
>
> zsolt
>
sorry, kernel version is: 2.6.23-gentoo-r1

2007-12-17 10:53:42

by Andrew Morton

[permalink] [raw]
Subject: Re: ATA bus error with external hd on esata

On Sat, 15 Dec 2007 21:10:47 +0100 Zsolt Barat <[email protected]> wrote:

> Zsolt Barat schrieb:
> > hi list,

Let's cc the IDE development list.

> > i just bought a "MyBook" called external HD with a fixed enclosure, from
> > WD. Connected to the SATA port i constantly get "ATA bus error" messages
> > in the kernel log. Is this a known issue?
> >
> > /var/log/messages:
> > Dec 15 18:37:53 proto1 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0
> > action 0x2
> > Dec 15 18:37:53 proto1 ata2.00: irq_stat 0x40000001
> > Dec 15 18:37:53 proto1 ata2.00: cmd 35/00:e0:a7:d2:01/00:01:33:00:00/e0
> > tag 0 cdb 0x0 data 245760 out
> > Dec 15 18:37:53 proto1 res 51/84:00:86:d4:01/00:00:33:00:00/e0 Emask
> > 0x10 (ATA bus error)
> > Dec 15 18:37:54 proto1 ata2: soft resetting port
> > Dec 15 18:37:54 proto1 ata2: SATA link up 1.5 Gbps (SStatus 113 SControl
> > 310)
> > Dec 15 18:37:54 proto1 ata2.00: configured for UDMA/33
> > Dec 15 18:37:54 proto1 ata2: EH complete
> > Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] 976773168 512-byte hardware
> > sectors (500108 MB)
> > Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Write Protect is off
> > Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> > Dec 15 18:37:54 proto1 sd 1:0:0:0: [sdb] Write cache: enabled, read
> > cache: enabled, doesn't support DPO or FUA
> > Dec 15 18:38:15 proto1 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0
> > action 0x2
> > Dec 15 18:38:15 proto1 ata2.00: irq_stat 0x40000001
> > Dec 15 18:38:15 proto1 ata2.00: cmd 35/00:80:bf:09:14/00:01:33:00:00/e0
> > tag 0 cdb 0x0 data 196608 out
> > Dec 15 18:38:15 proto1 res 51/84:00:3e:0b:14/00:00:33:00:00/e0 Emask
> > 0x10 (ATA bus error)
> > Dec 15 18:38:15 proto1 ata2: soft resetting port
> > Dec 15 18:38:15 proto1 ata2: SATA link up 1.5 Gbps (SStatus 113 SControl
> > 310)
> > Dec 15 18:38:15 proto1 ata2.00: configured for UDMA/33
> > Dec 15 18:38:15 proto1 ata2: EH complete
> > Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] 976773168 512-byte hardware
> > sectors (500108 MB)
> > Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Write Protect is off
> > Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> > Dec 15 18:38:15 proto1 sd 1:0:0:0: [sdb] Write cache: enabled, read
> > cache: enabled, doesn't support DPO or FUA
> >
> > lspci:
> > 00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
> > 00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
> > 00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
> > 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
> > 00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
> > 00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
> > 00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
> > 00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
> > 00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
> > 00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
> > 00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 13)
> > 00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
> > 00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
> > 00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
> > 00:14.4 PCI bridge: ATI Technologies Inc SB600 PCI to PCI Bridge
> > 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> > HyperTransport Technology Configuration
> > 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> > Address Map
> > 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> > DRAM Controller
> > 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> > Miscellaneous Control
> > 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
> > 01:05.2 Audio device: ATI Technologies Inc Radeon X1200 Series Audio
> > Controller
> > 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
> > 03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
> > Controller (rev c0)
> >
> > thanks and best regards
> >
> > zsolt
> >
> sorry, kernel version is: 2.6.23-gentoo-r1
>

2007-12-17 17:09:28

by Greg Freemyer

[permalink] [raw]
Subject: Re: ATA bus error with external hd on esata

On Dec 17, 2007 5:53 AM, Andrew Morton <[email protected]> wrote:
> On Sat, 15 Dec 2007 21:10:47 +0100 Zsolt Barat <[email protected]> wrote:
>
> > Zsolt Barat schrieb:
> > > hi list,
>
> Let's cc the IDE development list.
>
> > > i just bought a "MyBook" called external HD with a fixed enclosure, from
> > > WD. Connected to the SATA port i constantly get "ATA bus error" messages
> > > in the kernel log. Is this a known issue?
> > >

As an FYI: I've had a lot of problems with the big prepackaged drives
in the last 6 months even from Windows, so I would not be too quick to
blame Linux.

ie.
I bought several 500GB / 1000GB Buffalo Drives last month with plans
to use them from Windows via USB.

I attempted to do a lot of heavy file copying to/from them. I was
getting a bunch of "Delayed Write Failures",

I finally gave up.

The 500GB drives had a single hard drive internally, so I opened the
case, removed the drive and connected them via standalone external
carriers I had around. In that mode the drives worked fine (from
Windows). I've used both standalone eSata external carriers and
standalone USB external carriers with these same physical drives with
no issues.

My conclusion is that the electronics in the prepackaged external
units is just not up to the job if your doing heavy i/o.

Greg
--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com

2007-12-17 17:27:56

by Jean-Louis Dupond

[permalink] [raw]
Subject: Re: ATA bus error with external hd on esata

Greg Freemyer schreef:
> On Dec 17, 2007 5:53 AM, Andrew Morton <[email protected]> wrote:
>
>> On Sat, 15 Dec 2007 21:10:47 +0100 Zsolt Barat <[email protected]> wrote:
>>
>>
>>> Zsolt Barat schrieb:
>>>
>>>> hi list,
>>>>
>> Let's cc the IDE development list.
>>
>>
>>>> i just bought a "MyBook" called external HD with a fixed enclosure, from
>>>> WD. Connected to the SATA port i constantly get "ATA bus error" messages
>>>> in the kernel log. Is this a known issue?
>>>>
>>>>
>
> As an FYI: I've had a lot of problems with the big prepackaged drives
> in the last 6 months even from Windows, so I would not be too quick to
> blame Linux.
>
> ie.
> I bought several 500GB / 1000GB Buffalo Drives last month with plans
> to use them from Windows via USB.
>
> I attempted to do a lot of heavy file copying to/from them. I was
> getting a bunch of "Delayed Write Failures",
>
> I finally gave up.
>
> The 500GB drives had a single hard drive internally, so I opened the
> case, removed the drive and connected them via standalone external
> carriers I had around. In that mode the drives worked fine (from
> Windows). I've used both standalone eSata external carriers and
> standalone USB external carriers with these same physical drives with
> no issues.
>
> My conclusion is that the electronics in the prepackaged external
> units is just not up to the job if your doing heavy i/o.
>
> Greg
>
Could u check the temps of the disk ? I had that error in windows also
with to hot disks ! If temp is >50?C I would start to worry :)

2007-12-18 13:12:23

by Zsolt Barat

[permalink] [raw]
Subject: Re: ATA bus error with external hd on esata

Greg Freemyer schrieb:
> On Dec 17, 2007 5:53 AM, Andrew Morton <[email protected]> wrote:
>
>> On Sat, 15 Dec 2007 21:10:47 +0100 Zsolt Barat <[email protected]> wrote:
>>
>>
>>> Zsolt Barat schrieb:
>>>
>>>> hi list,
>>>>
>> Let's cc the IDE development list.
>>
>>
>>>> i just bought a "MyBook" called external HD with a fixed enclosure, from
>>>> WD. Connected to the SATA port i constantly get "ATA bus error" messages
>>>> in the kernel log. Is this a known issue?
>>>>
>>>>
>
> As an FYI: I've had a lot of problems with the big prepackaged drives
> in the last 6 months even from Windows, so I would not be too quick to
> blame Linux.
>
> ie.
> I bought several 500GB / 1000GB Buffalo Drives last month with plans
> to use them from Windows via USB.
>
> I attempted to do a lot of heavy file copying to/from them. I was
> getting a bunch of "Delayed Write Failures",
>
> I finally gave up.
>
> The 500GB drives had a single hard drive internally, so I opened the
> case, removed the drive and connected them via standalone external
> carriers I had around. In that mode the drives worked fine (from
> Windows). I've used both standalone eSata external carriers and
> standalone USB external carriers with these same physical drives with
> no issues.
>
> My conclusion is that the electronics in the prepackaged external
> units is just not up to the job if your doing heavy i/o.
>
>
thanks for your answer. the error messages are vanished for now. i
switched on/of the power supply for the hd-box sometimes and then it
suddenly worked normaly. it even negotiates with 3 Gbps and UDMA/133.

Dec 18 13:05:50 proto1 ata2: SATA link up 3.0 Gbps (SStatus 123 SControl
300)
Dec 18 13:05:50 proto1 ata2.00: ATA-6: WD My Book ES, 012, max
UDMA/133

maybe it is the cable, i have to investigate it. it also claimes to have
an automatic power on/off function, whatever this should mean.

best regards

zsolt

2007-12-18 13:14:45

by Zsolt Barat

[permalink] [raw]
Subject: Re: ATA bus error with external hd on esata

Jean-Louis Dupond schrieb:
> Greg Freemyer schreef:
> > On Dec 17, 2007 5:53 AM, Andrew Morton <[email protected]> wrote:
> >
> >> On Sat, 15 Dec 2007 21:10:47 +0100 Zsolt Barat <[email protected]> wrote:
> >>
> >>
> >>> Zsolt Barat schrieb:
> >>>
> >>>> hi list,
> >>>>
> >> Let's cc the IDE development list.
> >>
> >>
> >>>> i just bought a "MyBook" called external HD with a fixed enclosure, from
> >>>> WD. Connected to the SATA port i constantly get "ATA bus error" messages
> >>>> in the kernel log. Is this a known issue?
> >>>>
> >>>>
> >
> > As an FYI: I've had a lot of problems with the big prepackaged drives
> > in the last 6 months even from Windows, so I would not be too quick to
> > blame Linux.
> >
> > ie.
> > I bought several 500GB / 1000GB Buffalo Drives last month with plans
> > to use them from Windows via USB.
> >
> > I attempted to do a lot of heavy file copying to/from them. I was
> > getting a bunch of "Delayed Write Failures",
> >
> > I finally gave up.
> >
> > The 500GB drives had a single hard drive internally, so I opened the
> > case, removed the drive and connected them via standalone external
> > carriers I had around. In that mode the drives worked fine (from
> > Windows). I've used both standalone eSata external carriers and
> > standalone USB external carriers with these same physical drives with
> > no issues.
> >
> > My conclusion is that the electronics in the prepackaged external
> > units is just not up to the job if your doing heavy i/o.
> >
> > Greg
> >
> Could u check the temps of the disk ? I had that error in windows also with to
> hot disks ! If temp is >50?C I would start to worry :)
>
hi,
thanks for your answer. i can't check the temps via software tools, but
i doubt it's the temperature, since it seems to have a fan inbuilt into
the case.

best regards

zsolt