Bug 13257 - SATA errors with SIL 3512 PCMCIA SATA controller and Samsung HD753LJ
Summary: SATA errors with SIL 3512 PCMCIA SATA controller and Samsung HD753LJ
Status: CLOSED OBSOLETE
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jeff Garzik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 17:23 UTC by Andi.K
Modified: 2012-06-07 10:29 UTC (History)
6 users (show)

See Also:
Kernel Version: 2.6.29
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Output from "lspci -nnnvvvxxx" as root (51.95 KB, text/plain)
2009-05-12 07:57 UTC, towerlexa
Details
successful connection without further failures from pcmcia card (2.94 KB, text/plain)
2009-05-26 09:16 UTC, towerlexa
Details

Description Andi.K 2009-05-06 17:23:49 UTC
Hi folks!

I have an HP Omnibook 500 (Pentium 3) running Debian/GRML with a SIL 3512 PCMCIA SATA controller and a Samsung HD753LJ SATA drive.


During bootup, there is a dmesg-error:

[   11.729613] sata_sil 0000:02:00.0: cache line size not set.  Driver may not function




After bootup, "hdparm -t /dev/sda" gives the following dmesg errors:


[  214.338477] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x80000 action 0x6 frozen
[  214.338495] ata1: SError: { 10B8B }
[  214.338517] ata1.00: cmd c8/00:00:00:fc:03/00:00:00:00:00/e0 tag 0 dma 131072 in
[  214.338522]          res ff/ff:ff:ff:ff:ff/00:00:00:00:00/ff Emask 0x2 (HSM violation)
[  214.338532] ata1.00: status: { Busy }
[  214.338540] ata1.00: error: { ICRC UNC IDNF ABRT }
[  214.338573] ata1: hard resetting link
[  214.656345] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  214.673014] ata1.00: configured for UDMA/100
[  214.673056] ata1: EH complete
[  214.679722] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors: (750 GB/698 GiB)
[  214.682298] sd 0:0:0:0: [sda] Write Protect is off
[  214.682319] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  214.688611] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1076.686155] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x280000 action 0x0
[ 1076.686169] ata1.00: BMDMA2 stat 0x80d2209
[ 1076.686180] ata1: SError: { 10B8B BadCRC }
[ 1076.686203] ata1.00: cmd c8/00:f8:08:83:03/00:00:00:00:00/e0 tag 0 dma 126976 in
[ 1076.686208]          res 51/04:d7:29:83:03/00:00:00:00:00/e0 Emask 0x1 (device error)
[ 1076.686219] ata1.00: status: { DRDY ERR }
[ 1076.686227] ata1.00: error: { ABRT }
[ 1076.708462] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x1)
[ 1076.708474] ata1.00: revalidation failed (errno=-5)
[ 1076.708499] ata1: hard resetting link
[ 1077.028108] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 1077.044689] ata1.00: configured for UDMA/100
[ 1077.044733] ata1: EH complete
[ 1077.049403] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors: (750 GB/698 GiB)
[ 1077.051741] sd 0:0:0:0: [sda] Write Protect is off
[ 1077.051759] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1077.054507] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1077.312671] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x280000 action 0x0
[ 1077.312684] ata1.00: BMDMA2 stat 0x80d2209
[ 1077.312696] ata1: SError: { 10B8B BadCRC }
[ 1077.312718] ata1.00: cmd c8/00:00:00:00:04/00:00:00:00:00/e0 tag 0 dma 131072 in
[ 1077.312723]          res 51/04:bf:41:00:04/00:00:00:00:00/e0 Emask 0x1 (device error)
[ 1077.312734] ata1.00: status: { DRDY ERR }
[ 1077.312742] ata1.00: error: { ABRT }
[ 1077.336465] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x1)
[ 1077.336479] ata1.00: revalidation failed (errno=-5)
[ 1077.336506] ata1: hard resetting link
[ 1077.656102] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 1077.672722] ata1.00: configured for UDMA/100
[ 1077.672766] ata1: EH complete
[ 1077.681329] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors: (750 GB/698 GiB)
[ 1077.683011] sd 0:0:0:0: [sda] Write Protect is off
[ 1077.683030] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1077.685607] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA





Adding the slow_down=1 module option removes these errors, but disk speed drops from 70MB/s to 18MB/s

I tried different kernels (2.6.28, 2.6.29) and different eSATA cables. I even connected the drive directly to the controller, i.e. without external enclosure, barely with a 50cm SATA-eSATA cable and power supply. Didn't help.

Also tried to connect the drive when the computer was powered off and then power it up. Didn't help.






The full dmesg output during bootup is


