The following bug was just logged for 2.4.0-test10-pre4. The machine was recompiling glibc (off a ReiserFS 3.6.18 filesystem) and X was just running a screensaver at the time this happened. X was locked up and I couldn't switch to a console, so I killed it with Alt+SysRq. I was then able to get a task list with Alt+SysRq and cc1 was in the D state (along with kswapd in the Z state.) At this point I synced and rebooted. Oct 19 17:52:26 argentium kernel: kernel BUG at vmscan.c:102! Oct 19 17:52:26 argentium kernel: invalid operand: 0000 Oct 19 17:52:26 argentium kernel: CPU: 0 Oct 19 17:52:26 argentium kernel: EIP: 0010:[try_to_swap_out+250/848] Oct 19 17:52:26 argentium kernel: EFLAGS: 00010282 Oct 19 17:52:26 argentium kernel: eax: 0000001c ebx: 00000100 ecx: c12ea000 edx: 00000000 Oct 19 17:52:26 argentium kernel: esi: c11c6858 edi: 00000001 ebp: 06af2045 esp: c12ebee4 Oct 19 17:52:26 argentium kernel: ds: 0018 es: 0018 ss: 0018 Oct 19 17:52:26 argentium kernel: Process kswapd (pid: 2, stackpage=c12eb000) Oct 19 17:52:26 argentium kernel: Stack: c01f42c5 c01f4484 00000066 08090000 0808e000 c6af0234 0808a000 08090000 Oct 19 17:52:26 argentium kernel: c012bc03 c1314c60 c6a4b4a0 0808d000 c6af0234 00000004 0808a000 c6a4b4a0 Oct 19 17:52:26 argentium kernel: c1314c60 00000000 0848a000 c6af3080 08090000 08090000 c6af3080 c012be10 Oct 19 17:52:26 argentium kernel: Call Trace: [tvecs+6653/33176] [tvecs+7100/33176] [swap_out_vma+323/480] [swap_out+368/496] [refill_inactive+272/544] [do_try_to_free_pages+153/192] [kswapd+183/432] Oct 19 17:52:26 argentium kernel: [kernel_thread+36/48] Oct 19 17:52:26 argentium kernel: Code: 0f 0b 83 c4 0c 90 f7 c5 02 00 00 00 74 18 6a 68 68 84 44 1f Oct 19 17:56:07 argentium kernel: SysRq: Emergency Sync Oct 19 17:56:08 argentium kernel: Syncing device 03:06 ... OK Oct 19 17:56:08 argentium kernel: Syncing device 03:07 ... OK Oct 19 17:56:08 argentium kernel: Syncing device 03:01 ... OK Oct 19 17:56:08 argentium kernel: Done. Oct 19 17:56:11 argentium kernel: SysRq: Show State Oct 19 17:56:11 argentium kernel: Oct 19 17:56:11 argentium kernel: task PC stack pid father child younger older Oct 19 17:56:11 argentium kernel: init S C1229F2C 3076 1 0 740 (NOTLB) Oct 19 17:56:11 argentium kernel: sig: 0 0000000000000000 0000000000000000 : X Oct 19 17:56:11 argentium kernel: kswapd Z C021ED40 5940 2 1 (L-TLB) 3 Oct 19 17:56:11 argentium kernel: sig: 0 0000000000000000 ffffffffffffffff : X Oct 19 17:56:11 argentium kernel: kreclaimd S 00000286 6648 3 1 (L-TLB) 4 2 Oct 19 17:56:11 argentium kernel: sig: 0 0000000000000000 ffffffffffffffff : X Oct 19 17:56:11 argentium kernel: kflushd S FFFFFFFF 5796 4 1 (L-TLB) 5 3 Oct 19 17:56:11 argentium kernel: sig: 0 0000000000000000 ffffffffffffffff : X Oct 19 17:56:11 argentium kernel: kupdate S C12E5FC4 6052 5 1 (L-TLB) 6 4 Oct 19 17:56:11 argentium kernel: sig: 0 0000000000000000 fffffffffff9ffff : X Oct 19 17:56:11 argentium kernel: kreiserfsd S C132DFC0 5820 6 1 (L-TLB) 15 5 Oct 19 17:56:11 argentium kernel: sig: 0 0000000000000000 ffffffffffffffff : X ... FYI, mm/vmscan.c: if (PageSwapCache(page)) { entry.val = page->index; swap_duplicate(entry); if (pte_dirty(pte)) ========> BUG(); if (pte_write(pte)) BUG(); set_pte(page_table, swp_entry_to_pte(entry)); drop_pte: UnlockPage(page); mm->rss--; ------------------------------------------------------------- Matt T. Yourst Massachusetts Institute of Technology [EMAIL PROTECTED] 617.225.7690 513 French House - 476 Memorial Drive - Cambridge, MA 02136 ------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/