Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2001 16:33:57 +0100
From:      Jan Demter <jan@demter.de>
To:        stable@freebsd.org
Subject:   pcm / emu10k1 broken due to recent commits?
Message-ID:  <20011222163357.6b1a188a.jan@demter.de>

next in thread | raw e-mail | index | archive | help
After having updated my system to the latest -STABLE today, any attempt to play audio immediately leads to a panic.
Everything worked just fine with -STABLE as of a week ago...

Trace in DDB:

fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0355702
stack pointer           = 0x10:0xcfa3ec7c
frame pointer           = 0x10:0xcfa3ec7c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 222 (esd)
interrupt mask          = tty
kernel: type 12 trap, code=0
Stopped at      sndbuf_getbps+0x6:      movl    0x38(%eax),%eax
db> trace
sndbuf_getbps(0,c17a7000,c17a7a00,80,cfa3ecb0) at sndbuf_getbps+0x6
emu_settimer(c17a7000,cafebabe,c17b9060,80,c17a8d70) at emu_settimer+0x52
emupchan_setblocksize(c17a8d70,c17a7a00,80,0,1f40) at emupchan_setblocksize+0x21
chn_setblocksize(c17a6500,0,0,c17b9050,c17a8d70) at chn_setblocksize+0x247
chn_tryspeed(c17a6500,1f40,1f40,c17a6500,0) at chn_tryspeed+0x151
chn_tryformat(c17a6500,8,1f40,c17a8d70,c17a6500) at chn_tryformat+0xaf
chn_setformat(c17a6500,8,0,c17a6500,c17a6c80) at chn_setformat+0x16
chn_reset(c17a6500,8,cf9505c0,c17a6a80,cd0a2700) at chn_reset+0xad
dsp_open(c17a6a80,6,2000,cd0a2700,0) at dsp_open+0x194
spec_open(cfa3ee0c,cfa3ede4,c021d865,cfa3ee0c,cfa3ee80) at spec_open+0xfe
spec_vnoperate(cfa3ee0c,cfa3ee80,c018b394,cfa3ee0c,0) at spec_vnoperate+0x15
ufs_vnoperatespec(cfa3ee0c,0,c19bf0c0,cfa3ef80,cf9505c0) at ufs_vnoperatespec+0x
15
vn_open(cfa3eed8,6,0,cd0a2700,3) at vn_open+0x3d
open(cd0a2700,cfaef80,280adb8c,280ac63a,04f2db) at open+0xb8
syscall2(2f,2f,2f,804f2db,280ac63a) at syscall2+0x1a5
Xint0x80_syscall() at Xint0x80_syscall+0x25


dmesg:
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.5-PRERELEASE #2: Sat Dec 22 15:09:25 CET 2001
    jan@rabauke.ath.cx:/usr/src/sys/compile/JAN
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (870.58-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,PN,MMX,FXSR,SSE>
real memory  = 268353536 (262064K bytes)
avail memory = 257478656 (251444K bytes)
Preloaded elf kernel "kernel" at 0xc0366000.
Preloaded elf module "snd_emu10k1.ko" at 0xc036609c.
Preloaded elf module "snd_pcm.ko" at 0xc0366140.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1260
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: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 4.2 on pc
i0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 10 at device 4.3 on pc
i0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xb800-0xb87f mem 0xf8000000-0xf800
007f irq 10 at device 6.0 on pci0
xl0: Ethernet address: 00:04:76:94:b0:f5
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb400-0xb43f mem 0xf7000000-0xf701
ffff,0xf7800000-0xf7800fff irq 11 at device 7.0 on pci0
fxp0: Ethernet address 00:02:b3:8d:6d:05
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xb000-0xb01f irq 9 at device 9.0 on pci0
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc87ff,0xcc000-0xcc7ff,0xd0000-0xd17ff on 
isa0
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
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
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
IP Filter: v3.4.20 initialized.  Default = block all, Logging = enabled
ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master tagged UDMA100
acd0: CDROM <ASUS CD-S500/A> at ata1-master using UDMA33
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted

TIA,

-- 
 /"\                           | Jan Demter
 \ /     ASCII Ribbon Campaign | jan@demter.de
  X      Against HTML Mail     |
 / \                           |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011222163357.6b1a188a.jan>