Re: 9.2-RC1: Problem with Kernel

2013-08-13 Thread Walter Hurry
On Tue, 13 Aug 2013 05:14:52 +0200, Polytropon wrote:

 On Mon, 12 Aug 2013 21:01:14 + (UTC), Walter Hurry wrote:
 Sorry again. Anyway, I have it nailed down now. For anyone who is
 interested, the missing entry was:
 
 options ATA_CAM
 
 Correct. Line 84 and 264 have it commented out. This is the new method
 of talking to disk devices, similarly as the acd interface for optical
 media has been trans- formed into SCSI over ATA (ex device atapicam).
 So the disk drive has not been recognized by the kernel, therefore: No
 soup for you (i. e., no boot device). :-)

Thanks, Polytropon! I have changed the controller (this is a VM, 
remember) to which the (same) virtual hard drive is attached, from ISA to 
SATA and options ATA_CAM is no longer needed.

So I have learned a few things. Thanks again.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-12 Thread Walter Hurry
On Sun, 11 Aug 2013 22:47:36 +1000, Ian Smith wrote:

 In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11
 Aug 2013 09:43:57 + (UTC) Walter Hurry walterhu...@gmail.com
 wrote:
   On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:
   
On Sat, 10 Aug 2013 19:04:29 + (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
 
Sorry again. Anyway, I have it nailed down now. For anyone who is 
interested, the missing entry was:

options ATA_CAM


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-12 Thread Polytropon
On Mon, 12 Aug 2013 21:01:14 + (UTC), Walter Hurry wrote:
 Sorry again. Anyway, I have it nailed down now. For anyone who is 
 interested, the missing entry was:
 
 options ATA_CAM

Correct. Line 84 and 264 have it commented out. This is
the new method of talking to disk devices, similarly
as the acd interface for optical media has been trans-
formed into SCSI over ATA (ex device atapicam). So
the disk drive has not been recognized by the kernel,
therefore: No soup for you (i. e., no boot device). :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-11 Thread Walter Hurry
On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:

 On Sat, 10 Aug 2013 19:04:29 + (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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-11 Thread Ian Smith
In freebsd-questions Digest, Vol 479, Issue 8, Message: 10
On Sun, 11 Aug 2013 09:43:57 + (UTC) Walter Hurry walterhu...@gmail.com 
wrote:
  On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:
  
   On Sat, 10 Aug 2013 19:04:29 + (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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-11 Thread Walter Hurry
On Sun, 11 Aug 2013 22:47:36 +1000, Ian Smith wrote:

 In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11
 Aug 2013 09:43:57 + (UTC) Walter Hurry walterhu...@gmail.com
 wrote:
   On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:
   
On Sat, 10 Aug 2013 19:04:29 + (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
 
Sorry. A diff wouldn't have helped much, as every line had changed due to 
my reformatting. Never mind, I'll work it out for myself by a process of 
elimination - and I'll post the answer here just in case anyone else is 
interested.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


9.2-RC1: Problem with Kernel

2013-08-10 Thread Walter Hurry
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?

Thanks.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-10 Thread Polytropon
On Sat, 10 Aug 2013 19:04:29 + (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. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 9.2-RC1: Problem with Kernel

2013-08-10 Thread Warren Block

On Sat, 10 Aug 2013, 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?


options GEOM_PART_GPT

But without information on what you removed, it's only a guess.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org