Skip to contentSkip to conversation

New: kernel build warning causes EXT4 boot warning

Bug 12790 [email protected] 2 participants 5 messages Feb 28, 2009 – May 19, 2009

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=12790

Summary: kernel build warning causes EXT4 boot warning
Product: File System
Version: 2.5
KernelVersion: 2.6.28.7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version: unknown
Earliest failing kernel version: unknown
Distribution: Slamd64
Hardware Environment: Toshiba Satellite P200
Software Environment: n/a
Problem Description: Boot message:
EXT4-fs warning (device sda1): ext4_fill_super: extents feature not enabled on this filesystem, use tune2fs.
Steps to reproduce: boot into Linux

I get these lines when I build the kernel:
CC fs/ext4/super.o
fs/ext4/super.c: In function 'ext4_fill_super':
fs/ext4/super.c:2177: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'ext4_group_t'

See .config attached. I also noticed several patches on Google, but am reluctant to apply them.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#1 lore raw

[Bug 12790] kernel build warning causes EXT4 boot warning

http://bugzilla.kernel.org/show_bug.cgi?id=12790

------- Comment #1 from [email protected] 2009-02-28 02:26 ------- Created an attachment (id=20388)
--> (http://bugzilla.kernel.org/attachment.cgi?id=20388&action=view)
.config

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#2 lore raw

[Bug 12790] kernel build warning causes EXT4 boot warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=12790

------- Comment #2 from [email protected] 2009-02-28 06:12 ------- The two are unrelated. The boot-time warning is because you are using the ext4 filesystem driver on a file system that does not have extents. This is harmless unless it's not what you wanted to do. This might be because you have ext4 built into a system where you have an ext2 root file system, or because you explicitly asked for the filesystem to be mounted with ext4 even though it doesn't have the extents feature enabled.

The build warning is harmless, and is fixed in 2.6.29 when we make ext4_group_t be an unsigned int --- it has no need to be an unsigned long.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#4 lore raw

[Bug 12790] kernel build warning causes EXT4 boot warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=12790

Theodore Tso <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID
         Regression|---                         |No
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.