Re: kernel BUG at fs/btrfs/tree-mod-log.c:675 - misc-next 9228ad80f849 (Mar 29 2021)

2021-04-07 Thread Zygo Blaxell
3-29. > > > > The BUG() moved, but we are still hitting it: > > > > [145427.426011][ T5492] BTRFS info (device dm-0): balance: canceled > > [145427.689964][ T4811] ----[ cut here ] > > [145427.692498][ T4811] kern

Re: kernel BUG at fs/btrfs/tree-mod-log.c:675 - misc-next 9228ad80f849 (Mar 29 2021)

2021-04-05 Thread Filipe Manana
426011][ T5492] BTRFS info (device dm-0): balance: canceled > [145427.689964][ T4811] [ cut here ]---- > [145427.692498][ T4811] kernel BUG at fs/btrfs/tree-mod-log.c:675! > [145427.694668][ T4811] invalid opcode: [#1] SMP KASAN PTI >

kernel BUG at fs/btrfs/tree-mod-log.c:675 - misc-next 9228ad80f849 (Mar 29 2021)

2021-04-03 Thread Zygo Blaxell
89964][ T4811] [ cut here ] [145427.692498][ T4811] kernel BUG at fs/btrfs/tree-mod-log.c:675! [145427.694668][ T4811] invalid opcode: [#1] SMP KASAN PTI [145427.696379][ T4811] CPU: 3 PID: 4811 Comm: crawl_1215 Tainted: G W 5.12.0-7d1e

Re: misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-03-11 Thread Filipe Manana
[40422.398920][T28995] BTRFS info (device dm-0): balance: > > > > > canceled > > > > > [40607.394003][T11577] BTRFS info (device dm-0): balance: > > > > > start -dlimit=9 > > > > > [40607.398597][T11577] BTRFS info (de

Re: misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-03-10 Thread Zygo Blaxell
; > > > block group 315676950528 flags data > > > > [40643.279661][T11577] BTRFS info (device dm-0): found 12686 > > > > extents, loops 1, stage: move data extents > > > > [40692.752695][T11577] BTRFS info (device dm-0): found 12686 >

Re: misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-03-05 Thread Filipe Manana
, loops 1, stage: move data extents > > > [40692.752695][T11577] BTRFS info (device dm-0): found 12686 > > > extents, loops 2, stage: update data pointers > > > [40704.860522][T11577] BTRFS info (device dm-0): relocating block > > > group 314603208704 flag

Re: misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-03-04 Thread Zygo Blaxell
T11577] BTRFS info (device dm-0): relocating block > > group 314603208704 flags data > > [40704.919977][T19054] [ cut here ] > > [40704.921895][T19054] kernel BUG at fs/btrfs/ctree.c:1210! > > [40704.923497][T19054] invalid o

Re: misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-03-02 Thread Filipe Manana
[40692.752695][T11577] BTRFS info (device dm-0): found 12686 extents, > loops 2, stage: update data pointers > [40704.860522][T11577] BTRFS info (device dm-0): relocating block > group 314603208704 flags data > [40704.919977][T19054] ----[ cut here ]

misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-02-27 Thread Zygo Blaxell
[40704.919977][T19054] [ cut here ] [40704.921895][T19054] kernel BUG at fs/btrfs/ctree.c:1210! [40704.923497][T19054] invalid opcode: [#1] SMP KASAN PTI [40704.925549][T19054] CPU: 1 PID: 19054 Comm: crawl_335 Tainted: G W 5.11.0

Re: kernel BUG at fs/btrfs/relocation.c:3494

2021-01-24 Thread Markus Hartung
On 23/01/2021 23:57, Zygo Blaxell wrote: You don't have enough space to convert metadata yet, and you also don't have enough space to lock one of your 3 metadata block groups without running out of global reserve space, so this balance command forces the filesystem read-only due to lack of space.

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-11 Thread Nikolay Borisov
subsystem >>> EXT4-fs (loop1): mounted filesystem without journal. Opts: (null) >>> EXT4-fs (loop1): mounting ext3 file system using the ext4 subsystem >>> EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null) >>> EXT4-fs (loop1): mounted filesy

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-11 Thread Abdul Haleem
On Wed, 2019-09-11 at 11:09 +0300, Nikolay Borisov wrote: > > On 11.09.19 г. 11:00 ч., Abdul Haleem wrote: > > On Tue, 2019-09-03 at 13:39 +0300, Nikolay Borisov wrote: > >> > > > > >> corresponds to? > > > > btrfs_search_slot+0x8e8/0xb80 maps to fs/btrfs/ctree.c:2751 > > write

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-11 Thread Nikolay Borisov
On 11.09.19 г. 11:00 ч., Abdul Haleem wrote: > On Tue, 2019-09-03 at 13:39 +0300, Nikolay Borisov wrote: >> >> corresponds to? > > btrfs_search_slot+0x8e8/0xb80 maps to fs/btrfs/ctree.c:2751 > write_lock_level = BTRFS_MAX_LEVEL; That doesn't make sense, presumably btrfs_sear

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-11 Thread Abdul Haleem
ystem with ordered data mode. Opts: (null) > > EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null) > > XFS (loop1): Mounting V5 Filesystem > > XFS (loop1): Ending clean mount > > XFS (loop1): Unmounting Filesystem > > BTRFS: device fsid 7c08f81b-6642-4a06

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-06 Thread David Sterba
On Tue, Sep 03, 2019 at 02:25:07PM +0530, Abdul Haleem wrote: > Greeting's > > Mainline kernel panics with LTP/fs_fill-dir tests for btrfs file > system on my P9 box running mainline kernel 5.3.0-rc5 Is the issue reproducible? And if yes, how reliably? Thanks.

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-03 Thread David Sterba
On Tue, Sep 03, 2019 at 02:25:07PM +0530, Abdul Haleem wrote: > Greeting's > > Mainline kernel panics with LTP/fs_fill-dir tests for btrfs file system on my > P9 box running mainline kernel 5.3.0-rc5 > > BUG_ON was first introduced by below commit Well, technically the bug_on was there already

