Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-10-2005, 02:39 AM
|
#1
|
Member
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 136
Rep:
|
can't copy cd using k3b
Hi
I can't copy cds with k3b. I can create a data cd project and burn it, and I can listen to an audio cd in the drive, but I can't duplicate cds. Can anyone suggest why not?
The relevant extract from my lilo.conf file looks like this:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Linux
append = "hdc=ide-scsi"
read-only
# Linux bootable partition config ends
my /etc/fstab looks like this:
Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,user,unhide,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/etc/fstab lines 1-9/9 (END)
and /etc/modules.conf:
Code:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci
# --- END: Generated by ALSACONF, do not edit. ---
# added 26/09/05 try to activate midi
options snd-cmipci enable_midi="1" mpu_port=0x330
#stop errors when kde looks for a second non existent sound card
alias sound-slot-1 off
alias sound-service-1-0 off
# scsi emulation for cdrom - write access
options ide-cd ignore=hdc # tell the ide-cd module to ignore hdc
alias scd0 sr_mod # load sr_mod upon access of scd0
/etc/modules.conf lines 1-23/23 (END)
Any help would be appreciated
thanks
ros
ps, I just tried it logged in as root and that works fine.
Last edited by Quercus ruber; 10-10-2005 at 08:30 AM.
|
|
|
10-10-2005, 01:07 PM
|
#2
|
Senior Member
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,873
|
Run k3b setup. It will ask for the root password and it will change permissions for you.
|
|
|
10-10-2005, 02:07 PM
|
#3
|
Member
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 136
Original Poster
Rep:
|
I tried that and it an d it changed the permissions from 660 to 666, but I still can't copy a cd. When I press Start to start the copy, the copying cd dialog pops up telling me that the source disk is being checked. The cd drive rumbles away, but the minutes pass and nothing happens...
|
|
|
10-10-2005, 04:24 PM
|
#4
|
Senior Member
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,873
|
I just noticed that you only have one cd drive in fstab. You may have to copy the cd to a temp folder, then burn it. If the burner is the only drive, I'm thinking there is a setting to check before you begin that will copy the cd, then have you change before the burn begins. But definitely copying to a folder first, then burning the file will work.
|
|
|
10-11-2005, 01:35 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Rep: 
|
Check the temp-directory, maybe user hasn't write-access to it?
Since it works logged in as root, it must be a problem with permissions somewhere.
|
|
|
10-11-2005, 07:43 AM
|
#6
|
Member
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 136
Original Poster
Rep:
|
Curiouser and curiouser. Or praps I didn't wait long enough...
Well, I checked the permissions for /tmp/kde-ros and I do indeed have write access. So just to see what happened, I put a data cd in and tried to copy that. No problem whatsoever. It copied all the data into the tmp directory, ejected the drive and prompted me to put a new one in, which it duly wrote. So I tried my audio cd again, went and made myself a cup of tea and when I came back, I saw the following list of error messages in the dialog box:
Code:
Checking source disk.
Copying audio CD.
No CD-TEXT found.
No Cddb entry found.
Could not open device /dev/sr0
Error while reading session 1.
Removing temporary files.
Removing images files.
So I had a look at /dev/sr0 :-
Code:
ros@darkstar:~$ ls -l /dev/sr0
brw-rw-rw- 1 root cdrom 11, 0 1999-04-13 06:24 /dev/sr0
ros@darkstar:~$
That's OK isn't it?
|
|
|
10-12-2005, 01:34 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Rep: 
|
Hmmm... a bit strange this...
/etc/fstab says
/dev/cdrom /mnt/cdrom iso9660 noauto,user,unhide,ro 0 0
but audio CD wants to use /dev/sr0? Which is a device in itself, not a link to /dev/hdc.
A wild guess now: try adding /dev/sr0 to /etc/fstab the same way as /dev/hdc.
|
|
|
10-14-2005, 03:57 AM
|
#8
|
Member
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 136
Original Poster
Rep:
|
Hmmm
changing fstab seems a bit of a fudge, especially as it works when I'm logged in as root, which suggests a problem with permissions. Here is some more info. I hope it helps.
from dmesg:
Code:
Kernel command line: BOOT_IMAGE=Linux ro root=305 hdc=ide-scsi
ide_setup: hdc=ide-scsi
.....
hda: ST340015A, ATA DISK drive
hdb: QUANTUM FIREBALL1280A, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03b349c, I/O limit 4095Mb (mask 0xffffffff)
hdc: AOPEN COM4824/AAH, 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.
.....
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: AOPEN Model: COM4824/AAH Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 4x/48x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Then I ran k3b from the command line, and here is an edited listing ...
Code:
ros@darkstar:~$ k3b
various messages
k3b: /dev/sr0 resolved to /dev/sr0
k3b: /dev/sr0 is block device (0)
k3b: /dev/sr0 seems to be cdrom
k3b: (K3bCdDevice::DeviceManager) /dev/sr0 bus: 0, id: 0, lun: 0
k3b: (K3bCdDevice) /dev/sr0: init()
k3b: (K3bCdDevice) /dev/sr0: GET_CONFIGURATION length: 188.
k3b: (K3bCdDevice) /dev/sr0 unknown profile: 2
k3b: (K3bCdDevice) /dev/sr0 feature: Core
k3b: (K3bCdDevice) /dev/sr0 feature: Morphing
k3b: (K3bCdDevice) /dev/sr0 feature: Removable Medium
k3b: (K3bCdDevice) /dev/sr0 feature: Random Readable
k3b: (K3bCdDevice) /dev/sr0 feature: Multi-Read
k3b: (K3bCdDevice) /dev/sr0 feature: CD Read
k3b: (K3bCdDevice) /dev/sr0 feature: DVD Read
k3b: (K3bCdDevice) /dev/sr0 feature: Random Writable
k3b: (K3bCdDevice) /dev/sr0 feature: Incremental Streaming Writable
k3b: (K3bCdDevice) /dev/sr0 feature: Formattable
k3b: (K3bCdDevice) /dev/sr0 feature: Defect Management
k3b: (K3bCdDevice) /dev/sr0 feature: Restricted Overwrite
k3b: (K3bCdDevice) /dev/sr0 feature: MRW
k3b: (K3bCdDevice) /dev/sr0 feature: DVD+RW
k3b: (K3bCdDevice) /dev/sr0 feature: CD Track At Once
k3b: (K3bCdDevice) /dev/sr0 feature: CD Mastering
k3b: (K3bCdDevice) /dev/sr0 feature: Power Management
k3b: (K3bCdDevice) /dev/sr0: unknown feature: 257
k3b: (K3bCdDevice) /dev/sr0 feature: CD Audio analog play
k3b: (K3bCdDevice) /dev/sr0 feature: Timeout
k3b: (K3bCdDevice) /dev/sr0 feature: Read Time Streaming
k3b: (K3bCdDevice::CdDevice) /dev/sr0: dataLen: 60
k3b: (K3bDevice::Device) Error: could not open device /dev/sr0for writing
message repeated a few times
k3b: (K3bCdDevice::ScsiCommand) failed: fd: 10
k3b: command: READ DVD STRUCTURE (ad)
k3b: errorcode: 70
k3b: sense key: NOT READY (2)
k3b: asc: 3a
k3b: ascq: 1
k3b: (K3bCdDevice::CdDevice) Unable to read DVD structure.
k3b: (K3bDevice::Device) /dev/sr0: Number of supported write speeds via 2A: 0
k3b: (K3bCdDevice::ScsiCommand) failed: fd: 10
k3b: command: GET PERFORMANCE (ac)
k3b: errorcode: 70
k3b: sense key: NOT READY (2)
k3b: asc: 3a
k3b: ascq: 1
k3b: (K3bCdDevice::CdDevice) /dev/sr0: GET PERFORMANCE length det failed.
k3b: (K3bDeviceManager) setting current write speed of device /dev/sr0 to 8448
k3b: /dev/scd0 resolved to /dev/scd0
k3b: /dev/scd0 is block device (0)
k3b: /dev/scd0 seems to be cdrom
k3b: (K3bCdDevice::DeviceManager) /dev/scd0 bus: 0, id: 0, lun: 0
k3b: (K3bDeviceManager) dev /dev/scd0 already found
k3b: (K3bDeviceManager) Link: /dev/dvd -> /dev/sr0
k3b: (K3bDeviceManager) Link: /dev/cdrom -> /dev/sr0
k3b: (K3bDevice::DeviceManager) SCANNING FOR GENERIC DEVICES.
k3b: (K3bDevice::Device) Error: could not open device /dev/sg0for reading
k3b: could not open device /dev/sg0 (Permission denied)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg1for reading
list of lots of sg files that cannot be opened for reading
k3b: (K3bDeviceManager) scanning fstab: /dev/hda6
k3b: (K3bDevice::Device) Error: could not open device /dev/hda6for reading
list of lots of hd files that cannot be opened for reading
k3b: (K3bDeviceManager) scanning fstab: /dev/cdrom
k3b: (K3bDeviceManager) found device for /dev/cdrom: /dev/scd0
looks like its going through fstab looking for a device ...
k3b: /dev/hdc resolved to /dev/hdc
k3b: /dev/hdc is block device (0)
k3b: (K3bCdDevice::ScsiCommand) failed: fd: 9
k3b: command: INQUIRY (12)
k3b: errorcode: 0
k3b: sense key: NO SENSE (2)
k3b: asc: 0
k3b: ascq: 0
k3b: ERROR: (K3bCdDevice) Unable to do inquiry.
k3b: /dev/scd0 resolved to /dev/scd0
k3b: /dev/scd0 is block device (0)
k3b: /dev/scd0 seems to be cdrom
k3b: (K3bDeviceManager) dev /dev/scd0 already found
k3b: /dev/sr0 resolved to /dev/sr0
k3b: /dev/sr0 is block device (0)
k3b: /dev/sr0 seems to be cdrom
k3b: (K3bDeviceManager) dev /dev/sr0 already found
k3b: (K3bDeviceManager) found config entry for devicetype: AOPEN COM4824/AAH
k3b: (K3bDeviceManager) scanning fstab: /dev/hda6
k3b: (K3bDevice::Device) Error: could not open device /dev/hda6for reading
k3b: could not open device /dev/hda6 (Permission denied)
going on thru fstab ....
k3b: (K3bDeviceManager) scanning fstab: /dev/cdrom
k3b: (K3bDeviceManager) found device for /dev/cdrom: /dev/scd0
k3b: (K3bDeviceManager) scanning fstab: /dev/fd0
k3b: (K3bDeviceManager) scanning fstab: devpts
k3b: Could not resolve devpts
and on ....
k3b: Devices:
k3b: ------------------------------
k3b: Blockdevice: /dev/sr0
k3b: Vendor: AOPEN
k3b: Description: COM4824/AAH
k3b: Version: 1.04
k3b: MountDevice: /dev/cdrom
k3b: Mountpoint: /mnt/cdrom
k3b: Write speed: 8448
k3b: Profiles: DVD-ROM; CD-ROM; CD-R; CD-RW
k3b: Devicetype: CD-R; CD-RW; CD-ROM; DVD-ROM
k3b: Writing modes: SAO; TAO; RAW; SAO/R16; RAW/R96P; RAW/R96R
k3b: Reader aliases: /dev/sr0, /dev/scd0, /dev/dvd, /dev/cdrom
k3b: ------------------------------
k3b: Version: 1.0
k3b: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
k3b: (K3b::cutToWidth) not able to cut text to 1!
k3b: (K3bCore) System problems:
k3b: - none -
I think there are things going on here that I don't understand...
|
|
|
11-10-2005, 05:27 PM
|
#9
|
Member
Registered: Oct 2005
Location: Italy
Distribution: Gentoo
Posts: 83
Rep:
|
Hi,
I am having the same problem with copying audio CD. OK with data yet no dice with audio. Did you finally manage to get it fixed?
|
|
|
11-13-2005, 07:23 AM
|
#10
|
Member
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 136
Original Poster
Rep:
|
no I still haven't got it fixed.....
Q. ruber
|
|
|
01-18-2006, 05:31 AM
|
#11
|
Member
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 136
Original Poster
Rep:
|
Solved
I tried executing cdparanoia from the command line to see if that worked and it didn't. I got this message:
Code:
dev/cdrom exists but isn't accessible. By default,
cdparanoia stops searching for an accessible drive here.
Consider using -sv to force a more complete autosense
of the machine.
More information about /dev/cdrom:
Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/scd0 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
No generic SCSI device found to match CDROM device /dev/scd0
After a lot of googling, I made 1 small change:
Code:
# chmod 666 /dev/sg0
and then it was fine. See this post:
http://www.linuxquestions.org/questi...d.php?t=302699 .
I hope this helps someone
Q. ruber
|
|
|
All times are GMT -5. The time now is 01:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|