Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 17:26:56 +0800
From:      "öÎ Àî" <delphij@hotmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/46537: amr(4) hangs system on -CURRENT or make panic, and conditionally on -STABLE
Message-ID:  <F111NqjQc1FWzVzZ96q0000cdfb@hotmail.com>

next in thread | raw e-mail | index | archive | help
	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 <delphij@frontfree.net>
>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: <LSILogic MegaRAID> 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: <LSILogic MegaRAID> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F111NqjQc1FWzVzZ96q0000cdfb>