All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 202989] New: kernel panic during F2FS GC
@ 2019-03-21 14:39 bugzilla-daemon
  2019-03-22  2:07 ` [Bug 202989] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-21 14:39 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

            Bug ID: 202989
           Summary: kernel panic during F2FS GC
           Product: File System
           Version: 2.5
    Kernel Version: 4.14.81
          Hardware: ARM
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: f2fs
          Assignee: filesystem_f2fs@kernel-bugs.kernel.org
          Reporter: hlianjun@gmail.com
        Regression: No

kernel panic twice during F2FS GC.

dmesg as below:

[ 4983.497816] ------------[ cut here ]------------
[ 4983.497831] kernel BUG at /ap/kernel/msm-4.14/fs/f2fs/segment.h:654!
[ 4983.497847] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 4983.497871] ipa ipa3_active_clients_panic_notifier:262 
[ 4983.497871] ---- Active Clients Table ----
[ 4983.497871] TAG_PROCESS                              -22 SPECIAL
[ 4983.497871] 
[ 4983.497871] Total active clients count: 0
[ 4983.497871] 
[ 4983.497896] Kernel Offset: 0x4a00000 from 0xffffff8008000000
[ 4983.497903] CPU features: 0x05022218
[ 4983.497908] Memory Limit: none

[ 4983.497990] CPU: 1 PID: 517 Comm: f2fs_gc-259:28 Tainted: G S      W  O   
4.14.81-perf+ #1
[ 4983.497994] Hardware name: Qualcomm Technologies, Inc. SM6150 PM6150
Qualcomm Technologies, Inc. SM6150 QRD (DT)
[ 4983.498000] task: ffffffcda8e3bc00 task.stack: ffffff8015ff8000
[ 4983.498016] pc : f2fs_submit_page_bio+0xcc/0x710
[ 4983.498022] lr : f2fs_gc+0x10ac/0x2658
[ 4983.498027] sp : ffffff8015ffbab0 pstate : 00c00145
[ 4983.498031] x29: ffffff8015ffbb10 x28: ffffffcc97a20000 
[ 4983.498037] x27: ffffffcc97a20270 x26: 0000000000041202 
[ 4983.498044] x25: ffffffcd2ea84641 x24: 0000000000000000 
[ 4983.498050] x23: 00000000000000e4 x22: ffffffbf34baa200 
[ 4983.498056] x21: ffffffbf34ad1980 x20: ffffff8015ffbcf0 
[ 4983.498062] x19: ffffffcc97a20000 x18: 0000000001b3d600 
[ 4983.498068] x17: 0000000000000200 x16: 000000000000d9eb 
[ 4983.498074] x15: 0000000000000009 x14: ffffffcdaaa91e54 
[ 4983.498080] x13: ffffffbf34ad1980 x12: 0000000000000001 
[ 4983.498086] x11: ffffffcdaaa91e5c x10: ffffffcdaaa91e50 
[ 4983.498092] x9 : ffffffcdab64e800 x8 : 00000000ffffffff 
[ 4983.498098] x7 : 2ae5373e5569c600 x6 : ffffff800e6f1ba0 
[ 4983.498104] x5 : 0000000000000000 x4 : ffffffcc97a20170 
[ 4983.498110] x3 : ffffffbf34ad1980 x2 : 0000000001b3d800 
[ 4983.498117] x1 : ffffffbf34ad1980 x0 : ffffff8015ffbcf0 
[ 4983.498124] 
[ 4983.498124] PC: 0xffffff800ce243b4:
[ 4983.498130] 43b4  6b0801ff 540001e8 b4000090 9101420a 9101720b 14000004
f9400933 9101226a
[ 4983.498145] 43d4  9100c26b b9400170 b944312f b9400151 1acf2212 0b110242
6b08005f 54000208
[ 4983.498158] 43f4  d4210000 14000000 f9400925 910120ac b940018d 6b0801bf
540030a8 b4000071
[ 4983.498171] 4414  9101522d 14000003 f9400926 910170cd b94001ae 6b0801df
54002fa9 d001000a
[ 4983.498185] 
[ 4983.498185] LR: 0xffffff800ce21acc:
[ 4983.498191] 1acc  2a1f03e7 f81683b6 292b8ba2 940063c6 f85403a5 52800803
b85043a1 321f07e2
[ 4983.498205] 1aec  72a02803 f940c0b0 f9401a00 97f7bf56 f81703a0 b4002a00
d10303a0 94000a08
[ 4983.498218] 1b0c  2a0003f8 340029d8 f85703bb b400369b f9401366 d10004cf
f24000df 9a8f0360
[ 4983.498230] 1b2c  f940000d 3607c8cd aa1b03e0 97f7bcca f940136e d10005d1
f24001df 9a910360
[ 4983.498244] 
[ 4983.498244] SP: 0xffffff8015ffba70:
[ 4983.498250] ba70  0ce243f4 ffffff80 00c00145 00000000 00000000 00000000
5569c600 2ae5373e
[ 4983.498263] ba90  ffffffff ffffffff 00f142a7 00000000 15ffbb10 ffffff80
0ce243f4 ffffff80
[ 4983.498276] bab0  15ffbb10 ffffff80 97a20000 ffffffcc 97a20000 ffffffcc
97a20270 ffffffcc
[ 4983.498289] bad0  00041202 00000000 2ea84641 ffffffcd 00000000 00000000
000000e4 00000000
[ 4983.498302] 
[ 4983.498307] Process f2fs_gc-259:28 (pid: 517, stack limit =
0xffffff8015ff8000)
[ 4983.498311] Call trace:
[ 4983.498318]  f2fs_submit_page_bio+0xcc/0x710
[ 4983.498323]  f2fs_gc+0x10ac/0x2658
[ 4983.498329]  gc_thread_func+0x188/0x398
[ 4983.498339]  kthread+0x110/0x120
[ 4983.498346]  ret_from_fork+0x10/0x18
[ 4983.498355] Code: 1acf2212 0b110242 6b08005f 54000208 (d4210000) 
[ 4983.498363] ---[ end trace 48f10a63e91d9ade ]---

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
@ 2019-03-22  2:07 ` bugzilla-daemon
  2019-03-22  4:08 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-22  2:07 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

Chao Yu (chao@kernel.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chao@kernel.org

--- Comment #1 from Chao Yu (chao@kernel.org) ---
Could you list related kernel source code link address? and please use last
fsck.f2fs to check whether image was corrupted.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
  2019-03-22  2:07 ` [Bug 202989] " bugzilla-daemon
@ 2019-03-22  4:08 ` bugzilla-daemon
  2019-03-22  9:02 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-22  4:08 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

--- Comment #2 from Lianjun Huang (hlianjun@gmail.com) ---
(In reply to Chao Yu from comment #1)
> Could you list related kernel source code link address? and please use last
> fsck.f2fs to check whether image was corrupted.

I am sorry but there is no public URL for the source code. The kernel version
is 4.14.81. I will check the image later.

I would like to clarify that kernel panic are from two different machines. And
both new_blkaddr and old_blkaddr of fio are 0xFFFFFFFF.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
  2019-03-22  2:07 ` [Bug 202989] " bugzilla-daemon
  2019-03-22  4:08 ` bugzilla-daemon
@ 2019-03-22  9:02 ` bugzilla-daemon
  2019-03-22  9:24 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-22  9:02 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

Chao Yu (chao@kernel.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Chao Yu (chao@kernel.org) ---
(In reply to Lianjun Huang from comment #2)
> (In reply to Chao Yu from comment #1)
> > Could you list related kernel source code link address? and please use last
> > fsck.f2fs to check whether image was corrupted.
> 
> I am sorry but there is no public URL for the source code. The kernel

Oops, at least please pasting related source code at below places:
- f2fs_submit_page_bio()
- /ap/kernel/msm-4.14/fs/f2fs/segment.h:654

BTW, it will be hard for me to figure out the root cause if there is any other
private modification in your 4.14.81 kernel, such as Qualcomm's inline
encryption...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-03-22  9:02 ` bugzilla-daemon
@ 2019-03-22  9:24 ` bugzilla-daemon
  2019-03-22  9:26 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-22  9:24 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

--- Comment #4 from Lianjun Huang (hlianjun@gmail.com) ---
Created attachment 281961
  --> https://bugzilla.kernel.org/attachment.cgi?id=281961&action=edit
f2fs_submit_page_bio and  the file segment.h

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-03-22  9:24 ` bugzilla-daemon
@ 2019-03-22  9:26 ` bugzilla-daemon
  2019-03-22  9:27 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-22  9:26 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

Lianjun Huang (hlianjun@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #281961|f2fs_submit_page_bio and    |f2fs_submit_page_bio
        description|the file segment.h          |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-03-22  9:26 ` bugzilla-daemon
@ 2019-03-22  9:27 ` bugzilla-daemon
  2019-03-23  2:51 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-22  9:27 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

--- Comment #5 from Lianjun Huang (hlianjun@gmail.com) ---
Created attachment 281963
  --> https://bugzilla.kernel.org/attachment.cgi?id=281963&action=edit
the file segment.h

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (5 preceding siblings ...)
  2019-03-22  9:27 ` bugzilla-daemon
@ 2019-03-23  2:51 ` bugzilla-daemon
  2019-03-23  7:38 ` [Bug 202989] [MSM-4.14] " bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-23  2:51 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

--- Comment #6 from Chao Yu (chao@kernel.org) ---
> I would like to clarify that kernel panic are from two different machines.
> And both new_blkaddr and old_blkaddr of fio are 0xFFFFFFFF.

Okay, so that we need to add log to track block address return from
f2fs_allocate_data_block(). If it allocates 0xffffffff, should kernel panic in
update_sit_entry() in prior to f2fs_submit_page_bio()?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] [MSM-4.14] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (6 preceding siblings ...)
  2019-03-23  2:51 ` bugzilla-daemon
@ 2019-03-23  7:38 ` bugzilla-daemon
  2019-03-25  3:38 ` bugzilla-daemon
  2019-03-25  4:02 ` bugzilla-daemon
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-23  7:38 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

Chao Yu (chao@kernel.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|kernel panic during F2FS GC |[MSM-4.14] kernel panic
                   |                            |during F2FS GC

--- Comment #7 from Chao Yu (chao@kernel.org) ---
I've changed this issue's title to indicate it is from private code repo.

Could you add to Cc below email address of qualcomm's guys, since maybe they
can provide some help.

stummala@codeaurora.org
riteshh@codeaurora.org

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] [MSM-4.14] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (7 preceding siblings ...)
  2019-03-23  7:38 ` [Bug 202989] [MSM-4.14] " bugzilla-daemon
@ 2019-03-25  3:38 ` bugzilla-daemon
  2019-03-25  3:46   ` Chao Yu
  2019-03-25  4:02 ` bugzilla-daemon
  9 siblings, 1 reply; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-25  3:38 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

--- Comment #8 from Lianjun Huang (hlianjun@gmail.com) ---
(In reply to Chao Yu from comment #7)
> I've changed this issue's title to indicate it is from private code repo.
It is OK.

> 
> Could you add to Cc below email address of qualcomm's guys, since maybe they
> can provide some help.
> 
> stummala@codeaurora.org
> riteshh@codeaurora.org

I failed to CC the email addresses above, they seem not to register kernel
Bugzilla.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Bug 202989] [MSM-4.14] kernel panic during F2FS GC
  2019-03-25  3:38 ` bugzilla-daemon
@ 2019-03-25  3:46   ` Chao Yu
  2019-03-25 12:56     ` Sahitya Tummala
  0 siblings, 1 reply; 13+ messages in thread
From: Chao Yu @ 2019-03-25  3:46 UTC (permalink / raw)
  To: Sahitya Tummala, Ritesh Harjani; +Cc: bugzilla-daemon, linux-f2fs-devel

On 2019/3/25 11:38, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=202989
> 
> --- Comment #8 from Lianjun Huang (hlianjun@gmail.com) ---
> (In reply to Chao Yu from comment #7)
>> I've changed this issue's title to indicate it is from private code repo.
> It is OK.
> 
>>
>> Could you add to Cc below email address of qualcomm's guys, since maybe they
>> can provide some help.
>>
>> stummala@codeaurora.org
>> riteshh@codeaurora.org
> 
> I failed to CC the email addresses above, they seem not to register kernel
> Bugzilla.

Let me Cc them directly. :)

To Sahitya, Ritesh

Do you have time to take a look at this issue?

Thanks,

> 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 202989] [MSM-4.14] kernel panic during F2FS GC
  2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
                   ` (8 preceding siblings ...)
  2019-03-25  3:38 ` bugzilla-daemon
@ 2019-03-25  4:02 ` bugzilla-daemon
  9 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-03-25  4:02 UTC (permalink / raw)
  To: linux-f2fs-devel

https://bugzilla.kernel.org/show_bug.cgi?id=202989

--- Comment #9 from yuchao0@huawei.com ---
On 2019/3/25 11:38, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=202989
> 
> --- Comment #8 from Lianjun Huang (hlianjun@gmail.com) ---
> (In reply to Chao Yu from comment #7)
>> I've changed this issue's title to indicate it is from private code repo.
> It is OK.
> 
>>
>> Could you add to Cc below email address of qualcomm's guys, since maybe they
>> can provide some help.
>>
>> stummala@codeaurora.org
>> riteshh@codeaurora.org
> 
> I failed to CC the email addresses above, they seem not to register kernel
> Bugzilla.

Let me Cc them directly. :)

To Sahitya, Ritesh

Do you have time to take a look at this issue?

Thanks,

>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Bug 202989] [MSM-4.14] kernel panic during F2FS GC
  2019-03-25  3:46   ` Chao Yu
@ 2019-03-25 12:56     ` Sahitya Tummala
  0 siblings, 0 replies; 13+ messages in thread
