Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2014 06:23:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195349] CAM status: Command timeout since upgrade to 10.1
Message-ID:  <bug-195349-8-Fy1tjGYiYs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195349-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195349-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349

--- Comment #10 from olivier@cochard.me ---
I reach to finish an 12 hours ZFS scrub by disabling MSI interrupts for AHCI !
(thanks mav@ for the temporary workaround).

Here is how to do it:

echo 'hint.ahci.0.msi="0"' >> /boot/loader.conf
shutdown -r now

Once rebooted, check that `vmstat -i` report ahci0 using interrupt below 256.
Like this example:

root@nas:~ # vmstat -i
interrupt                          total       rate
irq17: ehci0 ehci1+                19403          4
irq18: ohci0 ohci1+                    4          0
irq19: ahci0                        3908          0
irq256: hpet0:t0                  112433         26
irq257: hpet0:t1                   33742          8
irq260: bge0                        3354          0
Total                             172844         41

With this workaround, ZFS scrubbing is finished without any "Command timeout":
root@nas:~ # zpool status
  pool: storage
 state: ONLINE
  scan: scrub repaired 0 in 11h55m with 0 errors on Thu Dec  4 01:29:42 2014
config:

        NAME        STATE     READ WRITE CKSUM
        storage     ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            ada0p1  ONLINE       0     0     0
            ada1p1  ONLINE       0     0     0
            ada2p1  ONLINE       0     0     0
            ada3p1  ONLINE       0     0     0
            ada4p1  ONLINE       0     0     0

Can someone test this workaround and report its result too ?

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195349-8-Fy1tjGYiYs>