mpt0: QUEUE FULL EVENT: Bus 0×00 Target 0×08 Depth 128
proxy# dmesg |grep mpt
mpt0: <LSILogic SAS/SATA Adapter> port 0×4000-0×40ff mem 0xd8610000-0xd8613fff,0xd8600000-0xd860ffff irq 25 at device 3.0 on pci5
mpt0: [ITHREAD]
mpt0: MPI Version=1.5.13.0
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 0 Active Volumes (2 Max)
mpt0: 0 Hidden Drive Members (10 Max)
da0 at mpt0 bus 0 target 8 lun 0
da1 at mpt0 bus 0 target 9 lun 0
Scenario: Performed a clean install of FreeBSD 7.1-STABLE with a SAS RAID controller, which completed without errors. After rebooting and beginning to install packages, I started seeing the following error: mpt0: QUEUE FULL EVENT: Bus 0×00 Target 0×08 Depth 128.
Solution: Searching online indicated that the problem was with support for Tagged Command Queuing in the mpt driver. The output of camcontrol was:
proxy# camcontrol tags da0 -v
(pass0:mpt0:0:8:0): dev_openings 255
(pass0:mpt0:0:8:0): dev_active 0
(pass0:mpt0:0:8:0): devq_openings 255
(pass0:mpt0:0:8:0): devq_queued 0
(pass0:mpt0:0:8:0): held 0
(pass0:mpt0:0:8:0): mintags 2
(pass0:mpt0:0:8:0): maxtags 255
proxy# camcontrol tags da1 -v
(pass1:mpt0:0:9:0): dev_openings 255
(pass1:mpt0:0:9:0): dev_active 0
(pass1:mpt0:0:9:0): devq_openings 255
(pass1:mpt0:0:9:0): devq_queued 0
(pass1:mpt0:0:9:0): held 0
(pass1:mpt0:0:9:0): mintags 2
(pass1:mpt0:0:9:0): maxtags 255
I then entered:
proxy# camcontrol tags da0 -N 119
(pass0:mpt0:0:8:0): tagged openings now 119
(pass0:mpt0:0:8:0): device openings: 119
proxy# camcontrol tags da1 -N 119
(pass1:mpt0:0:9:0): tagged openings now 119
(pass1:mpt0:0:9:0): device openings: 119
This second command limited the size of the queue to 119, preventing the error I had seen before. To ensure that this problem wouldn’t come up in the future, I added the following line to /etc/rc.local
# Set the devq_openings to 119 to prevent problems with SAS controller
camcontrol tags da0 -N 119
camcontrol tags da1 -N 119
Doing this runs the command at every boot, preventing the problem from creeping up in the future.
From : http://www.shaddihasan.com/blog/2009/02/23/dell-poweredge-t300-sas-raid-and-freebsd/