LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-22-2004, 03:19 PM   #1
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
Can't mount USB memory stick/pen drive


Hi all

New to linux and the Slackware distro but loving every minute so far. I'm running 10RC1 with a custom compiled 2.6 kernel (easier to support Nvidia nforce hardware). USB is working fine as far as I can tell as my Microsoft USB mouse is working great. When I plug in my Belkin memory USB pen/stick thing it doesn't seem to be 'seen'.

If type lsusb I get the following:

Bus 003 Device 004: ID 0ea0:6828 Ours Technology, Inc. OTI-6828 Flash Disk
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 045e:0047 Microsoft Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Bus 003 Device 004 is the memory stick.

Now I know this USB device works OK under Linux as it worked just fine under SuSE9.1 and it is specifically Linux compatible.

I've created a mount point /mnt/usbpen

but how the hell do I mount the device? It's not seen as /dev/sda1 or /dev/sda2 etc as these devices don't exist as far as I can tell?

Any gurus out there that can help me?

Thanks
 
Old 06-22-2004, 03:27 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you'll need certain modules to be loaded in order for it to be correctly recognised, suitable candidates include sr_mod, uhci_hid i *think* but if you do an lsmod on Suse if it's still around you'll be able to see what modules rely on the others just fine.
 
Old 06-22-2004, 03:39 PM   #3
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
So you've tried doing a mount -t vfat /dev/sda1 /mnt/usbpen?
 
Old 06-22-2004, 04:32 PM   #4
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks for the replies.

>> So you've tried doing a mount -t vfat /dev/sda1 /mnt/usbpen? <<
Yep. All I get is special device /dev/sda1 does not exist...which is not surprisingly considering there is no /dev/sda1 device.

acid_kewpie: I couldn't find those kernel options in gconfig. Any idea where they lurk? I've tried enabling MTD support and MTDCFI but no joy.

Any more ideas anyone?
 
Old 06-22-2004, 05:26 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
the modules you need are scattered around the palce as they do different things, you need usb mass storage support (so in USB somewhere) but the device is identified on the scsi bus, i.e /dev/sdXY so requires those....
 
Old 06-22-2004, 05:39 PM   #6
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
My usb flash drive is detected as /dev/hdb1, you might want to try mounting that
 
Old 06-22-2004, 06:33 PM   #7
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
>> the device is identified on the scsi bus <<

Even with Kernel 2.6.7? Aha...that might explain something...I've seen the following two errors during startup:

fatal: ide_scsi not found
fatal: agpgart not found

(the agpgart error might explain some strange x problems with the NVIDIA drivers)

Thanks I'll check it out.
 
Old 06-22-2004, 08:20 PM   #8
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
I thought no scsi emulation is necessary.. or does it only apply to cd writers?
 
Old 06-23-2004, 03:58 AM   #9
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Yep looks like SCSI support is required. Recompiled the kernel with SCSI suuport and enabled SCSI_Emulation and I can now see my USB pen on /dev/sda1 and mount on /mnt/usbpen!

(Oh and I removed MTD support as this wasn't required)

Thanks a lot for the pointers

Last edited by wellmt; 06-23-2004 at 04:00 AM.
 
Old 06-23-2004, 07:43 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
This isn't related to scsi emulation, that's, as you say for ide cd wriiters. but usb pen's are ide in the first place... all usb devices i've used like this are identified as scsi. i don't know much about the technology involved, but i'd guess it's likely that they actaully do use scsi interfaces, so while they aren't connected to a physcial scsi bus, they are real scsi devices.
 
Old 06-24-2004, 10:26 PM   #11
HuMJohn
Member
 
Registered: Jun 2004
Location: California - home of Slackware
Distribution: Slackware
Posts: 59

Rep: Reputation: 15
I hope you compiled in support for usb-storage and have done a modprobe for usb-storage. Then you could mount your /dev/sda1 to wherever you want it to show up.

HuMJohn
 
Old 06-25-2004, 02:10 AM   #12
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Do: tail --lines=50 /var/log/messages
Plug in pen drive, see how kernel deals with it, in my case it was mounted to /dev/sda and I added: " /dev/sda /mnt/flash vfat noauto,user 0 0" to my fstab. Works great.
 
  


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
mount, Usb memory stick amer_58 Linux - Newbie 2 03-25-2005 05:44 AM
usb memory stick mount nadroj Linux - Hardware 10 01-13-2005 10:41 PM
How do you auto mount a USB memory stick ? KiwiPingu Linux - Newbie 1 07-29-2004 05:44 PM
Mount built in Memory Stick Drive -newbie- nlx Linux - Hardware 1 02-24-2004 07:05 PM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 02:49 PM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
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