[Bug 195349] CAM status: Command timeout since upgrade to 10.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 4 06:23:47 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349

--- Comment #10 from olivier at 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 at 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 at 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.


More information about the freebsd-bugs mailing list