Using strace on the above command revealed the ioctl call that was throwing the error, and as luck would have it this turned out to have been seen by one or two other people that had noted it somewhere that Google could catalogue. The salient comment was from none other than Mark Lord, who not only happens to be "The IDE Guy" but also the guy who build the excellent Hijack Kernel for the Empeg Car and Rio Car players. He asked if the correct kernel module had been loaded for the IDE interface.
I spent some time digging around in lspci and dmesg to
find out what driver was being loaded, and if there was one for the PATA
device that runs the NEC DVD drive (as opposed to the SATA hard disk, which
is using the correct PIIX driver). But I didn't have much luck. I'm not
even really sure that this is the correct line of investigation; but it's
all I have to go on at the moment. According to
documentation on the 945PM chipset, the 82801GBM provides one PATA
channel and two SATA channels on the same chip. Given that information,
and the fact that the DVD drive is coming up as /dev/hdc rather
than /dev/sdc, I don't think I need to
warranty open the case up and looking at the cables to determine
that it's a PATA drive.
I still need to find out whether the correct driver is being used for the PATA interface. But how?
All posts licensed under the CC-BY-NC license. Author Paul Wayper.