Rhel*(4.18.0-235.el8.x86_64)에서 부팅할 때 "호출 추적"이 표시됩니다. 콜드 스타트 후 통화 추적이 나타납니다. 다른 문제는 보이지 않습니다. 이는 알려진 문제입니다.
이 지점에서 전선이 걸린 것을 보지만 왜 걸린지 모르겠습니다. 이것이 RHEL8에서 알려져 있습니까?
void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref)
{
percpu_ref_switch_to_atomic(ref, NULL);
wait_event(percpu_ref_switch_waitq, !ref->confirm_switch);
}
따라서 스레드가 원자성 전환 요청을 시작하면 작업이 완료되었음을 나타내기 위해 "confirm_switch"가 빈 상태로 재설정될 때까지 기다립니다.
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: CPU: 32 PID: 2136 Comm: md126_raid1 Tainted: G OE --------- - - 4.18.0-235.el8.x86_64 #1
...
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: RIP: 0010:__percpu_ref_switch_mode+0x17d/0x190
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: Code: 89 43 08 e9 7c ff ff ff 4d 85 e4 0f 84 73 ff ff ff 48 89 df e8 74 f6 7a 00 e9 66 ff ff ff f0 48 83 03 01 e9 4c ff ff ff 0f 0b <0f> 0b e9 53 ff ff ff e8 07 3c c6 ff 0f 1f 80 00 00 00 00 41 54 49
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: RSP: 0018:ffffbc3d47d77cf0 EFLAGS: 00010046
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: RAX: 000049454f61d951 RBX: ffff92f7ec9a0338 RCX: dead000000000200
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff92f7ec9a0338
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: RBP: 000049454f61d950 R08: ffffffff95d23eb8 R09: 0000000000000000
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: R10: 0000000000000000 R11: 00000008fe870580 R12: 0000000000000000
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: R13: 0000000000000001 R14: ffff92efef718800 R15: ffffffff950b5d90
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: FS: 0000000000000000(0000) GS:ffff92f01fa00000(0000) knlGS:0000000000000000
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: CR2: 000055aaad941250 CR3: 0000000f2fa0a002 CR4: 00000000007606a0
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: PKRU: 55555554
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: Call Trace:
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? percpu_ref_switch_to_atomic_sync+0x6a/0x90
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: percpu_ref_switch_to_percpu+0x22/0x40
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: set_in_sync+0xc4/0xd0
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: md_check_recovery+0x49d/0x530
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: raid1d+0x5c/0x12a0 [raid1]
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? lock_timer_base+0x67/0x80
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? try_to_del_timer_sync+0x4d/0x80
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? del_timer_sync+0x25/0x40
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? schedule_timeout+0x19b/0x2f0
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? __next_timer_interrupt+0xf0/0xf0
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? md_register_thread+0xd0/0xd0
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? md_thread+0x94/0x150
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? process_checks+0x4a0/0x4a0 [raid1]
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: md_thread+0x94/0x150
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? finish_wait+0x80/0x80
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: kthread+0x112/0x130
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ? kthread_flush_work_fn+0x10/0x10
Sep 26 14:40:59 dhcp-134-111-74-24 kernel: ret_from_fork+0x35/0x40
거의 한 달 동안 이 문제에 매달렸기 때문에 어떤 통찰력이라도 도움이 될 것입니다. 미리 감사드립니다
감사합니다, 스리니바스