<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;"><br></div><div style="margin: 0;">That is kernel not support udf type ISO£¬maybe you can use software "UltraISO" change udf ISO to cdfs ISO, or modify you kernel source to support udf type ISO¡£</div><div style="margin: 0;"><span style="font-family: Arial; font-size: 14px;">So, I modify local kernel source to support udf type ISO.</span></div><div style="margin: 0;">By the way jsnbd's state also need to change "echo 1 > functions/mass_storage.usb0/lun.0/cdrom"</div><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><pre><br>At 2021-08-04 19:40:19, "i.kononenko" <i.kononenko@yadro.com> wrote:
>Troy,
>
>On 04.08.2021 06:17, Troy Lee wrote:
>> Hi Igor,
>>
>>> -----Original Message-----
>>> From: i.kononenko <i.kononenko@yadro.com>
>>> Sent: Wednesday, August 4, 2021 10:11 AM
>>> To: Troy Lee <troy_lee@aspeedtech.com>; Konstantin Klubnichkin
>>> <kitsok@yandex-team.ru>
>>> Cc: openbmc@lists.ozlabs.org
>>> Subject: Re: Installing Windows Server 2019 from a remotely mounted ISO
>>>
>>> Hello Troy,
>>>
>>> On 04.08.2021 04:50, Troy Lee wrote:
>>>> Hi Igor,
>>>>
>>>> Currently, the remote virtual media emulate the gadget driver as usb
>>> thumb drive instead of cd-rom.
>>>> Please have a look on my patch:
>>>> https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/42986
>>> Please note, the phosphor-misc:usb-ctrl have a way to specify mode
>>> usb|usb-ro|hdd|dvd which is useful to pick between both usb or cd-rom
>>> devices. Please, refer to the changes [1].
>>>
>> This looks very useful, good information to know.
>> Do frontend (web-vue/phosphor-webui) and backend (bmcweb) support it already?
>
>AFAIK, the bmcweb and WebUI don't support to specify Virtual Media type,
>but I have a number of patches that bring such features but there are not
>published yet.
>
>In the past, I have published a bmcweb patch for supports VM mode for the nbd-proxy,
>but the change was not framed properly and has been abandoned [1].
>
>>
>>> The implementation of usb-gadget:mass-storage has a many limitations
>>> about cd-rom:
>>> * Image size should not be significant then 2.1Gb,
>>> * Supports only CD-ROM profile
>>> That does following to failure of installing Windows-like OS, because without
>>> a number of DVD-ROM profile's features and correct SCSI-command
>>> handling(TOC/ATIP/PMA) a Windows OS can't load appropriate
>>> UDF-driver(iso-13346) and will stucks.
>>>
>>> Summary the mentioned in the current subject patchset should solve the
>>> described issue.
>>>
>> I'll give it a try, this might also solve our virtual media stress issues.
>>
>>>>
>>>> Thanks,
>>>> Troy Lee
>>>
>>> Links:
>>> * https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-misc/+/36499
>>>
>>>
>>> --
>>> Best regards,
>>>
>>> Igor Kononenko
>>
>> Thanks,
>> Troy Lee
>>
>
>Links:
>1 - https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/36475
>--
>Best regards,
>
>Igor Kononenko
</pre></div><br><br><span title="neteasefooter"><p> </p></span>