[ltp] ibmtr_cs 2.2.18 and DHCP

Markus Alt linux-thinkpad@www.bm-soft.com
Mon, 18 Dec 2000 11:05:52 +0100


Hi all,

lately I upgraded to ibmtr_cs-2.2.18 and pcmcia-cs-3.1.21 in order to
get VMware to run again (base system config is SuSE 7.0 with 2.2.16).
There should be quite a few messages in the archives with regard to that
topic.

This has worked fine so far. Even more, the Token Ring driver looks more
stable to me now, although others have reported problems. Unfortunately,
I can join them now ...

Usually, I use a fixed IP address for my machine. Last week I had to
connect my TP to another location's LAN and therefore use DHCP for the
IP configuration. To my surprise, this wasn't working, although I had
used DHCP without problems before. Today, I double-checked it in our LAN
with the same unsatisfying result.

It looks like the adapter isn't opened correctly and the tr0 interface
receives a lot of packages, but is not able to send some. Here are the
lines from /var/log/messages:


Dec 18 10:46:00 altmark cardmgr[4082]: initializing socket 0
Dec 18 10:46:00 altmark cardmgr[4082]: socket 0: IBM Token Ring Adapter
Dec 18 10:46:00 altmark cardmgr[4082]: executing: 'modprobe ibmtr_cs
mmiobase=0xd6000 srambase=0xd8000 ringspeed=16 sramsize=16 irq_list=9'
Dec 18 10:46:00 altmark kernel: 
Dec 18 10:46:00 altmark kernel: ibmtr_cs.c 1.10   1996/01/06 05:19:00
(Steve Kipisz)
Dec 18 10:46:00 altmark kernel:            2.2.7  1999/05/03 12:00:00
(Mike Phillips)
Dec 18 10:46:00 altmark kernel:            2.2.18 2000/10/15 Midnight
(Burt Silverman)
Dec 18 10:46:00 altmark kernel: tr0: ISA P&P 16/4 Adapter/A (short) |
16/4 ISA-16 Adapter found
Dec 18 10:46:00 altmark kernel: tr0: using irq 9, PIOaddr a20, 16K
shared RAM.
Dec 18 10:46:00 altmark kernel: tr0: Hardware address :
00:20:35:55:11:01
Dec 18 10:46:00 altmark kernel: tr0: Shared RAM paging enabled. Page
size: 16K Shared Ram size 63K
Dec 18 10:46:00 altmark kernel: tr0: Maximum Receive Internet Protocol
MTU 16Mbps: 16344, 4Mbps: 6104
Dec 18 10:46:03 altmark kernel: tr0: Initial interrupt : 16 Mbps, shared
RAM base 000d8000.
Dec 18 10:46:03 altmark kernel: tr0: port 0xa20, irq 9, mmio 0xd4d1c000,
sram 0xd8000,
Dec 18 10:46:03 altmark kernel:   hwaddr=002035551101
Dec 18 10:46:03 altmark cardmgr[4082]: executing: './network start tr0'
Dec 18 10:46:03 altmark kernel: tr0: Opening adapter: Xmit bfrs: 2 X
16384, Rcv bfrs: 16 X 1032
Dec 18 10:46:04 altmark dhclient: Internet Software Consortium DHCP
Client 2.0pl3
Dec 18 10:46:04 altmark dhclient: Copyright 1995, 1996, 1997, 1998, 1999
The Internet Software Consortium.
Dec 18 10:46:04 altmark dhclient: All rights reserved.
Dec 18 10:46:04 altmark dhclient: 
Dec 18 10:46:04 altmark dhclient: Please contribute if you find this
software useful.
Dec 18 10:46:04 altmark dhclient: For info, please visit
http://www.isc.org/dhcp-contrib.html
Dec 18 10:46:04 altmark dhclient: 
Dec 18 10:46:05 altmark dhclient: Listening on Socket/tr0
Dec 18 10:46:05 altmark dhclient: Sending on   Socket/tr0
Dec 18 10:46:06 altmark kernel: tr0: Adapter is closed.
Dec 18 10:46:06 altmark kernel: tr0: Opening adapter: Xmit bfrs: 2 X
16384, Rcv bfrs: 16 X 1032
Dec 18 10:46:09 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 5
Dec 18 10:46:09 altmark dhclient: send_packet: No such device
Dec 18 10:46:14 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 7
Dec 18 10:46:14 altmark dhclient: send_packet: No such device
Dec 18 10:46:21 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 8
Dec 18 10:46:21 altmark dhclient: send_packet: No such device
Dec 18 10:46:29 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 10
Dec 18 10:46:29 altmark dhclient: send_packet: No such device
Dec 18 10:46:39 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 18
Dec 18 10:46:39 altmark dhclient: send_packet: No such device
Dec 18 10:46:57 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 7
Dec 18 10:46:57 altmark dhclient: send_packet: No such device
Dec 18 10:47:04 altmark dhclient: DHCPDISCOVER on tr0 to 255.255.255.255
port 67 interval 1
Dec 18 10:47:04 altmark dhclient: send_packet: No such device
Dec 18 10:47:05 altmark dhclient: No DHCPOFFERS received.
Dec 18 10:47:05 altmark dhclient: No working leases in persistent
database - sleeping.


Another item: As you may have seen above, I have *not* disabled (i.e.
commented out) the options for the ibmtr_cs module within
/etc/pcmcia/config.opts, although some time ago Burt told us to do so
and let the driver pick the values. The reason is that my machine hung
from time to time when not specifying these options for ibmtr_cs.
Regardless whether I tried DHCP or was using a fixed IP address.

Burt, could you shed some light on any (preferably both ;-) ) of these
items? TIA.

Regards,
Markus
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html