LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SATA DVD-Writer on slack 12.0 (https://www.linuxquestions.org/questions/slackware-14/sata-dvd-writer-on-slack-12-0-a-633978/)

The_Beast 04-08-2008 01:16 PM

SATA DVD-Writer on slack 12.0
 
Hi again,
I'm having trouble trying to burn cds with my
SH-S203D CD\DVD-writer, I can read data from cds or dvd but trying to burn anything gives an IO error, I tried with K3b and x-cd-roast and I get the same following error:

Quote:

Performing OPC...
Sending CUE sheet...
/usr/bin/cdrecord: WARNING: Drive returns wrong startsec (0) using -150
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 72 03 11 04 00 00 00 0E 09 0C 00 40 00 03 00 00
Sense Key: 0x1 Recovered Error, Segment 3
Sense Code: 0x00 Qual 0x03 (setmark detected) Fru 0x0
Sense flags: Blk 67108864 (not valid)
resid: 63504
cmd finished after 0.393s timeout 200s
/usr/bin/cdrecord: Input/output error. read buffer cap: scsi sendcmd: no error
CDB: 5C 00 00 00 00 00 00 00 0C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 08 03 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32)) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 12
cmd finished after 0.000s timeout 200s
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 72 03 11 04 00 00 00 0E 09 0C 00 40 00 03 00 00
Sense Key: 0x1 Recovered Error, Segment 3
Sense Code: 0x00 Qual 0x03 (setmark detected) Fru 0x0
Sense flags: Blk 67108864 (not valid)
resid: 63504
cmd finished after 0.334s timeout 200s
/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
Writing pregap for track 1 at -150
How I'm I supposed to setup my writer?

T3slider 04-08-2008 03:20 PM

You should check your permissions and make sure your user is allowed to burn CDs. The easiest way is to use K3b as your regular user, as follows. First, make sure your user is a member of the 'cdrom' group (your user should be a member of the plugdev, cdrom, audio and video groups any for automounting to work in KDE/XFCE and to avoid other problems, and I'll assume this is already done since you said you could read data from CDs/DVDs. If it is not, however, check out the sticky about HAL at the top of this forum). In K3b, go to "Settings">"Setup System Permissions" from the menu. Enter your root password to continue. Check the 'Use burning group' option and enter 'cdrom' in the box next to it. Check your DVD drive in the Devices section and check all three programs (cdrdao, cdrecord and growisofs) in the External Programs section. Click OK and you should be set.

You could always do the same using the command-line to change the permissions on the above mentioned programs and the DVD drive. If you have any further problems, just say the word (it would mean that something more complicated is going on). It should be noted that, at least for me, verification of the burn fails in the version of K3b that ships with Slackware. Since I usually just create an iso and burn using the command-line I wrote a script to verify CDs/DVDs myself, but if you want K3b's verification to work you'll have to either compile an earlier (or later?) version to get it to work, or wait for other people to chime in telling me why I'm wrong (others are generally better at these kinds of things than I).

Good luck.

The_Beast 04-10-2008 03:42 AM

I compiled K3b from source as you said and it worked.Thx.:D. But Thunar keeps popping an error when I press the eject button,only when I press eject in the right-click menu of the drive it ejects without error...

T3slider 04-10-2008 09:30 PM

The_Beast, very strange. The only thing I can suggest is to make sure absolutely nothing is accessing the drive (ie make sure you're not in a folder on the CD/DVD in a terminal, make sure all file managers are closed, etc.). Can you post the full error message?

The_Beast 04-14-2008 02:30 PM

No, there aren't any applications browsing the dvd, terminal or gui.This is the error I get:

Quote:

Failed to eject "/org/freedesktop/Hal/devices/storage_model_CDDVDW_SH_S203D".

Given device "/org/freedesktop/Hal/devices/storage_model_CDDVDW_SH_S203D" is not a volume or drive.

T3slider 04-14-2008 05:15 PM

Try running `eject /org/freedesktop/Hal/devices/storage_model_CDDVDW_SH_S203D` (or whatever the mount point is) as root and see if it ejects it. If it does, it may be a permissions thing. Is your user in the cdrom, plugdev, audio and video groups? Do you have an uncommented line for the DVD writer in /etc/fstab (in a default setup it should be commented, and as far as I know it does not need to be uncommented)?

The_Beast 04-17-2008 05:32 AM

These are the two lines I have for the cdrom in fstab, the first didn't work so I created the 2nd.

Quote:

#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/sr0 /mnt/cdrom iso9660 noauto,group,owner,exec 0 0
and I couldn't find `eject /org/freedesktop/Hal/devices/storage_model_CDDVDW_SH_S203D` anywhere.
Instead I ran 'eject /dev/sr0' and it worked just fine..

T3slider 04-17-2008 02:59 PM

You shouldn't even need an uncommented line to mount your CD drive in fstab. Try commenting that line out (put a # in front of it) and see if your CD drive autmounts. Also, make sure your user is in the cdrom, plugdev, audio and video groups or automounting in KDE through HAL won't work properly.


All times are GMT -5. The time now is 05:04 PM.