Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Why is extfs filesystem mandatory?
@ 2010-09-07 13:23 James J. Dines
  2010-09-07 14:55 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: James J. Dines @ 2010-09-07 13:23 UTC (permalink / raw)
  To: buildroot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

While trying to build a large system I keep getting an error stating
that there is no room left on the device during the generation of the
ext2 filesystem.  It is my understanding that this is due to a hard
upper limit imposed by the genext2fs utility.

This would not be an issue for me if I could simply disable said step,
however there seems to be no way to disable generation of the ext2
filesystem in the menuconfig.

Is there a reason why this cannot be disabled?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMhjzbAAoJECSpOhdQESq64l8H/3+Plqt92ABJfCB+JJy93mfo
PXxYko6l37BtYcbFOWFxZ8H1yvrTzXvB86Wz2ffXtAfU+n1HqOMp0Z7P7puZplJ1
ppDbXTIyu2cS+EKLIFnLoSLX6Tr0jNdoUMP2vfU6/SsSDZzmutuudMU6RrdULbPG
YXUChySFxUjXfhnFZxHCUPcdbsxk9CVFZIn1CJjslSsnLDBOtdqAE5F6N/HL8IxF
NeLkwk2T/wkB47e9KIDeTWc05CMMeeZKYIbqvs6LX3WecP7gYiU+vEZxIea3ezL5
pruS596+ntpM4u8n1xppzvMvPE4CLRQpgo8oVnZZaFiBjBsbVIOoiP5go++8tZ8=
=8cMM
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Why is extfs filesystem mandatory?
  2010-09-07 13:23 [Buildroot] Why is extfs filesystem mandatory? James J. Dines
@ 2010-09-07 14:55 ` Thomas Petazzoni
  2010-09-07 16:34   ` James J. Dines
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2010-09-07 14:55 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 07 Sep 2010 09:23:41 -0400
"James J. Dines" <jdines@jdines.net> wrote:

> While trying to build a large system I keep getting an error stating
> that there is no room left on the device during the generation of the
> ext2 filesystem.  It is my understanding that this is due to a hard
> upper limit imposed by the genext2fs utility.

Hum, interesting. It is not the first time we have report from people
saying that fairly big filesystems cause failures while generating the
ext2 image. I don't know if it's a genext2fs problem, or if it's our
script that computes the number of inodes and blocks needed that does
something wrong. Would be good if someone could have a look into this.

> This would not be an issue for me if I could simply disable said step,
> however there seems to be no way to disable generation of the ext2
> filesystem in the menuconfig.
> 
> Is there a reason why this cannot be disabled?

make menuconfig
 -> Target filesystem options
   -> disable 'ext2 root filesystem'

Works here. It doesn't work for you ?

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Why is extfs filesystem mandatory?
  2010-09-07 14:55 ` Thomas Petazzoni
@ 2010-09-07 16:34   ` James J. Dines
  2010-09-07 16:53     ` Quotient Remainder
  0 siblings, 1 reply; 6+ messages in thread
From: James J. Dines @ 2010-09-07 16:34 UTC (permalink / raw)
  To: buildroot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/07/2010 10:55 AM, Thomas Petazzoni wrote:
> Hello,
> 
> On Tue, 07 Sep 2010 09:23:41 -0400
> "James J. Dines" <jdines@jdines.net> wrote:
> 
<snip>
> 
>> This would not be an issue for me if I could simply disable said step,
>> however there seems to be no way to disable generation of the ext2
>> filesystem in the menuconfig.
>>
>> Is there a reason why this cannot be disabled?
> 
> make menuconfig
>  -> Target filesystem options
>    -> disable 'ext2 root filesystem'
> 
> Works here. It doesn't work for you ?
> 
> Regards,
> 
> Thomas

In the menuconfig, under "Target Filesystems" I have an asterisk
surrounded by dashes, i.e.:

- -*- ext2 root filesystem

... rather than brackets.

If I do a make defconfig I can indeed disable it, so I have attached an
example config where it is disabled in case it will help track down the
seeming error in a dependency somewhere.






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMhmmxAAoJECSpOhdQESq65fkH/R6/rUPojzegplMfED9pdcT1
EDPkQsCnP0K3gVdXlB6qhAbh92IJJywC7jkF782LjEmQfMs/tsjYJs4uth+s02pw
c3dnwjjDr/RA2FtOUdo+skfPWLpE/6/SLzILYBAv1a/0rYyh42+8Da5sJP6FsiYq
OfU0/PDjKyXOGr6Rk6fnnA1Oi9vfw8Unx/eEW7h8PUd5MY4I7/oBYorqjW9R4OQq
7vuIVhqNJamAK339gP3A8xTv2ozn+p3gA+NmNovZn+m60P6VjBRuRhrkVsOXJlR2
6MeYSnLA6Bbb6scXOwQPtEf6tphCq5We+eW8N6Z3w5zpsjLaNmM/MdbD6bHKYQE=
=kH8y
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config-buildroot
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100907/23d7b156/attachment-0001.ksh>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Why is extfs filesystem mandatory?
  2010-09-07 16:34   ` James J. Dines
