Re: Nikon Coolpix 2000: "no medium found" w/ Linux 2.6.12
From: Georg J. Stach (VORNAME.j.NACHNAME_at_gmx.de)
Date: 10/27/05
- Next message: Moe Trin: "Re: How to pause startup messages running?"
- Previous message: John-Paul Stewart: "Re: How to pause startup messages running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Oct 2005 18:52:48 +0200
The problem can be solved by applying the following diff to sd.c:
-----------------------------------------------------------------------
--- sd.c Mon Nov 10 10:26:50 2003
+++ sd.c Sun Jan 4 15:30:59 2004
@@ -606,9 +606,13 @@
* by sd_spinup_disk() from sd_revalidate_disk(), which happens
whenever
* sd_revalidate() is called.
*/
+#if 0
retval = -ENODEV;
if
(scsi_block_when_processing_errors(sdp))
retval =
scsi_ioctl(sdp, SCSI_IOCTL_TES
T_UNIT_READY, NULL);
+#else
+ retval =
0;
+#endif
-----------------------------------------------------------------------
Unfortunately I don't know the source where I found this diff. Anyway, it's
not included in the current kernel sources of Linux 2.6.
Georg
- Next message: Moe Trin: "Re: How to pause startup messages running?"
- Previous message: John-Paul Stewart: "Re: How to pause startup messages running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|