LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2004, 10:32 AM   #1
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Rep: Reputation: 15
SDB1 IS NOT A VALID BLOCK DEVICE - CF reader help


my CF reader is giving me an error when i try to mount it, it says "/dev/sdb1 is not a valid block device"

now this jsut started happening about a week ago when i tried in a failed attempt to install the spca webcam drivers so i think i f*cked something up that way

how can i fix this?
 
Old 07-02-2004, 12:22 PM   #2
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
bump
 
Old 07-02-2004, 01:55 PM   #3
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
 
Old 07-02-2004, 02:42 PM   #4
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
 
Old 07-02-2004, 03:02 PM   #5
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
did you check you /etc/fstab usually when i get an error like that it is caused by something in the fstab getting messed up or not set right. If you could give us a run down of what you have tried so far we could have a better idea what to tell you to try.

Last edited by HenchmenResourc; 07-02-2004 at 03:03 PM.
 
Old 07-02-2004, 03:36 PM   #6
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
i looked at teh fstab and it said this for sdb1

"/dev/sdb1 /mnt/flash auto noauto,owner,kudzu 0 0"


i have no idea what that means

and i havent really tried anything cause i dont know what to do
 
Old 07-02-2004, 03:57 PM   #7
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
I'm assuming that the webcam you tried installing is a USB device my best guess would be that when you installed the webcam it changed where your CF card reader is plugged in. In which case may try changing the device in your fstab.

"/dev/sdb1 /mnt/flash auto noauto,owner,kudzu 0 0"

"/dev/sdb1" = device

"/mnt/flash" = mount point

"auto" = tells linux to automaticly determin the filesystem used on said device, if you know the file system you can declare it here ie. most CF cards for digital cameras use FAT, if auto works don't mess with this.

"noauto" = tells Linux Don't auto mount this filesystem on boot

the rest are owner permissions and such no need to mess with these unless you get an error that says you don't have permission to mount this device, than change "owner" to "users"


the one your interested in is the device (/dev/sdb1) you may try changing it to "/dev/sdb2" or "/dev/sdb3" you should see the pattern, you can put any number between 1 and 15 at the end though if this is what is causing your problem it will most likely be a low number ie. 2 or 3.

secondly if you use an icon on your desktop to mount the CF card you will need to change the icon to point at the new device. It would most likely be good to try manually mounting the device first until you find the correct device than change the link on your desktop.

Also make sure you are logged in as root so that you have permission to make changes in fstab.

what disrtibution are you using some distros have graphical tools that can help you.

hope this helps, if not let us know and maybe someone else will have another idea.

Last edited by HenchmenResourc; 07-02-2004 at 04:02 PM.
 
Old 07-02-2004, 05:01 PM   #8
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
i tried changing the sdb to a different number, got same message

im using red hat 9.0

i dont what how bad i f*cked it up but those webcam drivers messed up somethign
 
Old 07-02-2004, 05:45 PM   #9
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
anyone got any ideas?
 
Old 07-02-2004, 08:12 PM   #10
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
......................................
 
Old 07-02-2004, 09:08 PM   #11
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
ive GOTTA GET THIS FIXED MY DIGITAL CAMERA IS ALMOST USELESS NOW
 
Old 07-06-2004, 06:30 PM   #12
woodo
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
still havent gotten it fixed
 
Old 07-07-2004, 09:52 AM   #13
teks
LQ Newbie
 
Registered: Jul 2004
Location: userspace
Distribution: debian
Posts: 1

Rep: Reputation: 0
Lightbulb

Can I offer a suggestion? If you want help, you've got to learn how to ask for it properly. This kind of thing:

Quote:
ive GOTTA GET THIS FIXED MY DIGITAL CAMERA IS ALMOST USELESS NOW
is counterproductive at best.

Believe me, I understand how irritating it can be when the thing you want won't work and you can't figure out why, and no one seems to want to help you. But try putting yourself in the shoes of someone reading your post. At first you provide almost no information about what's going on, and it looks very much like you don't want to know in the first place. Then, when someone tries to help you, instead of thanking them for their long, very explanatory and very helpful post (which you could've easily taken from the web or from your own system's man pages and other internal documentation), you post a very terse, vague message about using "a different number" and how it didn't work. Then you demand more help.

Try not to have kneejerk reactions when you get frustrated. You can see in your mind how it can only impair your thinking, can't you? Instead, look up documentation, read a bit, google for your problem.

Linux people have very little patience for those not willing to help themselves. This is very much a do-it-yourself community, and you have to be fertile ground for the seeds of help people are willing to plant. Linux users and admins are also notoriously busy, so they don't have time to coddle you.

You have to be willing to learn, willing to take the time to actually understand your system. You're basically wasting your time (and ours) if you insist on begging for help without actually taking the time to try to figure things out for yourself.

Here's my take: Assuming nothing is outright broken, when you installed the new drivers, the scsi subsystem in the kernel probably reassigned the various /dev/sd<alpha><number> entries because now new devices are being discovered, possibly in a different order than what they were before. Assuming you have a 2.4 series kernel (which you should, given RH9, run uname -a for reassurance), this document will help you get to know your system better:

http://tldp.org/HOWTO/SCSI-2.4-HOWTO/

It tells you how to discover which device fits with which /dev/sd* entry. Take the time to figure it out for yourself, and come to the community if you're really stumped. Why do you think all these helpful people wrote the documents in the first place?

-t
 
  


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
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
mount: /dev/sdb1 is not a valid block device zaltar Linux - General 8 07-13-2005 02:07 AM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 09:59 PM
CDROM: not a valid block device? Linux~Powered Linux - Software 5 01-26-2004 12:50 PM
USB CF Card Reader/Write not a valid block device cromwell Linux - Hardware 10 01-06-2004 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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