LinuxQuestions.org
Review your favorite Linux distribution.
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 09-26-2004, 06:58 PM   #1
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
/dev/cdrom1 not a valid block device.. K3b also fails to recognize ???


HI all,

I have a problem with writing cd's as i am unable to mount [/dev/cdrom1] Mitsumi Cd R/W and k3b also fails to recognize the presence of this drive ...

every time i put in a cd with data and try to mount it ,
it gives me this---->"/dev/cdrom1 not a valid block device.."


Last time i had it working in kernel 2.4.2 ... was also able to write cd's using k3b...
now i have kernel 2.6..


checked the hardware browser as well as [#kudzu -p] it tells me that my

[/dev/cdrom1]Mitsumi Cd r/w is /dev/hdd
[/dev/cdrom] Sony DVD R is /dev/hdc

this is my /etc/fstab entries for my sony dvd/r as well as mitsumi Cd r/w

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,users,kudzu,ro 0 0


Thanks in Advance............. Guys
 
Old 09-26-2004, 07:15 PM   #2
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
Are you getting this error as a standard user, or as root?
 
Old 09-26-2004, 07:48 PM   #3
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
i'm getting this as root as well as a standard user..


# ls -l cd*
lrwxrwxrwx 1 root root 8 Feb 12 2004 cdrom -> /dev/hdc
lrwxrwxrwx 1 root root 8 Jul 5 05:49 cdrom1 -> /dev/hdd
lrwxrwxrwx 1 root root 8 May 31 08:06 cdwriter -> /dev/sg0

these r the symbolic links present in /dev... if they could be of any help..
 
Old 09-26-2004, 08:03 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Have you tried editing fstab to mirror the output of kudzu -p so that /dev/hdd /mnt/cdrom1 and /dev/hdc mnt/cdrom to see if that works?
 
Old 09-26-2004, 09:05 PM   #5
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
i made the following changes to /etc/fstab

/dev/hdd /mnt/cdrom1 auto defaults 0 0

it didnt work ...

i tried

/dev/cdrom1 /mnt/cdrom1 auto defaults 0 0

No luck still !!!!!!!!!

this is the output of [#kudzu -p]

#kudzu -p

class: CDROM
bus: IDE
detached: 0
device: hdc
driver: ignore
desc: "SONY DVD-ROM DDU1611"
-
class: CDROM
bus: IDE
detached: 0
device: hdd
driver: ignore
desc: "CR-4804TE"
 
Old 09-26-2004, 09:07 PM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
try a `depmod -ae` as root
 
Old 09-26-2004, 09:25 PM   #7
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
thanks for all the suggestions..



tried #depmod -ae

it returned no output....


still waiting........
 
Old 09-26-2004, 10:14 PM   #8
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
it doesn't return any output. the problem's still there i assume.
 
Old 09-26-2004, 10:31 PM   #9
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
yes . the problem still exists...
 
Old 09-27-2004, 02:15 AM   #10
S_Warlock
Registered User
 
Registered: Feb 2004
Location: Sweden Södertälje
Distribution: Archlinux, crux and gentoo
Posts: 32

Rep: Reputation: 15
Are you shure that /dev/cdrom1 is the write path ?
Could it not be /dev/cdroms/cdrom1 ?
Can you mount you cdroms ? mount /dev/cdrom1 /mnt/cdrom (does it work)
If not do mount /dev/cdroms/cdrom1 /mnt/cdrom work ?

I think the problem is in you fstab.

The other thing is that you may have miss spelled in fstab.
Try:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,users,ro 0 0

Hope it will lead to something.

Last edited by S_Warlock; 09-27-2004 at 02:18 AM.
 
Old 09-27-2004, 10:32 AM   #11
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
Eureka!!!!!!!! i did it......

i changed my /etc/fstab to the following

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,users,owner,kudzu,ro 0 0

The real problem was with my ****grub.conf*****

My original grub.conf enty read like this

kernel /vmlinuz-2.6.6-1.435 ro root=LABEL=/ hdd=ide-scsi

I had to change it to...

kernel /vmlinuz-2.6.6-1.435 ro root=LABEL=/ hdd=ide-cd


The [ ide-cd ] did the trick !!

This is the problem if one made a transition from kernel 2.4 to kernel 2.6 on my Redhat 9 [2.6.6 kernel] .

Anyway.. once again thanks all of u guys out there for your suggestions....
 
  


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
/dev/cdrom is not a valid block device ukrainet Linux - Newbie 1 12-27-2004 04:29 AM
mount: /dev/cdrom1 is not a valid block device ludwig W Linux - Newbie 1 04-20-2003 05:47 AM
/dev/fd0 is not a valid block device allnight Linux - General 7 02-21-2002 08:42 PM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 01:14 PM

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

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