From owner-freebsd-stable Fri May 17 4: 5:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by hub.freebsd.org (Postfix) with ESMTP id 22D3737B404; Fri, 17 May 2002 04:04:58 -0700 (PDT) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id g4HB4lU08086; Fri, 17 May 2002 12:04:49 +0100 (BST) Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.3/8.12.3) with ESMTP id g4HB4l4D018063; Fri, 17 May 2002 12:04:47 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.3/8.12.3/Submit) with ESMTP id g4HB4lPc018060; Fri, 17 May 2002 12:04:47 +0100 (BST) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Fri, 17 May 2002 12:04:47 +0100 (BST) From: Gavin Atkinson To: , , Subject: BUG: isc-dhcp dhclient infinite loop regression in 4.6-PRE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have found a serious problem in dhclient. If the network interface dhclient is attached to disappears (eg if a network card is removed from a laptop, which may happen normally or will always happen over an APM suspend) then dhclient goes into an infinite loop: May 15 04:36:36 epsilon /kernel: ep0: detached May 15 04:36:36 epsilon /kernel: pccard: card removed, slot 0 May 15 04:36:36 epsilon dhclient: receive_packet failed on ep0: Device not configured May 15 04:36:41 epsilon last message repeated 23275 times May 15 04:36:42 epsilon dhclient: send_packet: Address family not supported by protocol family May 15 04:36:42 epsilon dhclient: receive_packet failed on ep0: Device not configured May 15 04:36:49 epsilon last message repeated 35814 times May 15 04:36:50 epsilon dhclient: send_packet: Address family not supported by protocol family May 15 04:36:50 epsilon dhclient: receive_packet failed on ep0: Device not configured May 15 04:36:52 epsilon last message repeated 12308 times Between dhclient and syslogd, 100% processor power is used. The only solution is to kill dhclient off, reinserting the card is not enough. I am able to test any patches against either -STABLE or -CURRENT, the bug exists on both. Should I report this to ISC? Environment is: FreeBSD 4.6-PRERELEASE #0: Sun May 12 21:05:08 GMT 2002 Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message