Prev: [git pull] drm fixes
Next: 2.6.35-rc1: WARNING at fs/fs-writeback.c:1142 __mark_inode_dirty+0x103/0x170
From: Mauro Carvalho Chehab on 8 Jun 2010 22:30 Em 08-06-2010 22:53, Linus Torvalds escreveu: > >> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16037 >> Subject : NULL Pointer dereference in __ir_input_register/budget_ci_attach >> Submitter : Sean Finney <seanius(a)debian.org> >> Date : 2010-05-23 19:52 (17 days old) > > Perhaps related to commit 13c24497086418010bf4f76378bcae241d7f59cd? > > David H�rdeman, Mauro Carvalho Chehab added to cc. This patch probably solves the issue: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=84b14f181a36eea6591779156ef356f8d198bbfd The patch were already applied upstream. I've already asked the reporter to test it, via BZ. Cheers, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Ingo Molnar on 9 Jun 2010 01:40 * Linus Torvalds <torvalds(a)linux-foundation.org> wrote: > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16129 > > Subject : BUG: using smp_processor_id() in preemptible [00000000] code: jbd2/sda2 > > Submitter : Jan Kreuzer <kontrollator(a)gmx.de> > > Date : 2010-06-05 06:15 (4 days old) > > This seems to have been introduced by > > commit 7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5 > Author: Ingo Molnar <mingo(a)elte.hu> > Date: Sat Nov 8 17:05:38 2008 +0100 > > sched: optimize sched_clock() a bit > > sched_clock() uses cycles_2_ns() needlessly - which is an irq-disabling > variant of __cycles_2_ns(). > > Most of the time sched_clock() is called with irqs disabled already. > The few places that call it with irqs enabled need to be updated. > > Signed-off-by: Ingo Molnar <mingo(a)elte.hu> > > and this seems to be one of those calling cases that need to be updated. That's a commit from 2008. > Ingo? The call trace is: > > BUG: using smp_processor_id() in preemptible [00000000] code: jbd2/sda2-8/337 > caller is native_sched_clock+0x3c/0x68 > Pid: 337, comm: jbd2/sda2-8 Not tainted 2.6.35-rc1jan+ #4 > Call Trace: > [<ffffffff812362c5>] debug_smp_processor_id+0xc9/0xe4 > [<ffffffff8101059d>] native_sched_clock+0x3c/0x68 > [<ffffffff8101043d>] sched_clock+0x9/0xd > [<ffffffff81212d7a>] blk_rq_init+0x97/0xa3 > [<ffffffff81214d71>] get_request+0x1c4/0x2d0 > [<ffffffff81214ea6>] get_request_wait+0x29/0x1a6 > [<ffffffff81215537>] __make_request+0x338/0x45b > [<ffffffff812147c2>] generic_make_request+0x2bb/0x330 > [<ffffffff81214909>] submit_bio+0xd2/0xef > [<ffffffff811413cb>] submit_bh+0xf4/0x116 > [<ffffffff81144853>] block_write_full_page_endio+0x89/0x96 > [<ffffffff81144875>] block_write_full_page+0x15/0x17 > [<ffffffff8119b00a>] ext4_writepage+0x356/0x36b > [<ffffffff810e1f91>] __writepage+0x1a/0x39 > [<ffffffff810e32a6>] write_cache_pages+0x20d/0x346 > [<ffffffff810e3406>] generic_writepages+0x27/0x29 > [<ffffffff811ca279>] journal_submit_data_buffers+0x110/0x17d > [<ffffffff811ca986>] jbd2_journal_commit_transaction+0x4cb/0x156d > [<ffffffff811d0cba>] kjournald2+0x147/0x37a > > (from the bugzilla thing) The warning was introduced by this fresh commit (and a followup commit) merged in the .35 merge window: | commit 9195291e5f05e01d67f9a09c756b8aca8f009089 | Author: Divyesh Shah <dpshah(a)google.com> | Date: Thu Apr 1 15:01:41 2010 -0700 | | blkio: Increment the blkio cgroup stats for real now IIRC Jens posted a fix for the regression. Jens, what's the status of that? As the code there started using a raw sched_clock() call for block statistics purposes, which was a poorly thought out (and buggy) approach: - it takes timestamps on different cpus and then compares then, but doesnt consider that sched_clock() is not comparable between CPUs without extra care - it doesnt consider the possibility for the sched_clock() result going backwards on certain platforms (such as x86) - it doesnt consider preemptability (There's work ongoing to add a clock variant that can be used for such purposes, but that's .36 fodder.) Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Eric Dumazet on 9 Jun 2010 02:40 Le mardi 08 juin 2010 à 18:53 -0700, Linus Torvalds a écrit : > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16120 > > Subject : Oops: 0000 [#1] SMP, unable to handle kernel NULL pointer dereference at (null) > > Submitter : Alex Zhavnerchik <alex.vizor(a)gmail.com> > > Date : 2010-06-04 09:25 (5 days old) > > Handled-By : Eric Dumazet <eric.dumazet(a)gmail.com> > > This one seems to have a patch in bugzilla. Yep, commit 035320d54758e21227987e3aae0d46e7a04f4ddc in David net-2.6 tree, i'll be included in its next pull request. http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=035320d54758e21227987e3aae0d46e7a04f4ddc Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Jens Axboe on 9 Jun 2010 04:00 On 2010-06-09 03:53, Linus Torvalds wrote: >> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16129 >> Subject : BUG: using smp_processor_id() in preemptible [00000000] code: jbd2/sda2 >> Submitter : Jan Kreuzer <kontrollator(a)gmx.de> >> Date : 2010-06-05 06:15 (4 days old) > > This seems to have been introduced by > > commit 7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5 > Author: Ingo Molnar <mingo(a)elte.hu> > Date: Sat Nov 8 17:05:38 2008 +0100 > > sched: optimize sched_clock() a bit > > sched_clock() uses cycles_2_ns() needlessly - which is an irq-disabling > variant of __cycles_2_ns(). > > Most of the time sched_clock() is called with irqs disabled already. > The few places that call it with irqs enabled need to be updated. > > Signed-off-by: Ingo Molnar <mingo(a)elte.hu> > > and this seems to be one of those calling cases that need to be updated. > > Ingo? The call trace is: > > BUG: using smp_processor_id() in preemptible [00000000] code: jbd2/sda2-8/337 > caller is native_sched_clock+0x3c/0x68 > Pid: 337, comm: jbd2/sda2-8 Not tainted 2.6.35-rc1jan+ #4 > Call Trace: > [<ffffffff812362c5>] debug_smp_processor_id+0xc9/0xe4 > [<ffffffff8101059d>] native_sched_clock+0x3c/0x68 > [<ffffffff8101043d>] sched_clock+0x9/0xd > [<ffffffff81212d7a>] blk_rq_init+0x97/0xa3 > [<ffffffff81214d71>] get_request+0x1c4/0x2d0 > [<ffffffff81214ea6>] get_request_wait+0x29/0x1a6 > [<ffffffff81215537>] __make_request+0x338/0x45b > [<ffffffff812147c2>] generic_make_request+0x2bb/0x330 > [<ffffffff81214909>] submit_bio+0xd2/0xef > [<ffffffff811413cb>] submit_bh+0xf4/0x116 > [<ffffffff81144853>] block_write_full_page_endio+0x89/0x96 > [<ffffffff81144875>] block_write_full_page+0x15/0x17 > [<ffffffff8119b00a>] ext4_writepage+0x356/0x36b > [<ffffffff810e1f91>] __writepage+0x1a/0x39 > [<ffffffff810e32a6>] write_cache_pages+0x20d/0x346 > [<ffffffff810e3406>] generic_writepages+0x27/0x29 > [<ffffffff811ca279>] journal_submit_data_buffers+0x110/0x17d > [<ffffffff811ca986>] jbd2_journal_commit_transaction+0x4cb/0x156d > [<ffffffff811d0cba>] kjournald2+0x147/0x37a > > (from the bugzilla thing) This should be fixed by commit 28f4197e which was merged on friday. >> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16122 >> Subject : 2.6.35-rc1: WARNING at fs/fs-writeback.c:1142 __mark_inode_dirty+0x103/0x170 >> Submitter : Larry Finger <Larry.Finger(a)lwfinger.net> >> Date : 2010-06-04 13:18 (5 days old) > > Jens? Looking into this one. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Rafael J. Wysocki on 9 Jun 2010 05:00 On Wednesday 09 June 2010, Jens Axboe wrote: > On 2010-06-09 03:53, Linus Torvalds wrote: > >> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16129 > >> Subject : BUG: using smp_processor_id() in preemptible [00000000] code: jbd2/sda2 > >> Submitter : Jan Kreuzer <kontrollator(a)gmx.de> > >> Date : 2010-06-05 06:15 (4 days old) > > > > This seems to have been introduced by > > > > commit 7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5 > > Author: Ingo Molnar <mingo(a)elte.hu> > > Date: Sat Nov 8 17:05:38 2008 +0100 > > > > sched: optimize sched_clock() a bit > > > > sched_clock() uses cycles_2_ns() needlessly - which is an irq-disabling > > variant of __cycles_2_ns(). > > > > Most of the time sched_clock() is called with irqs disabled already. > > The few places that call it with irqs enabled need to be updated. > > > > Signed-off-by: Ingo Molnar <mingo(a)elte.hu> > > > > and this seems to be one of those calling cases that need to be updated. > > > > Ingo? The call trace is: > > > > BUG: using smp_processor_id() in preemptible [00000000] code: jbd2/sda2-8/337 > > caller is native_sched_clock+0x3c/0x68 > > Pid: 337, comm: jbd2/sda2-8 Not tainted 2.6.35-rc1jan+ #4 > > Call Trace: > > [<ffffffff812362c5>] debug_smp_processor_id+0xc9/0xe4 > > [<ffffffff8101059d>] native_sched_clock+0x3c/0x68 > > [<ffffffff8101043d>] sched_clock+0x9/0xd > > [<ffffffff81212d7a>] blk_rq_init+0x97/0xa3 > > [<ffffffff81214d71>] get_request+0x1c4/0x2d0 > > [<ffffffff81214ea6>] get_request_wait+0x29/0x1a6 > > [<ffffffff81215537>] __make_request+0x338/0x45b > > [<ffffffff812147c2>] generic_make_request+0x2bb/0x330 > > [<ffffffff81214909>] submit_bio+0xd2/0xef > > [<ffffffff811413cb>] submit_bh+0xf4/0x116 > > [<ffffffff81144853>] block_write_full_page_endio+0x89/0x96 > > [<ffffffff81144875>] block_write_full_page+0x15/0x17 > > [<ffffffff8119b00a>] ext4_writepage+0x356/0x36b > > [<ffffffff810e1f91>] __writepage+0x1a/0x39 > > [<ffffffff810e32a6>] write_cache_pages+0x20d/0x346 > > [<ffffffff810e3406>] generic_writepages+0x27/0x29 > > [<ffffffff811ca279>] journal_submit_data_buffers+0x110/0x17d > > [<ffffffff811ca986>] jbd2_journal_commit_transaction+0x4cb/0x156d > > [<ffffffff811d0cba>] kjournald2+0x147/0x37a > > > > (from the bugzilla thing) > > This should be fixed by commit 28f4197e which was merged on friday. Thanks, closed. Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)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
|
Last
Pages: 1 2 3 4 5 Prev: [git pull] drm fixes Next: 2.6.35-rc1: WARNING at fs/fs-writeback.c:1142 __mark_inode_dirty+0x103/0x170 |