LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2004, 02:26 PM   #1
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
K3B headaches...cdrecord error


My setup----2.4.26 kernel custom compile
scsi-ide compiled into the kernel
cdrtools 2.0.1
Error from K3B:
System
-----------------------
K3b Version:0.11.17
KDE Version: 3.3.1
QT Version: 3.3.3

cdrecord
-----------------------
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
/usr/bin/cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver.
/usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.
/usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM

cdrecord comand:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=0,0,0 speed=48 -tao driveropts=burnfree -eject -data -tsize=6012s -

mkisofs
-----------------------
6012

mkisofs comand:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid K3b data project -volset -appid K3B THE CD KREATOR VERSION 0.11.17 (C) 2003 SEBASTIAN TRUEG AND THE K3B TEAM -publisher -preparer K3b - Version 0.11.17 -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-root/k3bjJqo1b.tmp -rational-rock -hide-list /tmp/kde-root/k3bOS3wqb.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-root/k3bkkGdya.tmp /root/.kde/share/apps/k3b/temp/dummydir0/

Ok so I tried cdrecord -scanbus and dev=help:

bash-2.05b# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
bash-2.05b# cdrecord dev=help
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Supported SCSI transports for this platform:

Transport name: sg
Transport descr.: Generic transport independent SCSI
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: pg
Transport descr.: SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: ATA
Transport descr.: ATA Packet specific SCSI transport
Transp. layer ind.: ATAPI:
Target specifier: bus,target,lun
Target example: ATAPI:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: ATA
Transport descr.: ATA Packet specific SCSI transport using sg interface
Transp. layer ind.: ATA:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: RSCSI
Transport descr.: Remote SCSI
Transp. layer ind.: REMOTE:
Target specifier: rscsi@host:bus,target,lun
Target example: REMOTE:rscsi@host:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported


Acording to dmesg I am loading scsi emulation hdc=sr0

hdc: PLEXTOR CD-R PX-W4824A, ATAPI CD/DVD-ROM drive
hdd: DVD-ROM DDU1621, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63, UDMA(133)
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: attached ide-scsi driver.
Partition check:
hda: hda1 hda2 hda3 hda4
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PLEXTOR Model: CD-R PX-W4824A Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray


what am I doing wrong? I don't think it's my fstab.

/dev/hda4 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda3 /home reiserfs defaults 1 2
/dev/hda1 /mnt/winxp ntfs auto,user,uid=500,gid=100,ro 1 0
/dev/sr0 /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/hdd /mnt/dvd iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

And if it helps I installed cdtools from Linuxpackages.net
 
Old 11-27-2004, 02:56 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
sg, ide-scsi, and sr-mod i think need to be loaded. you don't need them for atapi.
you can try cdrecord dev=ATAPI -scanbus
then reference the device as dev=ATAPI:0,1,0 or appropriate.
 
Old 11-27-2004, 03:14 PM   #3
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Original Poster
Rep: Reputation: 30
Quote:
you can try cdrecord dev=ATAPI -scanbus
OK the output:
bash-2.05b# cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
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'.
scsibus0:
0,0,0 0) 'PLEXTOR ' 'CD-R PX-W4824A' '1.01' Removable CD-ROM
0,1,0 1) *
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) 'SONY ' 'DVD-ROM DDU1621 ' 'S2.9' 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) *


Quote:
then reference the device as dev=ATAPI:0,1,0 or appropriate.
Where??
 
Old 11-27-2004, 04:33 PM   #4
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Original Poster
Rep: Reputation: 30
Got IT

K3b-->Settings--->Programs--->User Parameters

Added "dev=ATAPI:0,0,0" to cdrecord

All good now
 
Old 11-29-2004, 01:51 PM   #5
DarkVenger
Member
 
Registered: Mar 2004
Location: VCO
Distribution: Arch
Posts: 43

Rep: Reputation: 26
Hello,

how do you changed the User parameters?? I don't know how to write in there
 
Old 11-29-2004, 06:55 PM   #6
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Original Poster
Rep: Reputation: 30
Just double click on the box you want to edit below "parameters", you should then get a cursor
 
Old 12-05-2004, 08:06 PM   #7
DarkVenger
Member
 
Registered: Mar 2004
Location: VCO
Distribution: Arch
Posts: 43

Rep: Reputation: 26
Thanks,
I cannot experiment now because my board burned, but in the end of the week it should be working again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
K3B - cdrecord returns unknown error (code 22) AlanSecker Linux - Software 2 07-11-2014 09:34 PM
K3B with no cdrecord (...?) martincho Linux - Software 2 05-06-2005 07:19 PM
K3b Cdrecord inescapeableus Linux - Software 5 03-16-2005 03:27 AM
K3B/cdrecord CD Copy error fulat2k Linux - Software 0 07-21-2004 05:44 AM
k3b and cdrecord error 255 jimmmac Linux - Software 4 12-25-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration