On Jul 09 2004, Alan Stern wrote: > On Thu, 8 Jul 2004, Rogério Brito wrote: > > I still haven't compiled the kernel with the 8 in the place of the 64, > > though. > > That will be the real test. But as long as actual_length <= 8, it should > work okay.
Now, I compiled the kernel with the array of size 8 instead of 64 and everything seems to be working fine. Thanks. Does this mean that this newer version (or something inspired in it) may be included in newer kernels? It is nice to save a few bytes also. :-) [The SCSI Errors] > The particular commands causing your problem are PREVENT-ALLOW MEDIUM > REMOVAL; they tell the drive to lock the medium in place or unlock it. > Your device probably doesn't have removable media though (that is, you > can't remove the storage medium from the drive the way one can with a Zip > drive), so naturally it doesn't understand. But those commands get sent > because the drive tells the computer that it _does_ have removable media > -- probably another bug in the drive. Errr... What a stupid device. Unfortunately, I didn't have a basis for knowing which drive to get when I got this one (almost exactly one year ago, on 5th of July). Not that I'd know what to buy today. :-) But as I'm quite short on money, I'll keep what I have right now. :-) > If you want, you can prevent Linux from sending those PREVENT-ALLOW > commands, which will prevent the error messages from appearing in your > log. Here's how to do it: At any time after the scsi_mod module has been > loaded and before you plug in the drive, run this command: > > echo 'Prolific:USB Flash Disk:0x80400' >/proc/scsi/device_info > > However this feature was only added very recently, and it probably won't > appear in the standard kernels until 2.6.8 comes out. Ok, thanks for seeing the logs and telling me the workaround. I'm looking forward for the 2.6.8 kernel, then. Talking about newer releases, would it be possible to have the patch with the larger array in time for 2.6.8? Thank you very much again, Rogério. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel