From gibbs@aslan.scsiguy.com  Wed Oct 11 11:23:53 2000
Return-Path: <gibbs@aslan.scsiguy.com>
Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106])
	by hub.freebsd.org (Postfix) with ESMTP id 5021437B503
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Oct 2000 11:23:52 -0700 (PDT)
Received: from aslan (localhost [127.0.0.1])
	by aslan.scsiguy.com (8.11.0/8.9.3) with ESMTP id e9AJ7g900377;
	Tue, 10 Oct 2000 19:07:42 GMT
	(envelope-from gibbs@aslan.scsiguy.com)
Message-Id: <200010101907.e9AJ7g900377@aslan.scsiguy.com>
Date: Tue, 10 Oct 2000 19:07:42 +0000
From: "Justin T. Gibbs" <gibbs@scsiguy.com>
Sender: gibbs@aslan.scsiguy.com
To: systems@pavilion.net
Cc: FreeBSD-gnats-submit@freebsd.org
In-Reply-To: Your message of "Wed, 11 Oct 2000 17:39:31 +0100."
             <20001011163931.97B879B10@genius.systems.pavilion.net> 
Subject: Re: Machine dies sig 12 in ahc driver (Freebsd4.1.1) 

>Number:         21916
>Category:       kern
>Synopsis:       Re: Machine dies sig 12 in ahc driver (Freebsd4.1.1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 11 11:30:01 PDT 2000
>Closed-Date:    Tue Oct 31 05:32:20 PST 2000
>Last-Modified:  Tue Oct 31 05:36:29 PST 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 >	Rsyncing a remote machine's data onto this machine's
 >	vinum drive causes the machine to bus error.
 >
 >	This is repeatable, and occurs on two exactly similar machines.
 >
 >
 >Fatal trace 12: page fault while in kernel mode
 >fault virtual address = 0xbfc00000
 >fault code = supervisor read, page not present
 >intruction pointer = 0x8:0xc0210222
 >stack pointer = 0x10:0xc025e55c
 >frame pointer = 0x10:0xc025e708
 >code segment = base 0x0, limit 0xfffff, type 0x1b
 >        = DPL 0, pres 1, def32 1, gran 1
 >processor eflags = interrupt enabled, resume, IOPL = 0
 >current process = Idle
 >interrupt mask =
 >kernel: type 12 trap, code=0
 >
 >stopped at: bus_dmamap_load+0x1ca: movl PTmap(,%eax,4),%edx
 >
 >db>trace
 >bus_dmamap_load(c1e5cdc0,c0290700,0,0,c013af88,c1e5e9cc,0) at bus_dmamap_load+
 				   ^<==== Buffer Pointer
 
 Vinum is passing a buffer with a NULL b_data pointer to the DA driver.
 The first time the CAM stack will reference this pointer just happens
 to be in the ahc driver's call to bus_dmamap_load().
 
 --
 Justin
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Tue Oct 31 05:32:20 PST 2000 
State-Changed-Why:  
Followup to existing PR. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Tue Oct 31 05:32:20 PST 2000 
Responsible-Changed-Why:  
Refile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21916 
>Unformatted:
