Mailinglist Archive: opensuse (4417 mails)

< Previous Next >
Re: [SLE] Re: Permissions and K3b
  • From: Kenneth Payne <kmp@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 21 Nov 2003 18:22:06 +0000
  • Message-id: <200311211822.06452.kmp@xxxxxxxxxxxxxxxxxx>
FX -

Thanks for taking the trouble to do so much research into my problem.

> I am still convinced that the problem comes from cdrecord permissions.
> Have you tried upgrading to the latest available version for SuSE
> (http://packman.links2linux.org/?action=316)?
>

Yes, I installed it this morning. It was a big improvement in that it actually
gave me a k3bsetup module - something lacking in the original SUSE 9.0
version.

> Second, I remember a thread a couple of weeks ago started by Viktor,
> eloquently titled "cdrecord and damn pg1" in which he seemed to be
> having the very same problem you are having.
> >

Since the solution arrived at was compiling on a Red Hat machine, that is not
going to work for me.

>
> google found this on linuxquestions:
> > i tried "cdrecord dev=ATAPI -scanbus" i discovered that my CDRW device
> > is listed as device 0,1,0.
> >
> > Help please. thanks.
>
> and the solution:
> > Cerbere You may or may not have to pass hdd=ide-scsi. Since cdrecord
> > dev=ATAPI -scanbus finds your burner, and shows it as 0,1,0; you may
> > be able to burn with a command similar to this:
> >
> > cdrecord -v speed=[speed of burner] dev=ATAPI:1,0 -data [name of iso
> > image]
> >
> > On my system, cdrecord dev=ATAPI -scanbus shows that my burner is
> > 0,0,0 and so this is the exact command I use to burn iso images to disk:
> >
> > cdrecord -v speed=16 -overburn driveropts=burnfree dev=ATAPI:0,0 -pad
> > -data [name of iso image]
>

Well, I tried cdrecord -scanbus dev=ATAPI and I got:
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) 'SAMSUNG ' 'CD-R/RW SW-216B ' 'Q001' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) *
1,1,0 101) 'SAMSUNG ' 'DVD-ROM SD-616F ' 'F100' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

So I might well be able to get a cdrecord to work from the command line along
the lines of the solution given above. However, I was rather hoping to get
k3b to work rather than use the command-line. I tried adding dev=ATAPI:1,0 to
the command line parameters for cdrecord in k3b but it didn't work.

So I tried this (on a CD-RW disk) form the command line

cdrecord -v speed=2 dev=ATAPI:1,0 -data kmp.iso

and I got

Cdrecord-Clone 2.01a18-dvd (i686-suse-linux) Copyright (C) 1995-2003 Jörg
Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@xxxxxxxxxxxxxxxx>.
Note: The author of cdrecord is not to be bothered with problems in this
version.
TOC Type: 1 = CD-ROM
cdrecord: Warning: not running as root user, fs= option ignored.
scsidev: 'ATAPI:1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
SCSI buffer size: 64512
atapi: 0
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'SAMSUNG '
Identifikation : 'CD-R/RW SW-216B '
Revision : 'Q001'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x0008
Profile: 0x0009
Profile: 0x000A (current)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1359872 = 1328 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB
Total size: 0 MB (00:05.46) = 410 sectors
Lout start: 1 MB (00:07/35) = 410 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11635 (97:26/65)
ATIP start of lead out: 337350 (75:00/00)
1T speed low: 0 (reserved val 0) 1T speed high: 4
power mult factor: 4 6
recommended erase/write power: 3
A1 values: 02 4C B0
A2 values: 00 00 00
Disk type: Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 337350 Blocks current: 337350 Blocks remaining: 336940
Forcespeed is OFF.
Starting to write CD/DVD at speed 2 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 of 0 MB written.
Track 01: Total bytes read/written: 835584/835584 (408 sectors).
Writing time: 9.008s
Average write speed 0.9x.
Fixating...
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: 70 00 04 00 00 00 00 0C 00 00 00 00 90 00 00 00 00 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x90 Qual 0x00 (vendor unique sense code 0x90) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 30.256s timeout 480s
cmd finished after 30.256s timeout 480s
cdrecord: Cannot fixate disk.
Fixating time: 30.262s
cdrecord: fifo had 14 puts and 14 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
kmp@ravenclaw:~>

So it look like I'm getting there. I'll try again from the command line over
the weekend. If I can get a command line version working I suppose I should
be able to configure k3b to issue the correct cdrecord command.

Best wishes

- Ken







< Previous Next >
Follow Ups