From nobody@FreeBSD.ORG  Mon Jun  5 07:17:26 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id AEAE237B84B; Mon,  5 Jun 2000 07:17:26 -0700 (PDT)
Message-Id: <20000605141726.AEAE237B84B@hub.freebsd.org>
Date: Mon,  5 Jun 2000 07:17:26 -0700 (PDT)
From: davidski@uffda.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
X-Send-Pr-Version: www-1.0

>Number:         19022
>Category:       kern
>Synopsis:       pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    cg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 05 07:20:01 PDT 2000
>Closed-Date:    Thu Jul 12 18:20:39 PDT 2001
>Last-Modified:  Thu Jul 12 18:21:27 PDT 2001
>Originator:     David F. Severski
>Release:        4.0-STABLE
>Organization:
>Environment:
FreeBSD elfman.deadheaven.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun May 28 12:49:35 PDT 2000     davidski@elfman.deadheaven.com:/usr/src/sys/compile/EFLMAN  i386

>Description:
The commits cg MFCed to pci/sound in May included new support for SB Live-type sound cards.  Compilling this support on Dell Dimension XPS T systems equipped with this card does detect the sound card properly and allow the appropriate devices to be created.  Any attempt to playback sound, however, will result in an immediate page fault panic and a system reboot.  This has been confirmed with other Dell Dimension XPS T series users on the -STABLE list, though some report only problems when using ECC RAM.
>How-To-Repeat:
1) System is DELL XPS T 850 w/ECC RAM.
2) Add device pcm to kernel and build.
3) Attempt to cat sound, use mpg123, or xmms will result in instant panic.
>Fix:
Unknown.

>Release-Note:
>Audit-Trail:

From: Bill Fumerola <billf@chc-chimes.com>
To: davidski@uffda.com
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/19022: pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
Date: Mon, 5 Jun 2000 10:23:29 -0400

 On Mon, Jun 05, 2000 at 07:17:26AM -0700, davidski@uffda.com wrote:
 
 > >Synopsis:       pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
 
 Panics have neat messages. They even can have many wonderful ways
 to debug them. The handbook lists how to get useful messages
 out of panics, I'd suggest you read the section in the handbook
 on kernel debugging and submit a traceback (or at least the
 panic string) as a followup.
 
 -- 
 Bill Fumerola - Network Architect / Computer Horizons Corp - CVM
 e-mail: billf@chc-chimes.com / billf@FreeBSD.org
 
 
 
 

From: "David F. Severski" <davidski@uffda.com>
To: Bill Fumerola <billf@chc-chimes.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/19022: pcm driver causes immediate panic  on use for SB
 Live Value on Dell Dimension XPS T systems
Date: Mon, 5 Jun 2000 07:37:45 -0700 (PDT)

 > On Mon, Jun 05, 2000 at 07:17:26AM -0700, davidski@uffda.com wrote:
 > 
 > > >Synopsis:       pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
 > 
 > Panics have neat messages. They even can have many wonderful ways
 > to debug them. The handbook lists how to get useful messages
 > out of panics, I'd suggest you read the section in the handbook
 > on kernel debugging and submit a traceback (or at least the
 > panic string) as a followup.
 
 I'll grab the panic string for you in just a bit when I can bring the box 
 back up with that kernel.  Unfortunately, this particular error message gives 
 you very little to go on.  It essentially complains about a memory corruption 
 (no diagnostic information) and starts a 15 second reboot counter.  I am 
 currently trying to round up an extra drive so that I can get a partition 
 for doing a dump to.
 
 David
 
 

From: "David F. Severski" <davidski@uffda.com>
To: Bill Fumerola <billf@chc-chimes.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/19022: pcm driver causes immediate panic  on use for SB
 Live Value on Dell Dimension XPS T systems
