Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 15:37:15 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        "Joesh Juphland" <part_lion@hotmail.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: lots of things (pcic, pccard, ep0) on irq3. Problem ? 
Message-ID:  <200110242237.f9OMbFd00950@ptavv.es.net>
In-Reply-To: Your message of "Wed, 24 Oct 2001 15:22:37 MDT." <F39DyseVwrblZz02H6700000076@hotmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Joesh Juphland" <part_lion@hotmail.com>
> Date: Wed, 24 Oct 2001 15:22:37 -0600
> Sender: owner-freebsd-mobile@FreeBSD.ORG
> 
> 
> I am trying to get two identical 3C589 pc cards working simultaneously on my 
> laptop.  This was accomplished with FreeBSD 4.3 by adding lines like this to 
> /etc/defaults/pccard.conf :
> 
> config  auto "ep0" 10
> config  auto "ep1" 15
> (everything else for that cards entry is left the same)
> 
> However, this no longer works with FreeBSD 4.4.  There are two reasons that 
> this could be happening:
> 
> 1. the somewhat arcane changes I show above to pccard.conf are no longer the 
> way it is done, and I just don't know the _new_ arcane way
> 
> 2. Somehow, some way, in upgrading from 4.3 to 4.4 on this laptop, I have 
> developed irq conflicts - maybe 4.4 just arranges things differently.
> 
> So in that light, the ONLY ONLY ONLY suspicious thing I see in dmesg is that 
> a _lot_ of things are using irq3:
> 
> pci_cfgintr: 0:19 INTA routed to irq 3
> pcic0 ... irq3
> pcic1 ... irq3
> ep0 ... irq3
> 
> Which is odd, since pccard.conf _and_ /etc/rc.conf BOTH tell ep0 to go to 
> irq10 and ep1 to go to irq15.
> 
> The end result ?  ep0 works, on irq 3, and ep1 bombs out with the infamous 
> "No card in database for "(null)"("(null)")
> 
> Any help is appreciated.  The irq thing looks odd, but given the previous 
> 4.3-era solution to this problem (the pccard.conf configuration shown above) 
> I would not be surprised if there is some new weird arrangement of the 
> parameters for that entry that will solve everything.

The handling of interrupts on 4.4 for PCcards is very different. V4.4
implements IRQ sharing for PCI routed interrupts including PCcards.

This means that both pcics always share a single IRQ and any cards
plugged into them do the same. So what you are seeing is pretty
normal. Mine uses IRQ11, but is otherwise about the same as
yours. This is not a problem.

Also, all IRQ parameters in pccard.conf and the like are simply
ignored.

Unfortunately, I have no idea why both cards would not work
right. Perhaps Warner or someone else has an idea.

You could switch back to ISA interrupt routing and see if that
helps. That changes interrupt routing back to the way it was in 4.3
and makes the specifications in the pccard.conf file valid again.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

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?200110242237.f9OMbFd00950>