Re: BUG in toi_get_pageset1_load_addresses() on 4.1.9

Nigel Cunningham <[email protected]> Sat, 03 Oct 2015 07:50:15 +1000
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
--===============1044972254==
Content-Type: multipart/alternative; boundary="----WLG2UNVYOP9MC8LIF7D30RNNQQ4SZ0"
Content-Transfer-Encoding: 7bit

------WLG2UNVYOP9MC8LIF7D30RNNQQ4SZ0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Florian.

Would you please run

addr2line -e vmlinux 0xc105ac5d

(Assuming I remember the parameters correctly! ) from the root of your bu=
ild tree?  That should give the exact file and line of the statement that=
 died.=20

Regards,=20

Nigel

On 3 October 2015 01:32:55 GMT+10:00, Florian Zumbiehl <[email protected]> w=
rote:
>Hi,
>
>I just upgraded the kernel on this machine to version 4.1.9, patched
>with
>tuxonice-for-linux-4.1.9-2015-10-02.patch.bz2, but unfortunately,
>trying to
>resume results in a BUG:
>
>------------------------------------------------------------------------=
---
>Kernel BUG at c105ac5d [verbose debug info unavailable]
>invalid opcode: 0000 [#1]
>[...]
>Call trace:
> [<c105ff17>] ? toi_finish_all_io+0x37/0xa0
> [<c1059d87>] ? read_pageset1+0x507/0x8a0
> [<c1056b3b>] ? do_load_atomic_copy+0x6b/0xb0
> [<c1056e43>] ? do_check_can_resume+0x33/0x70
> [<c1057165>] ? toi_try_resume+0x65/0x80
> [<c10559ea>] ? toi_attr_store+0xfa/0x2f0
> [<c10d7754>] ? __kmalloc+0x44/0x150
> [<c1131990>] ? sysfs_kf_bin_read+0x100/0x100
> [<c11319c6>] ? sysfs_kf_write+0x36/0x60
> [<c1130cd8>] ? kernfs_fop_write+0xf8/0x140
> [<c1130be0>] ? kernfs_vma_page_mkwrite+0x80/0x80
> [<c10def96>] ? __vfs_write+0x26/0x120
> [<c10dfe07>] ? vfs_write+0x87/0x160
> [<c102db5e>] ? __do_page_fault+0x12e/0x3b0
> [<c10e00dd>] ? SyS_write+0x4d/0xa0
> [<c13314b6>] ? syscall_call+0x7/0x7
>Code: 00 89 54 24 10 31 d2 89 54 24 08 ff 50 1c 8b 44 24 48 39 44 24 2c
>8b 54 24 34 0f 85 e7 fc ff ff 89 2a ff 44 24 3c e9 05 fd ff ff <0f> 0b
>66 c7 07 00 00 83 c7 02 f6 c3 01 0f 84 40 fa ff ff e9 1a
>EIP: [<c105ac5d>] toi_get_pageset1_load_addresses+0x66d/0x730 SS:ESP
>0068:f5b69df8
>------------------------------------------------------------------------=
---
>
>As I had to transcribe this by hand, I left out the hopefully not so
>important parts--also, the registers are pretty blurred in the picture
>I
>transcribed from ... ;-)
>
>The setup writes the image to swap on dmcrypt on lvm on ata disk.
>
>If you need any further information or have any suggestions how to
>debug
>this, please let me know!
>
>Regards, Florian
>_______________________________________________
>TuxOnIce-devel mailing list
>[email protected]
>http://lists.tuxonice.net/listinfo/tuxonice-devel

--=20
Sent from my Android device with K-9 Mail. Please excuse my brevity.
------WLG2UNVYOP9MC8LIF7D30RNNQQ4SZ0
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>Hi Florian.<br>
<br>
Would you please run<br>
<br>
addr2line -e vmlinux 0xc105ac5d<br>
<br>
(Assuming I remember the parameters correctly! ) from the root of your bu=
ild tree?  That should give the exact file and line of the statement that=
 died. <br>
