Skip to contentSkip to conversation

Telling user machine is going to crash at KERN_WARNING level is good joke

PATCH Pavel Machek 2 participants 3 messages Apr 5, 2004 – Apr 6, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi!

...but its victims might not like it. Please apply,
Pavel

mm/page_alloc.c renamed from linux/mm/page_alloc.c +1 -1
@@ -1478,7 +1478,7 @@
 		zone->zone_start_pfn = zone_start_pfn;
 
 		if ((zone_start_pfn) & (zone_required_alignment-1))
-			printk("BUG: wrong zone alignment, it will crash\n");
+			printk(KERN_CRIT "BUG: wrong zone alignment, it will crash\n");
 
 		memmap_init(lmem_map, size, nid, j, zone_start_pfn);
 
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#1 lore raw
Quoted 3 lines · Pavel Machek

Hi!

...but its victims might not like it. Please apply,

Hmm I get this message on a 16-way NUMAQ with 16GB RAM and it doesn't crash. Well it was unstable recently, but that seems to have gone away now.

#2 lore raw

Hi!

Quoted 5 lines
Quoted 1 line

...but its victims might not like it. Please apply,

Hmm I get this message on a 16-way NUMAQ with 16GB RAM and it doesn't crash. Well it was unstable recently, but that seems to have gone away now.

AFAIK, it really will crash after few hours when you load it...

Pavel

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]