Subject: port-i386/11419: Xircom Realport + DHCP failure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlelstv@serpens.de>
List: netbsd-bugs
Date: 11/04/2000 00:57:11
>Number:         11419
>Category:       port-i386
>Synopsis:       Xircom Realport Ethernet fails with DHCP but works statically configured
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 04 00:57:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael van Elst
>Release:        NetBSD1.5 BETA
>Organization:
	
>Environment:
	
System: NetBSD duffy 1.5_BETA NetBSD 1.5_BETA (DUFFY2) #8: Thu Nov 2 14:24:47 MET 2000 src@duffy:/home/src/sys/arch/i386/compile/DUFFY2 i386


>Description:
On a Compaq Armada M700 the system fails to configure a Xircom Realport
card using DHCP, it works fine configured statically using ifconfig.

The same system with a Lucent WaveLAN card in 'PCMCIA at Cardbus'
configuration does not show these problems.

Symptoms:
No address gets configured, dhclient times out a tcpdump does not
see any traffic. A console message says

  tlp0: filter setup and transmit timeout

ever few seconds.

Here are the relevant lines from the configuration

  options PCIBIOS
  options PCIBIOS_INTR_FIXUP
  options PCIBIOS_BUS_FIXUP
  options PCIBIOS_ADDR_FIXUP
  options RBUS_MIN_START="0x30000000"

  cbb*      at pci? dev ? function ?
  cardslot* at cbb?
  cardbus*  at cardslot?
  pcmcia*   at cardslot?

  com*      at cardbus? function ?
  tlp*      at cardbus? dev ? function ?


>How-To-Repeat:
Start dhclient
>Fix:
Shut/Unshut the interface with

  ifconfig tlp0 down
  ifconfig tlp0 up

makes the interface working again. I have added these commands to
/etc/dhclient-enter-hooks which is then sufficient for dhclient
to aquire an IP-Address from the DHCP server. Still you have to
kick the interface one more time this way.

When the interface comes alive again the console reports:

  tlp0: interrupting at 11

>Release-Note:
>Audit-Trail:
>Unformatted: