Skip to contentSkip to conversation

PCMCIA serial CardBus support vanished in 2.4.3-pre3 and later

DISCUSSION Alessandro Suardi 4 participants 6 messages Mar 20, 2001

lore
Share & tools
lore
#0 lore raw

Sorry to repost the issue but I got no reply...

2.4.3-pre3 and synced-up versions of the -ac series remove support for PCMCIA serial CardBus. In drivers/char/pcmcia the Makefile and Config.in files are modified to exclude serial_cb and the serial_cb.c file itself is removed by the patch. As a net result, my Xircom modem port becomes invisible to the kernel and I can't dial out through it.

As a temporary measure I backed out the changes in drivers/char/pcmcia
and my 2.4.3-pre4 kernel seems happy (in fact I am dialing out through said Xircom modem).

Did I miss some announcement for replacement features for serial_cb or
did a bad patch slip in ?

Thanks & ciao,

--alessandro <[email protected]> <[email protected]>

Linux:  kernel 2.2.19p17/2.4.3p4 glibc-2.2 gcc-2.96-69 binutils-2.11.90.0.1
Oracle: Oracle8i 8.1.7.0.1 Enterprise Edition for Linux
motto:  Tell the truth, there's less to remember.
#1 lore raw
Quoted 9 lines · Alessandro Suardi

Sorry to repost the issue but I got no reply...

2.4.3-pre3 and synced-up versions of the -ac series remove support for PCMCIA serial CardBus. In drivers/char/pcmcia the Makefile and Config.in files are modified to exclude serial_cb and the serial_cb.c file itself is removed by the patch. As a net result, my Xircom modem port becomes invisible to the kernel and I can't dial out through it.

Quoted 6 lines

As a temporary measure I backed out the changes in drivers/char/pcmcia
and my 2.4.3-pre4 kernel seems happy (in fact I am dialing out through said Xircom modem).

Did I miss some announcement for replacement features for serial_cb or
did a bad patch slip in ?

Neither. serial.c does serial_cb's job now. It looks like serial.c needs to scan for modems as well as serial ports, and tytso agrees with me on that. We just need to check and see if winmodems reports themselves as real modems before fixing this.

Signature · 3 lines
Jeff Garzik       | May you have warm words on a cold evening,
Building 1024     | a full mooon on a dark night,
MandrakeSoft      | and a smooth road all the way to your door.
#2 lore raw
In reply to Alessandro Suardi
Quoted 6 lines · Alessandro Suardi

2.4.3-pre3 and synced-up versions of the -ac series remove support for PCMCIA serial CardBus. In drivers/char/pcmcia the Makefile and Config.in files are modified to exclude serial_cb and the serial_cb.c file itself is removed by the patch. As a net result, my Xircom modem port becomes invisible to the kernel and I can't dial out through it.

The regular serial.c should handle it natively. Just make sure you have CONFIG_SERIAL enabled, along with hotplugging support etc.

Linus

#3 lore raw
Quoted 4 lines · Linus Torvalds
Quoted 1 line · Alessandro Suardi
Quoted 8 lines
Quoted 5 lines

2.4.3-pre3 and synced-up versions of the -ac series remove support for PCMCIA serial CardBus. In drivers/char/pcmcia the Makefile and Config.in files are modified to exclude serial_cb and the serial_cb.c file itself is removed by the patch. As a net result, my Xircom modem port becomes invisible to the kernel and I can't dial out through it.

The regular serial.c should handle it natively. Just make sure you have CONFIG_SERIAL enabled, along with hotplugging support etc.

In fact it does. I discovered it last weekend when my modem -them same one than Alessandro's- stopped working.

Removing "alias char-major-4 serial_cb" from modules.conf did the trick and the serial driver worked flawlessly. Modules serial got loaded instead.

Pau

#4 lore raw
Quoted 16 lines · Pau
Quoted 4 lines · Linus Torvalds
Quoted 1 line · Alessandro Suardi
Quoted 8 lines
Quoted 5 lines

2.4.3-pre3 and synced-up versions of the -ac series remove support for PCMCIA serial CardBus. In drivers/char/pcmcia the Makefile and Config.in files are modified to exclude serial_cb and the serial_cb.c file itself is removed by the patch. As a net result, my Xircom modem port becomes invisible to the kernel and I can't dial out through it.

The regular serial.c should handle it natively. Just make sure you have CONFIG_SERIAL enabled, along with hotplugging support etc.

Quoted 6 lines

In fact it does. I discovered it last weekend when my modem -them same one than Alessandro's- stopped working.

Removing "alias char-major-4 serial_cb" from modules.conf did the trick and the serial driver worked flawlessly. Modules serial got loaded instead.

Cool... but I have used for a while serial_cb in kernel, not as a module
so there is nothing to remove here :) as for Jeff's surprise I have had basically no problem in using kernel PCMCIA stuff in 2.4 series, apart from the usual Tx hang bug of the Xircom.

Built with Jeff's latest patch, rebooting....

--alessandro <[email protected]> <[email protected]>

Linux:  kernel 2.2.19p17/2.4.3p4 glibc-2.2 gcc-2.96-69 binutils-2.11.90.0.1
Oracle: Oracle8i 8.1.7.0.1 Enterprise Edition for Linux
motto:  Tell the truth, there's less to remember.
#5 lore raw
Quoted 8 lines · Alessandro Suardi
Quoted 3 lines

Removing "alias char-major-4 serial_cb" from modules.conf did the trick and the serial driver worked flawlessly. Modules serial got loaded instead.

Cool... but I have used for a while serial_cb in kernel, not as a module
so there is nothing to remove here :) as for Jeff's surprise I have had basically no problem in using kernel PCMCIA stuff in 2.4 series, apart from the usual Tx hang bug of the Xircom.

I've been using it since first 2.3 series :)
I still have the Tx hang basically with NFS, but also when moving high amount of Mb in the LAN.
I've moved from pcmcia-cs to hotplug and it works too :)

Pau