aac0: Error 5 sending VMIoctl command

Kent Ketell kketell at juniper.net
Tue Jun 7 21:38:03 GMT 2005


Hi,
 
I have been running various flavors of FreeBSD for a few years now with
the Adaptec 2200s raid controller.  When the controller is busy I often
see "aac0: Error 5 sending VMIoctl command" on the console during boot,
but lately it started happening even when the controller is idle.
 
The systems in question are Supermicro w/dual 3.6GHz processors, a
single 36GB for boot and six 18GB disks in a stripe.
 
Here is the dmesg noise from boot:
 
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE-p2 #0: Thu Jun 2 20:35:34 GMT 2005
root at danai-09.juniper.net:/usr/obj/usr/src/sys/danai-09
Timecounter "i8254" frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3600.14-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf43 Stepping = 3
Features=xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 2146893824 (2096576K bytes) avail memory = 2087227392
(2038308K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 ->
irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2
Programming 24 pins in IOAPIC #3
FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0,
version: 0x00050014, at xfee00000
cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000
cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000
cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC):
apic id: 2, version: 0x00178020, at 0xfec00000
io1 (APIC): apic id: 3, version: 0x00178020, at 0xfec10000
io2 (APIC): apic id: 4, version: 0x00178020, at 0xfec80000
io3 (APIC): apic id: 5, version: 0x00178020, at 0xfec80400 Preloaded elf
kernel "kernel" at 0xc03b2000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 20 entries at 0xc00fde80
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 17 -> irq 5
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x8086, dev=0x3591) at 0.1
pcib1: <PCI to PCI bridge (vendor=8086 device=3595)> irq 2 at device 2.0
on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=8086 device=0329)> at device 0.0 on
pci1
pci2: <PCI bus> on pcib2
pci1: <unknown card> (vendor=0x8086, dev=0x0326) at 0.1
pcib3: <PCI to PCI bridge (vendor=8086 device=032a)> at device 0.2 on
pci1 IOAPIC #3 intpin 0 -> irq 10
pci3: <PCI bus> on pcib3
aac0: <Adaptec SCSI RAID 2200S> mem 0xdc000000-0xdfffffff irq 10 at
device 2.0 on pci3
aac0: Unknown processor 100MHz, 48MB cache memory, optional battery
present
aac0: Kernel 4.1-0, Build 7244, S/N bf1369
aac0: Supported
Options=11d7e<CLUSTERS,WCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,S
GMAP64,ALARM,NONDASD>
aacp0: <SCSI Passthrough Bus> on aac0
aacp1: <SCSI Passthrough Bus> on aac0
pci1: <unknown card> (vendor=0x8086, dev=0x0327) at 0.3
pcib4: <PCI to PCI bridge (vendor=8086 device=3597)> irq 2 at device 4.0
on pci0
pci4: <PCI bus> on pcib4
pcib5: <PCI to PCI bridge (vendor=8086 device=3599)> irq 2 at device 6.0
on pci0
pci5: <PCI bus> on pcib5
pcib6: <PCI to PCI bridge (vendor=8086 device=25ae)> at device 28.0 on
pci0 IOAPIC #1 intpin 0 -> irq 16 IOAPIC #1 intpin 1 -> irq 17
pci6: <PCI bus> on pcib6
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0x2000-0x203f mem 0xd8200000-0xd821ffff irq 16 at device 1.0 on pci6
em0: Speed:N/A Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0x2040-0x207f mem 0xd8220000-0xd823ffff irq 17 at device 2.0 on pci6
em1: Speed:N/A Duplex:N/A
pcib7: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on
pci0
pci7: <PCI bus> on pcib7
pci7: <ATI Mach64-GR graphics accelerator> at 1.0 irq 2
isab0: <PCI to ISA bridge (vendor=8086 device=25a1)> at device 31.0 on
pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port
0x1420-0x142f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x25a4) at 31.3 irq 5
orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcd7ff on isa0 pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq
4 flags 0x10 on isa0
sio0: type 16550A, console
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
acd0: CDROM <CD-224E> at ata1-master PIO4
aacd0: <Volume> on aac0
aacd0: 34970MB (71619584 sectors)
aacd1: <RAID 0 (Stripe)> on aac0
aacd1: 104706MB (214439424 sectors)
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
aac0: Error 5 sending VMIoctl command
pass0 at aacp0 bus 0 target 0 lun 0
pass0: <SEAGATE ST336753LC 0005> Fixed unknown SCSI-3 device
aac0: Error 5 sending VMIoctl command
pass1 at aacp1 bus 0 target 0 lun 0
pass1: <SEAGATE ST318432LC 0022> Fixed unknown SCSI-3 device
pass1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit)
pass2 at aacp1 bus 0 target 1 lun 0
pass2: <SEAGATE ST318432LC 0022> Fixed unknown SCSI-3 device
pass2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit)
pass3 at aacp1 bus 0 target 2 lun 0
pass3: <SEAGATE ST318432LC 0022> Fixed unknown SCSI-3 device
pass3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit)
pass4 at aacp1 bus 0 target 3 lun 0
pass4: <SEAGATE ST318432LC 0022> Fixed unknown SCSI-3 device
pass4: 160.000MB/s transfers (80.000MHz, offset 63, 16bit)
pass5 at aacp1 bus 0 target 4 lun 0
pass5: <SEAGATE ST318432LC 0022> Fixed unknown SCSI-3 device
pass5: 160.000MB/s transfers (80.000MHz, offset 63, 16bit)
pass6 at aacp1 bus 0 target 5 lun 0
pass6: <SEAGATE ST318432LC 0022> Fixed unknown SCSI-3 device
pass6: 160.000MB/s transfers (80.000MHz, offset 63, 16bit) Mounting root
from ufs:/dev/aacd0s1a
em0: Link is up 1000 Mbps Full Duplex

As you can see, the system does eventually come up, but it takes a good
long time to do so.

I have the right stuff in the kernel for the controller:
device       aac
device       aacp

Any thoughts?

Thanks.

-Kent-


More information about the freebsd-scsi mailing list