Linux + AMD 780G Chipset = No eSATA PMP?

Zarathustra[H]

Extremely [H]
Joined
Oct 29, 2000
Messages
38,862
Hey all,

This is really frustrating. I recently bought one of those cute little Dell Zino HD boxes to use as a Linux NAS server. I was going to build my own box, but my fiance is very eco conscious, so the 22W TDP of the little unit seemed like a good idea for a computer thats going to be running 24/7. (That and the fact that it's diminuative size takes up less of our almost non-existant closet space was also a bonus). Either way, the problem is I can't just get a cheap eSATA board to replace the on board ports, as there are no PCIe ports...

So anyway, this little computer has two eSATA ports. They appear to work OK in Windows (it came with Vista) but for some reason they simply do not work with my "Drobo S" under linux. (the Drobo works fine on my Desktop Linux box, an Intel X58 express based box.)

So my NAS box is currently hosting storage over USB, giving me about a third of the transfer speeds I would have had with eSATA... It's really frustrating, as I replaced all my wires with Cat6 and upgraded my switches to gigabit to prepare for this install only to be limited by USB transfer speeds...

Here are what I think are the appropriate parts from dmesg

Code:
dmesg| grep ata3


[    0.956381] ata3: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 22
[    1.880037] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.880430] ata3.15: Port Multiplier 1.1, 0x1a62:0x0003 r23, 14 ports, feat 0x0/0x0
[    1.880434] ata3.15: Asynchronous notification not supported, hotplug won't
[    1.881194] ata3.00: hard resetting link
[    2.410350] ata3.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[    2.410399] ata3.01: hard resetting link
[    2.760497] ata3.01: SATA link down (SStatus 0 SControl 320)
[    2.760581] ata3.02: hard resetting link
[    3.110580] ata3.02: SATA link down (SStatus 0 SControl 320)
[    3.110677] ata3.03: hard resetting link
[    3.460581] ata3.03: SATA link down (SStatus 0 SControl 320)
[    3.460677] ata3.04: hard resetting link
[    3.810588] ata3.04: SATA link down (SStatus 0 SControl 320)
[    3.810685] ata3.05: hard resetting link
[    4.160584] ata3.05: SATA link down (SStatus 0 SControl 320)
[    4.160681] ata3.06: hard resetting link
[    4.510543] ata3.06: SATA link down (SStatus 0 SControl 320)
[    4.510631] ata3.07: hard resetting link
[    4.860586] ata3.07: SATA link down (SStatus 0 SControl 320)
[    4.860684] ata3.08: hard resetting link
[    5.210580] ata3.08: SATA link down (SStatus 0 SControl 320)
[    5.210676] ata3.09: hard resetting link
[    5.560584] ata3.09: SATA link down (SStatus 0 SControl 320)
[    5.560681] ata3.10: hard resetting link
[    5.910579] ata3.10: SATA link down (SStatus 0 SControl 320)
[    5.910675] ata3.11: hard resetting link
[    6.260585] ata3.11: SATA link down (SStatus 0 SControl 320)
[    6.260682] ata3.12: hard resetting link
[    6.610599] ata3.12: SATA link down (SStatus 0 SControl 320)
[    6.610689] ata3.13: hard resetting link
[    6.960590] ata3.13: SATA link down (SStatus 0 SControl 320)
[    6.960972] ata3.00: ATA-6: Drobo   3rd Gen DRDR3-A, v1.0.0, max UDMA/133
[    6.960976] ata3.00: 17179869184 sectors, multi 0: LBA48 
[    6.961352] ata3.00: configured for UDMA/133
[    6.961407] ata3: PMP SError.N set for some ports, repeating recovery
[    6.961465] ata3.00: hard resetting link
[    7.890351] ata3.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[    7.891063] ata3.00: configured for UDMA/133
[    7.891114] ata3: PMP SError.N set for some ports, repeating recovery
[    7.891167] ata3.00: hard resetting link
[    8.820354] ata3.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[    8.821063] ata3.00: configured for UDMA/133
[    8.821121] ata3.00: failed to recover link after 3 tries, disabling
[    8.821124] ata3.00: disabled
[    8.821128] ata3.00: PHY status changed but maxed out on retries, giving up
[    8.821131] ata3.00: Manully issue scan to resume this link
[    8.821137] ata3: EH complete

So it looks like the drobo is properly detected, but then it tries 3 times to connect to it, and when it fails it gives up.

It says to manually issue scan to resume this link. Does anyone know how to do this?

Any other suggestions?

Hopefully you [H] guys will be more knowledgable than the Ubuntu forums, as they just seem to be a bunch of noobs these days. It's remarkable how fast such a good support forum can become useless.
 
I know how to rescan the scsi bus (so it should find e-sata stuff) but my notes are at home...if I have time tonight I'll post a follow-up.

I don't exactly know what a drobo is (e-sata enclosure) but what sata chipset is in that zino?

Once it boots without drives, can you post the output of "lsmod" and "lspci" ?
 
Looks to me like maybe the port multiplier is reporting errors on unused ports, which Ubuntu is then interpreting as a controller failure and resetting the whole shebang. But that's a lot of reading between the lines.

I believe you can issue a manual rescan with a command like (where host0 is the ID of your actual controller, I think it'd be host3 in your case for ata3, but not sure how these are related and it may actually be totally different because of the PMP):
Code:
echo 1 > /sys/class/scsi_host/host0/scan

What kernel are you using (I think there are a few recent PMP fixes, might be worth trying)? Is this an AHCI device or does it use a different driver? Starting the kernel with the 'debug' option might produce more verbose output as well.
 
I know how to rescan the scsi bus (so it should find e-sata stuff) but my notes are at home...if I have time tonight I'll post a follow-up.

I don't exactly know what a drobo is (e-sata enclosure) but what sata chipset is in that zino?

Once it boots without drives, can you post the output of "lsmod" and "lspci" ?

The eSata function appears to be embedded in the AMD SB7x0 southbridge.

I forget which SB7x0 southbridge it has though. I'll have to check this when I get home. My work is pretty serious about blocking SSH for some reason. Not only am I firewalled out of using it, but they must deep packet scan and kill SSH connections or something, as I ahve tried to proxy my way through to my box, and the connection always winds up being terminated...
 
Alright,

Here is some more info:

uname -a
Code:
Linux Suppository 2.6.32-24-server #42-Ubuntu SMP Fri Aug 20 15:38:55 UTC 2010 x86_64 GNU/Linux

lspci
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Dell Device 9602
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 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 HD 3200 Graphics
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

lsmod
Code:
Module                  Size  Used by
snd_hda_codec_atihdmi     3023  1
fbcon                  39270  71
tileblit                2487  1 fbcon
font                    8053  1 fbcon
bitblit                 5811  1 fbcon
softcursor              1565  1 bitblit
vga16fb                12757  1
vgastate                9857  1 vga16fb
snd_hda_intel          25677  0
radeon                740390  0
snd_hda_codec          85663  2 snd_hda_codec_atihdmi,snd_hda_intel
snd_hwdep               6778  1 snd_hda_codec
ttm                    60815  1 radeon
snd_pcm                87248  2 snd_hda_intel,snd_hda_codec
drm_kms_helper         30774  1 radeon
snd_timer              23617  1 snd_pcm
snd                    70946  5 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               8052  1 snd
snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
f71882fg               29240  0
drm                   198724  3 radeon,ttm,drm_kms_helper
i2c_algo_bit            6024  1 radeon
dell_wmi                2177  0
dcdbas                  6886  0
lp                      9336  0
psmouse                64576  0
serio_raw               4950  0
edac_core              45423  0
edac_mce_amd            9278  0
k8temp                  3912  0
i2c_piix4               9639  0
shpchp                 33711  0
parport                37160  1 lp
usb_storage            49801  1
tg3                   122382  0
ahci                   37870  2

So what changes have happened in the kernel lately as affects eSATA? DO you ahve any good links?

Thank you,
Matt
 
Back
Top