Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 22:15:56 -0500
From:      The Babbler <bts@babbleon.org>
To:        Xeon2578@netscape.net, freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: BSD with two NIC's
Message-ID:  <3AB033EC.191F47A0@babbleon.org>
References:  <21662211.7E01A45E.00877270@netscape.net> <3AAEF70C.DFFCFCCC@babbleon.org> <0A3465D9.5B1A3086.00877270@netscape.net> <3AAF6F9D.5A3810D8@babbleon.org> <46CED77F.23FFB834.00877270@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Immediate device timeouts are usually indicative of IRQ conflicts.

But there is another problem (and it might even be the same problem, or
the original problem); namely, FreeBSD ships with an (IMHO) broken
kernel config; at any rate, one that doesn't work with PCMCIA cards.

Find the line that looks like this:

device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000

and change it to just this:

device 		ed

and rebuild your kernel.

If that doesn't do it, then you probably have an IRQ conflict; you did
the "dmesg | grep irq" thing already, right?


Xeon2578@netscape.net wrote:
> 
> Thank you very much. Like you said After twicking with the pccard.conf file, i got pccardd
> enable the cards:
> 
> irq 3 13
> 
> config 0x2 "ed0" 3
> config 0x3 "ed1" 13
> 
> I configured each interface with a different IP Address(different subnets)
> but immediately after the ifconfig command I get a message
> /kernel: ed0: device timeout for  ed0
> and /kernel: ed1: device timeout for ed1
> Besides each interface can ping itself on the respective IP.
> But I can't ping other hosts on respective subnets...
> 
> Any Idea...DriverS??
> 
> The Babbler <bts@babbleon.org> wrote:
> >
> >
> > Sorry, I was confused anyway.  That question is irrelavent.
> >
> > What you need to try is to edit your /etc/pccard.conf file.
> > Copy the entries for those two cards from the /etc/defaults/pccard.conf
> > file,
> > and change one of the entries to use a different interrupt and entry
> > number; eg,
> > if the first card is in the defaults file with
> >
> >   config 0x1 "ed" ?
> >
> > then try making it look like
> >
> >    config 0x2 "ed" 9
> >
> > instead.
> >
> > (Actually, what you need to do is to do
> >
> >     dmesg | grep irq
> >
> > and see what irqs are free so you can assign one of those.  Nine happens
> > to be what worked for me.)
> >
> > Then you just have to play around with it until it works.  Of course,
> > you have to restart the pccardd every time you change these.
> >
> > You might be able to get this all easier by using "pccardc enabler"
> > until you find workable parameters rather than messing with pccard.conf
> > right off the bat, but I didn't personally stumble across pccardc
> > enabler 'til after I had might working.
> >
> > PS:  Mine only had an IRQ conflict.  It's possible that yours will solve
> > the memory conflict itself if you fix the IRQ conflict.  After all was
> > said & done, mine actually was fixed by putting just this in the
> > pccard.conf:
> >
> > irq 3 9
> >
> >
> > It's possible that this is all you need--to explicitly list the
> > non-conflicting IRQs in your system.
> >
> >
> >
> >
> > Xeon2578@netscape.net wrote:
> > >
> > > The Babbler <bts@babbleon.org> wrote:
> > > >
> > > > Xeon2578@netscape.net wrote:
> > > > >
> > > > > Hi -
> > > > >
> > > > > I was so relievd when I saw your posting on:
> > > > > "PCMCIA Questions: 2 NICs & new pccard.conf entry"
> > > > > Unfortunately, there were no followups...I am hoping you
> > > > > got a solution for your problem, cause I have the same too.
> > > > >
> > > > > I have two different PCMCIA network cards installed on a SONY(fx101) Laptop
> > > > > 1. Netgear FA410TX
> > > > > 2. D-Link 650
> > > > > These cards appear to use the exact same resources,
> > > > > IRQ 3 and I/O 0x240-0x25F
> > > > > The cards are seen by PCCARDD, but either will load but not both.
> > > > > If one load, the other produces an error message:
> > > > > No free configuration for card "card_name"
> > > > >
> > >
> > > > Are both cards using the same driver (eg, both "ed" or "ep" or
> > > > whatever)?
> > > >
> > >
> > > Well yes, they use ed.
> > >
> > > MAT
> > >
> > > __________________________________________________________________
> > > Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
> >
> > --
> > "Brian, the man from babble-on"              bts@babbleon.org
> > Brian T. Schellenberger                      http://www.babbleon.org
> > Support http://www.eff.org.                  Support decss defendents.
> > Support http://www.programming-freedom.org.  Boycott amazon.com.
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

-- 
"Brian, the man from babble-on"              bts@babbleon.org
Brian T. Schellenberger                      http://www.babbleon.org
Support http://www.eff.org.                  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB033EC.191F47A0>