During port disable operations "SG_IO" ioctl sent on device gets stuck in kernel and never returns causing system hang.
Issue
-
SG_IO ioctl gets stuck in kernel. Steps to Reproduce:
Have a thread running SG_IO ioctl to devices
disable/enable ports in loop
sometimes it causes SG_IO to get stuck -
When the qla2xxx driver loses access to multiple, remote ports, there is a race condition which can occur which will keep the request stuck on a scsi request queue indefinitely.
Environment
- Red Hat Enterprise Linux 6
- kernel-2.6.32-220.el6.x86_64
- qla2xxx driver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
