Skip to contentSkip to conversation

New: mvsas : repeatably disconnects all disks during RAID6 resync

Bug 14534 [email protected] 1 participant 11 messages Nov 3, 2009 – Nov 14, 2009 SCSI

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=14534

           Summary: mvsas : repeatably disconnects all disks during RAID6
                    resync
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 2.6.31.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

Created an attachment (id=23624)
--> (http://bugzilla.kernel.org/attachment.cgi?id=23624)
Error log from /var/log/kern.log

I am in the process of evaluating 8 port SATA/SAS PCI-E controllers for a storage server. I started with a Supermicro AOC-SASLP-MV8 which runs on a Marvell 6480 host controller.
- Direct storage access was fine.
- RAID1 with 2 disks was fine.
- A RAID6 with 4 disks disconnected all drives within a very short time directly after creation, error log attached. The disks only become accessible again after cold reboot and I had to manually disconnect 2 of them in order to be able to access them at all, since the disks were immediately disconnected again by the resync process.

The disks had no errors in their logs. 3 have seen extended use without problems and one is new, but also has a long SMART selftest and some hours of use without problems. They are all different, which should rule out a controller/disk interaction issue, unless such a problem on one port can kill all four ports.

Disk list:
=========
sda: 160GB Samsung SP1614C
sdb: 500GB Seagate Barracuda 7200.12 (new)
sdc: 80 GB Seagate ST380021A, attached via RockerHead 100 SATA->IDE converter
sdd: 40 GB Hitachi Travelstar 5K100 HTS541040G9SA00
sde (system drive, not in RAID): Same as sdc

Output from lspci:
=================
exp:root ~>lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge 00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
00:03.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE 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.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 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.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 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:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller 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 3300 Graphics 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller 02:00.0 SCSI storage controller: Marvell Technology Group Ltd. MV64460/64461/64462 System Controller, Revision B (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
exp:root ~>

Attached files:

relevant part of /var/log/kern.log
.config in followup

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

http://bugzilla.kernel.org/show_bug.cgi?id=14534

--- Comment #1 from Arno Wagner <[email protected]> 2009-11-03 02:10:23 --- Created an attachment (id=23625)
--> (http://bugzilla.kernel.org/attachment.cgi?id=23625)
kernel .config

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

quig48pak6ui <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from quig48pak6ui <[email protected]> 2009-11-03 02:22:02 --- Please send email to [email protected]. I accidentially posted from the wrong account and the forwarding for my old email seems not to work anymore.

Arno

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

andy yan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from andy yan <[email protected]> 2009-11-03 09:41:02 --- I will commit a patch to update the mvsas code to latest version, this version fixed some issue with disk IO.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

--- Comment #4 from quig48pak6ui <[email protected]> 2009-11-03 12:45:56 --- I will give it a try when I have it.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

--- Comment #6 from quig48pak6ui <[email protected]> 2009-11-10 15:23:05 --- Seems not to be in git yet, at least I cannot find it anywhere. Can you mail me the patch directly and tell me what to apply it to?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

--- Comment #7 from andy yan <[email protected]> 2009-11-11 01:14:53 --- Are you in the SCSI mail list, if yes, you should have received it. OK, I will forward it to you.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

Christian Vilhelm <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |christian.vilhelm@univ-lill
                   |                            |e2.fr

--- Comment #8 from Christian Vilhelm <[email protected]> 2009-11-11 20:50:40 --- I just tried the patches on 2.6.32-rc6, I did not apply the 7th patch as the
new libsas version is not in -rc6.
I could create a raid 5 array just fine on 6 SATA disks, using a 64xx based
card (Areca 1300). The raid-5 build was not possible without the patches (tried many times with different configurations).
I will do some more tests in the coming days to confirm this.
Many thanks Andy for fixing this.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

--- Comment #9 from quig48pak6ui <[email protected]> 2009-11-14 05:01:40 --- Just found the patches in the SCSI mailing list archives at
http://marc.info. I am in the process of trying them out
on a 4 disk RAID6 setup.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 14534] mvsas : repeatably disconnects all disks during RAID6 resync

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=14534

--- Comment #10 from Arno Wagner <[email protected]> 2009-11-14 11:03:55 --- I did apply patches 1...6 to 2.6.32-rc7 successfully. Patch 7 applies but then causes a compile error (looks like the same thing Christian found).

Function looks good. No issues on building the RAID6. No issues during fast sequential reading or writing. No issues when compiling kernels in a loop. Hot plugging works. Performance looks about right and is at roughly 1.5 times the throughput of the slowest disk for sequential reading and writing.

I will do some more tests and if anything shows up, I will post it here.

Thanks for the quick fix, Andy!

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.