From owner-freebsd-current Tue Jun 6 15:12:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay02.chello.nl (relay02.chello.nl [212.83.68.146]) by hub.freebsd.org (Postfix) with ESMTP id B3AD037B568 for ; Tue, 6 Jun 2000 15:12:39 -0700 (PDT) (envelope-from wkb@chello.nl) Received: from chello.nl ([213.46.78.184]) by relay02.chello.nl (InterMail vK.4.02.00.00 201-232-116 license 2ee4e7c625482f2f2a1950a80f6c8d58) with ESMTP id <20000606221219.LKCA17505.relay02@chello.nl>; Wed, 7 Jun 2000 00:12:19 +0200 Received: (from wkb@localhost) by chello.nl (8.9.3/8.9.3) id AAA10489; Wed, 7 Jun 2000 00:12:32 +0200 (CEST) (envelope-from wkb) Date: Wed, 7 Jun 2000 00:12:32 +0200 From: Wilko Bulte To: Luigi Rizzo Cc: current@FreeBSD.ORG Subject: Re: problem creating new kernels with 20000604 snap Message-ID: <20000607001232.F10255@freebie.wbnet> Reply-To: wc.bulte@chello.nl References: <200006062146.XAA95190@info.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200006062146.XAA95190@info.iet.unipi.it>; from luigi@info.iet.unipi.it on Tue, Jun 06, 2000 at 11:46:41PM +0200 X-OS: FreeBSD 4.0-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 06, 2000 at 11:46:41PM +0200, Luigi Rizzo wrote: > hi, > i am a bit in trouble with a june 4th snap of -current. > > I have successfully installed it, and even compiled and > installed a kernel using the GENERIC config. > However when i try to remove devices from there, > with high probability i end up in a panic while booting, > generally in loader_preload() which tries to dereference > a null pointer. > > I cannot really track down what is going on -- the loader shows > something like > > module miibus > module usb > module splash > > and if i remove any usb device, or something ethernet using the mii > bus, or (it seems) even some scsi device, it panics. I've seen something similar on Alpha when I removed the dc driver (leaving xl and miibus in). Removing dc and config / make depend / make /make install / reboot left me with a crashing alpha box. It only got as far as the loader printing a few lines on loading modules. And then a 'kernel stack not valid, HALT' line. Doing config -r on the same kernel config file worked OK. > Is this a bug or a feature ? Should i just keep all the pieces > in GENERIC and add my options there ? I don't pretend to understand this.. -- Wilko Bulte FreeBSD, the power to serve http://www.freebsd.org http://www.nlfug.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message