From owner-freebsd-current Wed Nov 21 2:25:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id 356B837B405 for ; Wed, 21 Nov 2001 02:25:09 -0800 (PST) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.33 #1) id 166UYu-0001JN-00 for freebsd-current@Freebsd.org; Wed, 21 Nov 2001 10:25:00 +0000 Date: Wed, 21 Nov 2001 10:25:00 +0000 From: Simon Dick To: freebsd-current@Freebsd.org Subject: Re: Lock order reversal while playing mp3s Message-ID: <20011121102500.H375@irrelevant.org> References: <20011121093743.E375@irrelevant.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011121093743.E375@irrelevant.org>; from simond@irrelevant.org on Wed, Nov 21, 2001 at 09:37:43AM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 21, 2001 at 09:37:43AM +0000, Simon Dick wrote: > I get the following lock order reversal when playing mp3s on my Vaio > PCG-F807K laptop: > lock order reversal > 1st 0xc399a840 pcm0:play:0 @ /usr/src/sys/modules/sound/pcm/../../../dev/sound/pcm/dsp.c:936 > 2nd 0xc399ad80 pcm0 @ /usr/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:132 > > simond@laptop:~$ cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at memory 0xfedf8000 irq 9 (4p/2r/0v channels duplex default) > > My dmesg is attached. And now my *real* dmesg is attached :) -- Simon Dick simond@irrelevant.org "Why do I get this urge to go bowling everytime I see Tux?" --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" 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 5.0-CURRENT #1: Tue Nov 20 17:30:10 GMT 2001 root@laptop.internal.irrelevant.org:/usr/obj/usr/src/sys/LAPTOP Preloaded elf kernel "/boot/kernel/kernel" at 0xc04fe000. Preloaded elf module "/boot/kernel/cd9660.ko" at 0xc04fe0a8. Preloaded elf module "/boot/kernel/msdosfs.ko" at 0xc04fe154. Preloaded elf module "/boot/kernel/ntfs.ko" at 0xc04fe200. Preloaded elf module "/boot/kernel/procfs.ko" at 0xc04fe2ac. Preloaded elf module "/boot/kernel/md.ko" at 0xc04fe358. Preloaded elf module "/boot/kernel/linux.ko" at 0xc04fe400. Preloaded elf module "/boot/kernel/ipfw.ko" at 0xc04fe4ac. Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc04fe558. Preloaded elf module "/boot/kernel/snd_ds1.ko" at 0xc04fe604. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04fe6b0. Preloaded elf module "/boot/kernel/usb.ko" at 0xc04fe75c. Preloaded elf module "/boot/kernel/ugen.ko" at 0xc04fe804. Preloaded elf module "/boot/kernel/uhid.ko" at 0xc04fe8b0. Preloaded elf module "/boot/kernel/ums.ko" at 0xc04fe95c. Preloaded elf module "/boot/kernel/umass.ko" at 0xc04fea04. Preloaded elf module "/boot/kernel/agp.ko" at 0xc04feab0. Preloaded elf module "/boot/kernel/atspeaker.ko" at 0xc04feb58. Preloaded elf module "/boot/kernel/nfsclient.ko" at 0xc04fec08. Preloaded elf module "/boot/kernel/fdc.ko" at 0xc04fecb8. Preloaded elf module "/boot/kernel/if_ed.ko" at 0xc04fed60. Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04fee0c. Preloaded elf module "/boot/kernel/snp.ko" at 0xc04feeb8. Preloaded elf module "/boot/kernel/nmdm.ko" at 0xc04fef60. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04ff00c. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 645207024 Hz CPU: Pentium III/Pentium III Xeon/Celeron (645.21-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 268369920 (262080K bytes) avail memory = 255623168 (249632K bytes) Pentium Pro MTRR support enabled VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc0328842 (1000022) VESA: ATI MACH64 Using $PIR table, 8 entries at 0xc00fdf40 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 agp0: mem 0x40000000-0x40ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfc90-0xfc9f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xfca0-0xfcbf irq 9 at device 7.2 on pci0 usb0: 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 intpm0: port 0x1040-0x104f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 1040 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 pci0: at device 8.0 (no driver attached) pcm0: port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0 pci0: at device 10.0 (no driver attached) acpi_pcib0: device is routed to IRQ 9 pcic0: irq 9 at device 12.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pccard0: on pcic0 acpi_pcib0: device is routed to IRQ 9 pcic1: irq 9 at device 12.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pccard1: on pcic1 atspeaker0 port 0x61 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77a,0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it atkbdc-: atkbdc0 already exists, skipping it fdc-: fdc0 already exists, skipping it pcic-: pcic0 already exists, skipping it pcic-: pcic1 already exists, skipping it ppc-: ppc0 already exists, skipping it sc-: sc0 already exists, skipping it sio-: sio0 already exists, skipping it vga-: vga0 already exists, skipping it orm0: