LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Bluray writing not working (https://www.linuxquestions.org/questions/slackware-14/bluray-writing-not-working-4175438742/)

Slackovado 11-26-2012 04:38 AM

Bluray writing not working
 
I have a Asus BW-12B1ST burner.
Both Nero for Linux and K3b (version that comes with Slackware 14) fail to write a BD disc.
Both write about 100Mb and then stall.
Burner keeps spinning and light flashing but no more burning progress made.
The burner is hard locked and only turning off power recovers it (not even restarting computer gets it back, has to be a complete power off).
When I boot to Windows XP I can burn the same type of BD disk without any issues.
Anybody else with similar problem?
BTW, I had the same issue in Slackware 13.37 and was hoping that the newer Slack 14 would fix it.
Any ideas?
Thanks

kabamaru 11-26-2012 07:06 AM

Well, Nero for Linux is pretty much abandoned software. K3b does not have proper BR support. Unfortunately, the only safe bet (at least for me) is Windows XP in a virtual machine and a capable burning program e.g. Nero, or whatever app came with your hardware.

It's not a Slackware thing, it's just that blu-ray writing support under Linux currently sucks.

pchristy 11-26-2012 02:49 PM

I've got an LG BluRay drive, and so far haven't had any problems writing *data* disks under K3B - up to the full 25 GB (or just under, anyway).

Its a basic Slack 14 install, though I have rolled my own kernel (currently 3.6.7).

Slackovado 11-27-2012 03:00 AM

Quote:

Originally Posted by pchristy (Post 4837465)
I've got an LG BluRay drive, and so far haven't had any problems writing *data* disks under K3B - up to the full 25 GB (or just under, anyway).

Its a basic Slack 14 install, though I have rolled my own kernel (currently 3.6.7).

Yeah, that's all I want to do, burn data BD disk to back up some of my files.

pchristy 11-27-2012 06:42 AM

Well, I'm not an expert on the BluRay side of things, but the fact that mine works OK indicates to me that its not a fundamental Slack issue. I should have added that my BluRay device is SATA connected, not PATA, though I've no idea if this makes any difference. All I can suggest is to see if you can borrow a different BluRay device to see if that makes any difference, though I appreciate that that is going to be a pain to do!

I assume you've got all the usual CD/DVD tools installed (mkisofs, cdrecord, etc, etc)?

--
Pete

jtsn 11-27-2012 10:59 PM

Quote:

Originally Posted by Slackovado (Post 4837125)
Any ideas?

Tell K3B to create an disc image (.iso). Then burn it with cdrecord:

Code:

cdrecord -v driveropts=burnfree -sao image.iso |& tee burn.log
If something goes wrong, show the contents of burn.log here.

Slackovado 11-28-2012 04:58 AM

Quote:

Originally Posted by jtsn (Post 4838484)
Tell K3B to create an disc image (.iso). Then burn it with cdrecord:

Code:

cdrecord -v driveropts=burnfree -sao image.iso |& tee burn.log
If something goes wrong, show the contents of burn.log here.

Ok, result is the same, but I got a bit more information this time while watching the terminal.
It started burning but stopped after 133Mb, then nothing. Only complete computer power off would reset the burner.
Code:

cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Linux sg driver version: 3.5.34
SCSI buffer size: 32768
No target specified, trying to find one...
Using dev=3,0,0.
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Cdrecord-ProDVD-ProBD-Clone 3.01a08 (i686-pc-linux-gnu) Copyright (C) 1995-2012 Joerg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'BW-12B1ST      '
Revision      : '1.03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: BD-R sequential recording
Profile: BD-RE
Profile: BD-R random recording
Profile: BD-R sequential recording (current)
Profile: BD-ROM
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc-3 BD-R driver (mmc_bdr).
Driver flags  : NO-CD BD MMC-3 BURNFREE FORCESPEED
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 6094848 = 5952 KB
FIFO size      : 4194304 = 4096 KB
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Track 01: data  7004 MB       
Total size:    7004 MB = 3586319 sectors
Current Secsize: 2048
WARNING: Phys disk size 4452354 differs from rzone size 12219392! Prerecorded disk?
WARNING: Phys start: 25088 Phys end 4477441
Blocks total: 12219392 Blocks current: 12219392 Blocks remaining: 8633073
Forcespeed is OFF.
Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write in 9 seconds.  8 seconds.  7 seconds.  6 seconds.  5 seconds.  4 seconds.  3 seconds.  2 seconds.  1 seconds.  0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0

Track 01:    0 of 7004 MB written.
Track 01:    1 of 7004 MB written (fifo  88%)  0.0x.
Track 01:    2 of 7004 MB written (fifo 100%)  4.9x.
Track 01:    3 of 7004 MB written (fifo  98%)  4.8x.
Track 01:    4 of 7004 MB written (fifo  96%)  4.9x.
Track 01:    5 of 7004 MB written (fifo 100%)  4.9x.
Track 01:    6 of 7004 MB written (fifo  92%) [buf 100%]  0.4x.
Track 01:    7 of 7004 MB written (fifo  97%) [buf  96%]  3.5x.
Track 01:    8 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:    9 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  10 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  11 of 7004 MB written (fifo 100%) [buf  98%]  4.1x.
Track 01:  12 of 7004 MB written (fifo  94%) [buf 100%]  4.3x.
Track 01:  13 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  14 of 7004 MB written (fifo  98%) [buf  96%]  4.1x.
Track 01:  15 of 7004 MB written (fifo  97%) [buf  96%]  4.1x.
Track 01:  16 of 7004 MB written (fifo  95%) [buf  97%]  4.1x.
Track 01:  17 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  18 of 7004 MB written (fifo  96%) [buf  98%]  4.2x.
Track 01:  19 of 7004 MB written (fifo  89%) [buf  98%]  4.2x.
Track 01:  20 of 7004 MB written (fifo  92%) [buf  96%]  3.5x.
Track 01:  21 of 7004 MB written (fifo  97%) [buf  96%]  4.0x.
Track 01:  22 of 7004 MB written (fifo  94%) [buf  96%]  4.2x.
Track 01:  23 of 7004 MB written (fifo  94%) [buf  97%]  4.3x.
Track 01:  24 of 7004 MB written (fifo  92%) [buf  98%]  4.1x.
Track 01:  25 of 7004 MB written (fifo  94%) [buf 100%]  4.3x.
Track 01:  26 of 7004 MB written (fifo  99%) [buf 100%]  4.1x.
Track 01:  27 of 7004 MB written (fifo  97%) [buf  97%]  3.5x.
Track 01:  28 of 7004 MB written (fifo  94%) [buf  97%]  4.1x.
Track 01:  29 of 7004 MB written (fifo  92%) [buf  98%]  4.3x.
Track 01:  30 of 7004 MB written (fifo  96%) [buf 100%]  4.1x.
Track 01:  31 of 7004 MB written (fifo  92%) [buf 100%]  4.1x.
Track 01:  32 of 7004 MB written (fifo  99%) [buf  97%]  3.5x.
Track 01:  33 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  34 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  35 of 7004 MB written (fifo  92%) [buf  98%]  4.1x.
Track 01:  36 of 7004 MB written (fifo  92%) [buf 100%]  4.3x.
Track 01:  37 of 7004 MB written (fifo  97%) [buf  96%]  3.4x.
Track 01:  38 of 7004 MB written (fifo  97%) [buf  97%]  4.1x.
Track 01:  39 of 7004 MB written (fifo  93%) [buf  98%]  4.3x.
Track 01:  40 of 7004 MB written (fifo  92%) [buf  98%]  4.1x.
Track 01:  41 of 7004 MB written (fifo  89%) [buf 100%]  4.2x.
Track 01:  42 of 7004 MB written (fifo  95%) [buf  96%]  3.4x.
Track 01:  43 of 7004 MB written (fifo  96%) [buf  97%]  4.2x.
Track 01:  44 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  45 of 7004 MB written (fifo  94%) [buf  97%]  4.2x.
Track 01:  46 of 7004 MB written (fifo  91%) [buf  98%]  4.3x.
Track 01:  47 of 7004 MB written (fifo  89%) [buf 100%]  4.1x.
Track 01:  48 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  49 of 7004 MB written (fifo  94%) [buf  97%]  4.3x.
Track 01:  50 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  51 of 7004 MB written (fifo  93%) [buf  98%]  4.1x.
Track 01:  52 of 7004 MB written (fifo  89%) [buf 100%]  4.3x.
Track 01:  53 of 7004 MB written (fifo  94%) [buf  96%]  3.5x.
Track 01:  54 of 7004 MB written (fifo  97%) [buf  97%]  4.1x.
Track 01:  55 of 7004 MB written (fifo  92%) [buf  97%]  4.2x.
Track 01:  56 of 7004 MB written (fifo  95%) [buf  98%]  4.2x.
Track 01:  57 of 7004 MB written (fifo  89%) [buf 100%]  4.2x.
Track 01:  58 of 7004 MB written (fifo  95%) [buf  96%]  3.4x.
Track 01:  59 of 7004 MB written (fifo  94%) [buf  97%]  4.4x.
Track 01:  60 of 7004 MB written (fifo  92%) [buf  98%]  4.1x.
Track 01:  61 of 7004 MB written (fifo  96%) [buf  98%]  4.2x.
Track 01:  62 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  63 of 7004 MB written (fifo  97%) [buf  96%]  4.1x.
Track 01:  64 of 7004 MB written (fifo  95%) [buf  97%]  4.1x.
Track 01:  65 of 7004 MB written (fifo  97%) [buf  97%]  4.2x.
Track 01:  66 of 7004 MB written (fifo  91%) [buf  98%]  4.3x.
Track 01:  67 of 7004 MB written (fifo  96%) [buf  98%]  4.1x.
Track 01:  68 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  69 of 7004 MB written (fifo  94%) [buf  96%]  4.1x.
Track 01:  70 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  71 of 7004 MB written (fifo 100%) [buf  97%]  4.1x.
Track 01:  72 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  73 of 7004 MB written (fifo  89%) [buf  98%]  4.2x.
Track 01:  74 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  75 of 7004 MB written (fifo  97%) [buf  96%]  4.0x.
Track 01:  76 of 7004 MB written (fifo  95%) [buf  97%]  4.2x.
Track 01:  77 of 7004 MB written (fifo  97%) [buf  98%]  4.2x.
Track 01:  78 of 7004 MB written (fifo  92%) [buf  98%]  4.1x.
Track 01:  79 of 7004 MB written (fifo  89%) [buf 100%]  4.3x.
Track 01:  80 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  81 of 7004 MB written (fifo  97%) [buf  97%]  4.2x.
Track 01:  82 of 7004 MB written (fifo  95%) [buf  97%]  4.1x.
Track 01:  83 of 7004 MB written (fifo  92%) [buf  97%]  4.2x.
Track 01:  84 of 7004 MB written (fifo  91%) [buf 100%]  4.3x.
Track 01:  85 of 7004 MB written (fifo  97%) [buf 100%]  4.1x.
Track 01:  86 of 7004 MB written (fifo  97%) [buf  96%]  3.5x.
Track 01:  87 of 7004 MB written (fifo  96%) [buf  97%]  4.2x.
Track 01:  88 of 7004 MB written (fifo  97%) [buf  97%]  4.1x.
Track 01:  89 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  90 of 7004 MB written (fifo  93%) [buf 100%]  4.2x.
Track 01:  91 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  92 of 7004 MB written (fifo  97%) [buf  97%]  4.1x.
Track 01:  93 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  94 of 7004 MB written (fifo  95%) [buf  98%]  4.3x.
Track 01:  95 of 7004 MB written (fifo  91%) [buf  98%]  4.1x.
Track 01:  96 of 7004 MB written (fifo  99%) [buf 100%]  4.2x.
Track 01:  97 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  98 of 7004 MB written (fifo  96%) [buf  97%]  4.3x.
Track 01:  99 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  100 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  101 of 7004 MB written (fifo  91%) [buf  98%]  4.2x.
Track 01:  102 of 7004 MB written (fifo  89%) [buf  98%]  4.1x.
Track 01:  103 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  104 of 7004 MB written (fifo  97%) [buf  97%]  4.2x.
Track 01:  105 of 7004 MB written (fifo  94%) [buf  97%]  4.1x.
Track 01:  106 of 7004 MB written (fifo  99%) [buf  98%]  4.2x.
Track 01:  107 of 7004 MB written (fifo  89%) [buf  98%]  4.1x.
Track 01:  108 of 7004 MB written (fifo  92%) [buf 100%]  4.2x.
Track 01:  109 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  110 of 7004 MB written (fifo  96%) [buf  97%]  4.2x.
Track 01:  111 of 7004 MB written (fifo  96%) [buf  98%]  4.3x.
Track 01:  112 of 7004 MB written (fifo  91%) [buf  98%]  4.1x.
Track 01:  113 of 7004 MB written (fifo  99%) [buf 100%]  4.1x.
Track 01:  114 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  115 of 7004 MB written (fifo  96%) [buf  97%]  4.2x.
Track 01:  116 of 7004 MB written (fifo  98%) [buf  97%]  4.1x.
Track 01:  117 of 7004 MB written (fifo  92%) [buf  98%]  4.2x.
Track 01:  118 of 7004 MB written (fifo  89%) [buf  98%]  4.2x.
Track 01:  119 of 7004 MB written (fifo  96%) [buf 100%]  4.1x.
Track 01:  120 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  121 of 7004 MB written (fifo 100%) [buf  96%]  4.1x.
Track 01:  122 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  123 of 7004 MB written (fifo  94%) [buf  98%]  4.2x.
Track 01:  124 of 7004 MB written (fifo  96%) [buf  98%]  4.3x.
Track 01:  125 of 7004 MB written (fifo  99%) [buf  96%]  3.5x.
Track 01:  126 of 7004 MB written (fifo  97%) [buf  96%]  4.2x.
Track 01:  127 of 7004 MB written (fifo  96%) [buf  97%]  4.1x.
Track 01:  128 of 7004 MB written (fifo  92%) [buf  98%]  4.4x.
Track 01:  129 of 7004 MB written (fifo  91%) [buf  98%]  4.1x.
Track 01:  130 of 7004 MB written (fifo  96%) [buf  98%]  4.0x.
Track 01:  131 of 7004 MB written (fifo  99%) [buf  96%]  3.4x.
Track 01:  132 of 7004 MB written (fifo  99%) [buf  96%]  4.2x.
Track 01:  133 of 7004 MB written (fifo  96%) [buf  97%]  4.2x.

Anyway, I'll try some bootable distro cd with newer kernel or maybe compile the latest kernel if I have time.
The same burning works fine in XP, although it only reached highest speed of 1.8X.
But the burn finished ok.

pchristy 11-28-2012 11:44 AM

Not really my field, but that looks like a permissions issue. Have you tried going into the k3b setup and letting it change the permissions of the various drivers and devices? It will usually come up with recommended changes, and I've never had any problems after allowing it to make the changes it suggests.

Slackovado 01-30-2013 01:18 AM

Quote:

Originally Posted by pchristy (Post 4838914)
Not really my field, but that looks like a permissions issue. Have you tried going into the k3b setup and letting it change the permissions of the various drivers and devices? It will usually come up with recommended changes, and I've never had any problems after allowing it to make the changes it suggests.

Sorry to resurrect this old thread but I'm still having problems.
When I try to run Tools > Setup system permissions, I get "Unable to start K3b::Setup" error message.
Anybody ran into this?

As for Blu Ray burning, it's still a no go. I've even tried different BD disks.
And I've tried burning with Nero from inside Windows XP running in a VirtualBox, same problem. Burn stalls shortly after it starts.
It burns only about 5Mb and then it stalls.
But when I boot into XP running on its own, burning with Nero works fine.
So the problem is with Slackware.
I just can't find what is causing it.

tommcd 01-30-2013 05:33 AM

Quote:

Originally Posted by pchristy (Post 4838914)
Not really my field, but that looks like a permissions issue. ...

In order to rule out a permissions issue, see the Slackware 14 Changes and Hints.txt:
http://ftp.sunet.se/pub/os/Linux/dis..._AND_HINTS.TXT
Here is the relevant part:
Quote:

If you have permission errors when attempting to burn a cdrom or dvd image,
such as the following:
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
then cdrecord almost certainly needs root privileges to work correctly.
One potential solution is to make the cdrecord and cdrdao binaries suid root,
but this has possible security implications. The safest way to do that is
to make those binaries suid root, owned by a specific group, and executable
by only root and members of that group. For most people, the example below
will be sufficient (but adjust as desired depending on your specific needs):
chown root:cdrom /usr/bin/cdrecord /usr/bin/cdrdao
chmod 4750 /usr/bin/cdrecord /usr/bin/cdrdao
If you don't want all members of the 'cdrom' group to be able to execute the
two suid binaries, then create a special group (such as 'burning' which is
recommended by k3b), use it instead of 'cdrom' in the line above, and add
to it only the users you wish to have access to cdrecord and cdrdao.
Try this and then reboot Slackware and see if it makes a difference.
Since this is recommended by Pat V, it is of course safe to do and will not cause any problems. I have done this and have not had any problems with K3B or xfburn. I do not have a blue ray burner to test this on though.

Slackovado 01-31-2013 02:36 AM

Quote:

Originally Posted by tommcd (Post 4880576)
In order to rule out a permissions issue, see the Slackware 14 Changes and Hints.txt:
http://ftp.sunet.se/pub/os/Linux/dis..._AND_HINTS.TXT
Here is the relevant part:

Try this and then reboot Slackware and see if it makes a difference.
Since this is recommended by Pat V, it is of course safe to do and will not cause any problems. I have done this and have not had any problems with K3B or xfburn. I do not have a blue ray burner to test this on though.

Thanks for the tip.
However, I have no problems burning CDs or DVDs, only Bluray is a problem. If it was a permission issue, wouldn't it affect CDs and DVDs too?

I'm tempted to try a newer kernel but last time I was running my own compiled kernels was around Slack 9 so I'm a bit rusty when it comes to kernel compiling.

Slackovado 03-25-2013 04:55 PM

Just wanted to update this thread and mark it as Solved.
This Blueray writting problem has been bugging me for several months now and prevented me from backing up my data onto BD disks as that was my primary reason for getting the BD drive.
Well, I'm happy to report that blueray burning is working now.
I had to do two things.

Update the firmware in the BD drive.
I have Asus BW-12B1ST and unfortunately Asus has no firmware updates for it.
Interestingly it was working fine in Windows so that contributed to the mystery.
But because the drive is just a re-branded LiteOn iHBS112-2 drive and some good folks came up with how to cross-flash it to LiteOn.
I followed the instructions here and it worked perfectly for me (too bad had to use Windows to do it though).
http://club.myce.com/f87/how-upgrade...12-2-a-331630/

Second step I took was to upgrade my install of Slackware 14 to the 3.7.10 kernel.
I didn't do custom kernel though (even though I was tempted but didn't want to add unknown variables to the equation)
I just used the configs and slackbuilds from Current and installed the generic-smp kernel (compiled, did mkinitrd, lilo etc.)

And now I'm happily burning BD disks
I'm using mainly Nero though as it let's me chose which version of UDF to use and my Panasonic BD player needs disks burned with UDF 2.5 to read them.
And Slackware is mounting and reading my burned BD disks too.
So all is good.


All times are GMT -5. The time now is 05:09 PM.