Differences between iscsi and gscsi

Roman Rakus rrakus at redhat.com
Wed Feb 3 07:25:49 EST 2010


Hi,
is there any differences between iscsi and gscsi devices (like defined 
in of dev path)? There is one system with /chosen/bootpath = 
/lhea at 23c00100/ethernet at 23e00100:iscsi,itname=iqn.2008-05.com.test241:01,ciaddr=10.0.0.241,giaddr=10.0.0.1,subnet-mask=255.255.255.0,siaddr=10.0.0.22,iport=3260,iname=iqn.1992-08.com.netapp:sn.84183797,ilun=0

so parse_device_path() function will reset boot-device to 
/chosen/nas-bootdevice = 
/vdevice/gscsi:dev=bootpath,iscsi,rawio,itname=iqn.2008-05.com.test241:01,ciaddr=10.0.0.241,giaddr=10.0.0.1,subnet-mask=255.255.255.0,siaddr=10.0.0.22,iport=3260,iname=iqn.1992-08.com.netapp:sn.84183797,ilun=0,0/disk at 0

There is `gscsi' substring and `:sn.84183797,ilun=0,0/disk at 0' endings. 
parse_device_path() function will parse it and remove the endings. Is it 
right behaviour? I guess the endings shouldn't be removed. Maybe we can 
change TOK_ISCSI (which is "iscsi") to TOK_SCSI (which will be "scsi"). 
But, I'm not much familiar with scsi devices booting...

RR


More information about the Yaboot-devel mailing list