LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2008, 07:58 PM   #1
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
K3B Slow Burn / Low Device Buffer


I just installed a fresh copy of linux on my laptop. For some reason my CD/DVD burner can't burn that fast at all, even though it used to. The Software buffer runs fine but the device buffer drops to 0% at times.

How can I fix this? Thanks
 
Old 09-13-2008, 08:01 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
All device level troubleshooting starts with substituting a known good device to see if it works on the system. Can you use a USB attached CD burner to see if it works okay?

When you say that the CD burner used to work well do you mean with Windows or with Linux? Linux drivers are usually better than Windows drivers but may sometimes not work as well for a particular piece of hardware.

Last edited by stress_junkie; 09-13-2008 at 08:03 PM.
 
Old 09-13-2008, 08:16 PM   #3
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
same hardware, used to work good under linux, but i installed a fresh copy and i am having issues with it now.
 
Old 09-13-2008, 08:27 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by replica9000 View Post
same hardware, used to work good under linux, but i installed a fresh copy and i am having issues with it now.
"...used to work well..." not "...used to work good..."

If you installed a later version of the same distribution you may have different drivers. That might explain the problems. I know that the latest version of K3B sucks compared to the version before it started using wodim. I don't even know what wodim is; I just know that K3B doesn't work as well as it used to work.

Last edited by stress_junkie; 09-13-2008 at 08:28 PM.
 
Old 09-13-2008, 08:31 PM   #5
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by stress_junkie View Post
"...used to work well..." not "...used to work good..."

If you installed a later version of the same distribution you may have different drivers. That might explain the problems. I know that the latest version of K3B sucks compared to the version before it started using wodim. I don't even know what wodim is; I just know that K3B doesn't work as well as it used to work.
Well I manually selected cdrdao in K3B, still burns really slow with almost no device buffer. Only difference is the disk (audio) will work fine unlike wodim using sao
 
Old 09-14-2008, 06:52 PM   #6
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
This is what hdparm tells me:

Code:
root@debsidian:/home/replica# hdparm /dev/cdrom

/dev/cdrom:
 IO_support    =  0 (default)
16-bit)
 HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
 readonly      =  0 (off)
 readahead     = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device

root@debsidian:/home/replica# hdparm -I /dev/cdrom

/dev/cdrom:

ATAPI CD-ROM, with removable media
        Model Number:       PHILIPS DVD+/-RW SDVD8820
        Serial Number:
        Firmware Revision:  AX03
Standards:
        Supported: CD-ROM ATAPI-3 -4 -5 -6 -7
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(cannot be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=383ns  IORDY flow control=120ns
 
Old 09-14-2008, 07:33 PM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
This could be the problem since I am running a 64-bit kernel:

Code:
root@debsidian:/home/replica# hdparm -c /dev/cdrom

/dev/cdrom:
 IO_support    =  0 (default)
16-bit)
 
Old 10-09-2008, 06:11 AM   #8
nomasteryoda
LQ Newbie
 
Registered: Sep 2008
Posts: 10

Rep: Reputation: 0
See the topic over at sidux site - its the kernel version

It would appear the solution is to install a "legacy" kernel and see if that helps. The new kernels are not optimized for CD/DVD burning it would appear.

link

good luck
 
Old 10-09-2008, 09:34 AM   #9
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Well i had installed an official debian kernel over the sidux kernel. That helped. I was able to set the drives to 32bit, but had to do this everyboot.
 
Old 10-10-2008, 06:39 AM   #10
nomasteryoda
LQ Newbie
 
Registered: Sep 2008
Posts: 10

Rep: Reputation: 0
The solution to that is to add the configuration line for your cdrom to your /etc/rc.d/* scripts once you're sure the system is stable.. source:
http://linuxdevcenter.com/pub/a/linux/2000/06/29/hdparm.html?page=2
 
Old 10-11-2008, 01:09 AM   #11
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by nomasteryoda View Post
The solution to that is to add the configuration line for your cdrom to your /etc/rc.d/* scripts once you're sure the system is stable.. source:
http://linuxdevcenter.com/pub/a/linux/2000/06/29/hdparm.html?page=2
Well what I had done something like that a week or two ago. I made a script called IO32bit, and placed it the /etc/init.d directory.

Code:
#! /bin/sh

hdparm -c1 /dev/hda
hdparm -c1 /dev/hdc
Then under the directories rc0.d, rc1.d, rc2.d, rc3.d, rc4.d and rc6.d I made a softlink to that script called K99IO32bit. Under rc5.d it is called S99IO32bit. This seems to work, except I noticed during the boot process output if the script is displayed twice. This doesn't seem to have any bad effects on the machine though. Is this good or is there a better way I could have done this?
 
  


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
Frustrating Slow DVD Burn Speeds - K3B krisbee Linux - General 2 07-31-2007 07:13 AM
Slow burn speeds in k3b tech960 Linux - Software 2 07-27-2006 11:18 AM
yet another 'k3b slow dvd burn' issue killahsmurf Slackware 2 01-15-2006 10:26 AM
K3b and slow burn speed bird603568 Slackware 8 10-24-2005 11:21 PM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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