[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.4.20 + PCMCIA not working (testing)



On Sat, 2003-01-25 at 08:33, Nate Bargmann wrote:
> First thanks to those of you who suggested the yenta_socket option.
> That allowed both the Debian 2.4.20-586tsc and my own custom kernel to
> load the card services modules.  However, (there's always a caveat) the
> throughput speed on the PCMCIA modem, which has worked very wery in all
> the 2.2 kernels I've used, is very poor with rates less than 1000 B/s.

Weird.  And of course you are using speed 115200, or at least 57600, in
your ppp configuration, right? (just ruling out common
misconfigurations).  Check also for IRQ conflicts between your modem and
your NIC.  Maybe they're being forced to share an interrupt, and one or
both do not like that.

> Booting the 2.2.20 Debian kernel from the Woody installation results in
> normal transfer rates, however I must change /etc/default/pcmcia back to
> i82365 as the rate with yenta_socket is poor.
> 
> Thus I'm inclined to think that for some reason the yenta_socket code is
> to blame, but I'm tired of fighting it.  I have a working kernel plus
> pcmcia-cs from a hard drive with Potato on it so I think I'll revert to
> that.

IMO you'll miss 2.4 if you go back to 2.2, and you'll miss woody even
more, if you go back to potato.  There should be no need for that. 
yenta is needed only for the *kernel* PCMCIA support.  I don't use that
myself, I use a custom 2.4.18 kernel with modules from pcmcia_cs (that
is, I use i82365, not yenta_socket).

What I do is get the kernel-source, pcmcia-source, and kernel-package
packages.  Uncompress the PCMCIA tarball, so you end up with a "modules"
directory right under "/usr/src".  Configure the kernel with no PCMCIA
support (that's right, disable it completely).  Run the usual make-kpkg
kernel_image and, after that, a make-kpkg modules.  You should probably
make the rest of the PCMCIA packages, as well, to avoid version problems
with the kernel.  See the make-kpkg and pcmcia-source docs for details.

That should give you a pcmcia modules package, with modules from
pcmcia_cs, not from the kernel.  Then you'll configure for i82365 again
and, if your problem is yenta, it should be gone.

Hope this helps.

 -CR




Reply to: