Skip to contentSkip to conversation

New: Kernel doesn't build Ext2 support out-of-the-box

Buildroot bugzilla at busybox.net 4 participants 7 messages Dec 2, 2010 – Dec 22, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2875

Summary: Kernel doesn't build Ext2 support out-of-the-box
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: tuukka.pasanen at ilmi.fi
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Because kernel doesn't build Ext2 support out-of-the-box if you choose i386 for default config you can use iso-image without minor tuning of kernel .config file. This should work like initrd thing.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2875] Kernel doesn't build Ext2 support out-of-the-box

https://bugs.busybox.net/show_bug.cgi?id=2875

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Well, in general we only try to minimally interact with the kernel configuration. For example, regardless of whether IPv6 is enabled or not at the toolchain level, we do not enforce IPv6 configuration at the kernel level. Or it's not because you have enabled the iptables package that we enforce Netfilter configuration at the kernel level. I don't think Buildroot can replace the embedded developer Linux brain and skills, it would involve too much black magic.

Therefore, I'm tempted to say that we should live it as it is in the code. But we could definitely improve the documentation.

I will not mark the bug as WONTFIX, waiting for other Buildroot developers to comment.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2875] Kernel doesn't build Ext2 support out-of-the-box

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"bugzilla" == bugzilla <[email protected]> writes:

Hi,

bugzilla> https://bugs.busybox.net/show_bug.cgi?id=2875 --- Comment #1 bugzilla> from Thomas Petazzoni <[email protected]> bugzilla> --- Well, in general we only try to minimally interact with bugzilla> the kernel configuration. For example, regardless of whether bugzilla> IPv6 is enabled or not at the toolchain level, we do not bugzilla> enforce IPv6 configuration at the kernel level.

I agree, but you're giving a bad example:

linux/linux.mk:
ifeq ($(BR2_INET_IPV6),y)

        $(call KCONFIG_ENABLE_OPT,CONFIG_IPV6,$(@D)/.config)
else
        $(call KCONFIG_DISABLE_OPT,CONFIG_IPV6,$(@D)/.config)

endif

Which comes from:

commit 100c09a53b8806b2281a93ad21744d26f68bcc6b

Author: Thomas Petazzoni <[email protected]>
Date:   Tue Jun 8 13:56:19 2010 +0200

linux: adjust kernel config according to the Buildroot configuration

We only adjust the configuration or ARM EABI and IPv6. The (more complicated) initramfs case is handled in a separate commit. The user is expected to take care of all other configuration details (like having Netfilter enabled to make iptables work, etc.)

;)

bugzilla> I will not mark the bug as WONTFIX, waiting for other bugzilla> Buildroot developers to comment.

I vote for WONTFIX.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

[Buildroot] [Bug 2875] Kernel doesn't build Ext2 support out-of-the-box

Hello,

Quoted 17 lines · On Wed, 22 Dec 2010 11:11:27 +0100 Peter Korsgaard <[email protected]> wrote:

I agree, but you're giving a bad example:

linux/linux.mk:
ifeq ($(BR2_INET_IPV6),y)

        $(call KCONFIG_ENABLE_OPT,CONFIG_IPV6,$(@D)/.config)
else
        $(call KCONFIG_DISABLE_OPT,CONFIG_IPV6,$(@D)/.config)

endif

Which comes from:

commit 100c09a53b8806b2281a93ad21744d26f68bcc6b

Author: Thomas Petazzoni <[email protected]>
Date:   Tue Jun 8 13:56:19 2010 +0200

linux: adjust kernel config according to the Buildroot configuration

Quoted 8 lines

We only adjust the configuration or ARM EABI and IPv6. The (more complicated) initramfs case is handled in a separate commit. The user is expected to take care of all other configuration details (like having Netfilter enabled to make iptables work, etc.)

;)

Notice that this commit was not *introducing* this, it was only
re-adding that feature into the new linux/linux.mk Makefile. See
http://git.buildroot.net/buildroot/tree/target/linux/Makefile.in.advanced?id=2010.05#n342 :-)

So, yes I'm contradicting myself, but not that much :-)

Quoted 4 lines

bugzilla> I will not mark the bug as WONTFIX, waiting for other bugzilla> Buildroot developers to comment.

I vote for WONTFIX.

Ok. I think the IPv6 could also be removed (it's not because you have an IPv6 capable toolchain that you necessarly want IPv6 in your kernel). The EABI one is more or less justified, because we would otherwise have hundreds of bug reports saying that userspace programs do not start.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#4 lore raw

[Buildroot] [Bug 2875] Kernel doesn't build Ext2 support out-of-the-box

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

I vote for WONTFIX.

Thomas> Ok. I think the IPv6 could also be removed (it's not because you have Thomas> an IPv6 capable toolchain that you necessarly want IPv6 in your kernel). Thomas> The EABI one is more or less justified, because we would otherwise have Thomas> hundreds of bug reports saying that userspace programs do not start.

Agreed.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

[Buildroot] [Bug 2875] Kernel doesn't build Ext2 support out-of-the-box

Quoted 10 lines · Peter Korsgaard
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

I vote for WONTFIX.

Thomas> Ok. I think the IPv6 could also be removed (it's not because you have Thomas> an IPv6 capable toolchain that you necessarly want IPv6 in your kernel). Thomas> The EABI one is more or less justified, because we would otherwise have Thomas> hundreds of bug reports saying that userspace programs do not start.

Agreed.

Also ext2 can be used by ext3 and ext4 in the kernel, so it would make things far more complicated.

#6 lore raw

[Buildroot] [Bug 2875] Kernel doesn't build Ext2 support out-of-the-box

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2875

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Thomas Petazzoni <[email protected]> --- See http://lists.busybox.net/pipermail/buildroot/2010-December/040028.html for Peter Korsgaard opinion on this, which agrees with the WONTFIX proposal.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.