problem with modem card after enabling hotplugging

Ulrich Lauther ulrich.lauther at siemens.com
Mon May 16 09:58:40 EDT 2005


Hi,

I enabled hotplugging in my 2.6.11 kernel and now the pcmcia modem card
(modem / ethernet combo) is handled in a wrong way:
When I insert the card, a link from /dev/eth1 to /dev/modem is created.
Correct would be /dev/modem -> /dev/ttyS4, and that is what I get with
a 2.6.11 kernel without hotplugging enabled.

Any ideas what could be wrong?

Thanks for any help,

	-ulrich

/var/lib/pcmcia/stab:

Socket 0: Xircom CEM56 Ethernet/Modem
0       network xirc2ps_cs      0       eth1
0       serial  serial_cs       0       eth1

Below is what I get when inserting the card:

May 15 22:09:30 tahiti cardmgr[2901]: initializing socket 0
May 15 22:09:30 tahiti cardmgr[2901]: socket 0: Xircom CEM56 Ethernet/Modem
May 15 22:09:30 tahiti cardmgr[2901]:   product info: "Xircom", "CreditCard
Ethernet 10/100 + Modem 56", "CEM56", "1.00"
May 15 22:09:30 tahiti cardmgr[2901]:   manfid: 0x0105, 0x110a  function: 2
(serial)
May 15 22:09:30 tahiti cardmgr[2901]: executing: 'modprobe xirc2ps_cs'
May 15 22:09:31 tahiti cardmgr[2901]: executing: 'modprobe serial_cs'
May 15 22:09:35 tahiti kernel: eth%%d: autonegotiation failed; using 10mbs
May 15 22:09:35 tahiti kernel: eth%%d: MII selected
May 15 22:09:35 tahiti net.agent[3210]: how do I bring interfaces up on
this distro?
May 15 22:09:35 tahiti cardmgr[2901]: executing: './network start eth1'
May 15 22:09:35 tahiti kernel: eth%%d: media 10BaseT, silicon revision 5
May 15 22:09:35 tahiti kernel: eth1: Xircom: port 0x300, irq 3, hwaddr
00:10:A4:D0:C5:B0
May 15 22:09:35 tahiti net.agent[3210]: add event not handled
May 15 22:09:35 tahiti cardmgr[2901]: + Fill with your own settings...
May 15 22:09:35 tahiti cardmgr[2901]: + Sample private network setup
May 15 22:09:35 tahiti cardmgr[2901]: executing: './serial start eth1'
May 15 22:09:35 tahiti cardmgr[2901]: + expr: syntax error
May 15 22:09:35 tahiti cardmgr[2901]: + Default modem setup
May 15 22:09:35 tahiti cardmgr[2901]: + ./MAKEDEV eth1
May 15 22:09:35 tahiti cardmgr[2901]: + ./MAKEDEV: don't know how to make
device "eth1"

after card insertion ls -l /dev/modem gives:
lrwxrwxrwx    1 root     root            9 May 15 22:09 /dev/modem -> /dev/eth1

obviously created at time of insertion; but who does this?

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens CT SE 6         Internet: Ulrich.Lauther at siemens.com



More information about the linux-pcmcia mailing list