hotplug/pcmcia conflict with combo ethernet/modem (fwd)

Joseph Mack NA3T jmack at wm7d.net
Tue Sep 20 15:59:48 EDT 2005


On Wed, 24 Aug 2005, Joseph Mack NA3T wrote:

I haven't seen a reply to this. Just incase it's been 
forgotten....

I have the xircom ethernet/modem combo pcmcia card. On 
insertion, the script `serial` is told that device /dev/eth0 
has just been inserted.

Have the problem for 2.6.12 and 2.6.13 (haven't tried
any earlier kernels)

Thanks Joe

> On Tue, 16 Aug 2005, Dominik Brodowski wrote:
>
>> Hi,
>> 
>> Could you test kernel 2.6.13-rc6, please?
>
> Thanks for offering to have a look at this.
>
> no change I'm afraid.
>
> when plugging in the Xircom CEM56, the ethernet part
> comes up fine and /etc/serial/serial is fed
>
> $1=start, $2=eth0
>
> and then /etc/pcmcia/serial looks for /dev/eth0
>
> here's the output in /var/log/messages following insertion. I've added some 
> debugging for my own edification. The machine's name is "foghorn".
>
> Aug 25 00:17:46 foghorn kernel: cs: memory probe 0xa0000000-0xa0ffffff: 
> clean.
> Aug 25 00:17:46 foghorn cardmgr[1452]: socket 1: Xircom CEM56 Ethernet/Modem
> Aug 25 00:17:49 foghorn kernel: eth%%d: MII link partner: 0021
> Aug 25 00:17:49 foghorn kernel: eth%%d: MII selected
> Aug 25 00:17:49 foghorn kernel: eth%%d: media 10BaseT, silicon revision 5
> Aug 25 00:17:49 foghorn kernel: eth0: Xircom: port 0x300, irq 3, hwaddr 
> 00:10:A4:A2:74:A1
>
> #I print out the arguments and then the environment
>
> Aug 25 00:17:49 foghorn net.agent[3031]: /etc/hotplug/net.agent start $1  $2 
> $3
> PHYSDEVPATH=/devices/pci0000:00/0000:00:03.1/1.0
> SUBSYSTEM=net
> OLDPWD=/etc/hotplug
> DEVPATH=/class/net/eth0
> PATH=/bin:/sbin:/usr/sbin:/usr/bin
> ACTION=add
> PWD=/etc/hotplug
> SHLVL=2
> HOME=/
> PHYSDEVDRIVER=xirc2ps_cs
> INTERFACE=eth0
> DEBUG=yes
> PHYSDEVBUS=pcmcia
> SEQNUM=284
> _=/usr/bin/printenv
> Aug 25 00:17:49 foghorn net.agent[3031]: /etc/hotplug/net.agent action add, 
> interface eth0
>
> #net.agent doesn't know what to do with Slackware, so I've rolled my own.
>
> Aug 25 00:17:49 foghorn net.agent[3031]: Joes handling of interface eth0
> Aug 25 00:17:50 foghorn kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 
> ports, IRQ sharing enabled
> Aug 25 00:17:50 foghorn logger: /etc/rc.d/rc.inet1:  /sbin/dhcpcd -d -t 10 -h 
> foghorn eth0
> Aug 25 00:17:52 foghorn cardmgr[1452]: executing: './network start eth0 2>&1'
> Aug 25 00:17:52 foghorn cardmgr[1452]: + ./network start
> Aug 25 00:17:52 foghorn kernel: eth0: MII link partner: 0021
> Aug 25 00:17:52 foghorn kernel: eth0: MII selected
> Aug 25 00:17:52 foghorn kernel: eth0: media 10BaseT, silicon revision 5
> Aug 25 00:17:53 foghorn cardmgr[1452]: + ./network wirelss
> Aug 25 00:17:53 foghorn cardmgr[1452]: + ./network update resolv.conf
>
> #here's the problem. /etc/pcmcia/serial should be fed $2=ttyS3 or similar
>
> Aug 25 00:17:53 foghorn logger: ./serial: $1 start, $2 eth0 $3
> Aug 25 00:17:53 foghorn logger: ./serial: device , scheme , socket 1, 
> instance 0 minor
>
> #in /etc/pcmcia/serial, if I detect the CEM56, I make device=ttyS3
> #showing corrected device
>
> Aug 25 00:17:53 foghorn logger: ./serial: device ttyS3, scheme , socket 1, 
> instance 0 minor
> Aug 25 00:17:53 foghorn cardmgr[1452]: executing: './serial start eth0 2>&1'
>
> #if there's no /dev/cua1, I make CALLOUT=/dev/ttyS3
>
> Aug 25 00:17:53 foghorn cardmgr[1452]: + ./serial: CALLOUT=ttyS3
>
> Thanks Joe
>
>

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml 
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the linux-pcmcia mailing list