LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-06-2003, 01:28 PM   #1
thelight1
LQ Newbie
 
Registered: May 2003
Posts: 28

Rep: Reputation: 15
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
 
Old 05-06-2003, 08:04 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
what does 'hdparm /dev/hdc' say?
 
Old 05-07-2003, 11:55 AM   #3
thelight1
LQ Newbie
 
Registered: May 2003
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 05-07-2003, 09:22 PM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
" 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.
 
Old 05-08-2003, 06:11 AM   #5
thelight1
LQ Newbie
 
Registered: May 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Great, that worked thanks.

Simon
 
Old 05-08-2003, 06:18 AM   #6
thelight1
LQ Newbie
 
Registered: May 2003
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 05-08-2003, 07:43 AM   #7
belial
LQ Newbie
 
Registered: May 2003
Distribution: GNU Linux Slackware
Posts: 18

Rep: Reputation: 0
Thumbs up 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 !
 
Old 05-10-2003, 08:56 AM   #8
thelight1
LQ Newbie
 
Registered: May 2003
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 05-11-2003, 08:46 AM   #9
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
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
 
Old 05-11-2003, 09:12 AM   #10
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Also, set this line in /etc/modules.conf:

options ide-cd dma=0
 
  


Reply



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
fedora core 2 (FC2) freezes while running. Cannot boot into KDE it freezes mraswan Fedora 0 05-25-2004 07:46 PM
need help linux freezes kennabira Linux - Software 12 04-19-2004 06:21 PM
Linux Freezes! ASCULAP Linux - Newbie 5 03-27-2004 07:40 AM
cdrom mount freezes NSKL Linux - Software 11 05-15-2002 03:52 PM
REdHat 7.2 freezes with cdrom U. Elias Linux - General 1 01-17-2002 05:50 AM

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

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