Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: OpenSUSE doesn't recognise USB hard disk.

  1. #1
    Join Date
    May 2013
    Location
    West Korea
    Posts
    10

    Question OpenSUSE doesn't recognise USB hard disk.

    Hi everyone,I'm using OpenSUSE 12.3,and I have a SAMSUNG HM400LI USB Drive,which can't be recognized by OpenSUSE.I use lsusb and its output contains "Bus 003 Device 002: ID 14cd:6116 Super Top M6116 SATA Bridge",also I can see "400GB Hard Disk" in Disks,it just can't be recognized or formated.But it's strange that the USB disk works well on both Ubuntu and Windows even in VMPlayer on the same computer,the host system OpenSUSE itself can't recognize the USB hard drive and the same as the Fedora 19 in VMPlayer.So I think maybe my OpenSUSE lack some drivers,though it original uses kernel module ums_cypress as the driver,I find that Ubuntu doesn't have this one by entering 'lsmod|grep ums', but I don't know which one Ubuntu uses.This question may also put on Fedora forum,however my host system is OpenSUSE,so anyone here has ideas?Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    30,938

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    Sorry, but your post is difficult to read.

    Please use at least CODE tags around any copied/pasted computer text. It is the # button in the tool bar of the post editor. This has some big advantages, amongst them a clear boundary between story telling and computer facts and it will preserve the layout as a command creates it on your terminal window. And please copy the prompt, the command, the output and the next prompt. The pieces I can now discern with difficulty do not show a complete and unabridged output.

    And can you please add if you use the GUI, and when yes, which desktop environment (KDE, Gnome, other). Because most people will want to use such an USB device when sponatiously connected, from their desktop. And most desktops will have a popup to tell such a connection is made and ask what to do with such a storage device.
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    There is a driver named ums_cypress in openSUSE 12.3. Perhaps it needs to be
    loaded manually with 'sudo /sbin/modprobe -v ums_cypress'.

    Be careful with this controller as the Linux driver has a history of destroying
    data. Google "Super Top 6116" for some examples.


  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: OpenSUSE doesn't recognise USB hard disk.

    Quote Originally Posted by ifoolb View Post
    Hi everyone,I'm using OpenSUSE 12.3,and I have a SAMSUNG HM400LI USB Drive,which can't be recognized by OpenSUSE.I use lsusb and its output contains "Bus 003 Device 002: ID 14cd:6116 Super Top M6116 SATA Bridge",also I can see "400GB Hard Disk" in Disks,it just can't be recognized or formated.But it's strange that the USB disk works well on both Ubuntu and Windows even in VMPlayer on the same computer,the host system OpenSUSE itself can't recognize the USB hard drive and the same as the Fedora 19 in VMPlayer.So I think maybe my OpenSUSE lack some drivers,though it original uses kernel module ums_cypress as the driver,I find that Ubuntu doesn't have this one by entering 'lsmod|grep ums', but I don't know which one Ubuntu uses.This question may also put on Fedora forum,however my host system is OpenSUSE,so anyone here has ideas?Thanks.
    With the USB hard drive connected, why not open up a terminal session and post inside code # tags of a forum message, the results of these two terminal command:

    Code:
    sudo /usr/sbin/fdisk -l
    
    df
    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    May 2013
    Location
    West Korea
    Posts
    10

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    Quote Originally Posted by jdmcdaniel3 View Post
    With the USB hard drive connected, why not open up a terminal session and post inside code # tags of a forum message, the results of these two terminal command:

    Code:
    sudo /usr/sbin/fdisk -l
    
    df
    Thank You,
    I'm very sorry for the inconvenience,because I don't have a wired connection,I edited my post on my phone.Now I use it as a hotspot to do this.
    first I enter "lsusb"
    Code:
    ifoolb@linux-4bfc:~$ lsusb
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 003 Device 003: ID 14cd:6116 Super Top M6116 SATA Bridge
    Bus 004 Device 002: ID 04f2:b331 Chicony Electronics Co., Ltd 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    then do "fdisk -l" with ums_cypress loaded
    Code:
    ifoolb@linux-4bfc:~$ /usr/sbin/fdisk -l
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x0006f8e7
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      585727      291840   83  Linux
    /dev/sda2          587774  1953523711   976467969    5  Extended
    Partition 2 does not start on physical sector boundary.
    /dev/sda5          587776    78710783    39061504   83  Linux
    /dev/sda6        78712832   156835839    39061504   83  Linux
    /dev/sda7       156837888   234960895    39061504   83  Linux
    /dev/sda8       234962944   242774015     3905536   82  Linux swap / Solaris
    /dev/sda9       242776064   248633343     2928640   83  Linux
    /dev/sda10      248635392  1953523711   852444160   83  Linux
    Disk /dev/sdb: 400.1 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8f2016bb
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1              63   781417664   390708801    7  HPFS/NTFS/exFAT
    then "df"
    Code:
    ifoolb@linux-4bfc:~$ df
    Filesystem                                              1K-blocks      Used Available Use% Mounted on
    devtmpfs                                                  1985852        20   1985832   1% /dev
    tmpfs                                                     2002192      1012   2001180   1% /dev/shm
    tmpfs                                                     2002192      4152   1998040   1% /run
    /dev/sda5                                                38445384   1274324  35218092   4% /
    /dev/sda6                                                38445384  11058704  25433712  31% /usr
    tmpfs                                                     2002192         0   2002192   0% /sys/fs/cgroup
    /dev/sda1                                                  282599    112357    155650  42% /boot
    /dev/sda10                                              839068192 336436532 460009452  43% /home
    /dev/sda9                                                 2882592    847508   1888652  31% /tmp
    /dev/sda7                                                38445384    890724  35601692   3% /var
    tmpfs                                                     2002192      4152   1998040   1% /var/run
    tmpfs                                                     2002192      4152   1998040   1% /var/lock
    from the results we can see that the 400GB hard disk is not mounted by OpenSUSE.However,when I connect it to Ubuntu in VMPlayer.
    Code:
    ifoolb@ifoolb-virtual-machine:~$ df
    Filesystem     1K-blocks    Used Available Use% Mounted on
    /dev/sda1       19857456 2467156  16394204  14% /
    udev              505132       4    505128   1% /dev
    tmpfs             204960     776    204184   1% /run
    none                5120       0      5120   0% /run/lock
    none              512396     152    512244   1% /run/shm
    /dev/sdb1      390708800   77912 390630888   1% /media/新加卷
    so,“新加卷” is mounted at /media and works well in Ubuntu.What's wrong with OpenSUSE?

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    30,938

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    In the fdisk -l listing, you can see at the bottom that sdb1 is there. That means that the system
    . detected the connection of the USB device,
    . saw that it was mass-storage and created (via udev) the device special files (/dev/sdb and /dev/sdb1 and the corresponding ones in /dev/disk/by*).

    The system does recocnise the disk and the one partition that is on it (type HPFS/NTFS/exFAT). The only thing it did not is mounting it. I will now repeat what I said earlier:
    And can you please add if you use the GUI, and when yes, which desktop environment (KDE, Gnome, other). Because most people will want to use such an USB device when sponatiously connected, from their desktop. And most desktops will have a popup to tell such a connection is made and ask what to do with such a storage device.
    Which you did not answer. We realy want to know if you want the file system that seems to be on sdb1 to be mounted for use by a GUI end-user (in which case that user should get the popup when the device is connected), or if you want to mount it allways (or on connection) for system wide usage (wich is of course a security risk with a non-Linux file system), in which case you should make an appropriate /etc/fstab entry.

    And you can of course try to mount it manualy for a test (to see if openSUSE can use the file system at all) with
    Code:
    mount .dev/sdb1 /mnt
    and see whhat happens and look in /mnt if you can see the files there.
    Last edited by hcvv; 02-Aug-2013 at 01:19.
    Henk van Velden

  7. #7
    Join Date
    May 2013
    Location
    West Korea
    Posts
    10

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    My desktop environment is Gnome Shell,and I'd like to make Gnome Shell have a pop up menu asking what to do.I don't think which file system is the key point,previously the hard drive is ext4 formated in Ubuntu.I formated it to NTFS just wanted to see if Windows could get it to work.And windows did.However in both OpenSUSE and Fedora,the Gnome's application "disks" shows that the hard disk is unallocated regardless of which file system it is.So I of course can't use "mount" command to mount it at any directory,and "mount" only prints out:
    Code:
    ifoolb@linux-4bfc:~$ sudo mount /dev/sdb /mnt/
    mount: unknown filesystem type '(null)'
    And in Gnome shell's "Disks",it shows:
    Code:
    Size 400GB (400,088,457,216 bytes)
    Device /dev/sdb
    Contents Unallocated Space
    If I try to format it in OpenSUSE,then "Disks" will die in "Job Creating Partition".Moreover,when I connect it to VMPlayer,VMPlayer will say"The specified device is claimed by another driver (ums-cypress) on the host operating system. The device might be in use. To continue, the device will first be disconnected from its current driver",so we can assume that ums_cypress.ko is the driver of the hard disk,but in Ubuntu I type
    Code:
    ifoolb@ifoolb-virtual-machine:~$ lsmod|grep ums
    ifoolb@ifoolb-virtual-machine:~$
    it returns nothing.Now that Ubuntu doesn't use ums_cypress as the driver,I don't know which module Ubuntu uses.Or,when it comes to OpenSUSE,if it must use ums_cypress,I think I should report a bug to OpenSUSE team.But now I really hope get the disk to work.
    Thanks for your reply.
    PS:I apologize for the late response,because I don't know what time it is in Europe.

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    30,938

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    I admit I made a typo in
    Code:
    mount .dev/sdb1 /mnt
    You corrected that and changed the . into a /, but at the same time you lost the 1 of sdb1. And then it is logical you get that error because there is no file system at /dev/sdb, it is (we hope) at /dev/sdb1.

    So let us do it now correct:
    Code:
    su  -c 'mount /dev/sdb1 /mnt'
    Henk van Velden

  9. #9
    Join Date
    May 2013
    Location
    West Korea
    Posts
    10

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    Quote Originally Posted by hcvv View Post
    I admit I made a typo in
    Code:
    mount .dev/sdb1 /mnt
    You corrected that and changed the . into a /, but at the same time you lost the 1 of sdb1. And then it is logical you get that error because there is no file system at /dev/sdb, it is (we hope) at /dev/sdb1.

    So let us do it now correct:
    Code:
    su  -c 'mount /dev/sdb1 /mnt'
    In fact,them both exist in /dev at the same time.I have tired both,but neither of them worked.They returned the same
    Code:
    mount: unknown filesystem type '(null)'
    I use sdb because "Disks" says that the device is /dev/sdb.I don't know why fdisk shows the drive is HPFS/NTFS/exFAT,but other programs still can't recognize it.Even GParted can't create a new file system on the drive or format it.I think I should unload Ubuntu's possible drivers one by one,to see which one Ubuntu uses.And I'll consider sending a bug report of kernel module ums_cypress.

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,344

    Default Re: OpenSUSE doesn't recognise USB hard disk.

    sdb is the device but sdb1 is the partition you want to mount. You don't mount a device you mount a partition on the device.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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