lp コマンドを使用して、CPU で rcu_sched セルフテスト停止をトリガします。

lp コマンドを使用して、CPU で rcu_sched セルフテスト停止をトリガします。

lpモジュールを介して既存のプリンタを使用しているときにモジュールをロードし、modprobe lplp0モジュールに文字を出力すると、echo 1>lp0コンピュータのデスクトップがフリーズします。 (しかし、リモートでコンピュータに接続するのに問題はありません。)

これは私のdmesgログです。

lp0: using parport0 (interrupt-driven).
rcu: INFO: rcu_sched self-detected stall on CPU
rcu:    0-....: (1 GPs behind) idle=866/0/0x7 softirq=37271/37271 fqs=6350 
    (t=15000 jiffies g=56737 q=16517)
Task dump for CPU 0:
task:swapper/0       state:R  running task     stack:    0 pid:    0 ppid:     0 flags:0x0000002a
Call trace:
 dump_backtrace+0x0/0x1e8
 show_stack+0x18/0x28
 sched_show_task.part.110+0xdc/0xf4
 sched_show_task+0xc4/0xd0
 dump_cpu_task+0x44/0x54
 rcu_dump_cpu_stacks+0xc0/0x104
 rcu_sched_clock_irq+0x870/0xa80
 update_process_times+0x60/0xa0
 tick_sched_handle.isra.20+0x40/0x58
 tick_sched_timer+0x4c/0xa8
 __hrtimer_run_queues+0x104/0x348
 hrtimer_interrupt+0x114/0x328
 arch_timer_handler_phys+0x30/0x40
 handle_percpu_devid_irq+0x88/0x210
 generic_handle_irq+0x30/0x48
 __handle_domain_irq+0x64/0xc0
 gic_handle_irq+0xc0/0x138
 el1_irq+0xc8/0x180
 efi_header_end+0x9c/0x35c
 irq_exit+0xa4/0xc0
 __handle_domain_irq+0x68/0xc0
 gic_handle_irq+0xc0/0x138
 el1_irq+0xc8/0x180
 arch_cpu_idle+0x18/0x28
 default_idle_call+0x54/0x17c
 do_idle+0x204/0x278
 cpu_startup_entry+0x24/0x58
 rest_init+0xbc/0xcc
 arch_call_rest_init+0x10/0x1c
 start_kernel+0x4f4/0x528

top端末にCPU 0が100%で実行されていると表示されます。

それで、なぜこのような問題が発生するのか知りたいのですが、まったくわかりません。

ベストアンサー1

おすすめ記事