Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #88411 > unrolled thread
| Started by | Trupti <trupti@linux.ibm.com> |
|---|---|
| First post | 2025-07-15 11:00 +0200 |
| Last post | 2025-07-15 11:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [Pkg-libvirt-maintainers] Bug#1107536: PPC64LE: Device hotplug/unplug requires guest reboot Trupti <trupti@linux.ibm.com> - 2025-07-15 11:00 +0200
Re: [Pkg-libvirt-maintainers] Bug#1107536: PPC64LE: Device hotplug/unplug requires guest reboot Bastian Blank <waldi@debian.org> - 2025-07-15 11:20 +0200
| From | Trupti <trupti@linux.ibm.com> |
|---|---|
| Date | 2025-07-15 11:00 +0200 |
| Subject | Re: [Pkg-libvirt-maintainers] Bug#1107536: PPC64LE: Device hotplug/unplug requires guest reboot |
| Message-ID | <L8JG1-9pY-5@gated-at.bofh.it> |
On 2025-06-20 23:59, Andrea Bolognani wrote: > On Wed, Jun 18, 2025 at 01:58:39AM +0530, Trupti wrote: >> On 2025-06-10 12:29, Trupti wrote: >> > On 2025-06-09 23:38, Andrea Bolognani wrote: >> > > Honestly this sounds like a guest OS issue rather than a bug in >> > > libvirt. Is any message produced in dmesg/journal as a consequence of >> > > the hotplug operation? >> > >> > The guest dmesg shows the RTAS hot-plug signal, but no further messages >> > appear. >> >> Hello, >> >> I have a key update from further testing. >> >> Libvirt appears to be working correctly, as the VM's live XML is >> updated >> immediately after an attach-interface command. >> >> The main finding comes from the guest kernel log. It reveals that both >> attach-interface and detach-interface cause the guest to receive the >> exact >> same signal: RTAS Hotplug Event (229). >> >> Receiving the same signal for both adding and removing a device is the >> probable cause of the hotplug failure. > > More evidence that the issue is on the guest OS side, not the libvirt > side. I'm strongly inclined to close this bug at this point. Let me > know if you disagree, otherwise I'll go ahead. > > Did you try using the virtio model? You didn't clarify whether this > additional testing is still happening with rtl8139, which I wouldn't > necessarily expect to work correctly for ppc64le. Thank you for your observations. You were absolutely right in suggesting earlier that the issue could be on the guest OS side. Based on internal discussions and validation across various distributions with similar configurations, I can confirm that the root cause lies in the guest kernel and not in libvirt. Specifically, the guest kernel was expecting the device tree property ibm,drc-info for PCI hotplug support, but in this case, only the older property ibm,drc-indexes was present. Since ibm,drc-info was missing, the kernel failed to handle the hotplug operation correctly. This upstream patch fixes the issue by allowing the kernel to use ibm,drc-indexes when ibm,drc-info is not found: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=41a1452759a8b1121df9cf7310acf31d766ba70b I’ll loop in the Debian kernel team to check if this patch can be considered for inclusion in the Trixie kernel. I’ll also test the patch and share results once available. I’ll also validate the virtio model setup and update accordingly. Thanks, Trupti.
[toc] | [next] | [standalone]
| From | Bastian Blank <waldi@debian.org> |
|---|---|
| Date | 2025-07-15 11:20 +0200 |
| Message-ID | <L8JPH-9KQ-1@gated-at.bofh.it> |
| In reply to | #88411 |
On Tue, Jul 15, 2025 at 02:03:13PM +0530, Trupti wrote: > I’ll loop in the Debian kernel team to check if this patch can be considered > for inclusion in the Trixie kernel. I’ll also test the patch and share > results once available. Send it to stable@ please. Bastian -- Death, when unnecessary, is a tragic thing. -- Flint, "Requiem for Methuselah", stardate 5843.7
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web