Re: [linux-usb-devel] Freecom USB Drive

2003-03-31 Thread Alan Stern
On Sat, 29 Mar 2003, Michael Vetter wrote:

 Hello, 
 got a Problem with my USB Harddisk. It is an Freecom USB 2.0 Chassis wiht a Maxtor 
 Harddisk in. First, my Suse 8.1 at my primary Computer doesn't found anything, but 
 then, when I installed the 2.4.20 Matel KErnel optimized for AMD CPUs it got to run. 
 Now I want to run it at my Laptop, but the same Problem. And after installing the 
 Mantel default Kernel 2.4.20 (it is an Intel P3) the Problem wasn't fixed. Can you 
 help me, I got your E-Mail by a German Newsgroup!
 
 greetings Michael Vetter.
 
 PS.: I have attached the /proc/bus/usb/devices and the /proc/scsi/scsi files!


Try compiling your kernel with usb-storage debugging turned on, and post a 
copy of your kernel log with the debugging messages.  That will help to 
pinpoint where the problem occurs.

Alan Stern



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.4.21-pre6

2003-03-31 Thread Greg KH
On Sat, Mar 29, 2003 at 11:21:52AM -0600, John Goerzen wrote:
 
 However, I notice that I still am having trouble mouting my memory
 stick from a Clie NX-70V.  In case you're not aware, that PDA has a
 USB interface and an application that lets an inserted memory stick
 appear as a USB storage device, similar to a memory stick reader.

Mind entering this info into a bug report at bugzilla.kernel.org?  Then
I can assign it to the usb-storage author and maintainer :)

thanks,

greg k-h


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] 2.4.21-pre5 kernel Oops, USB related

2003-03-31 Thread flexy
Hi,

First, this seems to be a reproducible oops. Second, the kernel oops 
messages, ksymoops outputs and some other stuff I thought might be of 
use, can be found at

http://stekt.oulu.fi/~flexy/Oops.tar

Then, about my hardware,

Epox M762A SMP board with AMD-760MPX chipset
2*MP1600+, NOT overclocked
512MB Crucial ECC memory, Correct+Scrub set [EMAIL PROTECTED]
Intel PRO/1000MT 1Gb NIC
Intel build in 100Mb NIC
S3 PCI display adapter
Adaptec ATA RAID 2400A, with 4 disks at raid5
HP PSC750 (USB)
In the Oops.tar, there is two directories, 1 and 2. In directory 1, 
there is a Oops with this hardware and in 2, there is Oops with onboard 
USB hub disabled from bios and PCI USB adapter in use. I don't know the 
exact type of the adapter, but it came with MSI K7 Master-L motherboard, 
allmost the same motherboard as this Epox. And it seems to use the same 
driver.

Thanks in advance,
Flexy
P.S. I am much more of a HW person, so I propably missed something... 
I'm happy to provide any more information to help to solve this 
problem. Just let me know what. :)

P.P.S. When responding to this mail in any way, please don't drop me out 
of the loop, put [EMAIL PROTECTED] to CC: list :)



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.4.21-pre6

2003-03-31 Thread John Goerzen
On Mon, Mar 31, 2003 at 09:28:46AM -0800, Greg KH wrote:
 On Sat, Mar 29, 2003 at 11:21:52AM -0600, John Goerzen wrote:
 Mind entering this info into a bug report at bugzilla.kernel.org?  Then
 I can assign it to the usb-storage author and maintainer :)

I have submitted bug #526 with this info.  Also, you might note I tried
adding new lines to unusual_devs.h using the info from an earlier Clie
model, but this did not help.

Unfortunately, with 2.5.x, I can't see any USB devices at all on this
machine, so I'm stuck troubleshooting with 2.4.x.  2.5.x won't even boot on
my x86, so I'm really stuck  with 2.4.x :-)  However, please note that I
have used your backported patches.

Thanks,
John Goerzen


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: [BK PATCH] USB changes for 2.4.21-pre6

2003-03-31 Thread John Goerzen
Greg KH [EMAIL PROTECTED] writes:

 Mind entering this info into a bug report at bugzilla.kernel.org?  Then
 I can assign it to the usb-storage author and maintainer :)

