Results 1 to 4 of 4

Thread: FreeBSD -bench error on minimalist system

  1. #1

    FreeBSD -bench error on minimalist system

    I am in the process of making a minimal (64MB)FreeBSD image for a diskless PXEboot folding farm. I have almost got it going, but I have probably missed some critical library and -bench fails with the following error:

    farm1.root # ./foldtrajlite -bench
    One moment, opening rotamer library...
    Predicting secondary structure and generating trajectory distribution...


    Error Number -70, 90621
    Reading File
    file4readError

    /var/tmp/tmp_eJDpJ5_2095_523.fpt
    0 8
    file4readAllLow


    Error Number -60, 91102
    Opening File
    dfile4...()



    The /var/tmp dir exists and is world writable. I did a ldd on foldtrajlite which gave the following dependencies that I made sure were copied across:

    foldtrajlite:
    libm.so.2 => /usr/lib/libm.so.2 (0x2842d000)
    libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28448000)
    libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28489000)

    Can anyone suggest a library that I might have forgotten to copy across?

    Here is my listing of the minimalist /usr/lib:

    drwxr-xr-x 2 root wheel 512 Sep 26 19:44 .
    drwxr-xr-x 7 root wheel 512 Sep 27 09:16 ..
    -r--r--r-- 1 root wheel 1224622 Sep 26 07:45 libc.a
    -r--r--r-- 1 root wheel 578964 Sep 26 12:03 libc.so.4
    -r--r--r-- 1 root wheel 677416 Sep 26 11:17 libc_r.so.4
    -r--r--r-- 1 root wheel 28432 Sep 26 12:01 libcrypt.so.2
    -r--r--r-- 1 root wheel 1021460 Sep 26 12:00 libcrypto.so.3
    -r--r--r-- 1 root wheel 140100 Sep 26 07:45 libgcc.a
    -r--r--r-- 1 root wheel 117024 Sep 26 07:53 libm.so.2
    -r--r--r-- 1 root wheel 39396 Sep 26 12:00 libmp.so.3
    -r--r--r-- 1 root wheel 405390 Sep 26 19:44 libncurses.a
    lrwxr-xr-x 1 root wheel 15 Sep 26 19:42 libncurses.so -> libncurses.so.5
    -r--r--r-- 1 root wheel 258200 Sep 26 08:16 libncurses.so.5
    -r--r--r-- 1 root wheel 38432 Sep 26 12:02 libpam.so.1
    lrwxr-xr-x 1 root wheel 12 Sep 26 19:44 libtermcap.a -> libncurses.a
    lrwxr-xr-x 1 root wheel 13 Sep 26 19:43 libtermcap.so -> libncurses.so
    lrwxr-xr-x 1 root wheel 12 Sep 26 19:44 libtermlib.a -> libncurses.a
    lrwxr-xr-x 1 root wheel 13 Sep 26 19:43 libtermlib.so -> libncurses.so
    -r--r--r-- 1 root wheel 32728 Sep 26 12:00 libutil.so.3


    I also get a similar error trying to fold after the completion of gen 0 I guess it's in the writing/upload stage.

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Location
    Santa Barbara CA
    Posts
    355
    When I first set up my diskless system I was using the default setup which had a 1MB Ramdisk for the /tmp directory. Folding writes 8MBs+ to that directory. I ended up putting the /tmp directory on my NFS server.

    One of the two versions of the linux client uses a different libncurses.so than the other one, when I have tried to run that the error message said that it was missing that particular file.

  3. #3
    does the named file exist? How much free space is in /var/tmp?
    Howard Feldman

  4. #4
    Originally posted by Brian the Fist
    does the named file exist? How much free space is in /var/tmp?
    /var/tmp has 16MB free. The file name did exist, it was only about 4MB long. I have just solved the problem by taking someone elses tested version of a FreeBSD 4.8 based diskless workstation system, and copying it to a 64MB RAM based drive image. Because of extra libraries I had to NFS mount a DF client directory for each server in the diskless farm to save some space, this worked well as it stops falling back to gen 0 after a reboot.

    The diskless image I started from was for a WiFi Freebsd router:
    http://kocour.ms.mff.cuni.cz/~petricek/work/wifi/img/

Posting Permissions

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