Eeek! page_mapcount(page) went negative! (-1) -2.6.16.2 kernel

agnel juni junijoseph at yahoo.co.in
Sat Oct 14 07:48:21 EST 2006


Hello all,
 
 We are working on System ACE driver ported for AMCC44x based custom platform, on linux kernel-2.6.16.2
 
 We have formatted the flash with FAT16 filesystem as System ACE supports only that.
 
 We are able to run all the filessytem commands except that 'mount' shows inconsisten behaviour.
 
 I have turned off the "Use full SLAB allocator" option under kernel configuration.
 
 With this, when mount fails I see Kernel throwing Oops sometimes.
 
 Any suggestions to debug this are greatly appreciated.
 
 ################# Kernel Oops #######################
 
 
 # mount -t msdos /dev/xsysace /mnt/
 Bad pte = df452f3cdf452f3c, process = exe, vm_flags = 75, vaddr = fe11a64
 Call Trace:
 [DFF97DE8] [C000958C] show_stack+0x48/0x194 (unreliable)
 [DFF97E18] [C00470CC] print_bad_pte+0x44/0x54
 [DFF97E20] [C0049694] __handle_mm_fault+0x900/0x930
 [DFF97E78] [C000A174] do_page_fault+0x268/0x4fc
 [DFF97F40] [C0001FE0] handle_page_fault+0xc/0x80
 VM: killing process exe
 swap_free: Bad swap file entry 62696e2f
 swap_free: Bad swap file entry 026f7800
 swap_free: Bad swap file entry 30c070c3
 swap_free: Bad swap file entry b8df44b2
 swap_free: Bad swap file entry c0df44b2
 Bad pte = 5800000001, process = ???, vm_flags = 75, vaddr = fe12000
 Call Trace:
 [DFF97D28] [C000958C] show_stack+0x48/0x194 (unreliable)
 [DFF97D58] [C00470CC] print_bad_pte+0x44/0x54
 [DFF97D60] [C0047168] vm_normal_page+0x8c/0x94
 [DFF97D68] [C004794C] unmap_vmas+0x424/0x5c8
 [DFF97DF8] [C004CAC8] exit_mmap+0x60/0xec
 [DFF97E18] [C0016C3C] mmput+0x50/0xd4
 [DFF97E28] [C001B228] exit_mm+0x120/0x1a0
 [DFF97E40] [C001B864] do_exit+0x11c/0x77c
 [DFF97E78] [C000A2A4] do_page_fault+0x398/0x4fc
 [DFF97F40] [C0001FE0] handle_page_fault+0xc/0x80
 Eeek! page_mapcount(page) went negative! (-1)
   page->flags = 400
   page->count = 1
   page->mapping = 00000000
 kernel BUG in page_remove_rmap at mm/rmap.c:560!
 Oops: Exception in kernel mode, sig: 5 [#1]
 NIP: C004E620 LR: C004E698 CTR: 00000000
 REGS: dff97ca8 TRAP: 0700   Not tainted  (2.6.16.2)
 MSR: 00029000 <EE,ME>  CR: 24022022  XER: 00000000
 TASK = df463000[610] 'exe' THREAD: dff96000
 GPR00: C004E698 DFF97D58 DF463000 0000001E 00000FBC FFFFFFFF C0240000 C01F0C0C
 GPR08: C01F0000 00000001 00000000 C0240000 00000000 10065ABC DFC46D10 0FF08FFF
 GPR16: C0243C18 00000000 FFFFFFFF FFFFFFFF 00000000 0FF09000 DFD2AA50 DF4821FC
 GPR24: 00000000 DFF97D74 A1FF0000 00000001 0FF09000 C0259000 0FE13000 C0259000
 NIP [C004E620] page_remove_rmap+0x68/0xe4
 LR [C004E698] page_remove_rmap+0xe0/0xe4
 Call Trace:
 [DFF97D58] [C004E698] page_remove_rmap+0xe0/0xe4 (unreliable)
 [DFF97D68] [C004799C] unmap_vmas+0x474/0x5c8
 [DFF97DF8] [C004CAC8] exit_mmap+0x60/0xec
 [DFF97E18] [C0016C3C] mmput+0x50/0xd4
 [DFF97E28] [C001B228] exit_mm+0x120/0x1a0
 [DFF97E40] [C001B864] do_exit+0x11c/0x77c
 [DFF97E78] [C000A2A4] do_page_fault+0x398/0x4fc
 [DFF97F40] [C0001FE0] handle_page_fault+0xc/0x80
 Instruction dump:
 83e1000c 38210010 7c0803a6 4e800020 801f0008 3c60c01c 3863d5e0 35200001
 41800034 813f0008 39290001 55290ffe <0f090000> 38600010 3880ffff 4bff07b1
 Fixing recursive fault but reboot is needed!
 
 
Thanks
 Junita

 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20061013/b128ec97/attachment.htm 


More information about the Linuxppc-embedded mailing list