[linux-usb-devel] status of usb-ohci on cache incoherent systems

2003-07-27 Thread Matthias Fuchs
Hi,

I've read some older discussions in this list about USB problems
on cache incoherent systems (e.g. ARM, PPC).
What is the status on this? We are using the 2.4.21 linuxppc_2_4_devel tree from the
bitkeeper repository. This kernel still has problems with USB. At least some device 
drivers
habe problems (usbmouse, usb-storage).
Are there any current fixes or is anybody working on a general solution?

Matthias



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Problem with AIPTEK usb-pendrive

2003-07-25 Thread Matthias Fuchs
Hi,

it seems that our problem with the USB-pendrive is easy to explain,
but not difficult to solve:
We are using a ohci controller on a cache-incoherent system (IBM PowerPC 405).
This causes a lot of problems in the USB system during DMA'ing to non-cacheline-aligned
memory regions.
Matthias

--
-
_/_/_/_/   Matthias Fuchs
   _/_/_/_/   Dipl.-Ing.
  _/_/_/_/   [EMAIL PROTECTED]
  _/_/_/   _/_/_/_/_/_/_/  esd electronic system design gmbh
_/   _/  _/ _/Vahrenwalder Str. 207
   _/   _/_/_/_/   _/   _/   D-30165 Hannover
   _/ _/  _/   _/   Phone: +49-511-37298-0
_/_/_/_/_/_/_/   _/_/_/Fax:   +49-511-37298-68
-



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Problem with AIPTEK usb-pendrive

2003-06-13 Thread Matthias Fuchs
 abg405 syslog.warn klogd: Attached scsi removable disk sda at scsi0, 
channel 0, id 0, lun 0
Jan  1 00:41:41 abg405 syslog.warn klogd: SCSI device sda: 64000 512-byte hdwr sectors 
(33 MB)
Jan  1 00:41:41 abg405 syslog.warn klogd: sda: Write Protect is off
Jan  1 00:41:41 abg405 syslog.info klogd:  sda1
Jan  1 00:41:41 abg405 syslog.debug klogd: WARNING: USB Mass Storage data integrity 
not assured
Jan  1 00:41:41 abg405 syslog.debug klogd: USB Mass Storage device found at 2
Jan  1 00:41:41 abg405 syslog.debug klogd: usb.c: usb-storage driver claimed interface 
c1c66420
Jan  1 00:41:41 abg405 syslog.info klogd: USB Mass Storage support registered.
Any idea?

Matthias

--
-
_/_/_/_/   Matthias Fuchs
   _/_/_/_/   Dipl.-Ing.
  _/_/_/_/   [EMAIL PROTECTED]
  _/_/_/   _/_/_/_/_/_/_/  esd electronic system design gmbh
_/   _/  _/ _/Vahrenwalder Str. 207
   _/   _/_/_/_/   _/   _/   D-30165 Hannover
   _/ _/  _/   _/   Phone: +49-511-37298-0
_/_/_/_/_/_/_/   _/_/_/Fax:   +49-511-37298-68
-



---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Problem with AIPTEK usb-pendrive

2003-06-06 Thread Matthias Fuchs
 (Interrupt)
  wMaxPacketSize  = 0002
  bInterval   =   01
usb.c: kusbd: /sbin/hotplug add 2
usb.c: kusbd policy returned 0xfffe
usb.c: hub driver claimed interface c01b58e0
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffe
bash-2.05#


bash-2.05# modprobe usb-storage
Using /lib/modules/2.4.21-rc7/kernel/drivers/usb/storage/usb-storage.o
bash-2.05# dmesg -c
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: AIPTEKModel: Pen Disk  Rev: 2.08
  Type:   Direct-Access  ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 64000 512-byte hdwr sectors (33 MB)
sda: Write Protect is off
Partition check:
 sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface c01b59c0
USB Mass Storage support registered.
bash-2.05#
mount -t ext2 /dev/sda1 /mnt does not return

Any idea ?

Matthias

--
-
_/_/_/_/   Matthias Fuchs
   _/_/_/_/   Dipl.-Ing.
  _/_/_/_/   [EMAIL PROTECTED]
  _/_/_/   _/_/_/_/_/_/_/  esd electronic system design gmbh
_/   _/  _/ _/Vahrenwalder Str. 207
   _/   _/_/_/_/   _/   _/   D-30165 Hannover
   _/ _/  _/   _/   Phone: +49-511-37298-0
_/_/_/_/_/_/_/   _/_/_/Fax:   +49-511-37298-68
-



---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Problem with AIPTEK usb-pendrive

