2002-10-27 23:39:21

by Bernd Petrovitsch

[permalink] [raw]
Subject: 2.4.20pre11aa1 freezes after inserting a PCMCIA ethernet card

Bernd Petrovitsch Email : [email protected]
g.a.m.s gmbh Fax : +43 1 205255-900
Prinz-Eugen-Stra?e 8 A-1040 Vienna/Austria/Europe
LUGA : http://www.luga.at


Attachments:
lspci (4.14 kB)
lspci
dmesg (4.43 kB)
dmesg
Download all attachments

2002-10-28 10:17:05

by Bas Vermeulen

[permalink] [raw]
Subject: Re: 2.4.20pre11aa1 freezes after inserting a PCMCIA ethernet card

Hi Bernd,

> I have a Toshiba Satellite 2540 CDT laptop. It works with a stock
> Redat-6.2 2.2.14 kernel RPM (but not with the 2.2.19 Update RPM -
> symptoms are similar to below). The system is basically a RedHat-7.3
> with the 2.2.14 kernel from RedHat-6.2 and some newer RPMS from
> RawHide.
> The Kernel (probably) freezes after inserting a Surecom PCMCIA
> Ethernet Card (EP-427/EP-427-T) since it always fsck'es the
> filesystems during the next boot. If the laptop is booted without
> the card, everything is working properly (though I do not do much
> without the network card).
> This happens if the PCMCIA card already is inserted during startup or
> if it is inserted later on (after a successful boot as described above).

You may want to try to cut back on io ports probed by cardmgr.
Almost the same happens on my box, when I don't cull some of the io ports
in /etc/pcmcia/config.opts. You can try commenting out some of the ports
there (I believe 0x800 was the culprit on my laptop, ymmv).

Hope this helps,

Bas Vermeulen

--
"God, root, what is difference?"
-- Pitr, User Friendly

"God is more forgiving."
-- Dave Aronson

2002-10-28 22:51:41

by Bernd Petrovitsch

[permalink] [raw]
Subject: Re: 2.4.20pre11aa1 freezes after inserting a PCMCIA ethernet card

Bas Vermeulen <[email protected]> wrote:
>> I have a Toshiba Satellite 2540 CDT laptop. It works with a stock
>> Redat-6.2 2.2.14 kernel RPM (but not with the 2.2.19 Update RPM -
>> symptoms are similar to below). The system is basically a RedHat-7.3
>> with the 2.2.14 kernel from RedHat-6.2 and some newer RPMS from
>> RawHide.
>> The Kernel (probably) freezes after inserting a Surecom PCMCIA
>> Ethernet Card (EP-427/EP-427-T) since it always fsck'es the
>> filesystems during the next boot. If the laptop is booted without
>> the card, everything is working properly (though I do not do much
>> without the network card).
>> This happens if the PCMCIA card already is inserted during startup or
>> if it is inserted later on (after a successful boot as described above).
>
>You may want to try to cut back on io ports probed by cardmgr.
>Almost the same happens on my box, when I don't cull some of the io ports
>in /etc/pcmcia/config.opts. You can try commenting out some of the ports
>there (I believe 0x800 was the culprit on my laptop, ymmv).

Hmm, 0x800 seems unused here (at least in /proc/ioports). But
the pcnet_cs modules uses only 0x300-0x307 and 0x310-0x317, so I
reduced (in /etc/pcmcia/config.opts) the range from
"include port 0x100-0x4ff, port 0x1000-0x17ff" to
"include port 0x300-0x320, port 0x1000-0x17ff" and it seems to work
now - at least the laptop booted sucessfully and and there is a
network conection.

Thanks for your help!

Bernd

--
Bernd Petrovitsch Email : [email protected]
g.a.m.s gmbh Fax : +43 1 205255-900
Prinz-Eugen-Stra?e 8 A-1040 Vienna/Austria/Europe
LUGA : http://www.luga.at