From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 12:47:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5931763F for ; Sun, 11 Aug 2013 12:47:57 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C88AF23CB for ; Sun, 11 Aug 2013 12:47:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r7BClats035692; Sun, 11 Aug 2013 22:47:36 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 11 Aug 2013 22:47:36 +1000 (EST) From: Ian Smith To: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel In-Reply-To: Message-ID: <20130811222354.T90173@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 12:47:57 -0000 In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11 Aug 2013 09:43:57 +0000 (UTC) Walter Hurry wrote: > On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote: > > > On Sat, 10 Aug 2013 19:04:29 +0000 (UTC), Walter Hurry wrote: > >> This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the > >> source from releng/9.2 and rebuilding kernel and world). > >> > >> The kernel compiles and runs fine using the supplied GENERIC, but when > >> I try to use my custom kenel config file, on reboot I get this: > >> > >> Mounting from ufs:/dev/ada0p2 failed with error 19 > >> > >> What module(s) have I missed? > > > > Diff against the GENERIC kernel. Maybe "device xhci"? > > What bootable media is listed when you type "?" at the mountroot prompt? > > If GENERIC boots and your kernel doesn't, there should be a significant > > difference regarding the config file's content. :-) > > Thanks for the reply. When I type "?" at the mountroot prompt I get: > > List of GEOM managed disk devices: > > with nothing shown. > > After restoring the GENERIC kernel, the output from 'gpart list' is: > > Geom name: ada0 [..] > Consumers: > 1. Name: ada0 > Mediasize: 21474836480 (20G) > Sectorsize: 512 > Mode: r2w2e3 > > (This is a small VirtualBox VM.) > > Kernel config is at http://paste2.org/h17Ih0PD Please Walter, it's not fair to make us do the work of figuring out what you've changed from GENERIC in that, when all you need to provide is: # diff -uw /path/to/GENERIC /path/to/YOURKERNEL More ideal for custom kernel configs - for just these occasions - is: include GENERIC ident YOURKERNEL # custom {no,}device and {no,}options statements cheers, Ian