Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2001 19:46:05 +0100
From:      "Emil" <fenomeno1986@hotmail.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   sounds bad
Message-ID:  <DAV13sejEBCuDdGdlUU00006a3f@hotmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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: <SiS 5571 USB controller> at device 1.2 on pci0
Dec 22 16:25:27 fenomenoxp /kernel: ohci0: <SiS 5571 USB controller> 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: <NE2000 PCI Ethernet (RealTek 8029)> at device 11.0 on pci0
Dec 22 16:25:27 fenomenoxp /kernel: ed1: <NE2000 PCI Ethernet (RealTek 8029)> 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: <Creative CT5880-C> at device 12.0 on pci0
Dec 22 16:25:27 fenomenoxp /kernel: pcm0: <Creative CT5880-C> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA33 controller> 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: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x1039, dev=0x0009) at 1.1
ohci0: <SiS 5571 USB controller> at device 1.2 on pci0
ohci0: Could not map memory
device_probe_and_attach: ohci0 attach returned 6
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> at 0.0 irq 9
ed0: <NE2000 PCI Ethernet (RealTek 8029)> at device 11.0 on pci0
device_probe_and_attach: ed0 attach returned 2
pcm0: <Creative CT5880-C> at device 12.0 on pci0
pcm0: unable to map register space
device_probe_and_attach: pcm0 attach returned 6
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> 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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 9787MB <QUANTUM FIREBALLlct10 10> [19885/16/63] at ata0-master UDMA33
acd0: CDROM <CRD-8400B> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s3a
ad0s2: raw partition size != slice size
ad0s2: start 10493280, end 15135119, size 4641840
ad0s2c: start 10493280, end 20033999, size 9540720
ad0s2: truncating raw partition
ad0s2: rejecting partition in BSD label: it isn't entirely within the slice
ad0s2: start 10493280, end 15135119, size 4641840
ad0s2a: start 10493280, end 19914079, size 9420800
ad0s2: rejecting partition in BSD label: it isn't entirely within the slice
ad0s2b: start 19914080, end 20033999, size 119920
module_register: module snd_pcm already exists!
linker_file_sysinit "snd_pcm.ko" failed to register! 17
can't re-use a leaf (es_debug)!
module_register: module pci/snd_es137x already exists!
linker_file_sysinit "snd_es137x.ko" failed to register! 17
ohci0: <SiS 5571 USB controller> at device 1.2 on pci0
ohci0: Could not map memory
device_probe_and_attach: ohci0 attach returned 6
ed1: <NE2000 PCI Ethernet (RealTek 8029)> at device 11.0 on pci0
device_probe_and_attach: ed1 attach returned 2
pcm0: <Creative CT5880-C> at device 12.0 on pci0
pcm0: unable to map register space
device_probe_and_attach: pcm0 attach returned 6

