Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-02-2005, 04:44 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 24

Rep: Reputation: 15
where is SCSI/SDA device ?


I am using slackware 10.1 with my own Kernel2.6.11.10 and I want to know how to build SCSI/SDA devices because I want to mount USB flash disk. There are nothing scsi under /dev directory.

Note that the kernel see my USB flash disk when I type dmesg.

Last edited by intmail; 09-02-2005 at 04:46 AM.
Old 09-02-2005, 05:51 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,934

Rep: Reputation: 128Reputation: 128
You shouldn't have a scsi entry in /dev for the flash disk. It uses USB mass storage.
What does "dmesg" output for the flash disk? If similar:
usb 2-2: USB disconnect, address 2
hub 1-0:1.0: over-current change on port 2
usb 1-3: new high speed USB device using ehci_hcd and address 4
usb 2-2: new low speed USB device using ohci_hcd and address 3
input: USB HID v1.10 Mouse [Microsoft Microsoft Wireless Intellimouse Explorer® 1.0A] on usb-0000:00:13.0-2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
ub: sizeof ub_scsi_cmd 68 ub_dev 2384 ub_lun 140
usbcore: registered new driver ub
  Vendor: Generic   Model: STORAGE DEVICE    Rev: 1.25
  Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
 sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
then you only need to mount it, and it's given you the device name. Note that I have:
/dev/sda1 /mnt/hd vfat noauto,users,rw,umask=1000 0 0
in my /etc/fstab file.
mingdao@titus:~$ mount /mnt/hd
mingdao@titus:~$ ls -alh /mnt/hd
total 80M
drwxrwxrwx  2 mingdao users 2.0K 1970-01-01 07:00 ./
drwxr-xr-x  5 root    root   120 2002-03-16 15:34 ../
-rwxrwxrwx  1 mingdao users  77M 2005-08-25 23:38 OOo_1.1.4_LinuxIntel_install.tar.gz*
-rwxrwxrwx  1 mingdao users 1.2K 2005-08-31 13:27 ifconfig*
-rwxrwxrwx  1 mingdao users 3.4M 2005-08-25 23:32 k3b-0.11.23-i486-1.tgz*
-rwxrwxrwx  1 mingdao users 3.4K 2005-08-31 13:26 rc.inet1.conf*
-rwxrwxrwx  1 mingdao users   28 2005-08-31 11:25 resolv.conf*
-rwxrwxrwx  1 mingdao users  177 2005-08-31 13:26 route*
You must setup the mount point and have proper permissions.
If you don't have similar output in dmesg, then you probably need
USB mass storage compiled into your kernel.

If this didn't help you, please post your dmesg output, and the output
of "cat build/linux- | grep USB" where build/linux-
points to your kernel config file.
Old 09-02-2005, 05:57 AM   #3
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
If you do not have USB mass storage support compiled in /dev/sr0 (srX something) should still appear - generic scsi device.
With mass storage driver also /dev/sd0 or /dev/sda block device should appear.


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
/dev/sda is not a valid block device C++ Linux - Hardware 23 03-24-2008 10:07 AM
no sda device and cedega trouble Nihongoga Slackware 2 12-21-2004 02:15 PM
new device sda? thought this was the floppy GoinEasy9 Linux - General 4 04-04-2004 10:29 PM
unmounting sda device jogurt666 Linux - Hardware 2 01-07-2004 12:29 PM
sda is not a valid block device joesecone Linux - Hardware 7 07-29-2002 06:22 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration