| Issue 124: | OHSM Crash: Invocation of relocation.... | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Looks like some null pointer dereference here.... <1>BUG: unable to handle kernel paging request at 000012c0 [ 9500.023423] IP: [<f8164090>] ohsm_get_inodes_for_relocation+0x20/0x600 [ohsm] [ 9500.023442] *pde = 00000000 [ 9500.023449] Oops: 0000 [#5] SMP [ 9500.023457] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/rfkill/rfkill1/state [ 9500.023465] Modules linked in: ohsm ext2 af_packet binfmt_misc ppdev rfcomm bridge stp bnep sco l2cap bluetooth autofs4 ipv6 pci_slot sbs sbshc container sbp2 lp parport snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 snd_rawmidi ecb snd_seq_midi_event joydev snd_seq iwlagn snd_timer snd_seq_device iwlcore pcmcia snd mac80211 intel_agp thinkpad_acpi rfkill psmouse yenta_socket rsrc_nonstatic soundcore led_class pcspkr serio_raw evdev pcmcia_core iTCO_wdt iTCO_vendor_support snd_page_alloc agpgart video output cfg80211 wmi nvram processor ac battery button ext3 jbd mbcache sr_mod cdrom sg ata_generic pata_acpi ohci1394 ieee1394 ata_piix ehci_hcd e1000e uhci_hcd usbcore dm_mod thermal fan fuse [last unloaded: ext2] [ 9500.023627] [ 9500.023635] Pid: 14524, comm: ohsm Tainted: G D (2.6.30 #1) 7665AD6 [ 9500.023642] EIP: 0060:[<f8164090>] EFLAGS: 00210202 CPU: 0 [ 9500.023653] EIP is at ohsm_get_inodes_for_relocation+0x20/0x600 [ohsm] [ 9500.023660] EAX: 00000000 EBX: f81670e0 ECX: 00000001 EDX: 00000001 [ 9500.023666] ESI: ec58d200 EDI: 00000000 EBP: e3af3ec0 ESP: e3af3e74 [ 9500.023673] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 9500.023680] Process ohsm (pid: 14524, ti=e3af2000 task=daf8a550 task.ti=e3af2000) [ 9500.023686] Stack: [ 9500.023690] e3af3f08 f6ec5834 c0598b80 e3af3ec8 c018fea4 00200282 e3af3eac c0123ec0 [ 9500.023705] e3af3f08 c04ec920 ec58d200 e3af3eb0 00000001 00000001 f81670e0 e3af3ec0 [ 9500.023722] f81670e0 ec58d200 00000000 e3af3ef8 f8164920 e3af3f24 c01a5990 00000002 [ 9500.023740] Call Trace: [ 9500.023745] [<c018fea4>] ? filemap_fault+0x134/0x3f0 [ 9500.023759] [<c0123ec0>] ? __wake_up+0x40/0x50 [ 9500.023770] [<f8164920>] ? device_ioctl+0x2b0/0xc00 [ohsm] [ 9500.023782] [<c01a5990>] ? __do_fault+0x3b0/0x460 [ 9500.023791] [<c02ba22b>] ? n_tty_read+0x2eb/0x730 [ 9500.023802] [<c01ce149>] ? vfs_ioctl+0x79/0x90 [ 9500.023812] [<c01ce1d2>] ? do_vfs_ioctl+0x72/0x590 [ 9500.023821] [<c01a6281>] ? handle_mm_fault+0x111/0x720 [ 9500.023831] [<c01c1352>] ? vfs_read+0x102/0x160 [ 9500.023840] [<c01ce753>] ? sys_ioctl+0x63/0x70 [ 9500.023849] [<c0102ffc>] ? sysenter_do_call+0x12/0x28 [ 9500.023859] Code: e9 38 ff ff ff 8d b6 00 00 00 00 55 89 e5 57 56 53 83 ec 40 8b 00 89 45 e4 a1 04 23 15 f8 85 c0 0f 84 8d 05 00 00 a1 ac 72 16 f8 <8b> 88 c0 12 00 00 b8 01 00 00 00 d3 e0 83 e8 01 3945 e4 0f 87 [ 9500.023952] EIP: [<f8164090>] ohsm_get_inodes_for_relocation+0x20/0x600 [ohsm] SS:ESP 0068:e3af3e74 [ 9500.023967] CR2: 00000000000012c0 [ 9500.023974] ---[ end trace adb9e7baf79f6beb ]--- [~/fscops/fscops/ohsm/test/userspace] Needs a revisit.
Aug 6, 2009
Project Member
#1
sandeepksinha
Aug 6, 2009
BUG_ON(!ohsm_enabled); Can this be the culprit in ohsm_get_inodes_for_relocation( ) .... ? Strange....
Aug 7, 2009
After fix, the issue is same as issue:123 [ 9226.056099] Call Trace: [ 9226.056104] [<c01e197f>] ? __set_page_dirty+0x6f/0xb0 [ 9226.056116] [<fc7f5a9a>] ? ext2_new_inode+0x65a/0xac0 [ext2] [ 9226.056136] [<fc7f68fc>] ? ext2_iget+0x1c/0x3b0 [ext2] [ 9226.056153] [<c02645da>] ? vsnprintf+0x5a/0x4d0 [ 9226.056163] [<f8112550>] ? ohsm_realloc_mcp+0x70/0x540 [ohsm] [ 9226.056177] [<c02c7a80>] ? vt_console_print+0x0/0x320 [ 9226.056188] [<c01340b2>] ? __call_console_drivers+0x62/0x80 [ 9226.056199] [<c014d4cb>] ? up+0x2b/0x40 [ 9226.056209] [<c014d48a>] ? down_trylock+0x2a/0x40 [ 9226.056234] [<c03ca684>] ? printk+0x18/0x1c [ 9226.056245] [<f8113009>] ? ohsm_find_dest_for_rule+0xa9/0x110 [ohsm] [ 9226.056258] [<f8113321>] ? ohsm_get_inodes_for_relocation+0x2b1/0x600 [ohsm] [ 9226.056271] [<f8113920>] ? device_ioctl+0x2b0/0xc00 [ohsm] [ 9226.056283] [<c01a5990>] ? __do_fault+0x3b0/0x460 [ 9226.056292] [<c02ba22b>] ? n_tty_read+0x2eb/0x730 [ 9226.056303] [<c01ce149>] ? vfs_ioctl+0x79/0x90 [ 9226.056313] [<c01ce1d2>] ? do_vfs_ioctl+0x72/0x590 [ 9226.056322] [<c01a6281>] ? handle_mm_fault+0x111/0x720 [ 9226.056332] [<c01c1352>] ? vfs_read+0x102/0x160 [ 9226.056341] [<c01ce753>] ? sys_ioctl+0x63/0x70 [ 9226.056350] [<c0102ffc>] ? sysenter_do_call+0x12/0x28 [ 9226.056360] Code: bc 27 00 00 00 00 55 89 e5 83 ec 20 89 45 f0 89 5d f4 8b 5d f0 89 75 f8 64 a1 88 74 59 c0 89 7d fc 8b 7b 14 03 3c 85 60 f6 51 c0 <8b> 07 89 c3 89 c6 8b 45 08 c1 fe 1f 01 d3 11 ce 89 c2 c1 fa 1f [ 9226.056453] EIP: [<c026cbf5>] __percpu_counter_add+0x25/0xb0 SS:ESP 0068:c2b5fca8 [ 9226.056465] CR2: 0000000004d3db30 [ 9226.056472] ---[ end trace ff579feb56ee09dc ]--- Same stack trace now.
Status:
Duplicate
Mergedinto: 123 |