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