지난 며칠 동안 나는 alsaplayer를 계속해서 재생시키는 습관을 들였습니다. 일단 얼면 멈추고, 깨어나면 다시 시작됩니다...여러 번. 지난번에는 회복되지 않았습니다. dmesg는 snd_hda_intel 연속 페이지 폴트를 표시합니다. alsaplayer를 죽이는 것은 도움이 되지 않습니다. 새로운 alsaplayer 인스턴스가 시작되지 않고 /tmp/alsaplayer_ale
내 소켓의 첫 번째 응답을 기다리는 동안 차단되었습니다. 커널 모듈을 제거할 수 없습니다. 다시 시작해야했습니다.
펄스 오디오가 없습니다.
정지하려면 먼저 실행 xscreensaver-command -lock
한 다음 pm-hibernate
. 에서 정지하기 전에 dhcpclient 임대를 해제하는 방법을 배웠습니다 /etc/pm/sleep.d
. 오디오 채널을 플러시하는 것과 비슷한 작업을 수행해야 한다고 생각하지만 이를 구현하는 방법을 모르겠습니다. 어떤 팁이 있나요?
편집하다 몇 가지 로그를 추가했습니다. 목적은 커널을 디버깅하는 것이 아니라 재생을 완전히 중지하는 프로세스를 식별하는 것입니다. 원격 스트리밍의 경우 더 깔끔하게 종료하고 재개할 수 있도록 사운드 버퍼도 플러시해야 합니다.
Aug 25 18:27:22 pcale kernel: [1068947.656385] PM: hibernation: hibernation exit
Aug 25 18:27:25 pcale kernel: [1068950.347875] r8169 0000:07:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Aug 25 18:27:28 pcale kernel: [1068953.820689] amd_iommu_report_page_fault: 30009 callbacks suppressed
Aug 25 18:27:28 pcale kernel: [1068953.822338] amd_iommu_report_page_fault: 29999 callbacks suppressed
Aug 25 18:27:33 pcale kernel: [1068958.824683] amd_iommu_report_page_fault: 30014 callbacks suppressed
[... repeated for 530 times ...]
Aug 25 18:45:19 pcale kernel: [1070024.678304] amd_iommu_report_page_fault: 30004 callbacks suppressed
Aug 25 18:45:22 pcale kernel: [1070027.235941] Disabling lock debugging due to kernel taint
Aug 25 18:48:24 pcale kernel: [1070210.088947] task:rmmod state:D stack: 0 pid:26824 ppid: 3604 flags:0x00004004
Aug 25 18:48:24 pcale kernel: [1070210.088951] Call Trace:
Aug 25 18:48:24 pcale kernel: [1070210.088960] __schedule+0x282/0x870
Aug 25 18:48:24 pcale kernel: [1070210.088966] ? __kernfs_remove.part.0+0x134/0x2b0
Aug 25 18:48:24 pcale kernel: [1070210.088969] ? usleep_range+0x90/0x90
Aug 25 18:48:24 pcale kernel: [1070210.088972] schedule+0x46/0xb0
Aug 25 18:48:24 pcale kernel: [1070210.088975] schedule_timeout+0x107/0x150
Aug 25 18:48:24 pcale kernel: [1070210.088979] ? __wake_up_common_lock+0x8a/0xc0
Aug 25 18:48:24 pcale kernel: [1070210.088983] ? __prepare_to_swait+0x4f/0x70
Aug 25 18:48:24 pcale kernel: [1070210.088986] __wait_for_common+0xb9/0x170
Aug 25 18:48:24 pcale kernel: [1070210.088997] snd_card_free+0x64/0x90 [snd]
Aug 25 18:48:24 pcale kernel: [1070210.089003] pci_device_remove+0x3b/0xa0
Aug 25 18:48:24 pcale kernel: [1070210.089012] __device_release_driver+0x17e/0x250
Aug 25 18:48:24 pcale kernel: [1070210.089017] driver_detach+0xcb/0x120
Aug 25 18:48:24 pcale kernel: [1070210.089021] bus_remove_driver+0x58/0xe0
Aug 25 18:48:24 pcale kernel: [1070210.089025] pci_unregister_driver+0x2a/0xb0
Aug 25 18:48:24 pcale kernel: [1070210.089032] __do_sys_delete_module+0x194/0x300
Aug 25 18:48:24 pcale kernel: [1070210.089037] ? exit_to_user_mode_prepare+0x32/0x160
Aug 25 18:48:24 pcale kernel: [1070210.089042] do_syscall_64+0x33/0x80
Aug 25 18:48:24 pcale kernel: [1070210.089047] entry_SYSCALL_64_after_hwframe+0x61/0xc6
Aug 25 18:48:24 pcale kernel: [1070210.089052] RIP: 0033:0x7f08facd8417
Aug 25 18:48:24 pcale kernel: [1070210.089055] RSP: 002b:00007ffc57807778 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
Aug 25 18:48:24 pcale kernel: [1070210.089061] RAX: ffffffffffffffda RBX: 000055704494c760 RCX: 00007f08facd8417
Aug 25 18:48:24 pcale kernel: [1070210.089063] RDX: 000055704494c860 RSI: 0000000000000a00 RDI: 000055704494c7c8
Aug 25 18:48:24 pcale kernel: [1070210.089065] RBP: 0000000000000200 R08: 000055704494c7e0 R09: 00007f08fadaabe0
Aug 25 18:48:24 pcale kernel: [1070210.089067] R10: 000055704494d760 R11: 0000000000000206 R12: 00007ffc578079a8
Aug 25 18:48:24 pcale kernel: [1070210.089068] R13: 00007ffc5780913a R14: 000055704494c2a0 R15: 000055704494c760
Aug 25 18:50:25 pcale kernel: [1070330.920906] task:rmmod state:D stack: 0 pid:26824 ppid: 3604 flags:0x00004004
Aug 25 18:50:25 pcale kernel: [1070330.920912] Call Trace:
Aug 25 18:50:25 pcale kernel: [1070330.920920] __schedule+0x282/0x870
Aug 25 18:50:25 pcale kernel: [1070330.920927] ? __kernfs_remove.part.0+0x134/0x2b0
Aug 25 18:50:25 pcale kernel: [1070330.920931] ? usleep_range+0x90/0x90
Aug 25 18:50:25 pcale kernel: [1070330.920934] schedule+0x46/0xb0
Aug 25 18:50:25 pcale kernel: [1070330.920937] schedule_timeout+0x107/0x150
Aug 25 18:50:25 pcale kernel: [1070330.920942] ? __wake_up_common_lock+0x8a/0xc0
Aug 25 18:50:25 pcale kernel: [1070330.920946] ? __prepare_to_swait+0x4f/0x70
Aug 25 18:50:25 pcale kernel: [1070330.920949] __wait_for_common+0xb9/0x170
Aug 25 18:50:25 pcale kernel: [1070330.920959] snd_card_free+0x64/0x90 [snd]
Aug 25 18:50:25 pcale kernel: [1070330.920965] pci_device_remove+0x3b/0xa0
Aug 25 18:50:25 pcale kernel: [1070330.920970] __device_release_driver+0x17e/0x250
Aug 25 18:50:25 pcale kernel: [1070330.920974] driver_detach+0xcb/0x120
Aug 25 18:50:25 pcale kernel: [1070330.920978] bus_remove_driver+0x58/0xe0
Aug 25 18:50:25 pcale kernel: [1070330.920981] pci_unregister_driver+0x2a/0xb0
Aug 25 18:50:25 pcale kernel: [1070330.920987] __do_sys_delete_module+0x194/0x300
Aug 25 18:50:25 pcale kernel: [1070330.920992] ? exit_to_user_mode_prepare+0x32/0x160
Aug 25 18:50:25 pcale kernel: [1070330.920996] do_syscall_64+0x33/0x80
Aug 25 18:50:25 pcale kernel: [1070330.920999] entry_SYSCALL_64_after_hwframe+0x61/0xc6
Aug 25 18:50:25 pcale kernel: [1070330.921003] RIP: 0033:0x7f08facd8417
Aug 25 18:50:25 pcale kernel: [1070330.921006] RSP: 002b:00007ffc57807778 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
Aug 25 18:50:25 pcale kernel: [1070330.921009] RAX: ffffffffffffffda RBX: 000055704494c760 RCX: 00007f08facd8417
Aug 25 18:50:25 pcale kernel: [1070330.921011] RDX: 000055704494c860 RSI: 0000000000000a00 RDI: 000055704494c7c8
Aug 25 18:50:25 pcale kernel: [1070330.921013] RBP: 0000000000000200 R08: 000055704494c7e0 R09: 00007f08fadaabe0
Aug 25 18:50:25 pcale kernel: [1070330.921015] R10: 000055704494d760 R11: 0000000000000206 R12: 00007ffc578079a8
Aug 25 18:50:25 pcale kernel: [1070330.921017] R13: 00007ffc5780913a R14: 000055704494c2a0 R15: 000055704494c760
모듈을 제거하려는 어리석은 시도 후에 유사한 흔적이 더 많이 있습니다.