[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #39 from David Sterba (dste...@suse.com) --- Though I don't like neither of the patches, I'll apply one of them so it works and we can think of a better fix later. -- You are receiving this mail because: You are on the CC list for

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-17 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #38 from Christophe Leroy (christophe.le...@c-s.fr) --- Le 30/07/2019 à 20:52, bugzilla-dae...@bugzilla.kernel.org a écrit : > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #2 from Andrew Morton

Re: [Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-17 Thread christophe leroy
Le 30/07/2019 à 20:52, bugzilla-dae...@bugzilla.kernel.org a écrit : https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #2 from Andrew Morton (a...@linux-foundation.org) --- (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). Reply

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #37 from Erhard F. (erhar...@mailbox.org) --- On Fri, 16 Aug 2019 15:20:47 + bugzilla-dae...@bugzilla.kernel.org wrote: Ok, tested the G5 + patch now. It boots from a btrfs partition with SLUB debugging + btrfs debug & selftests

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #36 from Erhard F. (erhar...@mailbox.org) --- On Fri, 16 Aug 2019 15:20:47 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #35 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #35 from Christophe Leroy (christophe.le...@c-s.fr) --- Le 16/08/2019 à 16:38, bugzilla-dae...@bugzilla.kernel.org a écrit : > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #34 from Erhard F.

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #34 from Erhard F. (erhar...@mailbox.org) --- On Fri, 16 Aug 2019 08:22:31 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #32 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #33 from Erhard F. (erhar...@mailbox.org) --- On Fri, 16 Aug 2019 08:22:31 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #32 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #32 from Christophe Leroy (christophe.le...@c-s.fr) --- I think first thing is to fix test_add_free_space_entry() : - replace the map = kzalloc(...) by map = (void *)get_zeroed_page(...) like in other places. - replace the kfree(map);

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #31 from Christophe Leroy (christophe.le...@c-s.fr) --- Problem 1: test_add_free_space_entry() contains a kzalloc() to allocate a bitmap. That's the problem. Problem 2: btrfs_free_dummy_fs_info() has 3 kfree(). Need to know which

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #30 from Erhard F. (erhar...@mailbox.org) --- On Thu, 15 Aug 2019 17:11:36 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #29 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #29 from Christophe Leroy (christophe.le...@c-s.fr) --- Looks good. Does it work better ? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #28 from Erhard F. (erhar...@mailbox.org) --- On Thu, 15 Aug 2019 16:45:11 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #27 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #27 from Christophe Leroy (christophe.le...@c-s.fr) --- Can you post the changes you did ? Did you replace the two kzalloc() by get_zeroed_page() as suggested ? If so, it looks like you missed one kfree() (in free_bitmap()) to be

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #26 from Erhard F. (erhar...@mailbox.org) --- On Wed, 14 Aug 2019 20:33:51 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > >--- Comment #24 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #25 from Christophe Leroy (christophe.le...@c-s.fr) --- You can use get_zeroed_page(GFP_NOFS) instead of __get_free_page(GFP_NOFS | __GFP_ZERO) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #24 from Christophe Leroy (christophe.le...@c-s.fr) --- It confirms what I suspected: due to some debug options, kzalloc() doesn't provide aligned areas. In __load_free_space_cache() can you replace e->bitmap = kzalloc(PAGE_SIZE,

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #23 from Erhard F. (erhar...@mailbox.org) --- On Wed, 14 Aug 2019 16:10:53 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #19 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added Attachment #284071|0 |1 is obsolete|

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #21 from Erhard F. (erhar...@mailbox.org) --- Created attachment 284399 --> https://bugzilla.kernel.org/attachment.cgi?id=284399=edit dmesg (PowerMac G4 DP, kernel 5.3-rc4 + debug patch) /dev/sdb2 mounted at boot, dmesg after

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #20 from Erhard F. (erhar...@mailbox.org) --- Created attachment 284397 --> https://bugzilla.kernel.org/attachment.cgi?id=284397=edit dmesg (PowerMac G4 DP, kernel 5.3-rc4 + debug patch) /dev/sdb2 mounted after booting, dmesg after

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #19 from Christophe Leroy (christophe.le...@c-s.fr) --- Created attachment 284389 --> https://bugzilla.kernel.org/attachment.cgi?id=284389=edit Patch to trace misaligned destination in copy_page() in asm on PPC32 Oops. Can you

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #18 from Erhard F. (erhar...@mailbox.org) --- On Wed, 14 Aug 2019 08:56:34 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #17 from Christophe Leroy

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #17 from Christophe Leroy (christophe.le...@c-s.fr) --- Created attachment 284379 --> https://bugzilla.kernel.org/attachment.cgi?id=284379=edit Patch to trace misaligned destination in copy_page() on PPC32 Can you try the attached

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 Christophe Leroy (christophe.le...@c-s.fr) changed: What|Removed |Added CC|

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #15 from Erhard F. (erhar...@mailbox.org) --- On Fri, 09 Aug 2019 12:31:26 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 # cat ~/bisect01.log binäre Suche: danach noch 37903

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added Attachment #284035|0 |1 is obsolete|

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #13 from Erhard F. (erhar...@mailbox.org) --- On Fri, 09 Aug 2019 12:31:26 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > [...] [ 22.809365]

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #12 from Erhard F. (erhar...@mailbox.org) --- On Fri, 09 Aug 2019 12:31:26 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > Tried a few LTS kernels on the G4 DP. Looks like

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #11 from m...@ellerman.id.au --- bugzilla-dae...@bugzilla.kernel.org writes: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #10 from David Sterba (dste...@suse.com) --- > In my case it happened on 5.3-rc3, with a

Re: [Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-09 Thread Michael Ellerman
bugzilla-dae...@bugzilla.kernel.org writes: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #10 from David Sterba (dste...@suse.com) --- > In my case it happened on 5.3-rc3, with a strestest. The same machine has been > running fstests periodically, with slab debug on, but

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #10 from David Sterba (dste...@suse.com) --- In my case it happened on 5.3-rc3, with a strestest. The same machine has been running fstests periodically, with slab debug on, but there are no slab reports like that. [ 8516.870046] BUG

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 David Sterba (dste...@suse.com) changed: What|Removed |Added CC||dste...@suse.com ---

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #8 from Erhard F. (erhar...@mailbox.org) --- Created attachment 284243 --> https://bugzilla.kernel.org/attachment.cgi?id=284243=edit kernel .config (PowerMac G5 11,2, kernel 5.3-rc3) -- You are receiving this mail because: You are

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #7 from Erhard F. (erhar...@mailbox.org) --- Created attachment 284241 --> https://bugzilla.kernel.org/attachment.cgi?id=284241=edit dmesg (PowerMac G5 11,2, kernel 5.3-rc3) -- You are receiving this mail because: You are on the

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #6 from Erhard F. (erhar...@mailbox.org) --- On Wed, 31 Jul 2019 12:09:54 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #4 from m...@ellerman.id.au --- >

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-08-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #5 from Erhard F. (erhar...@mailbox.org) --- On Wed, 31 Jul 2019 12:09:54 + bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #4 from m...@ellerman.id.au --- > > > I

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #4 from m...@ellerman.id.au --- bugzilla-dae...@bugzilla.kernel.org writes: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #2 from Andrew Morton (a...@linux-foundation.org) --- > (switched to email. Please

Re: [Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-07-31 Thread Michael Ellerman
bugzilla-dae...@bugzilla.kernel.org writes: > https://bugzilla.kernel.org/show_bug.cgi?id=204371 > > --- Comment #2 from Andrew Morton (a...@linux-foundation.org) --- > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > > On Mon, 29 Jul 2019

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #3 from Erhard F. (erhar...@mailbox.org) --- On Tue, 30 Jul 2019 11:52:44 -0700 Andrew Morton wrote: > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > > On Mon, 29 Jul 2019

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-07-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 --- Comment #2 from Andrew Morton (a...@linux-foundation.org) --- (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Mon, 29 Jul 2019 22:35:48 + bugzilla-dae...@bugzilla.kernel.org wrote:

[Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

2019-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204371 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added CC|