[ltp] PCMCIA on TP 770ED

eduardo linux-thinkpad@www.bm-soft.com
Wed, 29 Sep 1999 15:19:19 -0300



Nico D wrote:
> 
> When I insert a PCMCIA modem (USRobotics WorldPort V.34), Linux RH 6.0
> is frozen until the card is removed.
> 
> What should be done to correct the problem?
> 
> Thanks.


Nico:

Try to use the solution to this case:

I found a problem with the PCMCIA in the pre-compiled kernel
distributed with Mandrake and RedHat witch I'll describe in a bug
report sent to
several mail-lists (including this one) followed by solution:

the problem reported:

I am having a problem just after I've tried to upgrade my Linux from
Conectiva RedHat 3.0 to Conectiva 4.0

I've also tried the RedHat 6.0 and latest MANDRAKE but unfortunately
all of these versions have the same problem.

I looked for the answer in the HOW-TO's and tried to install in all
modes but with no success

The problem:


I can 'ping' to all machines in the network. It works OK.
When I connect to a server using ftp or telnet, after the answer about
my password, the terminal does not answer anymore.
If I use Netscape, the browser doesn't show some pictures and it
hangs. 
I cannot use the ftp even inside Netscape.

If I remove the network cable and use a remote connection by telephone
(PPP) all the programs work OK.

Using a tip in one of the HOW-TO's I've got the following information
about the PCMCIA cards:

Identification:

Socket 0:
product info: "IBM Corp.", "Ethernet", "0934214",
"PC-NIC
ENCC990010759-001A"
manfid: 0x00a4, 0x0002
function: 6 (network)
Socket 1:
product info: " ", "PCMCIA 33.6/14.4 Data/Fax Modem",
"Version
1.51", "Card Assy Part No. 85H8059"
manfid: 0x00a4, 0x0039
function: 2 (serial)


Configuration:


Socket 0:
Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
Interface type is memory and I/O
IRQ 5 is exclusive, level mode, enabled
Function 0:
Config register base = 0x20000
Option = 0x41, status = 0000, copy = 0000
I/O window 1: 0x0300 to 0x031f, auto sized

Socket 1:
Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
Interface type is memory and I/O
IRQ 9 is exclusive, level mode, enabled
Speaker output is enabled
Function 0:
Config register base = 0x0200
Option = 0x61, status = 0x08, pin = 0000, ext =
0000
I/O window 1: 0x02f8 to 0x02ff, 8 bit



My laptop is a ThinkPad 760EL and I've also tried to upgrade the BIOS
but it didn't fix the problem.

If I change the HD to another with NT or the Linux 3.0 inside,
everything works. (I've also tried to install in another HD...)

This is the problem that I couldn't solve even swapping the whole
laptop and cards.

I thank you in advance for some help.
.
.
.
.
Yesterday I installed the RedHat 5.2 (kernel 2.0.xx) and it worked
very well.
All distributions using kernel 2.2.xx don't work.

Couldn't it be a kernel problem?
.
.
.

I solved the problem. It was a Kernel problem.
First of all I'd like to thank you for Mr. Rich who send me the start
point like described below:



forum@linuxnow.com wrote:
> 
> henninrp replied to your post 'Kernel problem' at the site: The 
Linux
Forum.  The Url of this forum is 
http://www.linuxnow.com/cgi-bin/wwwthreads/wwwthreads.pl.  The reply 
was:
> 
> try going into /usr/src/Linux on your working Linux drive.  do
> make menuconfig
> find the option to save kernel config. to alternate file.
> save it to a floppy, then put your broken Linux install in.  go to
/usr/src/Linux, and import the kernel config file from the floppy.
recompuile kernel and then try it.  i don't necessarily think it's 
your
kernel, tho.  did you make sure that all the daemons that need to be 
running
for internet/network connectivity are running?  lemme know.
> 
> -rich henning



Dear Rich:


First of all I'd like to thank you for your reply. It in/directly
helped me to figure out what was the problem.

I did what you had asked me but it didn't solve the problem - the
machine locked in the init level 3.
Searching for some help on the Internet I found a page at IBM telling
about a problem with PCMCIA in versions lower than 2.2.10 and pcmcia
3.0.14 ( http://www.pc.ibm.com/qtechinfo/MIGR-4BP6Q6.html ).

So, I compiled my kernel and pcmcia with these new versions and it
worked!!

But it's not all. After that, I got the newest ISO image from
mandrake's page, with kernel 2.2.13 and pcmcia 3.1.0, burned a CD and
installed it in my laptop. 

To my surprise it didn't work!!

I needed to recompile the kernel and pcmcia module to these new
versions to get it working.

So, I think, there were 2 problems related:

First: the kernel and PCMCIA levels.

Second: the pre-compiled versions of these products (Mandrake, RedHat
and Conectiva).

Anyway, Your help was the start point to track this problem - THANK
YOU very much.

Best regards.


-- 
Eduardo Cruz
mailto:eduardo@campinas.net
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html