<br>
Regards, <br>
<br>
Nigel<br><br><div class=3D"gmail_quote">On 3 October 2015 01:32:55 GMT+10=
:00, Florian Zumbiehl &lt;[email protected]&gt; wrote:<blockquote class=3D"g=
mail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rg=
b(204, 204, 204); padding-left: 1ex;">
<pre class=3D"k9mail">Hi,<br /><br />I just upgraded the kernel on this m=
achine to version 4.1.9, patched with<br />tuxonice-for-linux-4.1.9-2015-=
10-02.patch.bz2, but unfortunately, trying to<br />resume results in a BU=
G:<br /><br /><hr /><br />Kernel BUG at c105ac5d [verbose debug info unav=
ailable]<br />invalid opcode: 0000 [#1]<br />[...]<br />Call trace:<br />=
 [&lt;c105ff17&gt;] ? toi_finish_all_io+0x37/0xa0<br /> [&lt;c1059d87&gt;=
] ? read_pageset1+0x507/0x8a0<br /> [&lt;c1056b3b&gt;] ? do_load_atomic_c=
opy+0x6b/0xb0<br /> [&lt;c1056e43&gt;] ? do_check_can_resume+0x33/0x70<br=
 /> [&lt;c1057165&gt;] ? toi_try_resume+0x65/0x80<br /> [&lt;c10559ea&gt;=
] ? toi_attr_store+0xfa/0x2f0<br /> [&lt;c10d7754&gt;] ? __kmalloc+0x44/0=
x150<br /> [&lt;c1131990&gt;] ? sysfs_kf_bin_read+0x100/0x100<br /> [&lt;=
c11319c6&gt;] ? sysfs_kf_write+0x36/0x60<br /> [&lt;c1130cd8&gt;] ? kernf=
s_fop_write+0xf8/0x140<br /> [&lt;c1130be0&gt;] ? kernfs_vma_page_mkwrite=
+0x80/0x80<br /> [&lt;c10def96&gt;] ?
__vfs_write+0x26/0x120<br /> [&lt;c10dfe07&gt;] ? vfs_write+0x87/0x160<br=
 /> [&lt;c102db5e&gt;] ? __do_page_fault+0x12e/0x3b0<br /> [&lt;c10e00dd&=
gt;] ? SyS_write+0x4d/0xa0<br /> [&lt;c13314b6&gt;] ? syscall_call+0x7/0x=
7<br />Code: 00 89 54 24 10 31 d2 89 54 24 08 ff 50 1c 8b 44 24 48 39 44 =
24 2c 8b 54 24 34 0f 85 e7 fc ff ff 89 2a ff 44 24 3c e9 05 fd ff ff &lt;=
0f&gt; 0b 66 c7 07 00 00 83 c7 02 f6 c3 01 0f 84 40 fa ff ff e9 1a<br />E=
IP: [&lt;c105ac5d&gt;] toi_get_pageset1_load_addresses+0x66d/0x730 SS:ESP=
 0068:f5b69df8<br /><hr /><br /><br />As I had to transcribe this by hand=
, I left out the hopefully not so<br />important parts--also, the registe=
rs are pretty blurred in the picture I<br />transcribed from ... ;-)<br /=
><br />The setup writes the image to swap on dmcrypt on lvm on ata disk.<=
br /><br />If you need any further information or have any suggestions ho=
w to debug<br />this, please let me know!<br /><br />Regards, Florian<br =
/><hr /><br />TuxOnIce-devel mailing list<br
/>[email protected]<br /><a href=3D"http://lists.tuxonice=
.net/listinfo/tuxonice-devel">http://lists.tuxonice.net/listinfo/tuxonice=
-devel</a></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</bod=
y></html>
------WLG2UNVYOP9MC8LIF7D30RNNQQ4SZ0--


--===============1044972254==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVHV4T25JY2Ut
ZGV2ZWwgbWFpbGluZyBsaXN0ClR1eE9uSWNlLWRldmVsQGxpc3RzLnR1eG9uaWNlLm5ldApodHRw
Oi8vbGlzdHMudHV4b25pY2UubmV0L2xpc3RpbmZvL3R1eG9uaWNlLWRldmVs

--===============1044972254==--