Skip to contentSkip to conversation

Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

DISCUSSION Marcelo Tosatti 2 participants 3 messages Mar 16, 2001 1 message not in the archive MM swap

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Shane Y. Gibson
Quoted 4 lines · Marcelo Tosatti

Did'nt you get a message similar to

"kernel BUG at page_alloc.c line xxx!"

Quoted 7 lines

Marcelo,

Yes there was. I'm pasting the total sum of the /var/log/messages output. Note that I'm only able to locate details for the first crash, the second didn't seem to log a whole lot. Originally, just pasted the output of what "ksymops" regurgitated, which seems to have pulled out that "kernel BUG" reference. Here goes...

Can you please try to reproduce it with the following patch against 2.4.2?

With the patch applied it gets easier to find the problem.

Thanks

include/linux/swap.h renamed from include/linux/swap.h.orig +9 -1
@@ -201,7 +201,15 @@
  */
 #define DEBUG_ADD_PAGE \
 	if (PageActive(page) || PageInactiveDirty(page) || \
-					PageInactiveClean(page)) BUG();
+					PageInactiveClean(page)) { \
+		if (PageActive(page)) \
+			printk (KERN_ERR "Active page on free list!\n"); \
+		if (PageInactiveDirty(page)) \
+			printk (KERN_ERR "Inactive dirty page on free list!\n"); \
+		if (PageInactiveClean(page)) \
+			printk (KERN_ERR "Inactive clean page on free list!\n"); \
+		BUG(); \
+	}
 
 #define ZERO_PAGE_BUG \
 	if (page_count(page) == 0) BUG();
#2 lore raw
Quoted 2 lines · Marcelo Tosatti

Can you please try to reproduce it with the following patch against 2.4.2?

Marcelo (et al),

I'll give it a whirl with the patch. Should I also try setting `nmi_watchdog=0' in lilo.conf, as Andrew Morton suggests?

Additionally, I'll upgrade my version of ksymoops. Unfortunately, I won't get a chance to test all of this until Monday; at which time I'll report back to the group.

v/r
Shane

--

Shane Y. Gibson                    [email protected]
Network Architect                  (408) 447-8253  work
IT Data Center Operations          (408) 447-8298  fax
Digital Impact, Inc.               (650) 302-0193  cellular
                                   (888) 786-4863  pager

"Outlook not so good." That magic 8-ball knows everything!
I'll ask about Exchange Server next. -- unknown

#3 lore raw
Quoted 9 lines · Shane Y. Gibson
Quoted 2 lines · Marcelo Tosatti

Can you please try to reproduce it with the following patch against 2.4.2?

Marcelo (et al),

I'll give it a whirl with the patch. Should I also try setting `nmi_watchdog=0' in lilo.conf, as Andrew Morton suggests?

Andrew's suggestion may avoid the machine from getting frozen (which makes your life easier :)).

The oops message will appear with or without the nmi watchdog.

Quoted 5 lines

Additionally, I'll upgrade my version of ksymoops. Unfortunately, I won't get a chance to test all of this until Monday; at which time I'll report back to the group.

Ok. We're waiting :)

Thanks.