Skip to contentSkip to conversation

New: ext4_da_writepages error while downloading a file w/firefox

Bug 12424 [email protected] 2 participants 10 messages Jan 11, 2009 – Aug 18, 2009

lore
Share & tools
lore
#0 lore raw

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

Summary: ext4_da_writepages error while downloading a file
w/firefox
Product: File System
Version: 2.5
KernelVersion: 2.6.27.10
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
AssignedTo: [email protected]
ReportedBy: [email protected]

Distribution:

Debian testing/unstable

Software Environment:

Kernel is actually from http://wiki.debian.org/DebianKernel. Version is 2.6.27-1~experimental.1~snapshot.12516, which appears to be based on 2.6.27.10.

Problem Description:

I was downloading a file in firefox when my machine starting beeping and I repeatedly had a stacktrace printed to a terminal (see photo).

Steps to reproduce:

This may or may not be related, but ever since I backed up and restored to a new ext4 filesystem, I've had a lot of trouble downloading stuff with firefox. Symptoms are I'll get to 100% completed download and then it hangs. The directory contains the normal .part but firefox never moves it to the proper name (i.e. whatever.part -> whatever). Most stuff still downloads ok, but I'd estimate since I've gone ext3->ext4 this has happened ~5 times. Also, I'm pretty sure when this happens the download isn't 100% correct. The one time I checked the md5sum did not match.

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 12424] ext4_da_writepages error while downloading a file w/firefox

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

------- Comment #1 from [email protected] 2009-01-10 19:53 ------- Created an attachment (id=19740)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19740&action=view)
backtrace from console

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 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

------- Comment #2 from [email protected] 2009-01-10 20:02 ------- This is journal_start failing:

                /* start a new transaction*/
                handle = ext4_journal_start(inode, needed_blocks);
                if (IS_ERR(handle)) {
                        ret = PTR_ERR(handle);
                        printk(KERN_EMERG "%s: jbd2_start: "
                               "%ld pages, ino %lu; err %d\n", __func__,
                                wbc->nr_to_write, inode->i_ino, ret);
                        dump_stack();
                        goto out_writepages;
                }

with error -30, which is EROFS.

Were there other messages before this, maybe an errors=remount-readonly sort of filesystem problem? Did the filesystem go readonly?

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.
#3 lore raw

[Bug 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

------- Comment #3 from [email protected] 2009-01-10 20:08 ------- Yes, the filesystem went read only. Unfortunately, I wasn't in the room when it happened and by the time I came in, dmesg was just filled with this backtrace. If it helps, I snapped pictures of the fsck on reboot too. I'll attach those.

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 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

------- Comment #4 from [email protected] 2009-01-10 20:08 ------- Created an attachment (id=19741)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19741&action=view)
fsck part 1

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.
#5 lore raw

[Bug 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

------- Comment #5 from [email protected] 2009-01-10 20:09 ------- Created an attachment (id=19742)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19742&action=view)
fsck part 2

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.
#6 lore raw

[Bug 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

------- Comment #6 from [email protected] 2009-01-12 07:07 ------- There was at least one ext4 bug that could have caused this that was fixed in
2.6.28 as well as in the 2.6.29 merge window. Unfortunately, we need to see
the original bug to know which bug might as caused the problem. There was
also a more recent bug fix that makes ext4_da_writepages much less verbose, since that tends to hide the original root cause of the problem....

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.
#7 lore raw

[Bug 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

Theodore Tso <[email protected]> changed:

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

                 CC|                            |[email protected]
         Regression|---                         |No

--- Comment #7 from Theodore Tso <[email protected]> 2009-05-19 18:41:23 --- Any luck reproducing this problem, especially on a more recent kernel version?

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.
#8 lore raw

[Bug 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

--- Comment #8 from Avery Fay <[email protected]> 2009-05-20 20:22:27 --- This has not happened again both on 2.6.27 and on 2.6.29 (what I'm running now).

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.
#9 lore raw

[Bug 12424] ext4_da_writepages error while downloading a file w/firefox

In reply to [email protected]

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

Eric Sandeen <[email protected]> changed:

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

                 CC|                            |[email protected]
         AssignedTo|[email protected] |[email protected]
                   |g                           |

--- Comment #9 from Eric Sandeen <[email protected]> 2009-08-18 17:36:31 --- Assigning to myself so I can close.

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.