Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2013 09:43:57 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: 9.2-RC1: Problem with Kernel
Message-ID:  <ku7mct$ttc$1@ger.gmane.org>
References:  <ku62rt$pv7$1@ger.gmane.org> <20130810212910.60f36e17.freebsd@ edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ku7mct$ttc$1>