Control: reassign -1 tgt

On Mon, Feb 12, 2024 at 02:21:42PM +0100, Felix wrote:
> I search for the target via iscsiadm and log in. The optical drive is 
> recognized and initialized, see dmesg:
> 
> [ 6204.436754] scsi host0: iSCSI Initiator over TCP/IP
> [ 6204.452976] scsi 0:0:0:0: RAID              IET      Controller       0001 
> PQ: 0 ANSI: 5
> [ 6204.483159] scsi 0:0:0:0: Attached scsi generic sg0 type 12
> [ 6204.486988] scsi 0:0:0:1: CD-ROM            NECVMWar VMware SATA CD00 1.00 
> PQ: 0 ANSI: 5
> [ 6204.534459] sr 0:0:0:1: [sr0] scsi-1 drive
> [ 6204.598759] sr 0:0:0:1: Attached scsi CD-ROM sr0
> [ 6204.598905] sr 0:0:0:1: Attached scsi generic sg1 type 5
> [ 6208.550055] sr 0:0:0:1: [sr0] tag#96 FAILED Result: hostbyte=DID_OK 
> driverbyte=DRIVER_OK cmd_age=0s
> [ 6208.550064] sr 0:0:0:1: [sr0] tag#96 Sense Key : Hardware Error [current]
> [ 6208.550067] sr 0:0:0:1: [sr0] tag#96 Add. Sense: Internal target failure
> [ 6208.550071] sr 0:0:0:1: [sr0] tag#96 CDB: Read(10) 28 00 00 00 00 82 00 00 
> 7e 00
> [ 6208.550073] critical target error, dev sr0, sector 520 op 0x0:(READ) flags 
> 0x80700 phys_seg 63 prio class 2
> [ 6208.763308] sr 0:0:0:1: [sr0] tag#96 FAILED Result: hostbyte=DID_OK 
> driverbyte=DRIVER_OK cmd_age=0s
> [ 6208.763316] sr 0:0:0:1: [sr0] tag#96 Sense Key : Hardware Error [current]
> [ 6208.763319] sr 0:0:0:1: [sr0] tag#96 Add. Sense: Internal target failure
> [ 6208.763322] sr 0:0:0:1: [sr0] tag#96 CDB: Read(10) 28 00 01 65 d3 00 00 00 
> 80 00
> [ 6208.763324] critical target error, dev sr0, sector 93801472 op 0x0:(READ) 
> flags 0x80700 phys_seg 64 prio class 2
> [ 6212.108642] sr 0:0:0:1: [sr0] tag#98 FAILED Result: hostbyte=DID_OK 
> driverbyte=DRIVER_OK cmd_age=0s
> [ 6212.108650] sr 0:0:0:1: [sr0] tag#98 Sense Key : Hardware Error [current]
> [ 6212.108653] sr 0:0:0:1: [sr0] tag#98 Add. Sense: Internal target failure
> [ 6212.108656] sr 0:0:0:1: [sr0] tag#98 CDB: Read(10) 28 00 01 65 d3 80 00 00 
> 80 00
> [ 6212.108658] critical target error, dev sr0, sector 93801984 op 0x0:(READ) 
> flags 0x80700 phys_seg 64 prio class 2

Okay, but this is not a bug in open-iscsi, which is not involved 
with the actual iSCSI data plane. This is either a bug in your iSCSI 
target or the kernel.

You said you are using `tgt`, so I'm reassigning there for now. 
Could also try LIO instead and see if that works better.

Best,
Chris

Reply via email to