From owner-freebsd-scsi@FreeBSD.ORG Sun Feb 4 19:07:43 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 647AF16A400 for ; Sun, 4 Feb 2007 19:07:43 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 26CED13C461 for ; Sun, 4 Feb 2007 19:07:42 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l14J7aTl029126; Sun, 4 Feb 2007 12:07:41 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45C62EEB.8050308@samsco.org> Date: Sun, 04 Feb 2007 12:07:23 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Rong-en Fan References: <6eb82e0702040946k6492e2f0r49852fc9b35c30df@mail.gmail.com> In-Reply-To: <6eb82e0702040946k6492e2f0r49852fc9b35c30df@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Sun, 04 Feb 2007 12:07:41 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: ahd0 dumps when an ext. raid attached X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 19:07:43 -0000 Rong-en Fan wrote: > We have an ahd0 on IBM x236 server: > > ahd0: port > 0x4000-0x40ff,0x4100-0x41ff mem 0xcfffe000-0xcfffffff irq 25 at device > 12.0 on pci3 > ahd0: [GIANT-LOCKED] > aic7901A: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs > > The server runs i386 6.2-RELEASE. There is a tape driver on this card. When > I attach an external RAID (U160, scsi chip is LSI1020, I think), ahd0 > gets unhappy. > It dumps when the kernel tries to probe the device. > > The verbose boot log is at > > http://www.rafan.org/tmp/ahd0.dump.txt > > This RAID works fine if I attach it to a LSI card. But due to other > reasons, I can > not use LSI card on this server. > > Suggestions are welcome. > > Regards, > Rong-En Fan The chip is detecting many transmission errors. Maybe you have a bad cable? Try using the BIOS to force all targets to U160 or lower. You should also try forcing packetized mode off from the BIOS. If it's not the cable then there is some sort of major incompatibility with the firmware of that device. Other OS's might be covering it up by automatically doing domain validation and silently downshifting the speed. Scott