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 06-10-2006, 03:23 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
k3b unable to unlock drive error in debian stable


Hi. i'm trying to burn an audio cd with mp3 files using k3b on debian stable and im having a few issues. First on fedora i installed kb3-mp3 to burn mp3s but can't find a deb package for it for debian or if there is a source for apt-get that has it in it. I get an error that says "error while decoding" and im assuming that is because there is not proper mp3 support installed yet. Also i get a an error that says "unable to unlock drive" checking the debug info it says that that TAO is an illegal write mode for that drive because it is unsupported. When i choose Auto it seems to try DAO and then i get an error similar to the TAO error but with SAO. I know the drive supports these modes because i've burnt cds in fedora no problem. The version k3b is 0.11.20 that i installed with synaptic. Here is the debug info.

Code:
Devices
-----------------------
Compaq DVD-ROM DVD-116 1.06 (/dev/hdd, ) at /media/cdrom1 [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
SONY CD-RW  CRX320E NYK2 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R16; RAW/R96P; RAW/R96R]

System
-----------------------
K3b Version: 0.11.20
KDE Version: 3.3.2
QT Version:  3.3.4
Kernel:      2.6.8-2-686

cdrecord
-----------------------
/usr/bin/cdrecord: Warning: Running on Linux-2.6.8-2-686
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
/usr/bin/cdrecord: Warning: SCSI transport does no longer work for suid root programs.
/usr/bin/cdrecord: Warning: if cdrecord fails, try to run it from a root account.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Warning: controller returns wrong size for CD capabilities page.
/usr/bin/cdrecord: Warning: controller returns wrong size for CD capabilities page.
/usr/bin/cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
/usr/bin/cdrecord: Warning: controller returns wrong size for CD capabilities page.
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX320E  '
Revision       : 'NYK2'
Device seems to be: Generic CD-ROM.
Using generic SCSI-2       CD-ROM driver (scsi2_cd).
Driver flags   : 
Supported modes: 
FIFO size      : 4194304 = 4096 KB
/usr/bin/cdrecord: Drive does not support TAO recording.
/usr/bin/cdrecord: Illegal write mode for this drive.
pregap1: -1

cdrecord comand:
-----------------------
/usr/bin/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=40 -tao driveropts=burnfree -eject -useinfo -pad -shorttrack -audio /tmp/kde-jeff/k3b_audio_0_01.inf /tmp/kde-jeff/k3b_audio_0_02.inf /tmp/kde-jeff/k3b_audio_0_03.inf /tmp/kde-jeff/k3b_audio_0_04.inf /tmp/kde-jeff/k3b_audio_0_05.inf /tmp/kde-jeff/k3b_audio_0_06.inf /tmp/kde-jeff/k3b_audio_0_07.inf /tmp/kde-jeff/k3b_audio_0_08.inf /tmp/kde-jeff/k3b_audio_0_09.inf /tmp/kde-jeff/k3b_audio_0_10.inf /tmp/kde-jeff/k3b_audio_0_11.inf /tmp/kde-jeff/k3b_audio_0_12.inf /tmp/kde-jeff/k3b_audio_0_13.inf
i've been googling for awhile but not making any gains. Can anyone help me in the right direction? thanks.
 
Old 06-10-2006, 11:40 PM   #2
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Perhaps upgrade k3b to unstable. You have upgraded your kernel from 2.4 to 2.6 which introduces some fairly major changes ("Warning: Linux-2.6.8 introduced incompatible interface changes.") and may need newer software to match it. You might end up having to upgrade a whole lot of kde; it's now up to 3.5.
 
Old 06-11-2006, 12:34 AM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
yeah i didn't know any better when installing debian. Whenever i download something i get the latest stable version because an unstable one sounds, well unstable. So when i got the debian isos i got stable but it appears that unstable was the way i should have went because a lot of the packages are too old of versions. I'll have to look into upgrading to unstable.
 
Old 06-11-2006, 05:46 PM   #4
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Do you have unstable sources in your /etc/apt/source.list file? If not, just add them then "dselect update " to update the packages list. Then you can upgrade k3b to unstable by specifying "apt-get -t unstable install k3b". You must be root to edit the sources list file or install packages. I think there is a way to add sources through synaptic but I find it easier just to go to konsole & do package management with apt-get. I use kpackage instead of synaptic but only as a package browser to find out what is available.
 
