lkml.org 
[lkml]   [2001]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.045 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site