LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-01-2012, 08:11 PM   #1
Mountain Man
Member
 
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73

Rep: Reputation: 15

I'm trying to archive data to blu ray discs as an added archive/backup. These are mostly photos and videos of the family and I don't want to risk losing them, especially the ones of our kids.

K3b version 2.02 on Ubuntu 11.10
Drive is a Lite-on IHBS112-04

I've never burned a blu ray disc in linux without errors going back to when I built this system back in December. I think I had some problem media because I was getting "the LUN appears to be stuck writing" errors in the debug output so I picked up some Kodak media. This looks good and I have some Verbatim on the way from newegg. Unfortunately while the new media works better (I no longer get the lun stuck writing errors, I'm getting this new error. k3b nearly finishes writing and at the very end (99%) says:

Quote:
Fatal error during recording": Input/output error
However, when I open the debug file I don't see an error (debug file attached as multiple parts).

Also, dvdisaster reads the disc and all sectors come back green, and doing a file comparison of the contents with

Code:
diff -r -q [source folder]  [mounted disc]
it comes back without finding any errors.

I've attached a picture of the k3b dialog box and I've broken the debug file into six parts because it is too big for LQ to allow as an attachment. I've attached the first two, and will attach the last four on a follow on comment. I hadn't noticed how long the debug file is (a little over 1mb as a text file) so maybe that is an indicator of the problem.

Does anyone have any suggestions?
Attached Images
File Type: jpg k3bblurayerror.jpg (51.5 KB, 1 views)
Attached Files
File Type: txt debugfilep1.txt (220.9 KB, 1 views)
File Type: txt debugfilep2.txt (195.1 KB, 0 views)

Last edited by Mountain Man; 09-01-2012 at 08:44 PM.
 
Old 09-01-2012, 08:34 PM   #2
Mountain Man
Member
 
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73

Original Poster
Rep: Reputation: 15
Attached are parts 3-5 of the debug file. I'll do another reply with the last part, but I'm not sure it is the true ending of the file. I noticed that my text editor stops at line 21095, so maybe this is just as far as the editor could read.
Attached Files
File Type: txt debugfilep3.txt (190.4 KB, 0 views)
File Type: txt debugfilep4.txt (189.0 KB, 0 views)
File Type: txt debugfilep5.txt (188.1 KB, 0 views)

Last edited by Mountain Man; 09-01-2012 at 09:27 PM.
 
Old 09-01-2012, 08:36 PM   #3
Mountain Man
Member
 
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73

Original Poster
Rep: Reputation: 15
Here is the final part of the log file, with the caveat that my text editor may not have loaded the entire thing.


Edit: I opened the file with nano and it showed the same ending line so it doesn't look like gedit was truncating it after all.
Attached Files
File Type: txt debugfilep6.txt (52.0 KB, 2 views)

Last edited by Mountain Man; 09-01-2012 at 09:28 PM.
 
Old 09-02-2012, 12:43 PM   #4
Mountain Man
Member
 
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73

Original Poster
Rep: Reputation: 15
Looking at this further, I'm not sure there is an actual write error. From the end of the debug file, the disc was written 100%. There isn't an error, but the last operations look like an attempt to determine the size of the created disc. It makes me wonder if this isn't what is failing:

Quote:
99.98% done, estimate finish Sat Sep 1 18:46:54 2012
=== last message repeated 2 times. ===
99.99% done, estimate finish Sat Sep 1 18:46:54 2012
=== last message repeated 2 times. ===
100.00% done, estimate finish Sat Sep 1 18:46:55 2012
Total translation table size: 0
Total rockridge attributes bytes: 121896
Total directory bytes: 225742
Path table size(bytes): 332
Max brk space used 12e000
10588674 extents written (20681 MB)

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid picvid2010p1of2 -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-mountainman/k3bJw3302.tmp -rational-rock -hide-list /tmp/kde-mountainman/k3bUw3302.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-mountainman/k3byV3302.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-mountainman/k3bNy3302.tmp

