From owner-freebsd-questions Sat Dec 22 15: 8:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (dav13.law15.hotmail.com [64.4.22.117]) by hub.freebsd.org (Postfix) with ESMTP id 77D5437B417 for ; Sat, 22 Dec 2001 15:08:00 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 22 Dec 2001 15:08:00 -0800 X-Originating-IP: [62.83.110.116] From: "Emil" To: Subject: sounds bad Date: Sat, 22 Dec 2001 19:46:05 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C18B21.4B62C3B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 22 Dec 2001 23:08:00.0074 (UTC) FILETIME=[800DD2A0:01C18B3D] 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 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: 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: 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 =3D "AuthenticAMD" Id =3D 0x58c Stepping =3D 12 Features=3D0x8021bf AMD Features=3D0x80000800 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: 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=3D0x1039, dev=3D0x0009) 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:
Hi, I'm trying to configure my = soundBlaster 128=20 under FreeBSD 4.4-STABLE. I have compiled my kernel
lots of times, = adding=20 "device pcm", "device pcm0", "device pcm1" or "device pcm0 at isa? ...", = but=20 it
doesn't work. When I compile the kernel, run it, and i make the = devide=20 "snd0" or "snd1" in /dev/ with MAKEDEV, and
I try to load the module=20 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=20 /kernel: module_register: module snd_pcm already exists!
Dec 22 = 16:25:27=20 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"=20 failed to register! 17
Dec 22 16:25:27 fenomenoxp /kernel: can't = re-use a=20 leaf (es_debug)!
Dec 22 16:25:27 fenomenoxp /kernel: can't re-use a = leaf=20 (es_debug)!
Dec 22 16:25:27 fenomenoxp /kernel: module_register: = module=20 pci/snd_es137x already exists!
Dec 22 16:25:27 fenomenoxp /kernel:=20 module_register: module pci/snd_es137x already exists!
Dec 22 = 16:25:27=20 fenomenoxp /kernel: linker_file_sysinit "snd_es137x.ko" failed to = register!=20 17
Dec 22 16:25:27 fenomenoxp /kernel: linker_file_sysinit = "snd_es137x.ko"=20 failed to register! 17
Dec 22 16:25:27 fenomenoxp /kernel: ohci0: = <SiS=20 5571 USB controller> at device 1.2 on pci0
Dec 22 16:25:27 = fenomenoxp=20 /kernel: ohci0: <SiS 5571 USB controller> at device 1.2 on = pci0
Dec 22=20 16:25:27 fenomenoxp /kernel: ohci0: Could not map memory
Dec 22 = 16:25:27=20 fenomenoxp /kernel: ohci0: Could not map memory
Dec 22 16:25:27 = fenomenoxp=20 /kernel: device_probe_and_attach: ohci0 attach returned 6
Dec 22 = 16:25:27=20 fenomenoxp /kernel: device_probe_and_attach: ohci0 attach returned = 6
Dec 22=20 16:25:27 fenomenoxp /kernel: ed1: <NE2000 PCI Ethernet (RealTek = 8029)> at=20 device 11.0 on pci0
Dec 22 16:25:27 fenomenoxp /kernel: ed1: = <NE2000 PCI=20 Ethernet (RealTek 8029)> at device 11.0 on pci0
Dec 22 16:25:27 = fenomenoxp=20 /kernel: device_probe_and_attach: ed1 attach returned 2
Dec 22 = 16:25:27=20 fenomenoxp /kernel: device_probe_and_attach: ed1 attach returned = 2
Dec 22=20 16:25:27 fenomenoxp /kernel: pcm0: <Creative CT5880-C> at device = 12.0 on=20 pci0
Dec 22 16:25:27 fenomenoxp /kernel: pcm0: <Creative = CT5880-C> at=20 device 12.0 on pci0
Dec 22 16:25:27 fenomenoxp /kernel: pcm0: unable = to map=20 register space
Dec 22 16:25:27 fenomenoxp /kernel: pcm0: unable to = map=20 register space
Dec 22 16:25:27 fenomenoxp /kernel: = device_probe_and_attach:=20 pcm0 attach returned 6
Dec 22 16:25:27 fenomenoxp /kernel:=20 device_probe_and_attach: pcm0 attach returned 6
 
Anyway, the module seems to be loaded, = because it=20 appeares when I type kldstat:
 
Id Refs Address   =20 Size     Name
 1    4 = 0xc0100000=20 3cb0d8   kernel
 2    1 0xc1069000=20 12000    linux.ko
 3    1 = 0xc118e000=20 5000     snd_es137x.ko
 4    = 1=20 0xc1194000 11000    snd_pcm.ko
 
 
 
I also get an error when I start = KDE:
 
   Sound server informatinal=20 message:
 
   Error while initializing = the sound=20 driver:
   device /dev/dsp can't be opened (Device not=20 configured)
 
   The sound server will = continue, using=20 the null output device.
 
