[12404.800902] BUG: unable to handle kernel NULL pointer dereference at 0000009c
[12404.800912] IP: [<f88e5b47>] ohsm_set_tier+0x17/0x380 [ohsm]
[12404.800926] *pde = 00000000
[12404.800931] Oops: 0000 [#1] SMP
[12404.800938] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda1/stat
[12404.800945] Modules linked in: ohsm ext4 jbd2 crc16 loop binfmt_misc af_packet radeon drm i2c_core ppdev ipv6 pci_slot container sbs sbshc nsc_ircc ircomm_tty ircomm lp parport snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm arc4 snd_seq_dummy ecb snd_seq_oss snd_seq_midi snd_rawmidi iwl3945 snd_seq_midi_event snd_seq iwlcore snd_timer snd_seq_device pcmcia joydev mac80211 thinkpad_acpi snd iTCO_wdt iTCO_vendor_support yenta_socket led_class soundcore psmouse cfg80211 rsrc_nonstatic intel_agp irda serio_raw pcspkr rfkill evdev video output pcmcia_core agpgart nvram battery ac button processor snd_page_alloc crc_ccitt usbhid hid ext3 jbd mbcache sr_mod cdrom ata_generic sg pata_acpi ehci_hcd uhci_hcd ahci usbcore ata_piix e1000e thermal fan fuse
[12404.801078]
[12404.801085] Pid: 23082, comm: ohsm Not tainted (2.6.31-rc7 #4) 200849A
[12404.801091] EIP: 0060:[<f88e5b47>] EFLAGS: 00010296 CPU: 0
[12404.801099] EIP is at ohsm_set_tier+0x17/0x380 [ohsm]
[12404.801104] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[12404.801110] ESI: df302330 EDI: f4e32e60 EBP: f4e32e40 ESP: f4e32e18
[12404.801115] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[12404.801121] Process ohsm (pid: 23082, ti=f4e32000 task=f3640c90 task.ti=f4e32000)
[12404.801126] Stack:
[12404.801129] f4e32e78 f4e32e78 00000017 00000000 f362e000 f4e32e60 f4e32e00 00000000
[12404.801142] <0> f362e000 f4e32e60 f4e33e6c f88e641e f88e73ec f88e8514 f88e7250 000000d5
[12404.801155] <0> f88e6e5c df302330 63617243 68545f6b 6e495f65 76726574 2e776569 2e666470
[12404.801170] Call Trace:
[12404.801182] [<f88e641e>] ? ohsm_ext4_create+0x1de/0x4a0 [ohsm]
[12404.801194] [<c02e1b3a>] ? generic_setxattr+0x15a/0x170
[12404.801202] [<c02dbca8>] ? mntput_no_expire+0x28/0x200
[12404.801210] [<c02d1be6>] ? dput+0xf6/0x2c0
[12404.801216] [<c02bfbd8>] ? path_put+0x58/0x80
[12404.801226] [<f88e39ab>] ? ohsm_enable_superblock+0xcb/0x160 [ohsm]
[12404.801237] [<f88e3e55>] ? ohsm_enable+0x2c5/0xbb0 [ohsm]
[12404.801246] [<c04085b1>] ? copy_from_user+0x51/0x1f0
[12404.801255] [<f88e3f8e>] ? ohsm_enable+0x3fe/0xbb0 [ohsm]
[12404.801274] [<f88e531e>] ? ohsm_ioctl+0x48e/0x7b0 [ohsm]
[12404.801299] [<c015c564>] ? enqueue_entity+0x184/0x620
[12404.801309] [<c0123a1c>] ? native_smp_send_reschedule+0x5c/0xd0
[12404.801317] [<c0141476>] ? resched_task+0xd6/0x120
[12404.801325] [<c0158d2d>] ? try_to_wake_up+0x1ed/0x5c0
[12404.801333] [<c0159148>] ? wake_up_state+0x18/0x30
[12404.801341] [<c01876d8>] ? signal_wake_up+0x48/0xa0
[12404.801348] [<c0188773>] ? __send_signal+0x73/0x510
[12404.801356] [<c0291d74>] ? dma_pool_alloc+0x274/0x560
[12404.801364] [<c0189108>] ? __group_send_sig_info+0x28/0x40
[12404.801389] [<f924502b>] ? ehci_qtd_alloc+0x2b/0xd0 [ehci_hcd]
[12404.801409] [<f924c932>] ? qh_append_tds+0x132/0x8f0 [ehci_hcd]
[12404.801429] [<f9247200>] ? qh_urb_transaction+0x140/0x660 [ehci_hcd]
[12404.801450] [<f924d583>] ? ehci_urb_enqueue+0x493/0x18a0 [ehci_hcd]
[12404.801458] [<c0159119>] ? default_wake_function+0x19/0x30
[12404.801465] [<c02cd04d>] ? pollwake+0x7d/0xb0
[12404.801473] [<c0159100>] ? default_wake_function+0x0/0x30
[12404.801481] [<c01435ae>] ? __wake_up_common+0x5e/0xd0
[12404.801488] [<c0149c8a>] ? __wake_up+0x6a/0x90
[12404.801532] [<f86e9ead>] ? usb_hcd_submit_urb+0x1ed/0x1400 [usbcore]
[12404.801541] [<c05634fc>] ? input_handle_event+0x15c/0x8a0
[12404.801548] [<c0563d67>] ? input_event+0x127/0x140
[12404.801574] [<f9845e11>] ? hidinput_report_event+0x51/0x80 [hid]
[12404.801592] [<f9843a84>] ? hid_report_raw_event+0x614/0x820 [hid]
[12404.801629] [<f86eb786>] ? usb_submit_urb+0x166/0x500 [usbcore]
[12404.801653] [<f9946888>] ? hid_irq_in+0xb8/0x3f0 [usbhid]
[12404.801661] [<c0291a9e>] ? dma_pool_free+0x19e/0x200
[12404.801697] [<f86e8786>] ? usb_hcd_giveback_urb+0xd6/0x1d0 [usbcore]
[12404.801706] [<c0182b55>] ? internal_add_timer+0x95/0x130
[12404.801713] [<c0184407>] ? mod_timer+0x197/0x2c0
[12404.801737] [<f92433b5>] ? timer_action+0x85/0xe0 [ehci_hcd]
[12404.801757] [<f9249717>] ? ehci_work+0x347/0x1030 [ehci_hcd]
[12404.801765] [<c06221a8>] ? ip_rcv_finish+0x158/0x5e0
[12404.801774] [<c02f0a88>] ? __find_get_block+0x198/0x430
[12404.801781] [<c02f0a88>] ? __find_get_block+0x198/0x430
[12404.801789] [<c029d0c5>] ? __slab_free+0x285/0x600
[12404.801798] [<c019aef8>] ? wake_up_bit+0x78/0xa0
[12404.801806] [<c019aef8>] ? wake_up_bit+0x78/0xa0
[12404.801813] [<c01ac598>] ? getnstimeofday+0x98/0x200
[12404.801822] [<c024b22c>] ? mempool_alloc_slab+0x1c/0x30
[12404.801830] [<c024b22c>] ? mempool_alloc_slab+0x1c/0x30
[12404.801838] [<c0141b2c>] ? calc_delta_fair+0x4c/0x60
[12404.801845] [<c0141f01>] ? wakeup_preempt_entity+0x181/0x260
[12404.801854] [<c01583ce>] ? check_preempt_wakeup+0x4de/0x5b0
[12404.801862] [<c0158d2d>] ? try_to_wake_up+0x1ed/0x5c0
[12404.801870] [<c01a19ff>] ? hrtimer_interrupt+0x12f/0x300
[12404.801878] [<c0159119>] ? default_wake_function+0x19/0x30
[12404.801886] [<c0245aab>] ? find_get_page+0x2b/0x220
[12404.801893] [<c01435ae>] ? __wake_up_common+0x5e/0xd0
[12404.801900] [<c02f01e1>] ? __find_get_block_slow+0xe1/0x2a0
[12404.801909] [<c02f0a88>] ? __find_get_block+0x198/0x430
[12404.801916] [<c02f0a88>] ? __find_get_block+0x198/0x430
[12404.801934] [<f8669801>] ? __jbd2_journal_file_buffer+0x141/0x430 [jbd2]
[12404.801943] [<c019aef8>] ? wake_up_bit+0x78/0xa0
[12404.801959] [<f866bbf3>] ? do_get_write_access+0x763/0xab0 [jbd2]
[12404.801967] [<c02f0a88>] ? __find_get_block+0x198/0x430
[12404.802001] [<f879562f>] ? __ext4_get_inode_loc+0x14f/0x870 [ext4]
[12404.802041] [<f87d06e7>] ? __ext4_handle_dirty_metadata+0x47/0x1a0 [ext4]
[12404.802058] [<f866bf96>] ? jbd2_journal_get_write_access+0x56/0x80 [jbd2]
[12404.802091] [<f8794dd4>] ? ext4_mark_iloc_dirty+0x5c4/0x860 [ext4]
[12404.802123] [<f8795f24>] ? ext4_mark_inode_dirty+0xb4/0x330 [ext4]
[12404.802155] [<f87900f5>] ? ext4_new_inode+0x915/0x1be0 [ext4]
[12404.802163] [<c018455d>] ? add_timer+0x2d/0x50
[12404.802179] [<f866a6f5>] ? start_this_handle+0xc5/0x790 [jbd2]
[12404.802191] [<f88e6240>] ? ohsm_ext4_create+0x0/0x4a0 [ohsm]
[12404.802224] [<f87a5201>] ? ext4_create+0x1b1/0x2f0 [ext4]
[12404.802232] [<c02c577e>] ? vfs_create+0x17e/0x2b0
[12404.802239] [<c02c682e>] ? do_filp_open+0xf7e/0x13a0
[12404.802271] [<f878de4c>] ? ext4_sync_file+0x1bc/0x280 [ext4]
[12404.802279] [<c02d8ec3>] ? alloc_fd+0x63/0x1d0
[12404.802287] [<c02aa4a7>] ? do_sys_open+0xa7/0x210
[12404.802294] [<c02aa6a7>] ? sys_open+0x37/0x60
[12404.802301] [<c0104bbc>] ? sysenter_do_call+0x12/0x28
[12404.802307] Code: 94 96 8e f8 00 e9 25 fe ff ff 8d 76 00 8d bc 27 00 00 00 00 55 89 e5 83 ec 28 89 75 f8 89 c6 89 5d f4 89 7d fc 88 55 f0 8b 40 10 <8b> 80 9c 00 00 00 85 c0 74 7f 83 05 b8 96 8e f8 01 83 15 bc 96
[12404.802381] EIP: [<f88e5b47>] ohsm_set_tier+0x17/0x380 [ohsm] SS:ESP 0068:f4e32e18
[12404.802393] CR2: 000000000000009c
[12404.802400] ---[ end trace 050478f52533df86 ]---
Fixed by commit ce112dba5e04ccff2b66619a8a9922e41ba3c894