LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2004, 11:19 PM   #1
dedgsus
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
USB Storage woes on Mandrake 10.0


I just installed Mandrake 10.0 on my laptop (my first linux install) and am trying to set up my external usb hard drive... I haven't been able to find the device to mount the drive. I've tried to mount /dev/sda but that wasn't working so I started a little digging.

When I turn on the hard drive I find the following information in /proc/bus/usb/devices:


T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04ce ProdID=0002 Rev= 0.22
S: Manufacturer=ScanLogic USBIDE
S: Product=ScanLogic USBIDE
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=05 Prot=00 Driver=(none)
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms


And dmesg shows:

usb 1-2: new full speed USB device using address 2


I'm a little concerned by the "Driver=(none)"... On all the posts I've found on the matter, I usually see some sort of scsi emulation start, but I don't get that... do I need to specifically enable it or could it not be in the kernel? How can I do/check this? Any other suggestions?

Thanks!
 
Old 06-20-2004, 02:15 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,533

Rep: Reputation: 211Reputation: 211Reputation: 211
The scsi and usb modules are loaded from /etc/modprobe.conf. The relevant lines for me are:

install scsi_hostadapter /sbin/modprobe usb-storage; /bin/true
install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe ehci-hcd; /bin/true

If you have those lines, the scsi modules should load. You can confirm that they are loaded by running as root:

# lsmod

which lists all loaded modules.

One way to see if the drive is being detected is to run as root:

# fdisk -l /dev/sda

that will list all partitions on /dev/sda which fdisk recognizes even if the partitions are not mounted.
 
Old 06-20-2004, 02:10 PM   #3
dedgsus
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
In my /etc/modprobe.conf I have:


install scsi_hostadapter /sbin/modprobe usb-storage; /bin/true
install usb-interface /sbin/modprobe usb-uhci; /bin/true


lsmod shows:

usb-storage 72932 0
scsi_mod 114648 4 sd_mod,sg,sr_mod,usb-storage
uhci-hcd 29104 0
usbcore 99132 5 hid,usb-storage,uhci-hcd


So I see that scsi_mod is running and that usb-storage is set up, so that is good but now any suggestions why scsi emulation doesn't start when the device is plugged in? Because it doesn't start, the drive doesn't show up with "fdisk -l" Could my problem be that modprobe.conf doesn't have the "/sbin/modprobe ehci-hcd" entry?
 
Old 06-20-2004, 09:13 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,533

Rep: Reputation: 211Reputation: 211Reputation: 211
That's probably not it. Ehci is for usb 2.0; the drive should still work at usb 1.x speeds which uses the uhci module. Do you have any other usb storage devices connected? After connecting the drive, is there a /dev/sda file?

I have an external usb hard drive(Maxtor One Touch) which works fine in mdk10 and worked with a little tweaking in mdk9.2. If you want to compare, here's my entire lsmod output:

Code:
# lsmod
Module                  Size  Used by
sg                     38044  0
floppy                 59444  0
binfmt_misc             9960  1
Win4Lin               289768  1
mki-adapter            37448  1 Win4Lin
ide-floppy             18752  0
ide-tape               34864  0
raw                     7616  1
ide-cd                 40548  0
sr_mod                 17028  0
cdrom                  37184  2 ide-cd,sr_mod
nfsd                  173152  8
exportfs                5920  1 nfsd
nvidia               2068232  12
parport_pc             32832  1
lp                     12200  2
parport                38952  2 parport_pc,lp
es1371                 33280  1
soundcore               9248  2 es1371
gameport                4480  1 es1371
ac97_codec             17804  1 es1371
af_packet              20520  2
ipt_TOS                 2240  12
ipt_REJECT              6464  4
ipt_pkttype             1536  4
ipt_LOG                 5312  7
ipt_state               1728  8
ip_nat_irc              3984  0
ip_nat_tftp             3248  0
ip_nat_ftp              4592  0
ip_conntrack_irc       71124  1 ip_nat_irc
ip_conntrack_tftp       3348  0
ip_conntrack_ftp       71668  1 ip_nat_ftp
ipt_multiport           1856  0
ipt_conntrack           2304  0
iptable_filter          2624  1
iptable_mangle          2624  1
iptable_nat            23116  3 ip_nat_irc,ip_nat_tftp,ip_nat_ftp
ip_conntrack           31152  9 ipt_state,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp,ipt_conntrack,iptable_nat
ip_tables              16704  10 ipt_TOS,ipt_REJECT,ipt_pkttype,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat
8139too                23712  0
mii                     4992  1 8139too
supermount             37876  1
nls_iso8859-1           3904  5
nls_cp850               4736  5
vfat                   13760  5
fat                    45120  1 vfat
intel-agp              17372  1
agpgart                31016  2 intel-agp
sd_mod                 16832  0
usb-storage            72932  0
scsi_mod              114648  4 sg,sr_mod,sd_mod,usb-storage
ehci-hcd               24196  0
uhci-hcd               29104  0
usbcore                99132  5 usb-storage,ehci-hcd,uhci-hcd
rtc                    11576  0
reiserfs              246196  5
 
  


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
After plug in apacer ht202 usb mass storage into usb port. Nothing appear. tellmeimhong Linux - Hardware 3 02-04-2006 02:32 AM
forcing a USB device to use usb-storage eantoranz Linux - Hardware 1 11-13-2004 07:44 AM
USB storage - detected on USB1 port, but not USB2 (Mandrake 10 Official) maehara Mandriva 1 10-27-2004 02:28 PM
get USB storage device working under Mandrake 10.0 ditch* Linux - Hardware 6 09-29-2004 05:55 AM
Mandrake 10 USB storage troubles jimbo69 Mandriva 3 09-20-2004 10:42 AM


All times are GMT -5. The time now is 10:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration