LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-22-2005, 01:08 PM   #1
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 15
Can't mount cdrom any more.


I've been able to mount CDs fine until recently, and now I can't at all. When I type
Code:
mount /mnt/cdrom
I get an error:
Code:
mount: /dev/hdb is not a valid block device
/dev/hdb is my cdrom drive.

I think it might have something to do with a kernel module, since I've been fidling around with them recently...but I'm not sure what to do. Any suggestions?
 
Old 03-22-2005, 01:20 PM   #2
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
Could you please post the output of 'lsmod', 'uname -r', and 'cat /proc/ide/hdb/model'?

Also, if your harddrive is hda, I would recommend putting your CD-ROM on the other IDE channel on your motherboard. IDE can only go as fast as the slowest device on the chain, and that's usually the CD-ROM. By putting the HDD and CD-ROM on seperate IDE channels, each is able to operate at maximum speed.
 
Old 03-22-2005, 01:31 PM   #3
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Original Poster
Rep: Reputation: 15
lsmod:
Code:
Module                  Size  Used by    Tainted: P
snd-pcm-oss            37736   1
snd-mixer-oss          12504   2 [snd-pcm-oss]
usb-ohci               19240   0 (unused)
ehci-hcd               17580   0 (unused)
forcedeth               9164   1
snd-intel8x0           18924   4
snd-ac97-codec         49500   0 [snd-intel8x0]
gameport                1420   0 [snd-intel8x0]
snd-pcm                56072   0 [snd-pcm-oss snd-intel8x0]
snd-timer              13604   0 [snd-pcm]
snd-page-alloc          6328   0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3200   0 [snd-intel8x0]
snd-rawmidi            12740   0 [snd-mpu401-uart]
snd-seq-device          3888   0 [snd-rawmidi]
snd                    30852   1 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   4 [snd]
nvidia               3642236   6
joydev                  5888   0 (unused)
keybdev                 2052   0 (unused)
mousedev                4212   0 (unused)
hid                    21220   0 (unused)
input                   3200   0 [joydev keybdev mousedev hid]
usbcore                59308   1 [usb-ohci ehci-hcd hid]
agpgart                43940   3
apm                     9580   2
uname -r:
Code:
2.4.26
cat /proc/ide/hdb/model:
Code:
LITE-ON COMBO SOHC-5232K
 
Old 03-24-2005, 02:26 PM   #4
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Original Poster
Rep: Reputation: 15
*bump* Can you still help me?
 
Old 03-24-2005, 06:07 PM   #5
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
Take a look at /boot/config and look at the values of CONFIG_BLK_DEV_IDESCSI and CONFIG_BLK_DEV_IDECD. If they're both equal to 'y', then I have no idea how to help you. If either of them is set to 'm' then you need to load the respective module, ide-scsi or ide-cd respectively. If this solves the problem you need to make sure the module gets loaded at boot-up.

The other possible problem is one with the node in /dev. To check this do 'ls -l /dev/hdb'.

It should return something like 'brw-rw---- 1 root disk 3, 64 2005-03-24 09:46 /dev/hdb'. If it starts with anything other than b, then you need to replace the node.

Also, just for kicks, why don't you post your fstab.
 
Old 03-24-2005, 06:29 PM   #6
skaven
LQ Newbie
 
Registered: Mar 2005
Location: College Station, TX
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Well if your fstab is mounting "/dev/hdb", then you're not using ide-scsi, at least not to do normal read operations (I recommend using ide-scsi if you're going to be doing any cd burning, however).

Thus don't worry about the ide-scsi stuff just yet.

Since the output of cat /proc/ide/hdb/model is showing a model number, then that means that the kernel "knows" your drive is there. It actually was able to access it on the IDE bus and read the model number. This is good.

This means one of two things:

1. the actual device node could be corrupt, as noted by Iztac.

2. your CD-ROM is being flaky and has decided to quit reading CDs.

I'd bet on the second one before the first, unless you've been doing something as root recently in /dev...
 
  


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 refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
I can't mount CDROM dxtr Linux - Hardware 8 06-23-2004 09:21 PM
Cannot Mount Cdrom? bobr Linux - General 1 05-08-2004 03:29 PM
cdrom mount....no really :) jhorvath Slackware 7 01-04-2003 09:23 PM
cannot mount cdrom athenerx Linux - Newbie 2 03-27-2002 03:36 AM

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

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