[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-users
Subject:    [Linux-usb-users] Cypress SL11R-IDE
From:       jhw () gmate ! co ! kr
Date:       2002-01-29 6:06:59
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi all,

I have Cypress SL11R-IDE, a SM/CF read/writer. I've heard that Linux USB supports \
this device from http://www.qbik.ch/usb/devices/showdev.php?id=737  I believe I've \
installed hotplug and every neccessary things for this device, but I failed to mount \
it on my desktop. My desktop PC uses 2.4.2 kernel.
It seems that the device itself was recogniozed correctly and all modules were \
installed.

Followings are debug message.
Any idea of what's wrong?

[root@John usb]# pwd
/proc/bus/usb
[root@John usb]# cat devices 
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.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=e000
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=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04ce ProdID=0002 Rev= 0.76
S:  Manufacturer=CYPRESS SM-CF 0.76
S:  Product=CYPRESS SM-CF 0.76
S:  SerialNumber=11204EC2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=300mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
[root@John usb]# 
[root@John usb]# 
[root@John usb]# 
[root@John usb]# lsmod
Module                  Size  Used by
ide-cd                 26880   0  (autoclean)
cdrom                  27232   0  (autoclean) [ide-cd]
usb-storage            32048   0 
scsi_mod               95584   1  [usb-storage]
autofs                 11296   1  (autoclean)
ne2k-pci                5120   1  (autoclean)
8390                    6848   0  (autoclean) [ne2k-pci]
ipchains               39360   0  (unused)
usb-uhci               20752   0  (unused)
usbcore                49728   1  [usb-storage usb-uhci]
nls_cp949             141488   1  (autoclean)
nls_cp437               4384   1  (autoclean)
vfat                    9424   1  (autoclean)
fat                    32640   0  (autoclean) [vfat]
[root@John usb]# 
[root@John usb]# 
[root@John usb]# cat drivers 
         usbdevfs
         hub
         usb-storage
[root@John usb]# 
[root@John usb]# 
[root@John usb]# 
[root@John usb]# 
[root@John usb]# 
[root@John usb]# 
[root@John usb]# 
[root@John usb]# cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: CYPRESS  Model: SM-CF 0.76       Rev:     
  Type:   Direct-Access                    ANSI SCSI revision: 02
[root@John usb]#
[root@John usb]#
[root@John usb]#
[root@John usb]#
[root@John usb]#
[root@John usb]#
[root@John usb]# mount -t ext2 /dev/sda /mnt/usbhd
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       or too many mounted file systems
[root@John usb]# 
[root@John usb]# mke2fs /dev/sda
mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
/dev/sda is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 262143 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376

Writing inode tables: done                            
Warning: could not erase block 0: Attempt to write block from filesystem resulted in \
short write Writing superblocks and filesystem accounting information: 
done
[root@John usb]# 
[root@John usb]# mount -t ext2 /dev/sda /mnt/usbhd
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       or too many mounted file systems
[root@John usb]# 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I have Cypress SL11R-IDE, a SM/CF read/writer. I've heard that 
Linux USB supports this device from <A 
href="http://www.qbik.ch/usb/devices/showdev.php?id=737">http://www.qbik.ch/usb/devices/showdev.php?id=737</A> \
 </FONT></DIV>
<DIV><FONT size=2>I believe I've installed hotplug and every neccessary things 
for this device, but I failed to mount it on my desktop.</FONT></DIV>
<DIV><FONT size=2>My desktop PC uses 2.4.2 kernel.</FONT></DIV>
<DIV><FONT size=2>It seems that the device itself was recogniozed correctly and 
all modules were installed.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Followings are debug message.</FONT></DIV>
<DIV><FONT size=2>Any idea of what's wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>[root@John usb]# pwd<BR>/proc/bus/usb<BR>[root@John usb]# cat 
devices <BR>T:&nbsp; Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=&nbsp; 1 
Spd=12&nbsp; MxCh= 2<BR>B:&nbsp; Alloc=&nbsp; 0/900 us ( 0%), #Int=&nbsp; 0, 
#Iso=&nbsp; 0<BR>D:&nbsp; Ver= 1.00 Cls=09(hub&nbsp; ) Sub=00 Prot=00 MxPS= 8 
#Cfgs=&nbsp; 1<BR>P:&nbsp; Vendor=0000 ProdID=0000 Rev= 0.00<BR>S:&nbsp; 
Product=USB UHCI Root Hub<BR>S:&nbsp; SerialNumber=e000<BR>C:* #Ifs= 1 Cfg#= 1 
Atr=40 MxPwr=&nbsp; 0mA<BR>I:&nbsp; If#= 0 Alt= 0 #EPs= 1 Cls=09(hub&nbsp; ) 
Sub=00 Prot=00 Driver=hub<BR>E:&nbsp; Ad=81(I) Atr=03(Int.) MxPS=&nbsp;&nbsp; 8 
Ivl=255ms<BR>T:&nbsp; Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=&nbsp; 2 
Spd=12&nbsp; MxCh= 0<BR>D:&nbsp; Ver= 1.10 Cls=00(&gt;ifc ) Sub=00 Prot=00 MxPS= 
8 #Cfgs=&nbsp; 1<BR>P:&nbsp; Vendor=04ce ProdID=0002 Rev= 0.76<BR>S:&nbsp; 
Manufacturer=CYPRESS SM-CF 0.76<BR>S:&nbsp; Product=CYPRESS SM-CF 
0.76<BR>S:&nbsp; SerialNumber=11204EC2<BR>C:* #Ifs= 1 Cfg#= 1 Atr=c0 
MxPwr=300mA<BR>I:&nbsp; If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 
Driver=usb-storage<BR>E:&nbsp; Ad=02(O) Atr=02(Bulk) MxPS=&nbsp; 64 Ivl=&nbsp; 
0ms<BR>E:&nbsp; Ad=81(I) Atr=02(Bulk) MxPS=&nbsp; 64 Ivl=&nbsp; 
0ms<BR>[root@John usb]# <BR>[root@John usb]# <BR>[root@John usb]# <BR>[root@John 
usb]# 
lsmod<BR>Module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 Size&nbsp; Used 
by<BR>ide-cd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 26880&nbsp;&nbsp; 0&nbsp; 
(autoclean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\
 20752&nbsp;&nbsp; 0&nbsp; 
(unused)<BR>usbcore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 49728&nbsp;&nbsp; 1&nbsp; [usb-storage 
usb-uhci]<BR>nls_cp949&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 141488&nbsp;&nbsp; 1&nbsp; 
(autoclean)<BR>nls_cp437&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 4384&nbsp;&nbsp; 1&nbsp; 
(autoclean)<BR>vfat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 9424&nbsp;&nbsp; 1&nbsp; 
(autoclean)<BR>fat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 32640&nbsp;&nbsp; 0&nbsp; (autoclean) [vfat]<BR>[root@John usb]# <BR>[root@John 
usb]# <BR>[root@John usb]# cat drivers 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
usbdevfs<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
hub<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
usb-storage<BR>[root@John usb]# <BR>[root@John usb]# <BR>[root@John usb]# 
<BR>[root@John usb]# <BR>[root@John usb]# <BR>[root@John usb]# <BR>[root@John 
usb]# <BR>[root@John usb]# cat /proc/scsi/scsi<BR>Attached devices: <BR>Host: 
scsi0 Channel: 00 Id: 00 Lun: 00<BR>&nbsp; Vendor: CYPRESS&nbsp; Model: SM-CF 
0.76&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rev:&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp; 
Type:&nbsp;&nbsp; 
Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 ANSI SCSI revision: 02<BR>[root@John usb]#<BR>[root@John usb]#<BR>[root@John 
usb]#<BR>[root@John usb]#<BR>[root@John usb]#<BR>[root@John usb]#<BR>[root@John 
usb]# mount -t ext2 /dev/sda /mnt/usbhd<BR>mount: wrong fs type, bad option, bad 
superblock on /dev/sda,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or too many 
mounted file systems<BR>[root@John usb]# <BR>[root@John usb]# mke2fs 
/dev/sda<BR>mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09<BR>/dev/sda is 
entire device, not just one partition!<BR>Proceed anyway? (y,n) y<BR>Filesystem 
label=<BR>OS type: Linux<BR>Block size=4096 (log=2)<BR>Fragment size=4096 
(log=2)<BR>131072 inodes, 262143 blocks<BR>13107 blocks (5.00%) reserved for the 
super user<BR>First data block=0<BR>8 block groups<BR>32768 blocks per group, 
32768 fragments per group<BR>16384 inodes per group<BR>Superblock backups stored 
on blocks: <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32768, 98304, 163840, 
229376</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Writing inode tables: 
done&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>Warning: could not erase block 0: Attempt to write block from filesystem 
resulted in short write<BR>Writing superblocks and filesystem accounting 
information: <BR>done<BR>[root@John usb]# <BR>[root@John usb]# mount -t ext2 
/dev/sda /mnt/usbhd<BR>mount: wrong fs type, bad option, bad superblock on 
/dev/sda,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or too many mounted file 
systems<BR>[root@John usb]# </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV></BODY></HTML>


_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic