Messages in this thread |  | | From | "Sam Varshavchik" <> | Date | Mon, 17 Sep 2001 22:29:42 GMT |
| |
Joseph Cheek writes:
> looks good, right? but i put a disk in and i get: > > Sep 17 14:36:23 seattle kernel: ide-floppy: hdd: I/O error, pc = 0, key = > 2, asc = 30, ascq = 0 > Sep 17 14:36:23 seattle kernel: ide-floppy: hdd: I/O error, pc = 1b, key = > 2, asc = 30, ascq = 0 > Sep 17 14:36:23 seattle kernel: hdd: No disk in drive > > not hardware, as it works in windows on the same machine. > > any ideas?
The first packet is TEST_UNIT_READY, the second packet is START_STOP_UNIT. asc 30/asq 0 decodes to "Incompatible medium installed". Doesn't sound too promising...
Looking through the driver, it will not fail to open if either of these packets fail. The driver open will fail if it can't decode the subsequent READ_FORMAT_CAPACITIES packet. Try to enabling debugging by initializing the IDEFLOPPY_DEBUG macro. Also, the output of hdparm -i would be useful.
-- Sam
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |