2.6.14-git3: scheduling while atomic from cpufreq on Athlon64

From: Rafael J. Wysocki (rjw_at_sisk.pl)
Date: 10/31/05

  • Next message: K.R. Foley: "Re: 2.6.14-rt1 - xruns in a certain circumstance"
    To: LKML <linux-kernel@vger.kernel.org>
    Date:	Mon, 31 Oct 2005 16:06:36 +0100
    
    

    Hi,

    I'm getting some "scheduling while atomic" messages from 2.6.14-git3 on boot
    and on suspend/resume, eg.:

    NET: Registered protocol family 1
    powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.4)
    powernow-k8: 0 : fid 0x0 (800 MHz), vid 0x12 (1100 mV)
    powernow-k8: 1 : fid 0x8 (1600 MHz), vid 0x6 (1400 mV)
    powernow-k8: 2 : fid 0xa (1800 MHz), vid 0x2 (1500 mV)
    cpu_init done, current fid 0xa, vid 0x2
    scheduling while atomic: swapper/0x00000001/1

    Call Trace:<ffffffff8035014a>{schedule+122} <ffffffff80163576>{poison_obj+70}
           <ffffffff801be269>{sysfs_new_dirent+41} <ffffffff80162989>{dbg_redzone1+25}
           <ffffffff801be269>{sysfs_new_dirent+41} <ffffffff80163908>{cache_alloc_debugcheck_after+280}
           <ffffffff8011cf1b>{powernowk8_target+139} <ffffffff80162989>{dbg_redzone1+25}
           <ffffffff802e0830>{cpufreq_stat_notifier_policy+304}
           <ffffffff802dfdb4>{__cpufreq_driver_target+116} <ffffffff801be269>{sysfs_new_dirent+41}
           <ffffffff802e097e>{cpufreq_governor_performance+62}
           <ffffffff802dec8d>{__cpufreq_governor+173} <ffffffff802df3a8>{__cpufreq_set_policy+440}
           <ffffffff802df5bf>{cpufreq_set_policy+79} <ffffffff802df946>{cpufreq_add_dev+806}
           <ffffffff802df540>{handle_update+0} <ffffffff802ae21a>{sysdev_driver_register+170}
           <ffffffff802df106>{cpufreq_register_driver+198} <ffffffff8010c122>{init+194}
           <ffffffff8010f556>{child_rip+8} <ffffffff8010c060>{init+0}
           <ffffffff8010f54e>{child_rip+0}
    scheduling while atomic: swapper/0x00000001/1

    Call Trace:<ffffffff8035014a>{schedule+122} <ffffffff802e2453>{cpufreq_frequency_table_target+371}
           <ffffffff8011d60c>{powernowk8_target+1916} <ffffffff802dfdb4>{__cpufreq_driver_target+116}
           <ffffffff801be269>{sysfs_new_dirent+41} <ffffffff802e097e>{cpufreq_governor_performance+62}
           <ffffffff802dec8d>{__cpufreq_governor+173} <ffffffff802df3a8>{__cpufreq_set_policy+440}
           <ffffffff802df5bf>{cpufreq_set_policy+79} <ffffffff802df946>{cpufreq_add_dev+806}
           <ffffffff802df540>{handle_update+0} <ffffffff802ae21a>{sysdev_driver_register+170}
           <ffffffff802df106>{cpufreq_register_driver+198} <ffffffff8010c122>{init+194}
           <ffffffff8010f556>{child_rip+8} <ffffffff8010c060>{init+0}
           <ffffffff8010f54e>{child_rip+0}
    input: AT Translated Set 2 keyboard//class/input as input1
    scheduling while atomic: swapper/0x00000001/1

    Call Trace:<ffffffff8035014a>{schedule+122} <ffffffff802e2453>{cpufreq_frequency_table_target+371}
           <ffffffff8011cf1b>{powernowk8_target+139} <ffffffff802dfdb4>{__cpufreq_driver_target+116}
           <ffffffff801be269>{sysfs_new_dirent+41} <ffffffff802e097e>{cpufreq_governor_performance+62}
           <ffffffff802dec8d>{__cpufreq_governor+173} <ffffffff802df417>{__cpufreq_set_policy+551}
           <ffffffff802df5bf>{cpufreq_set_policy+79} <ffffffff802df946>{cpufreq_add_dev+806}
           <ffffffff802df540>{handle_update+0} <ffffffff802ae21a>{sysdev_driver_register+170}
           <ffffffff802df106>{cpufreq_register_driver+198} <ffffffff8010c122>{init+194}
           <ffffffff8010f556>{child_rip+8} <ffffffff8010c060>{init+0}
           <ffffffff8010f54e>{child_rip+0}
    scheduling while atomic: swapper/0x00000001/1

    Call Trace:<ffffffff8035014a>{schedule+122} <ffffffff802e2453>{cpufreq_frequency_table_target+371}
           <ffffffff8011d60c>{powernowk8_target+1916} <ffffffff802dfdb4>{__cpufreq_driver_target+116}
           <ffffffff801be269>{sysfs_new_dirent+41} <ffffffff802e097e>{cpufreq_governor_performance+62}
           <ffffffff802dec8d>{__cpufreq_governor+173} <ffffffff802df417>{__cpufreq_set_policy+551}
           <ffffffff802df5bf>{cpufreq_set_policy+79} <ffffffff802df946>{cpufreq_add_dev+806}
           <ffffffff802df540>{handle_update+0} <ffffffff802ae21a>{sysdev_driver_register+170}
           <ffffffff802df106>{cpufreq_register_driver+198} <ffffffff8010c122>{init+194}
           <ffffffff8010f556>{child_rip+8} <ffffffff8010c060>{init+0}
           <ffffffff8010f54e>{child_rip+0}

    Additionally there are some problems with freezing processes by swsusp.

    Greetings,
    Rafael

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: K.R. Foley: "Re: 2.6.14-rt1 - xruns in a certain circumstance"

    Relevant Pages

    • Re: Likelihood of rt_tasks
      ... > A quick question about the usefulness of making rt_taskchecks ... > are scheduling one or many running rt_tasks and the majority of your ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0
      ... > could you disable HIGHMEM (or at least HIGHPTE) and try again? ... atomic errors in dmesg, but only one in kern.log, and a ... the scheduling while atomic problem), ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] [request for inclusion] Realtime LSM
      ... >> you have commented on whether the rlimits for priority are useful. ... > separate limits for the different scheduling disciplines. ... I patched PAM which allows the setting of nice and realtime rlimits in ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: bad: scheduling while atomic!, preempt kernel, 2.6.1-test11, reading an apparently duff DVD-R
      ... > I got the following when trying to mount a particular DVD-R on Linux ... Scheduling while holding a spinlock is not a good ... This is why ide-scsi needs a maintainer, btw - somebody who cares about ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ~500 megs cached yet 2.6.5 goes into swap hell
      ... guess/heuristic approach to scheduling. ... when would you want to have a sched-nice of -20 and an io-nice ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)