LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-21-2007, 08:09 PM   #1
neelendhar
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Rep: Reputation: 15
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 ...............
 
Old 09-21-2007, 08:27 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 41
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
 
Old 09-21-2007, 09:08 PM   #3
neelendhar
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Original Poster
Rep: Reputation: 15
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 ?

Last edited by neelendhar; 09-21-2007 at 09:19 PM.
 
Old 09-22-2007, 06:00 AM   #4
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 41
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.
 
Old 09-22-2007, 10:33 AM   #5
neelendhar
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Original Poster
Rep: Reputation: 15
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

Last edited by neelendhar; 09-22-2007 at 10:39 AM.
 
Old 09-22-2007, 10:55 AM   #6
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 41
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!
 
Old 09-22-2007, 09:51 PM   #7
neelendhar
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Original Poster
Rep: Reputation: 15
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 .........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
a small (low priority) doubt about /home and /export/home crisostomo_enrico Solaris / OpenSolaris 6 05-01-2009 02:34 AM
Will k3b convert mp3's to wavs for burning audio cds? And prob with k3b 0.11 Alvis Linux - Software 5 08-02-2007 07:38 AM
LXer: DLS <small>[<i>sic</i>]</small> answers user requests with 4.0 alpha LXer Syndicated Linux News 0 07-19-2007 07:46 PM
A Small doubt about IF loop ??? indian Programming 3 02-26-2007 07:24 PM
Small K3b problem (cdrdoa related) Cheza Linux - General 6 09-22-2003 10:25 PM


All times are GMT -5. The time now is 02:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration