lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 28 Feb 2007 18:39:39 -0500
From:	"linux-os \(Dick Johnson\)" <linux-os@...logic.com>
To:	"Linux kernel" <linux-kernel@...r.kernel.org>
Subject: Ramdisk size


Hello,
On an embedded system, I use two ramdisks. They are both
16 megabytes in size. I can create them interactively in
the normal way with mke2fs. However, when the system is
booted using isolinux, the RAM disks become corrupted.
Apparently isolinux.cfg's ramdisk_size (not documented,
only referenced, BYW) is not in 1k increments. That value
seems to affect all ramdisks, not just the `initrd` one.
I can prevent corruption by setting the value to 200000
(way too much). However I won't have any RAM left for
applications! I need to know how much RAM a ramdisk of
16386 bytes takes, and how to set it in isolinux.cfg
(what the multiplier is).

The file-system mounts properly, but a write of one byte
causes the following error:

EXT-FS error (Device ram2);
ext2_new_block: Allocation block in system zone block = 129

e2fsck reports:
 	+(129--256) + (8321--8448)
 	block bitmap differences

It's difficult to find out what is being corrupted because
`mke2fs` never creates the same thing twice!! There is some
time-stuff in it, therefore I can't find out what actually
is getting trashed. Currently, it doesn't look like anything
at the ends of the raw disk get trashed. Instead, it looks
like the ramdisk size when booted using isolinux is simply
not the same size as when the ramdisk contents were created.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.24 on an i686 machine (5592.65 BogoMips).
New book: http://www.AbominableFirebug.com/
_
..

****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@...logic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