Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-27-2004, 03:29 PM   #1
Registered: Aug 2003
Location: London, UK
Distribution: Red Hat
Posts: 61

Rep: Reputation: 1
K3B - cdrecord returns unknown error (code 22)

Several weeks ago my motherboard died. Before that I was running K3B without difficulty. The new motherboard required a complete clean rebuild. I am using Mandrake 10 with a repatched kernel 2.6.3-16mdk. Regardless of wherthe I boot into thd original (2.6.3-7mdk) or the later one. K3B fails
showing the following sequence:

Size calculated 205809 blocks
Using cdrecord 2.0.3
starting dao writing at 4x speed
cdrecord returned an unknown error (code 22)
invalid argument
Please send me an mail........

The version of cdrao insalle is 1.1.9

The bug report reads:

K3b Version: 0.11.6cvs
KDE Version: 3.2 BRANCH >= 20040204
QT Version: 3.2.3

Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'
Driveropts: 'burnfree'
scsidev: '/dev/ide/host2/bus0/target1/lun0/cd'
devname: '/dev/ide/host2/bus0/target1/lun0/cd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
/usr/bin/cdrecord: Warning: using inofficial libscg transport code version (warly-scsi-linux-sg.c-1.80-mdk '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
/usr/bin/cdrecord: Invalid argument. Cannot get SCSI I/O buffer.

cdrecord comand:
/usr/bin/cdrecord -v gracetime=2 dev=/dev/ide/host2/bus0/target1/lun0/cd speed=4 -dao driveropts=burnfree -eject fs=4m -data -tsize=205809s -


mkisofs comand:
/usr/bin/mkisofs -gui -graft-points -V K3b data project -volset -A K3B THE CD KREATOR VERSION 0.11.6cvs (C) 2003 SEBASTIAN TRUEG AND THE K3B TEAM -P -p K3b - Version 0.11.6cvs -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-alan/k3bqC5cza.tmp -r -hide-list /tmp/kde-alan/k3bOVNOwb.tmp -l -D -iso-level 2 -path-list /tmp/kde-alan/k3bBpCuWa.tmp

I can see the 'complaints' in the cdrecord section above but don't know enough for a Eureka moment. Help would be most welcome.

Alan Secker
Old 07-11-2014, 07:27 PM   #2
LQ Newbie
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Talking possible solution!

ok so i had this annoying thing first you must go into the settings and click on the setup system permissions.after click on your device and the rest of you options and click apply if it gives you another error try it again but instead open a terminal and sudo k3b to run k3b as root then do the same steps as above and hopefully that will get it working without errors it helped me XD
Old 07-11-2014, 08:34 PM   #3
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,564

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
The post is almost ten years old!


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 headaches...cdrecord error kak Linux - Software 6 12-05-2004 07:06 PM
K3B/cdrecord CD Copy error fulat2k Linux - Software 0 07-21-2004 04:44 AM
k3b make returns error, am I missing something? corso64 Linux - Software 3 07-02-2004 10:24 AM
"Unknown error code 255" trying to burn CD with K3B 0.11.2cvs BertBert Linux - Software 0 03-12-2004 08:19 PM
k3b and cdrecord error 255 jimmmac Linux - Software 4 12-25-2003 12:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:19 AM.

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