First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 80098
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PPC Porters <ppc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Steinel <Florian.Steinel@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
largerthan2gb.diff largerthan2gb.diff patch Florian Steinel 2005-02-23 11:11 0000 7.96 KB Details | Diff
mol-0.9.71_pre1-big-filesystem.patch Possibly fixed patch? patch Joe Jezak 2005-03-07 06:25 0000 3.35 KB Details | Diff
mol-0.9.71_pre1-big-filesystem.patch Using a bit more of F. Steinel's patch, try again! patch Joe Jezak 2005-03-07 06:51 0000 6.40 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 80098 depends on: 80093 80095 Show dependency tree
Show dependency graph
Bug 80098 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-30 09:36 0000
this ebuild enables access to diskimages (aka. files) greater then 2GB

------- Comment #1 From Florian Steinel 2005-01-30 09:42:56 0000 -------
I created this updated ebuild while reading
http://lists.terrasoftsolutions.com/pipermail/mol-general/2004-November/003542.html
.
- The new use flag qemu is doesn't work right now.
- >2GB diskimage support is working.
(source is http://lists.maconlinux.org/pipermail/mol-devel/2003-November.txt )
--- src/lib/llseek.c~bigfile    Wed Nov  5 15:57:46 2003
+++ src/lib/llseek.c    Wed Nov  5 15:58:47 2003
@@ -21,6 +21,8 @@

 #ifdef __linux__
 #define BLKGETSIZE _IO(0x12,96)                /* from <linux/fs.h> */
+#define _FILE_OFFSET_BITS 64
+#define _LARGE_FILES
 #endif
---------------

Other usefull links:
http://soulinfo.com/wiki/index.php/Mol .

------- Comment #2 From Florian Steinel 2005-01-30 09:47:40 0000 -------
- for qemu style diskimage patch see
http://soulinfo.com/~hugang/mol/qemu_block/patch-14/tgz/mol--mainline--0.9.70--patch-14.tgz

------- Comment #3 From Joe Jezak 2005-02-19 20:58:54 0000 -------
I've added the 2G+ big filesystem image patch to mol-0.9.71_pre1, but I'm not
too sure about the qemu patch.  I think I'll leave that one out for now and if
anyone asks for it we'll direct them to the site.  Thanks for the patches!

------- Comment #4 From Florian Steinel 2005-02-23 11:04:07 0000 -------
i'm sorry, but your patch doesn't work. I get an "fstat: file to large" error,
while starting mol. I'll attach my patch (for mol-0.9.70.ebuild), these
"LARGE_FILES and FILE_OFFSET_BITS 64" maybe in some files overkill but it
doesn't do any harm.

------- Comment #5 From Florian Steinel 2005-02-23 11:11:49 0000 -------
Created an attachment (id=51976) [edit]
largerthan2gb.diff

------- Comment #6 From Joe Jezak 2005-02-23 12:38:26 0000 -------
I can't test this patch personally, I don't have the disk space.  Did the first
patch work before?  Does your new patch work now?  From the thread on the MOL
ml, it looks like the first patch should be sufficient.  It's only applied to
the unstable version of MOL.  Are you sure you used that?

------- Comment #7 From Joe Jezak 2005-03-07 06:25:08 0000 -------
Created an attachment (id=52846) [edit]
Possibly fixed patch?

------- Comment #8 From Joe Jezak 2005-03-07 06:51:53 0000 -------
Created an attachment (id=52847) [edit]
Using a bit more of F. Steinel's patch, try again!

------- Comment #9 From Joe Jezak 2005-03-07 16:01:41 0000 -------
Seems to work correctly now, thanks to scoobydu for testing.

First Last Prev Next    No search results available      Search page      Enter new bug