LinuxQuestions.org
Help answer threads with 0 replies.
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 01-02-2006, 10:48 AM   #1
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Rep: Reputation: 15
kernel modules for usb support


Hi!!

I'm almost done trying to set up a brand new 2.6.14.3 kernel but today I realized that I cannot mount my pendrives (that work perfectly in my 2.4 kernel).
It seems to me that I've forgotten some options during my kernel compilation, I've enable:

[* ] SCSI device support
[* ] SCSI disk support
[* ] SCSI generic support

and
[M] USB mass storage support
(this one as a module because it seems I cannot include it inside the kernel)

What I'm missing?? (note: I've modprobed usb_storage)

my output (I google for it, but no clues were given...)
Quote:
deimos:~# mount -t vfat /dev/sda1 /mnt/pendrive
mount: /dev/sda1 is not a valid block device
Thanks in advance!!
 
Old 01-02-2006, 11:13 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
when I do a lsmod I see these modules listed: usbcore, usb_storage, ehci_hcd, uhci_hcd

I also have udev and HAL running on this machine which will auto mount the USB drives when they are inserted.

http://freedesktop.org/wiki/Software_2fhal

the ehci_hcd, uhci_hcd are the USB Host controllers as far as I can tell

Open a shell and type tail -f /var/log/messages before you plug in the USB device to see how the system is detecting it. when you plug it in the system messages from the log should be displayed.
it may not be sda1, for some reason it detects my first device as sdb1 but as long as it's working I won't argue.

Hope that helps..

Last edited by farslayer; 01-02-2006 at 11:20 AM.
 
Old 01-02-2006, 11:41 PM   #3
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
I used this site to help me get going...
http://www.debianhelp.org/Article3529.html
 
Old 01-04-2006, 06:10 AM   #4
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Original Poster
Rep: Reputation: 15
thanks for your directions, buddies. I got it to work. Module uhci-hcd (for usb 1.1 support) wasn't compiled
I'm looking foward for automounting now :-)

Thanks again for your time and input!!
 
  


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
Poor device support after kernel recompile - possible problem with modules? Dag Linux - General 1 08-04-2004 03:42 PM
Kernel 2.6.x usb scanner support jwjensen Linux - Newbie 2 04-01-2004 09:42 AM
kernel support for usb keyboard? Dsteve768 Slackware 2 09-21-2003 11:49 AM
kernel-2.4.21-pre4 usb modules brs Linux - General 0 02-07-2003 12:02 AM
Enabling USB mouse support in kernel 2.4 Craigwd Linux - Software 3 12-22-2001 05:43 PM

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

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