Old 06-11-2006, 06:44 PM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
no i don't have4 unstable sources in my source file. Is it as simple as changing the instances of stable to unsable in that file? I'm looking around for a tutorial on how to do it so i have something to follow. Here is what my source.list file looks like now.

Code:
jeff@echobase:~$ cat /etc/apt/sources.list
# deb file:///cdrom/ sarge main

# deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 #Binary-1 (20060419)]/ unstable contrib main
# deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 #Binary-3 (20060419)]/ unstable contrib main
# deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 #Binary-2 (20060419)]/ unstable main


deb http://security.debian.org/ stable/updates main contrib

deb http://ftp.debian.org/debian/ stable main
deb-src http://ftp.debian.org/debian/ stable main


deb ftp://ftp.debian.org/debian/ stable main
deb-src ftp://ftp.debian.org/debian/ stable main

deb http://download.videolan.org/pub/videolan/debian/ sarge main
deb-src http://download.videolan.org/pub/videolan/debian/ sarge main
thanks for your help.
 
Old 06-11-2006, 09:11 PM   #6
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Yep, it's that simple. But don't CHANGE them, add new lines so you keep your existing stable sources:

Code:
deb http://security.debian.org/ stable/updates main contrib

deb http://ftp.debian.org/debian/ stable main
deb-src http://ftp.debian.org/debian/ stable main


deb ftp://ftp.debian.org/debian/ stable main
deb-src ftp://ftp.debian.org/debian/ stable main

#unstable sources:

deb http://security.debian.org/ unstable/updates main contrib

deb http://ftp.debian.org/debian/ unstable main
deb-src http://ftp.debian.org/debian/ unstable main


deb ftp://ftp.debian.org/debian/ unstable main
deb-src ftp://ftp.debian.org/debian/ unstable main

deb http://download.videolan.org/pub/videolan/debian/ sid main
"Sid" is Debian term for unstable. The "#" in front of a line makes it a comment instead of an active line.

and you have to be root to edit this file. For editing text files I use KDE's "Kate" editor run as root, which you can start from command line by typing "kdesu kate". I have a starter icon on the desktop made by drag-n-copy the kate icon from the menu bar to the desktop then edit properties in it so it runs "kdesu kate" instead of just "kate". Renamed it RootKate...which really confuses my 6 year old grandaughter Katie who also plays on this computer.
You also have to be root to update stuff, which you can do in command line by typing "su".
 
Old 06-12-2006, 02:25 PM   #7
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
when i try to reload using apt-get i get this error message after adding the unstable sources to my source.list file.

Code:
http://security.debian.org/dists/unstable/updates/main/binary-i386/Packages.gz: 404 Not Found [IP: 194.109.137.218 80]
http://security.debian.org/dists/unstable/updates/contrib/binary-i386/Packages.gz: 404 Not Found [IP: 194.109.137.218 80]
i did the deselect update command first. The only thing i was thinking was maybe the unstable version wouldn't get updates because it is always changing? Am i right? Or maybe i need to change it from unstable to testing? is that correct? I also have a question as to when i update to unstable how can i check to make sure it went through alright?
 
Old 06-12-2006, 02:41 PM   #8
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
after i closed out that error box i got another one with this.

Code:
W: Couldn't stat source package list http://security.debian.org unstable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org unstable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org unstable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org unstable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Duplicate sources.list entry ftp://ftp.debian.org stable/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_stable_main_binary-i386_Packages)
W: Duplicate sources.list entry ftp://ftp.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages)
so i dodn't think any of the unstable sources took.
 
Old 06-12-2006, 03:19 PM   #9
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Hmmm. I would have thought that would work.
Return your sources.list file to it's original state then add these unstable sources:

#unstable sources
deb http://ftp.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
 
Old 06-13-2006, 07:52 PM   #10
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
ok i edited the source files but now i get this error:

"E: Malformed line 22 in source list /etc/apt/sources.list (dist)

update available list script returned error exit status 1."

here is my source list:

Code:
# deb file:///cdrom/ sarge main

# deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 #Binary-1 (20060419)]/ unstable contrib main
# deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 #Binary-3 (20060419)]/ unstable contrib main
# deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 #Binary-2 (20060419)]/ unstable main


deb http://security.debian.org/ stable/updates main contrib

deb http://ftp.debian.org/debian/ stable main
deb-src http://ftp.debian.org/debian/ stable main


deb ftp://ftp.debian.org/debian/ stable main
deb-src ftp://ftp.debian.org/debian/ stable main

deb http://download.videolan.org/pub/videolan/debian/ sarge main
deb-src http://download.videolan.org/pub/videolan/debian/ sarge main

#unstable sources:

deb http://ftp.de.debian.org/debian/dists/unstable/contrib/binary-i386
deb-src http://ftp.de.debian.org/debian/dists/unstable/contrib/source

deb http://ftp.de.debian.org/debian/dists/unstable/main/binary-i386
deb-src http://ftp.de.debian.org/debian/dists/unstable/main/source

deb http://ftp.de.debian.org/debian/dists/unstable/non-free/binary-i386
deb-src http://ftp.de.debian.org/debian/dists/unstable/non-free/source
line 22 is the first entry for unstable. I think it has to do with the deb and deb-src part. i added those cuz it loos like i needed them from the stable entries. Because they are ftp do i need to change the http:// beginning of the entries to ftp? I just copied the url from the browser and put it in the file. thanks for your help in advance.
 
Old 06-13-2006, 08:08 PM   #11
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
yeah they are wrong. follow the same format as the stable ones. it would be something like:

deb http://http.us.debian.org/debian/ unstable main contrib non-free
deb-src http://http.us.debian.org/debian/ unstable main contrib non-free

notice the spaces

Last edited by bosewicht; 06-13-2006 at 08:10 PM.
 
Old 06-13-2006, 08:19 PM   #12
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
ok that seems to have worked. sorry when the suggested entries showed up in the post as hyperlinks i thought i had to follow them. Now to update my whole system to unstable do i use synaptic and click on mark all upgrades or do i have to do apt-get dist-udate as well? If i have to do both does it matter which one i do first?
 
Old 06-13-2006, 08:21 PM   #13
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
you can use synaptic and do a upgrade(i think thats an option in there, something like "Mark All Upgrades")or apt-get. whichever you prefer.

The spaces are a pretty common mistake.

Last edited by bosewicht; 06-13-2006 at 08:22 PM.
 
Old 06-13-2006, 08:22 PM   #14
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
You need to put in the spaces like in the original line.

Here is my complete sources.list from my new Debian install.
Code:
#deb file:///cdrom/ sarge main

deb http://debian.yorku.ca/debian/ stable main
deb-src http://debian.yorku.ca/debian/ stable main

deb http://security.debian.org/ stable/updates main

deb http://debian.yorku.ca/debian/ unstable main
deb-src http://debian.yorku.ca/debian/ unstable main

# libdvdcss source
deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main

#mplayer source
deb http://www.debian-multimedia.org sid main

#kdetv 
deb http://bonca.hu/~rizsanyi/debian sid/
Note this source repository is in Toronto Canada. I am in western Canada, you in Massachusetts are probably closer to it than I am.
 
Old 06-13-2006, 08:29 PM   #15
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Don't do an apt-get upgrade or an apt-get dist-upgrade at this point; your system is still set to a default level of "stable" so all that will happen is to upgrade to the newest versions of applications in the stable repository.
Instead, start with 'apt-get -t unstable install kdebase k3b'. That should upgrade pretty well all of kde to whatever version is currently in unstable which I think is version 3.5.
 
  


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
Unlock folder (drive) & change permissions VIR3NT Suse/Novell 5 05-27-2006 07:37 PM
k3b unable to PERFORM OPC: Input/output error librano Linux - Software 2 04-18-2006 11:18 AM
Unable to unlock sessions in kubuntu badbunny Ubuntu 0 03-14-2006 05:33 AM
k3b: "error decoding audio tracks" and "could not unlock cd driver" lefty.crupps Linux - Software 7 10-13-2005 12:29 PM
Locked VFAT Drive, can't Unlock Kenji Miyamoto Linux - General 9 01-04-2005 10:28 PM


All times are GMT -5. The time now is 06:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration