LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-28-2004, 10:06 PM   #1
khaidottk
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian "Sarge"
Posts: 4

Rep: Reputation: 0
Sarge won't read USB drive correctly


Hi all. I'm having a problem with Sarge not reading my USB drive correctly. It detects it and when I open it I have 4 directories (labled 001,002,003,004) and a file called "devices". I was expecting pictures since this comes from the compact flash card my camera uses, here is a copy of /etc/fstab file-


Code:
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda3       /               reiserfs noatime         0       1
/dev/hda1       /boot           reiserfs notail,noatime  0       2
/dev/hda2       none            swap    sw              0       0
/dev/hdd        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/hdc        /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/sda        /media/usb0     auto    rw,user,noauto  0       0
/dev/hdb5       /mnt/windows       vfat    auto,users,rw,owner,exec,umask=000
I've tried changing the file system type from auto, usbfs, and vfat, and it's still not working. Any help would be greatly appreciated. Thanks!
 
Old 09-28-2004, 10:14 PM   #2
d0odman
Member
 
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
If that's the only scsi device you have, I think you need to change /dev/sda to /dev/sda1
 
Old 09-28-2004, 11:00 PM   #3
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
do a "tail -s 3 -f /var/log/messages", then plug in the usb device and watch to see which device the drive is enumerated to.

Last edited by zero79; 09-28-2004 at 11:02 PM.
 
Old 09-28-2004, 11:14 PM   #4
khaidottk
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian "Sarge"
Posts: 4

Original Poster
Rep: Reputation: 0
Code:
Sep 28 21:12:11 localhost kernel: usb 4-1: new full speed USB device using address 3
Sep 28 21:12:11 localhost usb.agent[4436]:      usb-storage: already loaded
Sep 28 21:12:11 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep 28 21:12:11 localhost kernel:   Vendor: Genesys   Model: USB to IDE Card   Rev: 0113
Sep 28 21:12:11 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Sep 28 21:12:11 localhost kernel: SCSI device sda: 500401 512-byte hdwr sectors (256 MB)
Sep 28 21:12:11 localhost kernel: sda: assuming Write Enabled
Sep 28 21:12:11 localhost kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
Sep 28 21:12:11 localhost kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Sep 28 21:12:12 localhost scsi.agent[4477]: disk at /devices/pci0000:00/0000:00:10.2/usb4/4-1/4-1:1.0/host1/1:0:0:0
Would it be /dev/scsi?
 
Old 09-28-2004, 11:20 PM   #5
khaidottk
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian "Sarge"
Posts: 4

Original Poster
Rep: Reputation: 0
It works!! Changed it to /dev/sda1, restarted, didn't work. Restarted again and it works now. Thanks for the help everyone!
 
  


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
usb flash drive always read-only flihp Linux - Hardware 2 11-12-2005 05:14 PM
How to Read USB drive in RH9 omeryasin Linux - Newbie 4 10-28-2005 10:59 PM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 01:48 AM
usb drive on Deb Sarge/2.6.10 mounting as msdos not vfat HalfDiminished Debian 9 02-22-2005 06:53 AM
read usb drive in redhat 9.0 ? wlaw Linux - Newbie 1 06-21-2004 06:50 AM

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

All times are GMT -5. The time now is 10:28 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