From andrew@why.whine.com  Sun May 26 13:18:24 1996
Received: from cicerone.uunet.ca (root@cicerone.uunet.ca [142.77.1.11])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA13491
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 May 1996 13:18:23 -0700 (PDT)
Received: from why.whine.com ([205.150.249.1]) by mail.uunet.ca with ESMTP id <115690-24747>; Sun, 26 May 1996 16:18:18 -0400
Received: (from andrew@localhost) by why.whine.com (8.7.5/8.6.12) id QAA00910; Sun, 26 May 1996 16:18:12 -0400 (EDT)
Message-Id: <199605262018.QAA00910@why.whine.com>
Date: Sun, 26 May 1996 16:18:12 -0400
From: Andrew Herdman <andrew@why.whine.com>
Reply-To: andrew@why.whine.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: problem with cd9660 driver
X-Send-Pr-Version: 3.2

>Number:         1252
>Category:       kern
>Synopsis:       Heavy activity on a CD causes panic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 13:20:02 PDT 1996
>Closed-Date:    Sun Feb 23 21:24:18 PST 1997
>Last-Modified:  Sun Feb 23 21:25:06 PST 1997
>Originator:     Andrew Herdman
>Release:        FreeBSD 2.2-960501-SNAP i386
>Organization:
whine.com
>Environment:

   ASUS P/I-P55TP4XEG, Buslogics 946c PCI SCSI, Nec 3x SCSI CD-ROM, and
   ATAPI CD-ROMs.

>Description:

   When running a find | xargs grep on the cdrom the system will hang and
   then eventually reboot.

>How-To-Repeat:

   Mount the live filesystem disk from 2.1.0-RELEASE and then :

     cd /cdrom/usr/include
     find . -print | xargs grep -il wantthis

>Fix:
>Release-Note:
>Audit-Trail:

From: J Wunsch <j@uriah.heep.sax.de>
To: andrew@why.whine.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/1252: problem with cd9660 driver
Date: Mon, 27 May 1996 00:09:01 +0200 (MET DST)

 As Andrew Herdman wrote:
 
 >    When running a find | xargs grep on the cdrom the system will hang and
 >    then eventually reboot.
 
 Where is it mounted?  From the SCSI, or the ATAPI CDROM?
 
 My /etc/daily used to reference all my mounted CDs for ages now, and
 i've never noticed a problem.  Of course (:-), all of them are SCSI
 devices.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)

From: Andrew Herdman <andrew@why.whine.com>
To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/1252: problem with cd9660 driver
Date: Sun, 26 May 1996 19:00:25 -0400

 On Sun, 26 May 1996, J Wunsch wrote:
 
 > As Andrew Herdman wrote:
 > 
 > >    When running a find | xargs grep on the cdrom the system will hang and
 > >    then eventually reboot.
 > 
 > Where is it mounted?  From the SCSI, or the ATAPI CDROM?
 > 
 > My /etc/daily used to reference all my mounted CDs for ages now, and
 > i've never noticed a problem.  Of course (:-), all of them are SCSI
 > devices.
 > 
 
 It happens with both SCSI and ATAPI devices.  The system I use at home is 
 SCSI and the one at work is ATAPI and they both give the same result, 
 which is !crash!
 
 Andrew
 

From: J Wunsch <j@uriah.heep.sax.de>
To: andrew@why.whine.com (Andrew Herdman)
Cc: joerg_wunsch@uriah.heep.sax.de, FreeBSD-gnats-submit@Freebsd.org
Subject: Re: kern/1252: problem with cd9660 driver
Date: Mon, 27 May 1996 09:14:39 +0200 (MET DST)

 As Andrew Herdman wrote:
 
 > > Where is it mounted?  From the SCSI, or the ATAPI CDROM?
 
 > It happens with both SCSI and ATAPI devices.  The system I use at home is 
 > SCSI and the one at work is ATAPI and they both give the same result, 
 > which is !crash!
 
 I'm afraid you will have to investigate more if you want this solved.
 Nobody else except you complained about it, and i'm pretty sure there
 are enough other people like me who regularly scan entire CDs.  So it
 looks like it's only reproducible in your situation.
 
 (Perhaps you can get a kernel core dump?  DDB output?)
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)

From: Andrew Herdman <andrew@why.whine.com>
To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc: joerg_wunsch@uriah.heep.sax.de, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/1252: problem with cd9660 driver
Date: Mon, 27 May 1996 17:49:36 -0400

 On Mon, 27 May 1996, J Wunsch wrote:
 
 > As Andrew Herdman wrote:
 > 
 > > > Where is it mounted?  From the SCSI, or the ATAPI CDROM?
 > 
 > > It happens with both SCSI and ATAPI devices.  The system I use at home is 
 > > SCSI and the one at work is ATAPI and they both give the same result, 
 > > which is !crash!
 > 
 > I'm afraid you will have to investigate more if you want this solved.
 > Nobody else except you complained about it, and i'm pretty sure there
 > are enough other people like me who regularly scan entire CDs.  So it
 > looks like it's only reproducible in your situation.
 > 
 > (Perhaps you can get a kernel core dump?  DDB output?)
 
 Ok i just did it and got a core and here is what gdb shows me:
 
 gdb -k kernel.1 vmcore.1
 GDB is free software and you are welcome to distribute copies of it
  under certain conditions; type "show copying" to see the conditions.
 There is absolutely no warranty for GDB; type "show warranty" for details.
 GDB 4.13 (i386-unknown-freebsd), 
 Copyright 1994 Free Software Foundation, Inc...(no debugging symbols 
 found)...
 IdlePTD 1df000
 current pcb at 1cbb18
 panic: vwakeup: neg numoutput
 #0  0xf017a547 in boot ()
 (kgdb) bt
 #0  0xf017a547 in boot ()
 #1  0xf0115236 in panic ()
 #2  0xf012cbab in vwakeup ()
 #3  0xf01297ee in biodone ()
 #4  0xf0154153 in cd_strategy ()
 #5  0xf0158dec in scsi_strategy ()
 #6  0xf01539b8 in cdstrategy ()
 #7  0xf0135d5a in spec_strategy ()
 #8  0xf01050a0 in cd9660_strategy ()
 #9  0xf012ac83 in cluster_read ()
 #10 0xf01046d5 in cd9660_read ()
 #11 0xf0131bd8 in vn_read ()
 #12 0xf01168a7 in read ()
 #13 0xf0180321 in syscall ()
 #14 0xf0177e15 in Xsyscall ()
 #15 0x6012 in ?? ()
 #16 0x6cb0 in ?? ()
 #17 0x1095 in ?? ()
 
 I'll also put the dumps for anon ftp from ghoul.uunet.ca in /pub/
 
 Andrew
 
State-Changed-From-To: open->feedback 
State-Changed-By: scrappy 
State-Changed-When: Mon Oct 21 22:22:43 PDT 1996 
State-Changed-Why:  

confirm status 

State-Changed-From-To: feedback->closed 
State-Changed-By: mpp 
State-Changed-When: Sun Feb 23 21:24:18 PST 1997 
State-Changed-Why:  
The originator says that this is fixed in -current. 
>Unformatted:
