On Thu, 16 Sep 2004, J�rgen Heinrich wrote:

> Hallo!
> 
> I am using Linux kernel 2.6.8.1 and 2.6.9-rc2.
> Results are the same with both kernels.
> 
> I got a couple of USB 2.0 cards besed on ALi's M5273 chip.
> With the ohci-hcd module (as USB 1.1) they work very well, no probs.
> 
> But with the ehci-hcd module (as USB 2.0) they give me a lot of trouble:
> 
> To get mass storage devices working at all, I need to change the file
> scsiglue.c from the usb-storage module.
> I changed the .max_sectors entry from 240 to 128.
> For Genesys devices (the one with Genesys GL811E chip) it is much worse,
> I need to change from 128 sectors to 64 (like it's already done in 
> kernel 2.6.9-rc2).
> 
> But even with this changes, it is only possible to operate one device at 
> a time.
> When I transfer data from my 1st USB hard disk, and then while working,
> switch my 2nd USB disk on, it screw up my 1st.
> And also when both USB disks are already on, I can not use both at the same
> time.
> 
> I get tons of this in my /var/log/syslog:
> 
> Sep 16 10:32:23 ws-06 kernel: SCSI error : <4 0 0 0> return code = 0x70000
> Sep 16 10:32:23 ws-06 kernel: end_request: I/O error, dev sda, sector 528832
> Sep 16 10:32:23 ws-06 kernel: Buffer I/O error on device sda, logical 
> block 66104
> Sep 16 10:32:23 ws-06 kernel: SCSI error : <4 0 0 0> return code = 0x70000
> Sep 16 10:32:23 ws-06 kernel: end_request: I/O error, dev sda, sector 528840
> Sep 16 10:32:23 ws-06 kernel: Buffer I/O error on device sda, logical 
> block 66105
> Sep 16 10:32:23 ws-06 kernel: SCSI error : <4 0 0 0> return code = 0x70000
> Sep 16 10:32:23 ws-06 kernel: end_request: I/O error, dev sda, sector 528400
> Sep 16 10:32:23 ws-06 kernel: Buffer I/O error on device sda, logical 
> block 66050

Those messages mean only that an error has occurred; they contain no 
information about what sort of error it was.

If you turn on the usb-storage verbose debugging option in the kernel 
configuration you'll get a lot of more informative messages in the log, 
showing just what is happening.  (You may also have to edit 
/etc/syslog.conf to make syslogd store debug-level kernel messages.)

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to