[   11.899099] sata_sil 0000:02:00.0: version 2.4
[   11.899229] sata_sil 0000:02:00.0: enabling device (0000 -> 0003)
[   11.899258] sata_sil 0000:02:00.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[   11.899425] sata_sil 0000:02:00.0: cache line size not set.  Driver may not function
[   11.899436] sata_sil 0000:02:00.0: Applying R_ERR on DMA activate FIS errata fix
[   11.899454] sata_sil 0000:02:00.0: setting latency timer to 64
[   11.899657] scsi0 : sata_sil
[   11.916322] scsi1 : sata_sil
[   11.916563] ata1: SATA max UDMA/100 mmio m512@0x24000000 tf 0x24000080 irq 10
[   11.916575] ata2: SATA max UDMA/100 mmio m512@0x24000000 tf 0x240000c0 irq 10
[   12.128877] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
[   12.130970] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[   12.131918] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
[   12.132762] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
[   12.133959] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
[   12.236345] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   12.244989] ata1.00: ATA-7: SAMSUNG HD753LJ, 1AA01113, max UDMA7
[   12.245000] ata1.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[   12.253004] ata1.00: configured for UDMA/100
[   12.253363] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD753LJ  1AA0 PQ: 0 ANSI: 5
[   12.572321] ata2: SATA link down (SStatus 0 SControl 310)
[   12.625477] Driver 'sd' needs updating - please use bus_type methods
[   12.625822] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors: (750 GB/698 GiB)
[   12.625882] sd 0:0:0:0: [sda] Write Protect is off
[   12.625893] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   12.625985] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.626200] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors: (750 GB/698 GiB)
[   12.626252] sd 0:0:0:0: [sda] Write Protect is off
[   12.626262] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   12.626352] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.626365]  sda: sda1 sda2 sda3
[   12.649006] sd 0:0:0:0: [sda] Attached SCSI disk






>>smartctl -a /dev/sda


smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG HD753LJ
Serial Number:    S13UJ90QA20148
Firmware Version: 1AA01113
User Capacity:    750,156,374,016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 3b
Local Time is:    Wed May  6 19:18:33 2009 CEST

==> WARNING: May need -F samsung or -F samsung2 enabled; see manual for details.

SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		 (10712) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 179) minutes.
Conveyance self-test routine
recommended polling time: 	 (  19) minutes.
SCT capabilities: 	       (0x003f)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   076   076   011    Pre-fail  Always       -       8050
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       116
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   015    Pre-fail  Offline      -       9872
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       150
 10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       72
 13 Read_Soft_Error_Rate    0x000e   100   100   000    Old_age   Always       -       0
183 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       36
184 Unknown_Attribute       0x0033   025   025   000    Pre-fail  Always       -       75
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   073   063   000    Old_age   Always       -       27 (Lifetime Min/Max 16/27)
194 Temperature_Celsius     0x0022   067   062   000    Old_age   Always       -       33 (Lifetime Min/Max 16/33)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       2116
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   100   100   000    Old_age   Always       -       53
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       1
201 Soft_Read_Error_Rate    0x000a   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 18 (device log contains only the most recent five errors)
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 18 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 2f d1 fe 03 e0  Error: ICRC, ABRT 47 sectors at LBA = 0x0003fed1 = 261841

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 00 00 fe 03 e0 00      01:20:03.130  READ DMA
  c8 00 00 00 fd 03 e0 00      01:20:03.130  READ DMA
  c8 00 00 00 fc 03 e0 00      01:20:03.130  READ DMA
  c8 00 00 00 fb 03 e0 00      01:20:03.130  READ DMA
  c8 00 00 00 fa 03 e0 00      01:20:03.130  READ DMA

Error 17 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 cf 31 85 03 e0  Error: ICRC, ABRT 207 sectors at LBA = 0x00038531 = 230705

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 00 00 85 03 e0 00      01:19:45.120  READ DMA
  c8 00 00 00 84 03 e0 00      01:19:45.110  READ DMA
  c8 00 00 00 83 03 e0 00      01:19:45.110  READ DMA
  c8 00 00 00 82 03 e0 00      01:19:45.110  READ DMA
  c8 00 f8 08 81 03 e0 00      01:19:45.110  READ DMA

Error 16 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 df 21 ff 03 e0  Error: ICRC, ABRT 223 sectors at LBA = 0x0003ff21 = 261921

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 00 00 ff 03 e0 00      00:42:08.360  READ DMA
  c8 00 00 00 fe 03 e0 00      00:42:08.360  READ DMA
  c8 00 00 00 fd 03 e0 00      00:42:08.360  READ DMA
  c8 00 00 00 fc 03 e0 00      00:42:08.360  READ DMA
  c8 00 08 f8 fb 03 e0 00      00:42:08.360  READ DMA

Error 15 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 d0 00 00 00 00 a0   at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 00 00 00 04 e0 00      00:33:25.830  READ DMA
  c8 00 00 00 ff 03 e0 00      00:33:25.830  READ DMA
  c8 00 00 00 fe 03 e0 00      00:33:25.830  READ DMA
  c8 00 00 00 fd 03 e0 00      00:33:25.830  READ DMA
  c8 00 00 00 fc 03 e0 00      00:33:25.820  READ DMA

