Discussion:
squashfs with lzma support
Muralitharan Perumal
2009-04-30 13:00:31 UTC
Permalink
Hi,

I have tried compressing the rootfs using mksquashfs with lzma support
like this:

mksquashfs ${ROOTFS_DIR} ${COMPRESSES_ROOTFS_FILE} -all-root -noappend
-lzma -b ${BLOCK_SIZE}

But the Kernel could not understand it. What am i missing here?

but it works without using lzma support.

Best Regards,
Murali


This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender. Pace plc is registered in England and Wales (Company no. 1672847) and our Registered Office is at Victoria Road, Saltaire, West Yorkshire, BD18 3LF, UK. Tel +44 (0) 1274 532000 Fax +44 (0) 1274 532010. <http://www.pace.com>
Save where otherwise agreed in writing between you and Pace (i) all orders for goods and/or services placed by you are made pursuant to Pace's standard terms and conditions of sale which may have been provided to you, or in any event are available at http://www.pace.com/uktcsale.pdf (ii) all orders for goods and/or services placed by Pace are subject to Pace's standard terms and conditions of purchase which may have been provided to you, or in any event are available at http://www.pace.com/uktcpurch.pdf. All other inconsistent terms in any other documentation including without limitation any purchase order, reschedule instruction, order acknowledgement, delivery note or invoice are hereby excluded.



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
Muralitharan Perumal
2009-04-30 14:02:59 UTC
Permalink
Hi,

Thanks for the reply. It identifies the squashfs compressed image but i
am getting this error:

RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 3841KiB [1 disk] into ram disk... done.
WARNING: at
/export/home/perumam1/B405_Head/Thirdparty/siliconvendor/marvell/os/linux/kernel/linux-2.6.x/fs/squashfs/uncomp.c:135
sqlzma_un()
[<c0113580>] (dump_stack+0x0/0x14) from [<c01f63d4>]
(sqlzma_un+0x24c/0x280)RAMDISK: squashfs filesystem found at block 0
[<c01f6188>] (sqlzma_un+0x0/0x280) from [<c01ee9a8>]
(squashfs_read_data+0x694/0x838)
r8:cfe1d000 r7:00000001 r6:c4600000 r5:c4600218 r4:00000218
[<c01ee314>] (squashfs_read_data+0x0/0x838) from [<c01ef074>]
(squashfs_get_cached_block+0x240/0x480)
[<c01eee34>] (squashfs_get_cached_block+0x0/0x480) from [<c01f3b80>]
(squashfs_read_inode_2+0x164/0xf74)
[<c01f3a1c>] (squashfs_read_inode_2+0x0/0xf74) from [<c01f2200>]
(squashfs_fill_super+0xed0/0x1050)
[<c01f1330>] (squashfs_fill_super+0x0/0x1050) from [<c018e7d4>]
(get_sb_bdev+0x12c/0x184)
[<c018e6a8>] (get_sb_bdev+0x0/0x184) from [<c01edf0c>]
(squashfs_get_sb+0x24/0x30)
[<c01edee8>] (squashfs_get_sb+0x0/0x30) from [<c018e170>]
(vfs_kern_mount+0x58/0x94)
[<c018e118>] (vfs_kern_mount+0x0/0x94) from [<c018e208>]
(do_kern_mount+0x3c/0xd8)
r8:c04c085c r7:c87d3000 r6:00000000 r5:c87d5000 r4:00008000
[<c018e1cc>] (do_kern_mount+0x0/0xd8) from [<c01a3c20>]
(do_mount+0x57c/0x5cc)
r9:00000000 r8:00008000 r7:c87d5000 r6:00000000 r5:00000000
r4:00000000
[<c01a36a4>] (do_mount+0x0/0x5cc) from [<c01a3cfc>] (sys_mount+0x8c/0xd4)
[<c01a3c70>] (sys_mount+0x0/0xd4) from [<c0008d70>]
(do_mount_root+0x28/0xb0)
r7:c85f2000 r6:00000000 r5:c85f202d r4:c85f200a
[<c0008d48>] (do_mount_root+0x0/0xb0) from [<c0008fec>]
(mount_block_root+0xf0/0x214)
r4:c85f200a
[<c0008efc>] (mount_block_root+0x0/0x214) from [<c000b75c>]
(initrd_load+0xb0/0x2f8)
[<c000b6ac>] (initrd_load+0x0/0x2f8) from [<c00092d8>]
(prepare_namespace+0xcc/0x150)
r5:c04dc028 r4:00000000
[<c000920c>] (prepare_namespace+0x0/0x150) from [<c00088fc>]
(kernel_init+0x214/0x270)
r5:00000000 r4:c04dc000
[<c00086e8>] (kernel_init+0x0/0x270) from [<c014c0a0>] (do_exit+0x0/0x7d4)
SQUASHFS error: sb_bread failed reading block 0xef9
SQUASHFS error: Unable to read cache block [3be559:6ce]
SQUASHFS error: Unable to read inode [3be559:6ce]

Any suggestions?

Best Regards,
Murali
Post by Muralitharan Perumal
Hi,
I have tried compressing the rootfs using mksquashfs with lzma support
mksquashfs ${ROOTFS_DIR} ${COMPRESSES_ROOTFS_FILE} -all-root -noappend
-lzma -b ${BLOCK_SIZE}
But the Kernel could not understand it. What am i missing here?
but it works without using lzma support.
Best Regards,
Murali
This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender. Pace plc is registered in England and Wales (Company no. 1672847) and our Registered Office is at Victoria Road, Saltaire, West Yorkshire, BD18 3LF, UK. Tel +44 (0) 1274 532000 Fax +44 (0) 1274 532010. <http://www.pace.com>
Save where otherwise agreed in writing between you and Pace (i) all orders for goods and/or services placed by you are made pursuant to Pace's standard terms and conditions of sale which may have been provided to you, or in any event are available at http://www.pace.com/uktcsale.pdf (ii) all orders for goods and/or services placed by Pace are subject to Pace's standard terms and conditions of purchase which may have been provided to you, or in any event are available at http://www.pace.com/uktcpurch.pdf. All other inconsistent terms in any other documentation including without limitation any purchase order, reschedule instruction, order acknowledgement, delivery note or invoice are hereby excluded.



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
Loading...