Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 12:31:07 -0500 (CDT)
From:      John Utz <john@utzweb.net>
To:        Steve Frank <sfnk@ix.netcom.com>
Cc:        <freebsd-multimedia@FreeBSD.ORG>
Subject:   Re: CMedia CMI8738 problem
Message-ID:  <Pine.LNX.4.33.0107251216460.4941-100000@jupiter.linuxengine.net>
In-Reply-To: <3B5ED17E.E62E1DCD@ix.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you have to items configured to use irq11! the first one wins!

> isa0: <ISA bus> 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: <CMedia CMI8738> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
>
>   AMD Features=0xc0440000<<b18>,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: <APM BIOS> on motherboard
> apm: found APM BIOS v1.2, connected at v1.2
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <AcerLabs M5247 PCI-PCI(AGP Supported) bridge> at device 1.0 on
> pci0
> pci1: <PCI bus> on pcib1
> pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 10
> ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem
> 0xde000000-0xde000fff irq 5 at device 2.0 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <AcerLabs M5237 (Aladdin-V) USB controller> 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: <AcerLabs Aladdin ATA33 controller> port 0xe000-0xe00f at
> device 4.0 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> 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: <CMedia CMI8738> 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: <AcerLabs M15x3 Power Management Unit> at device 17.0 on pci0
> 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 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> 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: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
> ad0: 12971MB <WDC WD136AA-35BAA0> [26354/16/63] at ata0-master UDMA33
> ad2: 14655MB <Maxtor 91536U2> [29777/16/63] at ata1-master UDMA66
> acd0: CDROM <LTN301> 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




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