Error 14 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 d0 00 00 00 00 a0   at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 f8 08 83 03 e0 00      00:33:25.200  READ DMA
  c8 00 08 00 83 03 e0 00      00:33:25.200  READ DMA
  c8 00 00 00 82 03 e0 00      00:33:25.100  READ DMA
  c8 00 f8 08 81 03 e0 00      00:33:25.100  READ DMA
  c8 00 08 00 81 03 e0 00      00:33:25.100  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       148         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.







>>hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
	Model Number:       SAMSUNG HD753LJ                         
	Serial Number:      S13UJ90QA20148      
	Firmware Revision:  1AA01113
Standards:
	Used: ATA-8-ACS revision 3b 
	Supported: 7 6 5 4 
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors: 1465149168
	Logical/Physical Sector size:           512 bytes
	device size with M = 1024*1024:      715404 MBytes
	device size with M = 1000*1000:      750156 MBytes (750 GB)
	cache/buffer size  = unknown
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: disabled
	Recommended acoustic management value: 254, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 udma7 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	    	Advanced Power Management feature set
	    	Power-Up In Standby feature set
	   *	SET_FEATURES required to spinup after power up
	    	SET_MAX security extension
	   *	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	    	Media Card Pass-Through
	   *	General Purpose Logging feature set
	   *	64-bit World wide name
	   *	WRITE_UNCORRECTABLE_EXT command
	   *	{READ,WRITE}_DMA_EXT_GPL commands
	   *	Segmented DOWNLOAD_MICROCODE
	   *	Gen1 signaling speed (1.5Gb/s)
	   *	Gen2 signaling speed (3.0Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	   *	NCQ priority information
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
		supported: enhanced erase
	158min for SECURITY ERASE UNIT. 158min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50000f000b2a1084
	NAA		: 5
	IEEE OUI	: 0000f0
	Unique ID	: 00b2a1084
Checksum: correct
Comment 1 Tejun Heo 2009-05-08 23:38:22 UTC
Your controller and hard drive are seeing link layer miscommunications.  Most likely cabling, power or shielding problem.
Comment 2 Andi.K 2009-05-11 10:19:19 UTC
I already tried different cables and even bought a short (50cm) high quality eSATA2 cable - didn't help.

Proper shielding should be achieved through the eSATA-cable and the shielding of the 2 eSATA ports. 


Regarding Power - I tried 2 different PSU's for the drive (the one that came with the external enclosure and another one from a SATA/IDE-USB-Converter) - didn't help.

Both - the PSU of the laptop and the PSU of the drive are plugged into the same power distributor, but not with 3-wire-cables, i.e. the ground pin is unused. This is by design.

Could a ground loop be the cause?


The pcmcia controller is SATA1 and the drive SATA2 with NCQ. I tried to force it to SATA1 via jumper - didn't help.



What other causes are possible?
Comment 3 Tejun Heo 2009-05-11 23:25:49 UTC
Hmmm.... For SATA, there doesn't need to be a common ground but SATA is very susceptible to all kinds of electro magnetic interferences.  My knowledge of electronics is very limited and don't have much idea what's going on in your laptop but it definitely is a signal quality problem from SATA POV.  Maybe the pcmcia card has quality issues, maybe the pcmcia slot receives too much EMI from other components or the power going into the controller is somehow degraded, or whatnot.  :-(
Comment 4 towerlexa 2009-05-12 06:27:06 UTC
Maybe i could help a little bit for this issue. I have the Delock eSata PCMCIA Adapter too (with 2 eSataports).

I have the problem, that the transfer is very slow. 

The bus scanning (if i connect the device) is successful.

Here are some details from scanning, and working with the device:

My running Linux kernel is:

$ uname -a
Linux UBUNTUNB 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux

>> /var/log/messages (during connecting the device)

-------------------------
May 12 07:02:01 UBUNTUNB kernel: [  207.654388] pccard: CardBus card inserted into slot 0
May 12 07:02:01 UBUNTUNB kernel: [  207.738380] PCI: Enabling device 0000:16:00.0 (0000 -> 0003)
May 12 07:02:01 UBUNTUNB kernel: [  207.738389] ACPI: PCI Interrupt 0000:16:00.0[A] -> GSI 16 (level, low) -> IRQ 16
May 12 07:02:01 UBUNTUNB kernel: [  207.738403] sata_sil 0000:16:00.0: cache line size not set.  Driver may not function
May 12 07:02:01 UBUNTUNB kernel: [  207.738407] sata_sil 0000:16:00.0: Applying R_ERR on DMA activate FIS errata fix
May 12 07:02:01 UBUNTUNB kernel: [  207.739018] scsi5 : sata_sil
May 12 07:02:01 UBUNTUNB kernel: [  207.739149] scsi6 : sata_sil
May 12 07:02:01 UBUNTUNB kernel: [  207.739240] ata6: SATA max UDMA/100 mmio m512@0xc4000000 tf 0xc4000080 irq 16
May 12 07:02:01 UBUNTUNB kernel: [  207.739244] ata7: SATA max UDMA/100 mmio m512@0xc4000000 tf 0xc40000c0 irq 16
May 12 07:02:07 UBUNTUNB kernel: [  208.001505] ata6: port is slow to respond, please be patient (Status 0xff)
May 12 07:02:11 UBUNTUNB kernel: [  208.266519] ata6: device not ready (errno=-16), forcing hardreset
May 12 07:02:12 UBUNTUNB kernel: [  208.352592] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
May 12 07:02:12 UBUNTUNB kernel: [  208.359687] ata6.00: failed to set max address (err_mask=0x1)
May 12 07:02:12 UBUNTUNB kernel: [  208.359699] ata6.00: device aborted resize (2930277168 -> 18446744072344861488), skipping HPA handling
May 12 07:02:12 UBUNTUNB kernel: [  208.359713] ata6.00: ATA-8: ST31500341AS, CC1H, max UDMA/133
May 12 07:02:12 UBUNTUNB kernel: [  208.359720] ata6.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 0/32)
May 12 07:02:12 UBUNTUNB kernel: [  208.378070] ata6.00: configured for UDMA/100
May 12 07:02:13 UBUNTUNB kernel: [  208.395066] ata7: SATA link down (SStatus 0 SControl 310)
May 12 07:02:13 UBUNTUNB kernel: [  208.395266] scsi 5:0:0:0: Direct-Access     ATA      ST31500341AS     CC1H PQ: 0 ANSI: 5
May 12 07:02:13 UBUNTUNB kernel: [  208.395952] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:02:13 UBUNTUNB kernel: [  208.396012] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:02:13 UBUNTUNB kernel: [  208.396054] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:02:13 UBUNTUNB kernel: [  208.396144] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:02:13 UBUNTUNB kernel: [  208.396165] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:02:13 UBUNTUNB kernel: [  208.396204] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:02:13 UBUNTUNB kernel: [  208.396212]  sdc: sdc1
May 12 07:02:13 UBUNTUNB kernel: [  208.403434] sd 5:0:0:0: [sdc] Attached SCSI disk
May 12 07:02:13 UBUNTUNB kernel: [  208.403511] sd 5:0:0:0: Attached scsi generic sg2 type 0
----------------------------------- 

