From owner-freebsd-questions@FreeBSD.ORG Sat Apr 24 09:51:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E44D2106566B for ; Sat, 24 Apr 2010 09:51:00 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDDC8FC23 for ; Sat, 24 Apr 2010 09:50:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar8FAONb0kvUnw4T/2dsb2JhbACQMowAcblyglaCNgQ Received: from pih-relay06.plus.net ([212.159.14.19]) by relay.ptn-ipout02.plus.net with ESMTP; 24 Apr 2010 10:50:58 +0100 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay06.plus.net with esmtp (Exim) id 1O5c0o-00052Q-I2; Sat, 24 Apr 2010 10:50:58 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1O5c0o-0000n1-7s; Sat, 24 Apr 2010 10:50:58 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sat, 24 Apr 2010 10:50:58 +0100 User-Agent: KMail/1.9.10 References: <4BD29030.5080202@comclark.com> In-Reply-To: <4BD29030.5080202@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201004241050.58147.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: fff8606eb15615e3fce10934db1ae785 Cc: harvey dent , Aiza Subject: Re: no more possible to use any usb storage device/usb flash drive, when pluged or unpluged X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 09:51:01 -0000 On Saturday 24 April 2010, Aiza wrote: > harvey dent wrote: > > Hi everybody > > > > I try to make a "functional" custom kernel for a i386 machine. > > Here the uname -a: > > *FreeBSD k 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 > > 16:02:27 UTC 2010 > > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > > i386* > > > > I maked, and I installed a new kernel. > > But, there are several problems with it. > > Under GNOME, any usb hard drive or usb flash drive are no more > > mounted automaticaly, causing errors, unlike GENERIC kernel. So I > > have to use *mount *command. [snip] > Well the simple answer is you removed something from the new kernel > that you shouldn't have. Return to the generic kernel and only remove > one or two options and compile and test. cycle through this method > until your system finally misbehaves again. Then you know one of the > last 2 options has to be kept in the kernel. An alternative to making a copy of GENERIC and then editing it is to create a new file from scratch containing an "include GENERIC" directive and an appropriate "ident" along with "nooptions" and "nodevice" directives to remove unwanted features and "options" and "device" directives to add additional ones, as outlined at the start of section 8.6 of the FreeBSD Handbook . The PAE config file provides an example of this approach. This way your kernel file shows only the changes you've made to the "standard" kernel and should make it easier to identify the cause of problems. -- Mike Clarke