From owner-freebsd-current Sun Dec 16 13:26:59 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 D9B2137B41B for ; Sun, 16 Dec 2001 13:26:53 -0800 (PST) Received: (qmail 23577 invoked by uid 0); 16 Dec 2001 21:26:51 -0000 Received: from p50870b29.dip.t-dialin.net (HELO mephisto.cthulhu.net) (80.135.11.41) by mail.gmx.net (mp010-rz3) with SMTP; 16 Dec 2001 21:26:51 -0000 Received: (from widersacher@localhost) by mephisto.cthulhu.net (8.11.6/8.11.6) id fBGLQQi00966 for current@freebsd.org; Sun, 16 Dec 2001 22:26:26 +0100 (CET) (envelope-from widersacher) Date: Sun, 16 Dec 2001 22:26:25 +0100 From: Christopher Sharp To: current@freebsd.org Subject: pcm: lock order reversal & box freezes Message-ID: <20011216212625.GA916@home.pablotron.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="NzB8fVQJ5HfG6fxh" 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 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello everybody, over the last few days I get this lock order reversal and also my box freezes somtimes. I don't know if there is a connection but I think it might be of interest. If not ignore this mail ... This I see in /var/log/messages: Dec 15 16:47:54 mephisto kernel: lock order reversal Dec 15 16:47:54 mephisto kernel: 1st 0xc390e640 pcm0 @ ../../../dev/sound/pcm/so und.c:132 Dec 15 16:47:54 mephisto kernel: 2nd 0xc390e500 pcm0:play:0 @ ../../../dev/sound /pcm/sound.c:189 My X freezes very often in the last time , and I have to kill the server, but somtimes the hole box freezes and i have to do a hard reset. This is the only thing I found in the logs. here is 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 output: FreeBSD mephisto.cthulhu.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Dec 13 17:48:44 CET 2001 my dmesg ouput is attached. I hope you can help me. I'm sorry for my bad english, but it is not my native language. Christopher Sharp -- FreeBSD the Power for Everything ! Christopher Sharp --NzB8fVQJ5HfG6fxh 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: