From owner-freebsd-questions Sat Dec 22 22:27: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta02bw.bigpond.com (mta02bw.bigpond.com [139.134.6.34]) by hub.freebsd.org (Postfix) with ESMTP id 029DC37B416 for ; Sat, 22 Dec 2001 22:26:59 -0800 (PST) Received: from freebsd.freebsd.org ([144.135.24.78]) by mta02bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GOSA8D00.JGJ; Sun, 23 Dec 2001 16:33:49 +1000 Received: from CPE-203-45-121-152.nsw.bigpond.net.au ([203.45.121.152]) by bwmam04.mailsvc.email.bigpond.com(MailRouter V3.0h 29/2750642); 23 Dec 2001 16:26:55 Content-Type: text/plain; charset="iso-8859-1" From: Danny To: "Emil" Subject: Re: sounds bad Date: Sat, 22 Dec 2001 17:25:15 +1100 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: questions@freebsd.org MIME-Version: 1.0 Message-Id: <01122217251500.00555@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello - For this error message: I also get an error when I start KDE: > > Sound server informatinal message: > > Error while initializing the sound driver: > device /dev/dsp can't be opened (Device not configured) > - Click on "K" on the bottom left hand corner of the desktop - Click on "Control Center" - Double click on "Sound" and you should see "sound server" on the list - Doublle click on "sound server" and you should a checkbox something like "start "aRts server " - Make sure the checkbox is "not" selected - Then restart KDE On Sunday 23 December 2001 05:46, you wrote: > Hi, I'm trying to configure my soundBlaster 128 under FreeBSD 4.4-STABLE. I > have compiled my kernel lots of times, adding "device pcm", "device pcm0", > "device pcm1" or "device pcm0 at isa? ...", but it doesn't work. When I > compile the kernel, run it, and i make the devide "snd0" or "snd1" in /dev/ > with MAKEDEV, and I try to load the module snd_es137x, I get these errors: > > > Dec 22 16:25:27 fenomenoxp /kernel: module_register: module snd_pcm already > exists! Dec 22 16:25:27 fenomenoxp /kernel: module_register: module snd_pcm > already exists! Dec 22 16:25:27 fenomenoxp /kernel: linker_file_sysinit > "snd_pcm.ko" failed to register! 17 Dec 22 16:25:27 fenomenoxp /kernel: > linker_file_sysinit "snd_pcm.ko" failed to register! 17 Dec 22 16:25:27 > fenomenoxp /kernel: can't re-use a leaf (es_debug)! Dec 22 16:25:27 > fenomenoxp /kernel: can't re-use a leaf (es_debug)! Dec 22 16:25:27 > fenomenoxp /kernel: module_register: module pci/snd_es137x already exists! > Dec 22 16:25:27 fenomenoxp /kernel: module_register: module pci/snd_es137x > already exists! Dec 22 16:25:27 fenomenoxp /kernel: linker_file_sysinit > "snd_es137x.ko" failed to register! 17 Dec 22 16:25:27 fenomenoxp /kernel: > linker_file_sysinit "snd_es137x.ko" failed to register! 17 Dec 22 16:25:27 > fenomenoxp /kernel: ohci0: at device 1.2 on pci0 > Dec 22 16:25:27 fenomenoxp /kernel: ohci0: at > device 1.2 on pci0 Dec 22 16:25:27 fenomenoxp /kernel: ohci0: Could not map > memory > Dec 22 16:25:27 fenomenoxp /kernel: ohci0: Could not map memory > Dec 22 16:25:27 fenomenoxp /kernel: device_probe_and_attach: ohci0 attach > returned 6 Dec 22 16:25:27 fenomenoxp /kernel: device_probe_and_attach: > ohci0 attach returned 6 Dec 22 16:25:27 fenomenoxp /kernel: ed1: PCI Ethernet (RealTek 8029)> at device 11.0 on pci0 Dec 22 16:25:27 > fenomenoxp /kernel: ed1: at device > 11.0 on pci0 Dec 22 16:25:27 fenomenoxp /kernel: device_probe_and_attach: > ed1 attach returned 2 Dec 22 16:25:27 fenomenoxp /kernel: > device_probe_and_attach: ed1 attach returned 2 Dec 22 16:25:27 fenomenoxp > /kernel: pcm0: at device 12.0 on pci0 Dec 22 16:25:27 > fenomenoxp /kernel: pcm0: at device 12.0 on pci0 Dec 22 > 16:25:27 fenomenoxp /kernel: pcm0: unable to map register space Dec 22 > 16:25:27 fenomenoxp /kernel: pcm0: unable to map register space Dec 22 > 16:25:27 fenomenoxp /kernel: device_probe_and_attach: pcm0 attach returned > 6 Dec 22 16:25:27 fenomenoxp /kernel: device_probe_and_attach: pcm0 attach > returned 6 > > Anyway, the module seems to be loaded, because it appeares when I type > kldstat: > > Id Refs Address Size Name > 1 4 0xc0100000 3cb0d8 kernel > 2 1 0xc1069000 12000 linux.ko > 3 1 0xc118e000 5000 snd_es137x.ko > 4 1 0xc1194000 11000 snd_pcm.ko > > > > I also get an error when I start KDE: > > Sound server informatinal message: > > Error while initializing the sound driver: > device /dev/dsp can't be opened (Device not configured) > > The sound server will continue, using the null output device. > > I also send you the last lines of dmesg, if it helps: > > 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 4.4-RELEASE #0: Sat Dec 22 12:05:02 CET 2001 > root@fenomenoxp.eresmas.com:/usr/src/sys/compile/MYKERNEL3 > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD-K6(tm) 3D processor (450.02-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 > Features=0x8021bf > AMD Features=0x80000800 > real memory = 192872448 (188352K bytes) > config> di sn0 > config> di lnc0 > config> di ie0 > config> di fe0 > config> di cs0 > config> q > avail memory = 182730752 (178448K bytes) > Preloaded elf kernel "kernel" at 0xc04cd000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc04cd09c. > K6-family MTRR support enabled (2 registers) > md0: Malloc disk > Using $PIR table, 7 entries at 0xc00fdf50 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > atapci0: port > 0x1000-0x100f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 0.1 > on pci0 ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > pci0: (vendor=0x1039, dev=0x0009) at 1.1 > ohci0: at device 1.2 on pci0 > ohci0: Could not map memory > device_probe_and_attach: ohci0 attach returned 6 > pcib2: at device 2.0 on pci0 > pci1: on pcib2 > pci1: at 0.0 irq 9 > ed0: at device 11.0 on pci0 > device_probe_and_attach: ed0 attach returned 2 > pcm0: at device 12.0 on pci0 > pcm0: unable to map register space > device_probe_and_attach: pcm0 attach returned 6 > pcib1: on motherboard > pci2: on pcib1 > orm0: