From owner-freebsd-multimedia Wed Jul 25 10:26:46 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 3C4DF37B405 for ; Wed, 25 Jul 2001 10:26:26 -0700 (PDT) (envelope-from john@utzweb.net) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.0/8.11.0) with ESMTP id f6PHV7u06019; Wed, 25 Jul 2001 12:31:07 -0500 Date: Wed, 25 Jul 2001 12:31:07 -0500 (CDT) From: John Utz X-X-Sender: To: Steve Frank Cc: Subject: Re: CMedia CMI8738 problem In-Reply-To: <3B5ED17E.E62E1DCD@ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you have to items configured to use irq11! the first one wins! > isa0: on isab0 > sio0: <3COM PCI FaxModem> port 0xe400-0xe407 irq 11 at device 10.0 on > pci0 > sio0: moving to sio2 > sio2: type 16550A > pcm0: port 0xe800-0xe8ff irq 11 at device 15.0 on pci0 > pcm0: cmi_attach: Unable to map interrupt > device_probe_and_attach: pcm0 attach returned 6 note that the 3com card is an isa card, so you can either reset the irq on it *OR* just go into the bios and reserve irq11 for isa use and then the pci bits will not give it out to pci cards anymore. fwiw, i no longer use isa anything because of thinkgs like this. but as i mentioned previously, it's pretty easy to get arouind in your case. HTH johnu On Wed, 25 Jul 2001, Steve Frank wrote: > I have an IWILL KA266 motherboard with onboard CMI8738/C3DX sound chip. > I have been unable to get it setup and hopefully someone can help me > out. I've tried all the sugestions given to me from the newsgroup > without success. > > I've configured my kernel > > device pcm > > but upon boot-up I get the error: cmi_attach - unable to map > interrupt. I've searched the source code (cmi.c) and found where I > believe the error is generated : > > if (!sc->irq || > snd_setup_intr(dev, sc->irq, 0, cmi_intr, sc, &sc->ih)){ > device_printf(dev, "cmi_attach: Unable to map > interrupt\n"); > goto bad; > } > > but I'm not sophisticted enough to figure out from this what to do to. > Any help would be appreciated. > > -Steve > > I'm using FreeBSD 4.3 -RELEASE. > > The following is my dmesg output: > > 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.3-RELEASE #0: Fri Jul 20 08:50:08 CDT 2001 > root@:/usr/src/sys/compile/GAMMA > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD Athlon(tm) Processor (1000.04-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 > > Features=0x183f9ff > > AMD Features=0xc0440000<,AMIE,DSP,3DNow!> > real memory = 268369920 (262080K bytes) > config> di pcic0 > config> di sn0 > config> di lnc0 > config> di ie0 > config> di fe0 > config> di ed0 > config> di cs0 > config> di aic0 > config> di aha0 > config> di adv0 > config> q > avail memory = 256602112 (250588K bytes) > Preloaded elf kernel "kernel" at 0xc049a000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc049a09c. > Pentium Pro MTRR support enabled > md0: Malloc disk > apm0: on motherboard > apm: found APM BIOS v1.2, connected at v1.2 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on > pci0 > pci1: on pcib1 > pci1: at 0.0 irq 10 > ohci0: mem > 0xde000000-0xde000fff irq 5 at device 2.0 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 4 ports with 4 removable, self powered > atapci0: port 0xe000-0xe00f at > device 4.0 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > isab0: at device 7.0 on pci0 > isa0: on isab0 > sio0: <3COM PCI FaxModem> port 0xe400-0xe407 irq 11 at device 10.0 on > pci0 > sio0: moving to sio2 > sio2: type 16550A > pcm0: port 0xe800-0xe8ff irq 11 at device 15.0 on pci0 > pcm0: cmi_attach: Unable to map interrupt > device_probe_and_attach: pcm0 attach returned 6 > chip1: at device 17.0 on pci0 > 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 > 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 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > 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 > 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/1 bytes threshold > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable > ad0: 12971MB [26354/16/63] at ata0-master UDMA33 > ad2: 14655MB [29777/16/63] at ata1-master UDMA66 > acd0: CDROM at ata0-slave using PIO4 > Mounting root from ufs:/dev/ad2s1a > ppp0: IPv6 not supported > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message