[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian setup freezes when trying to remove pcmcia



> I've had problems with tulip cards. For my Xircom RBEM56G-100, I
> have to put it in promiscuous mode to get it working. I modified
> /etc/pcmcia/network with the promisc line below.
> 
>         elif [ -x /sbin/dhclient ] ; then
>             # workaround for tulip bug
>             /sbin/ifconfig $DEVICE promisc
>             /sbin/dhclient $DEVICE >/dev/null 2>&1 || exit 1
> 
> 
> lspci says:
> 
> 20:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
> 20:00.1 Serial controller: Xircom Cardbus Ethernet + 56k Modem (rev 03)

   I use the same card and used to put it in promisc mode,
   however, I found this is not necessary.  I dumped pump and now
   use dhclient-2.2.x.  This client always gets an IP config, but
   sometimes I just need to remind it that it's up to get it
   forwarding:
   
   ifconfig eth0 up
   
   ...and all is well.
   
   I'm curious to see what shows up in syslog for the dhcp
   process.  You should see something like this:
   
Aug 20 07:53:54 localhost cardmgr[6841]: socket 0: Xircom CBEM56G-100 CardBus 10/100 Ethernet + 56K Modem
Aug 20 07:53:54 localhost cardmgr[6841]: executing: 'modprobe cb_enabler'
Aug 20 07:53:54 localhost cardmgr[6841]: executing: 'modprobe tulip_cb'
Aug 20 07:53:55 localhost cardmgr[6841]: executing: 'modprobe serial_cb'
Aug 20 07:53:55 localhost kernel: cs: cb_config(bus 32)
Aug 20 07:53:55 localhost kernel:   fn 0 bar 2: mem 0xa0013000-0xa00137ff
Aug 20 07:53:55 localhost kernel:   fn 0 bar 3: mem 0xa0012000-0xa00127ff
Aug 20 07:53:55 localhost kernel:   fn 1 bar 1: io 0x280-0x287
Aug 20 07:53:55 localhost kernel:   fn 1 bar 2: mem 0xa0011000-0xa00117ff
Aug 20 07:53:55 localhost kernel:   fn 1 bar 3: mem 0xa0010000-0xa00107ff
Aug 20 07:53:55 localhost kernel:   fn 0 bar 1: io 0x200-0x27f
Aug 20 07:53:55 localhost kernel:   fn 0 rom: mem 0xa000c000-0xa000ffff
Aug 20 07:53:55 localhost kernel:   fn 1 rom: mem 0xa0008000-0xa000bfff
Aug 20 07:53:55 localhost kernel:   irq 11
Aug 20 07:53:55 localhost kernel: cs: cb_enable(bus 32)
Aug 20 07:53:55 localhost kernel:   bridge io map 0 (flags 0x21): 0x200-0x287
Aug 20 07:53:55 localhost kernel:   bridge mem map 0 (flags 0x1): 0xa0008000-0xa0013fff
Aug 20 07:53:55 localhost kernel: tulip_attach(device 20:00.0)
Aug 20 07:53:55 localhost kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
Aug 20 07:53:55 localhost kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x200, 00:10:A4:99:99:7B, IRQ 11.
Aug 20 07:53:55 localhost kernel: eth0:  MII transceiver #0 config 3100 status 7809 advertising 01e1.
Aug 20 07:53:55 localhost kernel: serial_attach(device 20:00.1)
Aug 20 07:53:55 localhost kernel: tty02 at 0x0280 (irq = 11) is a 16550A
Aug 20 07:53:55 localhost cardmgr[6841]: executing: './network start eth0'
Aug 20 07:53:55 localhost cardmgr[6841]: + ioctl: Operation not supported
Aug 20 07:53:55 localhost kernel: bridge-eth0: found peer eth0
Aug 20 07:53:55 localhost kernel: bridge-eth0: up
Aug 20 07:53:55 localhost dhclient-2.2.x: Internet Software Consortium DHCP Client 2.0pl4
Aug 20 07:53:55 localhost dhclient-2.2.x: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Aug 20 07:53:55 localhost dhclient-2.2.x: All rights reserved.
Aug 20 07:53:55 localhost dhclient-2.2.x: 
Aug 20 07:53:55 localhost dhclient-2.2.x: Please contribute if you find this software useful.
Aug 20 07:53:55 localhost dhclient-2.2.x: For info, please visit http://www.isc.org/dhcp-contrib.html
Aug 20 07:53:55 localhost dhclient-2.2.x: 
Aug 20 07:53:56 localhost dhclient-2.2.x: Listening on LPF/eth0/00:10:a4:99:99:7b
Aug 20 07:53:56 localhost dhclient-2.2.x: Sending on   LPF/eth0/00:10:a4:99:99:7b
Aug 20 07:53:56 localhost dhclient-2.2.x: Sending on   Socket/fallback/fallback-net
Aug 20 07:53:56 localhost kernel: bridge-eth0: lost peer eth0
Aug 20 07:53:56 localhost kernel: bridge-eth0: down
Aug 20 07:53:56 localhost kernel: bridge-eth0: found peer eth0
Aug 20 07:53:56 localhost kernel: bridge-eth0: up
Aug 20 07:53:57 localhost dhclient-2.2.x: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Aug 20 07:53:57 localhost dhclient-2.2.x: receive_packet failed on eth0: Network is down
Aug 20 07:54:00 localhost dhclient-2.2.x: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
Aug 20 07:54:00 localhost dhclient-2.2.x: DHCPOFFER from 192.168.0.1
Aug 20 07:54:02 localhost dhclient-2.2.x: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Aug 20 07:54:02 localhost dhclient-2.2.x: DHCPACK from 192.168.0.1
Aug 20 07:54:02 localhost dhclient-2.2.x: bound to 192.168.0.10 -- renewal in 300 seconds.
Aug 20 07:54:02 localhost cardmgr[6841]: executing: './serial start ttyS2'


-- 

Jeff Coppock		Nortel Networks
Systems Engineer	http://nortelnetworks.com
Major Accts.		Santa Clara, CA



Reply to: