Subject: Re: savecore: can't find device 1121/411252
To: None <port-xen@netbsd.org>
From: Sarton O'Brien <sobrien@roguewrt.org>
List: port-xen
Date: 11/20/2007 18:57:19
Petar Bogdanovic wrote:
> On Thu, Nov 15, 2007 at 09:39:07PM +0100, Petar Bogdanovic wrote:
>   
>> Hi,
>>
>> one of our remote servers just booted XEN3_DOM0 successfully (joy!) and
>> the only confusing thing was the following line in dmesg:
>>
>>    Nov 15 20:27:47 hendrix savecore: can't find device 1121/411252
>>
>>
>> Does somebody know what that means? savecore had no problems to find the
>> dump-device with GENERIC.MP. The wd0, wd1 and raid0 labels look like (I
>> tried to `ascii-connect' the overlapping partitions):
>>
>>    $ sudo disklabel wd0 2>/dev/null | egrep '^( |#)'
>>    # /dev/rwd0d:
>>    #        size    offset     fstype [fsize bsize cpg/sgs]
>> +---a:   1048576       127     4.2BSD      0     0     0  # (Cyl.      0*-   1040*)
>> |+--b:   8388608   1048703       swap                     # (Cyl.   1040*-   9362*)
>> ||  c: 781422705        63     unused      0     0        # (Cyl.      0*- 775220)
>> ||  d: 781422768         0     unused      0     0        # (Cyl.      0 - 775220)
>> ||  e: 781422705        63       RAID                     # (Cyl.      0*- 775220)
>> ||
>> || $ sudo disklabel wd1 2>/dev/null | egrep '^( |#)'
>> || # /dev/rwd1d:
>> || #        size    offset     fstype [fsize bsize cpg/sgs]
>> +|--a:   1048576       127     4.2BSD      0     0     0  # (Cyl.      0*-   1040*)
>> |+--b:   8388608   1048703       swap                     # (Cyl.   1040*-   9362*)
>> ||  c: 781422705        63     unused      0     0        # (Cyl.      0*- 775220)
>> ||  d: 781422768         0     unused      0     0        # (Cyl.      0 - 775220)
>> ||  e: 781422705        63       RAID                     # (Cyl.      0*- 775220)
>> || 
>> || $ sudo disklabel raid0 2>/dev/null | egrep '^( |#)'
>> || # /dev/rraid0d:
>> || #        size    offset     fstype [fsize bsize cpg/sgs]
>> +|->a:   1048576         0     4.2BSD   1024  8192     0  # (Cyl.      0 -   1023)
>>  +->b:   8388608   1048576       swap                     # (Cyl.   1024 -   9215)
>>     c: 781422592         0     unused      0     0        # (Cyl.      0 - 763107)
>>     d: 781422592         0     unused      0     0        # (Cyl.      0 - 763107)
>>     e:   8388608   9437184     4.2BSD   2048 16384     0  # (Cyl.   9216 -  17407)
>>     f:   8388608  17825792     4.2BSD   2048 16384     0  # (Cyl.  17408 -  25599)
>>     g:   8388608  26214400     4.2BSD   2048 16384     0  # (Cyl.  25600 -  33791)
>>     h:   8388608  34603008     4.2BSD   2048 16384     0  # (Cyl.  33792 -  41983)
>>     i: 738430976  42991616     4.2BSD   2048 16384     0  # (Cyl.  41984 - 763107)
>>     
>
>
> Eh, RTFM:
>
> 	``but please note, you should install the same kernel into
> 	  domainU as /netbsd  in order to make your system tools, like
> 	  savecore(8), work''
>
> Of course, this applies to dom0 kernels too. :)
>
> http://www.netbsd.org/ports/xen/howto.html
>   
And any kernel booted that does not reside as /netbsd.

As simple as that is, I remember a long time ago having to forage for 
information and in the end working it out with none. I mean it makes 
sense now, after having used the OS for so long but I hope there is 
something out there that makes it more obvious for the newcomers to 
kernel juggling :)

Sarton