Hi Nab,
I am encountering kernel oops when datasn is skipped for Dataouts sent
out for a Write issued.
Scenario - I send out a Write,after i receive all the R2ts when i send
out Dataouts to satisfy each of the R2Ts. If in this run a datasn is
skipped.It results in a crash.
Here's the kernel core dump.
[root@wfsc ~]# uname -a
Linux wfsc 3.14.0-rc6 #1 SMP Mon Mar 17 09:07:33 EDT 2014 x86_64 x86_64
x86_64 GNU/Linux
[root@wfsc ~]#
[root@wfsc iscsi]# cat /sys/kernel/config/target/iscsi/lio_version
Datera Inc. iSCSI Target v4.1.0
[root@wfsc iscsi]#
crash> sys
SYSTEM MAP: /boot/System.map-3.14.0-rc6
DEBUG KERNEL:
/root/arshad/linux-source/linux.git.target.pending/target-pending/vmlinux
DUMPFILE: /var/crash/127.0.0.1-2014.03.26-07:17:28/vmcore [PARTIAL
DUMP]
CPUS: 1
DATE: Wed Dec 31 19:00:00 1969
UPTIME: 00:06:14
LOAD AVERAGE: 0.05, 0.21, 0.13
TASKS: 209
NODENAME: wfsc
RELEASE: 3.14.0-rc6
VERSION: #1 SMP Mon Mar 17 09:07:33 EDT 2014
MACHINE: x86_64 (3193 Mhz)
MEMORY: 1 GB
PANIC:
sys: WARNING: log buf data structure(s) have changed
""
crash>
crash> bt
PID: 1386 TASK: ffff880037094950 CPU: 0 COMMAND: "iscsi_trx"
#0 [ffff880036dab900] machine_kexec at ffffffff8103930f
PID: 1386 TASK: ffff880037094950 CPU: 0 COMMAND: "iscsi_trx"
#0 [ffff880036dab900] machine_kexec at ffffffff8103930f
#1 [ffff880036dab950] crash_kexec at ffffffff810e9048
#2 [ffff880036daba20] oops_end at ffffffff81695fb0
#3 [ffff880036daba50] no_context at ffffffff81689954
#4 [ffff880036dabab0] __bad_area_nosemaphore at ffffffff81689b39
#5 [ffff880036dabb00] bad_area_nosemaphore at ffffffff81689b6b
#6 [ffff880036dabb10] __do_page_fault at ffffffff8169866f
#7 [ffff880036dabc20] do_page_fault at ffffffff81698aac
#8 [ffff880036dabc30] page_fault at ffffffff816954a2
[exception RIP: iscsit_allocate_cmd+39]
RIP: ffffffffa04b96c7 RSP: ffff880036dabce8 RFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88003bc34800 RCX: dead000000200200
RDX: ffff88003b1c0ad8 RSI: 0000000000000000 RDI: ffff88003b1c0628
RBP: ffff880036dabd08 R8: ffff88003bc34cb0 R9: ffff88003fc15d60
R10: ffffea0000db9600 R11: ffffffffa04b97f6 R12: ffff88003b1c0628
R13: ffff88003b1c0628 R14: ffff88003bc34be0 R15: ffff88003b1c0a00
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#9 [ffff880036dabd10] iscsit_close_connection at ffffffffa04c351f
[iscsi_target_mod]
#10 [ffff880036dabd70] iscsit_connection_recovery_transport_reset at
ffffffffa04b2858 [iscsi_target_mod]
#11 [ffff880036dabd80] iscsit_take_action_for_connection_exit at
ffffffffa04b003c [iscsi_target_mod]
#12 [ffff880036dabda0] iscsi_target_rx_thread at ffffffffa04c08cd
[iscsi_target_mod]
#13 [ffff880036dabec0] kthread at ffffffff8108fe79
#14 [ffff880036dabf50] ret_from_fork at ffffffff8169d82c
crash>
crash> files
PID: 1386 TASK: ffff880037094950 CPU: 0 COMMAND: "iscsi_trx"
ROOT: / CWD: /
No open files
crash>
crash> log
log: WARNING: log buf data structure(s) have changed
crash>
crash> mod
MODULE NAME SIZE OBJECT FILE
ffffffffa0003060 uinput 17614 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa000b460 pata_acpi 13038 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00135e0 ata_generic 12910 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa001f660 i2c_core 38564 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0026180 serio_raw 13413 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0037780 scsi_transport_iscsi 97402 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00472e0 i2c_piix4 22155 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa004c020 soundcore 14491 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa005e320 snd 75435 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00680c0 pcspkr 12718 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00753a0 parport 40375 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa009dfa0 vboxguest 223586 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00b4080 joydev 17377 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00c02c0 parport_pc 28035 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00c5060 snd_seq_device 14136 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00e6600 e1000 145393 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00f1420 microcode 24141 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa00fd080 snd_timer 28690 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0114540 snd_pcm 103315 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01272a0 snd_seq 60780 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa012e0a0 ac97_bus 12682 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0167e20 drm 283647 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa017d200 ppdev 17635 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa019a720 snd_ac97_codec 133373 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01a5300 iscsi_tcp 18333 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01ad400 vboxvideo 12658 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01b7780 snd_intel8x0 38139 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01bf000 libiscsi_tcp 24176 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01c4000 mdio 13253 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01d1020 libiscsi 54752 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01d90e0 ib_addr 18466 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01ece80 ib_core 78601 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa01fa080 ib_sa 29038 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0206060 ib_mad 42244 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa020c5c0 iscsi_boot_sysfs 15641 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02167c0 vboxsf 39725 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0222300 ib_cm 41788 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0228040 iptable_raw 12678 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa022e000 iw_cm 18221 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02390c0 rdma_cm 42359 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa023f040 iptable_security 12705 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa024b300 ib_iser 46960 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0251040 iptable_mangle 12695 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa025e060 libcxgbi 56602 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0282860 cxgb3 155627 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0290ac0 cxgb4i 33005 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa029a920 cxgb3i 33030 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02a0060 ip6table_filter 12815 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02c0720 cxgb4 140243 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02ca340 uio 19227 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02da180 cnic 62669 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02e0040 ip6table_raw 12683 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa02ee4a0 bnx2i 54685 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa030a560 be2iscsi 111281 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0314240 ip6_tables 26808 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0319040 ip6table_security 12710 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa031e040 ip6table_mangle 12700 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa03271a0 ebtables 30756 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0330220 ebtable_filter 12827 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa03350a0 llc 13941 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa033a0e0 stp 12868 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0351000 bridge 105737 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa035a280 ebtable_nat 12807 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0363100 ebtable_broute 12731 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa03748e0 nf_conntrack 86284 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa037f080 nf_defrag_ipv4 12702 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0384560 nf_conntrack_ipv4 14656 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0389180 xt_conntrack 12760 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa03933e0 rfkill 22014 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0399540 nf_conntrack_ipv6 14642 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa039f5a0 6lowpan_iphc 18632 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa03a5500 nf_defrag_ipv6 34712 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa03fc2e0 bluetooth 400100 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0415000 nf_conntrack_broadcast 12527 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa041a0e0 nf_conntrack_netbios_ns 12665 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa041f080 xt_CHECKSUM 12549 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0425300 target_core_iblock 18339 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa042f560 bnep 19621 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa04381a0 ip6t_REJECT 12939 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa0479700 target_core_mod 341328 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa04933a0 target_core_file 18261 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa049d500 target_core_pscsi 18715 (not loaded)
[CONFIG_KALLSYMS]
ffffffffa04df760 iscsi_target_mod 293382 (not loaded)
[CONFIG_KALLSYMS]
crash>
Regards
Santosh
--
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