aac does not respond with SCHED_ULE

Vladimir Ermakov samflanker at gmail.com
Mon Mar 30 05:29:19 PDT 2009


continuation of the old topic
http://lists.freebsd.org/pipermail/freebsd-hackers/2009-March/028037.html

Hi, all.

Describe my problem:
Using the logical drive (RAID-10) on Adaptec 5805 [firmware build: 
16501]. Try to read a file from this logical drive. As a result, the 
controller does not respond.

I found a reason. The problem in using the scheduler SCHED_ULE with the 
aac driver.
Shows the results of my experiments.

system | scheduler | operation | result
7.1-RELEASE amd64  | SCHED_ULE   | read a file | failed (controller does 
not respond)
7.1-RELEASE amd64  | SCHED_4BSD | read a file | passed

=====================================

# uname -a
FreeBSD sys3 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #8: Mon Mar 30 
11:38:10 CEST 2009     root at sys3:/usr/obj/usr/src/sys/SYS3  amd64

# cat /var/db/mysql/ibdata1 > /dev/null

# less /var/log/messages

Mar 22 20:20:12 sys3 kernel: aac0: COMMAND 0xffffffff808599e0 TIMEOUT AFTER 50 SECONDS
Mar 22 20:20:12 sys3 kernel: aac0: COMMAND 0xffffffff808569c0 TIMEOUT AFTER 50 SECONDS
Mar 22 20:20:32 sys3 kernel: aac0: COMMAND 0xffffffff80859dd0 TIMEOUT AFTER 70 SECONDS
Mar 22 20:20:32 sys3 kernel: aac0: COMMAND 0xffffffff808599e0 TIMEOUT AFTER 70 SECONDS
Mar 22 20:20:32 sys3 kernel: aac0: COMMAND 0xffffffff808569c0 TIMEOUT AFTER 70 SECONDS
Mar 22 20:20:52 sys3 kernel: aac0: COMMAND 0xffffffff80859dd0 TIMEOUT AFTER 90 SECONDS
Mar 22 20:20:52 sys3 kernel: aac0: COMMAND 0xffffffff808599e0 TIMEOUT AFTER 90 SECONDS
Mar 22 20:20:52 sys3 kernel: aac0: COMMAND 0xffffffff808569c0 TIMEOUT AFTER 90 SECONDS
Mar 22 20:21:12 sys3 kernel: aac0: COMMAND 0xffffffff80859dd0 TIMEOUT AFTER 111 SECONDS
Mar 22 20:21:12 sys3 kernel: aac0: COMMAND 0xffffffff808599e0 TIMEOUT AFTER 111 SECONDS
Mar 22 20:21:12 sys3 kernel: aac0: COMMAND 0xffffffff808569c0 TIMEOUT AFTER 111 SECONDS


# arcconf GETCONFIG 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 5805
   Controller Serial Number                 : xxxxxxxxxxxxxxx
   Physical Slot                            : 6
   Temperature                              : 82 C/ 179 F (Normal)
   Installed memory                         : 512 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Global task priority                     : High
   Performance Mode                         : Default/Dynamic
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 1/0/0
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (16501)
   Firmware                                 : 5.2-0 (16501)
   Driver                                   : 5.2-0 (16501)
   Boot Flash                               : 5.2-0 (16501)
   --------------------------------------------------------
   Controller Battery Information
   --------------------------------------------------------
   Status                                   : Optimal
   Over temperature                         : No
   Capacity remaining                       : 100 percent
   Time remaining (at current draw)         : 1 days, 20 hours, 7 minutes
***

THX

/Vladimir Ermakov



More information about the freebsd-scsi mailing list