← Back to team overview

sony-vaio-z-series team mailing list archive

ATA Bus reset when plugging/unplugging AC power on Z13 ?

 

Hi all,

I have the 64-bit Linux kernel 2.6.37-rc2 on a Z13, and every time I plug or
unplug the power, I get the following (tail -f /var/log/messages):

Unplug:
=====
Nov 29 12:13:16 localhost kernel: ata1.00: configured for UDMA/100
Nov 29 12:13:16 localhost kernel: ata1: EH complete
Nov 29 12:13:16 localhost kernel: sd 0:0:0:0: [sda] Write cache: disabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:16 localhost kernel: ata3.00: configured for UDMA/100
Nov 29 12:13:16 localhost kernel: ata3: EH complete
Nov 29 12:13:16 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:16 localhost kernel: ata4.00: configured for UDMA/100
Nov 29 12:13:16 localhost kernel: ata4: EH complete
Nov 29 12:13:16 localhost kernel: sd 3:0:0:0: [sdc] Write cache: disabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:16 localhost kernel: ata5.00: configured for UDMA/100
Nov 29 12:13:16 localhost kernel: ata5: EH complete
Nov 29 12:13:16 localhost kernel: sd 4:0:0:0: [sdd] Write cache: disabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:17 localhost kernel: EXT4-fs (dm-3): re-mounted. Opts:
discard,commit=600

Plug:
====
Nov 29 12:13:19 localhost kernel: ata1.00: configured for UDMA/100
Nov 29 12:13:19 localhost kernel: ata1: EH complete
Nov 29 12:13:19 localhost kernel: sd 0:0:0:0: [sda] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:19 localhost kernel: ata3.00: configured for UDMA/100
Nov 29 12:13:19 localhost kernel: ata3: EH complete
Nov 29 12:13:19 localhost kernel: sd 2:0:0:0: [sdb] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:19 localhost kernel: ata4.00: configured for UDMA/100
Nov 29 12:13:19 localhost kernel: ata4: EH complete
Nov 29 12:13:19 localhost kernel: sd 3:0:0:0: [sdc] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:20 localhost kernel: ata5.00: configured for UDMA/100
Nov 29 12:13:20 localhost kernel: ata5: EH complete
Nov 29 12:13:20 localhost kernel: sd 4:0:0:0: [sdd] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Nov 29 12:13:20 localhost kernel: EXT4-fs (dm-3): re-mounted. Opts:
discard,commit=0
Nov 29 12:13:22 localhost kernel: ata2.00: exception Emask 0x10 SAct 0x0
SErr 0x50000 action 0xe frozen
Nov 29 12:13:22 localhost kernel: ata2.00: irq_stat 0x00400000, PHY RDY
changed
Nov 29 12:13:22 localhost kernel: ata2: SError: { PHYRdyChg CommWake }
Nov 29 12:13:22 localhost kernel: sr 1:0:0:0: CDB: cdb[0]=0x0: 00 00 00 00
00 00
Nov 29 12:13:22 localhost kernel: ata2.00: cmd
a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Nov 29 12:13:22 localhost kernel: res 50/00:03:00:00:00/00:00:00:00:00/a0
Emask 0x10 (ATA bus error)
Nov 29 12:13:22 localhost kernel: ata2.00: status: { DRDY }
Nov 29 12:13:22 localhost kernel: ata2: hard resetting link
Nov 29 12:13:22 localhost kernel: ata2: SATA link up 1.5 Gbps (SStatus 113
SControl 300)
Nov 29 12:13:22 localhost kernel: ata2.00: unexpected _GTF length (8)
Nov 29 12:13:22 localhost kernel: ata2.00: unexpected _GTF length (8)
Nov 29 12:13:22 localhost kernel: ata2.00: configured for UDMA/100
Nov 29 12:13:22 localhost kernel: ata2: EH complete

This is a bit scary (imho) and this happens even after I have stopped acpid
(/etc/init.d/acpid stop).

I have heard of similar issues if we switch
/sys/class/scsi_host/*/link_power_management_policy  between min_power and
max_performance, but I'm not doing that.

Is the DSDT doing something behind our back, when we plug/unplug AC power ?

My bios is patched to enable the advanced features menu.

Thanks !

Follow ups