>> hdparm -t output:

------------------------------------
$ sudo hdparm -t /dev/sdc

/dev/sdc:
 Timing buffered disk reads:  196 MB in  3.02 seconds =  64.96 MB/sec
$ sudo hdparm -t /dev/sdc

/dev/sdc:
 Timing buffered disk reads:  220 MB in  3.00 seconds =  73.27 MB/sec
-----------------------------------


>> hdparm -I

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

/dev/sdc:

ATA device, with non-removable media
	Model Number:       ST31500341AS                            
	Serial Number:      9VS0N1KK
	Firmware Revision:  CC1H    
	Transport:          Serial
Standards:
	Used: unknown (minor revision code 0x0029) 
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors: 2930277168
	device size with M = 1024*1024:     1430799 MBytes
	device size with M = 1000*1000:     1500301 MBytes (1500 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = ?
	Recommended acoustic management value: 254, current value: 0
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	DOWNLOAD_MICROCODE
	    	SET_MAX security extension
	   *	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	    	Write-Read-Verify feature set
	   *	WRITE_UNCORRECTABLE_EXT command
	   *	{READ,WRITE}_DMA_EXT_GPL commands
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	SATA-II signaling speed (3.0Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Phy event counters
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
		supported: enhanced erase
	256min for SECURITY ERASE UNIT. 256min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000c500109ceec2
	NAA		: 5
	IEEE OUI	: c50
	Unique ID	: 0109ceec2
Checksum: correct
------------------------

>> additional smartctl output:

--------------------------
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     ST31500341AS
Serial Number:    9VS0N1KK
Firmware Version: CC1H
User Capacity:    1.500.301.910.016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Not recognized. Minor revision code: 0x29
Local Time is:    Tue May 12 07:08:03 2009 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		 ( 617) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 255) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   119   100   006    Pre-fail  Always       -       215854858
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       12
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   030    Pre-fail  Always       -       724857
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       30
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       12
184 Unknown_Attribute       0x0032   100   100   099    Old_age   Always       -       0
187 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
188 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
189 Unknown_Attribute       0x003a   086   086   000    Old_age   Always       -       14
190 Temperature_Celsius     0x0022   074   055   045    Old_age   Always       -       437649434
194 Temperature_Celsius     0x0022   026   045   000    Old_age   Always       -       26 (Lifetime Min/Max 0/19)
195 Hardware_ECC_Recovered  0x001a   047   043   000    Old_age   Always       -       215854858
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       2
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       168182329376797
241 Unknown_Attribute       0x0000   100   253   000    Old_age   Offline      -       907439115
242 Unknown_Attribute       0x0000   100   253   000    Old_age   Offline      -       115461727

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

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

sudo smartctl -P showall /dev/sdc
No presets are defined for this drive.  Its identity strings:
MODEL:    /dev/sdc
FIRMWARE: (any)
do not match any of the known regular expressions.
------------------------------------

>> /var/log/messages (output during checking filesystem with fsck.ext3)

-----------------------------------
May 12 07:14:03 UBUNTUNB syslogd 1.5.0#1ubuntu1: restart.
May 12 07:15:13 UBUNTUNB kernel: [  476.667115]          res 51/04:1f:11:08:bc/00:00:00:00:00/e5 Emask 0x1 (device error)
May 12 07:15:13 UBUNTUNB kernel: [  476.671261] ata6.00: configured for UDMA/100
May 12 07:15:13 UBUNTUNB kernel: [  476.671277] ata6: EH complete
May 12 07:15:13 UBUNTUNB kernel: [  476.673312] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:15:13 UBUNTUNB kernel: [  476.674885] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:15:13 UBUNTUNB kernel: [  476.676422] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

May 12 07:18:19 UBUNTUNB kernel: [  544.627067]          res 51/04:9d:11:09:48/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:18:19 UBUNTUNB kernel: [  544.633237] ata6.00: configured for UDMA/100
May 12 07:18:19 UBUNTUNB kernel: [  544.633258] ata6: EH complete
May 12 07:18:19 UBUNTUNB kernel: [  544.635687] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:18:19 UBUNTUNB kernel: [  544.635719] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:18:19 UBUNTUNB kernel: [  544.635760] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:18:37 UBUNTUNB kernel: [  550.137909]          res 51/04:83:11:08:a4/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:18:37 UBUNTUNB kernel: [  550.142056] ata6.00: configured for UDMA/100
May 12 07:18:37 UBUNTUNB kernel: [  550.142066] ata6: EH complete
May 12 07:18:37 UBUNTUNB kernel: [  550.144238] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:18:37 UBUNTUNB kernel: [  550.145703] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:18:37 UBUNTUNB kernel: [  550.146640] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

May 12 07:27:00 UBUNTUNB kernel: [  816.644780]          res 51/04:2f:2f:08:a8/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:27:00 UBUNTUNB kernel: [  816.649488] ata6.00: configured for UDMA/100
May 12 07:27:00 UBUNTUNB kernel: [  816.649503] ata6: EH complete
May 12 07:27:00 UBUNTUNB kernel: [  816.653858] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:27:00 UBUNTUNB kernel: [  816.654607] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:27:00 UBUNTUNB kernel: [  816.654646] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:27:01 UBUNTUNB kernel: [  817.785811]          res 51/04:1d:11:09:1c/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:27:01 UBUNTUNB kernel: [  817.789747] ata6.00: configured for UDMA/100
May 12 07:27:01 UBUNTUNB kernel: [  817.789757] ata6: EH complete
May 12 07:27:01 UBUNTUNB kernel: [  817.792734] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:27:01 UBUNTUNB kernel: [  817.793415] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:27:01 UBUNTUNB kernel: [  817.793432] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:27:01 UBUNTUNB kernel: [  817.819598]          res 51/04:0d:11:09:20/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:27:01 UBUNTUNB kernel: [  817.826484] ata6.00: configured for UDMA/100
May 12 07:27:01 UBUNTUNB kernel: [  817.826498] ata6: EH complete
May 12 07:27:01 UBUNTUNB kernel: [  817.838989]          res 51/04:8f:4f:09:20/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:27:01 UBUNTUNB kernel: [  817.852754] ata6.00: configured for UDMA/100
May 12 07:27:01 UBUNTUNB kernel: [  817.852782] ata6: EH complete
May 12 07:27:01 UBUNTUNB kernel: [  817.862439]          res 51/04:9f:4f:09:20/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:27:01 UBUNTUNB kernel: [  817.872905] ata6.00: configured for UDMA/100
May 12 07:27:01 UBUNTUNB kernel: [  817.872931] ata6: EH complete
May 12 07:27:01 UBUNTUNB kernel: [  817.874197] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:27:01 UBUNTUNB kernel: [  817.877650] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:27:01 UBUNTUNB kernel: [  817.877706] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:27:01 UBUNTUNB kernel: [  817.877744] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:27:01 UBUNTUNB kernel: [  817.877765] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:27:01 UBUNTUNB kernel: [  817.877801] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

May 12 07:40:01 UBUNTUNB kernel: [ 1593.992042]          res 51/04:3d:29:42:67/00:00:00:00:00/ee Emask 0x1 (device error)
May 12 07:40:01 UBUNTUNB kernel: [ 1594.031440] ata6.00: configured for UDMA/100
May 12 07:40:01 UBUNTUNB kernel: [ 1594.031449] ata6: EH complete
May 12 07:40:01 UBUNTUNB kernel: [ 1594.048986] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:40:01 UBUNTUNB kernel: [ 1594.049482] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:40:01 UBUNTUNB kernel: [ 1594.049670] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:40:39 UBUNTUNB kernel: [ 1631.488920]          res 51/04:00:3f:00:4c/00:00:00:00:00/e0 Emask 0x1 (device error)
May 12 07:40:39 UBUNTUNB kernel: [ 1631.528675] ata6.00: configured for UDMA/100
May 12 07:40:39 UBUNTUNB kernel: [ 1631.528687] ata6: EH complete
May 12 07:40:39 UBUNTUNB kernel: [ 1631.534007] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:40:39 UBUNTUNB kernel: [ 1631.534085] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:40:39 UBUNTUNB kernel: [ 1631.534449] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 12 07:41:10 UBUNTUNB kernel: [ 1662.417181]          res 40/00:00:3f:00:4c/00:00:00:00:00/e0 Emask 0x4 (timeout)
May 12 07:41:15 UBUNTUNB kernel: [ 1667.761163] ata6: port is slow to respond, please be patient (Status 0xd1)
May 12 07:41:20 UBUNTUNB kernel: [ 1672.455299] ata6: device not ready (errno=-16), forcing hardreset
May 12 07:41:20 UBUNTUNB kernel: [ 1672.455307] ata6: hard resetting link
May 12 07:41:20 UBUNTUNB kernel: [ 1672.930451] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
May 12 07:41:21 UBUNTUNB kernel: [ 1672.970901] ata6.00: configured for UDMA/100
May 12 07:41:21 UBUNTUNB kernel: [ 1672.970915] ata6: EH complete
May 12 07:41:21 UBUNTUNB kernel: [ 1672.984533] sd 5:0:0:0: [sdc] 2930277168 512-byte hardware sectors (1500302 MB)
May 12 07:41:21 UBUNTUNB kernel: [ 1672.985102] sd 5:0:0:0: [sdc] Write Protect is off
May 12 07:41:21 UBUNTUNB kernel: [ 1672.992149] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
--------------------------------------


I hope this helps for analysis. Maybe it is the eSata Card, but the same card is running fine under Redhat ( i don't know the version in the moment, because it ist the Laptop fron another colleague)
My laptop is a Lenovo Thinkpad T61.
Comment 5 Tejun Heo 2009-05-12 07:18:58 UTC
The slow transfer is probably from CLS not being set.  Can you attach the output of "lspci -nnnvvvxxx" as root?
Comment 6 Andi.K 2009-05-12 07:53:59 UTC
I tried with Kernel 2.6.18 meanwhile... same issues.

To sum it up: hdparam -t gives exceptions in kernel log that disappear with sata_sil module option slow_down=1. But this lowers read performance from 70MB/s down to 17MB/s


lspci says

00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 64
        Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
        Kernel driver in use: agpgart-intel
00: 86 80 90 71 06 01 10 22 03 00 00 06 00 40 00 00
10: 08 00 00 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 0c 82 00 ff 00 00 00 09 03 10 11 11 00 30 11 11
60: 00 00 10 20 20 20 20 20 00 00 00 23 02 c0 00 00
70: 20 1f 0a 38 a0 00 00 01 20 0c dc 3d 10 00 00 00
80: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 66 00 00 04 61 00 00 00 05 00 00 00 00 00 00
a0: 02 00 10 00 03 02 00 1f 00 00 00 00 00 00 00 00
b0: 80 20 00 00 30 00 00 00 00 00 3e 0f 20 10 00 00
c0: 00 00 00 00 00 00 00 00 18 0c ff ff 61 00 00 00
d0: 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00
e0: 4c ad ff bb 8a 3e 00 80 2c d3 f7 cf 9d 3e 00 00
f0: 3f 01 00 00 00 f8 00 60 20 0f 00 00 00 00 00 00

00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 128
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: f4100000-f5ffffff
        Prefetchable memory behind bridge: 28000000-280fffff
        Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
00: 86 80 91 71 1f 00 20 02 03 00 04 06 00 80 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 40 90 90 a0 22
20: 10 f4 f0 f5 00 28 00 28 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8c 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
00: 86 80 10 71 0f 00 80 02 02 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 4d 00 30 04
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 0a 8a 80 05 d0 00 00 00 00 f2 00 00 00 00 00 00
70: 00 00 00 00 00 00 0c 0c 00 00 00 00 00 00 00 00
80: 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 10 00 00 38 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 04 46 51 f0 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 25 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 30 0f 00 00 00 00 00 00

00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        Region 4: I/O ports at 1000 [size=16]
        Kernel driver in use: PIIX_IDE
00: 86 80 11 71 05 00 80 02 01 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 07 a3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 30 0f 00 00 00 00 00 00

00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01) (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Interrupt: pin D routed to IRQ 5
        Region 4: I/O ports at 1020 [size=32]
        Kernel driver in use: uhci_hcd
00: 86 80 12 71 05 00 80 02 01 00 03 0c 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 21 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 04 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 30 0f 00 00 00 00 00 00

00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin ? routed to IRQ 9
        Kernel driver in use: piix4_smbus
00: 86 80 13 71 03 00 80 02 03 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 01 80 00 00 0f ff bf 1f 21 7a 00 00 00 10 00 0a
50: 00 00 1c 00 f1 49 00 00 37 80 00 02 00 00 00 80
60: 80 00 01 02 00 fe 21 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 98 03 11 00 98 03 01 00
80: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 81 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 30 0f 00 00 00 00 00 00

00:0a.0 CardBus bridge [0607]: Texas Instruments PCI1410 PC card Cardbus Controller [104c:ac50] (rev 01)
        Subsystem: Hewlett-Packard Company Device [103c:0011]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 168, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 28120000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 20000000-23fff000 (prefetchable)
        Memory window 1: 24000000-27fff000
        I/O window 0: 00002000-000020ff
        I/O window 1: 00002400-000024ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
        16-bit legacy interface ports at 0001
        Kernel driver in use: yenta_cardbus
00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
10: 00 00 12 28 a0 00 00 02 00 02 05 b0 00 00 00 20
20: 00 f0 ff 23 00 00 00 24 00 f0 ff 27 00 20 00 00
30: fc 20 00 00 00 24 00 00 fc 24 00 00 ff 01 00 05
40: 3c 10 11 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 90 70 81 00 00 00 00 00 00 00 00 00 72 12 2c 01
90: c0 82 66 61 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 00 42 fe 00 80 c0 00 11 08 00 00 1f 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0b.0 Ethernet controller [0200]: 3Com Corporation 3c556 Hurricane CardBus [Cyclone] [10b7:6055] (rev 10)
        Subsystem: 3Com Corporation Device [10b7:6256]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 80 (2500ns min, 1250ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 1400 [size=256]
        Region 1: Memory at f4000400 (32-bit, non-prefetchable) [size=128]
        Region 2: Memory at f4000000 (32-bit, non-prefetchable) [size=128]
        [virtual] Expansion ROM at 28100000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Kernel driver in use: 3c59x
00: b7 10 55 60 17 00 10 02 10 00 00 02 08 50 80 00
10: 01 14 00 00 00 04 00 f4 00 00 00 f4 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 56 62
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 0a 05
40: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 12 f6 00 20 00 00 00 00 00 00 00 00 00 00
60: 01 00 8c 03 3b 71 55 60 25 03 09 00 00 00 50 6d
70: 70 29 09 00 01 00 8c 03 3b 71 10 20 00 00 00 00
80: a6 32 00 00 00 00 00 00 00 00 00 00 29 04 fe 00
90: 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0b.1 Communication controller [0780]: 3Com Corporation Mini PCI 56k Winmodem [10b7:1007] (rev 10)
        Subsystem: 3Com Corporation Device [10b7:6158]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 1800 [disabled] [size=256]
        Region 1: Memory at f4000c00 (32-bit, non-prefetchable) [disabled] [size=256]
        Region 2: Memory at f4000800 (32-bit, non-prefetchable) [disabled] [size=128]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
00: b7 10 07 10 10 00 10 02 10 00 80 07 08 50 00 00
10: 01 18 00 00 00 0c 00 f4 00 08 00 f4 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 58 61
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 0a 05
40: 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
50: 01 00 12 e4 00 20 00 00 ff ff ff ff ff ff ff ff
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

00:0d.0 Multimedia audio controller [0401]: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator [125d:1998]
        Subsystem: Hewlett-Packard Company Device [103c:0011]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (500ns min, 6000ns max)
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at 1c00 [size=256]
        Region 1: Memory at f4002000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 5d 12 98 19 07 00 90 02 00 00 01 04 00 40 00 00
10: 01 1c 00 00 00 20 00 f4 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 11 00
30: 00 00 00 00 c0 00 00 00 00 00 00 00 05 01 02 18
40: 7f 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 11 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 01 00 22 76 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Rage Mobility P/M AGP 2x [1002:4c4d] (rev 64) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device [103c:0011]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 66 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 9000 [size=256]
        Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
        [virtual] Expansion ROM at 28000000 [disabled] [size=128K]
        Capabilities: [50] AGP version 1.0
                Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 4d 4c 87 00 90 02 64 00 00 03 08 42 00 00
10: 00 00 00 f5 01 90 00 00 00 00 10 f4 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 11 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 08 00
40: 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 02 5c 10 00 03 02 00 ff 00 00 00 00 01 00 01 06
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

02:00.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller [1095:3512] (rev 01)
        Subsystem: Silicon Image, Inc. SiI 3512 SATALink Controller [1095:3512]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 2010 [size=8]
        Region 1: I/O ports at 2020 [size=4]
        Region 2: I/O ports at 2018 [size=8]
        Region 3: I/O ports at 2024 [size=4]
        Region 4: I/O ports at 2000 [size=16]
        Region 5: Memory at 24000000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at 20000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-
        Kernel driver in use: sata_sil
00: 95 10 12 35 07 00 b0 02 01 00 80 01 00 40 00 00
10: 11 20 00 00 21 20 00 00 19 20 00 00 25 20 00 00
20: 01 20 00 00 00 00 00 24 00 00 00 00 95 10 12 35
30: 00 00 00 00 60 00 00 00 00 00 00 00 0a 01 00 00
40: 00 00 00 00 87 e9 82 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 22 06 00 40 00 64 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 22 00 00 00 22 00 00 00 00 00 00 00 f9 ef f7 ff
90: 00 00 00 08 00 00 00 00 00 00 00 18 00 00 00 00
a0: 01 01 15 65 dd 62 dd 62 92 43 92 43 09 40 09 40
b0: 01 01 15 65 dd 62 dd 62 92 43 92 43 09 40 09 40
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00





Regarding CLS - I tried "setpci -s 02:00.0 CACHE_LINE_SIZE=08" according to http://forum.ubuntuusers.de/topic/esata-ueber-pcmcia-mit-ultron-us200-sata-sil-/

It didn't help with the transfer issues but lspci reports a CLS of 32KBytes now.
Comment 7 Andi.K 2009-05-12 07:57:36 UTC
32Bytes, not 32KBytes, sorry ;)

But what about the Latency of 64. Sounds pretty high...

And: could IRQ sharing be the cause for the transfer issues? I tried kernel options noacpi, pci=noacpi, noapic, nolapic without success.
Comment 8 towerlexa 2009-05-12 07:57:56 UTC
Created attachment 21313 [details]
Output from "lspci -nnnvvvxxx" as root

As requested from Tejun Heo, i attach the Output from the "lspci -nnnvvvxxx" command as root. I hope it is useful. Currently i have not attached my harddisk at the computer.

Thanks and Regards
Axel
Comment 9 towerlexa 2009-05-12 08:15:28 UTC
By the way,

i'm using the following eSata-card:

Delock PCMCIA Adapter CardBus zu 2x eSATA
http://www.delock.de/produkte/gruppen/PCMCIA/Delock_PCMCIA_Adapter_CardBus_zu_2x_eSATA_61618.html
Comment 10 Tejun Heo 2009-05-21 02:29:34 UTC
Andi, the slow transfer you're seeing is from the frequent errors.  Errors take some time to recover so transfer rate plummets if there are errors.  I'm afraid there isn't much which can be done from driver side.  :-(

towerlexa, can you please try "setpci -s 16:00.0 CACHE_LINE_SIZE=16"?

Thanks.
Comment 11 towerlexa 2009-05-21 10:00:33 UTC
Tejun,

yes of course. I'll try it next week. It is possible, that the driver isn't running fine in my current kernel, or is my PCMCIA-Card the wrong for *buntu?

What's could be the next steps, if the "setpci" command is succesful?

Thanks in advance
Axel
Comment 12 Tejun Heo 2009-05-22 01:17:59 UTC
It's highly unlikely that the problem has anything to do with which distro you're using.  If setting CLS resolves the issue, I guess we'll have to ask around who should be responsible for setting it.  I think it falls on pci or pc-card code but it could be that sata_sil should do it.

Thanks.
Comment 13 towerlexa 2009-05-26 09:16:34 UTC
Created attachment 21556 [details]
successful connection without further failures from pcmcia card

This morning i tried to set the CACHE_LINE_SIZE as described in your bugentry:

> towerlexa, can you please try "setpci -s 16:00.0 CACHE_LINE_SIZE=16"?

After this the harddisk and the eSata Card is working fine! I copied with rsync a lot of files to the harddisk, which is connected via the eSata-PCMCIA-Express Card.

I copied round about 15-30GB of bigger and smaller files to the disk and the issue does not occur again (today).

so i think we could say, that the issue do not occur with the CACHE_LINE_SIZE setting.

Do you agree with this?
Comment 14 Tejun Heo 2009-05-26 13:07:30 UTC
Started a thread on linux-pci mailing list.

  http://thread.gmane.org/gmane.linux.kernel.pci/4418
Comment 15 Andi.K 2009-06-04 10:14:46 UTC
I tried the SATA card with the same cable and same HDD in another Laptop meanwhile (Thinkpad X61) -> no errors :(

Could it be a plain hardware issue? The HP Laptop I want to use the card with is pretty old (Pentium 3, 440BX chipset, Texas Instruments PCI1410 PCMCIA controller)

Whether I set the CLS, does not seem to matter. But the " sata_sil 0000:02:00.0: Applying R_ERR on DMA activate FIS errata fix" message disappears when I set the CLS and then unload and reload sata_sil kernel module.
Comment 16 Tejun Heo 2009-06-05 01:22:41 UTC
Andi, yeah, your problem seems like a hardware problem.  I can't think of anything the driver can do differently.  :-(
Comment 17 Andi.K 2009-09-09 17:34:42 UTC
Hi Tejun,

I have news: installed Windows XP SP3 into another partition and - guess what... no probs! stable transfer of 70..80MB/s. Also between SATA drives - no issues.

So, at least, the windows driver actually does something differently...
Comment 18 Tejun Heo 2009-09-14 13:59:18 UTC
Hmmm... interesting.  Is there a way to dump PCI registers from windows?  It would be interesting to compare what we're doing differently.
Comment 19 Dominik Brodowski 2010-03-06 14:16:22 UTC
There are some PCI_CACHE_LINE_BYTES improvements in 2.6.33 -- see, most notably ac1aa47b131416a6ff37eb1005a0a1d2541aad6c. Might this have helped for your use case?
Comment 20 Tejun Heo 2010-03-09 05:59:58 UTC
I'm quite doubtful that the patch would help but well no harm in giving a shot.  Thanks.

Note You need to log in before you can comment on or make changes to this bug.