From: "Arjan van de Ven" <arjanv@xxxxxxxxxx> > On Sun, Sep 23, 2001 at 12:49:30PM +0100, Richard Wood wrote: > > Then any further 'cp', 'rm', 'cat', result in a seg fault. > > a "dmesg | ksymoops" after that would give me info I need for debugging this > sort of thing.... Done :- (with 2.4.9-ac9 kernel, just about to try newest and greatest :-) ksymoops 2.4.0 on i686 2.4.9-ac9. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.9-ac9/ (default) -m /boot/System.map (specified) No modules in ksyms, skipping objects Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid lsmod file? Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(ataraid_gendisk) not found in System.map. Ignoring ksyms_base entry Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(ataraid_get_device) not found in System.map. Ignoring ksyms_base entry Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(ataraid_register_disk) not found in System.map. Ignoring ksyms_base entry Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(ataraid_release_device) not found in System.map. Ignoring ksyms_base entry Warning (compare_maps): mismatch on symbol partition_name , ksyms_base says c01b7260, System.map says c014ec50. Ignoring ksyms_base entry cpu: 0, clocks: 2000113, slice: 1000056 hde:<7>LDM: DEBUG (ldm.c, 877): validate_partition_table: Found basic MS-DOS partition, not a dynamic disk. hdf:<7>LDM: DEBUG (ldm.c, 857): validate_partition_table: No MS-DOS partition found. ataraid/d0:<7>LDM: DEBUG (ldm.c, 877): validate_partition_table: Found basic MS-DOS partition, not a dynamic disk. Unable to handle kernel NULL pointer dereference at virtual address 0000001c c0141933 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<c0141933>] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010207 eax: 00000007 ebx: 00000000 ecx: efde7fa0 edx: 00000006 esi: fffffff8 edi: efdef860 ebp: efdef800 esp: efde7f74 ds: 0018 es: 0018 ss: 0018 Process kswapd (pid: 4, stackpage=efde7000) Stack: ef741e48 ef741e40 c02391ec efde7fa8 c0141fa2 c0141fbd 000000c0 000104d3 efde6239 00000001 0001a835 efde7fa0 efde7fa0 0008e000 c0141ff1 fffe57cb c012a41e 00000000 000000c0 00000000 000000c0 000000c0 00000000 efde6000 Call Trace: [<c0141fa2>] [<c0141fbd>] [<c0141ff1>] [<c012a41e>] [<c012a4a6>] [<c01054c8>] Code: 8b 46 24 85 c0 0f 85 20 01 00 00 e8 0d 97 fe ff 3b 05 b8 83 >>EIP; c0141933 <try_to_sync_unused_inodes+43/190> <===== Trace; c0141fa2 <prune_icache+b2/e0> Trace; c0141fbd <prune_icache+cd/e0> Trace; c0141ff1 <shrink_icache_memory+21/30> Trace; c012a41e <do_try_to_free_pages+2e/60> Trace; c012a4a6 <kswapd+56/e0> Trace; c01054c8 <kernel_thread+28/40> Code; c0141933 <try_to_sync_unused_inodes+43/190> 00000000 <_EIP>: Code; c0141933 <try_to_sync_unused_inodes+43/190> <===== 0: 8b 46 24 mov 0x24(%esi),%eax <===== Code; c0141936 <try_to_sync_unused_inodes+46/190> 3: 85 c0 test %eax,%eax Code; c0141938 <try_to_sync_unused_inodes+48/190> 5: 0f 85 20 01 00 00 jne 12b <_EIP+0x12b> c0141a5e <try_to_sync_unused_inodes+16e/190> Code; c014193e <try_to_sync_unused_inodes+4e/190> b: e8 0d 97 fe ff call fffe971d <_EIP+0xfffe971d> c012b050 <nr_free_pages+0/40> Code; c0141943 <try_to_sync_unused_inodes+53/190> 10: 3b 05 b8 83 00 00 cmp 0x83b8,%eax <1>Unable to handle kernel NULL pointer dereference at virtual address 0000001c c0141933 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<c0141933>] EFLAGS: 00010207 eax: 00000004 ebx: 00000000 ecx: d8a5dee0 edx: 00000003 esi: fffffff8 edi: efdef860 ebp: efdef800 esp: d8a5deb4 ds: 0018 es: 0018 ss: 0018 Process cp (pid: 694, stackpage=d8a5d000) Stack: ef9d3048 ef9d3040 c02391ec d8a5dee8 c0141fa2 c0141fbd 000000d2 00012833 00000000 00000001 00000002 d8a5dee0 d8a5dee0 00000010 c0141ff1 fffffffe c012a41e 00000000 000000d2 00000000 000000d2 000000d2 00000001 d8a5c000 Call Trace: [<c0141fa2>] [<c0141fbd>] [<c0141ff1>] [<c012a41e>] [<c012a582>] [<c012af1f>] [<c012ad66>] [<c01262d8>] [<c01304c6>] [<c0106c13>] Code: 8b 46 24 85 c0 0f 85 20 01 00 00 e8 0d 97 fe ff 3b 05 b8 83 >>EIP; c0141933 <try_to_sync_unused_inodes+43/190> <===== Trace; c0141fa2 <prune_icache+b2/e0> Trace; c0141fbd <prune_icache+cd/e0> Trace; c0141ff1 <shrink_icache_memory+21/30> Trace; c012a41e <do_try_to_free_pages+2e/60> Trace; c012a582 <try_to_free_pages+22/30> Trace; c012af1f <__alloc_pages+1af/240> Trace; c012ad66 <_alloc_pages+16/20> Trace; c01262d8 <generic_file_write+338/5b0> Trace; c01304c6 <sys_write+96/d0> Trace; c0106c13 <system_call+33/38> Code; c0141933 <try_to_sync_unused_inodes+43/190> 00000000 <_EIP>: Code; c0141933 <try_to_sync_unused_inodes+43/190> <===== 0: 8b 46 24 mov 0x24(%esi),%eax <===== Code; c0141936 <try_to_sync_unused_inodes+46/190> 3: 85 c0 test %eax,%eax Code; c0141938 <try_to_sync_unused_inodes+48/190> 5: 0f 85 20 01 00 00 jne 12b <_EIP+0x12b> c0141a5e <try_to_sync_unused_inodes+16e/190> Code; c014193e <try_to_sync_unused_inodes+4e/190> b: e8 0d 97 fe ff call fffe971d <_EIP+0xfffe971d> c012b050 <nr_free_pages+0/40> Code; c0141943 <try_to_sync_unused_inodes+53/190> 10: 3b 05 b8 83 00 00 cmp 0x83b8,%eax 6 warnings issued. Results may not be reliable. Richard Wood