I also send you the last lines of = dmesg, if it=20 helps:
 
Copyright (c) 1992-2001 The FreeBSD=20 Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, = 1992, 1993,=20 1994
        The Regents of the = University=20 of California. All rights reserved.
FreeBSD 4.4-RELEASE #0: Sat Dec = 22=20 12:05:02 CET 2001
    root@fenomenoxp.eresmas.com:/usr/src/sys/compile/MYKERNEL3
Timec= ounter=20 "i8254"  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor = (450.02-MHz=20 586-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D = 0x58c  Stepping=20 =3D 12
 =20 Features=3D0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
&nbs= p; AMD=20 Features=3D0x80000800<SYSCALL,3DNow!>
real memory  =3D = 192872448=20 (188352K bytes)
config> di sn0
config> di lnc0
config> = di=20 ie0
config> di fe0
config> di cs0
config> q
avail = memory =3D=20 182730752 (178448K bytes)
Preloaded elf kernel "kernel" at=20 0xc04cd000.
Preloaded userconfig_script "/boot/kernel.conf" at=20 0xc04cd09c.
K6-family MTRR support enabled (2 registers)
md0: = Malloc=20 disk
Using $PIR table, 7 entries at 0xc00fdf50
npx0: <math=20 processor> on motherboard
npx0: INT 16 interface
pcib0: = <Host to PCI=20 bridge> on motherboard
pci0: <PCI bus> on pcib0
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
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on=20 atapci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on=20 pci0
isa0: <ISA bus> on isab0
pci0: <unknown card>=20 (vendor=3D0x1039, dev=3D0x0009) at 1.1
ohci0: <SiS 5571 USB = controller> at=20 device 1.2 on pci0
ohci0: Could not map = memory
device_probe_and_attach:=20 ohci0 attach returned 6
pcib2: <PCI to PCI bridge (vendor=3D1039=20 device=3D0001)> at device 2.0 on pci0
pci1: <PCI bus> on=20 pcib2
pci1: <SiS 530/620 SVGA controller> at 0.0 irq 9
ed0:=20 <NE2000 PCI Ethernet (RealTek 8029)> at device 11.0 on=20 pci0
device_probe_and_attach: ed0 attach returned 2
pcm0: = <Creative=20 CT5880-C> at device 12.0 on pci0
pcm0: unable to map register=20 space
device_probe_and_attach: pcm0 attach returned 6
pcib1: = <SiS 5591=20 host to AGP bridge> on motherboard
pci2: <PCI bus> on = pcib1
orm0:=20 <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC = 72065B or=20 clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO = enabled, 8=20 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive = 0
atkbdc0:=20 <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: = <AT=20 Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: = <PS/2=20 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID = 3
vga0:=20 <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on=20 isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA = <16=20 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 = flags 0x10=20 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of = probed=20 irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on = isa0
ppc0:=20 Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP = network=20 interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0:=20 Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: = 9787MB=20 <QUANTUM FIREBALLlct10 10> [19885/16/63] at ata0-master = UDMA33
acd0:=20 CDROM <CRD-8400B> at ata1-master using PIO4
Mounting root from=20 ufs:/dev/ad0s3a
ad0s2: raw partition size !=3D slice size
ad0s2: = start=20 10493280, end 15135119, size 4641840
ad0s2c: start 10493280, end = 20033999,=20 size 9540720
ad0s2: truncating raw partition
ad0s2: rejecting = partition in=20 BSD label: it isn't entirely within the slice
ad0s2: start 10493280, = end=20 15135119, size 4641840
ad0s2a: start 10493280, end 19914079, size=20 9420800
ad0s2: rejecting partition in BSD label: it isn't entirely = within the=20 slice
ad0s2b: start 19914080, end 20033999, size = 119920
module_register:=20 module snd_pcm already exists!
linker_file_sysinit "snd_pcm.ko" = failed to=20 register! 17
can't re-use a leaf (es_debug)!
module_register: = module=20 pci/snd_es137x already exists!
linker_file_sysinit "snd_es137x.ko" = failed to=20 register! 17
ohci0: <SiS 5571 USB controller> at device 1.2 on=20 pci0
ohci0: Could not map memory
device_probe_and_attach: ohci0 = attach=20 returned 6
ed1: <NE2000 PCI Ethernet (RealTek 8029)> at device = 11.0 on=20 pci0
device_probe_and_attach: ed1 attach returned 2
pcm0: = <Creative=20 CT5880-C> at device 12.0 on pci0
pcm0: unable to map register=20 space
device_probe_and_attach: pcm0 attach returned 6
 
Please help me!
 
 
------=_NextPart_000_0005_01C18B21.4B62C3B0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message