dsm_om_connsvc scewing up the CDROM

Greg Dickie greg at max-t.com
Fri Sep 22 16:33:42 CDT 2006


Hi,

  We've been having problems with some CDROM drives throwing errors like
"hda: lost interrupt" and then hda: cdrom_pc_intr: The drive appears
confused (ireason = 0x02)". The root cause of this appears to be a bug
in kernels > 2.6.13 in scsi_ioctl.c where they are specifying a timeout
in jiffies and not milliseconds (or vice versa) but we have found that
OMSA actually provokes the problem by sending the errant ioctl to the
CD. Specifically stracing dsm_om_connsvc shows this:
open("/dev/hda", O_RDONLY|O_NONBLOCK) = 23
ioctl(23, 0x30d, 0xa7dde6e0)            = 0
ioctl(23, CDROM_SEND_PACKET, 0xa7dde490) = -1 EIO (Input/output error)

Any idea why?

Thanks,
Greg



--
 
Greg Dickie
just a guy
Maximum Throughput



More information about the Linux-PowerEdge mailing list