Skip to contentSkip to conversation

New: VMWare LVM partitions not recognized, sees base disk, fails to Boot

Bug 215353 [email protected] 3 participants 13 messages Dec 17, 2021 – Feb 1, 2022 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=215353

            Bug ID: 215353
           Summary: VMWare LVM partitions not recognized, sees base disk,
                    fails to Boot
           Product: SCSI Drivers
           Version: 2.5
    Kernel Version: 5.4.126+
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DC395X
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hello,

VMWare LVM partitions are not recognized by the 5.4.126+ LT kernels; it sees the base /dev/sda disk, but thats its, stalls, fails to Boot trying to access "/dev/mapper/...."

Kernels 5.4.125 and prior DO WORK, but 5.4.126+ DO NOT.

I have been able to isolate the kernel failing to commit "1e209effe36cbf0a939844bcf9defd3fe1e2f593" in LT kernel 5.4.126.

[And Yes the "rd.lvm.lv=" and VG/LV names match the grub line (ie. lvs -o vg_name,lv_name)]

So commit "1e209effe36cbf0a939844bcf9defd3fe1e2f593" BREAKS kernel recognition of VMWare LVM partitions (but yes kernel DOES see /dev/sda but thats it).

This is on ESX 6.7.

Thanks

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

https://bugzilla.kernel.org/show_bug.cgi?id=215353

Rich Reamer ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|DC395X |Other

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #1 from Rich Reamer ([email protected]) --- Forgot to add other specs (if it helps) ...
Centos 7.9.2009 (though i dont think minor version matters) LVM 2.02.187

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #2 from Rich Reamer ([email protected]) ---
Update: Testing with Kernel 5.13.x (specifically 5.13.13) - Still fails to Pickup LVM partitions on /dev/sda (which is detected) in VMWare.

VM Container Specs: attached in screen print Where boot stops loading: attached in screen print

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

Re: [Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

Quoted 4 lines

Update: Testing with Kernel 5.13.x (specifically 5.13.13) - Still fails to Pickup LVM partitions on /dev/sda (which is detected) in VMWare.

5.13 is no longer supported. The fix was merged in 5.16:

142c779d05d1 ("scsi: vmw_pvscsi: Set residual data length conditionally")

and I believe it has been backported to all the currently supported stable releases.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#5 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #3 from Rich Reamer ([email protected]) --- Created attachment 300289
--> https://bugzilla.kernel.org/attachment.cgi?id=300289&action=edit
vmware specs

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #4 from Rich Reamer ([email protected]) --- Created attachment 300290
--> https://bugzilla.kernel.org/attachment.cgi?id=300290&action=edit
boot failure

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

Rich Reamer ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|5.4.126+                    |5.4.126+ & 5.13.x+
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #5 from Martin K. Petersen ([email protected]) ---

Quoted 3 lines

Update: Testing with Kernel 5.13.x (specifically 5.13.13) - Still fails to Pickup LVM partitions on /dev/sda (which is detected) in VMWare.

5.13 is no longer supported. The fix was merged in 5.16:

142c779d05d1 ("scsi: vmw_pvscsi: Set residual data length conditionally")

and I believe it has been backported to all the currently supported stable releases.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #6 from Rich Reamer ([email protected]) ---
wow thanks - I will pull one down (after confirming the 142c779d05d1 buildin) and test!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #7 from Rich Reamer ([email protected]) ---
Yah, looks like 5.15.13, 5.10.90, 5.4.170, 4.19.224, 4.14.261 and likely other current LT kernels have this fix. Now to test, prolly tomorrow; maybe tonight excited about the fix!!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#11 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

Rich Reamer ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #8 from Rich Reamer ([email protected]) --- @Martin -- yah!! it works!! (testing kernel 5.15.13)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#12 lore raw

[Bug 215353] VMWare LVM partitions not recognized, sees base disk, fails to Boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215353

--- Comment #9 from Akemi Yagi ([email protected]) ---
This bug affects RHEL-9 (beta). A bug report submitted and being tracked:

https://bugzilla.redhat.com/show_bug.cgi?id=2048178

Unfortunately it was made private, so not visible publicly.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.