LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-25-2002, 06:42 AM   #1
joesecone
LQ Newbie
 
Registered: Feb 2002
Location: mars, pa
Distribution: redhat7.2
Posts: 4

Rep: Reputation: 0
sda is not a valid block device


i am trying to install a usb mass storage device
i correctly installed it and had it working, but changed
computers. i used the same harddrive, but
completely reinstalled linux.

i reinstalled redhat 7.3 on a duran 950 / aopen ak73 machine
i installed everything
everything works. i can mount the floopy and cdrom

i mounted the usbhd using the same method that worked
previously. i get the message 'sda is not a valid block device'

i installed using the
usb howto
i checked to see that the kernal had
usb-uhci and usbcore
i added the sub dir
/mnt/sda
i added to /etc/fstab
/dev/sda /mnt/usbhd auto defaults 1 2
i used the mount command
mount /mnt/usbhd
i also tried the command
mount /dev/sda
i also tried the kde mount
command. all three gave the same error code.
i checked /dev/ and saw a file
sda that is a block device file

i would appreciate any help. thank you.
 
Old 07-25-2002, 08:00 AM   #2
ronin24
Member
 
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
As the harddrive is loaded as a scsi drive dont you need too load scsi support also?
 
Old 07-25-2002, 11:24 AM   #3
joesecone
LQ Newbie
 
Registered: Feb 2002
Location: mars, pa
Distribution: redhat7.2
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for you comments

i check to see that scsi support was in the
kernal, but since i dont really know enough,
i would like to know how to check to make
sure that scsi support is turned on.
 
Old 07-25-2002, 12:53 PM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
I don't know how helpful this will be, But try
ksyms | grep scsi

If you can see the symbols containing "scsi" in their name, mostly it is supported.
If not try
modprobe scsi_mod
But you might still need to load some specific modules ( I am not too sure about it).
--Sarin
 
Old 07-25-2002, 06:21 PM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
I believe that you'd need to do the following:
modprobe usb-ohci (or usb-uhci)
modprobe usb-storage
ls /dev/sd* -l

and there should be a listing of /dev/sda1.

The usb harddisk is likely to have at least 1 partition on it, so would you not need to mount that rather than the disk itself (mount /dev/sda1 rather than /dev/sda)?

Just a thought...
 
Old 07-29-2002, 11:12 AM   #6
joesecone
LQ Newbie
 
Registered: Feb 2002
Location: mars, pa
Distribution: redhat7.2
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for your comments
i have tried all of the above and
more
no change
 
Old 07-29-2002, 11:22 AM   #7
ronin24
Member
 
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
Maybe this can help you http://www.linux-usb.org/USB-guide/x498.html
 
Old 07-29-2002, 06:22 PM   #8
joesecone
LQ Newbie
 
Registered: Feb 2002
Location: mars, pa
Distribution: redhat7.2
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for that last idea. i didnt get a
chance to try it, because it now works.

i reinstalled rehat 7.3 and installed everything.
i mean everything.

not a really good method, but it worked.
i made no other corrections.

thanks again to everyone who helped.
 
  


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
/dev/sda is not a valid block device C++ Linux - Hardware 23 03-24-2008 10:07 AM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
fd0 not a valid block device jdtiede Linux - Software 5 04-09-2004 07:25 AM
RedHat 8.0 valid block device ?? Tuzinor Linux - Hardware 0 02-09-2003 07:46 PM
cdrom not a valid block device moon69 Linux - General 2 01-18-2003 01:31 PM


All times are GMT -5. The time now is 03:06 PM.

Main Menu
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