Adaptec 2200S hang with 5.3 kernel and APIC enabled

Scott Long scottl at freebsd.org
Sat Jan 8 17:20:37 PST 2005


Mike Selner wrote:
> Hi,
> 
> I have a new supermicro X6DH8-G server with an Adaptec 2200S RAID
> controller. 2200S firmware build 7349.
> 
> I booted and installed FreeBSD from the 5.2.1 CD image.  System was fine.
> 
> I did cvsup to 5.3-STABLE & installed new kernel and world.
> When I restarted it would display:
> 
> Waiting 15 seconds for SCSI devices to settle
> aacd0: <RAID 0/1> on aac0
> aacd0: 139948MB (286614016 sectors)
> 
> and than hang for about 45 seconds.  Then I would get a continual message:
> 
> AAC0 command 0xc31c3bb8 TIMEOUT AFTER X Seconds
> (the command changes through a small group of values) forever.
> 
> The same thing happens with the 5.3 Kernel from the MINI ISO cdrom.
> 
> I was able to determine that it is related to the APIC interrupt
> by trying safe mode and device hints.
> 
> If I include the /boot/device.hints =
> hint.apic.0.disabled="1"
> the kernel I built boots and seems to work fine.
> I stress tested by doing several of simultaneous compiles.
> 
> The 5.2 kernel is still installed as /kernel.orig.
> It shows a dmesg line for the controller as:
> 
> aac0: <Adaptec SCSI RAID 2200S> mem 0xdc000000-0xdfffffff irq 72 at device 2.0 on pci3
> aac0: [MPSAFE]
> aac0: Unknown processor 100MHz, 48MB cache memory, optional battery not installed
> aac0: Kernel 4.2-0, Build 7349, S/N be8f06
> aac0: Supported Options=31d7e<CLUSTERS,WCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,SGMAP64,ALARM,NONDASD>
> aacp0: <SCSI Passthrough Bus> on aac0
> aacp1: <SCSI Passthrough Bus> on aac0
> 
> The 5.3 kernel I built and boot with the above hint returns:
> 
> aac0: <Adaptec SCSI RAID 2200S> mem 0xdc000000-0xdfffffff irq 5 at device 2.0 on pci3
> aac0: can't set up FAST interrupt
> aac0: Unknown processor 100MHz, 48MB cache memory, optional battery not installed
> aac0: Kernel 4.2-0, Build 7349, S/N be8f06
> aac0: Supported Options=31d7e<CLUSTERS,WCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,SGMAP64,ALARM,NONDASD>
> aacp0: <SCSI Passthrough Bus> on aac0
> aacp1: <SCSI Passthrough Bus> on aac0
> 
> My questions:
> 
> 1. Is there any reason not to run with hint.apic.0.disabled="1"?  Any disadvatages to
>    the smaller number of IRQs?
>    I do not have many devices, no usb/onboard scsi.  Only need ide cdrom occasionally.
> 
> 2. Wher should I report this for fixing?
> 
> 3. Are there any other suggestions / recommendations?
> 
> thank you
> 

Turning off the APIC will turn off SMP.  You likely have an interrupt
routing problem.  These kinda of problems are unfortunately becoming
more common.  I'd suggest contacting John Baldwin <jhb at freebsd.org>
about this.

Scott


More information about the freebsd-scsi mailing list