From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 09:44:18 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 C9821FBE for ; Sun, 11 Aug 2013 09:44:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 889192C74 for ; Sun, 11 Aug 2013 09:44:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V8SC7-0008RA-1f for freebsd-questions@freebsd.org; Sun, 11 Aug 2013 11:44:15 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Aug 2013 11:44:15 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Aug 2013 11:44:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel Date: Sun, 11 Aug 2013 09:43:57 +0000 (UTC) Lines: 90 Message-ID: References: <20130810212910.60f36e17.freebsd@ edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) 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 09:44:18 -0000 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 modified: false state: OK fwheads: 16 fwsectors: 63 last: 41943006 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada0p1 Mediasize: 65536 (64k) Sectorsize: 512 Stripesize: 0 Stripeoffset: 17408 Mode: r0w0e0 rawuuid: c5ae2f8e-f5e1-11e2-92dd-08002755f0f7 rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 65536 offset: 17408 type: freebsd-boot index: 1 end: 161 start: 34 2. Name: ada0p2 Mediasize: 20401029120 (19G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 82944 Mode: r1w1e1 rawuuid: c5ba5d2c-f5e1-11e2-92dd-08002755f0f7 rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b label: (null) length: 20401029120 offset: 82944 type: freebsd-ufs index: 2 end: 39845921 start: 162 3. Name: ada0p3 Mediasize: 1073707008 (1G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 3221242880 Mode: r1w1e0 rawuuid: c5ccb46a-f5e1-11e2-92dd-08002755f0f7 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 1073707008 offset: 20401112064 type: freebsd-swap index: 3 end: 41943005 start: 39845922 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