Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2001 23:51:34 -0800 (PST)
From:      Dave <vivisext@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   device pcm device_probe_attach fail
Message-ID:  <20010129075134.17322.qmail@web120.yahoomail.com>

next in thread | raw e-mail | index | archive | help
Hello,
	I'm having some trouble getting my sound card to
co-exist with my nic.  I am using FreeBSD 4.2-STABLE
#0: Fri Jan 26 12:47:52 PST 2001, and have tried
numerous things to get my nic and my sound  to work at
the same time, and have yet to succeed.

My nic is a Realtek 8029 PCI card which uses device
ed0.  I have this device currently fully operational,
and working fine.  My onboard sound card is a Crystal
Semiconductor CS4236b, which is also functional. I run
into a problem when trying to get both of these
devices to work, instead of just one or the other.  

After adding option PNPBIOS and device pcm to my
kernel config, originally during boot it would page
fault at ifconfig (nic & sound card conflict I
assume).  I was able to prevent that from happening by
messing with the pnp settings in my bios, but doing so
seems to have created some weird behavior, notably by
preventing ed0 from working. dmesg would show the
following `device_probe_and_attach: ed0 attach
returned 2`

Below is some odd output from dmesg with device pcm
added.

csa0: <Crystal Semiconductor CS4610/4611 Audio
accelerator> irq 9 at device 11.0
 on pci0
device_probe_and_attach: csa0 attach returned 6
ed0: <NE2000 PCI Ethernet (RealTek 8029)> irq 9 at
device 15.0 on pci0
device_probe_and_attach: ed0 attach returned 2
pci0: <unknown card> (vendor=0x12b9, dev=0x1006) at
16.0 irq 9

I'm pretty sure the problem is the csa0 entry above. 
I can find no reference at all to that chipset being a
part of my computer. Full specs on this computer are
at;
http://support.dell.com/docs/systems/dkhan/Specs.htm

I have tried numerous kernel configs, including adding
device pcm0, device csa, ed0 at isa? port 0x280 irq 5
iomem 0xd800, pcm0 at isa? port? irq 5 drq 1 flags
0x15, and combinations thereof.  I have tried multiple
configurations in my bios as well, it seems no matter
what I do csa0 is probed and the irq that shows up is
also the one ed0 will try and use.  Both devices
failing to attach, one I imagine because it doesn't
exist.  The sound card that is built into this
motherboard is recognized later and does work.
pcm0: <CS423x> at port
0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on
isa0

Assuming my diagnosis is correct, how would I prevent
ed0 from using the same irq as csa0?  How would I stop
csa0 from showing up?  It appears as long as I have
device pcm in my kernel config ed0 uses the irq that
csa0 spits out, no matter what.  

I have also tried booting numerous different ways
including, boot -v, and boot -c which didn't help much
either.

Can someone shed some light on this for me?  Is there
something simple I missed?  Anybody else having
similiar problems?  I can provide dmesg from numerous
kernel configs, as well as my kernel config itself if
needed.  Thanks in advance for any insight to this
incredibly frustrating problem.


Looking forward to having net connectivity and sound. 
Please respond privately as I am not subscribed to the
list.


=====
--
-dave
"I went to a restaurant that serves `breakfast at any time'. So I ordered French Toast during the Renaissance." -Steven Wright

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/


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?20010129075134.17322.qmail>