LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 08-06-2008, 05:00 PM   #1
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: 15
Question USB drive works on DSL, not DSL-N. DSL-N has kernel 2.6.12


So, I plug in my USB drive, check dmesg, and get this:
Code:
usb 1-1: new full speed USB device using uhci_hcd and address 3
Yummy! Right? Wrong. I can't mount it.

I try fdisk -l, and only see my hda1.

I ls /dev/sd* and none are lit up as available. (Colored ls)

mount /dev/sda1 /mnt/sda1 gives me:
Code:
mount: /dev/sda1 is not a valid block device
What's up with this? It worked fine in DSL, which was on the 2.4 kernel.
 
Old 08-07-2008, 12:29 PM   #2
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Solution

For my situation, DMESG was posting that the USB was inserted, but nothing about loading it as a drive.

I found a post that suggested this:
Code:
sudo modprobe usb_storage
After that DMESG posted:
Code:
usb-storage: device found at 2
...
SCSI device sda: ...
sda:...
 sda: sda1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
I was then able to mount the drive.

To keep this permanent, I created a file called local in /etc/init.d/
Code:
#!/bin/bash
modprobe usb_storage
I set it to executable:
Code:
chmod +x local
and now I can mount any time I need to.

I hope this helps somebody else.
 
  


Reply

Tags
dsl, usb


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
Loaded DSL - unable to boot DSL, only win98 freykatt Linux - Newbie 3 04-10-2007 10:00 PM
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 07:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 10:20 PM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 03:04 AM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 05:09 AM


All times are GMT -5. The time now is 10:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration