Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-22-2004, 03:19 PM
|
#1
|
Member
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70
Rep:
|
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
|
|
|
06-22-2004, 03:27 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-22-2004, 03:39 PM
|
#3
|
Member
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230
Rep:
|
So you've tried doing a mount -t vfat /dev/sda1 /mnt/usbpen?
|
|
|
06-22-2004, 04:32 PM
|
#4
|
Member
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70
Original Poster
Rep:
|
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?
|
|
|
06-22-2004, 05:26 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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....
|
|
|
06-22-2004, 05:39 PM
|
#6
|
Member
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129
Rep:
|
My usb flash drive is detected as /dev/hdb1, you might want to try mounting that
|
|
|
06-22-2004, 06:33 PM
|
#7
|
Member
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70
Original Poster
Rep:
|
>> 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.
|
|
|
06-22-2004, 08:20 PM
|
#8
|
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:
|
I thought no scsi emulation is necessary.. or does it only apply to cd writers?
|
|
|
06-23-2004, 03:58 AM
|
#9
|
Member
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70
Original Poster
Rep:
|
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.
|
|
|
06-23-2004, 07:43 AM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-24-2004, 10:26 PM
|
#11
|
Member
Registered: Jun 2004
Location: California - home of Slackware
Distribution: Slackware
Posts: 59
Rep:
|
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
|
|
|
06-25-2004, 02:10 AM
|
#12
|
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:
|
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.
|
|
|
All times are GMT -5. The time now is 09:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|