From owner-freebsd-current@FreeBSD.ORG Thu Nov 10 13:46:27 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21E7E16A41F for ; Thu, 10 Nov 2005 13:46:27 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F13943D49 for ; Thu, 10 Nov 2005 13:46:26 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jAADkML6094003; Thu, 10 Nov 2005 07:46:22 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43734F29.7050101@centtech.com> Date: Thu, 10 Nov 2005 07:46:17 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051021 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <43724C11.5090201@centtech.com> <20051110081736.GA1855@flame.pc> In-Reply-To: <20051110081736.GA1855@flame.pc> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1167/Thu Nov 10 05:02:18 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: FreeBSD Current Subject: Re: Instant reboot on new interface coming up X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 13:46:27 -0000 Giorgos Keramidas wrote: > On 2005-11-09 13:20, Eric Anderson wrote: > >>I've been having issues lately when trying to bring up a new interface. >> It's a hard problem to actually see, because it makes my machine >>instantly reboot. >> >>Here's what I see: >>Normally, I use ath0 for wireless, and occasionally I use em0. >>Recently, when I was at a location with no wireless and no dhcp support, >>I powered up my laptop, plugged in to em0, and did an ifconfig em0 xxx. >> After a few seconds, the system spontaneously reboots. I figured >>out that killing dhclient on that interface before attempting to >>manually configure it helped. >> >>Now, I also tried to connect using ppp to a GPRS network (via bluetooth >>through my cell phone). This used to work just fine, probably a few >>months ago. This time, I killed all dhclients, connected the bluetooth >>pieces, and then ran rfcomm_pppd, which creates a tun0 interface. When >>the interface was created, and brought up without dhclient, everything >>worked ok. When I accidentally left dhclient running, and tun0 was >>created, when the device got it's IP address, machine rebooted. >> >>I have various machine logs/dmesg/etc here: >>http://www.googlebit.com/freebsd/ >>(labeled by date - look for the most current versions) >> >>I'm running 7.0-CURRENT as of a few days ago. > > > How many days? You need at least a version that includes the following > commit, otherwise you may have problems with ACPI or mbuf allocation: > > % glebius 2005-11-06 16:47:59 UTC > % > % FreeBSD src repository > % > % Modified files: > % sys/kern kern_mbuf.c > % Log: > % Fix panic string in last revision. > % > % Revision Changes Path > % 1.15 +1 -1 src/sys/kern/kern_mbuf.c As of Monday, Nov 7th, and I've just checked, and I am indeed using this later version. It happened both before, and after this commit. It's pretty reproduceable, so I can do it anything, but fsck'ing my disks each time begins to get old :) If there's something I can do to help get some debugging, tell me. Since it's an insta-boot, I'm not sure how to catch that. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------