From: Sahitya Tummala @ 2019-03-25 12:56 UTC (permalink / raw)
  To: Chao Yu; +Cc: bugzilla-daemon, linux-f2fs-devel

On Mon, Mar 25, 2019 at 11:46:59AM +0800, Chao Yu wrote:
> On 2019/3/25 11:38, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=202989
> > 
> > --- Comment #8 from Lianjun Huang (hlianjun@gmail.com) ---
> > (In reply to Chao Yu from comment #7)
> >> I've changed this issue's title to indicate it is from private code repo.
> > It is OK.
> > 
> >>
> >> Could you add to Cc below email address of qualcomm's guys, since maybe they
> >> can provide some help.
> >>
> >> stummala@codeaurora.org
> >> riteshh@codeaurora.org
> > 
> > I failed to CC the email addresses above, they seem not to register kernel
> > Bugzilla.
> 
> Let me Cc them directly. :)
> 
> To Sahitya, Ritesh
> 
> Do you have time to take a look at this issue?

Sure, Chao. 

Lianjun,

Can you report this issue through Qualcomm customer support portal and share the
ramdumps for the same?

Also, share the test scenario where this issue was observed.

Thanks,
Sahitya.

> 
> Thanks,
> 
> > 

-- 
--
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-03-25 12:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 14:39 [Bug 202989] New: kernel panic during F2FS GC bugzilla-daemon
2019-03-22  2:07 ` [Bug 202989] " bugzilla-daemon
2019-03-22  4:08 ` bugzilla-daemon
2019-03-22  9:02 ` bugzilla-daemon
2019-03-22  9:24 ` bugzilla-daemon
2019-03-22  9:26 ` bugzilla-daemon
2019-03-22  9:27 ` bugzilla-daemon
2019-03-23  2:51 ` bugzilla-daemon
2019-03-23  7:38 ` [Bug 202989] [MSM-4.14] " bugzilla-daemon
2019-03-25  3:38 ` bugzilla-daemon
2019-03-25  3:46   ` Chao Yu
2019-03-25 12:56     ` Sahitya Tummala
2019-03-25  4:02 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.