Well, checking udev rules, its exactly what you said.

I guess we could change sg3 udev rules not to execute sg_inq --export
--inhex.... to /sys/block/$kernel/device/vpd_pg83 for SCSI devices and
that would be "enough" for this issue.

    --inhex=FN|-I FN    read ASCII hex from file FN instead of DEVICE;
                        if used with --raw then read binary from FN

Looks like sg_inq gets the VPD 0×83 page directly from in-cache sysfs
kernel file - from the initial device initialization made by kernel -
instead of submitting an I/O to the device like this:

$ sudo sg_vpd /dev/sdc
Supported VPD pages VPD page:
invalid VPD response; probably a STANDARD INQUIRY response
fetching VPD page failed: Malformed response

which would also give us an error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833618

Title:
  failing to deploy Ubuntu Disco

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1833618/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to