cdrecord vs k3b: Question on device option
Peter Weiss
Peter.Weiss at consol.de
Thu Oct 12 21:47:36 UTC 2006
Hi,
still got trouble setting up cdrecord and k3b running dapper. I've
reduced the problem to the device option of cdrecord. Using
cdrecord [...] dev=/dev/scd0 [...]
works, but running
cdrecord [...] dev=1,0,0 [...]
does not. The command I use from k3b output is:
/usr/bin/X11/cdrecord.mmap -v gracetime=2 dev=1,0,0 speed=24 -tao
driveropts=burnfree -eject -data
Which results in the following error
[...]
Starting new track at sector: 0
Track 01: 0 of 640 MB written.
/usr/bin/X11/cdrecord: Input/output error. write_g1: scsi sendcmd: no
error
CDB: 2A 00 00 00 00 D9 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 10 2A 30 02 80 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.019s timeout 40s
/usr/bin/X11/cdrecord: The current problem looks like a buffer underrun.
/usr/bin/X11/cdrecord: It looks like 'driveropts=burnfree' does not work
for this drive.
/usr/bin/X11/cdrecord: Please report.
/usr/bin/X11/cdrecord: Make sure that you are root, enable DMA and check
your HW/OS set up.
write track data: error after 444416 bytes
[...]
Could someone explain the difference between these 2 types of defining
the
device (I'm no scsi guru, so the manpage didn't help much)?
TIA -- Peter
BTW, checking the difference using "cdrecord -scanbus" reveals :
root at tango:~# cdrecord dev=/dev/scd0 -scanbus >/tmp/a 2>&1
root at tango:~# cdrecord dev=1,0,0 -scanbus >/tmp/b 2>&1
root at tango:~# diff /tmp/a /tmp/b
4,8c4,6
< scsidev: '/dev/scd0'
< devname: '/dev/scd0'
< scsibus: -2 target: -2 lun: -2
< Warning: Open by 'devname' is unintentional and not supported.
< Linux sg driver version: 3.5.27
---
> scsidev: '1,0,0'
> scsibus: 1 target: 0 lun: 0
> Linux sg driver version: 3.5.33
root at tango:~# cd /dev
root at tango:/dev# ls -ald cdrom dvd scd0 sr0
lrwxrwxrwx 1 root root 4 2006-10-12 22:08 cdrom -> scd0
lrwxrwxrwx 1 root root 4 2006-10-12 22:08 dvd -> scd0
brw-rw---- 1 root cdrom 11, 0 2006-10-12 22:08 scd0
lrwxrwxrwx 1 root root 4 2006-10-12 22:08 sr0 -> scd0
--
Peter.Weiss at consol.de ConSol* Software GmbH
Phone +49 89 45841-100 Consulting & Solutions
Mobile +49 177 6040121 Franziskanerstr. 38
http://www.consol.de D-81669 München
More information about the ubuntu-users
mailing list