Date: Mon, 5 Jun 2000 09:57:27 -0700 (PDT)

 On Mon, 5 Jun 2000, Bill Fumerola wrote:
 
 > to debug them. The handbook lists how to get useful messages
 > out of panics, I'd suggest you read the section in the handbook
 > on kernel debugging and submit a traceback (or at least the
 > panic string) as a followup.
 
 As additional reference, I am posting the exact error message, the dmesg output 
 (unclean file system dismount messages are due to this panic), and my 
 kernel config file.  These are all from a freshly cvsuped, mergemastered, and 
 rebuilt world/kernel from 8:15 PST on Jun 5:
 
 Error message follows
 ****
 panic: RAM parity error, likely hardware faulure
 
 syncing disks... 3 3
 done
 Uptime:  6m4s
 Automatic reboot in 15 seconds - press a key on the console to abort.
 
 Dmesg output follows
 ****
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.0-STABLE #0: Mon Jun  5 09:30:23 PDT 2000
     davidski@elfman.deadheaven.com:/usr/src/sys/compile/ELFMAN
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 848052113 Hz
 CPU: Pentium III/Pentium III Xeon (848.05-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
 T,PSE36,MMX,FXSR,XMM>
 real memory  = 268435456 (262144K bytes)
 config> q
 avail memory = 258371584 (252316K bytes)
 Preloaded elf kernel "kernel" at 0xc02b3000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc02b309c.
 Pentium Pro MTRR support enabled
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <NVidia Riva TNT2 graphics accelerator> at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0x1400-0x140f at device 7.1 on pci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x10c0-0x10df irq 9 at dev
 ice 7.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 ulpt0: Canon BJC-2100, rev 1.00/1.00, addr 2, iclass 7/1
 chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 
 7.3 on pci0
 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x1000-0x107f mem 0xf4010000-0xf401
 007f irq 11 at device 13.0 on pci0
 xl0: Ethernet address: 00:01:02:45:71:91
 miibus0: <MII bus> on xl0
 xlphy0: <3c905C 10/100 internal PHY> on miibus0
 xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 atapci1: <Promise ATA66 controller> port 0x1080-0x10bf,0x1410-0x1413,0x1418-0x14
 1f,0x1414-0x1417,0x1420-0x1427 mem 0xf4020000-0xf403ffff irq 10 at device 14.0 o
 n pci0
 ata2: at 0x1420 on atapci1
 pcm0: <Creative EMU10K1> port 0x10e0-0x10ff irq 9 at device 16.0 on pci0
 pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 16.1
 pci0: <unknown card> (vendor=0x14f1, dev=0x1066) at 17.0 irq 3
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 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> on isa0
 sc0: VGA <16 virtual consoles, flags=0x200>
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: 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
 ppi0: <Parallel I/O> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ad4: 39082MB <Maxtor 54098U8> [79406/16/63] at ata2-master using UDMA66
 acd0: CD-RW <SONY CD-RW CRX140E> at ata1-master using PIO4
 Mounting root from ufs:/dev/ad4s2a
 WARNING: / was not properly dismounted
 
 
 Kernel config file follows
 ****
 #
 # ELFMAN -- Generic kernel configuration file for FreeBSD/i386
 #
 
 machine         i386
 cpu             I686_CPU
 ident           ELFMAN
 maxusers        32
 
 #makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
 
 options         MATH_EMULATE            #Support for x87 emulation
 options         INET                    #InterNETworking
 options         FFS                     #Berkeley Fast Filesystem
 options         FFS_ROOT                #FFS usable as root device [keep this!]
 options         PROCFS                  #Process filesystem
 options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
 options         SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
 options         UCONSOLE                #Allow users to grab the console
 options         USERCONFIG              #boot -c editor
 options         VISUAL_USERCONFIG       #visual boot -c editor
 options         KTRACE                  #ktrace(1) support
 options         SYSVSHM                 #SYSV-style shared memory
 options         SYSVMSG                 #SYSV-style message queues
 options         SYSVSEM                 #SYSV-style semaphores
 options         P1003_1B                #Posix P1003_1B real-time extensions
 options         _KPOSIX_PRIORITY_SCHEDULING
 options         ICMP_BANDLIM            #Rate limit bad replies
 
 device          isa
 device          eisa
 device          pci
 
 # Floppy drives
 device          fdc0    at isa? port IO_FD1 irq 6 drq 2
 device          fd0     at fdc0 drive 0
 
 # ATA and ATAPI devices
 device          ata
 device          atadisk                 # ATA disk drives
 device          atapicd                 # ATAPI CDROM drives
 device          atapifd                 # ATAPI floppy drives
 options         ATA_STATIC_ID           #Static device numbering
 #options        ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device          atkbdc0 at isa? port IO_KBD
 device          atkbd0  at atkbdc? irq 1
 device          psm0    at atkbdc? irq 12
 
 device          vga0    at isa?
 
 # splash screen/screen saver
 pseudo-device   splash
 
 # syscons is the default console driver, resembling an SCO console
 device          sc0     at isa?
 
 # Floating point support - do not disable.
 device          npx0    at nexus? port IO_NPX irq 13
 
 # Power management support (see LINT for more options)
 #device         apm0    at nexus? disable flags 0x20 # Advanced Power Management
 
 # Serial (COM) ports
 device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
 
 # Parallel port
 device          ppc0    at isa? irq 7
 device          ppbus           # Parallel port bus (required)
 device          lpt             # Printer
 device          ppi             # Parallel port interface device
 
 # PCI Ethernet NICs that use the common MII bus controller code.
 device          miibus          # MII bus support
 device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
 
 # Pseudo devices - the number indicates how many units to allocated.
 pseudo-device   loop            # Network loopback
 pseudo-device   ether           # Ethernet support
 pseudo-device   pty             # Pseudo-ttys (telnet etc)
 #pseudo-device  md              # Memory "disks"
 
 # The `bpf' pseudo-device enables the Berkeley Packet Filter.
 # Be aware of the administrative consequences of enabling this!
 pseudo-device   bpf             #Berkeley packet filter
 
 # USB support
 # UHCI controller
 device          uhci
 device          usb             # USB Bus (required)
 device          ugen            # Generic
 device          ulpt            # Printer
 
 #Sound card options
 device          pcm
 
 
 
Responsible-Changed-From-To: freebsd-bugs->cg 
Responsible-Changed-By: phk 
Responsible-Changed-When: Sat Jun 2 01:32:26 PDT 2001 
Responsible-Changed-Why:  
While I suspect hardware rather than soundchips, pass this around 
Cameron just in case... 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19022 

From: "Cameron Grant" <gandalf@vilnya.demon.co.uk>
To: <freebsd-gnats-submit@FreeBSD.org>, <davidski@uffda.com>
Cc:  
Subject: Re: kern/19022: pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
Date: Sat, 2 Jun 2001 16:43:59 +0100

 this probably is a sblive problem, though i was never able to replicate it.
 it is only known to happen on ecc-based machines and it was reported that
 changes to the driver sometime before 4.2-release fixed it.  thus, please
 try more recent source.
 
 

From: "David F. Severski" <davidski@deadheaven.com>
To: Cameron Grant <gandalf@vilnya.demon.co.uk>
Cc: freebsd-gnats-submit@FreeBSD.org, davidski@uffda.com
Subject: Re: kern/19022: pcm driver causes immediate panic  on use for SB Live Value on Dell Dimension XPS T systems
Date: Sun, 3 Jun 2001 10:56:05 -0700

 --mP3DRpeJDSE+ciuQ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Jun 02, 2001 at 04:43:59PM +0100, Cameron Grant wrote:
 > this probably is a sblive problem, though i was never able to replicate i=
 t.
 > it is only known to happen on ecc-based machines and it was reported that
 > changes to the driver sometime before 4.2-release fixed it.  thus, please
 > try more recent source.
 
 The PCM changes in stable some time back (pre-4.2) did correct the problem.=
  =20
 Thanks!
 
 David
 
 --mP3DRpeJDSE+ciuQ
 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
 
 iD8DBQE7Gno0lTJ+DI1JK1sRAqMbAJwMaAx2pyCK1PSXKOxd14VCwSoG7ACdFZ6Z
 qkii3sXBMSdPU/IAsYB6Kls=
 =hOGW
 -----END PGP SIGNATURE-----
 
 --mP3DRpeJDSE+ciuQ--
State-Changed-From-To: open->closed 
State-Changed-By: greid 
State-Changed-When: Thu Jul 12 18:20:39 PDT 2001 
State-Changed-Why:  
Originator reports problem has been solved. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19022 
>Unformatted:
