LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-08-2002, 03:34 PM   #1
reidstev
LQ Newbie
 
Registered: Nov 2002
Distribution: red hat 7.2
Posts: 4

Rep: Reputation: 0
Angry mounting cd-rom(not a valid block device)


I know there is a lot of questions on mounting cd-roms, but I am still stuck. PLEASE help me, as I am a complete newbie.

I'm running red hat 7.2. My hardware browser says the DVD is hdc. And it works in windows.

Ok, when I try to load anything from my cd-rom, I get the error message "not a valid block device"

When I input "dmesg|grep CD" i get:-
hdc: CREATIVE DVD-ROM DVD6240E, ATAPI CD/DVD-rom drive

but when I do "dmesg|grep -i ide" i get:-

BIOS-provided phsical RAM map:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz pci bus speed for PIO modes; overide with idebus=xx
PCI_IDE: unknown controler on PCI bus 00 device 79, VID 0e11, DID=ae33
PCI_IDE: chipset revision 10
PCI-IDE: not 100% native mode: will probe irqs later
ide0:BM-DMA at 0x1410-0x1417, BIOS settings: hdaMA, hdbio
ide2:BM-DMA at 0x1410-0x141f, BIOS stettings: hdcMA, hddMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0376 on irq 15
ide-floppy driver 0.97
ide floppy driver 0.97
EXT3 FS 2.4-0.98, 25 Aug 2001 on ide1(22,66) internal journal
EXT3 FS 2.4-0.98, 25 Aug 2001 on ide1(22,66) internal journal
ide-floppy driver 0.97
ide-floppy driver 0.97
ide-floppy driver 0.97

Now I don't know why some entries a there a couple of times. I don't know if the reason is that the drive is a DVD drive, but I just want to get it to work as a CD-ROM first. I can watch DVD's on my windows98 installation. I have LINUX on my cecond hard drive, hdd. When I had just win98, my second hard drive was made a slave. Do I have to put the jumpers bac to make it not a slave? does this matter, because LINUX is reading it ok.

here is my fstab aswell. any help will be great. Thanks

LABEL=/12 / ext3 defaults 1 1
LABEL=/boot12 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdd3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

Thanks in advance, Steven.

Last edited by reidstev; 11-08-2002 at 03:44 PM.
 
Old 11-08-2002, 03:42 PM   #2
reidstev
LQ Newbie
 
Registered: Nov 2002
Distribution: red hat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
test

Last edited by reidstev; 11-08-2002 at 03:46 PM.
 
Old 11-08-2002, 03:51 PM   #3
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
there was a bug in RH 7.2 that may (or may not) be causing this.
at the root prompt enter depmod -ae, then try to use your cdrom.
 
Old 11-08-2002, 03:53 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 259Reputation: 259Reputation: 259
As root type this command:

depmod -ae

Then try to mount your cd.

This has been mentioned alot, here is a link to post rshaw made a long time ago cause this was such a common question: http://www.linuxquestions.org/questi...&threadid=8460

[edited] Haha.. and rshaw beat me to it.. [/edited]

Last edited by trickykid; 11-08-2002 at 03:54 PM.
 
Old 11-10-2002, 12:41 PM   #5
reidstev
LQ Newbie
 
Registered: Nov 2002
Distribution: red hat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
Talking I got it!!!

Thanks for the replies, but I found a fix to the problem myself. All I had to do was add the line:- "alias cdrom /dev/cdrom" in my /etc/modules.conf file. I don't know how this worked, but it did, and I can now play cd-roms. Thanks again for your time to reply.
Reid.
 
Old 11-12-2002, 01:04 PM   #6
reidstev
LQ Newbie
 
Registered: Nov 2002
Distribution: red hat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
Lightbulb Wrong linux type

I said in my original post I was running Red Hat Linux 7.3. I'm not it's 7.2!!! Sorry for the confusion.
Reid
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 10:59 PM
Fedora Core 1 SCSI CD-ROM Won't Mount (always get "is not a valid block device") jerrykuch Linux - Hardware 2 04-18-2004 02:02 PM
Block Device and CD-Rom Mounting Alybyzrp Linux - Newbie 12 10-28-2003 08:45 AM
Can't mount cd-rom drive (not a valid block device) patrickdepingui Linux - Hardware 3 04-14-2003 12:39 PM

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

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