LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD-Rom reads/copies files slow. (https://www.linuxquestions.org/questions/linux-hardware-18/cd-rom-reads-copies-files-slow-263882/)

RoaCh Of DisCor 12-08-2004 12:12 AM

CD-Rom reads/copies files slow.
 
For some reason, both my CD-Rom and CD Burner copy files, and read folders and what not on cd's very slowely. When I copy files, it often times stalls forever. It doesn't do this in windows...so it must be a Linux Issue.

I use Slackware 10 with the 2.6.6 kernel.

Help apreciated, thanks.

-RoaCh

beaucoup 12-08-2004 01:10 AM

Perhaps DMA is off... check with the following command

/sbin/hdparm /dev/hdc

Where "hdc" is the actual device name of your cdrom.

You should get something that looks like this:
Code:

/dev/hdc:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 IO_support  =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly    =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument

The "using_dma" line should probably be 1 (on). If it's not, log in as root, and run this command:

/sbin/hdparm -d1 /dev/hdc

See if that improves your performance.

RoaCh Of DisCor 12-08-2004 01:12 AM

Here is my output.

/dev/hdd:
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 = 256 (on)
HDIO_GETGEO failed: Invalid argument


I will do that and see what happens :)

-edit

Oh...dma IS on...do the othrs need to be on? Does that matter?

beaucoup 12-08-2004 11:49 AM

No, the others shouldn't need to be on...

Is it the same CDs that are working in Windows and not in Linux?


All times are GMT -5. The time now is 02:24 PM.