Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: USB storage device

  1. #11
    Member registered user
    Join Date
    May 2005
    Posts
    48
    Hello Robert,
    Please find hereafter the results of the tests.
    I feel a scsi module is missing but wich one?
    Ubuntu Live recognizes my device.
    It includes a module scsi_mod that is used by usb_storage.
    But modprobe can not not find scsi_mod on my Knoppix.
    I think Ubuntu is based on an older kernel.
    ----------
    cat /etc/knoppix-version
    3.9 2005-05-27
    ---------
    uname -va
    Linux Knoppix 2.6.11 #2 SMP Thu May 26 20:53:11 CEST 2005 i686 GNU/Linux
    --------
    lsusb
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    -------
    sudo dmesg -c >> dmesg.txt
    echo '===' >> dmesg.txt
    -------
    sudo dmesg -c >> dmesg.txt
    echo '===' >> dmesg.txt
    ------
    ------
    lsusb
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 002: ID 0aec:5010 Neodio Technologies Corp. ND5010 Card Reader
    Bus 001 Device 001: ID 0000:0000
    ------
    sudo dmesg -c >> dmesg.txt
    grep -B 3 -A 1000 '^===' dmesg.txt
    usb 1-1: new full speed USB device using uhci_hcd and address 2
    ub: sizeof ub_scsi_cmd 64 ub_dev 2504
    uba: device 2 capacity nsec 0 bsize 512
    usbcore: registered new driver ub

  2. #12
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376
    Quote Originally Posted by jjbergdolt
    usb 1-1: new full speed USB device using uhci_hcd and address 2
    ub: sizeof ub_scsi_cmd 64 ub_dev 2504
    uba: device 2 capacity nsec 0 bsize 512
    usbcore: registered new driver ub
    As far as I can tell, Linux sees your USB storage device as /dev/uba. Try these commands as root:
    Code:
    cat /dev/uba | od -bc | head
    fdisk -l /dev/uba
    Please post the results.

    My suspicions are that even though the kernel recognizes your USB device, the ub driver may not be working correctly with it.

    Regards,
    - Robert
    http://www.cwelug.org/

  3. #13
    Member registered user
    Join Date
    May 2005
    Posts
    48
    Hello Robert,
    You are right.
    ---------
    cat /dev/uba | od -bc | head
    cat: /dev/hba: No medium found
    0000000
    ------
    fdisk -l /dev/uba
    0000000

  4. #14
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376
    Quote Originally Posted by jjbergdolt
    Hello Robert,
    You are right.
    ---------
    cat /dev/uba | od -bc | head
    cat: /dev/hba: No medium found
    0000000
    ------
    fdisk -l /dev/uba
    0000000
    From another list someone recommend that the ub driver be removed and use usb-storage instead. So, try this:
    Code:
    sudo su -    # become root
    rmmod ub
    modprobe usb-storage
    At this point, it can't hurt, right?

    Regards,
    - Robert
    http://www.cwelug.org/

  5. #15
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    Try loading the imm and/or ppa module.

  6. #16
    Member registered user
    Join Date
    May 2005
    Posts
    48
    sudo su - # become root
    rmmod ub
    modprobe usb-storage
    -----
    I do not see any changes.
    Is a scsi support required for usb storage devices?
    lsmod does not display any scsi module.

  7. #17
    Member registered user
    Join Date
    May 2005
    Posts
    48
    Try loading the imm and/or ppa module.
    ---------
    modprobe imm
    FATAL: Error inserting imm (/lib/modules/2.6.11/kernel/drivers/scsi/imm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    -----
    modprobe ppa
    FATAL: Error inserting ppa (/lib/modules/2.6.11/kernel/drivers/scsi/ppa.ko): Unknown symbol in module, or unknown parameter (see dmesg)

  8. #18
    Member registered user
    Join Date
    May 2005
    Posts
    48
    When I compare with Ubuntu live that is also based on Debian, I notice the following:

    Partitions:
    major minor #blocks name

    8 16 62720 sdb
    8 17 62576 sdb1
    3 0 20010816 hda
    3 1 5237158 hda1
    3 2 1 hda2
    3 5 1052226 hda5
    3 6 1028128 hda6
    3 7 3574431 hda7
    3 8 530113 hda8
    3 9 8586711 hda9

    My usb device is recognized as sdb1.
    ---------
    lsmod:
    Module Size Used by
    ....
    scsi_mod 119936 2 sd_mod,usb_storage
    usbcore 107384 6 usb_storage,usbserial,usbhid,usbkbd,uhci_hcd
    usb_storage 64064 2
    ....

    scsi-mod is not included in Knoppix.
    When I try to load it I get an error message, module not found.
    ------
    uname:
    Linux ubuntu 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686 GNU/Linux

    This is an older kernel version, Knoppix is 2.6.11

  9. #19
    Member registered user
    Join Date
    May 2005
    Posts
    48
    After loading a module with modprobe is it possible to force Knoppix to redetect again all devices?
    Is it done automatically?

  10. #20
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    Use modconf as root to load all modules that you want to load automatically. Just enter through until it says successfully loaded. Type modconf in a terminal and goto scsi to find the modules mentioned.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Add new harddisk to have more storage
    By Worm666 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 11-12-2007, 10:08 AM
  2. usb-storage
    By jjbergdolt in forum Hardware & Booting
    Replies: 0
    Last Post: 07-23-2005, 05:08 PM
  3. USB storage devices
    By srowe in forum Hardware & Booting
    Replies: 17
    Last Post: 11-13-2004, 02:05 AM
  4. usb-storage
    By tommy in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-22-2004, 07:37 AM
  5. data storage
    By Sucker in forum General Support
    Replies: 1
    Last Post: 02-03-2003, 09:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$80.39



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$73.29



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$269.99



CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD picture

CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD

$9.00



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$27.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$41.69



1TB 3.5

1TB 3.5" Hard Drive | macOS Mojave 10.14.6 | iMAC 27" 2012 2013 2014 2015 2017

$23.63