linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] scsi: vmw_pvscsi: got a warning when failing at probe
@ 2022-05-21 14:04 Zheyu Ma
  0 siblings, 0 replies; only message in thread
From: Zheyu Ma @ 2022-05-21 14:04 UTC (permalink / raw)
  To: vbhakta, pv-drivers, jejb, Martin K. Petersen
  Cc: linux-scsi, Linux Kernel Mailing List

Hello,

I found a bug in the vmw_pvscsi driver.
When the driver fails to allocate the host, I get the following warning:

[   22.759652] VMware PVSCSI driver - version 1.0.7.0-k
[   22.766883] vmw_pvscsi: using 64bit dma
[   22.767357] vmw_pvscsi 0000:00:05.0: vmw_pvscsi: PVSCSI_CMD_CONFIG
failed. hostStatus = 0x1a, scsiStatus = 0x2
[   22.767859] vmw_pvscsi: max_id: 16
[   22.768029] vmw_pvscsi: setting ring_pages to 8
[   22.768263] vmw_pvscsi: failed to allocate host
[   22.768491] ------------[ cut here ]------------
[   22.768767] Trying to free already-free IRQ 21
[   22.769001] WARNING: CPU: 0 PID: 336 at kernel/irq/manage.c:1861
free_irq+0x3a4/0x7c0
[   22.771363] RIP: 0010:free_irq+0x3a4/0x7c0
[   22.775533] Call Trace:
[   22.775662]  <TASK>
[   22.775780]  pvscsi_shutdown_intr+0x50/0x70 [vmw_pvscsi]
[   22.776053]  pvscsi_probe+0x2b3/0xe50 [vmw_pvscsi]

The driver's error handling code should be refined.

Zheyu Ma

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-21 14:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-21 14:04 [BUG] scsi: vmw_pvscsi: got a warning when failing at probe Zheyu Ma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).