From nobody@FreeBSD.org  Sat Jan  5 08:55:42 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id A5F6337B405
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Jan 2002 08:55:41 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g05GtfY89705;
	Sat, 5 Jan 2002 08:55:41 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201051655.g05GtfY89705@freefall.freebsd.org>
Date: Sat, 5 Jan 2002 08:55:41 -0800 (PST)
From: Gianluca Sordiglioni <inzet@gufi.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD panics when accessing encrypted DVDs
X-Send-Pr-Version: www-1.0

>Number:         33578
>Category:       kern
>Synopsis:       FreeBSD panics when accessing encrypted DVDs
>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 Jan 05 09:00:02 PST 2002
>Closed-Date:    Sun Aug 25 20:35:25 PDT 2002
>Last-Modified:  Sun Aug 25 20:35:25 PDT 2002
>Originator:     Gianluca Sordiglioni
>Release:        4.4-STABLE
>Organization:
Gruppo Utenti FreeBSD Italia (GUFI)
>Environment:
FreeBSD attela.babbari.it 4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Dec 22 01:14:34 CET 2001     root@:/usr/obj/usr/src/sys/ATTELA  i386
>Description:
Opening an encrypted DVD with any DVD Player (Xine, Ogle, MPlayer) I get a system panic and I get an automatic reboot.
libdvdcss starts to decode .vob files and system panics depending on the DVD title: sometimes it crashes on the first file, sometimes after decoding three or four of them.

Here is the output of dmesg on my machine:
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #1: Sat Dec 22 01:14:34 CET 2001
    root@:/usr/obj/usr/src/sys/ATTELA
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K7(tm) Processor (503.53-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x612  Stepping = 2
  Features=0x81f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 257794048 (251752K bytes)
Preloaded elf kernel "kernel" at 0xc0368000.
VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc02fea22 (1000022)
VESA: ATI RAGE128
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00f8110
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AMD-751 host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AMD-751 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Rage128-RF graphics accelerator> at 5.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xffa0-0xffaf at device 4.1 on pci0
ata1: at 0x170 irq 15 on atapci0
chip1: <VIA 82C686 ACPI interface> at device 4.4 on pci0
pcm0: <Creative EMU10K1> port 0xd000-0xd01f irq 9 at device 14.0 on pci0
ahc0: <Adaptec 29160N Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xeffff000-0xefffffff irq 10 at device 16.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ep0: <3Com 3C509B-TPO EtherLink III (PnP)> at port 0x210-0x21f irq 5 on isa0
ep0: Ethernet address 00:a0:24:87:2c:a1
faith0 XXX: driver didn't set ifq_maxlen
acd0: DVD-ROM <CREATIVEDVD6630E> at ata1-master using PIO4
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s2a
da0 at ahc0 bus 0 target 0 lun 0
da0: <FUJITSU MAH3182MP 0113> Fixed Direct Access SCSI-4 device
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 17432MB (35701260 512 byte sectors: 255H 63S/T 2222C)
da1 at ahc0 bus 0 target 6 lun 0
da1: <iomega jaz 1GB H.72> Removable Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 15)
da1: Attempt to query device size failed: NOT READY, Medium not present

>How-To-Repeat:
Install any DVD Player, such as /usr/ports/graphics/ogle and open the DVD.

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

From: Kris Kennaway <kris@obsecurity.org>
To: Gianluca Sordiglioni <inzet@gufi.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/33578: FreeBSD panics when accessing encrypted DVDs
Date: Sat, 5 Jan 2002 15:13:37 -0800

 --45Z9DzgjV8m4Oswq
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sat, Jan 05, 2002 at 08:55:41AM -0800, Gianluca Sordiglioni wrote:
 
 > Opening an encrypted DVD with any DVD Player (Xine, Ogle, MPlayer) I get a system panic and I get an automatic reboot.
 
 Please obtain a panic traceback of a debugging crashdump as described
 in the handbook, so this problem can be diagnosed.
 
 kris
 
 --45Z9DzgjV8m4Oswq
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE8N4igWry0BWjoQKURAp4EAJ4qFQKylv7tXW23TsRCT5kYFqK4PgCeMqx+
 Wo+izL4WV/VdUQ45zLuGBGk=
 =vEGy
 -----END PGP SIGNATURE-----
 
 --45Z9DzgjV8m4Oswq--
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Tue Jan 8 02:56:05 PST 2002 
State-Changed-Why:  
Kris requested more info, as per 

http://www.freebsd.org/FAQ/advanced.html#KERNEL-PANIC-TROUBLESHOOTING 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33578 
State-Changed-From-To: feedback->closed 
State-Changed-By: keramida 
State-Changed-When: Sun Aug 25 20:33:54 PDT 2002 
State-Changed-Why:  
Feedback timeout. 

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