Interestingly, I have finally coerced 2.5.66 to boot and I can report
that I *can* access this device on 2.5 with no problem.  Therefore,
there seems to be some non-backported fix for 2.4.  I looked and did
not see any entry in unusual_devs.h in 2.5 for this device, though, so
I'm at a loss as to where that change may be (note that I'm not a USB
hacker by any means).

-- John



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] 2.4.21-pre5 kernel Oops, USB related

2003-03-31 Thread David Brownell
[EMAIL PROTECTED] wrote:
First, this seems to be a reproducible oops. Second, the kernel oops 
messages, ksymoops outputs and some other stuff I thought might be of 
use, can be found at
What's this ptal-mlcd thing?  Whatever it's doing seems to be
triggering the problem.  The ksymoops info is at least partially
corrupted ... maybe it'd be better to link the relevant USB
drivers statically, like you did with usbcore and the host
controller driver(s).
Given that the second oops you sent included an error report
from the usb printer driver, my initial suspicion would be
that ptal-mlcd made the printer driver do something illegal
which then caused the oops ... like by passing bogus info down
to the host controller driver.
A better bug report would describe what you were doing at
the time of the oops, what had just been done (unplug?),
and include ksymoops information that's a it more complete.
In fact, you might try compiling with USB debug info enabled,
and send the information along that shows what the printer
driver was doing before this oops happened.
- Dave



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.4.21-pre6

2003-03-31 Thread John Goerzen
On Mon, Mar 31, 2003 at 09:28:46AM -0800, Greg KH wrote:
  However, I notice that I still am having trouble mouting my memory
  stick from a Clie NX-70V.  In case you're not aware, that PDA has a
  USB interface and an application that lets an inserted memory stick
  appear as a USB storage device, similar to a memory stick reader.
 
 Mind entering this info into a bug report at bugzilla.kernel.org?  Then
 I can assign it to the usb-storage author and maintainer :)

Ah ha.  Will do.  I went to the SourceForge page for the USB project
intending to submit a bug there, but there was no bug spot for that project,
so I guess I gave up too soon.

-- John


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: [BK PATCH] USB changes for 2.4.21-pre6

2003-03-31 Thread John Goerzen
Greg KH [EMAIL PROTECTED] writes:

 On Sat, Mar 29, 2003 at 11:21:52AM -0600, John Goerzen wrote:
 Mind entering this info into a bug report at bugzilla.kernel.org?  Then
 I can assign it to the usb-storage author and maintainer :)

Is there any other appropriate place for this given that this is a
2.4.x bug?



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] 2.4.21-pre5 kernel Oops, USB related

2003-03-31 Thread Joshua Wise
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 What's this ptal-mlcd thing?  Whatever it's doing seems to be

ptal-mlcd is a usermode thingy that basically sends certain data down to
printers that support it (i.e. HP OfficeJets). Since it's usermode, I would
think that the kernel should have adequate protection to prevent something
from crashing the system like that...

- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote   | lilo I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+iMwUPn9tWOqA4LMRAuzaAJ98hb9sRwh1ypy5d1Op2Vbxvc+DQgCdHOTv
gJSDckxHemQhm7LyWRCvTU8=
=NYe2
-END PGP SIGNATURE-



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] 2.4.21-pre5 kernel Oops, USB related

2003-03-31 Thread David Brownell

What's this ptal-mlcd thing?  Whatever it's doing seems to be


ptal-mlcd is a usermode thingy that basically sends certain data down to
printers that support it (i.e. HP OfficeJets). Since it's usermode, I would
think that the kernel should have adequate protection to prevent something
from crashing the system like that...
One would hope so, yes.  Such checks belong at the interface to
usermode code.  That's why it'd be good to know what it's doing,
to help track down what's going on ... strace output might be
another help.




---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: [BK PATCH] USB changes for 2.4.21-pre6

2003-03-31 Thread John Goerzen
Matthew Dharm [EMAIL PROTECTED] writes:

 Can you use 'dd' to read data from the device?

No, it gives an I/O error as well.

However, I have good news.  The following simple patch fixes it for
me:

--- transport.c~2003-03-29 10:00:48.0 -0600
+++ transport.c 2003-03-31 17:03:51.0 -0600
@@ -631,6 +631,7 @@
 */
if (result == USB_STOR_TRANSPORT_ABORTED) {
US_DEBUGP(-- transport indicates command was aborted\n);
+   us-transport_reset(us);
srb-result = DID_ABORT  16;
return;
}

