All of lore.kernel.org
 help / color / mirror / Atom feed
* Code: Bad RIP value.
@ 2021-03-05 19:57 Hendrik Friedel
  2021-03-06  8:00 ` Nikolay Borisov
  0 siblings, 1 reply; 3+ messages in thread
From: Hendrik Friedel @ 2021-03-05 19:57 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I am using linux 5.9.1 and have experienced tracebacks in conjunction 
with btrfs and several filesystems:
btrfs fi show
Label: 'Daten'  uuid: c217331c-cf0c-49ae-86c7-48a67d1c346b
         Total devices 1 FS bytes used 54.69GiB
         devid    1 size 81.79GiB used 57.02GiB path /dev/sde2

Label: 'DockerImages'  uuid: 9b327a02-606e-4f2d-a137-27f53a5bcb03
         Total devices 1 FS bytes used 19.36GiB
         devid    1 size 29.62GiB used 19.52GiB path /dev/sdd2

Label: 'DataPool1'  uuid: c4a6a2c9-5cf0-49b8-812a-0784953f9ba3
         Total devices 2 FS bytes used 6.87TiB
         devid    1 size 7.28TiB used 6.92TiB path /dev/sda1
         devid    2 size 7.28TiB used 6.92TiB path /dev/sdi1

I have this bug several times now:

[So Feb 28 19:50:42 2021] Code: Bad RIP value.
[So Feb 28 19:50:42 2021] RSP: 002b:00007f6080e7bb70 EFLAGS: 00000293 
ORIG_RAX: 000000000000004a
[So Feb 28 19:50:42 2021] RAX: ffffffffffffffda RBX: 0000000000000028 
RCX: 00007f6087845a97
[So Feb 28 19:50:42 2021] RDX: 0000000000000000 RSI: 00007f60876bc6b6 
RDI: 0000000000000028
[So Feb 28 19:50:42 2021] RBP: 00007f6080e7bbe0 R08: 0000000000000000 
R09: 00000000ffffffff
[So Feb 28 19:50:42 2021] R10: 00007f6080e7bbe0 R11: 0000000000000293 
R12: 000055a70b3b9708
[So Feb 28 19:50:42 2021] R13: 000055a70b4b6990 R14: 00007f60869a2c00 
R15: 000055a70b3b96d0
[So Feb 28 19:50:42 2021] INFO: task smbd:459696 blocked for more than 
120 seconds.
[So Feb 28 19:50:42 2021]       Tainted: G            E     5.9.1 #1
[So Feb 28 19:50:42 2021] "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
[So Feb 28 19:50:42 2021] task:smbd            state:D stack:    0 
pid:459696 ppid:  8268 flags:0x00004004
[So Feb 28 19:50:42 2021] Call Trace:
[So Feb 28 19:50:42 2021]  __schedule+0x2b9/0x7c0
[So Feb 28 19:50:42 2021]  schedule+0x40/0xb0
[So Feb 28 19:50:42 2021]  wait_for_commit+0x58/0x80 [btrfs]
[So Feb 28 19:50:42 2021]  ? finish_wait+0x80/0x80
[So Feb 28 19:50:42 2021]  btrfs_commit_transaction+0x89c/0xa50 [btrfs]
[So Feb 28 19:50:42 2021]  ? dput.part.37+0xb5/0x2d0
[So Feb 28 19:50:42 2021]  ? btrfs_log_dentry_safe+0x54/0x70 [btrfs]
[So Feb 28 19:50:42 2021]  btrfs_sync_file+0x3bd/0x400 [btrfs]
[So Feb 28 19:50:42 2021]  do_fsync+0x38/0x70
[So Feb 28 19:50:42 2021]  __x64_sys_fsync+0x10/0x20
[So Feb 28 19:50:42 2021]  do_syscall_64+0x33/0x80
[So Feb 28 19:50:42 2021]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[So Feb 28 19:50:42 2021] RIP: 0033:0x7f6087845a97
[So Feb 28 19:50:42 2021] Code: Bad RIP value.


[Mo Mär  1 14:16:19 2021] INFO: task btrfs:651814 blocked for more than 
120 seconds.
[Mo Mär  1 14:16:19 2021]       Tainted: G            E     5.9.1 #1
[Mo Mär  1 14:16:19 2021] "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
[Mo Mär  1 14:16:19 2021] task:btrfs           state:D stack:    0 
pid:651814 ppid:     1 flags:0x00004000
[Mo Mär  1 14:16:19 2021] Call Trace:
[Mo Mär  1 14:16:19 2021]  __schedule+0x2b9/0x7c0
[Mo Mär  1 14:16:19 2021]  schedule+0x40/0xb0
[Mo Mär  1 14:16:19 2021]  wait_for_commit+0x58/0x80 [btrfs]
[Mo Mär  1 14:16:19 2021]  ? finish_wait+0x80/0x80
[Mo Mär  1 14:16:19 2021]  btrfs_wait_for_commit+0x96/0x190 [btrfs]
[Mo Mär  1 14:16:19 2021]  btrfs_inc_block_group_ro+0x53/0x170 [btrfs]
[Mo Mär  1 14:16:19 2021]  scrub_enumerate_chunks+0x1ed/0x560 [btrfs]
[Mo Mär  1 14:16:19 2021]  ? finish_wait+0x80/0x80
[Mo Mär  1 14:16:19 2021]  btrfs_scrub_dev+0x290/0x500 [btrfs]
[Mo Mär  1 14:16:19 2021]  ? _cond_resched+0x15/0x30
[Mo Mär  1 14:16:19 2021]  ? __kmalloc_track_caller+0x3fa/0x4a0
[Mo Mär  1 14:16:19 2021]  ? btrfs_ioctl+0xd31/0x2e80 [btrfs]
[Mo Mär  1 14:16:19 2021]  ? __check_object_size+0x162/0x173
[Mo Mär  1 14:16:19 2021]  btrfs_ioctl+0xd7b/0x2e80 [btrfs]
[Mo Mär  1 14:16:19 2021]  ? create_task_io_context+0x9b/0x100
[Mo Mär  1 14:16:19 2021]  ? get_task_io_context+0x43/0x80
[Mo Mär  1 14:16:19 2021]  ? __x64_sys_ioctl+0x84/0xc0
[Mo Mär  1 14:16:19 2021]  __x64_sys_ioctl+0x84/0xc0
[Mo Mär  1 14:16:19 2021]  do_syscall_64+0x33/0x80
[Mo Mär  1 14:16:19 2021]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Mo Mär  1 14:16:19 2021] RIP: 0033:0x7f90f2ba8427
[Mo Mär  1 14:16:19 2021] Code: Bad RIP value.
[Mo Mär  1 14:16:19 2021] RSP: 002b:00007f90f22b2d48 EFLAGS: 00000246 
ORIG_RAX: 0000000000000010
[Mo Mär  1 14:16:19 2021] RAX: ffffffffffffffda RBX: 0000557ef3bd6930 
RCX: 00007f90f2ba8427
[Mo Mär  1 14:16:19 2021] RDX: 0000557ef3bd6930 RSI: 00000000c400941b 
RDI: 0000000000000003
[Mo Mär  1 14:16:19 2021] RBP: 0000000000000000 R08: 00007f90f22b3700 
R09: 0000000000000000
[Mo Mär  1 14:16:19 2021] R10: 00007f90f22b3700 R11: 0000000000000246 
R12: 00007ffe8308792e
[Mo Mär  1 14:16:19 2021] R13: 00007ffe8308792f R14: 00007f90f22b3700 
R15: 0000000000000000
[Mo Mär  1 16:02:45 2021] BTRFS info (device sda1): scrub: finished on 
devid 1 with status: 0

Is this a known bug?


I am happy to provide more information if needed.

Best regards,
Hendrik


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

* Re: Code: Bad RIP value.
  2021-03-05 19:57 Code: Bad RIP value Hendrik Friedel
@ 2021-03-06  8:00 ` Nikolay Borisov
  2021-03-06 11:08   ` Re[2]: " Hendrik Friedel
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolay Borisov @ 2021-03-06  8:00 UTC (permalink / raw)
  To: Hendrik Friedel, linux-btrfs



On 5.03.21 г. 21:57 ч., Hendrik Friedel wrote:
> Hello,
> 
> I am using linux 5.9.1 and have experienced tracebacks in conjunction
> with btrfs and several filesystems:
> btrfs fi show
> Label: 'Daten'  uuid: c217331c-cf0c-49ae-86c7-48a67d1c346b
>         Total devices 1 FS bytes used 54.69GiB
>         devid    1 size 81.79GiB used 57.02GiB path /dev/sde2
> 
> Label: 'DockerImages'  uuid: 9b327a02-606e-4f2d-a137-27f53a5bcb03
>         Total devices 1 FS bytes used 19.36GiB
>         devid    1 size 29.62GiB used 19.52GiB path /dev/sdd2
> 
> Label: 'DataPool1'  uuid: c4a6a2c9-5cf0-49b8-812a-0784953f9ba3
>         Total devices 2 FS bytes used 6.87TiB
>         devid    1 size 7.28TiB used 6.92TiB path /dev/sda1
>         devid    2 size 7.28TiB used 6.92TiB path /dev/sdi1
> 
> I have this bug several times now:
> 

This is not a bug per-se. It tells you that those 2 processes have been
blocked for more than 2 minutes. Are you using qgroups? 5.9 is not a
stable kernel so you are not going to receive updates for bugs which
might be fixed/backported to stable kernels/upstream releases. 5.9.1 is
not even the latest version for 5.9 branch. Next time this issue appears
show us the output of :

echo w > /proc/sysrq-trigger

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

* Re[2]: Code: Bad RIP value.
  2021-03-06  8:00 ` Nikolay Borisov
