Thanks Stephen and all,

Apparently, this is not an uncommon source of confusion.

I still have not been able to apply a filesystem to this thing.  
    fdisk /dev/sda
    fdisk /dev/sdb
    fdisk /dev/sdc
    fdisk /dev/sdd

All return with the error:

    Unable to open /dev/sd*

Here is the output of dmesg:
    scsi0 : iSCSI 2.1.2.2 (23-Aug-2002)
    Initializing USB Mass Storage driver...
    usb.c: registered new driver usb-storage
    USB Mass Storage support registered.
    hub.c: USB new device connect on bus1/3, assigned device number 2
    scsi1 : SCSI emulation for USB Mass Storage devices
    usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -32
    usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -32
    usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -32

I'm slightly concerned with the USBDEVFS_CONTROL error, but think it
might have somehting to do with the device not having a FS.

here is lsusb:

    Bus 004 Device 001: ID 0000:0000  
    Bus 003 Device 001: ID 0000:0000  
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 001: ID 0000:0000  
    Bus 001 Device 002: ID 0c0b:b001 Acomdata 

It's Bus 001 Device 002 that I'm trying to use.


And here is the output of cat /proc/bus/usb/devices :
T:  Bus=04 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.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=dc00
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=   8 Ivl=255ms
T:  Bus=03 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.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d800
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=   8 Ivl=255ms
T:  Bus=02 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.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d400
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=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.19-4GB ehci-hcd
S:  Product=PCI device 8086:24cd
S:  SerialNumber=00:1d.7
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=256ms
T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0c0b ProdID=b001 Rev=11.10
S:  Manufacturer=DMI
S:  Product=USB 2.0 Storage Adaptor
S:  SerialNumber=0B02011C053CC4AC
C:* #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=32ms


The system clearly sees the USB 2.0 Storage Adaptor, but ......

For a bunch of reasons, I went back to the stock SuSE 8.1 kernel
(2.4.19), and tried again.  After installing the iscsi_mod module, lsusb
no longer locks up the machine.  I'm not sure what iscsi is, however :0
here is the output of lsmod:
Module                  Size  Used by    Not tainted
sg                     27904   1  (autoclean)
    usb-storage            52336   1 
    iscsi_mod             124140   0 
    videodev                5600   0  (autoclean)
    ide-cd                 28388   0  (autoclean)
    cdrom                  26400   0  (autoclean) [ide-cd]
    isa-pnp                29664   0  (unused)
    usbserial              18492   0  (autoclean) (unused)
    parport_pc             25544   1  (autoclean)
    lp                      6656   0  (autoclean)
    parport                22528   1  (autoclean) [parport_pc lp]
    ipv6                  138964  -1  (autoclean)
    ipt_TCPMSS              2296   1  (autoclean)
    ipt_TOS                  952  22  (autoclean)
    ipt_MASQUERADE          1240   1  (autoclean)
    ipt_LOG                 3320  93  (autoclean)
    ipt_state                568  80  (autoclean)
    evdev                   4352   0  (unused)
    input                   3168   0  [joydev evdev]
    usb-uhci               21612   0  (unused)
    ehci-hcd               14152   0  (unused)
    usbcore                56768   1  [usb-storage usbserial snd usb-uhci ehci-hcd]
    af_packet              12904   1  (autoclean)
    e100                   68184   2 
    ipt_REJECT              2712   3  (autoclean)
    iptable_mangle          2072   1  (autoclean)
    iptable_filter          1644   1  (autoclean)
    ip_nat_ftp              3056   0  (unused)
    iptable_nat            13688   2  [ipt_MASQUERADE ip_nat_ftp]
    ip_conntrack_ftp        3456   0  (unused)
    ip_conntrack           14140   3  [ipt_MASQUERADE ipt_state
    ip_nat_ftp iptable_nat ip_conntrack_ftp]
    ip_tables              11576  11  [ipt_TCPMSS ipt_TOS ipt_MASQUERADE
    ipt_LOG ipt_state ipt_REJECT iptable_mangle iptable_filter
    iptable_nat]
    lvm-mod                62976   0  (autoclean)
    reiserfs              179536   6 


I'm pretty much at a loss here, but I think it has something to do with
the scsi driver.  

Any insight????  Thanks!

-- Ryan



* Stephen J. Gowdy <[EMAIL PROTECTED]> wrote on [02-09-03y 12:52]:
> On Sat, 8 Feb 2003, Ryan Allen wrote:
> 
> > Hi,  I just compiled a stock 2.4.20 kernel to try to get my new external
> > usb 2.0 ide drive to work.  I'm putting the new kernel on SuSE 8.1.
> > 
> > Two questions:
> > 
> > 1)  How do yo know what device to mount?  lsusb returns: 
> > 
> > Bus 004 Device 001: ID 0000:0000  
> > Bus 003 Device 001: ID 0000:0000  
> > Bus 002 Device 001: ID 0000:0000  
> > Bus 001 Device 001: ID 0000:0000  
> > Bus 001 Device 003: ID 0c0b:b001 Acomdata <---  this is the device 
> > 
> > and cat /proc/usb/devices has this entry:
> > 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=256ms
> > T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
> > D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> > P:  Vendor=0c0b ProdID=b001 Rev=11.10
> > S:  Manufacturer=DMI
> > S:  Product=USB 2.0 Storage Adaptor
> > S:  SerialNumber=0B02011C053CC4AC
> > 
> > so my question is, what goes here:
> >    
> >      mount /dev/<WHAT GOES HERE?> /mnt -t ext3
>  
> The above entry is truncated. You should provide the entire contents, but 
> that doesn't help answer this question (unless the device is unlikely to 
> work.
> 
> You should be able to tell this from your kernel logs. If you look in the
> output of dmesg you should see it creating a SCSI device. If this is the
> only scsi device you have it will probably be /dev/sda1 (if you have one
> partition which is the first primary partition). You'll obviously need to
> partition the drive and create the filesystem before you can mount it.
> 
>  
> > 2)  Okay, so how does one place the ext3 file system on the device to
> > begin with?????  
> > it's sorta difficult when I'm not sure what the system is calling the
> > device.
> 
> Ah, so you knew that. You use "mkfs -t ext3 /dev/sda1", make sure this is 
> the correct device though or you'll lose data!!!
>  
> > Okay, the questions may be out of order, but I think you get the idea.
> > Thanks in advanced!
> > 
> > 
> > -- Ryan
> > 
> > P.S.  lsusb was locking up under stock SuSE 8.1!!!!  anybody else have
> > the same problem???
> > 
> > 
> > 
> 
> -- 
>  /------------------------------------+-------------------------\
> |Stephen J. Gowdy                     | SLAC, MailStop 34,       |
> |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> |http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
> |EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
>  \------------------------------------+-------------------------/
> 

-- 

+-------------------------------+
|     [EMAIL PROTECTED]       |
| http://www.pnwtripreports.com |
+-------------------------------+


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to