login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
15
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Bongani Hlope <bonganilinux@...>
To: Linus Torvalds <torvalds@...>
Cc: Alexey Dobriyan <adobriyan@...>, Andrew Morton <akpm@...>, Rafael J. Wysocki <rjw@...>, LKML <linux-kernel@...>
Subject:
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
Date: Tuesday, April 15, 2008 - 3:50 pm
On Monday 14 April 2008 17:09:41 Linus Torvalds wrote:
quoted text
> On Mon, 14 Apr 2008, Linus Torvalds wrote: > > Since you cannot see this on -rc9, can you go back to -rc8 and test this > > patch [...] > > Oh, maybe I should actually include the patch too ;) > > Linus > --- > kernel/printk.c | 16 ++++++++++++++-- > 1 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/kernel/printk.c b/kernel/printk.c > index c46a20a..4476879 100644 > --- a/kernel/printk.c > +++ b/kernel/printk.c > @@ -643,8 +643,20 @@ static int > acquire_console_semaphore_for_printk(unsigned int cpu) { > int retval = 0; > > - if (can_use_console(cpu)) > - retval = !try_acquire_console_sem(); > + if (!try_acquire_console_sem()) { > + retval = 1; > + > + /* > + * If we can't use the console, we need to release > + * the console semaphore by hand to avoid flushing > + * the buffer > + */ > + if (!can_use_console(cpu)) { > + console_locked = 0; > + up(&console_sem); > + retval = 0; > + } > + } > printk_cpu = UINT_MAX; > spin_unlock(&logbuf_lock); > return retval; > --
Sorry for the late response, we have a electric situation in the country, the patch fixes the problem for me (tested on rc8). Thanx --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Shutdown and Reboot Regression 2.6.25-rc[78]
, Bongani Hlope
, (Fri Apr 11, 4:41 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Alexey Dobriyan
, (Fri Apr 11, 5:42 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Bongani Hlope
, (Sat Apr 12, 3:05 am)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Linus Torvalds
, (Mon Apr 14, 11:08 am)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Linus Torvalds
, (Mon Apr 14, 11:09 am)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Bongani Hlope
, (Tue Apr 15, 3:50 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Linus Torvalds
, (Fri Apr 11, 4:58 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Bongani Hlope
, (Fri Apr 11, 5:42 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Linus Torvalds
, (Fri Apr 11, 7:12 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78]
, Bongani Hlope
, (Sat Apr 12, 3:04 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andy Whitcroft
Re: 2.6.23-rc6-mm1
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Alan
Re: [RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
430 guests
online.
Syndicate