Hi David, Hi all,

I applied the patch usb-ehci-2.4.20-pre11.patch recommend by david to 2.4.20-pre11, 
but not
with much luck:

I connect a "Argosy HD530 disc enclosure" with a standard 2.5 inch drive. Host is 
NEC-type
After connecting the drive I observe 2 process  to be in "D" and "DW" state:

 2412 ?        S      0:00 /bin/bash /etc/hotplug/usb.agent
 2413 ?        S      0:00 logger -t /etc/hotplug/usb.agent[2402]
 2430 ?        D      0:00 /sbin/modprobe -vs usb-storage
 2431 ?        SW     0:00 [usb-storage-0]
 2432 ?        DW     0:00 [scsi_eh_1]

The drive does not show up in /proc/scsi/scsi:

Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model:                  Rev:
  Type:   <NULL>                ANSI SCSI revision: ffffffff

and "usbview" becomes stuck.  Only rebooting does resolve the issue.

The /var/log/messages is at the bottom:

One strange observation:

The drive has the code 04CE/0002 and shows as "USB to IDE"/"USB to IDE"  whereas the 
file
unusual_dev.h tells:
UNUSUAL_DEV(  0x04ce, 0x0002, 0x0074, 0x0074,
                "ScanLogic",
                "SL11R-IDE",
                US_SC_SCSI, US_PR_BULK, NULL,
                US_FL_FIX_INQUIRY),

this sounds strange to me...

Any hints what I can try?

Regards
    Christian

------------------/var/log/messages----------------------------------
Oct 24 23:34:41 Mahrmaid syslogd 1.4.1: restart.
Oct 24 23:35:31 Mahrmaid kernel: hub.c: port 1, portstatus 100, change 0, 12 Mb/s
Oct 24 23:35:31 Mahrmaid kernel: ehci-hub.c: GetStatus port 2 status 001803 POWER sig=j
CSC CONNECT
Oct 24 23:35:31 Mahrmaid kernel: hub.c: port 2, portstatus 501, change 1, 480 Mb/s
Oct 24 23:35:31 Mahrmaid kernel: hub.c: port 2 connection change
Oct 24 23:35:31 Mahrmaid kernel: hub.c: port 2, portstatus 501, change 1, 480 Mb/s
Oct 24 23:35:31 Mahrmaid kernel: klogd 1.4.1, -------
-- state change ----------
Oct 24 23:35:31 Mahrmaid kernel: Inspecting /boot/System.map
Oct 24 23:35:32 Mahrmaid kernel: Symbol table has incorrect version number.
Oct 24 23:35:32 Mahrmaid kernel: Cannot find map file.
Oct 24 23:35:32 Mahrmaid kernel: Loaded 1131 symbols from 56 modules.
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 2, portstatus 501, change 0, 480 Mb/s
Oct 24 23:35:32 Mahrmaid last message repeated 3 times
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 2, portstatus 511, change 0, 480 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 2 of hub 1 not reset yet, waiting 10ms
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 2, portstatus 511, change 0, 480 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 2 of hub 1 not reset yet, waiting 10ms
Oct 24 23:35:32 Mahrmaid kernel: ehci-hub.c: 00:12.2 port 2 full speed, give to 
companion,
0x1801
Oct 24 23:35:32 Mahrmaid kernel: ehci-hub.c: GetStatus port 2 status 003801 POWER OWNER
sig=j  CONNECT
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 2, portstatus 0, change 10, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: ehci-hcd.c: 00:12.2: free_config devnum 0
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 3, portstatus 100, change 0, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 4, portstatus 100, change 0, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 5, portstatus 100, change 0, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 1 connection change
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s
Oct 24 23:35:32 Mahrmaid last message repeated 3 times
Oct 24 23:35:32 Mahrmaid kernel: hub.c: port 1, portstatus 103, change 10, 12 Mb/s
Oct 24 23:35:32 Mahrmaid kernel: hub.c: new USB device 00:12.1-1, assigned address 2
Oct 24 23:35:32 Mahrmaid kernel: usb.c: kmalloc IF c48d59c0, numif 1
Oct 24 23:35:32 Mahrmaid kernel: usb.c: new device strings: Mfr=1, Product=1,
SerialNumber=0
Oct 24 23:35:32 Mahrmaid kernel: usb.c: USB device number 2 default language ID 0x409
Oct 24 23:35:32 Mahrmaid kernel: Manufacturer: USB to IDE
Oct 24 23:35:32 Mahrmaid kernel: Product: USB to IDE
Oct 24 23:35:32 Mahrmaid kernel: usb.c: unhandled interfaces on device
Oct 24 23:35:32 Mahrmaid kernel: usb.c: USB device 2 (vend/prod 0x4ce/0x2) is not 
claimed
by any active driver.
Oct 24 23:35:32 Mahrmaid kernel:   Length              = 18
Oct 24 23:35:32 Mahrmaid kernel:   DescriptorType      = 01
Oct 24 23:35:32 Mahrmaid kernel:   USB version         = 1.10
Oct 24 23:35:32 Mahrmaid kernel:   Vendor:Product      = 04ce:0002
Oct 24 23:35:32 Mahrmaid kernel:   MaxPacketSize0      = 8
Oct 24 23:35:32 Mahrmaid kernel:   NumConfigurations   = 1
Oct 24 23:35:32 Mahrmaid kernel:   Device version      = 2.60
Oct 24 23:35:32 Mahrmaid kernel:   Device Class:SubClass:Protocol = 00:00:00
Oct 24 23:35:32 Mahrmaid kernel:     Per-interface classes
Oct 24 23:35:32 Mahrmaid kernel: Configuration:
Oct 24 23:35:32 Mahrmaid kernel:   bLength             =    9
Oct 24 23:35:32 Mahrmaid kernel:   bDescriptorType     =   02
Oct 24 23:35:32 Mahrmaid kernel:   wTotalLength        = 0020
Oct 24 23:35:32 Mahrmaid kernel:   bNumInterfaces      =   01
Oct 24 23:35:32 Mahrmaid kernel:   bConfigurationValue =   01
Oct 24 23:35:32 Mahrmaid kernel:   iConfiguration      =   00
Oct 24 23:35:32 Mahrmaid kernel:   bmAttributes        =   40
Oct 24 23:35:32 Mahrmaid kernel:   MaxPower            =    0mA
Oct 24 23:35:32 Mahrmaid kernel:
Oct 24 23:35:32 Mahrmaid kernel:   Interface: 0
Oct 24 23:35:32 Mahrmaid kernel:   Alternate Setting:  0
Oct 24 23:35:32 Mahrmaid kernel:     bLength             =    9
Oct 24 23:35:32 Mahrmaid kernel:     bDescriptorType     =   04
Oct 24 23:35:32 Mahrmaid kernel:     bInterfaceNumber    =   00
Oct 24 23:35:32 Mahrmaid kernel:     bAlternateSetting   =   00
Oct 24 23:35:32 Mahrmaid kernel:     bNumEndpoints       =   02
Oct 24 23:35:32 Mahrmaid kernel:     bInterface Class:SubClass:Protocol =   08:06:50
Oct 24 23:35:32 Mahrmaid kernel:     iInterface          =   00
Oct 24 23:35:32 Mahrmaid kernel:     Endpoint:
Oct 24 23:35:32 Mahrmaid kernel:       bLength             =    7
Oct 24 23:35:32 Mahrmaid kernel:       bDescriptorType     =   05
Oct 24 23:35:32 Mahrmaid kernel:       bEndpointAddress    =   02 (out)
Oct 24 23:35:33 Mahrmaid kernel:       bmAttributes        =   02 (Bulk)
Oct 24 23:35:33 Mahrmaid kernel:       wMaxPacketSize      = 0040
Oct 24 23:35:33 Mahrmaid kernel:       bInterval           =   00
Oct 24 23:35:33 Mahrmaid kernel:     Endpoint:
Oct 24 23:35:33 Mahrmaid kernel:       bLength             =    7
Oct 24 23:35:33 Mahrmaid kernel:       bDescriptorType     =   05
Oct 24 23:35:33 Mahrmaid kernel:       bEndpointAddress    =   81 (in)
Oct 24 23:35:33 Mahrmaid kernel:       bmAttributes        =   02 (Bulk)
Oct 24 23:35:33 Mahrmaid kernel:       wMaxPacketSize      = 0040
Oct 24 23:35:33 Mahrmaid kernel:       bInterval           =   00
Oct 24 23:35:33 Mahrmaid kernel: usb.c: kusbd: /sbin/hotplug add 2
Oct 24 23:35:33 Mahrmaid kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
Oct 24 23:35:33 Mahrmaid kernel: Initializing USB Mass Storage driver...
Oct 24 23:35:33 Mahrmaid kernel: usb.c: registered new driver usb-storage
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: act_altsettting is 0
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: id_index calculated to be: 89
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Array length appears to be: 91
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: USB Mass Storage device detected
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Endpoints: In: 0xc55c2734 Out: 0xc55c2720
Int: 0x00000000 (Period 0)
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: New GUID 04ce00020000000000000000
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: GetMaxLUN command result is 1, data is 0
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Transport: Bulk
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Protocol: Transparent SCSI
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: *** thread sleeping.
Oct 24 23:35:33 Mahrmaid kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: queuecommand() called
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: *** thread awakened.
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Command INQUIRY (6 bytes)
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: 12 00 00 00 ff 00 00 00 28 08 00 00
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk command S 0x43425355 T 0x6a Trg 0 
LUN 0
L 255 F 128 CL 6
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk command transfer result=0
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: usb_stor_transfer_partial(): xfer 255 
bytes
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred
255/255
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: usb_stor_transfer_partial(): transfer
complete
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk data transfer result 0x0
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Attempting to get CSW...
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk status result = 0
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk status Sig 0x53425355 T 0xff0158 R 0
Stat 0x0
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk logical error
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: -- transport indicates error, resetting
Oct 24 23:35:33 Mahrmaid kernel: usb-storage: Bulk reset requested
Oct 24 23:35:39 Mahrmaid kernel: usb-storage: command_abort() called
Oct 24 23:35:39 Mahrmaid kernel: usb-storage: usb_stor_clear_halt: result=0
Oct 24 23:35:39 Mahrmaid kernel: usb-storage: usb_stor_clear_halt: result=0
Oct 24 23:35:39 Mahrmaid kernel: usb-storage: Bulk soft reset completed
Oct 24 23:35:39 Mahrmaid kernel: usb-storage: scsi cmd done, result=0x70000
Oct 24 23:35:39 Mahrmaid kernel: usb-storage: *** thread sleeping.






David Brownell schrieb:

> > Sorry I forgot to name

> >         kernel        2.4.19-pre11
> >
> >    and the USB port:
> >
> >        "NEC corporation USB 2.0"
>
> In that case upgrade your kernel and try this patch:
>
> 
>http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.4/usb-ehci-2.4.20-pre11.patch
>
> It might very well solve your problem.
>
> - Dave
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
>
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

--
Christian Mahr (privat)                  [EMAIL PROTECTED]












-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to