-
Senior Member
registered user
Re: lsmod listing

Originally Posted by
tsaelee
Hi, this is my complete lsmod listing.
usb-storage 54460 0 (unused)
usb-uhci 21868 0 (unused)
usbcore 57120 1 [usb-storage usb-uhci]
This looks good-everything as it should be.
usb-storage is your mass storage driver.
usb-uhci is your hub driver.
usbcore- pretty self explainatory.
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=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=
From this we see that the device is indeed recognized. EXCELLENT! In case you are curious here is a little info on what you are seeing:
Cls=08(stor) <-this is the CLASS and indicates a mass storage device.
Sub=06 <-this is the SUBCLASS and 06 indicates a SCSI device.
Prot=50 <-this is the PROTOCOL and indicates bulk.
I would do two things here:
Try adding the following to:
/usr/src/linux/drivers/usb/storage/unusual_devs.h
**this path may be wrong as I am not at my Linbox right now**
UNUSUAL_DEV( 0x0aec, 0x5010, 0x0100, 0x0100,
"Soyo Technologies Corp.",
"Soyo CigarPro Flash Memory Drive",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_FIX_INQUIRY),
Have you ever successfully connected this device to any other machine or have you only tried it on your Linbox?
If you've never connected it then surely it isn't formatted. If it isn't formatted then I don't think you could mount it.
Using sfdisk, you can find out which drive letter it's been assigned and get the info you need to format it all at the same time.
sfdisk -l /dev/sda
sfdisk -l /dev/sbd
sfdisk -l /dev/sdc
.....and so on. I have used '/dev/sda1' throughout so just be sure to insert your drive letter if it is different. AND if you have any other SCSI disks make sure you don't format the wrong one or - well you get the picture.
So go ahead and format it (I think FAT16 or FAT32 should be fine)but make note of this: DOS bites us in the arse. Quote from man sfdisk-"DOS FORMAT expects DOS FDISK to clear the first 512 bytes of the data area of a parti*tion whenever a size change occurs." I interpret this to mean that if you use DOS fdisk then you'll have no problems. If you don't have access to a DOS machine that you can use to partition the drive then partition with sfdisk, reboot so the partition table is written to the disk and then:
dd if=/dev/zero of=/dev/sda1 bs=512 count=1
That should zero out the first 512 sectors.
Next make a directory that you want to mount the drive to (if you haven't already).
mkdir -p /mnt/pendrive
then mount it
mount -t auto /dev/sda1 /mnt/pendrive
Note that I suggest the 'auto' flag instead of specifying a file system. Hopefully that does it. Then just do a:
cd /mnt/pendrive
If you need assistance with symlinks here is a really cool program called 'devlabel' It claims to be able to keep track of symlinks and drive letter assignments for you.
http://www.lerhaupt.com/linux.html
I might have a few more ideas if these don't do it for you. If you do need more assistance check your documentation and see if the Vendor I.D. and Product I.D. are listed. Good luck!
Similar Threads
-
By Cuddles in forum General Support
Replies: 9
Last Post: 12-30-2003, 03:07 AM
-
By nachral in forum General Support
Replies: 3
Last Post: 12-18-2003, 12:01 AM
-
By Doc in forum The Lounge
Replies: 2
Last Post: 06-26-2003, 01:11 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack
$260.00

NEW Cisco WS-X4712-SFP+E Catalyst 4500 Series 12-Port 10GbE Line Card Module
$94.00

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Cisco SFP-10G-SR Transceiver
$4.00

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

10Gb SFP+ to RJ45 Module Copper Cat6 Transceiver Compatible w/5Gb/ 2.5Gb/ 1Gb
$31.95

Cisco SFP-10G-SR-S 10g Transceivers ( 5 Pack )
$70.00

30PCS Sealed Cisco SFP-10G-SR 10GBASE-SR SFP+ Transceiver Module MMF 850nm 300m
$499.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00