Quest to build this cusom install CD for dmraid (RAID5) on AMD64 - Debian

This is a discussion on Quest to build this cusom install CD for dmraid (RAID5) on AMD64 - Debian ; From http://wiki.debian.org/DebianInstall...y/CustomKernel "Make sure the build dependencies of linux-kernel-di-i386-2.6 are satisfied (you will need to install the kernel-wedge package), and build the package. This will produce several udebs." Does that imply this: # dpkg-buildpackage -d -rfakeroot in the linux-kernel-di-amd64-2.6/ directory? ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Quest to build this cusom install CD for dmraid (RAID5) on AMD64

  1. Quest to build this cusom install CD for dmraid (RAID5) on AMD64

    From http://wiki.debian.org/DebianInstall...y/CustomKernel

    "Make sure the build dependencies of linux-kernel-di-i386-2.6 are
    satisfied (you will need to install the kernel-wedge package), and
    build the package. This will produce several udebs."

    Does that imply this:

    # dpkg-buildpackage -d -rfakeroot in the linux-kernel-di-amd64-2.6/ directory?

    If so I am getting:
    (I need to know how to set that source directory I bet)

    fakeroot debian/rules clean
    kernel-wedge gen-control > debian/control
    dh_testdir
    dh_clean `find modules -type l`
    dpkg-source -b linux-kernel-di-amd64-2.6
    dpkg-source: warning: unknown information field `Vcs-Svn' in input
    data in general section of control info file
    dpkg-source: warning: missing information for output field Standards-Version
    dpkg-source: warning: source directory `./linux-kernel-di-amd64-2.6'
    is not -
    `linux-kernel-di-amd64-2.6-1.49'
    dpkg-source: building linux-kernel-di-amd64-2.6 in
    linux-kernel-di-amd64-2.6_1.49.tar.gz
    dpkg-source: building linux-kernel-di-amd64-2.6 in
    linux-kernel-di-amd64-2.6_1.49.dsc
    debian/rules build
    kernel-wedge gen-control > debian/control
    dh_testdir
    fakeroot debian/rules binary
    kernel-wedge gen-control > debian/control
    dh_testdir
    dh_testdir
    dh_clean -k
    kernel-wedge install-files
    could not find kernel image at
    /usr/share/kernel-wedge/commands/install-files line 72, line 2.
    make: *** [binary-arch] Error 2


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: Quest to build this cusom install CD for dmraid (RAID5) on AMD64

    On Thursday 30 October 2008, Mark Bishop wrote:
    > Does that imply this:
    > # dpkg-buildpackage -d -rfakeroot in the linux-kernel-di-amd64-2.6/
    > directory?


    1) Do you have linux-image-2.6.26-1-amd64 installed?
    2) If you do, try deleting debian/control.

    The version/flavor used in the file kernel-versions must match the kernel
    you have installed (for amd64 currently 2.6.26-1-amd64).

    Cheers,
    FJP

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkkJfKwACgkQgm/Kwh6ICoQIWwCghbanUw0Obh2tloubYHJAg65u
    OLAAoLRLJHAAVnF8ssxDR3ac2BMQT+1w
    =Cb4e
    -----END PGP SIGNATURE-----


  3. Re: Quest to build this cusom install CD for dmraid (RAID5) on AMD64

    Quoting Frans Pop :

    > On Thursday 30 October 2008, Mark Bishop wrote:
    >> Does that imply this:
    >> # dpkg-buildpackage -d -rfakeroot in the linux-kernel-di-amd64-2.6/
    >> directory?

    >
    > 1) Do you have linux-image-2.6.26-1-amd64 installed?


    I do not have it installed. The host computer is stable (etch) but
    the target computer would be testing (lenny). But I downloaded the
    linux kernel source Debian package and recompiled it.

    > 2) If you do, try deleting debian/control.
    >
    > The version/flavor used in the file kernel-versions must match the kernel
    > you have installed (for amd64 currently 2.6.26-1-amd64).
    >


    Is there a way to use a kernel that has been compiled but not installed?

    > Cheers,
    > FJP
    >




    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Re: Quest to build this custom install CD for dmraid (RAID5) on AMD64

    On Thursday 30 October 2008, Mark Bishop wrote:
    > I do not have it installed. The host computer is stable (etch) but
    > the target computer would be testing (lenny). But I downloaded the
    > linux kernel source Debian package and recompiled it.


    Why not install it anyway and then remove it? Unless you have not compiled
    it as a Debian package with the correct naming.

    > > 2) If you do, try deleting debian/control.
    > >
    > > The version/flavor used in the file kernel-versions must match the
    > > kernel you have installed (for amd64 currently 2.6.26-1-amd64).

    >
    > Is there a way to use a kernel that has been compiled but not
    > installed?


    Yes, there is, but I'd prefer not to do the quite long explanation needed
    for that if it can be avoided. And I'd still need to know exactly how you
    compiled your kernel: do you have a kernel-image package that follows the
    Debian naming convention, or did you just run make in the source tree?

    Cheers,
    FJP

    P.S. Please let us know if you're subscribed to the list so we can drop
    the CCs. No need to CC me on replies.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkkJ5KgACgkQgm/Kwh6ICoRihACfeffKFVGFcEA+rh+E4nP74vkI
    4FUAoL6U3/pq5Ocyj96VL9fCdq49qbWH
    =8ybb
    -----END PGP SIGNATURE-----


  5. Re: Quest to build this custom install CD for dmraid (RAID5) on AMD64

    Quoting Frans Pop :

    > On Thursday 30 October 2008, Mark Bishop wrote:
    >> I do not have it installed. The host computer is stable (etch) but
    >> the target computer would be testing (lenny). But I downloaded the
    >> linux kernel source Debian package and recompiled it.

    >
    > Why not install it anyway and then remove it? Unless you have not compiled
    > it as a Debian package with the correct naming.
    >


    I could do that. I was afraid to break something on my stable machine.


    >> > 2) If you do, try deleting debian/control.
    >> >
    >> > The version/flavor used in the file kernel-versions must match the
    >> > kernel you have installed (for amd64 currently 2.6.26-1-amd64).

    >>
    >> Is there a way to use a kernel that has been compiled but not
    >> installed?

    >
    > Yes, there is, but I'd prefer not to do the quite long explanation needed
    > for that if it can be avoided. And I'd still need to know exactly how you
    > compiled your kernel: do you have a kernel-image package that follows the
    > Debian naming convention, or did you just run make in the source tree?
    >


    "make-kpkg --initrd kernel_image" is the command I used.



    > Cheers,
    > FJP
    >
    > P.S. Please let us know if you're subscribed to the list so we can drop
    > the CCs. No need to CC me on replies.
    >


    And I am subscribed. Apparently my mailer munged the headers. Sorry
    for the duplicate emails.


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread