LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-08-2005, 01:34 PM   #1
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Microadvantage USB Flash drive not creating sda


I just bought a USB flash drive that advertised linux compatibility. When I plug it in, dmesg recognizes it like this:
Code:
usb 1-5: new high speed USB device using address 4
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: USB       Model: Flash Disk        Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
USB Mass Storage device found at 4
The proper modules, I believe, are loaded per lsmod:
Code:
[root@slackdell /home/scuzzy]$ lsmod
Module                  Size  Used by
usb_storage            63072  -
ipv6                  219008  -
ipt_MASQUERADE          2632  -
ipt_limit               1608  -
ipt_REJECT              5480  -
ipt_LOG                 5896  -
ipt_state               1256  -
iptable_mangle          1896  -
iptable_filter          1928  -
ip_conntrack_irc       70288  -
ip_nat_ftp              3984  -
iptable_nat            20488  -
ip_conntrack_ftp       71152  -
ip_conntrack           38356  -
ip_tables              13952  -
ohci_hcd               17452  -
intel_agp              18888  -
uhci_hcd               27800  -
ehci_hcd               25132  -
usbcore                98212  -
8250_pci               16104  -
8250                   16928  -
serial_core            17704  -
8139too                20936  -
b44                    17676  -
evdev                   7072  -
ide_scsi               13356  -
scsi_mod               62180  -
snd_seq_oss            31296  -
snd_seq_midi_event      5576  -
snd_seq                46128  -
snd_pcm_oss            45896  -
snd_mixer_oss          16552  -
snd_intel8x0           28296  -
snd_ac97_codec         67120  -
snd_pcm                78376  -
snd_timer              19212  -
snd_page_alloc          7248  -
snd_mpu401_uart         5640  -
snd_rawmidi            18596  -
snd_seq_device          6288  -
snd                    44100  -
soundcore               6400  -
agpgart                27080  -
[root@slackdell /home/scuzzy]$
and lsusb shows the device
Code:
[root@slackdell /home/scuzzy]$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0
Bus 001 Device 001: ID 0000:0000
[root@slackdell /home/scuzzy]$
But still it will not create /dev/sda so I can mount it... am I missing something?
 
Old 04-09-2005, 09:08 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,185

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
I do not see the sd_mod module loading.

Try the command:
modprobe sd_mod
 
Old 04-09-2005, 10:58 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
I tried to modprobe sd_mod and got this:
Code:
FATAL: sd_mod not found
I took a look at my /usr/src/.config and found this, I may have to rebuild the kernel:
Code:
#
CONFIG_SCSI=m
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set

Last edited by scuzzman; 04-09-2005 at 11:05 AM.
 
Old 04-09-2005, 01:33 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,185

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Try
modprobe sd-mod
 
Old 04-09-2005, 06:25 PM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
Same result - not found. Think I might need to recomplile the kernel and add this in
Code:
# CONFIG_BLK_DEV_SD is not set
??
 
Old 04-09-2005, 06:29 PM   #6
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Rep: Reputation: 30
Hey thanks alot! I haven't tried it yet though because I have to re-compile my kernel. What do I set in the kernel config? --edit -- nevermind i got it

Also what other modules should me 'modprobed'?

Do i have to modprobe <blah> after every reboot? or will the module/s load automatically when I load boot-up?

Last edited by houler; 04-09-2005 at 06:31 PM.
 
Old 04-09-2005, 06:32 PM   #7
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Rep: Reputation: 30
Quote:
Originally posted by scuzzman
Same result - not found. Think I might need to recomplile the kernel and add this in
Code:
# CONFIG_BLK_DEV_SD is not set
??

yeah set that to "CONFIG_BLK_DEV_SD=m"
 
Old 04-09-2005, 06:59 PM   #8
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Rep: Reputation: 30
Ok I got it to work, thanks guys!
 
Old 04-11-2005, 04:31 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
This did it!
Thanks
 
  


Reply


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
Mount usb if hard drive is mounted in sda nifflerX Linux - General 1 10-05-2005 02:51 PM
Creating/restoring drive image on USB drive OneSeventeen Linux - Newbie 9 07-06-2005 05:08 AM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 02:45 PM
USB flash drive crazyking Linux - Newbie 1 05-17-2004 11:25 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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