2003-08-21 07:45:39

by Theewara Vorakosit

[permalink] [raw]
Subject: Cloop on Red Hat 9

Dear All,
I want to create linux distribution on one CD, like Virtual
Linux. I try to use some compressed file system. I cannot use cramfs
because supported file size is too small. I try to use cloop but I cannot
compile on Red Hat 9 with kernel 2.4.20-19.9smp. Here is a error message:

cc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I.
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-mpreferred-stack-boundary=2 -march=i386 -D__KERNEL__ -DMODULE
-fno-builtin -nostdlib -I/usr/src/linux-2.4.20-19.9/include -DMODVERSIONS
-include /usr/src/linux-2.4.20-19.9/include/linux/modversions.h -D__SMP__
compressed_loop.c -c -o compressed_loop.o
compressed_loop.c: In function `clo_read_from_file':
compressed_loop.c:202: too few arguments to function
`do_generic_file_read_Rsmp_5d257537'
make: *** [compressed_loop.o] Error 1

Would you tell me how to solve this problem? Or, please suggest other
compressed filesystem that support large file size.
Thanks,
Theewara


2003-08-21 08:11:30

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: Cloop on Red Hat 9

On Thu, 2003-08-21 at 09:45, Theewara Vorakosit wrote:

> I want to create linux distribution on one CD, like Virtual
> Linux. I try to use some compressed file system. I cannot use cramfs
> because supported file size is too small. I try to use cloop but I cannot
> compile on Red Hat 9 with kernel 2.4.20-19.9smp. Here is a error message:

I recommend you trying the latest Red Hat kernel from Rawhide. You can
download the kernel sources from:

ftp://ftp.redhat.com/pub/redhat/linux/rawhide/i386/RedHat/RPMS

look for a package called kernel-source*.rpm, download it, install it
and don't forget to run "make mrproper" before anything else.

2003-08-21 09:20:05

by Pádraig Brady

[permalink] [raw]
Subject: Re: Cloop on Red Hat 9

Theewara Vorakosit wrote:
> Dear All,
> I want to create linux distribution on one CD, like Virtual
> Linux. I try to use some compressed file system. I cannot use cramfs
> because supported file size is too small.

Have a look at customising knoppix (which uses cloop), rather than
starting from scratch.

> I try to use cloop but I cannot
> compile on Red Hat 9 with kernel 2.4.20-19.9smp. Here is a error message:

I use cloop_0.68-4.tar.gz sucessfully on redhat 9 (2.4.20-8smp)

I built it like:

make KERNEL_DIR=/usr/src/linux-2.4/ CFLAGS="-DREDHAT_KERNEL -O2"

P?draig.

2003-08-30 16:27:36

by H. Peter Anvin

[permalink] [raw]
Subject: Re: Cloop on Red Hat 9

Followup to: <[email protected]>
By author: Theewara Vorakosit <[email protected]>
In newsgroup: linux.dev.kernel
>
> Dear All,
> I want to create linux distribution on one CD, like Virtual
> Linux. I try to use some compressed file system. I cannot use cramfs
> because supported file size is too small.
>

You could also use zisofs.

-hpa
--
<[email protected]> at work, <[email protected]> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64