Subject: Re: dhcpd
To: Tom Spindler <dogcow@babymeat.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 09/12/2007 18:05:26
On Wed, Sep 12, 2007 at 07:53:46AM -0700, Tom Spindler wrote:
> > With today's kernel/userland (Sep 12 2007 08:40 GMT), dhcpd starts with
> > 
> >   Can't get interface flags for ???>?: Device not configured
> > 
> > bge0 at pci2 dev 0 function 0: Broadcom BCM5751 Gigabit Ethernet
> > bge0: interrupting at ioapic0 pin 16 (irq 11)
> > bge0: ASIC BCM5750 A1 (0x4001), Ethernet address 00:11:43:9d:49:7d
> > bge0: setting short Tx thresholds
> > brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
> > bge0: block failed to stop: reg 0x1400, bit 0x00000002
> > 
> > It works with Sep 10..
> 
> I get the same thing with dhclient; I suspect it's related to the
> recent changes in SIOCGIFCONF (i.e. 1.200 of sys/net/if.c).

Yes. With new if.c

Breakpoint 1, discover_interfaces (state=1)
    at /usr/src/dist/dhcp/common/discover.c:138
138     {
(gdb) print interfaces
$1 = (struct interface_info *) 0x0

with old if.c

Breakpoint 1, discover_interfaces (state=1)
    at /usr/src/dist/dhcp/common/discover.c:138
138     {
(gdb) print interfaces
$1 = (struct interface_info *) 0x80d4000

still looking...

Patrick