[Bug 499033] Re: BUG: scheduling while atomic
** Changed in: linux-rt (Ubuntu) Status: Fix Committed => Fix Released -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
** Changed in: linux-rt (Ubuntu) Status: In Progress => Fix Committed -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
Review requested and obtained from Ubuntu Kernel Team: https://lists.ubuntu.com/archives/kernel-team/2010-May/010543.html Packages are available on this PPA: https://launchpad.net/~abogani/+archive/broken/+packages -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
** Changed in: linux-rt (Ubuntu) Importance: Undecided => Low -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
** Changed in: linux-rt (Ubuntu) Status: New => In Progress ** Changed in: linux-rt (Ubuntu) Assignee: (unassigned) => Alessio Igor Bogani (abogani) -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
Note: I installed the linux-realtime package. Not sure if it is a meta-package. The kernel headers were not installed. So the kernel post install script that compiles my NVidia module (proprietry) did not work. After installing the kernel headers, it did of course. (A package named linux-meta-realtime is NOT visible in Synaptic). System (x64) runs fine so far. No hangups in KDE with compiz wobbly windows and audio running. thx -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
@RichardN, PPA install instructions: https://launchpad.net/+help/soyuz/ppa-sources-list.html -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
aha. OK. That will save us some trouble. thanks again! -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
RichardN, Ubuntu Kernel = vanilla kernel + a lot of patches (some backported others done by Ubuntu Kernel Team). No differences but on Ubuntu kernel patches don't simply apply clean. If you install linux-rt (already available in Lucid through Ubuntu archive) you install an Ubuntu kernel with PREEMPT_RT patchset applied. Instead if you install linux-realtime (available through my PPA) you install vanilla kernel with PREEMPT_RT patchset applied. -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
I have added the package sources and pressed 'reload' in the synaptic package manager. An error is shown: W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F44462BDF141B61E -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
Hi Alessio, I will have a go at the Lucid kernels you provide via the PPA. Is there a big difference between applying the patch to a Vanilla kernel and Ubuntu kernel? I wouldn't mind having some wiki that kind off describes the steppes to take to create an RT Ubuntu kernel (without 'warranty' of course). Richard. -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
RichardN, You are right. The problem is that I'm the only person that try to take care of linux realtime package in Ubuntu. This isn't a little task (test the upstream version, release a new Ubuntu version, bug triage, reply to answer, try to fix bugs and others) so, at the moment, I don't have enough power for provide updates through SRU Stable Release Update (that is updates after that an Ubuntu is released: https://wiki.ubuntu.com/StableReleaseUpdates). Sorry. For Lucid I provide kernels in a bit little different way to mitigate the above mentioned problems: https://lists.ubuntu.com/archives/kernel-team/2010-March/009323.html Thanks! -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
Hi, Perhaps I can try to run Lucid Lynx. However the problem is easily solvable (we found out by incident) by building the latest kernel with RT path from Ingo Molnar Instructions are at https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO (as you will certainly know). -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
Hi, This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu (Lucid Lynx)? ISO CD images are available from http://cdimage.ubuntu.com/releases/ Thanks! -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
** Description changed: - Running custom Mono/GTK Sharp application. Application used to work on RT kernel and uses SCHED_RR priority. + Running c application. Application used to work on RT kernel and uses SCHED_RR priority. Now it crashes the moment it tries to create pthread threads that will run at some priortiy using SCHED_RR 'Full' crashreport from syslog: Dec 17 16:32:02 host16 kernel: [ 1308.894129] BUG: scheduling while atomic: myapp/0x0001/3340, CPU#0 Dec 17 16:32:02 host16 kernel: [ 1308.894132] Modules linked in: binfmt_misc vboxnetflt vboxnetadp vboxdrv nls_cp437 cifs snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss iptable_filter ip_tables x_tables snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd ppdev lp parport_pc soundcore heci(C) snd_page_alloc parport led_class usbhid radeon ttm drm i2c_algo_bit e1000e floppy intel_agp Dec 17 16:32:02 host16 kernel: [ 1308.894180] Pid: 3340, comm: myapp Tainted: G C 2.6.31-9-rt #152-Ubuntu Dec 17 16:32:02 host16 kernel: [ 1308.894184] Call Trace: Dec 17 16:32:02 host16 kernel: [ 1308.894189] [] __schedule_bug+0x6a/0x70 Dec 17 16:32:02 host16 kernel: [ 1308.894195] [] thread_return+0x278/0x3cf Dec 17 16:32:02 host16 kernel: [ 1308.894201] [] schedule+0x14/0x30 Dec 17 16:32:02 host16 kernel: [ 1308.894206] [] rt_spin_lock_slowlock+0x1ba/0x290 Dec 17 16:32:02 host16 kernel: [ 1308.894213] [] rt_spin_lock+0x36/0x60 Dec 17 16:32:02 host16 kernel: [ 1308.894218] [] wait_for_common+0xc7/0x180 Dec 17 16:32:02 host16 kernel: [ 1308.894224] [] ? default_wake_function+0x0/0x20 Dec 17 16:32:02 host16 kernel: [ 1308.894230] [] ? signal_wake_up+0x43/0x50 Dec 17 16:32:02 host16 kernel: [ 1308.894236] [] wait_for_completion+0x18/0x20 Dec 17 16:32:02 host16 kernel: [ 1308.894241] [] coredump_wait+0x1f4/0x230 Dec 17 16:32:02 host16 kernel: [ 1308.894247] [] do_coredump+0x146/0x490 Dec 17 16:32:02 host16 kernel: [ 1308.894253] [] ? thread_return+0x53/0x3cf Dec 17 16:32:02 host16 kernel: [ 1308.894259] [] ? __task_pid_nr_ns+0x69/0xc0 Dec 17 16:32:02 host16 kernel: [ 1308.894265] [] get_signal_to_deliver+0x19a/0x330 Dec 17 16:32:02 host16 kernel: [ 1308.894271] [] do_signal+0x8d/0x1f0 Dec 17 16:32:02 host16 kernel: [ 1308.894277] [] ? sys_rt_sigaction+0x81/0xc0 Dec 17 16:32:02 host16 kernel: [ 1308.894283] [] do_notify_resume+0x4f/0x60 Dec 17 16:32:02 host16 kernel: [ 1308.894288] [] retint_signal+0x48/0x8c Dec 17 16:32:02 host16 kernel: [ 1308.894311] note: myapp[3340] exited with preempt_count 1 Running Karmic 9.10 AMD64 on Intel processor with all recent patches. Excerpt of c code (-m64): pthread_t my_thread; struct sched_param param; pthread_attr_t threadAttr; param.sched_priority = 2; if (sched_setscheduler(0, SCHED_RR, ¶m) != 0) { exit(-1); } param.sched_priority = 90; pthread_attr_init(&threadAttr); pthread_attr_setschedpolicy(&threadAttr, SCHED_RR); pthread_attr_setschedparam(&threadAttr, ¶m); if (pthread_create(&my_thread, &threadAttr, my_task, (void *) 10) != 0) { exit(-1); } pthread_attr_destroy(&threadAttr); ProblemType: Bug Architecture: amd64 Date: Mon Dec 21 13:44:10 2009 DistroRelease: Ubuntu 9.10 InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) Package: linux-image-2.6.31-9-rt 2.6.31-9.152 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-16.53-generic SourcePackage: linux-rt Uname: Linux 2.6.31-16-generic x86_64 -- BUG: scheduling while atomic https://bugs.launchpad.net/bugs/499033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 499033] Re: BUG: scheduling while atomic
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/37017736/Dependencies.txt ** Attachment added: "XsessionErrors.txt" http://launchpadlibrarian.net/37017737/XsessionErrors.txt ** Description changed: Running custom Mono/GTK Sharp application. Application used to work on RT kernel and uses SCHED_RR priority. Now it crashes the moment it tries to create pthread threads that will run at some priortiy using SCHED_RR 'Full' crashreport from syslog: - Dec 17 16:32:02 wmc016 kernel: [ 1308.894129] BUG: scheduling while atomic: myapp/0x0001/3340, CPU#0 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894132] Modules linked in: binfmt_misc vboxnetflt vboxnetadp vboxdrv nls_cp437 cifs snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss iptable_filter ip_tables x_tables snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd ppdev lp parport_pc soundcore heci(C) snd_page_alloc parport led_class usbhid radeon ttm drm i2c_algo_bit e1000e floppy intel_agp - Dec 17 16:32:02 wmc016 kernel: [ 1308.894180] Pid: 3340, comm: myapp Tainted: G C 2.6.31-9-rt #152-Ubuntu - Dec 17 16:32:02 wmc016 kernel: [ 1308.894184] Call Trace: - Dec 17 16:32:02 wmc016 kernel: [ 1308.894189] [] __schedule_bug+0x6a/0x70 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894195] [] thread_return+0x278/0x3cf - Dec 17 16:32:02 wmc016 kernel: [ 1308.894201] [] schedule+0x14/0x30 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894206] [] rt_spin_lock_slowlock+0x1ba/0x290 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894213] [] rt_spin_lock+0x36/0x60 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894218] [] wait_for_common+0xc7/0x180 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894224] [] ? default_wake_function+0x0/0x20 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894230] [] ? signal_wake_up+0x43/0x50 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894236] [] wait_for_completion+0x18/0x20 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894241] [] coredump_wait+0x1f4/0x230 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894247] [] do_coredump+0x146/0x490 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894253] [] ? thread_return+0x53/0x3cf - Dec 17 16:32:02 wmc016 kernel: [ 1308.894259] [] ? __task_pid_nr_ns+0x69/0xc0 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894265] [] get_signal_to_deliver+0x19a/0x330 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894271] [] do_signal+0x8d/0x1f0 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894277] [] ? sys_rt_sigaction+0x81/0xc0 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894283] [] do_notify_resume+0x4f/0x60 - Dec 17 16:32:02 wmc016 kernel: [ 1308.894288] [] retint_signal+0x48/0x8c - Dec 17 16:32:02 wmc016 kernel: [ 1308.894311] note: wmcs_core2[3340] exited with preempt_count 1 + Dec 17 16:32:02 host16 kernel: [ 1308.894129] BUG: scheduling while atomic: myapp/0x0001/3340, CPU#0 + Dec 17 16:32:02 host16 kernel: [ 1308.894132] Modules linked in: binfmt_misc vboxnetflt vboxnetadp vboxdrv nls_cp437 cifs snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss iptable_filter ip_tables x_tables snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd ppdev lp parport_pc soundcore heci(C) snd_page_alloc parport led_class usbhid radeon ttm drm i2c_algo_bit e1000e floppy intel_agp + Dec 17 16:32:02 host16 kernel: [ 1308.894180] Pid: 3340, comm: myapp Tainted: G C 2.6.31-9-rt #152-Ubuntu + Dec 17 16:32:02 host16 kernel: [ 1308.894184] Call Trace: + Dec 17 16:32:02 host16 kernel: [ 1308.894189] [] __schedule_bug+0x6a/0x70 + Dec 17 16:32:02 host16 kernel: [ 1308.894195] [] thread_return+0x278/0x3cf + Dec 17 16:32:02 host16 kernel: [ 1308.894201] [] schedule+0x14/0x30 + Dec 17 16:32:02 host16 kernel: [ 1308.894206] [] rt_spin_lock_slowlock+0x1ba/0x290 + Dec 17 16:32:02 host16 kernel: [ 1308.894213] [] rt_spin_lock+0x36/0x60 + Dec 17 16:32:02 host16 kernel: [ 1308.894218] [] wait_for_common+0xc7/0x180 + Dec 17 16:32:02 host16 kernel: [ 1308.894224] [] ? default_wake_function+0x0/0x20 + Dec 17 16:32:02 host16 kernel: [ 1308.894230] [] ? signal_wake_up+0x43/0x50 + Dec 17 16:32:02 host16 kernel: [ 1308.894236] [] wait_for_completion+0x18/0x20 + Dec 17 16:32:02 host16 kernel: [ 1308.894241] [] coredump_wait+0x1f4/0x230 + Dec 17 16:32:02 host16 kernel: [ 1308.894247] [] do_coredump+0x146/0x490 + Dec 17 16:32:02 host16 kernel: [ 1308.894253] [] ? thread_return+0x53/0x3cf + Dec 17 16:32:02 host16 kernel: [ 1308.894259] [] ? __task_pid_nr_ns+0x69/0xc0 + Dec 17 16:32:02 host16 kernel: [ 1308.894265] [] get_signal_to_deliver+0x19a/0x330 + Dec 17 16:32:02 host16 kernel: [ 1308.894271] [] do_signal+0x8d/0x1f0 + Dec 17 16:32:02 host16 kernel: [ 1308.894277] [] ? sys_rt_sigaction+0x81/0xc0 + Dec 17 16:32:02 host16 kernel: [ 1308.894283] [] do_notify_resume+0x4f/0x60 + Dec 17 16:32:02 host16 kernel: [ 1308.894288