2003-06-06 Thread Matthias Fuchs
Hi Alan,

Alan Stern wrote:
Always run with usb-storage debugging turned on :-)
:-)

mount -t ext2 /dev/sda1 /mnt does not return
Have you tried mounting it read-only?  Also, can you tell where the mount 
process is hung?  Try Alt-SysRq-T (and make sure you have enabled the 
Magic SysRq key in your kernel).
Since my system is an embedded platform without keyboard, I can only post a strace 
output
from the mount command. As you can see, the call blocks in the open systemcall on the 
/dev/sda1 device.
When I interrupt the strace/mount with CTRL-C the open() call is interrupted 
unfinished.
Without strace the mount call cannot be interrupted by CTRL-C.
bash-2.05# strace /root/mount -t auto /dev/sda1 /mnt
execve(/root/mount, [/root/mount, -t, auto, /dev/sda1, /mnt], [/* 16 vars 
*/]) = 0
uname({sys=Linux, node=abg405, ...}) = 0
brk(0)  = 0x1002052c
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30014000
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/usr/lib/qt/lib/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory)
SYS_195(0x7fffee20, 0x7fffee48, 0x7fffee48, 0x30025a20, 0x75f8) = 0
open(/etc/ld.so.cache, O_RDONLY)  = -1 ENOENT (No such file or directory)
open(/lib/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\2N\230..., 1024) = 1024
SYS_197(0x3, 0x7110, 0x7110, 0x30014490, 0x30014000) = 0
mmap(0xfea6000, 1349728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfea6000
mprotect(0xffbe000, 202848, PROT_NONE)  = 0
mmap(0xffc6000, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 
0xffc6000
mmap(0xffeb000, 18528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 
0) =
0xffeb000
close(3)= 0
brk(0)  = 0x1002052c
brk(0x10020554) = 0x10020554
brk(0x10021000) = 0x10021000
open(/dev/null, O_RDWR|0x1)   = 3
close(3)= 0
getuid()= 0
geteuid()   = 0
SYS_196(0x1000d650, 0x7c88, 0x7c88, 0x1001e61c, 0) = -1 ENOENT (No such file 
or directory)
rt_sigaction(SIGHUP, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGILL, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGTRAP, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGABRT, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGKILL, {0x10005420, ~[], 0}, NULL, 8) = -1 EINVAL (Invalid argument)
rt_sigaction(SIGUSR1, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x1000545c, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x10005420, ~[], 0}, NULL, 8) = 0
rt_sigaction(SIGSTKFLT, {0x10005420, ~[], 0}, NULL, 8) = 0
getpid()= 88
open(/etc/mtab~88, O_WRONLY|O_CREAT|0x1, 0) = 3
close(3)= 0
link(/etc/mtab~88, /etc/mtab~)  = 0
unlink(/etc/mtab~88)  = 0
open(/etc/mtab~, O_WRONLY|0x1)= 3
SYS_204(0x3, 0xd, 0x7c78, 0, 0x1)   = 0
close(3)= 0
open(/etc/mtab, O_RDWR|O_APPEND|O_CREAT|0x1, 0666) = 3
SYS_197(0x3, 0x7a28, 0x7a28, 0, 0x2) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30015000
SYS_197(0x3, 0x7ac8, 0x7ac8, 0x1, 0x) = 0
_llseek(0x3, 0, 0, 0x7a98, 0)   = 0
open(/etc/fstab, O_RDONLY|0x1)= 4
SYS_197(0x4, 0x7ad8, 0x7ad8, 0xa, 0x1) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30016000
read(4, none\t\t/proc\t\tproc\t\tdefaults\t\t0  ..., 4096) = 406
read(4, , 4096)   = 0
close(4)= 0
munmap(0x30016000, 4096)= 0
fchmod(3, 0644) = 0
close(3)= 0
munmap(0x30015000, 4096)= 0
unlink(/etc/mtab~)= 0
SYS_195(0x7a98, 0x7b18, 0x7b18, 0xfefefeff, 0x1) = -1 ENOENT (No such file 
or
directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0
SYS_195(0x100206b0, 0x7fff7b18, 0x7fff7b18, 0, 0) = 0
open(/dev/sda1, O_RDONLY|0x1 unfinished ...
Any idea?
Matthias
--
-
_/_/_/_/   Matthias Fuchs
   _/_/_/_/   Dipl.-Ing.
  _/_/_/_/   [EMAIL PROTECTED]
  _/_/_/   _/_/_/_/_/_/_/  esd electronic system design gmbh