Hi

4.1.6
Except Systemconfigurator systemconfigurator_2.2.12.svn716arighi_all.deb

Regards,
Jan



On 22 January 2014 22:59, Steven DuChene <steven.a.duch...@hp.com> wrote:

>  Jan:
> Thank you for supplying this patch and information.
> What version of systemimager are you using with this patch?
> --
> Steven DuChene
>
>
> On 01/19/2014 11:38 PM, Jan Groenewald wrote:
>
>    Hi
>
>  This file
>
> 0 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#dpkg -S
> UseYourOwnKernel.pm
> systemimager-common:
> /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm
>
>  Checks the kernel version and throws an error for newer kernels. This
> patch allows me to use some 3.X kernels
>
> 1 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#cat
> UseYourOwnKernel.pm.patch
> --- UseYourOwnKernel.pm.orig    2012-05-30 17:05:54.899344781 +0200
> +++ UseYourOwnKernel.pm 2013-02-18 08:30:56.251862480 +0200
> @@ -460,11 +460,12 @@
>                  #       2.4.19-mantis-2002.11.20 (root@mantis) #6 Tue
> Nov 19 15:15:43 CST 2002
>                  #       2.6.7-1-686 (dilin...@toaster.hq.voxel.net) #1
> Thu Jul 8 05:36:53 EDT 2004
>                  #       2.6.22.5-31-default (geeko@buildhost) #1 SMP
> 2007/09/21 22:29:00 UTC
> +               #       3.2.0-24-generic #39-Ubuntu SMP Mon May 21
> 16:52:17 UTC 2012
>                  #
>                  my $regex =
>                  #           | kernel version + build machine
>                  #           `---------------------------------------
> -                            '(2\.[46]\.\d[^\/]*?) \(.*@.*\) [#]\d+.*' .
> +                            '((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\)
> [#]\d+.*' .
>                  #
>                  #           | build date
>                  #           `---------------------------------------
> @@ -739,7 +740,7 @@
>          # Find the right way to get modules info.
>          my $uname_r = get_uname_r();
>          my $modinfo_filename;
> -        if ($uname_r =~ /^2\.6/) {
> +        if ($uname_r =~ /(^2\.6)|(^3\.[0125])/) {
>              $modinfo_filename = 'modinfo -F filename';
>          } elsif ($uname_r =~ /^2\.4/) {
>              $modinfo_filename = 'modinfo -n';
>
>
>  It is however already out of date as Ubuntu 12.04 can run 3.2
> (linux-generic) 3.5 (linux-generic-lts-quantal) 3.8
> (linux-generic-lts-raring) or 3.11 (linux-generic-lts-saucy) kernels:
> https://wiki.ubuntu.com/Kernel/LTSEnablementStack
>
>  The patch will fix your problem running si_prepareclient (though I can
> image that I could not do the network boot on that kernel (still using an
> old 2.X Ubuntu 11.04 kernel).
>
>  My images are also converted to grub1 instead of grub2, and the master
> script edited to have ext3 not ext4, and a similar patch to allow the
> server to upload from an ext4 golden client.
>
>  I'm looking forward to a new release of SI for Ubuntu 12.04 and 14.04
> support!
>
> Regards,
> Jan
>
>
>
>
>
>
> On 4 November 2013 22:02, Steven DuChene <steven.a.duch...@hp.com> wrote:
>
>> I am trying to capture the image of a system that is running Ubuntu
>> Precise 12.04LTS and when I run the si_prepareclient with the following
>> command line switches:
>>
>> si_prepareclient --server 10.23.18.10 --my-modules
>>
>> I get the following :
>>
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> Use of uninitialized value $leftovers in substitution (s///) at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 704.
>> Use of uninitialized value $leftovers in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 707.
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>> ERROR: unsupported kernel 3.5.0-23-generic!
>>
>> The warnings or errors about "Use of uninitialized value $v1 in split at
>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199" is due to
>> the way parted is now returning multiple line of text output when the
>> --version option is passed. It seems that the perl code that is supposed
>> to be parsing the stuff that is not able to handle that multi-line
>> output to extract the version of the parted utility.
>>
>>
>> However what concerns me most is the message back that says the
>> 3.5.0-23-generic kernel is not supported.
>> Is there any documentation available for systemimager that would show
>> the necessary process steps to incorperate support for newer kernels?
>>
>> Any suggestions about any of this would be most appreciated. BTW, I have
>> the following installed on the Ubuntu system:
>>
>> ii  systemconfigurator 2.2.11-1                      Unified
>> Configuration API for Linux Installation
>> ii  systemimager-client 4.1.6                         Utilities for
>> creating an image and upgrading client machines
>> ii  systemimager-common 4.1.6                         Utilities and
>> libraries common to both the server and client
>> ii  systemimager-initrd-template-amd64 4.1.6
>> SystemImager initrd template for amd64 client nodes
>>
>> --
>> Steven DuChene
>>
>>
>> ------------------------------------------------------------------------------
>> Android is increasing in popularity, but the open development platform
>> that
>> developers love is also attractive to malware creators. Download this
>> white
>> paper to learn more about secure code signing practices that can help keep
>> Android apps secure.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> sisuite-users mailing list
>> sisuite-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>
>
>
>
> --
>   .~.
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today. 
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> sisuite-users mailing 
> listsisuite-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/sisuite-users
>
>
>


-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to