Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to access cdrom

Status
Not open for further replies.

SnapJack

Programmer
Aug 6, 2001
25
SG
Hi.
Well i am a newbie to linux.I managed to install red hat linux 7.1.Initally i had problems with this but then managed to install with the no DMA option.
Now the problem comes up wen i try to access my cdrom.
My machine hangs and i am forced to restart my machine.
I refered to the excore website and this what i got to know
**********************************************************
Q. Whew, I disabled DMA with "ide=nodma" and the install completed! But now I seem to be having problems while running normally? Is this also DMA related?
A. Most probably yes as the "ide=nodma" option does not disable DMA permanently - it only disables DMA for the current session.
Q. So how do I disable DMA permanently?
A. Depending on how the CDROM drive has been physically connected to your system, add one of these lines to /etc/rc.d/rc.sysinit:
/sbin/hdparm -d0 /dev/hdb # Add this if your CDROM is on primary slave
/sbin/hdparm -d0 /dev/hdc # Add this is your CDROM is on secondary master
/sbin/hdparm -d0 /dev/hdd # Add this if your CDROM is on secondary slave

If you are unsure about the CDROM device id, the "dmesg" output will have it:
~# dmesg|grep CD
hdc: ATAPI 48X CDROM, ATAPI CD/DVD-ROM drive
hdc: ATAPI 48X CD-ROM drive, 128kB Cache,
UDMA(33) Uniform CD-ROM driver Revision: 3.12

In this case, CDROM drive is /dev/hdc.
********************************************************
well i did try the above option but all in vain.
i continued to have the same problem..
Please help me out..
 
Hi,

What do you get on your system from the command :

cat /var/log/dmesg | grep CD

and

cat /proc/ide/hdb/settings

(assuming its /dev/hdb - change if different)

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top