login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
31
Re: [PATCH] Fix Bug messages
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: John Kacur
Subject:
Re: [PATCH] Fix Bug messages
Date: Thursday, July 31, 2008 - 3:13 am
On Thu, Jul 31, 2008 at 10:00 AM, Sebastien Dugue <sebastien.dugue@bull.net> wrote:
quoted text
> On Wed, 30 Jul 2008 22:48:42 +0530 Chirag Jog <chirag@linux.vnet.ibm.com>=
wrote:
quoted text
> >> * J?rgen Mell <j.mell@t-online.de> [2008-07-30 11:01:32]: >> >> > Hello Thomas, >> > >> > On Wednesday, 30. July 2008, Thomas Gleixner wrote: >> > > We are pleased to announce the 2.6.26-rt1 tree, which can be >> > > downloaded from the location: >> > >> > I have tried the new kernel and have some good news and some bad news: >> > >> > The good news: The machine boots and seems to run without major proble=
ms.
quoted text
>> > >> > The bad news: It produces continuously lots of bug messages in the err=
or
quoted text
>> > logs (cf. attached dmesg.tgz). The error at rtmutex.c:743 was already >> > present in 2.6.25-rt* when ACPI was enabled. The 'using smp_processor_=
id
quoted text
>> > () in preemptible code' is new here with 2.6.26. >> > >> > Machine is an old Athlon XP (single core) on an EPOX mainboard with VI=
A
quoted text
>> > chipset. >> > >> > If I can help with testing, please let me know. >> > >> > Bye, >> > J=FCrgen >> > >> > >> This patch should solve some of the bug messages. >> It does two things: >> 1. Change rt_runtime_lock to be a raw spinlock as the comment above it >> says: it is nested inside the rq lock. >> >> 2. Change mnt_writers to be a per_cpu locked variable. >> This eliminates the need for the codepath to disable preemption and >> then potentially sleep, leading to the BUG messages >> >> Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com> > > Neat, the only remaining BUGs I see are from sock_prot_inuse_add() > > BUG: using smp_processor_id() in preemptible [00000000] code: arping/1916 > caller is .sock_prot_inuse_add+0x30/0x80 > Call Trace: > [c0000000eed2f910] [c000000000010304] .show_stack+0x70/0x1bc (unreliable) > [c0000000eed2f9c0] [c0000000001a2340] .debug_smp_processor_id+0x138/0x168 > [c0000000eed2fa70] [c0000000002181f4] .sock_prot_inuse_add+0x30/0x80 > [c0000000eed2fb10] [c00000000026d96c] .udp_lib_get_port+0x2a8/0x320 > [c0000000eed2fbc0] [c000000000275b30] .inet_bind+0x168/0x248 > [c0000000eed2fc60] [c000000000215024] .sys_bind+0x98/0xdc > [c0000000eed2fd90] [c0000000002370bc] .compat_sys_socketcall+0xcc/0x214 > [c0000000eed2fe30] [c0000000000086ac] syscall_exit+0x0/0x40 > BUG: arping:1916 task might have lost a preemption check! > Call Trace: > [c0000000eed2f890] [c000000000010304] .show_stack+0x70/0x1bc (unreliable) > [c0000000eed2f940] [c00000000004e298] .preempt_enable_no_resched+0x60/0x7=
8
quoted text
> [c0000000eed2f9c0] [c0000000001a2348] .debug_smp_processor_id+0x140/0x168 > [c0000000eed2fa70] [c0000000002181f4] .sock_prot_inuse_add+0x30/0x80 > [c0000000eed2fb10] [c00000000026d96c] .udp_lib_get_port+0x2a8/0x320 > [c0000000eed2fbc0] [c000000000275b30] .inet_bind+0x168/0x248 > [c0000000eed2fc60] [c000000000215024] .sys_bind+0x98/0xdc > [c0000000eed2fd90] [c0000000002370bc] .compat_sys_socketcall+0xcc/0x214 > [c0000000eed2fe30] [c0000000000086ac] syscall_exit+0x0/0x40 >
Does this simple fix do the trick for you?
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.24.7-rt15
, Thomas Gleixner
, (Fri Jul 25, 1:09 pm)
Re: 2.6.24.7-rt15
, Carsten Emde
, (Sat Jul 26, 4:03 am)
2.6.24.7-rt16
, Thomas Gleixner
, (Sun Jul 27, 9:16 am)
Re: 2.6.24.7-rt16
, Avuton Olrich
, (Sun Jul 27, 1:28 pm)
Re: 2.6.24.7-rt16
, Thomas Gleixner
, (Sun Jul 27, 1:37 pm)
Re: 2.6.24.7-rt16
, Wolfgang Grandegger
, (Mon Jul 28, 1:12 am)
Re: 2.6.24.7-rt16
, Peter Zijlstra
, (Mon Jul 28, 2:48 am)
Re: 2.6.24.7-rt16
, Wolfgang Grandegger
, (Mon Jul 28, 3:12 am)
Re: 2.6.24.7-rt16
, Thomas Gleixner
, (Tue Jul 29, 5:57 am)
2.6.26-rt1
, Thomas Gleixner
, (Tue Jul 29, 3:21 pm)
Re: 2.6.26-rt1
, Jürgen Mell
, (Wed Jul 30, 2:01 am)
Re: 2.6.26-rt1
, John Kacur
, (Wed Jul 30, 7:31 am)
Re: 2.6.26-rt1
, Ryan Hope
, (Wed Jul 30, 7:41 am)
[PATCH] Fix Bug messages
, Chirag Jog
, (Wed Jul 30, 10:18 am)
Re: [PATCH] Fix Bug messages
, Jürgen Mell
, (Wed Jul 30, 1:16 pm)
Re: [PATCH] Fix Bug messages
, Peter Zijlstra
, (Wed Jul 30, 11:06 pm)
Re: [PATCH] Fix Bug messages
, Sebastien Dugue
, (Thu Jul 31, 1:00 am)
Re: [PATCH] Fix Bug messages
, John Kacur
, (Thu Jul 31, 3:13 am)
Re: [PATCH] Fix Bug messages
, Sebastien Dugue
, (Thu Jul 31, 4:23 am)
Re: [PATCH] Fix Bug messages
, John Kacur
, (Thu Jul 31, 6:49 am)
Re: [PATCH] Fix Bug messages
, Peter Zijlstra
, (Thu Jul 31, 7:01 am)
Re: [PATCH] Fix Bug messages
, John Kacur
, (Thu Jul 31, 7:10 am)
Re: [PATCH] Fix Bug messages
, Peter Zijlstra
, (Thu Jul 31, 7:18 am)
Re: [PATCH] Fix Bug messages
, Sebastien Dugue
, (Thu Jul 31, 7:35 am)
Re: [PATCH] Fix Bug messages
, Clark Williams
, (Thu Jul 31, 8:01 am)
Re: [PATCH] Fix Bug messages
, Sebastien Dugue
, (Thu Jul 31, 8:14 am)
Re: 2.6.26-rt1
, Paul E. McKenney
, (Fri Aug 1, 2:11 pm)
Re: 2.6.26-rt1
, Paul E. McKenney
, (Fri Aug 1, 2:11 pm)
Re: 2.6.26-rt1
, Juergen Beisert
, (Mon Aug 11, 1:36 am)
Re: 2.6.26-rt1
, Juergen Beisert
, (Wed Aug 13, 6:30 am)
Re: 2.6.26-rt1
, Paul E. McKenney
, (Wed Aug 13, 9:37 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate