Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: rickenbacherus, you seem very knowledgable, please help

  1. #1
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21

    rickenbacherus, you seem very knowledgable, please help

    I have the exact same problem with my SOYO Cigar Thumb drive, it's a 64MB piece. My system picks up the drive but I don't think it loads the driver for it. If I cat /proc/bus/usb/drivers/0.. or /1.., it shows that the drive is indeed detected.. but system does not translate from there to a "sda" or "sdb" device. How do I go about manually mounting or translating from there to a "sda" or "sdb" device?

    I have tried 'echo "add single-device 0 0 1 0" > /proc/scsi/scsi' to no avail. Please advise on correct usage. Normally if driver is loaded for a device, specifically an emulated device, you can 'cat /proc/scsi/scsi' and it would list all devices loaded, including any cd-rom drives.

    Please help. I've been stuck on this for over half a year and no one is able to assist. I lost hope. I now find you and I believe you can shed some light into this.

    Thanks in advance.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    I'm flattered but probably not anywhere near as knowledgeable as you may hope.

    First do this:

    modprobe usb-storage

    then do:

    lsmod

    You need to see three things-
    -usbcore
    -usbohci -OR- usbuhci
    -usb-storage.

    If you've got them then on we go. Post the output of:

    cdrecord -scanbus

    Post back with results and we'll go from there.

  3. #3
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21

    lsmod listing

    Hi, this is my complete lsmod listing.

    usb-storage 54460 0 (unused)
    autofs4 8724 1 (autoclean)
    cloop-mod 23716 1
    af_packet 13480 0 (autoclean)
    agpgart 34752 0 (unused)
    i810_audio 23112 1
    ac97_codec 9992 0 [i810_audio]
    soundcore 3396 2 [i810_audio]
    3c59x 25808 2
    serial 51908 0 (autoclean)
    usb-uhci 21868 0 (unused)
    usbcore 57120 1 [usb-storage usb-uhci]
    apm 9644 1
    rtc 6940 0 (autoclean)
    cloop 5456 1

  4. #4
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21

    Listing of 'cat /proc/bus/usb/devices'

    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=a000
    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=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=a400
    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=16 #Cfgs= 1
    P: Vendor=0aec ProdID=5010 Rev= 1.00
    S: Manufacturer=
    S: Product= USB Storage Device
    S: SerialNumber=0AEC301000001A00
    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=0ms

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    Re: lsmod listing

    Quote 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!

  6. #6
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21
    Thank you, thank you!

    That's the step I was missing. I will add those lines to unusual_devs.h file. Do I need to recompile? (I'm totally clueless)

    Yes, I am currently using this thumb drive on a Dell laptop with SuSE 8.1 - it detects and mounts drive correctly.

    Again, thank you.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    I don't see why you'd need to recompile but I'm wrong at least 3 or 4 times a day. If you're already using it then you shouldn't need to reformat either (of course you probably knew that). Lemme know how it goes.

  8. #8
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21

    Didn't work

    Inserted and triple check, still no 'sda' device.

    Here's the 'dmesg':

    usb-storage: act_altsetting is 0
    usb-storage: id_index calculated to be: 89
    usb-storage: Array length appears to be: 91
    usb-storage: USB Mass Storage device detected
    usb-storage: Endpoints: In: 0xc7f98e74 Out: 0xc7f98e60 int: 0x00000000 (Period 0)
    usb-storage: Found existing GUID 0xaec50100aec301000001a00
    WARNING: USB Mass Storage data integrity not assured
    USB Mass Stroage device found at 7

    Hmm, it is interesting. If you can give any pointers that'll be great, if not that's a big deal. I may have to just give up.

    What do you think if I copy unusual_devs.h file from my SuSE 8.1 system to the KNOPPIX system? Would that work?

  9. #9
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21

    ID's

    What does 0x0100, 0x0100 mean in 'UNUSUAL_DEVS( 0x0aec, 0x5010, 0x0100, 0x0100, ?

    thanks

  10. #10
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    What do you think if I copy unusual_devs.h file from my SuSE 8.1 system to the KNOPPIX system? Would that work?
    I suppose there's only one way to find out. It would be interesting to see the difference. Without any reference to go by I really just guessed at that one I posted.I don't know the first thing about SuSE. If it doesn't work post these outputs:
    cat /proc/scsi/scsi
    cdrecord -scanbus
    dmesg | grep scsi


    and your fstab please. I wish I had a pendrive to experiment with but I have no need for one.

Page 1 of 2 12 LastLast

Similar Threads

  1. A personal THANK YOU - rickenbacherus
    By Cuddles in forum General Support
    Replies: 9
    Last Post: 12-30-2003, 03:07 AM
  2. rickenbacherus...thank you for all of your help
    By nachral in forum General Support
    Replies: 3
    Last Post: 12-18-2003, 12:01 AM
  3. Hey Rickenbacherus :p
    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
  •  


Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD picture

Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD

$45.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel Core i5-7600 Quad Core 3.5 GHz 6MB 8 GT/s SR334 LGA1151 CPU picture

Intel Core i5-7600 Quad Core 3.5 GHz 6MB 8 GT/s SR334 LGA1151 CPU

$31.50



Intel Xeon Gold 6238 2.1GHz 30.25MB 22-Core LGA 3647 CPU / Processor ___ SRFPL picture

Intel Xeon Gold 6238 2.1GHz 30.25MB 22-Core LGA 3647 CPU / Processor ___ SRFPL

$379.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$48.52