|
|
I am facing problem in file ohsm_dm_ioctl.c file submitted in Issue 17
It is generating a segmentation fault.The cause for this problem lies in
ioctl call.
The output that is generated is shown below :--
The total number of targets : 2<1>
Dev 0 start : 0<1>
Dev 0 len : 2088960<1>
Dev 1 start : 2088960<1>
Dev 1 len : 1687552<0>------------[ cut here ]------------
kernel BUG at lib/kernel_lock.c:126!
invalid opcode: 0000 [#4] SMP
Modules linked in: ohsm_ioctl fuse radeon drm ipt_MASQUERADE iptable_nat
nf_nat sco bridge stp bnep l2cap bluetooth sunrpc ip6t_REJECT
nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput
snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device snd_pcm_oss snd_mixer_oss ppdev snd_pcm snd_timer
snd_page_alloc sata_sil 8139cp snd_hwdep 8139too pcspkr floppy mii snd
soundcore usb_storage i2c_piix4 parport_pc parport i2c_core dm_snapshot
dm_zero dm_mirror dm_log dm_mod ata_generic pata_acpi pata_atiixp [last
unloaded: microcode]
Pid: 3214, comm: a.out Tainted: G D (2.6.27 #2)
EIP: 0060:[<c06c0e72>] EFLAGS: 00210286 CPU: 0
EIP is at unlock_kernel+0x10/0x2c
EAX: 00000000 EBX: 00000000 ECX: 0000c001 EDX: ed290000
ESI: ed3a9000 EDI: ed1de200 EBP: ed1a7e28 ESP: ed1a7e28
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process a.out (pid: 3214, ti=ed1a7000 task=ed290000 task.ti=ed1a7000)
Stack: ed1a7e44 c0534a04 bfe21a18 f768626c f7686318 fffffdfd bfe21a18 ed1a7f3c
c0535190 00000029 bfe21a18 ed1a7e5c ed290000 00000029 ed1de200 f768626c
f7686200 ed3a9000 00000000 ed1a7ea4 ed1a7ec4 c051b1a5 00000001 ed1a7ea4
Call Trace:
[<c0534a04>] ? blkdev_driver_ioctl+0x50/0x5b
[<c0535190>] ? blkdev_ioctl+0x781/0x79d
[<c051b1a5>] ? avc_has_perm+0x39/0x43
[<c051c731>] ? inode_has_perm+0x5b/0x65
[<c0495e30>] ? do_filp_open+0x31c/0x611
[<c0487d41>] ? virt_to_head_page+0x22/0x2e
[<c051c9a1>] ? file_has_perm+0x7b/0x84
[<c04ae4e2>] ? block_ioctl+0x16/0x1b
[<c04ae4cc>] ? block_ioctl+0x0/0x1b
[<c04974aa>] ? vfs_ioctl+0x22/0x69
[<c049773b>] ? do_vfs_ioctl+0x24a/0x25d
[<c051cac4>] ? selinux_file_ioctl+0x35/0x38
[<c049778e>] ? sys_ioctl+0x40/0x5a
[<c04039bf>] ? sysenter_do_call+0x12/0x34
=======================
|