LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.1 cannot burn anything (https://www.linuxquestions.org/questions/slackware-14/slackware-12-1-cannot-burn-anything-639893/)

securitybreach 05-04-2008 07:28 PM

Slackware 12.1 cannot burn anything
 
I am running Slackware 12.1 and for some odd reason I cannot burn anything with my dvd burner. K3b basically burns a lead in and then I get an error. I wasted like 8 disks trying to get it working in Slackware. The dvd burner is new and works perfectly with other distros. Here is the debugging output for k3b:
/dev/hdd is my DVD burner


Code:

System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.9
QT Version:  3.3.8b
Kernel:      2.6.24.5-smp
Devices
-----------------------
TDK CDRW161040X 5.32 (/dev/hdc, ) [CD-R, CD-RW, CD-ROM] [Error] [SAO, TAO, RAW, RAW/R96R]

TSSTcorp CDDVDW SH-S202J SB01 (/dev/hdd, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump]
Burned media
-----------------------
DVD+R

Used versions
-----------------------
growisofs: 7.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdd obs=32k seek=0'
/dev/hdd: "Current Write Speed" is 16.4x1352KBps.
          0/1277906944 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU  0.0%
          0/1277906944 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU  0.0%
          0/1277906944 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU  0.0%
          0/1277906944 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU  0.0%
          0/1277906944 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU  0.0%
          0/1277906944 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU  0.0%
    360448/1277906944 ( 0.0%) @0.1x, remaining 1535:52 RBU 100.0% UBU  76.7%
:-[ WRITE@LBA=b0h failed with SK=4h/LOGICAL UNIT COMMUNICATION CRC ERROR (ULTRA-DMA/32)]: Input/output error
:-( write failed: Input/output error
/dev/hdd: flushing cache
/dev/hdd: closing track
/dev/hdd: closing disc

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/hdd=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:623978 -dvd-compat -speed=16 -use-the-force-luke=bufsize:32m


I ran k3b setup and did the permission thing but still no luck.

For some reason dmesg lists my drives twice:

Code:

comhack@Venus ~]$ dmesg | grep CD
Linux version 2.6.24.5-smp (root@midas) (gcc version 4.2.3) #2 SMP Wed Apr 30 13:41:38 CDT 2008
hdd: TSSTcorp CDDVDW SH-S202J, ATAPI CD/DVD-ROM drive
hdc: TDK CDRW161040X, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 126X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache


I am already in the group plugdev. Here is my /etc/group:
Code:

root:x:0:root
bin:x:1:root,bin
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp
mem:x:8:
kmem:x:9:
wheel:x:10:root
floppy:x:11:root,comhack
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
audio:x:17:root,comhack
video:x:18:root,comhack
cdrom:x:19:root,comhack
games:x:20:
slocate:x:21:
utmp:x:22:
smmsp:x:25:smmsp
tape:x:26:root
mysql:x:27:
rpc:x:32:
sshd:x:33:sshd
gdm:x:42:
shadow:x:43:
ftp:x:50:
apache:x:80:
messagebus:x:81:
haldaemon:x:82:
plugdev:x:83:root,comhack<--------------------
power:x:84:
pop:x:90:pop
scanner:x:93:
nobody:x:98:nobody
nogroup:x:99:
users:x:100:
console:x:101:

Any ideals?

Thanks

Franklin 05-04-2008 07:58 PM

It looks like you have a CD burner at /dev/hdc and a DVD/CD burner at /dev/hdd.

What does your /etc/fstab look like?

Also, what are your symlinks pointing to in /dev:

Code:

root@sundog:/dev# ls -l cd*
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdr -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdr0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdrom -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdrom0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdrw -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdrw0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdwriter -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 cdwriter0 -> hdc
root@sundog:/dev# ls -l dvd*
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 dvd -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 dvd0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 dvdrw -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 dvdrw0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 dvdwriter -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 14:48 dvdwriter0 -> hdc
root@sundog:/dev#


securitybreach 05-04-2008 08:31 PM

Thanks for the suggestions.
To begin with I dont care about hdc since it is only a cdwriter. I only use my dvd writer at /dev/hdd. Here is my fstab:
Code:

/dev/sda4        swap            swap        defaults        0  0
/dev/sda2        /                ext3        defaults        1  1
/dev/sda3        /home            ext3        defaults        1  2
/dev/sda1        /win            ntfs-3g    umask=000        1  0
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
#/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0

The other commands:
Code:

[root@Venus comhack]# ls -l cd*
ls: cannot access cd*: No such file or directory
[root@Venus comhack]# ls -l dvd*
ls: cannot access dvd*: No such file or directory

Maybe that is the problem there are no syslinks?

Thanks

Franklin 05-04-2008 08:35 PM

Quote:

Maybe that is the problem there are no syslinks?
You need to run that from within the /dev directory.

securitybreach 05-04-2008 08:38 PM

Oops

Code:

[root@Venus dev]# ls -l dvd*
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 dvd -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 dvd1 -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 dvdrw -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 dvdrw1 -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 dvdwriter -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 dvdwriter1 -> hdd
[root@Venus dev]# ls -l cd*
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdr -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdr0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdr1 -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdrom -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdrom0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdrom1 -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdrw -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdrw0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdrw1 -> hdd
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdwriter -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdwriter0 -> hdc
lrwxrwxrwx 1 root root 3 2008-05-04 17:25 cdwriter1 -> hdd
[root@Venus dev]#

Thanks

acummings 05-04-2008 09:03 PM

Mentioned IO error, CRC, Ultra DMA

Is DMA turned on to the drive? I don't know that much about it but I've a Slack 11 box with DVD burner (in it, I do have DMA turned on) forget how I did it like via rc.local or what I did to get DMA=on. It burns DVD's great.

http://www.google.com/linux?hl=en&q=...er&btnG=Search

--
Alan.

securitybreach 05-04-2008 09:14 PM

Yes DMA is turned on. The command to turn it on is:
Code:

su -c 'hdparm -d 1 /dev/hdx'
Thanks

Peacedog 05-04-2008 09:55 PM

Are the burners IDE or SATA drives?
Good luck. ;-)

securitybreach 05-04-2008 09:58 PM

Both drives are IDE.

Thanks

Franklin 05-04-2008 09:59 PM

While googling, I found the following statement:

Quote:

Most of the IDE burners need to be set as secondary, master, in order to avoid CRC errors
or failures during the burning. In linux, it would be /dev/hdc.
I don't know if this is true or not, but then I have never had my DVD burner set as a slave either.

You might want to try making the DVD burner the master drive (hdc) and the other CD burner the slave (hdd).

If this does not appeal to you for any reason, you might try implicitly defining each drive in fstab
rather than leaving the line commented for hal and udev to sort out.

Code:

/dev/hdc        /media/cdrom          auto        noauto,user  0  0
/dev/hdd        /media/dvdwriter      auto        noauto,user  0  0

Having never dealt with 2 burners in one box before, I'm afraid I can't speak from experience here.

securitybreach 05-04-2008 10:07 PM

Well that didnt work so I am gonna unplug the one drive since I do not use it and reinstall. I have my home on a different partition so I wont lose anything.

Thanks

Franklin 05-04-2008 10:17 PM

You should not have to reinstall for swapping out a dvd drive - just change the jumpers and edit fstab.
Actually, you would not even need to do that if the cdrom lines are still commented.

Steve

securitybreach 05-04-2008 11:12 PM

Well I unhooked the cd-burner and changed the jumers and reinstalled. Now the burner works just fine.

Thanks for all the help


All times are GMT -5. The time now is 01:02 PM.