Subject: port-i386/11419: Xircom Realport + DHCP failure
To: None <>
From: None <>
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
>Originator:     Michael van Elst
>Release:        NetBSD1.5 BETA
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

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.

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 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 ?

Start dhclient
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