<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 02/05/2010 12:57 PM, Roman Rakus wrote:
<blockquote cite="mid:4B6C07AD.9010307@redhat.com" type="cite">On
02/03/2010 08:27 AM, Roman Rakus wrote:
<br>
<blockquote type="cite">On 02/03/2010 01:06 AM, Tony Breeds wrote:
<br>
<blockquote type="cite">On Tue, Feb 02, 2010 at 09:30:58PM +0100,
Roman Rakus wrote:
<br>
<br>
<blockquote type="cite">Or maybe we can add TOK_GSCSI and
corresponding tests.
<br>
</blockquote>
That seesm like a better approach to me.
<br>
<br>
I have to admit that I don't know what gscsi is. The only reference I
can
<br>
really find is in the linux IPR driver. and that's to "Generic Scsi"
<br>
<br>
Yours Tony
<br>
</blockquote>
Well, my apologize, now I have noticed that in the defdevice string:
/vdevice/gscsi:dev=bootpath,iscsi,rawio,itname=iqn.2008-05.com.elm3c241:01,ciaddr=9.47.69.241,giaddr=9.47.69.1,subnet-mask=255.255.255.0,siaddr=9.47.69.22,iport=3260,iname=iqn.1992-08.com.netapp:sn.84183797,ilun=0,0/disk@0
<br>
is `iscsi' substring. So the problem is elsewhere. I will try to figure
out why yaboot removes ending `:sn.84183797,ilun=0,0/disk@0' (I guess
it causes problems).
<br>
<br>
RR
<br>
_______________________________________________
<br>
Yaboot-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Yaboot-devel@lists.ozlabs.org">Yaboot-devel@lists.ozlabs.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.ozlabs.org/listinfo/yaboot-devel">https://lists.ozlabs.org/listinfo/yaboot-devel</a>
<br>
</blockquote>
<br>
Looks like the problem is in the prom_get_devtype() function. We find
there ISCSI token and then we check what type of device is
"/vdevice/gscsi/disk". From my fast check on one of the systems,
"/vdevice/gscsi/disk" is block device type, but prom_get_devtype()
function should returns iscsi device type. Or at least network device
type.
<br>
I'm not sure whether "/vdevice/gscsi/disk" is always block device. Can
anyone confirm, disconfirm or clarify it?
<br>
Following patch assumes "/vdevice/gscsi/disk" is always block device
and whether checking device path contains ISCSI token returns ISCSI
device type.
<br>
I have not done any tests. Can anyone test is please?
<br>
RR
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Yaboot-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Yaboot-devel@lists.ozlabs.org">Yaboot-devel@lists.ozlabs.org</a>
<a class="moz-txt-link-freetext" href="https://lists.ozlabs.org/listinfo/yaboot-devel">https://lists.ozlabs.org/listinfo/yaboot-devel</a>
</pre>
</blockquote>
<br>
Previous patch has a typo. Use this new one.<br>
RR<br>
</body>
</html>