Now, this may well totally ruin things for everyone else.  I have no
other USB storage devices to test, so for me, it's very nice :-)

I stumbled across this after noticing the 2.5.x resets when
it gets an error, but 2.4.x does not.


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/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 Ego technology music disk MD100USB storage device (add PowerColor MUSICDISK too)

2003-03-31 Thread Chris Worley
[I didn't see this in the archives from Sunday; I apologize if this is a
repost; if there is a more appropriate place to post, please tell me]

On 2003-02-05 21:23:43 Peter 'p2' De Schrijver wrote:
 Hi,
 
 I'm trying to get the Ego Technology MD100 to work under linux. It's
 small MP3 player gadget which has 128MB of flash and a USB interface.
It
 identifies itself as a USB storage device. When I try to read from it
 under linux, the process doing the read just hangs. The device works
 under windows 2000 with the default windows USB storage driver. 
 I'm running the stock 2.4.20 linux kernel. 
 
 attached is the dmesg output, the output of /proc/bus/usb/devices and
 .config of the kernel.
 ...snip a few thousand lines...

Peter,

Did you ever get an answer?  Were you able to get this working?

I have the same device, although it's marketed differently (claiming
Linux 2.4.x compatibility!) as a PowerColor MD100 128MB Portable
Storage/Music DISK USB MP3 Player:

http://www.ateck.com/viewItem.asp?idProduct=453055232

From the vendor power-color.com:

http://www.power-color.com/html/md100.html

But, it has the same USB device/product ID's as yours (0x8341/0x2000).

Furthermore, I have the exact same problem.  I've tried it on 5
different Linux Boxes, ranging from SuSE 7.3 to 8.1 and RedHat 7.2 to
7.3.  The kernels range from 2.4.9 to 2.4.20; all have USB properly
installed and working for other devices, including other pen drives.

The SuSE based machines hang tight (need to power cycle) about a minute
after installation of the device.  On the RedHat machines, they see the
device, but any attempt to read the device (i.e. fdisk -l, dd
if=/dev/sda of=/dev/null, mount /dev/sda ...) locks up the process
and either the usb-storage or the sd_mod driver (I don't know which).

Peter's information, at:

 http://sourceforge.net/mailarchive/message.php?msg_id=3737890

...was much more in-depth, but I'll add:

/var/log/messages output:

Mar 29 11:13:03 localhost kernel: hub.c: USB new device connect on bus1/2, 
assigned device number 5
Mar 29 11:13:03 localhost kernel: usb.c: USB device 5 (vend/prod 0x8341/0x2000) is 
not claimed by any active driver.
Mar 29 11:13:03 localhost kernel: Initializing USB Mass Storage driver...
Mar 29 11:13:03 localhost kernel: usb.c: registered new driver usb-storage
Mar 29 11:13:03 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage 
devices
Mar 29 11:13:03 localhost kernel:   Vendor: MUSIC Model: DISK  
Rev: 1.00
Mar 29 11:13:03 localhost kernel:   Type:   Direct-Access  
ANSI SCSI revision: 02
Mar 29 11:13:03 localhost kernel: USB Mass Storage support registered.

/proc/bus/usb/devices output:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=e086f000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=8341 ProdID=2000 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms

/proc/scsi/scsi output:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: TOSHIBA  Model: DVD-ROM SD-C2502 Rev: 1313
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: MUSICModel: DISK Rev: 1.00
  Type:   Direct-AccessANSI SCSI revision: 02

/proc/partitions output (only /dev/sda* matter):

major minor  #blocks  name rio rmerge rsect ruse wio wmerge wsect wuse running 
use aveq

   8 0 128000 sda 0 0 0 0 0 0 0 0 0 0 0
   8 1 127728 sda1 0 0 0 0 0 0 0 0 0 0 0
   3 0   19535040 hda 5670 13237 148564 114750 2936 6672 76910 55650 0 72890 
170400
   3 1  48163 hda1 28 421 898 580 11 4 30 30 0 480 610
   3 2   18996862 hda2 5640 12816 147650 114100 2925 6668 76880 55620 0 72590 
169720
   3 3 489982 hda3 2 0 16 70 0 0 0 0 0 70 70

Any help would be appreciated!

Thanks,

Chris




---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
[EMAIL PROTECTED]
To unsubscribe, use the last form