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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-06-2003, 01:28 PM
|
#1
|
LQ Newbie
Registered: May 2003
Posts: 28
Rep:
|
cdrom freezes linux
Hi
Ive recently installed redhat 9 (i was using redhat 8 previously) and ive encountered a problem. I was able to install redhat 9 from the iso's just fine, but now when i insert a cd the whole computer locks up. The mouse stops working, and i cant return to a command prompt by using ctrl+alt+backspace. The drive appears to keep seeking as the light remains on, and the eject button has no effect. The only way to get back control of the computer is to reset it.
The only errors i can find are in the dmesg log as follows:
hdc: CRD-8400C, ATAPI CD/DVD-ROM drive
hdc: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdc: set_drive_speed_status: error=0xb4
thanks
Simon
|
|
|
05-06-2003, 08:04 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
what does 'hdparm /dev/hdc' say?
|
|
|
05-07-2003, 11:55 AM
|
#3
|
LQ Newbie
Registered: May 2003
Posts: 28
Original Poster
Rep:
|
It returns:
/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument
Simon
|
|
|
05-07-2003, 09:22 PM
|
#4
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
" using_dma = 1 (on)" - does ur drive and IDE interface/mobo slot support DMA?
u can try disabling dma by:
hdparm -d0 /dev/hdc
and then retry using the CDROM drive.
|
|
|
05-08-2003, 06:11 AM
|
#5
|
LQ Newbie
Registered: May 2003
Posts: 28
Original Poster
Rep:
|
Great, that worked thanks.
Simon
|
|
|
05-08-2003, 06:18 AM
|
#6
|
LQ Newbie
Registered: May 2003
Posts: 28
Original Poster
Rep:
|
One more thing. This worked, then i rebooted, and the dma settings had returned to there previous settings. How can i make this a permanent change of settings?
thanks
Simon
|
|
|
05-08-2003, 07:43 AM
|
#7
|
LQ Newbie
Registered: May 2003
Distribution: GNU Linux Slackware
Posts: 18
Rep:
|
hdparm saving
Simply edit yours
/etc/rc.d/rc.M
or
/etc/rc.d/rc.local
or.
/"your home dirictory"/.profile
and add yours hdparm configurations like
hdparm -d 0
etc..
See You !

|
|
|
05-10-2003, 08:56 AM
|
#8
|
LQ Newbie
Registered: May 2003
Posts: 28
Original Poster
Rep:
|
That worked, thanks! on a more trivial note, the errors are still appearing in dmesg, which is obviously because dma is being disabled alot later in the reboot process. Is it possible to either disable those particular errors in the dmesg, or instruct linux to disable dma on hdc before it comes to generating the error.
thanks
Simon
|
|
|
05-11-2003, 08:46 AM
|
#9
|
Member
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323
Rep:
|
Maybe try disabling DMA on that drive in your BIOS?
Possibly linux gets its initial settings from there, although i'm not sure...
Have fun,
nukkel
|
|
|
05-11-2003, 09:12 AM
|
#10
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
Also, set this line in /etc/modules.conf:
options ide-cd dma=0
|
|
|
All times are GMT -5. The time now is 04:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|