@ 2021-03-06 11:08   ` Hendrik Friedel
  0 siblings, 0 replies; 3+ messages in thread
From: Hendrik Friedel @ 2021-03-06 11:08 UTC (permalink / raw)
  To: Nikolay Borisov, linux-btrfs

Hello Nikolay,

thank you.

echo w > /proc/sysrq-trigger

I assume, I need to do that soon after the problem occured? Is there a 
way to automate it? Otherwise, I will most likely only notice days after 
the occurence.

Regarding the Kernel Version:
I am using Debian, which usually delivers rather old kernels -but of 
course possibly with backports of bug-fixes.
I am not sure, what the better option is:
1) to use the Kernel, Debian delivers
2) to build the latest Kernel every 3-6 months
3) to build the latest stable kernels

any advice welcome!

Regards,
Hendrik

------ Originalnachricht ------
Von: "Nikolay Borisov" <nborisov@suse.com>
An: "Hendrik Friedel" <hendrik@friedels.name>; 
linux-btrfs@vger.kernel.org
Gesendet: 06.03.2021 09:00:30
Betreff: Re: Code: Bad RIP value.

>
>
>On 5.03.21 г. 21:57 ч., Hendrik Friedel wrote:
>>  Hello,
>>
>>  I am using linux 5.9.1 and have experienced tracebacks in conjunction
>>  with btrfs and several filesystems:
>>  btrfs fi show
>>  Label: 'Daten'  uuid: c217331c-cf0c-49ae-86c7-48a67d1c346b
>>          Total devices 1 FS bytes used 54.69GiB
>>          devid    1 size 81.79GiB used 57.02GiB path /dev/sde2
>>
>>  Label: 'DockerImages'  uuid: 9b327a02-606e-4f2d-a137-27f53a5bcb03
>>          Total devices 1 FS bytes used 19.36GiB
>>          devid    1 size 29.62GiB used 19.52GiB path /dev/sdd2
>>
>>  Label: 'DataPool1'  uuid: c4a6a2c9-5cf0-49b8-812a-0784953f9ba3
>>          Total devices 2 FS bytes used 6.87TiB
>>          devid    1 size 7.28TiB used 6.92TiB path /dev/sda1
>>          devid    2 size 7.28TiB used 6.92TiB path /dev/sdi1
>>
>>  I have this bug several times now:
>>
>
>This is not a bug per-se. It tells you that those 2 processes have been
>blocked for more than 2 minutes. Are you using qgroups? 5.9 is not a
>stable kernel so you are not going to receive updates for bugs which
>might be fixed/backported to stable kernels/upstream releases. 5.9.1 is
>not even the latest version for 5.9 branch. Next time this issue appears
>show us the output of :
>
>echo w > /proc/sysrq-trigger


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

end of thread, other threads:[~2021-03-06 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 19:57 Code: Bad RIP value Hendrik Friedel
2021-03-06  8:00 ` Nikolay Borisov
2021-03-06 11:08   ` Re[2]: " Hendrik Friedel

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.