From owner-freebsd-bugs Wed Jan 8 21:40: 5 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B006A37B401 for ; Wed, 8 Jan 2003 21:40:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 641A543F13 for ; Wed, 8 Jan 2003 21:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h095e3NS024728 for ; Wed, 8 Jan 2003 21:40:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h095e351024727; Wed, 8 Jan 2003 21:40:03 -0800 (PST) Date: Wed, 8 Jan 2003 21:40:03 -0800 (PST) Message-Id: <200301090540.h095e351024727@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kang Liu" Subject: Re: kern/46537: amr(4) hangs system on -CURRENT or make panic, and conditionally Reply-To: "Kang Liu" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/46537; it has been noted by GNATS. From: "Kang Liu" To: freebsd-gnats-submit@FreeBSD.org, delphij@hotmail.com Cc: emoore@FreeBSD.org, re@freebsd.org Subject: Re: kern/46537: amr(4) hangs system on -CURRENT or make panic, and conditionally Date: Thu, 09 Jan 2003 13:31:01 +0800 I tried to enable debug option in amr driver by adding :"CFLAGS= -O -pipe -DAMR_DEBUG COPTFLAGS= -O -pipe -DAMR_DEBUG" in /etc/make.conf and add some printf() in amr.c for debug. I think I find the problem , but I do not know how to solve it. In amr.c (Revision 1.38) Line 1008: while(sc->amr_mailbox->mb_nstatus == 0xFF); The value of sc->amr_mailbox->mb_nstatus is always 255, it seems that amr card should change the value of mb_nstatus itself. (my card is dell PERC3/DC) In pr 45698 http://www.freebsd.org/cgi/query-pr.cgi?pr=45698 I find there is the same problem in HP's raid card on 5.0. 5.0 is about to release,Since the device amr is widely used in servers,this problem should be considered as critical. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message