[Bug 495135] New: kiwi: heuristics to determine number of inodes for mkfs for USB image broken.
http://bugzilla.novell.com/show_bug.cgi?id=495135 Summary: kiwi: heuristics to determine number of inodes for mkfs for USB image broken. Classification: openSUSE Product: openSUSE 11.2 Version: Alpha 0 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Live Medium AssignedTo: ms@novell.com ReportedBy: eich@novell.com QAContact: qa@suse.de Found By: Development kiwi version affected: 3.41. In KIWIBoot.pm new() line 308 - 317 the number of inodes needed for an fs is determined by ('# of files for image' *2) if no --fs-maxinodes option is given. This number is subsequently used for all partitions when calling mkfs (KIWIBoot.pm lines 1769 - 1786. for the $boot device whose size is determined by the size of initrd + 10MB this might be too big. Having a global variable for the number of inodes seems to be wrong in the context of multiple partitions. Commenting out: if (! defined $main::FSNumInodes) { $main::FSNumInodes = $systemInodes; } fixes the issue. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c1
Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c2
--- Comment #2 from Egbert Eich
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c3
--- Comment #3 from Marcus Schaefer
8GB I don't see that problem. Anyway you are right. Could you post the log file with the error ?
I'm going to fix this asap -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c4
--- Comment #4 from Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c5
--- Comment #5 from Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c6
--- Comment #6 from Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c7
--- Comment #7 from Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c8
--- Comment #8 from Egbert Eich
http://bugzilla.novell.com/show_bug.cgi?id=495135
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c9
--- Comment #9 from Egbert Eich
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c10
Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c11
Egbert Eich
From log: [...] May-27 04:32:49 <3> : Failed creating filesystem: mke2fs 1.41.1 (01-Sep-2008) mke2fs: inode_size (128) * inodes_count (327980) too big for a filesystem with 32096 blocks, specify higher inode_ratio (-i) or lower inode count (-N).
failed May-27 04:32:50 <1> : EXEC [umount /tmp/kiwiloop.O1TulI 2>&1] May-27 04:32:50 <1> : EXEC [/sbin/kpartx -d /dev/loop0 2>&1] [...] May-27 04:35:32 <1> : EXEC [rm -rf /tmp/kiwiloop.O1TulI] May-27 04:35:32 <3> : KIWI exited with error(s) done [...] eich@sles11:~/Devel:Moblin/xorg-x11-server> rpm -q kiwi kiwi-3.53-80.1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c12
Marcus Schaefer
http://bugzilla.novell.com/show_bug.cgi?id=495135
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=495135#c13
Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com