stec-inc / EnhanceIO

EnhanceIO Open Source for Linux
Other
420 stars 177 forks source link

kernel BUG hit while using EIO on 32 bit machine #25

Closed sanoj-stec closed 11 years ago

sanoj-stec commented 11 years ago

[ 1213.520768] ------------[ cut here ]------------ [ 1213.522876] kernel BUG at drivers/scsi/scsi_lib.c:1192! [ 1213.525828] invalid opcode: 0000 [# 1] SMP [ 1213.526963] Modules linked in: enhanceio_lru enhanceio_fifo enhanceio coretemp aesni_intel ablk_helper cryptd lrw aes_i586 xts gf128mul joydev snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm snd_seq_midi vmw_balloon snd_rawmidi snd_seq_midi_event microcode snd_seq psmouse serio_raw snd_timer rfcomm ppdev hid_generic snd_seq_device bnep parport_pc btusb bluetooth i2c_piix4 snd vmwgfx ttm drm soundcore snd_page_alloc mac_hid shpchp lp parport usbhid hid floppy pcnet32 mptspi mptscsih mptbase [ 1213.538994] Pid: 2706, comm: eio_cli Not tainted 3.7.5 # 9 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform [ 1213.541737] EIP: 0060:[] EFLAGS: 00210046 CPU: 0 [ 1213.543142] EIP is at scsi_setup_fs_cmnd+0x89/0x90 [ 1213.544365] EAX: 00000000 EBX: f06a3800 ECX: 00000002 EDX: f56300f0 [ 1213.545917] ESI: f56300f0 EDI: 00000000 EBP: f307daf4 ESP: f307daec [ 1213.547360] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 1213.548583] CR0: 80050033 CR2: b474a000 CR3: 33062000 CR4: 000407f0 [ 1213.550034] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 1213.551511] DR6: ffff0ff0 DR7: 00000400 [ 1213.552473] Process eio_cli (pid: 2706, ti=f307c000 task=f05b3f70 task.ti=f307c000) [ 1213.554205] Stack: [ 1213.554679] e5370000 f56300f0 f307db5c c13f77fa f38f24c0 00000000 00000000 0000002f [ 1213.556762] 000000f0 00011200 00005d01 f0620bc0 f069a5c0 00011200 f307db2c 00000000 [ 1213.559522] 000001ac 00000000 86d0c563 00000000 f06a3800 00000110 00000000 00000001 [ 1213.561699] Call Trace: [ 1213.562331] [] sd_prep_fn+0x2ba/0xf40 [ 1213.563449] [] blk_peek_request+0x97/0x200 [ 1213.564658] [] ? get_request+0x281/0x660 [ 1213.565863] [] ? schedule+0x311/0x790 [ 1213.566991] [] scsi_request_fn+0x37/0x4f0 [ 1213.568174] [] ? elv_add_request+0x161/0x260 [ 1213.569557] [] blk_queue_bio+0x2f8/0x3a0 [ 1213.570761] [] generic_make_request+0x9b/0xd0 [ 1213.572066] [] submit_bio+0x5d/0x140 [ 1213.573202] [] ? bio_add_page+0x58/0x70 [ 1213.574395] [] eio_dispatch_io.isra.5+0x13b/0x140 [enhanceio] [ 1213.576105] [] eio_do_io+0x159/0x210 [enhanceio] [ 1213.577519] [] eio_io_sync_vm+0x4e/0x70 [enhanceio] [ 1213.578931] [] eio_md_create+0xcd3/0x1080 [enhanceio] [ 1213.580386] [] ? printk+0x4d/0x4f [ 1213.581406] [] ? eio_get_device_size+0x45/0x60 [enhanceio] [ 1213.582931] [] eio_cache_create+0x63c/0x1a80 [enhanceio] [ 1213.584429] [] ? vmap_page_range_noflush+0x189/0x240 [ 1213.585908] [] ? map_vm_area+0x3a/0x60 [ 1213.587034] [] ? insert_vmalloc_vmlist+0x19/0x60 [ 1213.588367] [] ? vmalloc_node_range+0x115/0x1e0 [ 1213.589727] [] ? eio_ioctl+0x72/0x230 [enhanceio] [ 1213.591076] [] ? __vmalloc_node+0x62/0x70 [ 1213.592236] [] ? eio_ioctl+0x72/0x230 [enhanceio] [ 1213.593552] [] eio_ioctl+0x97/0x230 [enhanceio] [ 1213.594865] [] ? eio_get_device_start_sect+0x30/0x30 [enhanceio] [ 1213.596519] [] do_vfs_ioctl+0x82/0x5b0 [ 1213.597618] [] ? do_page_fault+0x25f/0x4d0 [ 1213.598958] [] ? sys_fstat64+0x2b/0x30 [ 1213.600144] [] sys_ioctl+0x70/0x80 [ 1213.601252] [] sysenter_do_call+0x12/0x28 [ 1213.602482] Code: ff ff 5b 5e 5d c3 8b 00 85 c0 74 b7 8b 48 24 85 c9 74 b0 89 f2 89 d8 ff d1 85 c0 74 a6 90 8d 74 26 00 eb de b8 02 00 00 00 eb d7 <0f> 0b 90 8d 74 26 00 55 89 e5 83 ec 0c 89 5d f4 89 75 f8 89 7d [ 1213.609148] EIP: [] scsi_setup_fs_cmnd+0x89/0x90 SS:ESP 0068:f307daec [ 1213.610983] ---[ end trace f0f6d867f0963a59 ]---

sanoj-stec commented 11 years ago

Fixed in the commit 798db2787ed3ab98aa963ff1c1498accfdf671ce