Skip to contentSkip to conversation

Bad pte in exit_mmap, 2.6.15-rc3

DISCUSSION Meelis Roos 2 participants 2 messages Nov 29, 2005

lore
Share & tools
lore
#0 lore raw

Testbooted 2.6.15-rc3 on my U5. All services started fine and then it started flooding this.

This is just FYI - I will be away from that machine for 3 next days and can't test any patches this time.

Bad pte = e00001fe02000f8a, process = ???, vm_flags = 844fb, vaddr = 70402000

Call Trace:
  [00000000004732c4] exit_mmap+0x64/0x160
  [000000000043ffac] mmput+0x2c/0xc0
  [0000000000443d48] do_exit+0x108/0xca0
  [0000000000444938] do_group_exit+0x58/0xa0
  [0000000000407194] linux_sparc_syscall32+0x34/0x40
  [00000000701ce2d0] 0x701ce2d0
Bad pte = e00001fe02000f8a, process = ???, vm_flags = 844fb, vaddr = 70404000
Call Trace:
  [00000000004732c4] exit_mmap+0x64/0x160
  [000000000043ffac] mmput+0x2c/0xc0
  [0000000000443d48] <7>eth0: no IPv6 routers present
do_exit+0x108/0xca0
  [0000000000444938] do_group_exit+0x58/0xa0
  [0000000000407194] linux_sparc_syscall32+0x34/0x40
  [00000000701ce2d0] 0x701ce2d0
Bad pte = e00001fe02000f8a, process = ???, vm_flags = 844fb, vaddr = 70406000
Call Trace:
  [00000000004732c4] exit_mmap+0x64/0x160
  [000000000043ffac] mmput+0x2c/0xc0
  [0000000000443d48] do_exit+0x108/0xca0
  [0000000000444938] do_group_exit+0x58/0xa0
  [0000000000407194] linux_sparc_syscall32+0x34/0x40
  [00000000701ce2d0] 0x701ce2d0
Bad pte = e00001fe02000f8a, process = ???, vm_flags = 844fb, vaddr = 70408000
Call Trace:
  [00000000004732c4] exit_mmap+0x64/0x160
  [000000000043ffac] mmput+0x2c/0xc0
  [0000000000443d48] do_exit+0x108/0xca0
  [0000000000444938] do_group_exit+0x58/0xa0
  [0000000000407194] linux_sparc_syscall32+0x34/0x40
  [00000000701ce2d0] 0x701ce2d0
Bad pte = e00001fe02000f8a, process = ???, vm_flags = 844fb, vaddr = 7040a000
Call Trace:
  [00000000004732c4] exit_mmap+0x64/0x160
  [000000000043ffac] mmput+0x2c/0xc0
  [0000000000443d48] do_exit+0x108/0xca0
  [0000000000444938] do_group_exit+0x58/0xa0
  [0000000000407194] linux_sparc_syscall32+0x34/0x40
  [00000000701ce2d0] 0x701ce2d0
Bad pte = e00001fe02000f8a, process = ???, vm_flags = 844fb, vaddr = 7040c000
Call Trace:
  [00000000004732c4] exit_mmap+0x64/0x160
  [000000000043ffac] mmput+0x2c/0xc0
  [0000000000443d48] do_exit+0x108/0xca0
  [0000000000444938] do_group_exit+0x58/0xa0
  [0000000000407194] linux_sparc_syscall32+0x34/0x40
  [00000000701ce2d0] 0x701ce2d0
Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw

From: Meelis Roos <[email protected]>
Date: Tue, 29 Nov 2005 16:05:03 +0200 (EET)

Quoted 5 lines

Testbooted 2.6.15-rc3 on my U5. All services started fine and then it started flooding this.

This is just FYI - I will be away from that machine for 3 next days and can't test any patches this time.

This will fix it, thanks for the report:

arch/sparc64/mm/generic.c +1 -0
index d9396c1..580b63d 100644
@@ -77,6 +77,7 @@ static inline void io_remap_pte_range(st
 			BUG_ON(!pte_none(*pte));
 			set_pte_at(mm, address, pte, entry);
 			address += PAGE_SIZE;
+			pte_val(entry) += PAGE_SIZE;
 			pte++;
 		} while (address < curend);
 	} while (address < end);