From owner-freebsd-current Fri Nov 30 2:52:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from web21106.mail.yahoo.com (web21106.mail.yahoo.com [216.136.227.108]) by hub.freebsd.org (Postfix) with SMTP id CD62637B416 for ; Fri, 30 Nov 2001 02:52:22 -0800 (PST) Message-ID: <20011130105222.52681.qmail@web21106.mail.yahoo.com> Received: from [62.254.0.4] by web21106.mail.yahoo.com via HTTP; Fri, 30 Nov 2001 02:52:22 PST Date: Fri, 30 Nov 2001 02:52:22 -0800 (PST) From: Hiten Pandya Subject: snd_pcm bringing its problems (sound.c) To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-506812671-1007117542=:52547" 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 --0-506812671-1007117542=:52547 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello... greetings, everytime i used to play CDs, MP3 or any audio, it gives a lock order reversal notice... the following is my dmesg -a output... lock order reversal 1st 0xc65b6e80 pcm0 @ /data/dev/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:132 2nd 0xc65b6d40 pcm0:play:0 @ /data/dev/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:189 as i can play all the audio correctly without any problems... but its just that the lock order reversal should not be there.. i beleive.... i have a SoundBlast Live! card, which is supported by FreeBSD under the Emu10k1 driver... and two processors enabled as well as all the kernel debugging options... i am attaching my 'dmesg -a' output with this message.. help is appreciated... thanks.. Yours Sincerely, Hiten Pandya __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 --0-506812671-1007117542=:52547 Content-Type: text/plain; name="dmesg-current.txt" Content-Description: dmesg-current.txt Content-Disposition: inline; filename="dmesg-current.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 #8: Thu Nov 29 10:24:42 GMT 2001 hitenp@nautilus.org:/usr/obj/data/dev/src/sys/CURRENT5 Preloaded elf kernel "/boot/kernel/kernel" at 0xc041f000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc041f0a8. Preloaded elf module "/boot/kernel/linux.ko" at 0xc041f154. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc041f200. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc041f2ac. module linux already present! Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (730.81-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff real memory = 536870912 (524288K bytes) avail memory = 516411392 (504308K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0332182 (1000022) VESA: NVidia Using $PIR table, 8 entries at 0xc00f7100 ACPI-0161: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NO_ACPI_TABLES ACPI: table load failed: AE_NO_ACPI_TABLES 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) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pci0: at device 7.4 (no driver attached) fxp0: port 0xd000-0xd03f mem 0xdfe00000-0xdfefffff,0xdffef000-0xdffeffff irq 9 at device 9.0 on pci0 fxp0: Ethernet address 00:06:29:af:90:cf inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xd400-0xd41f irq 10 at device 11.0 on pci0 pci0: at device 12.0 (no driver attached) ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: 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 pmtimer0 on isa0 ppc0: 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 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 Profiling kernel, textsize=1475936 [c0123590..c028baf0] cputime 6172, empty_loop 9, nullfunc_loop_profiled 6230, mcount 6172, mexitcount 6171 Profiling overheads: mcount: 6161+0, 6226+-65; mexitcount: 6161+0, 6167+-6 nsec Profiling overheads: mcount: 941+0, 951+-10; mexitcount: 941+0, 942+-1 cycles ad0: 28629MB [58168/16/63] at ata0-master UDMA66 acd0: DVD-ROM at ata0-slave PIO4 acd1: CD-RW at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s2a SMP: AP CPU #1 Launched! swapon: adding /dev/ad0s2b as swap device Automatic boot in progress... /dev/ad0s2a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s2a: clean, 30299 free (939 frags, 3670 blocks, 0.9% fragmentation) /dev/ad0s3f: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s3f: clean, 583619 free (17675 frags, 70743 blocks, 1.6% fragmentation) /dev/ad0s3e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s3e: clean, 564659 free (23835 frags, 67603 blocks, 2.4% fragmentation) /dev/ad0s2f: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s2f: clean, 177313 free (12473 frags, 20605 blocks, 1.6% fragmentation) /dev/ad0s2e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s2e: clean, 94626 free (90 frags, 11817 blocks, 0.1% fragmentation) Doing initial network setup: hostname . fxp0: flags=8843 mtu 1500 inet6 fe80::206:29ff:feaf:90cf%fxp0 prefixlen 64 tentative scopeid 0x1 inet 80.4.34.175 netmask 0xffffff00 broadcast 255.255.255.255 ether 00:06:29:af:90:cf media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 Additional routing options: TCP keepalive=YES . Routing daemons: routed . routed: Send bcast sendto(fxp0, 255.255.255.255.520): Network is unreachable Additional daemons: syslogd . Doing additional network setup: . Starting final network daemons: . ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout Starting standard daemons: inetd cron sshd sendmail . Initial rc.i386 initialization: . Configuring syscons: keymap blank_time screensaver . Additional ABI support: linux /compat/linux/sbin/ldconfig: warning: can't lstat /usr/X11R6/lib/libXm.so.2 (No such file or directory), skipping /compat/linux/sbin/ldconfig: warning: can't lstat /usr/X11R6/lib/libUil.so.2 (No such file or directory), skipping /compat/linux/sbin/ldconfig: warning: can't lstat /usr/X11R6/lib/libMrm.so.2 (No such file or directory), skipping . Starting local daemons: Starting Webmin server in /biz/local/webmin-0.90 . Local package initialization: apache FAILED: updating hpdi.ath.cx: nohost: The hostname specified does not exist in the database . Additional TCP options: . Fri Nov 30 09:52:17 GMT 2001 Nov 30 09:53:30 hpdi su: hitenp to root on /dev/ttyp1 Nov 30 09:56:41 hpdi su: hitenp to root on /dev/ttyv0 lock order reversal 1st 0xc65b6e80 pcm0 @ /data/dev/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:132 2nd 0xc65b6d40 pcm0:play:0 @ /data/dev/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:189 Nov 30 10:01:42 hpdi su: hitenp to root on /dev/ttyp1 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 #8: Thu Nov 29 10:24:42 GMT 2001 hitenp@nautilus.org:/usr/obj/data/dev/src/sys/CURRENT5 Preloaded elf kernel "/boot/kernel/kernel" at 0xc041f000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc041f0a8. Preloaded elf module "/boot/kernel/linux.ko" at 0xc041f154. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc041f200. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc041f2ac. module linux already present! Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (730.81-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff real memory = 536870912 (524288K bytes) avail memory = 516411392 (504308K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0332182 (1000022) VESA: NVidia Using $PIR table, 8 entries at 0xc00f7100 ACPI-0161: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NO_ACPI_TABLES ACPI: table load failed: AE_NO_ACPI_TABLES 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) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pci0: at device 7.4 (no driver attached) fxp0: port 0xd000-0xd03f mem 0xdfe00000-0xdfefffff,0xdffef000-0xdffeffff irq 9 at device 9.0 on pci0 fxp0: Ethernet address 00:06:29:af:90:cf inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xd400-0xd41f irq 10 at device 11.0 on pci0 pci0: at device 12.0 (no driver attached) ata-: ata0 already exists, skipping it ata-: ata1 already exists, skipping it sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: 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 pmtimer0 on isa0 ppc0: 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 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 Profiling kernel, textsize=1475936 [c0123590..c028baf0] cputime 6172, empty_loop 9, nullfunc_loop_profiled 6230, mcount 6172, mexitcount 6171 Profiling overheads: mcount: 6161+0, 6226+-65; mexitcount: 6161+0, 6167+-6 nsec Profiling overheads: mcount: 941+0, 951+-10; mexitcount: 941+0, 942+-1 cycles ad0: 28629MB [58168/16/63] at ata0-master UDMA66 acd0: DVD-ROM at ata0-slave PIO4 acd1: CD-RW at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s2a SMP: AP CPU #1 Launched! swapon: adding /dev/ad0s2b as swap device Automatic boot in progress... /dev/ad0s2a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s2a: clean, 30299 free (939 frags, 3670 blocks, 0.9% fragmentation) /dev/ad0s3f: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s3f: clean, 583619 free (17675 frags, 70743 blocks, 1.6% fragmentation) /dev/ad0s3e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s3e: clean, 564659 free (23835 frags, 67603 blocks, 2.4% fragmentation) /dev/ad0s2f: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s2f: clean, 177313 free (12473 frags, 20605 blocks, 1.6% fragmentation) /dev/ad0s2e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s2e: clean, 94626 free (90 frags, 11817 blocks, 0.1% fragmentation) Doing initial network setup: hostname . fxp0: flags=8843 mtu 1500 inet6 fe80::206:29ff:feaf:90cf%fxp0 prefixlen 64 tentative scopeid 0x1 inet 80.4.34.175 netmask 0xffffff00 broadcast 255.255.255.255 ether 00:06:29:af:90:cf media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 Additional routing options: TCP keepalive=YES . Routing daemons: routed . routed: Send bcast sendto(fxp0, 255.255.255.255.520): Network is unreachable Additional daemons: syslogd . Doing additional network setup: . Starting final network daemons: . ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout Starting standard daemons: inetd cron sshd sendmail . Initial rc.i386 initialization: . Configuring syscons: keymap blank_time screensaver . Additional ABI support: linux /compat/linux/sbin/ldconfig: warning: can't lstat /usr/X11R6/lib/libXm.so.2 (No such file or directory), skipping /compat/linux/sbin/ldconfig: warning: can't lstat /usr/X11R6/lib/libUil.so.2 (No such file or directory), skipping /compat/linux/sbin/ldconfig: warning: can't lstat /usr/X11R6/lib/libMrm.so.2 (No such file or directory), skipping . Starting local daemons: Starting Webmin server in /biz/local/webmin-0.90 . Local package initialization: apache FAILED: updating hpdi.ath.cx: nohost: The hostname specified does not exist in the database . Additional TCP options: . Fri Nov 30 09:52:17 GMT 2001 Nov 30 09:53:30 hpdi su: hitenp to root on /dev/ttyp1 Nov 30 09:56:41 hpdi su: hitenp to root on /dev/ttyv0 lock order reversal 1st 0xc65b6e80 pcm0 @ /data/dev/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:132 2nd 0xc65b6d40 pcm0:play:0 @ /data/dev/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:189 Nov 30 10:01:42 hpdi su: hitenp to root on /dev/ttyp1 --0-506812671-1007117542=:52547-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message