misc/183980: Unreliable hotplug support with Intel Patsburg AHCI SATA controller
Marie Helene
marieheleneka at gmail.com
Fri Nov 15 03:20:01 UTC 2013
>Number: 183980
>Category: misc
>Synopsis: Unreliable hotplug support with Intel Patsburg AHCI SATA controller
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 15 03:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Marie Helene
>Release: 10.0-BETA3
>Organization:
>Environment:
FreeBSD homer 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Removing a hotplug-able drive tray connected to a hotplug-aware controller does not always properly destroy the device.
Mainboard: Supermicro X9SRL-F (http://www.supermicro.nl/products/motherboard/xeon/c600/x9srl-f.cfm)
CPU: Intel Xeon E5-1620v2 (http://ark.intel.com/products/75779/)
Example output when hotplug fails:
<remove from hotplug bay>
Nov 15 03:16:40 homer kernel: ada1 at ahcich1 bus 0 scbus3 target 0 lun 0
Nov 15 03:16:40 homer kernel: ada1: <SAMSUNG MZ7PD120HAFV-000DA DXM02W1Q> s/n xxx detached
<insert into hotplug bay>
Nov 15 03:20:32 homer kernel: cam_periph_alloc: attempt to re-allocate valid device ada1 rejected flags 0x118 refcount 2
Note the absence of 'Periph destroyed' in the above output.
If a port successfully handles hotplugging, it will keep doing so until next reboot, at which point it may or may not support hotplugging again.
Relevant dmesg output is attached
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
ahci0: <Intel Patsburg AHCI SATA controller> port 0xf050-0xf057,0xf040-0xf043,0xf030-0xf037,0xf020-0xf023,0xf000-0xf01f mem 0xfb921000-0xfb9217ff irq 18 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
ada0 at ahcich0 bus 0 scbus2 target 0 lun 0
<several da* devices connected to another controller>
ada0: <SAMSUNG MZ7PD120HAFV-000DA DXM02W1Q> ATA-9 SATA 3.x device
ada0: Serial Number xxx
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 114473MB (234441648 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus3 target 0 lun 0
ada1: <SAMSUNG MZ7PD120HAFV-000DA DXM02W1Q> ATA-9 SATA 3.x device
ada1: Serial Number xxx
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 114473MB (234441648 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list