mkisofs command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -volid picvid2010p1of2 -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-mountainman/k3bQV3302.tmp -rational-rock -hide-list /tmp/kde-mountainman/k3bFn3302.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-mountainman/k3bmu3302.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-mountainman/k3bTP3302.tmp
I tried just creating an iso image with k3b first with another data set. The iso image created fine and is 21.4 GB (21,380,579,328 bytes) on the disk. Then I tried to write it to a 25 GB blu ray BD-R disc, and k3b gave me a "Waiting for Disk - K3b" dialog box:

Quote:
Found medium: Empty BD-R medium

Please insert an empty medium of size 19.9 GiB or larger into drive.

ATAPI iHBS112 2 (/dev/sr0)
If I cancel that out and right click on the empty BD-R medium in the k3b gui, it shows the disc is large enough:

Quote:
Type: BD-R Sequential (SRM)
Capacity: 2715:25:17 min (23.3 GiB)
Rewritable: no
Appendable: no
Empty: yes
Layers: 1
Sessions: 0
Supported writing speeds: 10.0x (44950 KB/s)
Doing some more searching it looks like the original issue I described (fatal error at the end of the burn) has been around for quite some time. K3b claims to have fixed this quite some time ago.

I'm not sure what to make of all of this. Is anyone here able to burn Blu Ray discs in linux without the problems I'm running into?
 
Old 09-03-2012, 05:55 PM   #5
Mountain Man
Member
 
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73

Original Poster
Rep: Reputation: 15
After some more searching I'm thinking that blu ray data recording isn't something that is solid on linux yet. I found this thread on ubuntu forums which is from March of 2011 asking if anyone had a configuration that worked. This is over a year ago, but the latest version of k3b was released in January of 2011. On the bright side I downloaded nero 4 for linux and it is working very nicely.

For anyone who finds this thread and is troubleshooting a similar problem here is some more information. I tried creating an iso image using K3b and then burning it from the command line using genisoimage. The burning process worked until it went to close the session. Here is the last part of the output:

Quote:
21102067712/21171226624 (99.7%) @3.6x, remaining 0:04 RBU 100.0% UBU 65.1%
21150433280/21171226624 (99.9%) @3.2x, remaining 0:01 RBU 62.0% UBU 48.9%
builtin_dd: 10337520*2KB out @ average 3.3x4390KBps
/dev/scd0: flushing cache
/dev/scd0: closing track
/dev/scd0: closing session
:-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error
The disc is still readable, I'm guessing because I'm reading it from a recorder. It passed a compare pass with diff like I used above, and dvdisaster also passed it. This makes me think the k3b error is occuring when it tries to close the session and that all of the discs I wrote with that are unclosed. Since the drive can still read them it probably isn't a huge problem but I'm going to reburn them with Nero anyway. Fortunately I can still burn them in linux.

Also, I want to put a plug in for dvdisaster. By graphing out the read performance by sector it lets you know if you have areas of the burn which had problems. Just because the drive can read a problem sector doesn't mean you want to put it away and call it archived. It spotted a problem area on one disc and I was able to reburn it and probably avoid a problem down the road. This plus the ability to create an extra checksum file for possible recovery down the road is a very nice feature for what I'm doing.
 
  


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
Easiest way to burn Blu-ray data discs in Linux systems09500 Linux - Software 0 01-24-2012 05:07 PM
Transfering DVD and Blu Ray discs to my Slackware machine lpallard Slackware 101 02-21-2011 10:10 PM
Error writing blu ray data discs with k3b? elfoozo Linux - Software 4 12-09-2010 08:06 AM
Blu-ray discs Won't Mount for Reading on openSUSE 10.3 rslucchese Linux - Hardware 4 07-07-2009 10:46 PM
LXer: ISO images dumped from PS3 Blu-ray discs via Linux LXer Syndicated Linux News 0 11-28-2006 01:03 PM


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

Main Menu
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