From: hxsrmeng Subject: Kernel oops with "Unable to handle kernel paging request" Date: Mon, 12 Nov 2007 16:11:34 -0500 Message-ID: <1194901894.5521.8.camel@OpenSUSE-desktop.Home> Reply-To: hxsrmeng@gmail.com, device-mapper development Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids Hi friends, I am trying out a dm-cache module at http://www.acis.ufl.edu/~ming/dmcache/index.html 64-bit machine with Kernel 2.6.16.53. Everything is fine until I use "dmsetup" to remove the target dm-cache module added. I attached the dmesg | ksymoops message hereafter. Would anybody give me any hint about how I can trace the oops? Thanks in advance. $dmesg | ksymoops ksymoops 2.4.11 on x86_64 2.6.16.53-0.16-. Options used -V (default) -k /proc/kallsyms (default) -l /proc/modules (default) -o /lib/modules/2.6.16.53/ (default) -m /boot/System.map-2.6.16.53(default) Warning: You did not tell me where to find symbol information. I will assume that the log matches the kernel and modules that are running right now and I'll use the default options above for symbol resolution. If the current kernel and/or modules do not match the log, you can get more accurate output by telling me the kernel version and where to find map, modules, ksyms etc. ksymoops -h explains the options. Warning (read_ksyms): no kernel symbols in ksyms, is /proc/kallsyms a valid ksyms file? No modules in ksyms, skipping objects No ksyms, skipping lsmod ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) activating NMI Watchdog ... done. testing NMI watchdog ... OK. ehci_hcd 0000:00:1d.7: debug port 1 e1000: 0000:0d:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:30:48:92:3c:76 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection e1000: 0000:0e:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:30:48:92:3c:77 e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO lo: Disabled Privacy Extensions Unable to handle kernel NULL pointer dereference at 0000000000000004 RIP: [<0000000000000004>] Oops: 0010 [1] SMP CPU 0 Pid: 5176, comm: dmsetup Tainted: G U 2.6.16.53 #2 RIP: 0010:[<0000000000000004>] [<0000000000000004>] Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64 RSP: 0018:ffff810071dedad0 EFLAGS: 00010206 RAX: 0000000000000000 RBX: 0000000000000010 RCX: 0000000000000000 RDX: ffff810072130300 RSI: 0000000000000003 RDI: 0000000000011200 RBP: ffffc200003a2000 R08: ffff810071dedbf8 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff810072130300 R13: 0000000000011210 R14: ffff810071dedbf8 R15: 0000000000000011 FS: 00002ba169eaaae0(0000) GS:ffffffff803b1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000004 CR3: 0000000071c62000 CR4: 00000000000006e0 Stack: ffffffff8015fb85 ffff810071dedb18 ffffffff8012afdc 0000000000000246 0000000000000036 0000000000000000 ffff81007d6032c0 ffff8100376cd0c0 0000000000000082 0000000000000400 Call Trace: {mempool_alloc+49} {__wake_up+56} {bio_alloc_bioset+28} {:dm_mod:dispatch_io+124} {:dm_mod:vm_get_page+0} {:dm_mod:vm_next_page+0} {:dm_mod:sync_io+122} {:dm_mod:dm_io_sync_vm+56} {:dm_mod:vm_get_page+0} {:dm_mod:vm_next_page+0} {:dm_cache:cache_dtr+545} {__wake_up+56} {:dm_mod:dev_remove+0} {:dm_mod:dm_table_put+88} {:dm_mod:dm_put+155} {:dm_mod:dev_remove+167} {:dm_mod:ctl_ioctl+527} {do_ioctl+85} {vfs_ioctl+573} {sys_ioctl +98} {system_call+126} Code: Bad RIP value. CR2: 0000000000000004 Warning (Oops_read): Code line not seen, dumping what data is available >>RIP; 00000004 Before first symbol <===== >>RDX; ffff810072130300 >>RBP; ffffc200003a2000 >>R08; ffff810071dedbf8 >>R12; ffff810072130300 >>R14; ffff810071dedbf8 Trace; ffffffff8015fb85 Trace; ffffffff80184e7d Trace; ffffffff880df958 <_end+7c3debc/7f15e564> Trace; ffffffff880dfd70 <_end+7c3e2d4/7f15e564> Trace; ffffffff880df958 <_end+7c3debc/7f15e564> Trace; ffffffff8832d31c <_end+7e8b880/7f15e564> Trace; ffffffff880df5ae <_end+7c3db12/7f15e564> Trace; ffffffff880dba6d <_end+7c39fd1/7f15e564> Trace; ffffffff880df41d <_end+7c3d981/7f15e564> Trace; ffffffff80191968 Trace; ffffffff8010af6a 3 warnings issued. Results may not be reliable.