From owner-freebsd-bugs Thu Dec 26 1:30: 6 2002 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 A8FBE37B405 for ; Thu, 26 Dec 2002 01:30:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6057343EC5 for ; Thu, 26 Dec 2002 01:30:01 -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 gBQ9U1NS047459 for ; Thu, 26 Dec 2002 01:30:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBQ9U1D7047458; Thu, 26 Dec 2002 01:30:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA0A437B401 for ; Thu, 26 Dec 2002 01:28:19 -0800 (PST) Received: from hotmail.com (f111.law10.hotmail.com [64.4.15.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 895D543EC2 for ; Thu, 26 Dec 2002 01:28:19 -0800 (PST) (envelope-from delphij@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 26 Dec 2002 01:26:56 -0800 Received: from 218.246.96.6 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 26 Dec 2002 09:26:56 GMT Message-Id: Date: Thu, 26 Dec 2002 17:26:56 +0800 From: "öÎ Àî" To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/46537: amr(4) hangs system on -CURRENT or make panic, and conditionally on -STABLE 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 Note: There was a bad value `sw-bugs' for the field `>Class:'. It was set to the default value of `sw-bug'. >Number: 46537 >Category: kern >Synopsis: amr(4) hangs system on -CURRENT or make panic, and conditionally >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 26 01:30:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Xin LI >Release: FreeBSD 5.0-CURRENT i386 >Organization: Frontfree Technology Network - http://www.frontfree.net >Environment: System: FreeBSD cluster.frontfree.net 5.0-CURRENT FreeBSD 5.0-CURRENT #147: Thu Dec 26 04:11:28 CST 2002 delphij@cluster.frontfree.net:/usr/obj/usr/src/sys/FIREWALL i386 >Description: FreeBSD 5-CURRENT hangs or panics on amr(4) driver. Recently our university has purchased some new servers. Among them, there are one Dell PowerEdge 2650 with two Pentium4-XEON 2G installed, and 2GB of RAM. No matter if the memory is limited to 256MB, or if the HyperThread is disabled or enabled. The server has AIC 7899 SCSI controller, and Dell Extensible RAID Controller(LSILogic MegaRAID having 128MB RAM on it) installed. When booting from 5.0-RC-20021213 CD-ROM, the system stops to respond after the following line is displayed on screen: amr0: mem 0xf0000000-0xf7ffffff irq 5 at device 0.0 on pci3 I have tried 4.7-STABLE, when ANY ONE of(and of course combined) the following options enabled, the system hangs on amr0 too: ENABLE_SSE SMP (with APIC_IO) makeoptions CONF_CFLAGS=-fno-builtin options MAXDSIZ="(2048*1024*1024)" options MAXSSIZ="(2048*1024*1024)" options DFLDSIZ="(2048*1024*1024)" What's more, amr(4) panics on HP6000 with the MegaRAID having 32MB RAM: amr0: mem 0xe0000000-0xefffffff irq 5 at device 3.1 on pci4 Fatal trap 12: Page fault in kernel fault virtual address = 0xde fault code = supervisor read, no page present instruction pointer = 0x8:0xc01a8229 stack pointer = 0x10:0xc0b0f9fc frame pointer = 0x10:0xc0b0fa0c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, grow 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 0 (swapper) kernel: type 12 trap, code = 0 stopped at amr_alloccmd+0x19: cmpl $0, 0(%ecx) This behavior doesn't appear on 5.0-DP1, I have to say, that DP1 doesn't have the same problem. But DP2 seemed to have the same problem, and all -CURRENT from that time, including all recent RCs, does have the problem. >How-To-Repeat: Boot from FreeBSD 5-CURRENT installation CD-ROM on Dell PowerEdge 2650, the system hangs immediately after the following line: and the keybord stops to respond anything, including CapsLock. Seemed that the system completely hangs. >Fix: Currently unknown, because I have final exam in these weeks. But I would be glad to help work out this problem in January 2003, if needed, as I am familiar with i386 assembly language, C and C++ language, and programming with hardware. I think if this problem continues, the release of 5.0 should be considered to be delayed, as LSI MegaRAID is widely used around the world. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >Release-Note: >Audit-Trail: >Unformatted: >on -STABLE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message