Date: Fri, 15 Feb 2002 13:51:00 -0800 From: Yu-Shun Wang <yushunwa@ISI.EDU> To: Aaron Brosseau <vaio_net@yahoo.com> Cc: Eric =?ISO-8859-1?Q?Hedstr=F6m?= <erich@ucsd.edu>, freebsd-mobile@FreeBSD.ORG Subject: Re: Two Identical Nics - No Solution In Sight Message-ID: <3C6D82C4.4030005@isi.edu> References: <000901c1af8e$a6853890$b74d3844@cc2448180a> <3C629DC9.4090409@ucsd.edu> <000b01c1b052$f48e2e10$b74d3844@cc2448180a>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
Just want to report some of my progress and thanks for Aaron and Eric,
I finally found a combination of config index + irq that my old laptop
(Gateway Solo 9100) likes. :-)
Some background:
FreeBSD: 4.5 release
Laptop 1:
Gateway Solo 9100
pcic0: <Cirrus Logic PD6832 PCI-CardBus Bridge>
NICs: Linksys PCMPC100 (v1) x 2
Config & Result:
- Need to revert back to old irq routing scheme in /boot/loader.conf
(hw.pcic.intr_path=1 & hw.pcic.irq=0). Without these two lines,
the changes in pccard.conf just didn't seem to have any affect.
- In the entry for Linksys PCMPC100:
(1) "auto" didn't work. Have to specify both the config index
and irq.
(2) Both ed0 and ed1 needed a config line. It just did.
(3) These are the lines that worked for me:
config 0x3 "ed0" 11 0x80000
config 0x1 "ed1" 7 0x80000
(Note that both 11 and 7 must be in the irq line of
pccard.conf).
Laptop 2:
Dell Latitude C600
pcic0: <TI PCI-1420 PCI-CardBus Bridge>
NICs: Same as above.
Config & Result:
- Dell was easier than Gateway Solo, but still need separate configs
for ed0 and ed1:
config auto "ed0" ? 0x80000
config auto "ed1" ? 0x80000
worked without the pcic tweaks in loader.conf.
I probably didn't try all possible combination, but these are the
results worked for me. Moving on to my last old laptop: Libretto
110CT... :-)
Cheers,
yushun.
Aaron Brosseau wrote:
> Thank You!
>
> I finally got my two Linksys cards to work in harmony with FreeBSD. To get
> them to work, I still had to modify the lines you suggested, but without
> your idea, I would probably still be pulling my hair out right now. I also
> appreciate the reference to groups.google.com. I didn't realize that site
> existed and now it gives me another resource to go to when problems arise.
>
> Here is my final configuration that allows two identical Linksys cards to be
> recognized and used by FreeBSD:
>
> pccard.conf -
> config auto "ed0" 3
> config auto "ed1" 10
> (these lines were added under the section for my NIC card - I also removed
> the sections for other ed devices I know I wasn't going to use)
>
> kernel -
> device ed
> (I commented out the original line that read: device ed0 at isa? port 0x280
> irq 3 iomem 0xd8000)
>
> rc.conf -
> ifconfig_ed0="inet 192.168.0.13 netmask 255.255.255.0"
> ifconfig_ed1="inet 192.168.0.14 netmask 255.255.255.0"
> (I'm sure these are optional, but I wanted them in there anyway)
>
> Hopefully my configuration may help others that encounter the same issues I
> had to deal with. Thanks again.
>
> Aaron
>
>
> ----- Original Message -----
> From: "Eric Hedström" <erich@ucsd.edu>
> To: "Aaron Brosseau" <vaio_net@yahoo.com>
> Cc: <freebsd-mobile@FreeBSD.ORG>
> Sent: Thursday, February 07, 2002 10:31 AM
> Subject: Re: Two Identical Nics - No Solution In Sight
>
>
>
>>I haven't had to do this since FreeBSD 3.4, but all the suggestions I've
>>seen involved adding another config line to the pccard.conf section for
>>your card:
>>
>>irq 9 10
>>
>>...
>>
>>config 0x2 "ed0" 9
>>config 0x3 "ed1" 10
>>
>>(Use IRQs that are free on your system, if 9 and 10 are not).
>>
>>A groups.google.com search of "freebsd pcmcia two network cards config
>>line pccard.conf" brings up various examples.
>>
>>Hope this helps,
>>Eric
>>
>>
>>Aaron Brosseau wrote:
>>
>>
>>>Hello,
>>>
>>>I've got what seems to be a very common problem. Two identical pcmcia
>>>network cards on one machine and only one works. I've searched the
>>>
> mailing
>
>>>list archives and seen many people with the exact same problem.
>>>Unfortunately, all the solutions that were given were either guesses on
>>>
> how
>
>>>to fix the problem or non-specific things to try. Since I am new to
>>>
> this
>
>>>list, I'm not sure if this issue is something that gets discussed often,
>>>
> but
>
>>>I'm hoping someone out there knows the answer. I would prefer that only
>>>people who have dealt with this problem directly (and solved it) reply
>>>
> to
>
>>>this email.
>>>
>>>
>>>The problem - on boot up, one card is always detected fine, but the
>>>
> second
>
>>>card produces the error message - "No free configuration for card
>>>
> Linksys".
>
>>>All the things I've read regarding this problem seem to revolve around
>>>
> three
>
>>>files - the kernel, rc.conf, and pccard.conf. I've tried every solution
>>>
> or
>
>>>suggestion that I've come across and nothing has worked yet.
>>>
>>>Here is what I've got:
>>>
>>>A 380D IBM ThinkPad and two identical Linksys PCMPC100 network cards
>>>
> (the
>
>>>ones with the detachable dongles). I am running FreeBSD 4.5. If I use
>>>
> a
>
>>>different brand of NIC for the second (or first) slot, everything works
>>>fine. Also, if I just switch the two NIC's, the error message still
>>>appears. I have also tried to use the two Linksys cards on another
>>>
> laptop
>
>>>and the errors show up on that one as well. If I use the cards
>>>individually, they work perfect. This tells me that the NICs are fine
>>>
> and
>
>>>the slots can both be used simultaneously for the ThinkPad.
>>>
>>>Here is what I've tried already to fix the problem:
>>>
>>>1. Modifying the pccard.conf file to only have the driver I need for
>>>
> the
>
>>>Linksys card.
>>>2. Changing the values of the Linksys section of the pccard.conf for my
>>>specific card.
>>>3. Adding the lines: ifconfig_ed0=inet 192.168.0.13 netmask
>>>
> 255.255.255.0
>
>>>and ifconfig_ed1=inet 192.168.0.14 netmask 255.255.255.0 to my rc.conf.
>>>4. Rebuilding the kernel with the lines: ed0 at isa? port 0x300 irq 3
>>>
> iomem
>
>>>0xd8000 and ed1 at isa? port 0x280 irq 10 iomem 0xdc000.
>>>5. Rebuilding the kernel with just line: device ed (removing the lines
>>>
> from
>
>>>step 4).
>>>6. Rebuilding the kernel with all other devices removed that weren't
>>>absolutely needed.
>>>7. Rebuilding the kernel with the "disable" removed from the end of the
>>>device pcic1 ... line.
>>>8. Checking dmesg | grep irq to make sure there were no IRQ conflicts.
>>>
>>>If someone needs to see my dmesg output word for word or my kernel file,
>>>
> I
>
>>>will be glad to send them, but I really feel like since this seems to be
>>>such a common and known issue, there must be a straight forward list of
>>>
> what
>
>>>exactly needs to be changed on any given system to make this work. If
>>>anyone out there has dealt with this problem and knows SPECIFICALLY what
>>>they did to rectify it, please let me know. Thank you for all your
>>>
> help.
>
>>>Aaron
>>>
>>>
>>>_________________________________________________________
>>>Do You Yahoo!?
>>>Get your free @yahoo.com address at http://mail.yahoo.com
>>>
>>>
>>>To Unsubscribe: send mail to majordomo@FreeBSD.org
>>>with "unsubscribe freebsd-mobile" in the body of the message
>>>
>>>
>>>
>>
>>
>>
>>To Unsubscribe: send mail to majordomo@FreeBSD.org
>>with "unsubscribe freebsd-mobile" in the body of the message
>>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message
>
--
____________________________________________________________________________
Yu-Shun Wang <yushunwa@isi.edu> Information Sciences Institute
University of Southern
California
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?3C6D82C4.4030005>