Please help me!



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, I'm trying to configure my soundBlaster 128 
under FreeBSD 4.4-STABLE. I have compiled my kernel <BR>lots of times, adding 
"device pcm", "device pcm0", "device pcm1" or "device pcm0 at isa? ...", but 
it<BR>doesn't work. When I compile the kernel, run it, and i make the devide 
"snd0" or "snd1" in /dev/ with MAKEDEV, and<BR>I try to load the module 
snd_es137x, I get these errors:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><BR>Dec 22 16:25:27 fenomenoxp /kernel: 
module_register: module snd_pcm already exists!<BR>Dec 22 16:25:27 fenomenoxp 
/kernel: module_register: module snd_pcm already exists!<BR>Dec 22 16:25:27 
fenomenoxp /kernel: linker_file_sysinit "snd_pcm.ko" failed to register! 
17<BR>Dec 22 16:25:27 fenomenoxp /kernel: linker_file_sysinit "snd_pcm.ko" 
failed to register! 17<BR>Dec 22 16:25:27 fenomenoxp /kernel: can't re-use a 
leaf (es_debug)!<BR>Dec 22 16:25:27 fenomenoxp /kernel: can't re-use a leaf 
(es_debug)!<BR>Dec 22 16:25:27 fenomenoxp /kernel: module_register: module 
pci/snd_es137x already exists!<BR>Dec 22 16:25:27 fenomenoxp /kernel: 
module_register: module pci/snd_es137x already exists!<BR>Dec 22 16:25:27 
fenomenoxp /kernel: linker_file_sysinit "snd_es137x.ko" failed to register! 
17<BR>Dec 22 16:25:27 fenomenoxp /kernel: linker_file_sysinit "snd_es137x.ko" 
failed to register! 17<BR>Dec 22 16:25:27 fenomenoxp /kernel: ohci0: &lt;SiS 
5571 USB controller&gt; at device 1.2 on pci0<BR>Dec 22 16:25:27 fenomenoxp 
/kernel: ohci0: &lt;SiS 5571 USB controller&gt; at device 1.2 on pci0<BR>Dec 22 
16:25:27 fenomenoxp /kernel: ohci0: Could not map memory<BR>Dec 22 16:25:27 
fenomenoxp /kernel: ohci0: Could not map memory<BR>Dec 22 16:25:27 fenomenoxp 
/kernel: device_probe_and_attach: ohci0 attach returned 6<BR>Dec 22 16:25:27 
fenomenoxp /kernel: device_probe_and_attach: ohci0 attach returned 6<BR>Dec 22 
16:25:27 fenomenoxp /kernel: ed1: &lt;NE2000 PCI Ethernet (RealTek 8029)&gt; at 
device 11.0 on pci0<BR>Dec 22 16:25:27 fenomenoxp /kernel: ed1: &lt;NE2000 PCI 
Ethernet (RealTek 8029)&gt; at device 11.0 on pci0<BR>Dec 22 16:25:27 fenomenoxp 
/kernel: device_probe_and_attach: ed1 attach returned 2<BR>Dec 22 16:25:27 
fenomenoxp /kernel: device_probe_and_attach: ed1 attach returned 2<BR>Dec 22 
16:25:27 fenomenoxp /kernel: pcm0: &lt;Creative CT5880-C&gt; at device 12.0 on 
pci0<BR>Dec 22 16:25:27 fenomenoxp /kernel: pcm0: &lt;Creative CT5880-C&gt; at 
device 12.0 on pci0<BR>Dec 22 16:25:27 fenomenoxp /kernel: pcm0: unable to map 
register space<BR>Dec 22 16:25:27 fenomenoxp /kernel: pcm0: unable to map 
register space<BR>Dec 22 16:25:27 fenomenoxp /kernel: device_probe_and_attach: 
pcm0 attach returned 6<BR>Dec 22 16:25:27 fenomenoxp /kernel: 
device_probe_and_attach: pcm0 attach returned 6</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anyway, the module seems to be loaded, because it 
appeares when I type kldstat:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Id Refs Address&nbsp;&nbsp;&nbsp; 
Size&nbsp;&nbsp;&nbsp;&nbsp; Name<BR>&nbsp;1&nbsp;&nbsp;&nbsp; 4 0xc0100000 
3cb0d8&nbsp;&nbsp; kernel<BR>&nbsp;2&nbsp;&nbsp;&nbsp; 1 0xc1069000 
12000&nbsp;&nbsp;&nbsp; linux.ko<BR>&nbsp;3&nbsp;&nbsp;&nbsp; 1 0xc118e000 
5000&nbsp;&nbsp;&nbsp;&nbsp; snd_es137x.ko<BR>&nbsp;4&nbsp;&nbsp;&nbsp; 1 
0xc1194000 11000&nbsp;&nbsp;&nbsp; snd_pcm.ko</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I also get an error when I start KDE:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; Sound server informatinal 
message:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; Error while initializing the sound 
driver:<BR>&nbsp;&nbsp; device /dev/dsp can't be opened (Device not 
configured)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; The sound server will continue, using 
the null output device.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I also send you the last lines of dmesg, if it 
helps:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Copyright (c) 1992-2001 The FreeBSD 
Project.<BR>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 
1994<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Regents of the University 
of California. All rights reserved.<BR>FreeBSD 4.4-RELEASE #0: Sat Dec 22 
12:05:02 CET 2001<BR>&nbsp;&nbsp;&nbsp; <A 
href="mailto:root@fenomenoxp.eresmas.com:/usr/src/sys/compile/MYKERNEL3">root@fenomenoxp.eresmas.com:/usr/src/sys/compile/MYKERNEL3</A><BR>Timecounter 
"i8254"&nbsp; frequency 1193182 Hz<BR>CPU: AMD-K6(tm) 3D processor (450.02-MHz 
586-class CPU)<BR>&nbsp; Origin = "AuthenticAMD"&nbsp; Id = 0x58c&nbsp; Stepping 
= 12<BR>&nbsp; 
Features=0x8021bf&lt;FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX&gt;<BR>&nbsp; AMD 
Features=0x80000800&lt;SYSCALL,3DNow!&gt;<BR>real memory&nbsp; = 192872448 
(188352K bytes)<BR>config&gt; di sn0<BR>config&gt; di lnc0<BR>config&gt; di 
ie0<BR>config&gt; di fe0<BR>config&gt; di cs0<BR>config&gt; q<BR>avail memory = 
182730752 (178448K bytes)<BR>Preloaded elf kernel "kernel" at 
0xc04cd000.<BR>Preloaded userconfig_script "/boot/kernel.conf" at 
0xc04cd09c.<BR>K6-family MTRR support enabled (2 registers)<BR>md0: Malloc 
disk<BR>Using $PIR table, 7 entries at 0xc00fdf50<BR>npx0: &lt;math 
processor&gt; on motherboard<BR>npx0: INT 16 interface<BR>pcib0: &lt;Host to PCI 
bridge&gt; on motherboard<BR>pci0: &lt;PCI bus&gt; on pcib0<BR>atapci0: &lt;SiS 
5591 ATA33 controller&gt; port 
0x1000-0x100f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 0.1 on 
pci0<BR>ata0: at 0x1f0 irq 14 on atapci0<BR>ata1: at 0x170 irq 15 on 
atapci0<BR>isab0: &lt;SiS 85c503 PCI-ISA bridge&gt; at device 1.0 on 
pci0<BR>isa0: &lt;ISA bus&gt; on isab0<BR>pci0: &lt;unknown card&gt; 
(vendor=0x1039, dev=0x0009) at 1.1<BR>ohci0: &lt;SiS 5571 USB controller&gt; at 
device 1.2 on pci0<BR>ohci0: Could not map memory<BR>device_probe_and_attach: 
ohci0 attach returned 6<BR>pcib2: &lt;PCI to PCI bridge (vendor=1039 
device=0001)&gt; at device 2.0 on pci0<BR>pci1: &lt;PCI bus&gt; on 
pcib2<BR>pci1: &lt;SiS 530/620 SVGA controller&gt; at 0.0 irq 9<BR>ed0: 
&lt;NE2000 PCI Ethernet (RealTek 8029)&gt; at device 11.0 on 
pci0<BR>device_probe_and_attach: ed0 attach returned 2<BR>pcm0: &lt;Creative 
CT5880-C&gt; at device 12.0 on pci0<BR>pcm0: unable to map register 
space<BR>device_probe_and_attach: pcm0 attach returned 6<BR>pcib1: &lt;SiS 5591 
host to AGP bridge&gt; on motherboard<BR>pci2: &lt;PCI bus&gt; on pcib1<BR>orm0: 
&lt;Option ROM&gt; at iomem 0xc0000-0xc7fff on isa0<BR>fdc0: &lt;NEC 72065B or 
clone&gt; at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0<BR>fdc0: FIFO enabled, 8 
bytes threshold<BR>fd0: &lt;1440-KB 3.5" drive&gt; on fdc0 drive 0<BR>atkbdc0: 
&lt;Keyboard controller (i8042)&gt; at port 0x60,0x64 on isa0<BR>atkbd0: &lt;AT 
Keyboard&gt; flags 0x1 irq 1 on atkbdc0<BR>kbd0 at atkbd0<BR>psm0: &lt;PS/2 
Mouse&gt; irq 12 on atkbdc0<BR>psm0: model IntelliMouse, device ID 3<BR>vga0: 
&lt;Generic ISA VGA&gt; at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
isa0<BR>sc0: &lt;System console&gt; at flags 0x100 on isa0<BR>sc0: VGA &lt;16 
virtual consoles, flags=0x300&gt;<BR>sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 
on isa0<BR>sio0: type 16550A<BR>sio1: configured irq 3 not in bitmap of probed 
irqs 0<BR>ppc0: &lt;Parallel port&gt; at port 0x378-0x37f irq 7 on isa0<BR>ppc0: 
Generic chipset (EPP/NIBBLE) in COMPATIBLE mode<BR>plip0: &lt;PLIP network 
interface&gt; on ppbus0<BR>lpt0: &lt;Printer&gt; on ppbus0<BR>lpt0: 
Interrupt-driven port<BR>ppi0: &lt;Parallel I/O&gt; on ppbus0<BR>ad0: 9787MB 
&lt;QUANTUM FIREBALLlct10 10&gt; [19885/16/63] at ata0-master UDMA33<BR>acd0: 
CDROM &lt;CRD-8400B&gt; at ata1-master using PIO4<BR>Mounting root from 
ufs:/dev/ad0s3a<BR>ad0s2: raw partition size != slice size<BR>ad0s2: start 
10493280, end 15135119, size 4641840<BR>ad0s2c: start 10493280, end 20033999, 
size 9540720<BR>ad0s2: truncating raw partition<BR>ad0s2: rejecting partition in 
BSD label: it isn't entirely within the slice<BR>ad0s2: start 10493280, end 
15135119, size 4641840<BR>ad0s2a: start 10493280, end 19914079, size 
9420800<BR>ad0s2: rejecting partition in BSD label: it isn't entirely within the 
slice<BR>ad0s2b: start 19914080, end 20033999, size 119920<BR>module_register: 
module snd_pcm already exists!<BR>linker_file_sysinit "snd_pcm.ko" failed to 
register! 17<BR>can't re-use a leaf (es_debug)!<BR>module_register: module 
pci/snd_es137x already exists!<BR>linker_file_sysinit "snd_es137x.ko" failed to 
register! 17<BR>ohci0: &lt;SiS 5571 USB controller&gt; at device 1.2 on 
pci0<BR>ohci0: Could not map memory<BR>device_probe_and_attach: ohci0 attach 
returned 6<BR>ed1: &lt;NE2000 PCI Ethernet (RealTek 8029)&gt; at device 11.0 on 
pci0<BR>device_probe_and_attach: ed1 attach returned 2<BR>pcm0: &lt;Creative 
CT5880-C&gt; at device 12.0 on pci0<BR>pcm0: unable to map register 
space<BR>device_probe_and_attach: pcm0 attach returned 6</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Please help me!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAV13sejEBCuDdGdlUU00006a3f>