From joe@pavilion.net  Thu Oct 12 01:05:52 2000
Return-Path: <joe@pavilion.net>
Received: from genius.systems.pavilion.net (genesis.tao.org.uk [194.242.131.254])
	by hub.freebsd.org (Postfix) with ESMTP
	id 40FF137B502; Thu, 12 Oct 2000 01:05:51 -0700 (PDT)
Received: by genius.systems.pavilion.net (Postfix, from userid 100)
	id 01F5B9B10; Thu, 12 Oct 2000 09:05:50 +0100 (BST)
Message-Id: <20001012090549.C8815@pavilion.net>
Date: Thu, 12 Oct 2000 09:05:49 +0100
From: Josef Karthauser <joe@pavilion.net>
To: "Justin T. Gibbs" <gibbs@scsiguy.com>, grog@freebsd.org
Cc: systems@pavilion.net, FreeBSD-gnats-submit@freebsd.org
In-Reply-To: <200010101907.e9AJ7g900377@aslan.scsiguy.com>; from gibbs@scsiguy.com on Tue, Oct 10, 2000 at 07:07:42PM +0000
Subject: Re: Machine dies sig 12 in ahc driver (Freebsd4.1.1)
References: <20001011163931.97B879B10@genius.systems.pavilion.net> <200010101907.e9AJ7g900377@aslan.scsiguy.com>

>Number:         21925
>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:   Thu Oct 12 01:10:01 PDT 2000
>Closed-Date:    Tue Oct 31 05:36:38 PST 2000
>Last-Modified:  Tue Oct 31 05:37:36 PST 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Hi Greg,
 
 Would you mind taking a look at this please?  We've got serious
 stability problems with two machines (that are overdue as production
 servers.)  I initially thought that the problem lay with ahc, but
 Justin thinks that it's vinum.
 
 Thanks,
 Joe
 
 On Tue, Oct 10, 2000 at 07:07:42PM +0000, Justin T. Gibbs wrote:
 > >	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
 
 -- 
 Josef Karthauser	FreeBSD: How many times have you booted today?
 Technical Manager	Viagra for your server (http://www.uk.freebsd.org)
 Pavilion Internet plc.  [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk]
 
>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:36:38 PST 2000 
State-Changed-Why:  
Follow-up to another PR. 


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

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