@ 2010-09-07 16:53     ` Quotient Remainder
  2010-09-07 17:42       ` James J. Dines
  0 siblings, 1 reply; 6+ messages in thread
From: Quotient Remainder @ 2010-09-07 16:53 UTC (permalink / raw)
  To: buildroot

Ar M?irt, 2010-09-07 ag 12:34 -0400, scr?obh James J. Dines:

> In the menuconfig, under "Target Filesystems" I have an asterisk
> surrounded by dashes, i.e.:
> 
> - -*- ext2 root filesystem

Do you have ISO9660 FS enabled by any chance?

From the help for ext2:
Selected by: BR2_TARGET_ROOTFS_ISO9660 && (BR2_i386 || BR2_x86_64) && BR2_LINUX_KERNEL

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Why is extfs filesystem mandatory?
  2010-09-07 16:53     ` Quotient Remainder
@ 2010-09-07 17:42       ` James J. Dines
  2010-09-07 19:03         ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: James J. Dines @ 2010-09-07 17:42 UTC (permalink / raw)
  To: buildroot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/07/2010 12:53 PM, Quotient Remainder wrote:
> Ar M?irt, 2010-09-07 ag 12:34 -0400, scr?obh James J. Dines:
> 
>> In the menuconfig, under "Target Filesystems" I have an asterisk
>> surrounded by dashes, i.e.:
>>
>> - -*- ext2 root filesystem
> 
> Do you have ISO9660 FS enabled by any chance?
> 
> From the help for ext2:
> Selected by: BR2_TARGET_ROOTFS_ISO9660 && (BR2_i386 || BR2_x86_64) && BR2_LINUX_KERNEL
> 
> 
Yes, that was the issue.  I have to admit I feel a bit foolish having
not looked more closely at the dependencies by choosong the help option,
but on the other hand I cannot imagine why this dependency exists.
Obviously one can have an iso image without having an ext2 filesystem,
or there would be no such thing as an iso image for Windows.

Or am I missing something?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMhnmWAAoJECSpOhdQESq67zsH/RobUwNThApVjeWikX29G9MK
qyS2Kiggg8c2DV6FKeOmwBPvDgTe1QxGnGdxAPG0SgWj+GPd2mVMiha7ZaGZR+tB
cEhtVBeTeDexelV8K+XLvTq3e6cLAVJ2uEuX7sc/L+P1aHlbgEdXc9MdTlUSnkic
xQ4CPX5MvrXyJXimGPipb7PUjS2u6g7rDCqhsrbFeN7B/nE1vlGDcxYCEeWRoi01
ww8KtcuaGPwKw/c5bKXEED42rkQoPQWeCvZdAZauH1IEJ6K8cIKxMft+xnBDMeDJ
/tdrhQLK1Q9scNqrTGEwZ/lwPrm8pL5VwxPZvPk9DH6g8eu0bvLK56V0Q7xJ6jQ=
=foEH
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Why is extfs filesystem mandatory?
  2010-09-07 17:42       ` James J. Dines
@ 2010-09-07 19:03         ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2010-09-07 19:03 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 07 Sep 2010 13:42:47 -0400
"James J. Dines" <jdines@jdines.net> wrote:

> Yes, that was the issue.  I have to admit I feel a bit foolish having
> not looked more closely at the dependencies by choosong the help
> option, but on the other hand I cannot imagine why this dependency
> exists. Obviously one can have an iso image without having an ext2
> filesystem, or there would be no such thing as an iso image for
> Windows.

Well, the ISO image is in fact a little bit more than just an ISO image
of the filesystem: it's a bootable ISO image, and the build process for
this image considers that the root filesystem is an ext2 initrd for the
ISO image.

From fs/iso9660/iso9660.mk :

        cp $(GRUB_DIR)/stage2/stage2_eltorito
        $(ISO9660_TARGET_DIR)/boot/grub/ cp $(ISO9660_BOOT_MENU)
        $(ISO9660_TARGET_DIR)/boot/grub/menu.lst cp
        $(LINUX26_IMAGE_PATH) $(ISO9660_TARGET_DIR)/kernel cp
        $(BINARIES_DIR)/rootfs.ext2 $(ISO9660_TARGET_DIR)/initrd

I must admit that I'm not an user of this feature, so when I did the
cleanup/rewrite of filesystem support, I left it as it was. Maybe it
needs to work differently.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-07 19:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-07 13:23 [Buildroot] Why is extfs filesystem mandatory? James J. Dines
2010-09-07 14:55 ` Thomas Petazzoni
2010-09-07 16:34   ` James J. Dines
2010-09-07 16:53     ` Quotient Remainder
2010-09-07 17:42       ` James J. Dines
2010-09-07 19:03         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox