SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a notebook with a CDRW 24x16x4 (or something like that) speed. But when Im burning cds in linux I can only burn at 4x ... more than this give me an error. I know that it writes faster because in windows I can write at 16x and 4x for CDRW
Is dma enabled? Open a terminal, type "su -", enter root password and type "hdparm -d /dev/hdc" if hdc is your burner. Typing "hdparm -d1 /dev/hdc" in the same terminal (as root) will attempt to set dma to 1.
The best way to find out is to burn in a root terminal using the command:
Code:
cdrecord dev=ATAPI:/dev/hdc image.iso
where "image.iso" is a test iso image ready for burning (see mkisofs) and /dev/hdc is the name of your (atapi) cdrw device.
Read the output and post any interesting messages.
What program are you using to burn, and what else do you have running at the time?
You could be running up against a program that isn't savvy enough to use your CDROM's full buffer. Say you've got a 16mb buffer on the burner, and the program is only using 2mb. Result? At higher burning speeds, the bugger underruns and you get an error. I'd suggest you try a different program to see if you get the same error.
Im using nautilus to burn cds or k3b ... both only burns at 4x ... if the speed is more them 4x I get an error...
my drive is a DW-P50A with firmware 1.8f ....
well.. with cdrecord I get an error ... and noting happens, this is the output:
Code:
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:/dev/hdc'
devname: 'ATAPI:/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD+RW DW-P50A '
Revision : '1.8f'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
cdrecord: DMA speed too slow (OK for 10x). Cannot write at speed 16x.
cdrecord: Max DMA data speed is 10.
cdrecord: Try to use 'driveropts=burnfree'.
using cdrecord with speed=10 I get this (I think I lost a CD):
Code:
sing generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Starting to write CD/DVD at speed 8 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Turning BURN-Free off
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 48 4B 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F1 00 03 00 00 38 E5 12 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 14565 (valid)
cmd finished after 2.530s timeout 40s
write track data: error after 37902336 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 00 00 39 24 12 00 00 00 00 0C 08 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x08 (write error - recovery failed) Fru 0x0
Sense flags: Blk 14628 (valid)
cmd finished after 5.040s timeout 480s
cmd finished after 5.040s timeout 480s
cdrecord: Cannot fixate disk.
This drive must write at 16x (I already writed at 16x... I think the problem start after the firmware update to 1.8f, but I didnt find anyone reporting any problem).... :/
#mount /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg | tail
[drm] Initialized radeon 1.16.0 20050311 on minor 0: ATI Technologies Inc Radeon IGP 330M/340M/350M
mtrr: 0xd8000000,0x4000000 overlaps existing 0xd8000000,0x2000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:05.0 into 4x mode
cdrom: This disc doesn't have any tracks I recognize!
scsi: unknown opcode 0x01
attempt to access beyond end of device
hdc: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
Originally posted by maginotjr
well.. with cdrecord I get an error ... and noting happens, this is the output:
Code:
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:/dev/hdc'
devname: 'ATAPI:/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD+RW DW-P50A '
Revision : '1.8f'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
cdrecord: DMA speed too slow (OK for 10x). Cannot write at speed 16x.
cdrecord: Max DMA data speed is 10.
cdrecord: Try to use 'driveropts=burnfree'.
It says "no dma, no high speed"
You may want to try scsi emulation, there is lots of help on lq for this, but it does require you to (possibly) re-compile your kernel and put this into your lilo.conf file:
Code:
append = "/dev/hdc=ide-scsi"
where hdc is your burner. (run lilo afterwards)
After a reboot try "cdrecord -scanbus"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.