2.3.4x softnet watchdog and (isdn) demand dialing

From: Henner Eisen (eis@baty.hanse.de)
Date: Mon Feb 14 2000 - 16:31:41 EST


Hi,

when porting the isdn driver to use the new softnet tx_timout watchdog
method, we observed a minor problem: We get

NETDEV WATCHDOG: isdn0: transmit timed out

messages in the syslog.

ISDN network interfaces (which tunnel IP traffic on top of ISDN
connections) provide demand-dialing semantics. When the isdn connection
to the peer is down and the network layer submits a packet to the isdn
net_device, the driver will establish the connection automagically
(and might clear the isdn call later when no traffic was on the interface
for a certain amount of time). Of course, when a new IP packet triggers
demand dialing, it sometimes takes some time until the isdn connection
is up. During this time, the isdn net_device is marked as busy (now with
netif_stop_queue()) and is marked up (netif_wake_queue() nowadays) when
the connection is up. That way, existing packets in the packet scheduler's
tx_queue are sent out immediately as soon as the connection is up.

However, if the dialing takes longer than the isdn net_device's timeout,
then each time the watchdog timer is called, the above message is generated.

Maybe some other demand dialing device drivers will suffer from the same
problem.

The messages are harmless, but they certainly will confuse users once
Linux distributions ship with 2.4.x pre-installed. Thus, it would make
sense if we could conditionally suppress the watchdog's warning
messages, increase the timout value, or switch off the watchdog timer
temporarily (while the isdn interface is in the dialing state).

What do you consider the most appropriate or cleanest solution for doing
this?

Henner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:28 EST