From owner-freebsd-current Sun Dec 16 10:24:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id D131337B41A for ; Sun, 16 Dec 2001 10:24:39 -0800 (PST) Received: (qmail 15649 invoked by uid 0); 16 Dec 2001 18:24:37 -0000 Received: from p50870b29.dip.t-dialin.net (HELO mephisto.cthulhu.net) (80.135.11.41) by mail.gmx.net (mp012-rz3) with SMTP; 16 Dec 2001 18:24:37 -0000 Received: (from widersacher@localhost) by mephisto.cthulhu.net (8.11.6/8.11.6) id fBGII5F00338 for freebsd-current@freebsd.org; Sun, 16 Dec 2001 19:18:05 +0100 (CET) (envelope-from widersacher) Date: Sun, 16 Dec 2001 19:18:04 +0100 From: Christopher Sharp To: freebsd-current@freebsd.org Subject: pcm: lock order reversal Message-ID: <20011216181804.GA285@home.pablotron.org> Mail-Followup-To: Christopher Sharp , freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.3.24i 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 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello everybody, I'm getting a lock order reversal from pcm over last days, which look like this: Dec 15 16:47:54 mephisto kernel: lock order reversal Dec 15 16:47:54 mephisto kernel: 1st 0xc390e640 pcm0 @ ../../../dev/sound/pcm/sound.c:132 Dec 15 16:47:54 mephisto kernel: 2nd 0xc390e500 pcm0:play:0 @ ../../../dev/sound/pcm/sound.c:189 I don't know if this is important, but I also get complete freezes of my box somtimes and I don't know if there is a connection between this two things Here are some additional information: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xdf80 irq 9 (4p/2r/0v channels duplex default) # uname -a FreeBSD mephisto.cthulhu.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Dec 13 17:48:44 CET 2001 *cut* my dmesg ouput is attached. if this is irrelevant please ignore this mail and sorry for my bad english, it isn't my native language ... Christopher Sharp -- FreeBSD the Power for Everything ! Christopher Sharp --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.output" 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 #0: Thu Dec 13 17:48:44 CET 2001 widersacher@mephisto.cthulhu.net:/usr/src/sys/i386/compile/KERNEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc054b000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 350798022 Hz CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 268435456 (262144K bytes) avail memory = 255389696 (249404K bytes) K6-family MTRR support enabled (2 registers) Using $PIR table, 7 entries at 0xc00f7c00 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 3.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 ahc0: port 0xdc00-0xdcff mem 0xdffff000-0xdfffffff irq 10 at device 14.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs atapci0: port 0xffa0-0xffaf irq 0 at device 15.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: port 0xdf80-0xdf9f irq 9 at device 16.0 on pci0 ed0: port 0xdf40-0xdf5f irq 5 at device 18.0 on pci0 ed0: address 00:50:ba:bc:f0:77, type NE2000 (16 bit) ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it ed-: ed0 already exists, skipping it sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it orm0: