linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Assmann <sassmann@kpanic.de>
To: Theodore Ts'o <tytso@mit.edu>
Cc: linux-ext4@vger.kernel.org
Subject: Re: RIP [<ffffffff812c3b77>] ext4_release_file+0x37/0xc0 with 4.5-rc6 when resuming from suspend
Date: Mon, 7 Mar 2016 09:31:33 +0100	[thread overview]
Message-ID: <56DD3C65.8010304@kpanic.de> (raw)
In-Reply-To: <20160306191010.GM10297@thunk.org>

On 06.03.2016 20:10, Theodore Ts'o wrote:
> On Sat, Mar 05, 2016 at 11:24:46AM +0100, Stefan Assmann wrote:
>> Occasionally when trying to resume from suspend to RAM I get the
>> following GPF.
>>
>>   Stefan
>>
>> [  882.344245] PM: resume of devices complete after 83682.775 msecs
>> [  882.420550] PM: Finishing wakeup.
>> [  882.420551] Restarting tasks ...·
>> [  882.420664] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
>> [  882.421141] done.
>> [  882.422027] usb 3-9.1.1: USB disconnect, device number 33
> 
> Hmm.... did you have a ext4 file system mounted on some kind of USB
> attached storage device (USB thumb drive, USB HDD, etc.)?

Hi Ted,

No, this USB hub only has mouse and keyboard attached, but it
occasionally times out on power-on. Something's not right there so it
could be related.

> 
>> [  882.461578] RIP: 0010:[<ffffffff812c3b77>]  [<ffffffff812c3b77>] ext4_release_file+0x37/0xc0
> 
> Also, can you translate this address to a file and line number?  Use
> the command:
> 
> addr2line -e /usr/src/linux/vmlinux -i -a ffffffff812c3b77

The kernel is from the Fedora Vanilla Repository [1] and IIRC they don't
provide debuginfo packages. If this provides vital information I can
build the kernel from source and provide the info.

> Also, if you could give the lines around fs/ext4/file.c (unless it is
> exactly 4.5-rc6 without any other changes or commit) that would also
> be helpful.

It is 4.5-rc6 without any changes.

> I don't see anything in ext4_release_file() that would obviously be a
> potential problem after a suspend/reasume.  One possibly is that some
> other piece of code is corrupting memory.
> 
>> [  882.459687] CPU: 7 PID: 5299 Comm: dhclient Tainted: G        W       4.5.0-0.rc6.git1.1.vanilla.knurd.1.fc23.x86_64 #1
> 
> Is it always dhclient which is trying to exit?

Most of the time the screen just stays black, so it's hard to tell. But
while trying to reproduce just now I hit a null pointer exception in
anon_vma_interval_tree_remove(), which happened right after initializing
the exact same USB hub. Your corruption theory is getting more likely.

> 
> If you can give a detailed description of your hardware configuration
> (what devices, what file systems / partitions you have mounted, etc.)
> that would be helpful.

Using a Lenovo w541 notebook with a Samsung 850 Evo SSD (500GB), no USB
storage devices attached.
Filesystem info
root@w541:~ > mount |grep ext
/dev/mapper/fedora_linux-root on / type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /boot type ext4 (rw,relatime,data=ordered)
/dev/mapper/fedora_linux-home on /home type ext4 (rw,relatime,data=ordered)
/dev/mapper/fedora_linux-home on /var/lib/libvirt/images type ext4 (rw,relatime,data=ordered)
/dev/mapper/fedora_linux-home on /var/lib/docker type ext4 (rw,relatime,data=ordered)

  Stefan

[1] https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-03-07  8:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 10:24 RIP [<ffffffff812c3b77>] ext4_release_file+0x37/0xc0 with 4.5-rc6 when resuming from suspend Stefan Assmann
2016-03-06 19:10 ` Theodore Ts'o
2016-03-07  8:31   ` Stefan Assmann [this message]
2016-03-08  8:33     ` Stefan Assmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56DD3C65.8010304@kpanic.de \
    --to=sassmann@kpanic.de \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).