[ltp] Experience from updating RH 6.2 to RH 7.0 on TP 770X

Friedemann Baitinger linux-thinkpad@www.bm-soft.com
Mon, 13 Nov 2000 19:49:57 +0100 (CET)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 9 Nov 2000, Burt Silverman/Raleigh/IBM wrote:

> Friedemann Baitinger      fb@baiti.net       http://baiti.net/fb/
> >PS: when I insterted the Token Ring adapter first I got hundreds of
> >messages like:
> 
> >  Nov  6 09:50:49 blackbox kernel: tr0: Arrg. Transmitter busy
> 
> >I then did a 'ifconfig tr0 down' and pulled/plugged the card and then
> >the problem did not occur anymore. Can you shed some light into
> >this? What does that message mean and what kind of problem does it
> >indicate?
> 
> When an application wishes to send data, a dev->hard_start_xmit() routine
> in the driver is called. This routine looks at a control flag dev->tbusy
> and if it is set, you will see the Arrg message. So if you keep trying to
> send messages and the device stays busy, you keep getting the messages.
> 
> Places that set tbusy: it is set when the card is first being initialized,
> also a readlog routine in the driver. The Token Ring hardware can produce
> log messages. So you were seeing the effect of someone trying to transmit
> before initialization was complete - maybe something got out of whack and
> the card wasn't going to come up so you just kept seeing the messages. In
> the prior version of the driver, every time you reopened the driver the
> initialization was called, so you would see these messages if you pulled a
> cable. Now the initialization routine is only called at the beginning (for
> example, after /etc/rc.d/init.d/pcmcia start, or similarly after plugging
> in the card).
> 
> The tbusy stuff is in the part of the driver that is common to PCMCIA and
> non PCMCIA, but also shows up in the PCMCIA section. There is a chance the
> logic is more complex than necessary; could be a good homework problem.

Burt, thanks much for the explanation. Today I got into this situation
again and I tried all kinds of things in order to resolve it. Now that I
know that I can hot pull/plug the card I tried this multiple times and I
also tried the old 'ifconfig tr0 down' method -- to no luck! The
" Arrg. Transmitter busy" problem remained persistent and the only way
to recover was to reboot the machine. This is obviously not a desirable
solution. Do you have alternative suggestions how to cure the situation
without rebooting?

For reference, here are the logs from my machine:


Nov 13 08:54:43 blackbox cardmgr[490]: socket 0: IBM Token Ring Adapter
Nov 13 08:54:43 blackbox cardmgr[490]: executing: 'modprobe ibmtr_cs'
Nov 13 08:54:43 blackbox kernel:
Nov 13 08:54:43 blackbox kernel: ibmtr_cs.c 1.10   1996/01/06 05:19:00 (Steve Kipisz)
Nov 13 08:54:43 blackbox kernel:            2.2.7  1999/05/03 12:00:00 (Mike Phillips)
Nov 13 08:54:43 blackbox kernel:            2.2.18 2000/10/15 Midnight (Burt Silverman)
Nov 13 08:54:44 blackbox kernel: tr0: ISA P&P 16/4 Adapter/A (short) | 16/4 ISA-16 Adapter
found
Nov 13 08:54:44 blackbox kernel: tr0: using irq 9, PIOaddr a20, 64K shared RAM.
Nov 13 08:54:44 blackbox kernel: tr0: Hardware address : 00:20:35:72:6E:B4
Nov 13 08:54:44 blackbox kernel: tr0: Shared RAM paging disabled. ti->page_mask 0
Nov 13 08:54:44 blackbox kernel: tr0: Maximum Receive Internet Protocol MTU 16Mbps: 16344,
4Mbps: 6104
Nov 13 08:54:46 blackbox cardmgr[490]: executing: './network start tr0'
Nov 13 08:54:46 blackbox kernel: tr0: Initial interrupt : 16 Mbps, shared RAM base
000d0000.
Nov 13 08:54:46 blackbox kernel: tr0: port 0xa20, irq 9, mmio 0xd085d000, sram 0xd0000,
Nov 13 08:54:46 blackbox kernel:   hwaddr=002035726EB4
Nov 13 08:54:46 blackbox kernel: tr0: Opening adapter: Xmit bfrs: 2 X 16384, Rcv bfrs: 16
X 1032
Nov 13 08:54:47 blackbox kernel: tr0: Adapter check interrupt
Nov 13 08:54:47 blackbox kernel: tr0: 8 reason bytes follow: 06 5E 08 09 0B D2 4B 4A
Nov 13 08:55:16 blackbox kernel: tr0: Arrg. Transmitter busy.
Nov 13 08:55:26 blackbox last message repeated 2 times
Nov 13 08:55:31 blackbox kernel: tr0: Arrg. Transmitter busy.

- -- 
Friedemann Baitinger      fb@baiti.net       http://baiti.net/fb/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6EDfX8ZparKdkcvIRApYxAJ99vRZ51IB83w/gmsxcvackIrOBpQCdGLso
MjLRXgPmP50WEjLNxXbEW8k=
=bKyJ
-----END PGP SIGNATURE-----

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