* [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117)
@ 2020-02-16 19:14 bugzilla-daemon
2020-02-16 19:15 ` [f2fs-dev] [Bug 206551] " bugzilla-daemon
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-16 19:14 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
Bug ID: 206551
Summary: Failed to initialize F2FS segment manager (-117)
Product: File System
Version: 2.5
Kernel Version: 5.5.3-gentoo
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: f2fs
Assignee: filesystem_f2fs@kernel-bugs.kernel.org
Reporter: stefan@konink.de
Regression: No
Created attachment 287423
--> https://bugzilla.kernel.org/attachment.cgi?id=287423&action=edit
Linux boot, root fs can't be mounted.
I am aware this bug report is done on a non-vanilla Gentoo based kernel, but
since I have seen it now twice in two days on two different kernel versions
5.4.13-gentoo and 5.5.3-gentoo I would like to document it upstream as well.
Not excluding a hardware failure.
I am running Linux on a Lenovo E485 machine having a AMD Ryzen 5 2500U
processor, which is quite problematic to resume after a memory suspend.
Therefore I use hibernation to a swap partition which most of the time allows
me to resume what I was working on. The disk is a Samsung SSD 840 EVO 500GB,
EXT0CB6Q. It wasn't used for quite a while but is now in use for about two
months without issues.
The day before yesterday I again hibernated my machine which kernel paniced
after resuming, the screen was still black, so I wouldn't have any information
on the topic. After restarting, my problems with F2FS, the filesystem for my
root partition, started.
I was able to boot using an Arch Linux ISO, and ran the F2FS-tools. fsck.f2fs
was unable to succeed when I requested to write "missing" files in ./lostfound.
Only when answering "No" the partition was repaired and could be mounted. I
remember that one of the causes flags was something like "Sudden loss of
power".
Today I have completely shutdown my machine using "poweroff". When I switched
the machine back on I had a similar experience as two days ago, my root
partition would mound with the same segment manager error. I again ran the
fsck.f2fs, this time not being prompted for missing files. Neither did it
mention anything similar like loss of power.
I wonder if the partition is fixed using the fsck.f2fs tool, considering the
output. If not, is this a gap in the implementation? Should this partition be
completely be copied, and then restored on a new f2fs partition? Or is it
expected that the file structure is "OK" after running the tool, and the fact
that two days in a row this happened was a coincidence?
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [f2fs-dev] [Bug 206551] Failed to initialize F2FS segment manager (-117)
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
@ 2020-02-16 19:15 ` bugzilla-daemon
2020-02-17 7:17 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-16 19:15 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
--- Comment #1 from Stefan de Konink (stefan@konink.de) ---
Created attachment 287425
--> https://bugzilla.kernel.org/attachment.cgi?id=287425&action=edit
fsck.f2fs result specifically showing SIT bitmap is 0x0.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [f2fs-dev] [Bug 206551] Failed to initialize F2FS segment manager (-117)
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
2020-02-16 19:15 ` [f2fs-dev] [Bug 206551] " bugzilla-daemon
@ 2020-02-17 7:17 ` bugzilla-daemon
2020-02-17 9:26 ` bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-17 7:17 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
Chao Yu (chao@kernel.org) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |chao@kernel.org
--- Comment #2 from Chao Yu (chao@kernel.org) ---
Both kernel log“Mismatch valid blocks” and fsck log "SIT bitmap is 0" says SIT
table may be inconsistent in your image.
I noticed that you're using a swap partition, may I ask where did you build the
swap partition? in your f2fs image? What's your swap option?
Quoted: "I use hibernation to a swap partition"
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [f2fs-dev] [Bug 206551] Failed to initialize F2FS segment manager (-117)
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
2020-02-16 19:15 ` [f2fs-dev] [Bug 206551] " bugzilla-daemon
2020-02-17 7:17 ` bugzilla-daemon
@ 2020-02-17 9:26 ` bugzilla-daemon
2020-02-18 1:32 ` bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-17 9:26 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
--- Comment #3 from Stefan de Konink (stefan@konink.de) ---
My swap partition is at /dev/sda3, as independent of f2fs.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [f2fs-dev] [Bug 206551] Failed to initialize F2FS segment manager (-117)
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
` (2 preceding siblings ...)
2020-02-17 9:26 ` bugzilla-daemon
@ 2020-02-18 1:32 ` bugzilla-daemon
2020-02-18 7:19 ` bugzilla-daemon
2020-02-20 7:03 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-18 1:32 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
--- Comment #4 from Chao Yu (chao@kernel.org) ---
What's your mkfs option and mount option?
Can you upload kernel message? maybe we can find clue from it.
Thanks,
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [f2fs-dev] [Bug 206551] Failed to initialize F2FS segment manager (-117)
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
` (3 preceding siblings ...)
2020-02-18 1:32 ` bugzilla-daemon
@ 2020-02-18 7:19 ` bugzilla-daemon
2020-02-20 7:03 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-18 7:19 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
--- Comment #5 from Stefan de Konink (stefan@konink.de) ---
[ 1.404552] F2FS-fs (sda4): Found nat_bits in checkpoint
[ 1.638356] F2FS-fs (sda4): Mounted with checkpoint version = 68992090
I don't have the dmesg of the 'recovery' attempts.
/dev/sda4 on / type f2fs
(rw,noatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [f2fs-dev] [Bug 206551] Failed to initialize F2FS segment manager (-117)
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
` (4 preceding siblings ...)
2020-02-18 7:19 ` bugzilla-daemon
@ 2020-02-20 7:03 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-02-20 7:03 UTC (permalink / raw)
To: linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=206551
--- Comment #6 from Chao Yu (chao@kernel.org) ---
IIRC, in knew bugs, except swap file feature, large_nat_bitmap feature can also
damage f2fs metadata (SIT table) (they are all fixed in mainline), did you
enable this feature during mkfs/resize?
Can you try fsck.f2fs -d 3 /dev/sda4 to catch the full fsck log?
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-02-20 7:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-16 19:14 [f2fs-dev] [Bug 206551] New: Failed to initialize F2FS segment manager (-117) bugzilla-daemon
2020-02-16 19:15 ` [f2fs-dev] [Bug 206551] " bugzilla-daemon
2020-02-17 7:17 ` bugzilla-daemon
2020-02-17 9:26 ` bugzilla-daemon
2020-02-18 1:32 ` bugzilla-daemon
2020-02-18 7:19 ` bugzilla-daemon
2020-02-20 7:03 ` 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.