Loading ...
Sorry, an error occurred while loading the content.
 

Re: [nslu2-general] NSLU with apache 2.2.4, Large File Support

Expand Messages
  • Marcel Nijenhof
    ... Large filesystem support depends on: - Compile time options - Filesystem - Libraries - Firmware ... Without more details no one will help you! -- marceln
    Message 1 of 7 , Sep 7, 2007
      On Mon, 2007-09-03 at 18:31 +0000, juergen1962111111 wrote:
      > I tried to access a file, which is larger than 2G and got the
      > following error message in the apache errorlog
      >
      > (75)Value too large for defined data type: access to /1/Caravaggio.mpg
      > failed
      >

      Large filesystem support depends on:
      - Compile time options
      - Filesystem
      - Libraries
      - Firmware

      > please help...

      Without more details no one will help you!

      --
      marceln
    • esalkin
      ... to /1/Caravaggio.mpg ... i think marceln is looking for: firmware version additional packages installed filesystem(FAT, FAT32, NTFS, EXT3) any hardware
      Message 2 of 7 , Sep 8, 2007
        --- In nslu2-general@yahoogroups.com, Marcel Nijenhof <nslu2@...>
        wrote:
        >
        > On Mon, 2007-09-03 at 18:31 +0000, juergen1962111111 wrote:
        > > I tried to access a file, which is larger than 2G and got the
        > > following error message in the apache errorlog
        > >
        > > (75)Value too large for defined data type: access
        to /1/Caravaggio.mpg
        > > failed
        > >
        >
        > Large filesystem support depends on:
        > - Compile time options
        > - Filesystem
        > - Libraries
        > - Firmware
        >
        > > please help...
        >
        > Without more details no one will help you!
        >
        > --
        > marceln
        >
        i think marceln is looking for:
        firmware version
        additional packages installed
        filesystem(FAT, FAT32, NTFS, EXT3)
        any hardware mods you have made
      • juergen1962111111
        Hi, thanks for your reply!!!! I have a normal NSLU2 without HW changes, one disk with ext3 fs and I´m using Unslung 6.8 beta. The apache package (ipkg
        Message 3 of 7 , Sep 9, 2007
          Hi,

          thanks for your reply!!!!

          I have a normal NSLU2 without HW changes, one disk with ext3 fs and
          I´m using Unslung 6.8 beta. The apache package (ipkg package) is the
          one I got from http://www.nslu2-linux.org/.

          This is the output from httpd -V

          Server version: Apache/2.2.4 (Unix)
          Server built: Jun 27 2007 12:15:36
          Server's Module Magic Number: 20051115:4
          Server loaded: APR 1.2.8, APR-Util 1.2.8
          Compiled using: APR 1.2.8, APR-Util 1.2.8
          Architecture: 32-bit
          Server MPM: Worker
          threaded: yes (fixed thread count)
          forked: yes (variable process count)
          Server compiled with....
          -D APACHE_MPM_DIR="server/mpm/worker"
          -D APR_HAS_SENDFILE
          -D APR_HAS_MMAP
          -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
          -D APR_USE_SYSVSEM_SERIALIZE
          -D APR_USE_PTHREAD_SERIALIZE
          -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
          -D APR_HAS_OTHER_CHILD
          -D AP_HAVE_RELIABLE_PIPED_LOGS
          -D DYNAMIC_MODULE_LIMIT=128
          -D HTTPD_ROOT="/opt"
          -D SUEXEC_BIN="/opt/bin/suexec"
          -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
          -D DEFAULT_ERRORLOG="logs/error_log"
          -D AP_TYPES_CONFIG_FILE="etc/apache2/mime.types"
          -D SERVER_CONFIG_FILE="etc/apache2/httpd.conf"

          I hope, that´s enough information.




          --- In nslu2-general@yahoogroups.com, "esalkin" <ed056@...> wrote:
          >
          > --- In nslu2-general@yahoogroups.com, Marcel Nijenhof <nslu2@>
          > wrote:
          > >
          > > On Mon, 2007-09-03 at 18:31 +0000, juergen1962111111 wrote:
          > > > I tried to access a file, which is larger than 2G and got the
          > > > following error message in the apache errorlog
          > > >
          > > > (75)Value too large for defined data type: access
          > to /1/Caravaggio.mpg
          > > > failed
          > > >
          > >
          > > Large filesystem support depends on:
          > > - Compile time options
          > > - Filesystem
          > > - Libraries
          > > - Firmware
          > >
          > > > please help...
          > >
          > > Without more details no one will help you!
          > >
          > > --
          > > marceln
          > >
          > i think marceln is looking for:
          > firmware version
          > additional packages installed
          > filesystem(FAT, FAT32, NTFS, EXT3)
          > any hardware mods you have made
          >
        • Marcel Nijenhof
          ... I can confirm that it doesn t work. Unfortunately i can t recompile apache because of problems with old versions so it takes some more time to check if i
          Message 4 of 7 , Sep 12, 2007
            On Sun, 2007-09-09 at 15:14 +0000, juergen1962111111 wrote:

            >
            > I have a normal NSLU2 without HW changes, one disk with ext3 fs and
            > I´m using Unslung 6.8 beta. The apache package (ipkg package) is the
            > one I got from http://www.nslu2-linux.org/.
            >

            I can confirm that it doesn't work.

            Unfortunately i can't recompile apache because of problems with old
            versions so it takes some more time to check if i am able to solve
            it.

            --
            marceln
          • Marcel Nijenhof
            ... The problem is that apr doesn t support largefiles when cross compiling. I have a patch which updates the versions of apr , apr-util and apache and
            Message 5 of 7 , Sep 12, 2007
              On Wed, 2007-09-12 at 22:22 +0200, Marcel Nijenhof wrote:
              >
              > Unfortunately i can't recompile apache because of problems with old
              > versions so it takes some more time to check if i am able to solve
              > it.
              >

              The problem is that apr doesn't support largefiles when cross compiling.

              I have a patch which updates the versions of "apr", "apr-util" and
              apache and supports large files. I will wait a few days to commit
              this patch so that others can have a look at it.
              I am not sure that this patch won't break other platforms as the
              unslung.


              Index: apr.mk
              ===================================================================
              --- apr.mk (revision 6841)
              +++ apr.mk (working copy)
              @@ -13,7 +13,7 @@
              # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
              #
              APR_SITE=http://www.apache.org/dist/apr
              -APR_VERSION=1.2.8
              +APR_VERSION=1.2.11
              APR_SOURCE=apr-$(APR_VERSION).tar.bz2
              APR_DIR=apr-$(APR_VERSION)
              APR_UNZIP=bzcat
              @@ -127,6 +127,7 @@
              apr_cv_process_shared_works=no \
              ac_cv_file__dev_zero=yes \
              apr_cv_tcp_nodelay_with_cork=no \
              + apr_cv_use_lfs64=yes \
              ./configure \
              --build=$(GNU_HOST_NAME) \
              --host=$(GNU_TARGET_NAME) \
              @@ -135,6 +136,7 @@
              --libdir=/opt/lib \
              --disable-static \
              --enable-layout=GNU \
              + --enable-lfs \
              )
              $(PATCH_LIBTOOL) $(APR_BUILD_DIR)/libtool
              touch $(APR_BUILD_DIR)/.configured
              Index: apr-util.mk
              ===================================================================
              --- apr-util.mk (revision 6841)
              +++ apr-util.mk (working copy)
              @@ -13,7 +13,7 @@
              # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
              #
              APR_UTIL_SITE=http://www.apache.org/dist/apr
              -APR_UTIL_VERSION=1.2.8
              +APR_UTIL_VERSION=1.2.10
              APR_UTIL_SOURCE=apr-util-$(APR_UTIL_VERSION).tar.bz2
              APR_UTIL_DIR=apr-util-$(APR_UTIL_VERSION)
              APR_UTIL_UNZIP=bzcat
              Index: apache.mk
              ===================================================================
              --- apache.mk (revision 6841)
              +++ apache.mk (working copy)
              @@ -13,7 +13,7 @@
              # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
              #
              APACHE_SITE=http://www.apache.org/dist/httpd
              -APACHE_VERSION=2.2.4
              +APACHE_VERSION=2.2.6
              APACHE_SOURCE=httpd-$(APACHE_VERSION).tar.bz2
              APACHE_DIR=httpd-$(APACHE_VERSION)
              APACHE_UNZIP=bzcat

              --
              marceln
            • juergen1962111111
              Hi Marcel, thanks for your help. Large File Support works on my NSLU. Juergen
              Message 6 of 7 , Oct 22, 2007
                Hi Marcel,

                thanks for your help. Large File Support works on my NSLU.

                Juergen

                --- In nslu2-general@yahoogroups.com, Marcel Nijenhof <nslu2@...> wrote:
                >
                > On Wed, 2007-09-12 at 22:22 +0200, Marcel Nijenhof wrote:
                > >
                > > Unfortunately i can't recompile apache because of problems with old
                > > versions so it takes some more time to check if i am able to solve
                > > it.
                > >
                >
                > The problem is that apr doesn't support largefiles when cross compiling.
                >
                > I have a patch which updates the versions of "apr", "apr-util" and
                > apache and supports large files. I will wait a few days to commit
                > this patch so that others can have a look at it.
                > I am not sure that this patch won't break other platforms as the
                > unslung.
                >
                >
                > Index: apr.mk
                > ===================================================================
                > --- apr.mk (revision 6841)
                > +++ apr.mk (working copy)
                > @@ -13,7 +13,7 @@
                > # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
                > #
                > APR_SITE=http://www.apache.org/dist/apr
                > -APR_VERSION=1.2.8
                > +APR_VERSION=1.2.11
                > APR_SOURCE=apr-$(APR_VERSION).tar.bz2
                > APR_DIR=apr-$(APR_VERSION)
                > APR_UNZIP=bzcat
                > @@ -127,6 +127,7 @@
                > apr_cv_process_shared_works=no \
                > ac_cv_file__dev_zero=yes \
                > apr_cv_tcp_nodelay_with_cork=no \
                > + apr_cv_use_lfs64=yes \
                > ./configure \
                > --build=$(GNU_HOST_NAME) \
                > --host=$(GNU_TARGET_NAME) \
                > @@ -135,6 +136,7 @@
                > --libdir=/opt/lib \
                > --disable-static \
                > --enable-layout=GNU \
                > + --enable-lfs \
                > )
                > $(PATCH_LIBTOOL) $(APR_BUILD_DIR)/libtool
                > touch $(APR_BUILD_DIR)/.configured
                > Index: apr-util.mk
                > ===================================================================
                > --- apr-util.mk (revision 6841)
                > +++ apr-util.mk (working copy)
                > @@ -13,7 +13,7 @@
                > # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
                > #
                > APR_UTIL_SITE=http://www.apache.org/dist/apr
                > -APR_UTIL_VERSION=1.2.8
                > +APR_UTIL_VERSION=1.2.10
                > APR_UTIL_SOURCE=apr-util-$(APR_UTIL_VERSION).tar.bz2
                > APR_UTIL_DIR=apr-util-$(APR_UTIL_VERSION)
                > APR_UTIL_UNZIP=bzcat
                > Index: apache.mk
                > ===================================================================
                > --- apache.mk (revision 6841)
                > +++ apache.mk (working copy)
                > @@ -13,7 +13,7 @@
                > # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
                > #
                > APACHE_SITE=http://www.apache.org/dist/httpd
                > -APACHE_VERSION=2.2.4
                > +APACHE_VERSION=2.2.6
                > APACHE_SOURCE=httpd-$(APACHE_VERSION).tar.bz2
                > APACHE_DIR=httpd-$(APACHE_VERSION)
                > APACHE_UNZIP=bzcat
                >
                > --
                > marceln
                >
              Your message has been successfully submitted and would be delivered to recipients shortly.