https://bugzilla.novell.com/show_bug.cgi?id=358033
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358033#c7
Tejun Heo changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |teheo@novell.com
Status|NEEDINFO |ASSIGNED
Info Provider|teheo@novell.com |
--- Comment #7 from Tejun Heo 2008-05-23 05:54:01 MST ---
ioctl(4, SG_IO, {'S', SG_DXFER_NONE, cmd[6]=[1b, 00, 00, 00, 02, 00],
mx_sb_len=32, iovec_count=0, dxfer_len=0, timeout=8000, flags=0, status=00,
masked_status=00, sb[0]=[], host_status=0x4, driver_status=0, resid=0,
duration=0, info=0x1}) = 0
The SG_IO succeeded with host_status=0x4 which is DID_BAD_TARGET meaning that
there was no such device. SG_IO completion status is weird but still well
defined. You'll need to check both host_status, driver_status and status to
determine that a command actually succeeded.
Please take a look at http://sg.torque.net/sg/sg_io.html and
include/scsi/scsi.h for details.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.