LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   small doubt in k3b (https://www.linuxquestions.org/questions/fedora-35/small-doubt-in-k3b-586450/)

neelendhar 09-21-2007 08:09 PM

small doubt in k3b
 
while burnning cd/dvd with some speed say 24x

does this should be equall to the extimated writting speed (which shows while burnning the disc)

distro- FC6

recently i brought a new box with core2duo, 945 (simmtronics M.B), 1GB (simmtronics)RAM.

in my old box it takes to very less time burn a DVD around (10 min)
but now its taking nearly 1Hour ............ while burnning or simulating
it is showing (1.1X - 0.98x) in estimated writting speed ............................

what might be the problem ..........................


can some one help me ...............

puntjuh 09-21-2007 08:27 PM

I think DMA might not have been enabled! Check it!

First find out which one is your dvd burner:

dmesg | grep hd

you should get something like this:

Code:

    ide0: BM-DMA at 0xf400-0xf407, BIOS settings: hda:DMA, hdb:DMA
hda: TSSTcorpCD/DVDW SH-S182M, ATAPI CD/DVD-ROM drive
hdb: BENQ DVD-ROM 16X, ATAPI CD/DVD-ROM drive
    ide1: BM-DMA at 0x9c00-0x9c07, BIOS settings: hdc:pio, hdd:pio
    ide2: BM-DMA at 0x9c08-0x9c0f, BIOS settings: hde:pio, hdf:pio
hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
hdb: ATAPI 50X DVD-ROM drive, 512kB Cache<4>hdb: drive side 80-wire cable detection failed, limiting max speed to UDMA33

Now wether your dvd burner is hda,hdb or hdc/hdd, do the following:

hdparm /dev/hda

Now if it's off then enable it:

hdparm -d 1 /dev/hda

neelendhar 09-21-2007 09:08 PM

hi puntjuh

thaks for u r reply
o/p of :
dmesg |grep hd
Quote:

hdc: SONY DVD RW DW-Q120A, ATAPI CD/DVD-ROM drive
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
hdparm /dev/hdc
Quote:

/dev/hdc:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device

hdparm -d 1 /dev/hdc
Quote:

/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
is the estimated writting speed should be same as we select for burnning speed ?

puntjuh 09-22-2007 06:00 AM

Ok i see there are more things not ok. Try the following, hdparm should be run as root btw, but i think you know that.
Code:

hdparm -c 1 /dev/hdc  (TO turn on 32bit I/O)
Then:
Code:

hdparm -u 1 /dev/hdc    (TO turn on unmaskirq)
Then:
Code:

hdparm -d 1 /dev/hdc    (To turn on DMA).
If this doesn't work, then it's likely that you chipset for your IDE-bus hasn't been enabled in the bios.. Either totally disabled, or enabled as module, so you should attempt to load it's module and then try again the commands shown above.

neelendhar 09-22-2007 10:33 AM

hi puntjuh
thanks for that

once i entered into BIOS setup and i enbled SATA support for Hard disk

that all.

by defalut without setting any thing it enabled DMA for cd writer.

but for my hard disc it is like.

My hard disk is 160GB segate (/dev/sda)sata i think it is taking it as scsi disk
is it right or need some drivers for that ......

o/p hdparam

Quote:

hdparm /dev/sda

/dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 19457/255/63, sectors = 312581808, start = 0

this settings are ok or we should do any thing ..........

in my old box
harddisk is not sata but DMA is enabled

puntjuh 09-22-2007 10:55 AM

DMA for sata is enabled by default.

Quote:

If your disk is showing up as /dev/sda, then DMA is already enabled. No need to fiddle with it.

-ml
(hdparm author)
So no need to fiddle with it!

neelendhar 09-22-2007 09:51 PM

thanks a lot man ..............

I just forgot about hdparm

i used it 1 years back when i am installing FC6 for the first time in my old box

again u remembered me

once again thanks .........


All times are GMT -5. The time now is 06:42 AM.