From: Benjamin Y. <ben...@rq...> - 2009-12-03 20:29:07
|
Vladislav Bolkhovitin wrote: > Sorry, no. I need the beginning of the previous log, which you snipped. i have reproduced this. 2.6.31-ARCH (archlinux x86_64, glibc is 2.11) the SCST came from SVN hours ago, r1373. i only have one iscsi target, with one lun, which is a BIO/512 device on LVM2, backed by /dev/sdb provided by arcmsr controller. ( no md, drbd etc ). ps, Kristof.... how did you deal with dhcp gateway and target ip to get it to work ? took me forever before i tried making gateway = target ip, and then it connected. i could provide a tcpdump if it's useful. my log... [ win-PE has started now, and creates its native connection ] Dec 3 14:59:53 storage2 iscsi-scstd: Connect from 10.1.1.90:49162 to 10.1.1.198:3260 Dec 3 14:59:53 storage2 kernel: [24889]: session_add:156:Adding session SID c000037010040 Dec 3 14:59:53 storage2 kernel: [24889]: scst: scst_init_session:5428:Using security group "Default_iqn.2000-01.com.forcedmatrix:da.pxetest" for initiator "iqn.2000-09.org.etherboot:UNKNOWN" Dec 3 14:59:53 storage2 kernel: [24889]: scst_alloc_add_tgt_dev:1561:Device pxetest on SCST lun=0 Dec 3 14:59:53 storage2 kernel: [24889]: scst_alloc_set_UA:4352:Adding new UA to tgt_dev ffff88003d75a000 Dec 3 14:59:53 storage2 kernel: [24889]: iscsi_session_alloc:113:Session ffff8800347b8000 created: target ffff88003eb5f200, tid 1, sid 0xc000037010040 Dec 3 14:59:53 storage2 kernel: [24889]: iscsi-scst: log_params:74:Negotiated parameters: InitialR2T No, ImmediateData Yes, MaxConnections 1, MaxRecvDataSegmentLength 1048576, MaxXmitDataSegmentLength 65536, Dec 3 14:59:53 storage2 kernel: [24889]: iscsi-scst: log_params:78: MaxBurstLength 262144, FirstBurstLength 65536, DefaultTime2Wait 2, DefaultTime2Retain 20, Dec 3 14:59:53 storage2 kernel: [24889]: iscsi-scst: log_params:84: MaxOutstandingR2T 16, DataPDUInOrder Yes, DataSequenceInOrder Yes, ErrorRecoveryLevel 0, Dec 3 14:59:53 storage2 kernel: [24889]: iscsi-scst: log_params:91: HeaderDigest None, DataDigest None, OFMarker No, IFMarker No, OFMarkInt 2048, IFMarkInt 2048 Dec 3 14:59:53 storage2 kernel: [24889]: iscsi_conn_alloc:572:Creating connection ffff88003f1cd800 for sid 0xc000037010040, cid 1 Dec 3 14:59:53 storage2 kernel: [24889]: conn_activate:435:Enabling conn ffff88003f1cd800 [ now installer is going, and we can see 80GB disk, which we select, and then instantly... ] 2009 Dec 3 15:01:10 storage2 conn ffff88003b6fe7b0 rd_task != current ffff880037dfbba0 (pid 24838) 2009 Dec 3 15:01:10 storage2 rd_state 200 2009 Dec 3 15:01:10 storage2 rd_task (null) 2009 Dec 3 15:01:10 storage2 Oops: 0000 [#1] PREEMPT SMP 2009 Dec 3 15:01:10 storage2 last sysfs file: /sys/devices/virtual/block/dm-0/removable 2009 Dec 3 15:01:10 storage2 Stack: 2009 Dec 3 15:01:10 storage2 Call Trace: 2009 Dec 3 15:01:10 storage2 Code: a0 31 c0 e8 e7 fe c6 e0 48 8b b3 58 01 00 00 48 c7 c7 4d b4 71 a0 31 c0 e8 d2 fe c6 e0 48 8b 83 58 01 00 00 48 c7 c7 5c b4 71 a0 <8b> b0 88 01 00 00 31 c0 e8 b7 fe c6 e0 0f 0b eb fe e8 3c 49 94 2009 Dec 3 15:01:10 storage2 CR2: 0000000000000188 Dec 3 15:01:10 storage2 kernel: conn ffff88003b6fe7b0 rd_task != current ffff880037dfbba0 (pid 24838) Dec 3 15:01:10 storage2 kernel: rd_state 200 Dec 3 15:01:10 storage2 kernel: rd_task (null) Dec 3 15:01:10 storage2 kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000188 Dec 3 15:01:10 storage2 kernel: IP: [<ffffffffa071497e>] iscsi_extracheck_is_rd_thread+0xbe/0xe0 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: PGD 37eb4067 PUD 3edb8067 PMD 0 Dec 3 15:01:10 storage2 kernel: Oops: 0000 [#1] PREEMPT SMP Dec 3 15:01:10 storage2 kernel: last sysfs file: /sys/devices/virtual/block/dm-0/removable Dec 3 15:01:10 storage2 kernel: CPU 0 Dec 3 15:01:10 storage2 kernel: Modules linked in: iscsi_scst scst_vdisk scst libcrc32c arcmsr crc32c frandom dm_mod e1000 pata_amd tg3 libphy ide_pci_generic ppdev parport_pc lp parport e100 mii fan container thermal processor button battery shpchp pci_hotplug pcspkr sg evdev amd74xx amd64_edac_mod edac_core ac i2c_nforce2 i2c_core ide_core k8temp 8021q bonding ipv6 rtc_cmos rtc_core rtc_lib sd_mod usb_storage ohci_hcd pata_acpi ehci_hcd floppy ata_generic sata_nv usbcore libata scsi_mod ext2 mbcache [last unloaded: scst] Dec 3 15:01:10 storage2 kernel: Pid: 24838, comm: iscsird1 Not tainted 2.6.31-ARCH #1 empty Dec 3 15:01:10 storage2 kernel: RIP: 0010:[<ffffffffa071497e>] [<ffffffffa071497e>] iscsi_extracheck_is_rd_thread+0xbe/0xe0 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: RSP: 0018:ffff880039d3bda0 EFLAGS: 00010282 Dec 3 15:01:10 storage2 kernel: RAX: 0000000000000000 RBX: ffff88003b6fe7b0 RCX: 0000000000000000 Dec 3 15:01:10 storage2 kernel: RDX: 0000000000000000 RSI: 0000000000000046 RDI: ffffffffa071b45c Dec 3 15:01:10 storage2 kernel: RBP: ffff88003b6fe290 R08: 0000000000000000 R09: ffffffff813c00e0 Dec 3 15:01:10 storage2 kernel: R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000 Dec 3 15:01:10 storage2 kernel: R13: ffff880039d3be54 R14: ffff88003f1cd9b8 R15: 0000000000000000 Dec 3 15:01:10 storage2 kernel: FS: 00007f156a75b700(0000) GS:ffff88000168f000(0000) knlGS:0000000000000000 Dec 3 15:01:10 storage2 kernel: CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b Dec 3 15:01:10 storage2 kernel: CR2: 0000000000000188 CR3: 000000003eec6000 CR4: 00000000000006f0 Dec 3 15:01:10 storage2 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Dec 3 15:01:10 storage2 kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Dec 3 15:01:10 storage2 kernel: Process iscsird1 (pid: 24838, threadinfo ffff880039d3a000, task ffff880037dfbba0) Dec 3 15:01:10 storage2 kernel: Stack: Dec 3 15:01:10 storage2 kernel: ffff880039ea53f0 00000000b8eb831f ffff88003b6fe520 ffffffffa070e9f9 Dec 3 15:01:10 storage2 kernel: <0> 0000000000000000 00000000b8eb831f ffff88003b6fe520 0000000000000000 Dec 3 15:01:10 storage2 kernel: <0> ffff88003b6fe520 ffffffffa070ed78 ffff880039d3be54 00000000b8eb831f Dec 3 15:01:10 storage2 kernel: Call Trace: Dec 3 15:01:10 storage2 kernel: [<ffffffffa070e9f9>] ? data_out_end+0x209/0x400 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: [<ffffffffa070ed78>] ? cmnd_rx_end+0x188/0x250 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: [<ffffffffa071246d>] ? process_read_io+0x3ad/0x6a0 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: [<ffffffffa071284a>] ? scst_do_job_rd+0xea/0x220 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: [<ffffffffa0712a74>] ? istrd+0xf4/0x2d0 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: [<ffffffff8104eb20>] ? default_wake_function+0x0/0x40 Dec 3 15:01:10 storage2 kernel: [<ffffffffa0712980>] ? istrd+0x0/0x2d0 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: [<ffffffff81079b96>] ? kthread+0xb6/0xc0 Dec 3 15:01:10 storage2 kernel: [<ffffffff8100d49a>] ? child_rip+0xa/0x20 Dec 3 15:01:10 storage2 kernel: [<ffffffff81079ae0>] ? kthread+0x0/0xc0 Dec 3 15:01:10 storage2 kernel: [<ffffffff8100d490>] ? child_rip+0x0/0x20 Dec 3 15:01:10 storage2 kernel: Code: a0 31 c0 e8 e7 fe c6 e0 48 8b b3 58 01 00 00 48 c7 c7 4d b4 71 a0 31 c0 e8 d2 fe c6 e0 48 8b 83 58 01 00 00 48 c7 c7 5c b4 71 a0 <8b> b0 88 01 00 00 31 c0 e8 b7 fe c6 e0 0f 0b eb fe e8 3c 49 94 Dec 3 15:01:10 storage2 kernel: RIP [<ffffffffa071497e>] iscsi_extracheck_is_rd_thread+0xbe/0xe0 [iscsi_scst] Dec 3 15:01:10 storage2 kernel: RSP <ffff880039d3bda0> Dec 3 15:01:10 storage2 kernel: CR2: 0000000000000188 Dec 3 15:01:10 storage2 kernel: ---[ end trace 1bfe508fd6c75237 ]--- |