linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lost external eSATA port
@ 2009-03-29 12:28 kenneth johansson
  2009-03-30  8:44 ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: kenneth johansson @ 2009-03-29 12:28 UTC (permalink / raw)
  To: linux-ide

After an error on the external disk the port no longer work with any disk.
When the error happened the /dev/sdx was removed. if I change disk its never recreated.
I get no log output from kernel indicating any type of action at all.

Is there a way to reset the port ?? 

--------------

I have a
Base Board Information
	Manufacturer: ASUSTeK Computer INC.
	Product Name: P5B-V
	Version: Rev 1.xx

board where  I think the eSATA port is controlled by 
IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
or perhaps 
SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
----------
kernel is 2.6.28.7
----------
this is the last kernel log regarding the esata port. 

[ 2082.771431] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 2082.771440] ata3.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 2082.771442]          cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[ 2082.771443]          res 51/04:00:00:71:00/00:00:00:00:00/00 Emask 0x1 (device error)
[ 2082.771446] ata3.00: status: { DRDY ERR }
[ 2082.771613] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 2082.771615] ata3.00: ST_FIRST: !(DRQ|ERR|DF)
[ 2082.771621] ata3.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 2082.771622]          cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[ 2082.771623]          res 00/00:00:00:00:00/00:00:00:00:00/00 Emask 0x2 (HSM violation)
[ 2082.771643] ata3: soft resetting link
[ 2082.940837] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2)
[ 2082.940840] ata3.00: revalidation failed (errno=-5)
[ 2092.944030] ata3: link is slow to respond, please be patient (ready=0)
[ 2097.964030] ata3: device not ready (errno=-16), forcing hardreset
[ 2097.964041] ata3: soft resetting link
[ 2098.128113] ata3.01: NODEV after polling detection
[ 2098.128273] ata1.00: exception Emask 0x60 SAct 0x0 SErr 0x800 action 0x6 frozen
[ 2098.128276] ata1.00: irq_stat 0x20000000, host bus error
[ 2098.128278] ata1: SError: { HostInt }
[ 2098.128282] ata1.00: cmd 35/00:00:00:0c:32/00:04:06:00:00/e0 tag 0 dma 524288 out
[ 2098.128283]          res 50/00:00:ff:0b:32/00:00:06:00:00/e0 Emask 0x60 (host bus error)
[ 2098.128285] ata1.00: status: { DRDY }
[ 2098.128288] ata1: hard resetting link
[ 2098.136193] ata3.00: NODEV after polling detection
[ 2098.136196] ata3.00: revalidation failed (errno=-2)
[ 2098.952047] ata1: SATA link down (SStatus 0 SControl 71)
[ 2103.120039] ata3: soft resetting link
[ 2103.284188] ata3.00: NODEV after polling detection
[ 2103.284192] ata3.00: revalidation failed (errno=-2)
[ 2103.284196] ata3.00: disabled
[ 2103.284229] ata3: soft resetting link
[ 2103.440115] ata3: EH complete
[ 2103.952028] ata1: hard resetting link
[ 2104.776050] ata1: SATA link down (SStatus 0 SControl 71)
[ 2104.776060] ata1: limiting SATA link speed to 1.5 Gbps
[ 2109.806610] ata1: hard resetting link
[ 2110.628041] ata1: SATA link down (SStatus 0 SControl 71)
[ 2110.628050] ata1.00: disabled
[ 2110.628069] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[ 2110.628074] sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
[ 2110.628079] Descriptor sense data with sense descriptors (in hex):
[ 2110.628082]         72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
[ 2110.628092]         06 32 0b ff 
[ 2110.628096] sd 0:0:0:0: [sda] Add. Sense: No additional sense information
[ 2110.628101] end_request: I/O error, dev sda, sector 103943168
[ 2110.628118] ata1: EH complete
[ 2110.630096] ata1.00: detaching (SCSI 0:0:0:0)
[ 2110.634675] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 2110.634726] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
[ 2110.634731] sd 0:0:0:0: [sda] Stopping disk
[ 2110.634742] sd 0:0:0:0: [sda] START_STOP FAILED
[ 2110.634744] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lost external eSATA port
  2009-03-29 12:28 lost external eSATA port kenneth johansson
@ 2009-03-30  8:44 ` Tejun Heo
  2009-03-30 20:27   ` kenneth johansson
  0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2009-03-30  8:44 UTC (permalink / raw)
  To: kenneth johansson; +Cc: linux-ide

kenneth johansson wrote:
> After an error on the external disk the port no longer work with any disk.
> When the error happened the /dev/sdx was removed. if I change disk its never recreated.
> I get no log output from kernel indicating any type of action at all.
> 
> Is there a way to reset the port ?? 

The device seems to have checked out.  Is it a WD mybook?  Can you
please attach full kernel log including the boot messages?

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lost external eSATA port
  2009-03-30  8:44 ` Tejun Heo
@ 2009-03-30 20:27   ` kenneth johansson
  0 siblings, 0 replies; 3+ messages in thread
From: kenneth johansson @ 2009-03-30 20:27 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-ide

On Mon, 2009-03-30 at 17:44 +0900, Tejun Heo wrote:
> kenneth johansson wrote:
> > After an error on the external disk the port no longer work with any disk.
> > When the error happened the /dev/sdx was removed. if I change disk its never recreated.
> > I get no log output from kernel indicating any type of action at all.
> > 
> > Is there a way to reset the port ?? 
> 
> The device seems to have checked out.  Is it a WD mybook?  Can you
> please attach full kernel log including the boot messages?

I rebooted and have not got that problem again. the disk was a WD3000

[    9.463422] ata1: SATA max UDMA/133 abar m8192@0xfe9fe000 port 0xfe9fe100 irq 16
[    9.784539] ata1: SATA link down (SStatus 0 SControl 300)

cat /proc/interrupts
 16:     115918          0   IO-APIC-fasteoi   uhci_hcd:usb1, ahci, nvidia



this is the log when I attach the disk

[ 4463.912008] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
[ 4463.912013] ata1: irq_stat 0x00000040, connection status changed
[ 4463.912017] ata1: SError: { CommWake DevExch }
[ 4463.912024] ata1: hard resetting link
[ 4465.360536] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4465.361625] ata1.00: ATA-6: WDC WD3000JD-00KLB0, 08.05J08, max UDMA/100
[ 4465.361629] ata1.00: 586072368 sectors, multi 0: LBA48 
[ 4465.362996] ata1.00: configured for UDMA/100
[ 4465.363007] ata1: EH complete
[ 4465.363119] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3000JD-00K 08.0 PQ: 0 ANSI: 5
[ 4465.365480] sd 0:0:0:0: [sdb] 586072368 512-byte hardware sectors: (300 GB/279 GiB)
[ 4465.365500] sd 0:0:0:0: [sdb] Write Protect is off
[ 4465.365502] sd 0:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4465.365532] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4465.365638] sd 0:0:0:0: [sdb] 586072368 512-byte hardware sectors: (300 GB/279 GiB)
[ 4465.365655] sd 0:0:0:0: [sdb] Write Protect is off
[ 4465.365658] sd 0:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4465.365687] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4465.365691]  sdb: unknown partition table
[ 4465.375416] sd 0:0:0:0: [sdb] Attached SCSI disk
[ 4465.375537] sd 0:0:0:0: Attached scsi generic sg2 type 0


the is no partition on the disk so this is expected.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-30 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29 12:28 lost external eSATA port kenneth johansson
2009-03-30  8:44 ` Tejun Heo
2009-03-30 20:27   ` kenneth johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).