LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-25-2007, 01:17 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Need help mounting a flashdrive on Sid


As I remember, it used to use /dev/sd1

But now, I don't seem to have anything /dev/sd*

I am running IceWM.

I installed: udev, usbutils, usbmount, pmount, usbview.

I have a USB mouse, and that works fine.

Any insight about how debian view usb would be appreciated.

# dmesg | grep -i usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
usb 1-1: new low speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: Cypress Sem PS2/USB Browser Combo Mouse as /class/input/input1
input: USB HID v1.00 Mouse [Cypress Sem PS2/USB Browser Combo Mouse] on usb-0000:00:07.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
 
Old 10-25-2007, 01:40 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Once you plug it in, try fdisk -l as root to see whether the drive was recognized. It should be /dev/sda (or sdb, sdc, etc).
 
Old 10-25-2007, 01:43 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Are the appropriate modules loaded ?

Code:
it-etch:~# lsmod | grep usb
usb_storage            71840  0
scsi_mod              124168  5 sg,usb_storage,sd_mod,ahci,libata
usbhid                 37248  0
ide_core              110504  5 usb_storage,ide_generic,ide_cd,generic,atiixp
usbcore               112644  5 usb_storage,usbhid,ehci_hcd,ohci_hcd
Is the USB drive identified when you plug it in ?

Code:
it-etch:~# tail -f -n2 /var/log/messages  - Run this command BEFORE plugging in the drive
Oct 25 14:09:43 it-etch -- MARK --
Oct 25 14:29:43 it-etch -- MARK --
Oct 25 14:36:30 it-etch kernel: usb 6-7: new high speed USB device using ehci_hcd and address 6
Oct 25 14:36:30 it-etch kernel: usb 6-7: configuration #1 chosen from 1 choice
Oct 25 14:36:30 it-etch kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Oct 25 14:36:35 it-etch kernel:   Vendor: USB 2.0   Model: Flash Disk        Rev: 1100
Oct 25 14:36:35 it-etch kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Oct 25 14:36:35 it-etch kernel: SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
Oct 25 14:36:35 it-etch kernel: sdb: Write Protect is off
Oct 25 14:36:35 it-etch kernel: SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
Oct 25 14:36:35 it-etch kernel: sdb: Write Protect is off
Oct 25 14:36:35 it-etch kernel:  sdb: sdb1
Oct 25 14:36:35 it-etch kernel: sd 6:0:0:0: Attached scsi removable disk sdb
Oct 25 14:36:35 it-etch kernel: sd 6:0:0:0: Attached scsi generic sg1 type 0
Code:
it-etch:~# fdisk -l

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         851     6835626   83  Linux
/dev/sda2             852       19452   149412532+   5  Extended
/dev/sda5             852        1181     2650693+  82  Linux swap / Solaris
/dev/sda6            1182       19452   146761776   83  Linux

Disk /dev/sdb: 2029 MB, 2029518848 bytes
255 heads, 63 sectors/track, 246 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         246     1975963+   6  FAT16

you can also look to see if the USB sub-system can identify the drive.. .
Code:
it-etch:~# lsusb
Bus 006 Device 006: ID 090c:1000 Feiya Technology Corp. Memory Bar
Bus 006 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 005: ID 413c:2003 Dell Computer Corp.
Bus 002 Device 004: ID 0557:7000 ATEN International Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
That should give you a start in tracking down what is missing.. and what the system can see.
 
  


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
Yet another USB Flashdrive Mounting Question - Memorex LALizzie Linux - General 2 11-18-2006 09:35 AM
USB flashdrive not mounting dh2k Slackware 5 11-17-2006 06:09 AM
Problems mounting USB flashdrive gustavderdrache Linux - Hardware 6 03-18-2006 12:49 PM
I need help mounting my flashdrive BajaNick Linux - Hardware 5 04-16-2005 01:59 PM
Mounting a USB flashdrive under Gentoo. uman Linux - Hardware 1 12-25-2004 07:35 PM

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

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