From mirage9_1999@yahoo.com  Sun Dec  7 13:37:26 2003
Return-Path: <mirage9_1999@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB40E16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Dec 2003 13:37:26 -0800 (PST)
Received: from web40802.mail.yahoo.com (web40802.mail.yahoo.com [66.218.78.179])
	by mx1.FreeBSD.org (Postfix) with SMTP id 139DE43FF5
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Dec 2003 13:37:25 -0800 (PST)
	(envelope-from mirage9_1999@yahoo.com)
Received: from [141.156.48.157] by web40802.mail.yahoo.com via HTTP; Sun, 07 Dec 2003 13:37:24 PST
Message-Id: <20031207213724.66325.qmail@web40802.mail.yahoo.com>
Date: Sun, 7 Dec 2003 13:37:24 -0800 (PST)
From: Andrew Lankford <mirage9_1999@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org, current@freebsd.org
Subject: panic with DVDROM in 5-CURRENT

>Number:         60025
>Category:       kern
>Synopsis:       using DVD ROM causes a panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 07 13:40:23 PST 2003
>Closed-Date:    Tue Aug 24 12:22:57 GMT 2004
>Last-Modified:  Tue Aug 24 12:22:57 GMT 2004
>Originator:     Andrew Lankford
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bogushost2 5.2-CURRENT FreeBSD
5.2-CURRENT #14: Sun Dec 7 15:34:18 EST 2003
root@bogushost2:/usr/obj/usr/src/sys/ARL5KERNEL i386

ATA channel 0:
    Master:  ad0 <IBM-DTLA-307030/TX4OA5AA> ATA/ATAPI
rev 5
    Slave:   ad1 <WDC WD800JB-00CRA1/17.07W17>
ATA/ATAPI rev 5
ATA channel 1:
    Master: acd0 <HITACHI DVD-ROM GD-7500/0005>
ATA/ATAPI rev 0
    Slave:  acd1 <PLEXTOR CD-R PX-W8432T/1.09>
ATA/ATAPI rev 0


>Description:

Using the latest build of ogle  with /dev/acd0 caused
the latest panic
 (backtrace below).  I think the same sort of panic
has occured when
I tried playing CD's on this drive as well.  It looks
like some sort of 
race because these panics aren't persistent but seem
to happen
when I start up cdcontrol or ogle too quickly.   Just
a guess.  I have
another backtrace for CD playback with an older
kernel.

#0  doadump () at
/usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0494db4 in boot (howto=0x100) at
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc0495158 in panic () at
/usr/src/sys/kern/kern_shutdown.c:550
#3  0xc05b6a9c in trap_fatal (frame=0xd87e8c44,
eva=0x0) at /usr/src/sys/i386/i386/trap.c:821
#4  0xc05b6762 in trap_pfault (frame=0xd87e8c44,
usermode=0x0, eva=0x1c) at
/usr/src/sys/i386/i386/trap.c:735
#5  0xc05b62fd in trap (frame=
      {tf_fs = 0xc0c30018, tf_es = 0xc44c0010, tf_ds =
0xc44c0010, tf_edi = 0x0, tf_esi = 0xc44c0380, tf_ebp
= 0xd87e8c98, tf_isp = 0xd87e8c70, tf_ebx =
0xc44a8960, tf_edx = 0x0, tf_ecx = 0xc061cd84, tf_eax
= 0x1, tf_trapno = 0xc, tf_err = 0x0, tf_eip =
0xc04b15d3, tf_cs = 0x8, tf_eflags = 0x10207, tf_esp =
0xc045c77e, tf_ss = 0xc44cd480})
    at /usr/src/sys/i386/i386/trap.c:420
#6  0xc05a8168 in calltrap () at {standard input}:94
#7  0xc0461038 in g_destroy_provider (pp=0xc44a8960)
at /usr/src/sys/geom/geom_subr.c:426
#8  0xc045dff5 in g_orphan_register (pp=0xc44c0380) at
/usr/src/sys/geom/geom_event.c:147
#9  0xc045e11c in one_event () at
/usr/src/sys/geom/geom_event.c:173
#10 0xc045e345 in g_run_events () at
/usr/src/sys/geom/geom_event.c:206
#11 0xc045f365 in g_event_procbody () at
/usr/src/sys/geom/geom_kern.c:134
#12 0xc047e130 in fork_exit (callout=0xc045f340
<g_event_procbody>, arg=0x0, frame=0x0)
    at /usr/src/sys/kern/kern_fork.c:793



>How-To-Repeat:
  
  Plop a CD/DVD in my drive and start cdcontrol/ogle.

>Fix:



__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Dec 7 18:18:21 PST 2003 
Responsible-Changed-Why:  
Rescue this PR from the 'pending' pile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60025 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Tue Aug 24 12:21:32 GMT 2004 
State-Changed-Why:  
This should be fixed in CURRENT with geom_event.c rev 1.45 on 
December 23. 

Please report Problems with CURRENT on the freebsd-current mailinglist first 

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