Re: [mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-03 Thread Nikolay Borisov
dev/loop1 > BTRFS info (device loop1): disk space caching is enabled > BTRFS info (device loop1): has skinny extents > BTRFS info (device loop1): enabling ssd optimizations > BTRFS info (device loop1): creating UUID tree > [ cut here ] > kernel BUG at fs/btrfs/locking.c:7

[mainline][BUG][PPC][btrfs][bisected 00801a] kernel BUG at fs/btrfs/locking.c:71!

2019-09-03 Thread Abdul Haleem
ed BTRFS info (device loop1): has skinny extents BTRFS info (device loop1): enabling ssd optimizations BTRFS info (device loop1): creating UUID tree --------[ cut here ] kernel BUG at fs/btrfs/locking.c:71! Oops: Exception in kernel mode, sig: 5 [#1] LE PAGE_SIZE=64K MMU=Hash SMP

Re: "kernel BUG" and segmentation fault with "device delete"

2019-08-08 Thread Vladimir Panteleev
Did more digging today. Here is where the -ENOSPC is coming from: btrfs_run_delayed_refs -> // WARN here __btrfs_run_delayed_refs -> btrfs_run_delayed_refs_for_head -> run_one_delayed_ref -> run_delayed_data_ref -> __btrfs_inc_extent_ref -> insert_extent_backref -> insert_extent_data_ref

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-20 Thread Vladimir Panteleev
Hi, I've done a few experiments and here are my findings. First I probably should describe the filesystem: it is a snapshot archive, containing a lot of snapshots for 4 subvolumes, totaling 2487 subvolumes/snapshots. There are also a few files (inside the snapshots) that are probably very fra

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-06 Thread Chris Murphy
size 7.28TiB used 2.71TiB path /dev/sdd1 > > devid2 size 7.28TiB used 22.01GiB path /dev/loop0 > > devid3 size 7.28TiB used 2.69TiB path /dev/sdf1 > > Indeed - with the loop device attached, I can mount the filesystem rw > just fine without any mount f

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-06 Thread Vladimir Panteleev
On 06/07/2019 05.51, Qu Wenruo wrote: The problem also manifests when attempting to rebalance the metadata. Have you tried to balance just one or two metadata block groups? E.g using -mdevid or -mvrange? If I use -mdevid with the device ID of the device I'm trying to remove (2), I see the cr

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Qu Wenruo
On 2019/7/6 下午1:13, Vladimir Panteleev wrote: [...] >> I'm not sure if it's the degraded mount cause the problem, as the >> enospc_debug output looks like reserved/pinned/over-reserved space has >> taken up all space, while no new chunk get allocated. > > The problem happens after replace-ing th

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Vladimir Panteleev
On 06/07/2019 05.01, Qu Wenruo wrote: After stubbing out btrfs_check_rw_degradable (because btrfs currently can't realize when it has all drives needed for RAID10), The point is, btrfs_check_rw_degradable() is already doing per-chunk level rw degradable checking. I would highly recommend not t

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Qu Wenruo
D10 data to > RAID1, and then btrfs-device-delete-d one of the missing drives. It > fails at deleting the second. > > The process reached a point where the last missing device shows as > containing 20 GB of RAID1 metadata. At this point, attempting to delete > the device causes th

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Vladimir Panteleev
Indeed - with the loop device attached, I can mount the filesystem rw just fine without any mount flags, with a stock kernel. OK so what happens now if you try to 'btrfs device remove /dev/loop0' ? Unfortunately it fails in the same way (warning followed by "kernel BUG"). The s

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Chris Murphy
I don't disagree in general, however, I did make sure that all data was > accessible with two devices before proceeding with this endeavor. Well there's definitely something screwy if Btrfs needs something on a missing drive, which is indicated by its refusal to remove it from the volume,

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Vladimir Panteleev
, but this paragraph contradicts my understanding, especially when you say "correct approach would be first to convert all RAID 10 to RAID1 and then remove devices but that wasn't an option" OK so what did you do, in order, each command, interleaving the physical device removals. Well,

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Chris Murphy
On Fri, Jul 5, 2019 at 3:48 PM Chris Murphy wrote: > > We need to see a list of commands issued in order, along with the > physical connected state of each drive. I thought I understood what > you did from the previous email, but this paragraph contradicts my > understanding, especially when you s

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Chris Murphy
On Fri, Jul 5, 2019 at 4:20 AM Vladimir Panteleev wrote: > > On 05/07/2019 09.42, Andrei Borzenkov wrote: > > On Fri, Jul 5, 2019 at 7:45 AM Vladimir Panteleev > > wrote: > >> > >> Hi, > >> > >> I'm trying to convert a data=RAID10,metadata=RAID1 (4 disks) array to > >> RAID1 (2 disks). The array

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Chris Murphy
On Thu, Jul 4, 2019 at 10:39 PM Vladimir Panteleev wrote: > > Hi, > > I'm trying to convert a data=RAID10,metadata=RAID1 (4 disks) array to > RAID1 (2 disks). The array was less than half full, and I disconnected > two parity drives, leaving two that contained one copy of all data. There's no par

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Vladimir Panteleev
On 05/07/2019 09.42, Andrei Borzenkov wrote: On Fri, Jul 5, 2019 at 7:45 AM Vladimir Panteleev wrote: Hi, I'm trying to convert a data=RAID10,metadata=RAID1 (4 disks) array to RAID1 (2 disks). The array was less than half full, and I disconnected two parity drives, btrfs does not have dedic

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Andrei Borzenkov
the device causes the operation to shortly fail with "No space left", > followed by a "kernel BUG at fs/btrfs/relocation.c:2499!", and the > "btrfs device delete" command to crash with a segmentation fault. > > Here is the information about the filesyste

Re: "kernel BUG" and segmentation fault with "device delete"

2019-07-05 Thread Vladimir Panteleev
On 05/07/2019 04.39, Vladimir Panteleev wrote: The process reached a point where the last missing device shows as containing 20 GB of RAID1 metadata. At this point, attempting to delete the device causes the operation to shortly fail with "No space left", followed by a "kernel

"kernel BUG" and segmentation fault with "device delete"

2019-07-04 Thread Vladimir Panteleev
device shows as containing 20 GB of RAID1 metadata. At this point, attempting to delete the device causes the operation to shortly fail with "No space left", followed by a "kernel BUG at fs/btrfs/relocation.c:2499!", and the "btrfs device delete" command to crash with a

Re: kernel BUG at fs/btrfs/volumes.c:LINE!

2019-06-11 Thread David Sterba
On Mon, Jun 10, 2019 at 04:14:04PM -0700, Eric Biggers wrote: > On Thu, Jun 07, 2018 at 06:52:13PM +0200, David Sterba wrote: > > On Thu, Jun 07, 2018 at 06:28:02PM +0200, Dmitry Vyukov wrote: > > > > Normally the GFP_NOFS allocations do not fail so I think the fuzzer > > > > environment is tuned t

Re: kernel BUG at fs/btrfs/volumes.c:LINE!

2019-06-10 Thread Eric Biggers
On Thu, Jun 07, 2018 at 06:52:13PM +0200, David Sterba wrote: > On Thu, Jun 07, 2018 at 06:28:02PM +0200, Dmitry Vyukov wrote: > > > Normally the GFP_NOFS allocations do not fail so I think the fuzzer > > > environment is tuned to allow that, which is fine for coverage but does > > > not happen in

Re: kernel BUG at fs/btrfs/relocation.c:2595! on 5.1.4

2019-05-29 Thread Qu Wenruo
On 2019/5/29 下午9:23, Wèi Cōngruì wrote: > I upgraded the kernel to 5.1.5. > Got the same error with the command "btrfs device remove 4 ." again. > It a known bug and is going to be fixed by this patch: https://patchwork.kernel.org/patch/10955321/ The backport will happen soon, but I'm afraid it

Re: kernel BUG at fs/btrfs/relocation.c:2595! on 5.1.4

2019-05-29 Thread Wèi Cōngruì
I upgraded the kernel to 5.1.5. Got the same error with the command "btrfs device remove 4 ." again.

kernel BUG at fs/btrfs/relocation.c:2595! on 5.1.4

2019-05-29 Thread Wèi Cōngruì
wer loss. The stack trace: [34926.797727] [ cut here ] [34926.797731] kernel BUG at fs/btrfs/relocation.c:2595! [34926.797744] invalid opcode: [#1] PREEMPT SMP PTI [34926.797750] CPU: 0 PID: 16275 Comm: btrfs Not tainted 5.1.4-arch1-1-ARCH #1 [34926.797754] Hardware name:

Re: kernel BUG at fs/btrfs/relocation.c:1413! on 5.1.4

2019-05-23 Thread Qu Wenruo
gt; [ 1645.268105] BTRFS info (device dm-5): relocating block group 7039576178688 > flags data|raid1 > [ 1645.959683] ----[ cut here ] > [ 1645.959684] kernel BUG at fs/btrfs/relocation.c:1413! > [ 1645.959695] invalid opcode: [#1] PREEMPT SMP NOPTI > [ 1645.95972

kernel BUG at fs/btrfs/relocation.c:1413! on 5.1.4

2019-05-23 Thread Paul Jones
group 7044005363712 flags system|raid1 [ 1644.403175] BTRFS info (device dm-5): found 35 extents [ 1645.268105] BTRFS info (device dm-5): relocating block group 7039576178688 flags data|raid1 [ 1645.959683] [ cut here ] [ 1645.959684] kernel BUG at fs/btrfs/relocation.c

Re: 5.1.3: kernel BUG at fs/btrfs/relocation.c:1413 (create_reloc_root)

2019-05-21 Thread Qu Wenruo
red by automatic background balance. Thanks, Qu > > [ 600.078204] kernel BUG at fs/btrfs/relocation.c:1413! > [ 600.078215] invalid opcode: [#1] PREEMPT SMP PTI > [ 600.078220] CPU: 5 PID: 4010 Comm: btrfs Tainted: P OE > 5.1.3-arch1-1-ARCH #1 > [ 600.078222] Har

5.1.3: kernel BUG at fs/btrfs/relocation.c:1413 (create_reloc_root)

2019-05-21 Thread C. Cebtenzzre
I attempted to start a balance on Linux 5.1.3. The process crashed and I got this in dmesg: [ 600.078204] kernel BUG at fs/btrfs/relocation.c:1413! [ 600.078215] invalid opcode: [#1] PREEMPT SMP PTI [ 600.078220] CPU: 5 PID: 4010 Comm: btrfs Tainted: P OE 5.1.3-arch1-1-ARCH #1

Re: kernel BUG at fs/btrfs/ctree.c:3230!

2019-04-24 Thread Qu Wenruo
On 2019/4/24 下午8:28, Gregory Malloff wrote: > > Hello, > > After 7 days, BTRFS crashed again with the same error: > > [Tue Apr 23 21:59:40 2019] [ cut here ] > [Tue Apr 23 21:59:40 2019] kernel BUG at fs/btrfs/ctree.c:3230! > [Tue Apr 2

kernel BUG at fs/btrfs/ctree.c:3230!

2019-04-24 Thread Gregory Malloff
Hello, After 7 days, BTRFS crashed again with the same error: [Tue Apr 23 21:59:40 2019] [ cut here ] [Tue Apr 23 21:59:40 2019] kernel BUG at fs/btrfs/ctree.c:3230! [Tue Apr 23 21:59:40 2019] invalid opcode: [#1] SMP PTI [Tue Apr 23 21:59:40 2019] CPU: 0 PID

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-18 Thread Hans van Kranenburg
On 11/18/2017 12:48 PM, Hans van Kranenburg wrote: > > So, who wants to help? > > 1. Find a test system that you can crash. > 2. Create a test filesystem with some data. > 3. Run with 4.14? (makes the most sense I think) > 4. Continuously feed the data to balance and send everything to /dev/null

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-18 Thread Hans van Kranenburg
On 11/18/2017 12:48 PM, Hans van Kranenburg wrote: > > So, who wants to help? > > 1. Find a test system that you can crash. > 2. Create a test filesystem with some data. > 3. Run with 4.14? (makes the most sense I think) > 4. Continuously feed the data to balance and send everything to /dev/null

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-18 Thread Hans van Kranenburg
On 11/18/2017 10:40 AM, Roman Mamedov wrote: > On Sat, 18 Nov 2017 02:08:46 +0100 > Hans van Kranenburg wrote: > >> It's using send + balance at the same time. There's something that makes >> btrfs explode when you do that. >> >> It's not new in 4.14, I have seen it in 4.7 and 4.9 also, various >

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-18 Thread waxhead
Roman Mamedov wrote: On Sat, 18 Nov 2017 02:08:46 +0100 Hans van Kranenburg wrote: It's using send + balance at the same time. There's something that makes btrfs explode when you do that. It's not new in 4.14, I have seen it in 4.7 and 4.9 also, various different explosions in kernel log. Sin

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-18 Thread Roman Mamedov
On Sat, 18 Nov 2017 02:08:46 +0100 Hans van Kranenburg wrote: > It's using send + balance at the same time. There's something that makes > btrfs explode when you do that. > > It's not new in 4.14, I have seen it in 4.7 and 4.9 also, various > different explosions in kernel log. Since that happen

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-17 Thread Tomasz Chmielewski
info (device sdb3): found 2405 extents [ 3495.408630] BTRFS info (device sdb3): found 2405 extents [ 3498.161144] [ cut here ] [ 3498.161150] kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856! [ 3498.161264] invalid opcode: [#1] SMP (...) [ 3498.164523]

Re: 4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-17 Thread Hans van Kranenburg
b3): found 2405 extents > [ 3495.408630] BTRFS info (device sdb3): found 2405 extents > [ 3498.161144] [ cut here ]-------- > [ 3498.161150] kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856! > [ 3498.161264] invalid opcode: [#1] SMP > [ 3498.161363] Modu

4.14 balance: kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856!

2017-11-17 Thread Tomasz Chmielewski
tents [ 3498.161144] [ cut here ] [ 3498.161150] kernel BUG at /home/kernel/COD/linux/fs/btrfs/ctree.c:1856! [ 3498.161264] invalid opcode: [#1] SMP [ 3498.161363] Modules linked in: nf_log_ipv6 nf_log_ipv4 nf_log_common xt_LOG xt_multiport xt_conntrack xt_nat binfmt_misc

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-17 Thread Holger Hoffstätte
On 11/17/17 18:48, Marc MERLIN wrote: > On Thu, Nov 16, 2017 at 09:53:15PM -0800, Marc MERLIN wrote: >>> I suggest that you try lvmcache instead. It's much more flexible than >>> bcache, >>> does pretty much the same job, and has much less of the "hacky" feel to it. >> >> I can read up on it, it's

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-17 Thread Marc MERLIN
On Thu, Nov 16, 2017 at 09:53:15PM -0800, Marc MERLIN wrote: > > I suggest that you try lvmcache instead. It's much more flexible than > > bcache, > > does pretty much the same job, and has much less of the "hacky" feel to it. > > I can read up on it, it's going to be a big pain to convert from o

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Marc MERLIN
On Fri, Nov 17, 2017 at 10:41:48AM +0500, Roman Mamedov wrote: > On Thu, 16 Nov 2017 16:12:56 -0800 > Marc MERLIN wrote: > > > On Thu, Nov 16, 2017 at 11:32:33PM +0100, Holger Hoffstätte wrote: > > > Don't pop the champagne just yet, I just read that apprently 4.14 broke > > > bcache for some peo

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Roman Mamedov
On Thu, 16 Nov 2017 16:12:56 -0800 Marc MERLIN wrote: > On Thu, Nov 16, 2017 at 11:32:33PM +0100, Holger Hoffstätte wrote: > > Don't pop the champagne just yet, I just read that apprently 4.14 broke > > bcache for some people [1]. Not sure how much that affects you, but it might > > well make thi

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Liu Bo
On Thu, Nov 16, 2017 at 01:45:51PM -0800, Marc MERLIN wrote: > On Thu, Nov 16, 2017 at 06:27:44PM +0100, Holger Hoffstätte wrote: > > On 11/16/17 18:07, Marc MERLIN wrote: > > > Sorry, was missing the kernel number in the subject, just fixed that. > > > > > > On Thu, Nov 16, 2017 at 09:04:45AM -08

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Marc MERLIN
On Thu, Nov 16, 2017 at 11:32:33PM +0100, Holger Hoffstätte wrote: > Don't pop the champagne just yet, I just read that apprently 4.14 broke > bcache for some people [1]. Not sure how much that affects you, but it might > well make things worse. Yeah, I know, wonderful. Oh my, that's actually pret

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Holger Hoffstätte
On 11/16/17 22:45, Marc MERLIN wrote: (snip) >> This BUG() was recently removed and seems to be caused by some kind >> of persistent corruption, which is seen as invalid inline extent. >> See [1], [2] for details. Maybe you can backport them? >> Alternatively just give 4.14 a whirl, it's great. >>

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Marc MERLIN
On Thu, Nov 16, 2017 at 06:27:44PM +0100, Holger Hoffstätte wrote: > On 11/16/17 18:07, Marc MERLIN wrote: > > Sorry, was missing the kernel number in the subject, just fixed that. > > > > On Thu, Nov 16, 2017 at 09:04:45AM -0800, Marc MERLIN wrote: > >> My server now reboots every 20mn or so, wit

Re: 4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Holger Hoffstätte
On 11/16/17 18:07, Marc MERLIN wrote: > Sorry, was missing the kernel number in the subject, just fixed that. > > On Thu, Nov 16, 2017 at 09:04:45AM -0800, Marc MERLIN wrote: >> My server now reboots every 20mn or so, with this. >> Sadly another BUG_ON() and it won't even tell me which filesystem

4.13.12: kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Marc MERLIN
nt_inline_ref, offset); > BUG(); > return 0; > } > > > > [ 1399.728735] [ cut here ] > [ 1399.744149] kernel BUG at fs/btrfs/ctree.h:1802! > [ 1399.759400] invalid opcode: [#1] PREEMPT SMP > [ 1399.774892] Modules linked in: veth ip6table_filter ip

kernel BUG at fs/btrfs/ctree.h:1802!

2017-11-16 Thread Marc MERLIN
urn sizeof(struct btrfs_extent_data_ref) + offsetof(struct btrfs_extent_inline_ref, offset); BUG(); return 0; } [ 1399.728735] [ cut here ] [ 1399.744149] kernel BUG at fs/btrfs/ctree.h:1802! [ 1399.759400] invalid opcode: [#1] P

Re: kernel BUG at fs/btrfs/ctree.h:3457

2017-11-05 Thread Lakshmipathi.G
> Please skip that patch, as the check timing has its problem. > Okay, I'll skip the patch and run the tests hereafter. thanks. Cheers, Lakshmipathi.G http://www.giis.co.in http://www.webminal.org -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a mess

Re: kernel BUG at fs/btrfs/ctree.h:3457

2017-11-05 Thread Lakshmipathi.G
3 ip-172-31-32-145.us-west-2.compute.internal kernel: > BTRFS info (device xvdf): leaf 4400742400 total ptrs 0 free space > 16283 > Nov 06 05:08:23 ip-172-31-32-145.us-west-2.compute.internal kernel: > assertion failed: 0, file: fs/btrfs/disk-io.c, line: 540 > Nov 06 05:08:23 ip-172-31-3

Re: kernel BUG at fs/btrfs/ctree.h:3457

2017-11-05 Thread Qu Wenruo
kernel: > BTRFS info (device xvdf): leaf 4400742400 total ptrs 0 free space > 16283 > Nov 06 05:08:23 ip-172-31-32-145.us-west-2.compute.internal kernel: > assertion failed: 0, file: fs/btrfs/disk-io.c, line: 540 > Nov 06 05:08:23 ip-172-31-32-145.us-west-2.compute.internal kernel

kernel BUG at fs/btrfs/ctree.h:3457

2017-11-05 Thread Lakshmipathi.G
btrfs/disk-io.c, line: 540 Nov 06 05:08:23 ip-172-31-32-145.us-west-2.compute.internal kernel: [ cut here ] Nov 06 05:08:23 ip-172-31-32-145.us-west-2.compute.internal kernel: kernel BUG at fs/btrfs/ctree.h:3457! Nov 06 05:08:23 ip-172-31-32-145.us-west-2.compute.internal k

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-02 Thread Lakshmipathi.G
Yes, the patch works. Enabled both CONFIG_BTRFS_FS_CHECK_INTEGRITY and CONFIG_BTRFS_FS_RUN_SANITY_TESTS. And applied above patch. This method also resolved the issue. thanks. Cheers, Lakshmipathi.G http://www.giis.co.in http://www.webminal.org -- To unsubscribe from this list: send the line "

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-02 Thread Lakshmipathi.G
> BTW, it would be better to see if this patch also solves your problem. > > https://patchwork.kernel.org/patch/10038011/ Okay sure, let me apply this patch and check the results. Cheers, Lakshmipathi.G http://www.giis.co.in http://www.webminal.org -- To unsubscribe from this list: send the

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-02 Thread Qu Wenruo
BTW, it would be better to see if this patch also solves your problem. https://patchwork.kernel.org/patch/10038011/ Thanks, Qu On 2017年11月03日 12:00, Lakshmipathi.G wrote: > After disabling FS_CHECK_INTEGRITY and FS_RUN_SANITY_TESTS in the > config. Now the issue resolved. thanks. > > cast: http

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-02 Thread Lakshmipathi.G
After disabling FS_CHECK_INTEGRITY and FS_RUN_SANITY_TESTS in the config. Now the issue resolved. thanks. cast: https://asciinema.org/a/Dy6eHhhWPEIxotVbVUBWrhFeF Cheers, Lakshmipathi.G http://www.giis.co.in http://www.webminal.org On Thu, Nov 2, 2017 at 12:55 PM, Lakshmipathi.G wrote: > Ok

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-02 Thread Lakshmipathi.G
Okay thanks, I'll disable above mentioned entry in kernel config and run the tests. Will get back with updated results. Cheers, Lakshmipathi.G http://www.giis.co.in http://www.webminal.org -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-01 Thread Qu Wenruo
On 2017年11月02日 13:50, Lakshmipathi.G wrote: >> >> I'll try to reproduce it with FS_CHECK_INTEGRITY enabled. >> > > Okay thanks for the details. Here's the kernel config file which hits > this issue: > https://github.com/Lakshmipathi/btrfsqa/blob/master/setup/config/kernel.config#L3906 Although

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-01 Thread Lakshmipathi.G
> > I'll try to reproduce it with FS_CHECK_INTEGRITY enabled. > Okay thanks for the details. Here's the kernel config file which hits this issue: https://github.com/Lakshmipathi/btrfsqa/blob/master/setup/config/kernel.config#L3906 thanks! Cheers, Lakshmipathi.G http://www.giis.co.in http://

Re: kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-01 Thread Qu Wenruo
On 2017年11月02日 13:19, Lakshmipathi.G wrote: > Hi. > > I'm constantly hitting this bug while running btrfs-progs:fsck-test:012 . > Screencast: https://asciinema.org/a/wQxZjCeVvX2kVqKjVBGyR0klq > > Logged more details: https://bugzilla.kernel.org/show_bug.cgi?id=197587 > Anyone else got this issu

kernel BUG at fs/btrfs/ctree.h:3457!

2017-11-01 Thread Lakshmipathi.G
Hi. I'm constantly hitting this bug while running btrfs-progs:fsck-test:012 . Screencast: https://asciinema.org/a/wQxZjCeVvX2kVqKjVBGyR0klq Logged more details: https://bugzilla.kernel.org/show_bug.cgi?id=197587 Anyone else got this issue or something wrong with my test environment? Cheers,

Re: kernel BUG at fs/btrfs/ctree.c:3182 - occurred during heavy NFS transfer

2017-11-01 Thread Nathan Royce
I'm guessing this is related. I noticed my tv wasn't recording to my drive and when I tried to touch a file on the drive, my console become unresponsive. Trying to reboot took like 5 minutes to even stop the processes and in the end couldn't unmount the drive and I had to cut the power to finally g

kernel BUG at fs/btrfs/ctree.c:3182 - occurred during heavy NFS transfer

2017-11-01 Thread Nathan Royce
43:46 dd kernel: [ cut here ] Nov 01 09:43:46 dd kernel: kernel BUG at fs/btrfs/ctree.c:3182! Nov 01 09:43:46 dd kernel: Internal error: Oops - BUG: 0 [#1] SMP ARM Nov 01 09:43:46 dd kernel: Modules linked in: nf_conntrack_netlink nfnetlink cmac ccm ppp_deflate ppp_async p

kernel BUG at fs/btrfs/ctree.c:3182

2017-10-16 Thread Matt McKinnon
=72.30GiB Metadata, single: total=1.53GiB, used=0.00B GlobalReserve, single: total=512.00MiB, used=0.00B [617994.948036] [ cut here ] [617994.948040] kernel BUG at fs/btrfs/ctree.c:3182! [617994.952786] invalid opcode: [#1] SMP [617994.956896] Modules linked in: ipmi_devintf

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-20 Thread Liu Bo
On Wed, Sep 20, 2017 at 02:53:57PM +0200, David Sterba wrote: > On Tue, Sep 19, 2017 at 10:12:39AM -0600, Liu Bo wrote: > > On Tue, Sep 19, 2017 at 05:07:25PM +0200, David Sterba wrote: > > > On Tue, Sep 19, 2017 at 11:32:46AM +, Paul Jones wrote: > > > > > This 'mirror 0' looks fishy, (as mirr

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-20 Thread David Sterba
On Tue, Sep 19, 2017 at 10:12:39AM -0600, Liu Bo wrote: > On Tue, Sep 19, 2017 at 05:07:25PM +0200, David Sterba wrote: > > On Tue, Sep 19, 2017 at 11:32:46AM +, Paul Jones wrote: > > > > This 'mirror 0' looks fishy, (as mirror comes from > > > > btrfs_io_bio->mirror_num, > > > > which should

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-19 Thread Liu Bo
On Tue, Sep 19, 2017 at 05:07:25PM +0200, David Sterba wrote: > On Tue, Sep 19, 2017 at 11:32:46AM +, Paul Jones wrote: > > > This 'mirror 0' looks fishy, (as mirror comes from > > > btrfs_io_bio->mirror_num, > > > which should be at least 1 if raid1 setup is in use.) > > > > > > Not sure if

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-19 Thread David Sterba
On Tue, Sep 19, 2017 at 11:32:46AM +, Paul Jones wrote: > > This 'mirror 0' looks fishy, (as mirror comes from btrfs_io_bio->mirror_num, > > which should be at least 1 if raid1 setup is in use.) > > > > Not sure if 4.13.2-gentoo made any changes on btrfs, but can you please > > verify with the

RE: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-19 Thread Paul Jones
> -Original Message- > From: Liu Bo [mailto:bo.li@oracle.com] > Sent: Tuesday, 19 September 2017 3:10 AM > To: Paul Jones > Cc: linux-btrfs@vger.kernel.org > Subject: Re: kernel BUG at fs/btrfs/extent_io.c:1989 > > > This 'mirror 0' looks fish

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-18 Thread Kai Krakow
Am Mon, 18 Sep 2017 20:30:41 +0200 schrieb Holger Hoffstätte : > On 09/18/17 19:09, Liu Bo wrote: > > This 'mirror 0' looks fishy, (as mirror comes from > > btrfs_io_bio->mirror_num, which should be at least 1 if raid1 setup > > is in use.) > > > > Not sure if 4.13.2-gentoo made any changes on bt

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-18 Thread Holger Hoffstätte
On 09/18/17 19:09, Liu Bo wrote: > This 'mirror 0' looks fishy, (as mirror comes from > btrfs_io_bio->mirror_num, which should be at least 1 if raid1 setup is > in use.) > > Not sure if 4.13.2-gentoo made any changes on btrfs, but can you No, it did not; Gentoo always strives to be as close to ma

Re: kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-18 Thread Liu Bo
m, which should be at least 1 if raid1 setup is in use.) Not sure if 4.13.2-gentoo made any changes on btrfs, but can you please verify with the upstream kernel, say, v4.13? Thanks, -liubo > [ 174.761986] [ cut here ] > [ 174.761987] kernel BUG a

kernel BUG at fs/btrfs/extent_io.c:1989

2017-09-18 Thread Paul Jones
csum 0xdbbb090f expected csum 0x74d6a9b2 mirror 0 [ 174.761924] BTRFS warning (device dm-15): csum failed root 7692 ino 534939 off 5639217152 csum 0xdbbb090f expected csum 0x74d6a9b2 mirror 0 [ 174.761986] [ cut here ] [ 174.761987] kernel BUG at fs/btrfs/extent_io.c

Re: kernel BUG at /build/linux-H5UzH8/linux-4.10.0/fs/btrfs/extent_io.c:2318

2017-08-11 Thread Austin S. Hemmelgarn
On 2017-08-11 05:57, Piotr Pawłow wrote: Hello, So 4.10 isn't /too/ far out of range yet, but I'd strongly consider upgrading (or downgrading to 4.9 LTS) as soon as it's reasonably convenient, before 4.13 in any case. Unless you prefer to go the distro support route, of course. I used to stic

Re: kernel BUG at /build/linux-H5UzH8/linux-4.10.0/fs/btrfs/extent_io.c:2318

2017-08-11 Thread Piotr Pawłow
Hello, > So 4.10 isn't /too/ far out of range yet, but I'd strongly consider > upgrading (or downgrading to 4.9 LTS) as soon as it's reasonably > convenient, before 4.13 in any case. Unless you prefer to go the > distro support route, of course. I used to stick to latest kernels back when btrf

Re: kernel BUG at /build/linux-H5UzH8/linux-4.10.0/fs/btrfs/extent_io.c:2318

2017-08-07 Thread Duncan
Piotr Pawłow posted on Mon, 07 Aug 2017 15:26:16 +0200 as excerpted: > # uname -a > Linux pps 4.10.0-30-generic #34-Ubuntu SMP > Mon Jul 31 19:38:17 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux This is a general principles reply and chances are wouldn't help with your issue since the spread isn't /to

kernel BUG at /build/linux-H5UzH8/linux-4.10.0/fs/btrfs/extent_io.c:2318

2017-08-07 Thread Piotr Pawłow
evice dm-1): stripe index math went horribly wrong, got stripe_index=2176876031, num_stripes=2 sie 07 04:45:06 pps kernel: BTRFS info (device dm-1): csum failed ino 1340360 extent 5370531217408 csum 716315696 wanted 722897355 mirror -2118091264 sie 07 04:45:06 pps kernel: kernel BUG at /build/linux-H5

Re: kernel BUG at /home/kernel/COD/linux/fs/btrfs/extent_io.c:2328 when replacing disk

2017-07-03 Thread Asif Youssuff
# btrfs fi df /media/camino/ Data, RAID1: total=39.75TiB, used=39.75TiB System, RAID1: total=43.12MiB, used=6.69MiB Metadata, RAID1: total=54.00GiB, used=51.55GiB GlobalReserve, single: total=512.00MiB, used=0.00B dmesg log: [ 419.531939] [ cut here ] [ 419.531941] kernel BUG

kernel BUG at /home/kernel/COD/linux/fs/btrfs/extent_io.c:2328 when replacing disk

2017-07-03 Thread Asif Youssuff
Hi, I'm replacing a btrfs device that was set up as a partition with one that is a whole disk. The replace is getting stuck at the 53% mark with errors: kernel BUG at /home/kernel/COD/linux/fs/btrfs/extent_io.c:2328 More info below -- rebooting and letting replace continue seems t

Re: 4.11.0: kernel BUG at fs/btrfs/ctree.h:1779!

2017-05-19 Thread Hugo Mills
On Fri, May 19, 2017 at 06:25:22PM -0700, Marc MERLIN wrote: > On Sat, May 20, 2017 at 12:57:09AM +, Hugo Mills wrote: > >I think from the POV of removing these BUG_ONs, it doesn't matter > > which FS causes them. "All" you need to know is where the error > > happened. From there, you can (

Re: 4.11.0: kernel BUG at fs/btrfs/ctree.h:1779!

2017-05-19 Thread Marc MERLIN
On Sat, May 20, 2017 at 12:57:09AM +, Hugo Mills wrote: >I think from the POV of removing these BUG_ONs, it doesn't matter > which FS causes them. "All" you need to know is where the error > happened. From there, you can (in theory) work out what was wrong and > handle it more elagantly tha

Re: 4.11.0: kernel BUG at fs/btrfs/ctree.h:1779!

2017-05-19 Thread Hugo Mills
On Fri, May 19, 2017 at 05:47:48PM -0700, Marc MERLIN wrote: > On Sat, May 20, 2017 at 12:37:47AM +, Hugo Mills wrote: > > > Can I make another plea for just removing all those BUG/BUG_ON? > > > They really have no place in production code, there is no excuse for a > > > filesystem to bring dow

Re: 4.11.0: kernel BUG at fs/btrfs/ctree.h:1779!

2017-05-19 Thread Marc MERLIN
On Sat, May 20, 2017 at 12:37:47AM +, Hugo Mills wrote: > > Can I make another plea for just removing all those BUG/BUG_ON? > > They really have no place in production code, there is no excuse for a > > filesystem to bring down the entire and in the process not even tell you > > which of your f

  1   2   3   4   5   6   7   8   9   10   >