Results 1 to 7 of 7

Thread: cloop 2.01-5 compile failure -- conf.vars missing

  1. #1
    Member registered user
    Join Date
    Dec 2003
    Posts
    57

    cloop 2.01-5 compile failure -- conf.vars missing

    I built a new kernel on an 3.8.1 system; and now need to update cloop. The compile failes
    on line 9 , lookingf for:
    "include $(KERNEL_DIR)/.conf.vars"

    There is no file by this name on my system.. ? (find / -name conf.vars -print)

    Is this a version out of step? Do I need this conf.vars ; no one else seems to.


    BillS

  2. #2
    Member registered user
    Join Date
    Dec 2003
    Posts
    57

    Moving On ....

    I commenebted out the include for the missing file, just to see what would happen.
    Things compiled fine until compressed_loop.c.

    Line 205: generated a compiler error that :
    structure has no member named 'buf'

    The line itself is
    Code:
      static int clo_read_actor(read_descriptor_t * desc , ... otherparms)
       {
       ...
       struct clo_read_data *p = (struct clo_read_data*)desc->buf;
       ...
    The include file /usr/src/kernel-source-2.6.11/include/linux/fs.h is included which has the
    read_descriptor_t structure definition which included the desc definition.

    I am almost thinking a compiler problem, but I must be missing something.


    BillS

  3. #3
    Member registered user
    Join Date
    Dec 2003
    Posts
    57

    Found the answer --

    Found a couple of coding errors and fixed them.
    Then compile worked.
    Problem solved

  4. #4
    Member registered user
    Join Date
    Dec 2003
    Posts
    57

    Not really can't insmod

    Code:
    [cloop-2.01-5]# insmod ./cloop.ko
    insmod: error inserting './cloop.ko': -1 Unknown symbol in module
    [cloop-2.01-5]#
    This was after a make run completed without reporting an error.
    Using ketnel 2.6.11 source directory

    BillS

  5. #5
    Junior Member
    Join Date
    Nov 2004
    Location
    PRC, Massachusetts, USA
    Posts
    7
    Use "modinfo" to check the kernel version string on the cloop.ko module and the kernel you compiled (by checking a random module in the build tree). (You can also use "strings" and grep for "vermagic"). If these don't match, you need to correct that by editing the makefiles by hand. The relevant variables are at the top of both makefiles. This does not completely solve the problem, however. I've gotten that far and then failed to boot, and you may too. Hoping to ask folks if there are other problems with the cloop version for 3.8.1.

  6. #6
    Junior Member
    Join Date
    May 2005
    Posts
    7
    I am using Debian, and my kernel is Linux debian 2.6.11-1-686, cloop is : 2.01.5-4,
    I tried to use apt-get source kernel-source-2.6.11***, and then tar -xzvf /usr/src/kernel-source-2.6.11 and ln -s *****
    I don't meet the problem of conf.vars but another problem:
    test -e advancecomp-1.9_create_compressed_fs/config.status || ( cd advancecomp-1.9_create_compressed_fs && ./configure)
    /bin/sh: line 1: cd: advancecomp-1.9_create_compressed_fs: No such file or directory
    make: *** [advancecomp-1.9_create_compressed_fs/advfs] Error 1

    whar is advancecomp-1.9_create_compressed_fs? it doesn't exist in cloop's source.

  7. #7
    Member registered user
    Join Date
    Dec 2003
    Posts
    57
    Knopper said that cloop-2.02 is the version that is good (corrects these errors). But didn't tell me where it was archived...

Similar Threads

  1. Replies: 1
    Last Post: 02-06-2010, 12:39 AM
  2. Cloop build failure for kernel 2.6.30.5
    By mumia-w-18 in forum Customising & Remastering
    Replies: 1
    Last Post: 10-16-2009, 04:15 PM
  3. Trouble trying to compile Cloop.o
    By giovanni in forum General Support
    Replies: 0
    Last Post: 03-04-2004, 02:23 PM
  4. update modules.conf after compile kernel
    By giosoftware in forum General Support
    Replies: 0
    Last Post: 02-10-2004, 01:54 PM
  5. Replies: 2
    Last Post: 03-27-2003, 01:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5

Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$159.99



Hitachi HUS726060ALA640 6TB 7.2K SATA 3.5 6G HDD Hard Disc Drive picture

Hitachi HUS726060ALA640 6TB 7.2K SATA 3.5 6G HDD Hard Disc Drive

$109.99



Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5

Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5" Enterprise HDD ST14000NM0408

$354.99



HUS726060ALA640 HGST Ultrastar  6TB SATA 6Gbps 7.2K 3.5

HUS726060ALA640 HGST Ultrastar 6TB SATA 6Gbps 7.2K 3.5" Hard Drive OF21860

$129.99



Hitachi  / HGST Travelstar HTS541010B7E610 1TB 2.5

Hitachi / HGST Travelstar HTS541010B7E610 1TB 2.5" SATA III HDD

$29.99



HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5

HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health

$78.00



Toshiba DT01ACA100 1 TB 3.5

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive

$24.99



HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED picture

HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED

$34.95



Seagate Exos X16 ST10000NM010G 10TB 7200RPM SAS 12Gb/s 3.5

Seagate Exos X16 ST10000NM010G 10TB 7200RPM SAS 12Gb/s 3.5" 512e/4Kn HDD

$199.00



Seagate BarraCuda ST1000DM010 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s Hard Drive picture

Seagate BarraCuda ST1000DM010 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s Hard Drive

$63.99