Thread: [ES40-developers] Large File Support
Status: Alpha
Brought to you by:
iamcamiel
From: Pepito G. <pep...@ya...> - 2008-03-19 11:15:50
|
Hi! I am trying to use large data file (4 Gib), but I get a "can't open file" error. errno = 27 -> #define EFBIG 27 /* File too large */ How can I solve this problem? Pepito ______________________________________________ Enviado desde Correo Yahoo! El buzón de correo sin límite de almacenamiento. http://es.docs.yahoo.com/mail/overview/index.html |
From: Hittner, D. T. <dav...@ng...> - 2008-03-19 11:51:08
|
Use two smaller files :-) Opening a file greater than 2GB is non-standard across the various C++ implementations. What host platform(s) are you using? Dave > -----Original Message----- > From: es4...@li... > [mailto:es4...@li...] On > Behalf Of Pepito Grillo > Sent: Wednesday, March 19, 2008 7:11 AM > To: es40 > Subject: [ES40-developers] Large File Support > > Hi! > I am trying to use large data file (4 Gib), but I get a > "can't open file" error. > errno = 27 -> > #define EFBIG 27 /* File too large */ > How can I solve this problem? > > Pepito > > > ______________________________________________ > Enviado desde Correo Yahoo! > El buzón de correo sin límite de almacenamiento. > http://es.docs.yahoo.com/mail/overview/index.html > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |
From: Pepito G. <pep...@ya...> - 2008-03-19 12:15:08
|
Hi I'm using debian linux uname --a Linux nvlinux 2.6.22.10 #2 Sun Oct 28 12:56:24 CET 2007 i686 GNU/Linux gcc (GCC) 4.2.3 (Debian 4.2.3-2 I'm trying to share a vdisk from Personal Emulator. thanks for your help Pepito --- "Hittner, David T." <dav...@ng...> escribió: > Use two smaller files :-) > > Opening a file greater than 2GB is non-standard > across the various C++ implementations. > What host platform(s) are you using? > > Dave > > > -----Original Message----- > > From: > es4...@li... > > > [mailto:es4...@li...] > On > > Behalf Of Pepito Grillo > > Sent: Wednesday, March 19, 2008 7:11 AM > > To: es40 > > Subject: [ES40-developers] Large File Support > > > > Hi! > > I am trying to use large data file (4 Gib), but I > get a > > "can't open file" error. > > errno = 27 -> > > #define EFBIG 27 /* File too large > */ > > How can I solve this problem? > > > > Pepito > > > > > > > ______________________________________________ > > Enviado desde Correo Yahoo! > > El buzón de correo sin límite de almacenamiento. > > http://es.docs.yahoo.com/mail/overview/index.html > > > > > -------------------------------------------------------------- > > ----------- > > This SF.net email is sponsored by: Microsoft Defy > all > > challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > ______________________________________________ Enviado desde Correo Yahoo! El buzón de correo sin límite de almacenamiento. http://es.docs.yahoo.com/mail/overview/index.html |
From: Hittner, D. T. <dav...@ng...> - 2008-03-19 12:26:52
|
What do you mean by "share a vdisk"? Two programs cannot open the same file at the same time, unless they are both written to coordinate file sharing - otherwise, they will write conflicting information to the vdisk. The default file "open for exclusive access" mode prevents it. Will ES40 correctly open a *copy* of the vdisk? Or open the vdisk when the personal emulator is not running? Dave > -----Original Message----- > From: es4...@li... > [mailto:es4...@li...] On > Behalf Of Pepito Grillo > Sent: Wednesday, March 19, 2008 8:15 AM > To: ES40 Developer Discussions > Subject: Re: [ES40-developers] Large File Support > > Hi > > I'm using debian linux > uname --a > Linux nvlinux 2.6.22.10 #2 Sun Oct 28 12:56:24 CET > 2007 i686 GNU/Linux > gcc (GCC) 4.2.3 (Debian 4.2.3-2 > > I'm trying to share a vdisk from Personal Emulator. > > thanks for your help > > Pepito > > --- "Hittner, David T." <dav...@ng...> > escribió: > > > Use two smaller files :-) > > > > Opening a file greater than 2GB is non-standard across the > various C++ > > implementations. > > What host platform(s) are you using? > > > > Dave > > > > > -----Original Message----- > > > From: > > es4...@li... > > > > > > [mailto:es4...@li...] > > On > > > Behalf Of Pepito Grillo > > > Sent: Wednesday, March 19, 2008 7:11 AM > > > To: es40 > > > Subject: [ES40-developers] Large File Support > > > > > > Hi! > > > I am trying to use large data file (4 Gib), but I > > get a > > > "can't open file" error. > > > errno = 27 -> > > > #define EFBIG 27 /* File too large > > */ > > > How can I solve this problem? > > > > > > Pepito > > > > > > > > > > > ______________________________________________ > > > Enviado desde Correo Yahoo! > > > El buzón de correo sin límite de almacenamiento. > > > http://es.docs.yahoo.com/mail/overview/index.html > > > > > > > > > -------------------------------------------------------------- > > > ----------- > > > This SF.net email is sponsored by: Microsoft Defy > > all > > > challenges. Microsoft(R) Visual Studio 2008. > > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Es40-developers mailing list > > > Es4...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > > > > > -------------------------------------------------------------- > ----------- > > This SF.net email is sponsored by: Microsoft Defy all challenges. > > Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > > > ______________________________________________ > Enviado desde Correo Yahoo! > El buzón de correo sin límite de almacenamiento. > http://es.docs.yahoo.com/mail/overview/index.html > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |
From: Pepito G. <pep...@ya...> - 2008-03-19 12:30:23
|
Hi I mean opening a copy of a vdisk created with Personal Alpha (PA) with a running vms system. I have a openvms 7.3.1 system already installed using PA. This way I can save a lot of time. Pepito --- "Hittner, David T." <dav...@ng...> escribió: > What do you mean by "share a vdisk"? > > Two programs cannot open the same file at the same > time, > unless they are both written to coordinate file > sharing - > otherwise, they will write conflicting information > to the vdisk. > The default file "open for exclusive access" mode > prevents it. > > Will ES40 correctly open a *copy* of the vdisk? Or > open > the vdisk when the personal emulator is not running? > > Dave > > > > -----Original Message----- > > From: > es4...@li... > > > [mailto:es4...@li...] > On > > Behalf Of Pepito Grillo > > Sent: Wednesday, March 19, 2008 8:15 AM > > To: ES40 Developer Discussions > > Subject: Re: [ES40-developers] Large File Support > > > > Hi > > > > I'm using debian linux > > uname --a > > Linux nvlinux 2.6.22.10 #2 Sun Oct 28 12:56:24 CET > > 2007 i686 GNU/Linux > > gcc (GCC) 4.2.3 (Debian 4.2.3-2 > > > > I'm trying to share a vdisk from Personal > Emulator. > > > > thanks for your help > > > > Pepito > > > > --- "Hittner, David T." <dav...@ng...> > > escribió: > > > > > Use two smaller files :-) > > > > > > Opening a file greater than 2GB is non-standard > across the > > various C++ > > > implementations. > > > What host platform(s) are you using? > > > > > > Dave > > > > > > > -----Original Message----- > > > > From: > > > es4...@li... > > > > > > > > > > [mailto:es4...@li...] > > > On > > > > Behalf Of Pepito Grillo > > > > Sent: Wednesday, March 19, 2008 7:11 AM > > > > To: es40 > > > > Subject: [ES40-developers] Large File Support > > > > > > > > Hi! > > > > I am trying to use large data file (4 Gib), > but I > > > get a > > > > "can't open file" error. > > > > errno = 27 -> > > > > #define EFBIG 27 /* File too > large > > > */ > > > > How can I solve this problem? > > > > > > > > Pepito > > > > > > > > > > > > > > > ______________________________________________ > > > > Enviado desde Correo Yahoo! > > > > El buzón de correo sin límite de > almacenamiento. > > > > > http://es.docs.yahoo.com/mail/overview/index.html > > > > > > > > > > > > > > -------------------------------------------------------------- > > > > ----------- > > > > This SF.net email is sponsored by: Microsoft > Defy > > > all > > > > challenges. Microsoft(R) Visual Studio 2008. > > > > > > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > _______________________________________________ > > > > Es40-developers mailing list > > > > Es4...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > > > > > > > > > > -------------------------------------------------------------- > > ----------- > > > This SF.net email is sponsored by: Microsoft > Defy all challenges. > > > Microsoft(R) Visual Studio 2008. > > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Es40-developers mailing list > > > Es4...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > > > > > > > > > ______________________________________________ > > Enviado desde Correo Yahoo! > > El buzón de correo sin límite de almacenamiento. > > http://es.docs.yahoo.com/mail/overview/index.html > > > > > -------------------------------------------------------------- > > ----------- > > This SF.net email is sponsored by: Microsoft Defy > all > > challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > ______________________________________________ Enviado desde Correo Yahoo! El buzón de correo sin límite de almacenamiento. http://es.docs.yahoo.com/mail/overview/index.html |
From: Camiel V. <iam...@gm...> - 2008-03-19 12:40:22
|
Hi Pepito, There's a patch in CVS now that should fix this; the groundwork for this was already in place, but the fopen_large macro was never actually used. Please let me know if the patch works. Camiel. On Wed, Mar 19, 2008 at 12:10 PM, Pepito Grillo <pep...@ya...> wrote: > Hi! > I am trying to use large data file (4 Gib), but I get > a > "can't open file" error. > errno = 27 -> > #define EFBIG 27 /* File too large */ > How can I solve this problem? > > Pepito > > > ______________________________________________ > Enviado desde Correo Yahoo! > El buzón de correo sin límite de almacenamiento. http://es.docs.yahoo.com/mail/overview/index.html > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |
From: Hittner, D. T. <dav...@ng...> - 2008-03-19 14:06:49
|
I just noticed some new behavior on ES40, using this morning's files: 1) Both Serial0 and Serial1 stopped and prompted '<BREAK> received. What do you want to do?' in order. 2) The initial console startup tests used to be: Testing the System Testing the Networks Now it has added (in between the other two): Testing the Disks(read-only) #1 is a bit disruptive during startup, although I assume it's allow reloading of a saved image on startup. It would be nice if it only asked on the primary serial line, though. #2 is not necessarily bad; it's just different. Good job - I assume this is more like a real ES40. :-) Dave |
From: Camiel V. <iam...@gm...> - 2008-03-19 14:26:32
|
Hi David, > I just noticed some new behavior on ES40, using this morning's files: > > 1) Both Serial0 and Serial1 stopped and prompted '<BREAK> received. What > do you want to do?' in order. This is not intentional, and is probably due to the variable breakHit not being initialized. I fixed this in CVS. > 2) The initial console startup tests used to be: > Testing the System > Testing the Networks > Now it has added (in between the other two): > Testing the Disks(read-only) I've seen this message for a while now. I think it depends on how you've set your srm variables. Camiel. |
From: Hittner, D. T. <dav...@ng...> - 2008-03-19 15:05:52
|
BreakHit patch is good. > > 1) Both Serial0 and Serial1 stopped and prompted '<BREAK> > received. > > What do you want to do?' in order. > > This is not intentional, and is probably due to the variable > breakHit not being initialized. I fixed this in CVS. |
From: Pepito G. <pep...@ya...> - 2008-03-19 14:37:30
|
Hi The path works! :) I've loaded a 4Gib file and the data is ok. The file is a vdisk file created using Personal Alpha. :) Pepito --- Camiel Vanderhoeven <iam...@gm...> escribió: > Hi Pepito, > > There's a patch in CVS now that should fix this; the > groundwork for > this was already in place, but the fopen_large macro > was never > actually used. Please let me know if the patch > works. > > Camiel. > > On Wed, Mar 19, 2008 at 12:10 PM, Pepito Grillo > <pep...@ya...> wrote: > > Hi! > > I am trying to use large data file (4 Gib), but I > get > > a > > "can't open file" error. > > errno = 27 -> > > #define EFBIG 27 /* File too large > */ > > How can I solve this problem? > > > > Pepito > > > > > > > ______________________________________________ > > Enviado desde Correo Yahoo! > > El buzón de correo sin límite de almacenamiento. > http://es.docs.yahoo.com/mail/overview/index.html > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio > 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > ______________________________________________ Enviado desde Correo Yahoo! Más formas de estar en contacto. http://es.docs.yahoo.com/mail/overview/index.html |