k3b breaks on multisession CD burn, Slack 11, Linux 2.6?
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Anyone else had problems with k3b after moving to Slack 11 and a 2.6.x kernel?
Actually, the problem is below k3b. With a 2.4 kernel, my lilo.conf had the old SCSI emulation line, and I could use cdrecord and mkisofs with dev=0,0,0 and it all worked here on my Thinkpad T21. In 2.6, I removed SCSI emulation, as recommended, and cdrecord can no longer find any device to work with.
Code:
root@strawberry 08:32 slackpkg $ cdrecord dev=help
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.17.13
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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
Everything's "not supported." cdrecord -scanbus is worse.
Code:
root@strawberry 08:33 slackpkg $ cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.17.13
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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'.
In the good old days, I think that gave me "0,0,0".
However, when I run k3b, I get a partial success. Possibly k3b just uses "/dev/hdc", which is the ultimate destination of my /dev/cdrom symlink. In k3b, I can burn a whole CD, and I can START a multisession CD, then burn one additional session. But after that, k3b gets a mkisofs error and refuses to burn additional sessions.
Here's the output from when I try to burn an additional multisession to a CD that has been burned entirely with k3b so far:
Code:
System
-----------------------
K3b Version: 0.12.17
KDE Version: 3.5.4
QT Version: 3.3.6
Kernel: 2.6.17.13
Devices
-----------------------
HL-DT-ST RW/DVD GCC-4240N 1203 (/dev/hdc, ) at /mnt/cdrom [CD-R; CD-RW; CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]
mkisofs
-----------------------
/usr/bin/mkisofs: Input/output error. Read error on old image
mkisofs command:
-----------------------
/usr/bin/mkisofs -cdrecord-params 24759,36239 -prev-session /dev/hdc -gui -graft-points -volid K3b data project -volset -appid K3B THE CD KREATOR (C) 1998-2005 SEBASTIAN TRUEG AND THE K3B TEAM -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-bill/k3bqdYzob.tmp -rational-rock -hide-list /tmp/kde-bill/k3bxkC0kc.tmp -joliet -hide-joliet-list /tmp/kde-bill/k3bC8ti4a.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-bill/k3b60O5Ha.tmp
msinfo
-----------------------
24759,36239
msinfo command:
-----------------------
/usr/bin/cdrecord dev=/dev/hdc -msinfo
That's burning in TAO mode, with "Continue multisession" set.
Anyhow, I don't know if this is a k3b thing, or a kernel thing, or what. I'm just wondering if anyone else has had this particular problem. Looking at other posts, I'm grateful that I can at least burn CDs, but incremental backups get a little silly when you have to start a new CD after 30MB or so.
Thanks for taking a look.
Bill Powell
Last edited by slackware-elf; 05-14-2007 at 08:46 AM..
root@strawberry 10:52 bill $ cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.17.13
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) 'HL-DT-ST' 'RW/DVD GCC-4240N' '1203' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
But when I try to burn to that device, it still won't work. New error, though.
Code:
root@strawberry 10:52 bill $ cdrecord -v -dev=1,0,0 backup.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.17.13
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Is there something I need to do to enable SCSI access? Like the line you used to put in lilo.conf for the 2.4 kernel? I thought 2.6 was supposed to just work.
Anyhow, thanks very much for the suggestion. Now I know the device number.
Looks like the suggestion to upgrade was the winner. The k3b with Slack 11 is like 0.12 or something. I should have known I should upgrade when I saw a k3b package on http://linuxpackages.net. (Note: I also had to download the libdvdread package off the same site. The other dependencies seemed to come with my Slack 11 install.) In the changelog for k3b 1.0.1, it mentions a fix that involves broken ISOs in previous versions. I just burned 5 tracks, so it looks like they fixed it.
However, I still appreciate all the command-line suggestions, because my goal is to have a shell script for my daily backups. I'll post back here when I figure out what's up. In the meantime, it's nice to have k3b working.
Thanks for the great suggestions so far. I THOUGHT the new k3b was working...but after that first test, things soured. I kept getting this message:
Read error on old image
So I went back to the command line, installed the most recent cdrtools. And a similar thing happened. I THOUGHT I got mkisofs so I could burn multiple sessions. But now I'm finding that after one, maybe two sessions, I get that error again. Why can't it read the old image, blast it?
The only other difference is that I use a full path for backup.iso an
burndir.
So do these commands look faulty?
I'm using Slack 11, with a 2.6 kernel. Every time, cdrecord complains
about the 2.6 and suggests a 2.4; anyone else had trouble with Slack
11 and 2.6?
Oh, and here's ~/.mkisofsrc:
PUBL=Bill Powell, billpowellisalive.com
SYSI=Slackware Linux
I don't think it's the hardware; on previous iterations of Slack, I'd
burn multisession CDs all the time. I didn't pass those exact
parametrs to mkisofs, but they were quite similar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.