LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-05-2007, 12:09 AM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
USB drive mounting help needed


This is as far as I can get:

root@zootallaptop:/mnt/usb# dmesg | tail
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 1 port detected
usb 1-1.1: new full speed USB device using uhci_hcd and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access Corsair Flash Voyager 1.00 PQ: 0 ANSI: 0 CCS
usb-storage: device scan complete

My other stick gives this:

zoot@zootallaptop:~$ dmesg | tail
usb 1-1: USB disconnect, address 2
usb 1-1.1: USB disconnect, address 3
usb 1-2: new full speed USB device using uhci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver ub
scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
usb-storage: device scan complete


Based on the above info, can I mount this device? If so, how?

Last edited by Ook; 06-05-2007 at 12:11 AM.
 
Old 06-05-2007, 12:19 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
try
Code:
mount -t vfat /dev/sdaX /mnt/removable
(replace X with numbers, such as 1,2, or 3 depending on which ports you plugged your flash drive and create /mnt/removable first)
 
Old 06-05-2007, 12:27 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try 'blkid', it's a neat command ... for example if I plug in a USB thumb drive, it will show up on here and have filesystem type 'vfat'. Then mount it like willysr says.
 
Old 06-05-2007, 12:47 AM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by willysr
try
Code:
mount -t vfat /dev/sdaX /mnt/removable
(replace X with numbers, such as 1,2, or 3 depending on which ports you plugged your flash drive and create /mnt/removable first)
I tried those - none of them worked. Also tried sdb1/2/3, and sdc1/2/3. No joy
 
Old 06-05-2007, 12:48 AM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by H_TeXMeX_H
Try 'blkid', it's a neat command ... for example if I plug in a USB thumb drive, it will show up on here and have filesystem type 'vfat'. Then mount it like willysr says.
I don't seem to have blkid - what is it, where can it be found?
 
Old 06-05-2007, 02:25 AM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Ook
This is as far as I can get:

root@zootallaptop:/mnt/usb# dmesg | tail
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 1 port detected
usb 1-1.1: new full speed USB device using uhci_hcd and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access Corsair Flash Voyager 1.00 PQ: 0 ANSI: 0 CCS
usb-storage: device scan complete

My other stick gives this:

zoot@zootallaptop:~$ dmesg | tail
usb 1-1: USB disconnect, address 2
usb 1-1.1: USB disconnect, address 3
usb 1-2: new full speed USB device using uhci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver ub
scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
usb-storage: device scan complete


Based on the above info, can I mount this device? If so, how?
No. The device is does not have a device node associated with it.
The stock Slackware kernel should work fine.
 
Old 06-05-2007, 07:50 AM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Run these three commands as root. I use these to locate my USB SD memory card for my Nikon camera.

#rescan-scsi-bus

#fdisk -l

#blkid

That should help you to locate your device, then you can mount it.

Last edited by hitest; 06-05-2007 at 08:00 AM.
 
Old 06-05-2007, 08:31 AM   #8
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
As I see, you miss the sd_mod module. (CONFIG_BLK_DEV_SD)
 
Old 06-05-2007, 11:59 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you ever want to know where something is do:

Code:
whereis blkid
or 'whereis (whatever you want to look for)'

In this case it should be '/sbin/blkid'.
 
Old 06-05-2007, 08:05 PM   #10
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by H_TeXMeX_H
If you ever want to know where something is do:

Code:
whereis blkid
or 'whereis (whatever you want to look for)'

In this case it should be '/sbin/blkid'.
Ack. I think I was doing "where blkid". whereis found it. See, I told you I knew enough to be dangerous :P

Last edited by Ook; 06-05-2007 at 08:14 PM.
 
Old 06-05-2007, 09:03 PM   #11
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by pdw_hu
As I see, you miss the sd_mod module. (CONFIG_BLK_DEV_SD)
Bingo! It's called "SCSI Disk Support", so I didn't include it, thinking I did not have any SCSI disks. I enabled it, upgraded to 2.6.21.3 while was at it. Recompiled. Rebooting with new kernel....</holds breath>....
 
Old 06-05-2007, 10:03 PM   #12
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by pdw_hu
As I see, you miss the sd_mod module. (CONFIG_BLK_DEV_SD)
I had to recompile madwifi and the nvidia video drivers to get internet working, and KDE to work. Now I'm up and running with a 2.6.21.3 kernel, BLK_DEV_SD enabled, and Woohoo! USB sticks work!

Thank you everyone for your help. The problem was that I had omitted BLK_DEV_SD from my kernel, but the information others posted about how to troubleshoot this was valuable information also
 
  


Reply



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
What is needed for USB pen drive support? lali.p Slackware 3 04-20-2007 07:11 AM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
Mounting split raid drive as normal drive via USB William_Syd Linux - Newbie 2 11-01-2006 07:07 PM
USB drive mounting RohanShrivastav SUSE / openSUSE 10 06-08-2005 02:57 AM
Mounting my USB external drive, USB 1.1 Devillion Linux - Hardware 4 01-04-2004 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 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
Open Source Consulting | Domain Registration