Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

CD Rom Drive(s) not detected - can someone help me?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
nitemare2u
n00b
n00b
Posts: 17
Joined: Tue Oct 26, 2004 12:45 pm

CD Rom Drive(s) not detected - can someone help me?

  • Quote

Post by nitemare2u » Mon Nov 01, 2004 12:53 am

for some reason, gentoo won't recognize my two CD-drives - I dont know if they are SCSI or ATAPI or what - but heres some info on them.

The first one is an HP CD-Writer (2x) of the 7500 series,
and the seconf one is just a generic CD-Drive.

I just don't understand why they were detected during install - i mean SOMEHOW i had to install gentoo from CD lol

could someone help me with this?

EDIT: i believe this is a kernel problem - but when my comp boots up, and the kernel starts going - it DOES detect these - so would all i need to know is the directory of the cdrom drive? /mnt/cdrom dont work, there is no /dev/cdrom .. so i dont know
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Mon Nov 01, 2004 1:27 am

Try mounting /dev/hdc and /dev/hdd. Those are other links the IDE secondary master and slave. And mine are known as /dev/cdroms/cdrom0 and /dev/cdroms/cdrom1. So have you tried looking in the folder /dev/cdroms?

Edit: w00t I'm not a n00b anymore!
Last edited by donjuan on Mon Nov 01, 2004 1:41 am, edited 1 time in total.
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Top
nitemare2u
n00b
n00b
Posts: 17
Joined: Tue Oct 26, 2004 12:45 pm

  • Quote

Post by nitemare2u » Mon Nov 01, 2004 1:32 am

well i did that:

Code: Select all

tux root # mount /dev/hdc
mount: can't find /dev/hdc in /etc/fstab or /etc/mtab
and i looked in the fstab and it says

Code: Select all

/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
so i tried everything - any clues?
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Mon Nov 01, 2004 1:51 am

Sorry, I meant try this:

Code: Select all

mount /dev/hdc /mnt/cdrom
It won't be listed in fstab so you need to tell it where to mount.

Edit: One other thing, have you tried to mount the drive before? I'm just asking because you haven't told me that there's an error when you try mounting the drive. By default Linux doesn't mount your floppy and CD drives. So if you haven't done this, before going any further, try

Code: Select all

mount /mnt/cdrom
If you do want automount try using Ivman.
Last edited by donjuan on Mon Nov 01, 2004 2:00 am, edited 1 time in total.
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Top
nitemare2u
n00b
n00b
Posts: 17
Joined: Tue Oct 26, 2004 12:45 pm

  • Quote

Post by nitemare2u » Mon Nov 01, 2004 1:57 am

Alright - did that:

Code: Select all

tux root # mount /dev/hdc /mnt/cdrom
mount: you must specify the filesystem type
sorry - im still somewhat a n00b - so you might have to help me for a bit... :oops: :?
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Mon Nov 01, 2004 2:04 am

Try doing what I said in the edit in my earlier post, and also try changing your fstab like so:

Code: Select all

/dev/cdroms/cdrom0      /mnt/cdrom      auto         noauto,user,ro               0 0 
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Top
nitemare2u
n00b
n00b
Posts: 17
Joined: Tue Oct 26, 2004 12:45 pm

  • Quote

Post by nitemare2u » Mon Nov 01, 2004 2:09 am

in response to your edit:

Code: Select all

tux root # mount /mnt/cdrom
mount: special device /dev/cdroms/cdrom0 does not exist
and also - how would

Code: Select all

/dev/cdroms/cdrom0      /mnt/cdrom      auto         noauto,user,ro               0 0
change it if theres no dir called /dev/cdroms/cdrom0? just wondering, not bashing you or anything... - but ill try it.

EDIT: i tried it, and it still doesnt work, even after restarting the comp... infact i had to change it back - but all i need is that cd-directory! oh btw, i have 2.4.26 kernel because i wanted to have VMWARE working properly -- which it does up until i need the cd drive..
Last edited by nitemare2u on Mon Nov 01, 2004 2:47 am, edited 1 time in total.
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Mon Nov 01, 2004 2:40 am

I noticed you said you didn't have a directory called mount /mnt/cdrom but I wasn't certain about /mnt/cdroms, but I guess I'll completely forget about that directory now :). So next try this, and make sure you have a disc in the drive because all this is for nothing without that :P.

Code: Select all

mount -t auto /dev/hdc /mnt/cdrom
And if that doesn't work try

Code: Select all

mount -t iso9660 /dev/hdc /mnt/cdrom
Your drives are on the secondary master and slave IDE channel aren't they? If not we'll need to change from trying to mount hdc.
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Top
nitemare2u
n00b
n00b
Posts: 17
Joined: Tue Oct 26, 2004 12:45 pm

  • Quote

Post by nitemare2u » Mon Nov 01, 2004 2:50 am

donjuan wrote:

Code: Select all

mount -t iso9660 /dev/hdc /mnt/cdrom
OMG it worked! except i had to change it to hdd, but it worked!
Also, do you know anyway to do that automatically at startup?
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Mon Nov 01, 2004 3:06 am

It sounds like what you want is automount, so that whenever you put a CD in the drive you can automatically access it. It's sort of odd that Unix has been around for what? 30 years now? and only during the past few years we've gotten automount. Since you said you had a 2.4 kernel let's see if you have supermount. Go to the kernel configuration and then go here and enable supermount:

Code: Select all

File systems  --->
    Pseudo filesystems  --->
        <*> Supermount removable media support 
Of course you'll have to re-build your kernel. If that option is there continue form that step in this how-to. If not, tell me and we'll try something else.
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Top
nitemare2u
n00b
n00b
Posts: 17
Joined: Tue Oct 26, 2004 12:45 pm

  • Quote

Post by nitemare2u » Mon Nov 01, 2004 10:48 pm

donjuan wrote:

Code: Select all

File systems  --->
    Pseudo filesystems  --->
        <*> Supermount removable media support 
No - there is no option for that - but I DO remember checking automount... you know what? I dont care about it automatically doing it - i just want it to work with VMWARE...
Top
donjuan
l33t
l33t
User avatar
Posts: 760
Joined: Tue May 11, 2004 12:22 am
Location: At Uni

  • Quote

Post by donjuan » Tue Nov 02, 2004 4:48 am

Sorry, I have no experience with VMware, so all I could do is lead you down a bunch of paths hoping that one might work.
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Top
-valheru-
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 125
Joined: Wed Oct 26, 2005 11:37 am

  • Quote

Post by -valheru- » Mon Oct 31, 2005 11:00 pm

Acutally, I have the same problem and your suggestions worked. THANKS. However I don't have that option in my kernel either so should I change my fstab around? Take a peek. Thanks.

Code: Select all

# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1		/boot		ext2		noauto,noatime	1 2
/dev/hda3		/		ext3		noatime		0 1
/dev/hda2		none		swap		sw		0 0
/dev/cdroms/cdrom0	/mnt/cdrom	auto		noauto,user,ro	0 0
/dev/cdroms/cdrom1      /mnt/cdrom1     auto            noauto,user,ro     0 0
/dev/fd0		/mnt/floppy	auto		noauto		0 0

# NOTE: The next line is critical for boot!
proc			/proc		proc		defaults	0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
NVM, I just changed my cdroms to HDC and HDD in the fstab and it works fine now thanks again! !!!!
Top
Post Reply

13 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy