[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861808: linux-image-4.9.0-3-rt-amd64: BUG: scheduling while atomic and val > preempt_count()



Hi,

here is another related but slightly different occurrence of this bug:

[84347.556228] BUG: scheduling while atomic: check-support-s/12390/0x00000002
[84347.556256] Modules linked in: fuse cpuid cpufreq_conservative cpufreq_powersave cpufreq_userspace rfkill iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap dell_smbios dcdbas coretemp kvm_intel kvm irqbypass snd_hda_codec_analog snd_hda_codec_generic pcspkr serio_raw snd_hda_intel sg snd_hda_codec snd_hda_core lpc_ich snd_hwdep snd_pcm_oss mfd_core snd_mixer_oss snd_pcm ip6table_filter snd_timer ip6_tables xt_multiport shpchp snd soundcore iptable_filter acpi_cpufreq evdev binfmt_misc configfs lru_cache loop ip_tables x_tables autofs4 ext4 crc16 jbd2 fscrypto ecb glue_helper lrw gf128mul ablk_helper cryptd aes_x86_64 mbcache ses enclosure scsi_transport_sas async_memcpy async_xor async_tx xor libcrc32c crc32c_generic uas usb_storage hid_generic usbhid hid sd_mod i2c_i801 i2c_smbus ahci libahci
[84347.556263]  ata_generic wmi i915 video i2c_algo_bit libata drm_kms_helper ehci_pci uhci_hcd drm button scsi_mod ehci_hcd usbcore usb_common e1000e ptp pps_core [last unloaded: md_mod]
[84347.556267] Preemption disabled at:
[84347.556267] [<ffffffff9ee583a0>] get_random_long+0x30/0xc0
[84347.556269] CPU: 0 PID: 12390 Comm: check-support-s Not tainted 4.9.0-3-rt-amd64 #1 Debian 4.9.25-1
[84347.556270] Hardware name: Dell Inc. OptiPlex 780                 /0C27VV, BIOS A15 08/06/2013
[84347.556272]  0000000000000000 ffffffff9ed3d8ab ffffffff9ee583a0 ffffbc4303b87c50
[84347.556273]  ffffffff9eaa4113 0000000000000000 ffffffff9f02153b 00ff962942b451e8
[84347.556275]  ffff962993469240 ffff9628d479c9c0 ffff9628d479c9c0 ffffbc4303b87c90
[84347.556275] Call Trace:
[84347.556279]  [<ffffffff9ed3d8ab>] ? dump_stack+0x5c/0x81
[84347.556280]  [<ffffffff9ee583a0>] ? get_random_long+0x30/0xc0
[84347.556282]  [<ffffffff9eaa4113>] ? __schedule_bug+0x73/0xc0
[84347.556284]  [<ffffffff9f02153b>] ? __schedule+0x4fb/0x5b0
[84347.556285]  [<ffffffff9f021633>] ? schedule+0x43/0xc0
[84347.556286]  [<ffffffff9f0232bf>] ? rt_spin_lock_slowlock+0x1ef/0x340
[84347.556288]  [<ffffffff9ee579b9>] ? _extract_crng+0x39/0xa0
[84347.556289]  [<ffffffff9ee5840b>] ? get_random_long+0x9b/0xc0
[84347.556290]  [<ffffffff9eaa4651>] ? migrate_enable+0x81/0x150
[84347.556291]  [<ffffffff9ea678bd>] ? arch_mmap_rnd+0x1d/0x60
[84347.556292]  [<ffffffff9ea67a61>] ? arch_pick_mmap_layout+0x161/0x1c0
[84347.556294]  [<ffffffff9ec19a21>] ? setup_new_exec+0x21/0x170
[84347.556296]  [<ffffffff9ec707ea>] ? load_elf_binary+0x41a/0x1600
[84347.556297]  [<ffffffff9ec76338>] ? get_cached_acl+0x48/0x80
[84347.556299]  [<ffffffff9ea7dbf6>] ? pin_current_cpu+0x76/0x1c0
[84347.556300]  [<ffffffff9ec17eca>] ? search_binary_handler+0x9a/0x1e0
[84347.556301]  [<ffffffff9ec19756>] ? do_execveat_common.isra.36+0x5c6/0x7f0
[84347.556303]  [<ffffffff9ec19ba5>] ? SyS_execve+0x35/0x40
[84347.556304]  [<ffffffff9ea03c5c>] ? do_syscall_64+0x7c/0xf0
[84347.556306]  [<ffffffff9f025a6f>] ? entry_SYSCALL64_slow_path+0x25/0x25
[84347.556943] ------------[ cut here ]------------
[84347.557919] WARNING: CPU: 0 PID: 12390 at /build/linux-JYG8Jz/linux-4.9.25/debian/build/source_rt/kernel/sched/core.c:3301 get_random_long+0x65/0xc0
[84347.557964] DEBUG_LOCKS_WARN_ON(val > preempt_count())
[84347.557985] Modules linked in:
[84347.558022]  fuse cpuid cpufreq_conservative cpufreq_powersave cpufreq_userspace rfkill iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap dell_smbios dcdbas coretemp kvm_intel kvm irqbypass snd_hda_codec_analog snd_hda_codec_generic pcspkr serio_raw snd_hda_intel sg snd_hda_codec snd_hda_core lpc_ich snd_hwdep snd_pcm_oss mfd_core snd_mixer_oss snd_pcm ip6table_filter snd_timer ip6_tables xt_multiport shpchp snd soundcore iptable_filter acpi_cpufreq evdev binfmt_misc configfs lru_cache loop ip_tables x_tables autofs4 ext4 crc16 jbd2 fscrypto ecb glue_helper lrw gf128mul ablk_helper cryptd aes_x86_64 mbcache ses enclosure scsi_transport_sas async_memcpy async_xor async_tx xor libcrc32c crc32c_generic uas usb_storage hid_generic usbhid hid sd_mod i2c_i801 i2c_smbus ahci libahci ata_generic wmi i915
[84347.558239]  video i2c_algo_bit libata drm_kms_helper ehci_pci uhci_hcd drm button scsi_mod ehci_hcd usbcore usb_common e1000e ptp pps_core [last unloaded: md_mod]
[84347.558285] CPU: 0 PID: 12390 Comm: check-support-s Tainted: G        W       4.9.0-3-rt-amd64 #1 Debian 4.9.25-1
[84347.558285] Hardware name: Dell Inc. OptiPlex 780                 /0C27VV, BIOS A15 08/06/2013
[84347.558287]  0000000000000000 ffffffff9ed3d8ab ffffbc4303b87cd0 0000000000000000
[84347.558289]  ffffffff9ea7b787 ffff962993465ae0 ffffbc4303b87d28 ffff96293334e700
[84347.558290]  0000000000000000 ffff96295900a400 0000000000000001 ffffffff9ea7b7ff
[84347.558290] Call Trace:
[84347.558292]  [<ffffffff9ed3d8ab>] ? dump_stack+0x5c/0x81
[84347.558294]  [<ffffffff9ea7b787>] ? __warn+0xd7/0xf0
[84347.558296]  [<ffffffff9ea7b7ff>] ? warn_slowpath_fmt+0x5f/0x80
[84347.558297]  [<ffffffff9ee583d5>] ? get_random_long+0x65/0xc0
[84347.558298]  [<ffffffff9ea678bd>] ? arch_mmap_rnd+0x1d/0x60
[84347.558299]  [<ffffffff9ea67a61>] ? arch_pick_mmap_layout+0x161/0x1c0
[84347.558301]  [<ffffffff9ec19a21>] ? setup_new_exec+0x21/0x170
[84347.558302]  [<ffffffff9ec707ea>] ? load_elf_binary+0x41a/0x1600
[84347.558303]  [<ffffffff9ec76338>] ? get_cached_acl+0x48/0x80
[84347.558304]  [<ffffffff9ea7dbf6>] ? pin_current_cpu+0x76/0x1c0
[84347.558306]  [<ffffffff9ec17eca>] ? search_binary_handler+0x9a/0x1e0
[84347.558307]  [<ffffffff9ec19756>] ? do_execveat_common.isra.36+0x5c6/0x7f0
[84347.558308]  [<ffffffff9ec19ba5>] ? SyS_execve+0x35/0x40
[84347.558310]  [<ffffffff9ea03c5c>] ? do_syscall_64+0x7c/0xf0
[84347.558311]  [<ffffffff9f025a6f>] ? entry_SYSCALL64_slow_path+0x25/0x25
[84347.558312] ---[ end trace 0000000000000002 ]---

-- 
Laurent.


Reply to: