ide driver loses flash

Dan Ritter dsr-mzpnVDyJpH4k7aNtvndDlA at public.gmane.org
Mon Jan 11 19:33:42 EST 2010


On Mon, Jan 11, 2010 at 06:18:57PM -0500, R. Luoma wrote:
> I have a system that runs off a RAM "disk" that occasionally
> mounts a flash drive for reading and writing
> and, when finished, unmounts the flash.
> 
> Every so often, the flash drive seems to disappear
> and I cannot remount the flash partitions.
> 
> dmesg gives messages like:
> 
> > hda: status timeout: status=0xd0 { Busy }
> 
> > hda: no DRQ after issuing WRITE
> > ide0: reset: master: error (0x00?)
> > hda: status error: status=0x08 { DataRequest }
> 
> > hda: drive not ready for command
> > hda: status error: status=0x00 { }
> 
> I can reboot the system and then access the flash again,
> but rebooting is a rather drastic option for several reasons.
> 
> Can anyone suggests what might be going wrong
> and how to fix it?

Looks like you need to rescan the ide0 bus.

man hdparm; look at -w and -U/-R. 


-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.





More information about the Discuss mailing list