Re: [PATCH 0/3] target: Fix ABORT_TASK response + session reset hang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Nab,

> --- a/drivers/target/target_core_transport.c
> +++ b/drivers/target/target_core_transport.c
> @@ -2424,6 +2424,10 @@ static void target_release_cmd_kref(struct kref *kref)
>   */
>  int target_put_sess_cmd(struct se_session *se_sess, struct se_cmd *se_cmd)
>  {
> +       if (!se_sess) {
> +               se_cmd->se_tfo->release_cmd(se_cmd);
> +               return 0;
> +       }

I'll try the same. It seems that my dev box ext4 is corrupted, I have to
resetup the box. After a fsck and reboot I'm getting. I'm not sure if it is
related or another Kernel Bug, I'm seeing. I have Linus tip currently on three
systems.

[    7.945948] input: Winbond Electronics Corp Hermon USB hidmouse Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0557:2221.0001/input/input6
[    7.960898] hid-generic 0003:0557:2221.0001: input,hidraw0: USB HID v1.00 Mouse [Winbond Electronics Corp Hermon USB hidmouse Device] on usb-0000:00:1a.0-1.2/input0
[    7.975853] input: Winbond Electronics Corp Hermon USB hidmouse Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:0557:2221.0002/input/input7
[    7.990751] hid-generic 0003:0557:2221.0002: input,hidraw1: USB HID v1.00 Keyboard [Winbond Electronics Corp Hermon USB hidmouse Device] on usb-0000:00:1a.0-1.2/input1
/dev/sda1: 165990/29310976 files (0.9% non-contiguous), 10710456/117212416 blocks
done.
[   15.339195] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   15.370356] loop: module loaded
24542 clusters in bitmap, 24541 in gd; block bitmap corrupt.): ext4_mb_generate_buddy:756: group 3136, el module loop.

[   15.391222] Aborting journal on device sda1-8.
[   15.395945] EXT4-fs (sda1): Remounting filesystem read-only
[   15.401654] ------------[ cut here ]------------
[   15.406405] WARNING: CPU: 0 PID: 1480 at fs/ext4/ext4_jbd2.c:260 __ext4_handle_dirty_metadata+0x5c/0x1b7 [ext4]()
[   15.416788] Modules linked in: loop joydev hid_generic usbhid hid x86_pkg_temp_thermal coretemp kvm_intel kvm ghash_clmulni_intel snd_pcm snd_timer aesni_intel snd aes_x86_64 ehci_pci sb_edac soundcore ablk_helper psmouse ehci_hcd cryptd lrw gf128mul iTCO_wdt acpi_cpufreq evdev iTCO_vendor_support pcspkr usbcore edac_core lpc_ich serio_raw glue_helper mfd_core i2c_i801 ioatdma ipmi_si tpm_tis usb_common ipmi_msghandler tpm processor thermal_sys wmi button ext4 crc16 jbd2 mbcache sg sd_mod crc_t10dif crct10dif_common crc32c_intel ahci libahci igb i2c_algo_bit libata i2c_core microcode dca scsi_mod ptp pps_core
[   15.475747] CPU: 0 PID: 1480 Comm: find Not tainted 3.15.0+ #4
[   15.481652] Hardware name: Supermicro X9SRD-F/X9SRD-F, BIOS 1.0a 10/15/2012
[   15.488693]  0000000000000000 0000000000000009 ffffffff81397767 0000000000000000
[   15.496461]  ffffffff810391bf ffff881020eb3310 ffffffffa01ef856 ffff881022bbb4a0
[   15.504238]  ffff881022bbb4a0 ffff881022802328 00000000ffffffe2 0000000000000000
[   15.512014] Call Trace:
[   15.514541]  [<ffffffff81397767>] ? dump_stack+0x41/0x51
[   15.519945]  [<ffffffff810391bf>] ? warn_slowpath_common+0x78/0x90
[   15.526243]  [<ffffffffa01ef856>] ? __ext4_handle_dirty_metadata+0x5c/0x1b7 [ext4]
[   15.533926]  [<ffffffffa01ef856>] ? __ext4_handle_dirty_metadata+0x5c/0x1b7 [ext4]
[   15.541612]  [<ffffffffa01d0fb0>] ? ext4_dirty_inode+0x21/0x52 [ext4]
[   15.548135]  [<ffffffffa01d0f8f>] ? ext4_evict_inode+0x2d1/0x2d1 [ext4]
[   15.554842]  [<ffffffffa01f5d80>] ? ext4_free_blocks+0x757/0x809 [ext4]
[   15.561541]  [<ffffffffa0094213>] ? jbd2_journal_put_journal_head+0x17/0x10c [jbd2]
[   15.569297]  [<ffffffffa01ec8a8>] ? ext4_ext_remove_space+0x660/0xbd8 [ext4]
[   15.576433]  [<ffffffffa01fb69e>] ? ext4_es_remove_extent+0x70/0x93 [ext4]
[   15.583397]  [<ffffffffa01ee024>] ? ext4_ext_truncate+0x7a/0x9e [ext4]
[   15.590008]  [<ffffffffa01cef94>] ? ext4_truncate+0x1d0/0x2ba [ext4]
[   15.596447]  [<ffffffffa01d0e81>] ? ext4_evict_inode+0x1c3/0x2d1 [ext4]
[   15.603143]  [<ffffffffa01d0cbe>] ? ext4_writepages+0x8f6/0x8f6 [ext4]
[   15.609750]  [<ffffffff81120b08>] ? evict+0xa3/0x147
[   15.614789]  [<ffffffff8111d753>] ? d_delete+0xc0/0xec
[   15.620002]  [<ffffffff81117dda>] ? vfs_rmdir+0xbe/0xce
[   15.625303]  [<ffffffff81117ec3>] ? do_rmdir+0xd9/0x148
[   15.630608]  [<ffffffff8139971c>] ? _cond_resched+0x6/0x38
[   15.636174]  [<ffffffff8104f9cd>] ? task_work_run+0x80/0x8f
[   15.641823]  [<ffffffff810025c8>] ? do_notify_resume+0x53/0x68
[   15.647732]  [<ffffffff8110e8ea>] ? fput+0x5c/0x82
[   15.652604]  [<ffffffff813a0922>] ? system_call_fastpath+0x16/0x1b
[   15.658878] ---[ end trace 6f1d035764d87c80 ]---
[   15.663575] EXT4: jbd2_journal_dirty_metadata failed: handle type 5 started at line 244, credits 29/30, errcode -30
[   15.673927] EXT4: jbd2_journal_dirty_metadata failed: handle type 5 started at line 244, credits 29/30, errcode -30[   15.684549] EXT4-fs error (device sda1) in ext4_free_blocks:4869: Journal has aborted
[   15.693048] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4889: Journal has aborted
[   15.701779] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4889: Journal has aborted
[   15.710477] EXT4-fs error (device sda1) in ext4_ext_remove_space:3019: Journal has aborted
[   15.718916] EXT4-fs error (device sda1) in ext4_ext_truncate:4663: Journal has aborted
[   15.726963] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4889: Journal has aborted
[....] Cleaning [   15.735669] EXT4-fs error (device sda1) in ext4_truncate:3796: Journal has aborted
up temporary fil[   15.749971] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4889: Journal has aborted
es...[   15.759923] EXT4-fs error (device sda1) in ext4_orphan_del:2707: Journal has aborted

Cheers,
        Thomas
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux