truyenthongmang / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

mksquashfs of squashfs-3.2-r2-lzma fail. #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cd src/others/squashfs-3.2-r2-lzma/squashfs3.2-r2/squashfs-tools
2. run sudo ./mksquashfs squashfs_fs.h MYBIN -nopad -le -all-root
3.

What is the expected output? What do you see instead?
I expect the right MYBIN file, but I get a 0byte size file MYBIN.
The output:
Parallel mksquashfs: Using 8 processors
Creating little endian 3.0 filesystem on MYBIN, block size 65536.

What version of the product are you using? On what operating system?
I don't know the device. I just deal with squashfs image.
I'm working on Ubuntu 12.04 64bit.

Please provide any additional information below.

Original issue reported on code.google.com by jan4...@gmail.com on 4 Dec 2012 at 12:36

GoogleCodeExporter commented 8 years ago
Just to make sure, are you surely running it against a directory (squashfs_fs.h 
seems odd)? Other than that I think you should refer to issue no.57

I also had similar problems and in some cases running mksquashfs (3.2-r2-lzma) 
lead to segmentation faults. It did not however, when I ran it as root. Somehow 
sudoing this suppresses the failed output (it would also produce zero sized 
filesystem) I suggest you make that small change in makesquashfs.c source code 
(see this http://code.google.com/p/firmware-mod-kit/issues/detail?id=57), for 
me at least, this fixed the problem. I'm also running 64bit Ubuntu 12.04

Original comment by Q1e...@gmail.com on 12 Dec 2012 at 2:24

GoogleCodeExporter commented 8 years ago
OK. I think this is the problem.
Thanks.

Original comment by jan4...@gmail.com on 12 Dec 2012 at 1:25

GoogleCodeExporter commented 8 years ago

Original comment by heffne...@gmail.com on 20 Dec 2012 at 4:50