Bug 19022

Summary: pcm driver causes immediate panic on use for SB Live Value on Dell Dimension XPS T systems
Product: Base System Reporter: davidski <davidski>
Component: kernAssignee: cg
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description davidski 2000-06-05 15:20:01 UTC
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.

Fix: 

Unknown.
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.
Comment 1 Bill Fumerola 2000-06-05 15:23:29 UTC
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
Comment 2 davidski 2000-06-05 15:37:45 UTC
> 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
Comment 3 davidski 2000-06-05 17:57:27 UTC
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
Comment 4 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-06-02 09:32:26 UTC
Responsible Changed
From-To: freebsd-bugs->cg

While I suspect hardware rather than soundchips, pass this around 
Cameron just in case...
Comment 5 gandalf 2001-06-02 16:43:59 UTC
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.
Comment 6 davidski 2001-06-03 18:56:05 UTC
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 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.


The PCM changes in stable some time back (pre-4.2) did correct the problem.  
Thanks!

David
Comment 7 greid freebsd_committer freebsd_triage 2001-07-13 02:20:39 UTC
State Changed
From-To: open->closed

Originator reports problem has been solved.