From mjacob@farrago.feral.com  Sat Apr 15 20:15:59 2000
Return-Path: <mjacob@farrago.feral.com>
Received: from feral.com (feral.com [192.67.166.1])
	by hub.freebsd.org (Postfix) with ESMTP id EC1A837B7B5
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Apr 2000 20:15:57 -0700 (PDT)
	(envelope-from mjacob@farrago.feral.com)
Received: from farrago.feral.com (farrago [192.67.166.23])
	by feral.com (8.9.3/8.9.3) with ESMTP id UAA08739
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Apr 2000 20:15:46 -0700
Received: (from mjacob@localhost)
	by farrago.feral.com (8.9.3/8.9.1) id UAA00393;
	Sat, 15 Apr 2000 20:15:57 -0700 (PDT)
	(envelope-from mjacob)
Message-Id: <200004160315.UAA00393@farrago.feral.com>
Date: Sat, 15 Apr 2000 20:15:57 -0700 (PDT)
From: mjacob@feral.com
Sender: mjacob@farrago.feral.com
Reply-To: mjacob@feral.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: panic attempting to use AIO on alpha
X-Send-Pr-Version: 3.2

>Number:         18031
>Category:       kern
>Synopsis:       alpha system panics cpu_fork during AIO call
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 15 20:20:01 PDT 2000
>Closed-Date:    Mon Mar 12 14:57:12 PST 2001
>Last-Modified:  Mon Mar 12 15:01:33 PST 2001
>Originator:     Matthew Jacob
>Release:        FreeBSD 5.0-CURRENT alpha
>Organization:
Feral Software
>Environment:

See release above. Standard PC164 system with VFS_AIO optioned in.

>Description:

Running an app that does aio_writes to a file- in this case  a raw
device, panics in cpu_fork

panic: cpu_fork: curproc
panic
Stopped at      Debugger+0x2c:  ldq     ra,0(sp) <0xfffffe000a371bd0>   <ra=0xfffffc00004d9700,sp=0xfffffe000a371bd0>
db> t
Debugger() at Debugger+0x2c
panic() at panic+0x100
cpu_fork() at cpu_fork+0x140
vm_fork() at vm_fork+0x20c
fork1() at fork1+0xa34
aio_newproc() at aio_newproc+0x24
aio_init_aioinfo() at aio_init_aioinfo+0x194
aio_aqueue() at aio_aqueue+0x34
aio_write() at aio_write+0x54
syscall() at syscall+0x244
XentSys() at XentSys+0x50
(null)() at 0x120006e94
db> c

syncing disks... 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 
1: dev:MFS0, flags:01020024, blkno:131136, lblkno:131136
2: dev:MFS0, flags:01020024, blkno:65600, lblkno:65600
giving up on 2 buffers
Uptime: 34m51s

dumping to dev #ad/1, offset 488656


Core dump and source to go with it available on request- heck, gdb -k even
works on it. I just don't have time chase this myself.

>How-To-Repeat:

See above

>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alc 
State-Changed-When: Mon Mar 12 14:57:12 PST 2001 
State-Changed-Why:  
Fixed last year in revisions 1.31 and 1.28.2.1 of alpha/alpha/vm_machdep.c. 


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