LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-13-2006, 10:31 PM   #1
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Question Mounting USB external disk (Acom)


I'd like to access an AcomData external hard disk; I'm trying USB. How is this done?

I searched LQ (and Google). People say "is recognized" or "shows up as /dev/sda1 on the desktop". What specific steps would one take to make that happen? I suspect I miss something basic.

Re finegan's sticky questions:
> 2. Next up, what kernel AND distro
2.6.9-1.11_FC2

>5. When in doubt, drop in some logs.
/var/log/messages (when plugging it in):
Quote:
kernel: usb 1-1: new full speed USB device using address 3
The address goes up by 1 every time I plug it in.
dmesg: dito (nothing else, until I unplug it).

7. "/sbin/lsusb":
Quote:
Bus 001 Device 006: ID 0c0b:27e7 Dura Micro, Inc. (Acomdata)
Bus 001 Device 001: ID 0000:0000
-v says lots, e.g.,
Quote:
iManufacturer 1 DMI
iProduct 2 USB2.0 Storage Adaptor

If you still doubted my ignorance, I tried mounting /dev/sda1, but got
Quote:
mount: /dev/sda1 is not a valid block device


Thanks for any pointer (or RTFM)

Quigi
 
Old 03-14-2006, 09:21 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,334

Rep: Reputation: 144Reputation: 144
With the device plugged in and turned on, open a console, su to root and run:

# /sbin/fdisk -l

and:

# /sbin/lsmod

Post the output of both here. The first command will list all partitions recognized by your system, whether mounted or not. See if there is a listing for any sda. The second will list all loaded modules. From that you can determine whether the modules necessary for the drive to be detected have been loaded. These include certain scsi modules, usb-storage and the usual usb modules, ehci and uhci. From there you can start to troubleshoot what's causing the problem.
 
Old 03-14-2006, 11:46 AM   #3
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Original Poster
Rep: Reputation: 31
Lightbulb

Hi Kilgoretrout,

Quote:
Originally Posted by kilgoretrout
These include certain scsi modules, usb-storage and the usual usb modules, ehci and uhci.
That was exactly the information I needed! Here's what I did with it:
Quote:
modprobe ehci_hcd
modprobe usb_storage
and then all was fine; e.g., I could mount /dev/sda1 /mnt/acom.

I'm putting the requested output below. For next time, where should I have learned this? Is there a Howto, manpage, newbie intro?

Thank you so much!

Quigi


Before modprobeing, fdisk -l didn't report any sd; now I get it:
Code:
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         382     3068383+  83  Linux
/dev/hda2             383        1400     8177085   83  Linux
/dev/hda3            1401        1465      522112+  82  Linux swap
/dev/hda4            1466        2432     7767427+   f  W95 Ext'd (LBA)
/dev/hda5            1466        2432     7767396   83  Linux

Disk /dev/sda: 250.0 GB, 250059350016 bytes
240 heads, 63 sectors/track, 32301 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       32301   244195528+   c  W95 FAT32 (LBA)
BTW, I just notice that hda4 and hda5 occupy the same blocks, while all others sit nicely next to each other and don't overlap. Should I be concerned?


lsmod gives the same as root or normal user:
Code:
Module                  Size  Used by
usb_storage            62217  1 
ehci_hcd               30789  0 
vfat                   14785  1 
fat                    44385  1 vfat
sd_mod                 16705  2 
xfrm4_tunnel            4165  2 
af_key                 30673  0 
nls_utf8                2113  0 
udf                    83013  0 
deflate                 3649  1 
zlib_deflate           20569  1 deflate
twofish                37057  0 
serpent                13377  0 
blowfish               10177  0 
sha256                  9153  0 
crypto_null             2369  0 
aes_i586               38581  2 
des                    11713  0 
ipcomp                  8009  2 
esp4                    7873  2 
ah4                     6337  0 
sr_mod                 17637  0 
snd_pcm_oss            48633  0 
snd_mixer_oss          17857  4 snd_pcm_oss
snd_intel8x0           34829  4 
snd_ac97_codec         64145  1 snd_intel8x0
snd_pcm                95817  2 snd_pcm_oss,snd_intel8x0
snd_timer              29381  1 snd_pcm
snd_page_alloc          9801  2 snd_intel8x0,snd_pcm
gameport                4929  1 snd_intel8x0
snd_mpu401_uart         8897  1 snd_intel8x0
snd_rawmidi            26213  1 snd_mpu401_uart
snd_seq_device          8137  1 snd_rawmidi
snd                    54693  11 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10017  4 snd
parport_pc             24577  1 
lp                     11565  0 
parport                37257  2 parport_pc,lp
autofs4                23493  0 
sunrpc                158501  1 
orinoco_cs              9673  0 
ds                     17605  1 orinoco_cs
pcmcia_core            60937  2 orinoco_cs,ds
orinoco                45133  1 orinoco_cs
hermes                  7745  2 orinoco_cs,orinoco
3c59x                  36841  0 
ipt_REJECT              6465  1 
ipt_state               2113  3 
ip_conntrack           41589  1 ipt_state
iptable_filter          3009  1 
ip_tables              16193  3 ipt_REJECT,ipt_state,iptable_filter
floppy                 57969  0 
sg                     34017  0 
scsi_mod              121421  4 usb_storage,sd_mod,sr_mod,sg
microcode               6625  0 
radeon                121157  2 
md5                     4161  1 
ipv6                  236673  14 
dm_mod                 54869  0 
uhci_hcd               31193  0 
button                  6609  0 
battery                 8645  0 
ac                      4933  0 
ext3                  121417  3 
jbd                    72025  1 ext3

Last edited by Quigi; 03-14-2006 at 11:54 AM.
 
Old 03-14-2006, 02:10 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,334

Rep: Reputation: 144Reputation: 144
The overlap is correct. hda4 is an extended partition and hda5 is the first extended/logical partition on hda4. This is completely normal. A hard drive can only have four primary partitions. In order to get around that limit, you create an extended drive with logical partitions on it. hda4 is the extended partition and holds all the extra logical partitions on the blocks it covers.
 
Old 03-14-2006, 02:15 PM   #5
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Original Poster
Rep: Reputation: 31
Cool. Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 02:18 PM
Mounting XP on the External hard disk.. fieldyweb Linux - Laptop and Netbook 0 11-06-2005 08:21 AM
mounting external hard disk ankit_mcgill Linux - Newbie 2 09-04-2005 12:04 AM
Mounting an external firewire hard disk?? rendaimedia Linux - Hardware 1 06-07-2004 09:07 PM
Recognizing/mounting an external floppy disk drive MisterT Linux - Hardware 1 10-04-2002 07:08 PM


All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration