#11658 BLOC Not Tri: OS28: Crashes in S/R on a busy network - related to WOL
Zarro Boogs per Child
bugtracker at laptop.org
Thu Mar 1 14:01:14 EST 2012
#11658: OS28: Crashes in S/R on a busy network - related to WOL
---------------------------------------+------------------------------------
Reporter: martin.langhoff | Owner: dilinger
Type: defect | Status: new
Priority: blocker | Milestone: Not Triaged
Component: kernel | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------------+------------------------------------
Comment(by pgf):
wol_hang-8.noesc is from a kernel now patched with 1220526, for more
output. in addition, there's now a flush_cache_all() at the end of
printk, to eliminate the junk we're getting at the log rollover point:
{{{
diff --git a/kernel/printk.c b/kernel/printk.c
index a032d5e..0eab4e1 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -16,6 +16,8 @@
* 01Mar01 Andrew Morton
*/
+#include <asm/cacheflush.h>
+
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/tty.h>
@@ -832,6 +834,8 @@ static inline void printk_delay(void)
}
}
+extern bool olpc_xo_1_75_is_suspending;
+
asmlinkage int vprintk(const char *fmt, va_list args)
{
int printed_len = 0;
@@ -969,6 +973,9 @@ asmlinkage int vprintk(const char *fmt, va_list args)
out_restore_irqs:
raw_local_irq_restore(flags);
+ if (unlikely(olpc_xo_1_75_is_suspending))
+ flush_cache_all();
+
preempt_enable();
return printed_len;
}
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/11658#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list