Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32853

[Azure][RHEL-9][UKI] /var/log/messages shows failure mounting sg device

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-9.6
    • rhel-9.5
    • dracut
    • Normal
    • sst_cs_plumbers
    • ssg_core_services
    • 26
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None

      What were you trying to do that didn't work?

      Boot a CVM on Azure with UKI. There's a failure message like below:
       
      ...
      Apr 11 06:44:58 localhost kernel: sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
      Apr 11 06:44:58 localhost kernel: sda: sda1 sda2 sda3
      Apr 11 06:44:58 localhost kernel: sd 1:0:0:0: [sda] Attached SCSI disk
      Apr 11 06:44:58 localhost systemd-udevd[308]: 1:0:0:2: Process '/sbin/modprobe -bv sg' failed with exit code 1.
      Apr 11 06:44:58 localhost systemd-udevd[308]: 1:0:0:0: Process '/sbin/modprobe -bv sg' failed with exit code 1.
      Apr 11 06:44:58 localhost systemd[1]: Found device Virtual_Disk 3.
      Apr 11 06:44:58 localhost systemd[1]: Reached target Initrd Root Device.
      Apr 11 06:44:58 localhost systemd[1]: Starting File System Check on /dev/gpt-auto-root...
      ...
       
      But the sg device is eventually mounted fine later on:
      ...
      Apr 11 06:45:06 localhost kernel: hv_vmbus: registering driver hv_netvsc
      Apr 11 06:45:06 localhost kernel: hv_netvsc 000d3a8d-bd4c-000d-3a8d-bd4c000d3a8d (unnamed net_device) (uninitialized): SR-IOV not advertised by guests on the host supporting isolation
      Apr 11 06:45:06 localhost kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
      Apr 11 06:45:06 localhost kernel: sr 1:0:0:2: Attached scsi generic sg1 type 5
      Apr 11 06:45:06 localhost systemd[1]: Condition check resulted in Virtual_Disk EFI\x20System\x20Partition being skipped.
      Apr 11 06:45:06 localhost systemd[1]: Starting File System Check on /dev/disk/by-uuid/1053-6FCC...
      ...
       

      1. ls /dev/sg*
        /dev/sg0  /dev/sg1
         
        In other words, there's no functionalities affected at this point. And there's no such issue with ordinary kernel (non-UKI). 

        Please provide the package NVR for which bug is seen:

        kernel 5.14.0-436.el9.x86_64
        systemd-udev 252-28.el9

        How reproducible:

        100%

        Steps to reproduce

      2. grep failed /var/log/messages

        Expected results

        No such failure message

        Actual results

            pvalena@redhat.com Pavel Valena
            litian@redhat.com Li Tian
            dracut maint mailing list dracut maint mailing list
            Li Tian Li Tian
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: