Hi again, I rebooted my system and during boot this other similar bug occurred:
[ 32.808532] BUG: scheduling while atomic: hdparm/920/0x00000002 [ 32.808533] Modules linked in: [ 32.808534] dcdbas [ 32.808534] coretemp [ 32.808535] kvm_intel [ 32.808535] kvm [ 32.808536] snd_hda_codec_analog [ 32.808536] snd_hda_codec_generic [ 32.808537] irqbypass [ 32.808537] serio_raw [ 32.808537] pcspkr [ 32.808538] snd_hda_intel [ 32.808538] ip6table_filter [ 32.808539] ip6_tables [ 32.808539] xt_multiport [ 32.808540] snd_hda_codec [ 32.808540] sg [ 32.808541] snd_hda_core [ 32.808541] snd_hwdep [ 32.808541] snd_pcm_oss [ 32.808542] lpc_ich [ 32.808542] mfd_core [ 32.808543] snd_mixer_oss [ 32.808543] snd_pcm [ 32.808543] snd_timer [ 32.808544] iptable_filter [ 32.808544] snd [ 32.808545] soundcore [ 32.808545] mei_me [ 32.808546] mei [ 32.808546] shpchp [ 32.808547] parport_pc [ 32.808547] parport [ 32.808547] evdev [ 32.808548] binfmt_misc [ 32.808548] acpi_cpufreq [ 32.808549] ib_iser [ 32.808550] rdma_cm [ 32.808550] iw_cm [ 32.808550] ib_cm [ 32.808551] ib_core [ 32.808551] configfs [ 32.808552] iscsi_tcp [ 32.808552] libiscsi_tcp [ 32.808553] libiscsi [ 32.808553] scsi_transport_iscsi [ 32.808554] drbd [ 32.808554] lru_cache [ 32.808555] loop [ 32.808555] dm_crypt [ 32.808555] ip_tables [ 32.808556] x_tables [ 32.808556] autofs4 [ 32.808557] ext4 [ 32.808557] crc16 [ 32.808558] jbd2 [ 32.808558] fscrypto [ 32.808559] ecb [ 32.808559] glue_helper [ 32.808559] lrw [ 32.808560] gf128mul [ 32.808560] ablk_helper [ 32.808561] cryptd [ 32.808561] aes_x86_64 [ 32.808562] mbcache [ 32.808562] btrfs [ 32.808563] ses [ 32.808563] enclosure [ 32.808563] scsi_transport_sas [ 32.808564] raid10 [ 32.808564] raid456 [ 32.808565] async_raid6_recov [ 32.808565] async_memcpy [ 32.808565] async_pq [ 32.808566] async_xor [ 32.808566] async_tx [ 32.808567] xor [ 32.808567] raid6_pq [ 32.808568] libcrc32c [ 32.808568] crc32c_generic [ 32.808568] raid1 [ 32.808569] raid0 [ 32.808569] multipath [ 32.808570] linear [ 32.808570] md_mod [ 32.808571] dm_mirror [ 32.808571] dm_region_hash [ 32.808572] dm_log [ 32.808572] dm_mod [ 32.808572] uas [ 32.808573] usb_storage [ 32.808573] hid_generic [ 32.808574] usbhid [ 32.808574] hid [ 32.808574] sd_mod [ 32.808575] psmouse [ 32.808575] i2c_i801 [ 32.808576] i2c_smbus [ 32.808576] ahci [ 32.808576] libahci [ 32.808577] ata_generic [ 32.808577] i915 [ 32.808578] ehci_pci [ 32.808578] wmi [ 32.808579] video [ 32.808579] i2c_algo_bit [ 32.808579] libata [ 32.808580] drm_kms_helper [ 32.808580] uhci_hcd [ 32.808581] button [ 32.808581] scsi_mod [ 32.808581] ehci_hcd [ 32.808582] usbcore [ 32.808582] usb_common [ 32.808583] drm [ 32.808583] e1000e [ 32.808584] ptp [ 32.808584] pps_core [ 32.808585] Preemption disabled at: [ 32.808589] [<ffffffff89e5845f>] get_random_int+0x2f/0xc0 [ 32.808592] CPU: 1 PID: 920 Comm: hdparm Not tainted 4.9.0-3-rt-amd64 #1 Debian 4.9.25-1 [ 32.808592] Hardware name: Dell Inc. OptiPlex 780 /0C27VV, BIOS A15 08/06/2013 [ 32.808594] 0000000000000000 [ 32.808594] ffffffff89d3d8ab [ 32.808595] ffffffff89e5845f [ 32.808595] ffffaff2c0fa7c80 [ 32.808595] ffffffff89aa4113 [ 32.808596] 0000000000000000 [ 32.808596] ffffffff8a02153b [ 32.808596] 00ff89980ff76740 [ 32.808597] ffff8998134e9240 [ 32.808597] ffffaff2c0fa7cc0 [ 32.808597] ffff89980ff76740 [ 32.808598] ffffaff2c0fa7cc0 [ 32.808598] Call Trace: [ 32.808603] [<ffffffff89d3d8ab>] ? dump_stack+0x5c/0x81 [ 32.808604] [<ffffffff89e5845f>] ? get_random_int+0x2f/0xc0 [ 32.808606] [<ffffffff89aa4113>] ? __schedule_bug+0x73/0xc0 [ 32.808608] [<ffffffff8a02153b>] ? __schedule+0x4fb/0x5b0 [ 32.808609] [<ffffffff8a021633>] ? schedule+0x43/0xc0 [ 32.808610] [<ffffffff8a0232bf>] ? rt_spin_lock_slowlock+0x1ef/0x340 [ 32.808611] [<ffffffff89e579b9>] ? _extract_crng+0x39/0xa0 [ 32.808612] [<ffffffff89e584c9>] ? get_random_int+0x99/0xc0 [ 32.808614] [<ffffffff89bd2152>] ? vm_brk+0x62/0x90 [ 32.808616] [<ffffffff89a0422b>] ? map_vdso_randomized+0x6b/0xa0 [ 32.808618] [<ffffffff89c70eeb>] ? load_elf_binary+0xb1b/0x1600 [ 32.808620] [<ffffffff89c17eca>] ? search_binary_handler+0x9a/0x1e0 [ 32.808622] [<ffffffff89c19756>] ? do_execveat_common.isra.36+0x5c6/0x7f0 [ 32.808623] [<ffffffff89c19ba5>] ? SyS_execve+0x35/0x40 [ 32.808624] [<ffffffff89a03c5c>] ? do_syscall_64+0x7c/0xf0 [ 32.808626] [<ffffffff8a025a6f>] ? entry_SYSCALL64_slow_path+0x25/0x25 [ 32.808634] ------------[ cut here ]------------ [ 32.810307] WARNING: CPU: 1 PID: 920 at /build/linux-JYG8Jz/linux-4.9.25/debian/build/source_rt/kernel/sched/core.c:3301 get_random_int+0x63/0xc0 [ 32.810352] DEBUG_LOCKS_WARN_ON(val > preempt_count()) [ 32.810374] Modules linked in: [ 32.810413] dcdbas coretemp kvm_intel kvm snd_hda_codec_analog snd_hda_codec_generic irqbypass serio_raw pcspkr snd_hda_intel ip6table_filter ip6_tables xt_multiport snd_hda_codec sg snd_hda_core snd_hwdep snd_pcm_oss lpc_ich mfd_core snd_mixer_oss snd_pcm snd_timer iptable_filter snd soundcore mei_me mei shpchp parport_pc parport evdev binfmt_misc acpi_cpufreq ib_iser rdma_cm iw_cm ib_cm ib_core configfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi drbd lru_cache loop dm_crypt ip_tables x_tables autofs4 ext4 crc16 jbd2 fscrypto ecb glue_helper lrw gf128mul ablk_helper cryptd aes_x86_64 mbcache btrfs ses enclosure scsi_transport_sas raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod dm_mirror [ 32.810420] dm_region_hash dm_log dm_mod uas usb_storage hid_generic usbhid hid sd_mod psmouse i2c_i801 i2c_smbus ahci libahci ata_generic i915 ehci_pci wmi video i2c_algo_bit libata drm_kms_helper uhci_hcd button scsi_mod ehci_hcd usbcore usb_common drm e1000e ptp pps_core [ 32.810715] CPU: 1 PID: 920 Comm: hdparm Tainted: G W 4.9.0-3-rt-amd64 #1 Debian 4.9.25-1 [ 32.810716] Hardware name: Dell Inc. OptiPlex 780 /0C27VV, BIOS A15 08/06/2013 [ 32.810718] 0000000000000000 ffffffff89d3d8ab ffffaff2c0fa7d00 0000000000000000 [ 32.810719] ffffffff89a7b787 ffff8998134e5a80 ffffaff2c0fa7d58 ffffffff8a201380 [ 32.810721] ffffaff2c0fa8000 ffff89980c4bfc00 ffff89980c4bc988 ffffffff89a7b7ff [ 32.810721] Call Trace: [ 32.810723] [<ffffffff89d3d8ab>] ? dump_stack+0x5c/0x81 [ 32.810725] [<ffffffff89a7b787>] ? __warn+0xd7/0xf0 [ 32.810726] [<ffffffff89a7b7ff>] ? warn_slowpath_fmt+0x5f/0x80 [ 32.810728] [<ffffffff89e58493>] ? get_random_int+0x63/0xc0 [ 32.810729] [<ffffffff89a0422b>] ? map_vdso_randomized+0x6b/0xa0 [ 32.810730] [<ffffffff89c70eeb>] ? load_elf_binary+0xb1b/0x1600 [ 32.810732] [<ffffffff89c17eca>] ? search_binary_handler+0x9a/0x1e0 [ 32.810733] [<ffffffff89c19756>] ? do_execveat_common.isra.36+0x5c6/0x7f0 [ 32.810735] [<ffffffff89c19ba5>] ? SyS_execve+0x35/0x40 [ 32.810736] [<ffffffff89a03c5c>] ? do_syscall_64+0x7c/0xf0 [ 32.810738] [<ffffffff8a025a6f>] ? entry_SYSCALL64_slow_path+0x25/0x25 [ 32.810739] ---[ end trace 0000000000000002 ]--- -- Laurent.

