Bug 453635
| Summary: | kernel BUG at fs/ext4/mballoc.c:1648! | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeff Moyer <jmoyer> |
| Component: | kernel | Assignee: | Eric Sandeen <esandeen> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-11-10 14:50:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jeff Moyer
2008-07-01 16:45:25 UTC
OK, this is reproducible. Time for another reboot. 1640 static void ext4_mb_measure_extent(struct ext4_allocation_context *ac,
1641 struct ext4_free_extent *ex,
1642 struct ext4_buddy *e4b)
1643 {
1644 struct ext4_free_extent *bex = &ac->ac_b_ex;
1645 struct ext4_free_extent *gex = &ac->ac_g_ex;
1646
1647 BUG_ON(ex->fe_len <= 0);
1648 BUG_ON(ex->fe_len >= EXT4_BLOCKS_PER_GROUP(ac->ac_sb));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1649 BUG_ON(ex->fe_start >= EXT4_BLOCKS_PER_GROUP(ac->ac_sb));
1650 BUG_ON(ac->ac_status != AC_STATUS_CONTINUE);
Here's what fio is doing:
open("aio-test1.1.0", O_RDWR|O_CREAT|O_DIRECT, 0600) = 8
fstat(8, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
close(8) = 0
write(1, "aio-test1: Laying out IO file(s)"..., 55aio-test1: Laying out IO
file(s) (1 file(s) / 1024MiB)
) = 55
open("aio-test1.1.0", O_WRONLY|O_CREAT|O_TRUNC, 0644) = 8
ftruncate(8, 1073741824) = 0
syscall_285(0x8, 0, 0, 0x40000000, 0x40000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Message from syslogd@segfault at Jul 1 13:42:01 ...
kernel: ------------[ cut here ]------------
(sorry for so many updates, but this is crashing my desktop machine, so I can only get so far before I need to reboot!) And, of course, syscall 285 is fallocate (but we all knew that, given the stack trace): #define __NR_fallocate 285 __SYSCALL(__NR_fallocate, sys_fallocate) FYI, I booted 2.6.26-rc8 and could not reproduce the problem with that kernel. Pretty sure this is fixed now. |