From owner-freebsd-mobile Wed Dec 6 1:14:57 2000 From owner-freebsd-mobile@FreeBSD.ORG Wed Dec 6 01:14:55 2000 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from unbeat.com (24-168-72-153.nyc.rr.com [24.168.72.153]) by hub.freebsd.org (Postfix) with ESMTP id 3E76D37B400 for ; Wed, 6 Dec 2000 01:14:55 -0800 (PST) Received: (from moxie@localhost) by unbeat.com (8.11.1/8.11.0) id eB69EHF01351; Wed, 6 Dec 2000 04:14:17 -0500 (EST) (envelope-from --) Date: Wed, 6 Dec 2000 04:14:16 -0500 From: Jason Thaxter To: Stefan `Sec` Zehl Cc: Paul Thornton , freebsd-mobile@FreeBSD.ORG Subject: Re: Strange kernel messages on 4.x? Message-ID: <20001206041416.C502@zed.unbeat.com> Mail-Followup-To: Stefan `Sec` Zehl , Paul Thornton , freebsd-mobile@FreeBSD.ORG References: <20001205000447.A2281@matrix.42.org> <20001205002046.B4060@matrix.42.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001205002046.B4060@matrix.42.org>; from sec@42.org on Tue, Dec 05, 2000 at 12:20:46AM +0100 X-Editor: Vim-507 http://www.vim.org/ Sender: --@unbeat.com Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Dec 05, 2000 at 12:20:46AM +0100, Stefan `Sec` Zehl wrote: > > Even if the script isn't run, this looks like a bug in dhclinet to me. > It shouldn't loop that tightly on an error like this. > > > - I'm also seeing > > loads of stray irqs when I remove the card... It does seem to be a flaw, but then again if a client that always uses DHCP has it's cable knocked loose because someone puts their foot under the desk in the wrong place, I guess this isn't so abnormal, but for laptop use it would be nice to have a "backoff-try-later/quit-now" toggle as a command line switch. FWIW for latptop use I set up a simple script to write a value to a file that controls my 'location', then put a case statement into rc.conf to read that value and only invoke dhclient when it's necessary. As long as I dont' push in the pcmcia card before I set the location setup, I don't see these messages and it's all very easy. Of course, now that I have a laptop with a built-in ethernet, that doesn't work anymore. Not even sure I have a good solution as of yet, but I bet it only requires pushing one layer into rc.network or something (as opposed to most linuces, which require following a trail of 12 scripts across 4 symlinks and hacking a system file (e.g. not rc.conf) to get the same effect) and the solution might even fit in rc.conf. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message