Matthew Dharm said:
> On Mon, Feb 13, 2006 at 08:48:13AM -0700, Dwight Tovey wrote:
>> Matthew Dharm said:
>> > You could also add an inter-command delay (similar to what the code
>> does for Genesys logic devices).
>>
>> Could you expand on this idea?  I assume that you mean adding a delay
>> between SCSI commands?  Could you point me to the code for this?  It's
>> been a long time since I've had to do any real kernel hacking, and
>> that was for networking code in AIX, not Linux.  Any pointers would be
>> greatly appreciated.
>
> Look in drivesr/usb/transport.c for the constant USB_VENDOR_ID_GENESYS
> -- it should appear once in that file as part of an if() test for a
> udelay(). As a quick test, just make the udelay() unconditional.
>

Thanks Matt.  Found it.  Unfortunatly, that doesn't seem to work either. 
I even doubled the udelay amount to 220 and tried again.  Still failed. 
After partitioning, running 'mke2fs -j' and mounting, almost as soon as I
started to copy the file I get:
============================8<----------------------------
ext3_abort called.
EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
EXT3-fs error (device sda1): read_block_bitmap: Cannot read block bitmap -
block_group = 1, block_bitmap = 32770
EXT3-fs error (device sda1) in ext3_prepare_write: IO failure
EXT3-fs error (device sda1) in start_transaction: Journal has aborted
cp: writing `/backup/kernels': Input/output error
============================8<----------------------------

and in /var/log/messages I get:
============================8<----------------------------
kernel: Device offlined - not ready after error recovery: host 4 channel 0
id 0 lun 0
kernel: SCSI error : <4 0 0 0> return code = 0x70000
kernel: SCSI error : <4 0 0 0> return code = 0x10000
last message repeated 5 times
============================8<----------------------------

I have one of our engineers looking at taking us back to the 2.4 kernel
for now, but I'm really hoping that we can find a way to make the 2.6
kernel work for us.  We are going to have to have 2.6 for some other
projects, and I really don't want to have to support two different kernels
if I can avoid it.

Thanks for your help.  If you have any other suggestions, please let me know.

    /dwight
-- 
Dwight N. Tovey
Director of Product Engineering
EmergeCore Networks
email: [EMAIL PROTECTED]






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to