LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   k3b doesn't run on Centos 5 x86_64 (https://www.linuxquestions.org/questions/linux-software-2/k3b-doesnt-run-on-centos-5-x86_64-a-571744/)

dralexpe 07-23-2007 07:40 PM

k3b doesn't run on Centos 5 x86_64
 
I cannot get k3b to copy a DVD. The debugging info is:

System
-----------------------
K3b Version: 0.12.17

KDE Version: 3.5.4-11.el5.centos CentOS
QT Version: 3.3.6
Kernel: 2.6.18-8.1.8.el5
Devices
-----------------------
LITE-ON DVDRW LH-20A1L BL02 (/dev/scd1, ) at [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-RAM; DVD-R; DVD-RW; DVD-R DL; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-R Dual Layer Sequential; DVD-R Dual Layer Jump; DVD-RAM; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R; Restricted Overwrite; Layer Jump]

LITE-ON DVD SHD-16S1S ES03 (/dev/scd0, ) at [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
Used versions
-----------------------
growisofs: 7.0

growisofs
-----------------------
:-( unable to anonymously mmap 33554432: Resource temporarily unavailable

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/scd1=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=break:1646448 -dvd-compat -speed=16 -use-the-force-luke=bufsize:32m


Should I expect this to be a hardware failure? It's on a brand new machine.

I am running Centos 5 x86_64 and this is the k3b that came with the distro. I tried running it both as root and as a regular user.

Thank you.

lazlow 07-23-2007 09:37 PM

Try shutting the automount off. If it is the same problem as fedora used to have K3b wants to be the only thing accessing the disk. If automount is on it also has access to the drive, then k3b gets mad.

dralexpe 07-24-2007 06:42 PM

It still doesn't work. I turned off automount, using /etc/rc.d/init.d/autofs stop and tried again with the exact same error message.

Even if I turned off automount, whenever I insert a CD/DVD I get a prompt about either opening the device or doing nothing. When I select "Do nothing" I still get the icons on the desktop; if I right click on them and select "Unmount" nothing happens. I tried to issue the command "umount /dev/scd1" and I get the message that it is unmounted.

Another thing is that k3b prompts me to insert a blank CD/DVD even though there is one in there, which is being correctly recognized as a writeable DVD. I have to select "Force" to start the copying process, which then ends in the shown error.

Any help would be appreciated.
Thanks.

lazlow 07-24-2007 06:52 PM

If it is still showing up on the desktop then the automount (the gnome one, assuming gnome) is not getting shut off. In Fedora it would be: System->Preferences->Hardware->Removable Drives and Media, uncheck- Mount removable media when inserted.

dralexpe 07-24-2007 08:17 PM

I was using KDE, so I switched to Gnome but to no avail. I am checking if automount is running with /etc/rc.d/init.d/autofs status and I am getting that automount is stopped. Then I checked in System->Preferences->Removable Drives and Media where I unchecked Mount removable media when inserted, but I keep getting the same error.

When I insert the DVD's, I don't see any icon for the source, but I still can see the destination (the blank one) icon as "Blank DVD-R disc" on the desktop. I tried to unmount manually, but it tells me they are already unmounted.

It still doesn't work.

dralexpe 07-30-2007 06:28 PM

I finally got it to work.

I added the option -use-the-force-luke=bufsize:16m in the user configuration section of k3b and I burned 2 DVD DL on the fly with no problem.

At the first DVD I turned off autmount using /etc/rc.d/init.d/autofs stop, but at the second one I left automount running and it still worked.

Thanks

archo 08-04-2007 04:59 PM

I had this same problem, and another workaround was to run k3b as root, and set ulimit before running it:

su -
ulimit -l unlimited
k3b &

It's annoying that the bug is resolved and invalid at bugs.kde.org/show_bug.cgi?id=139645

dralexpe 08-05-2007 11:37 AM

Thank you for your info. I tried both as root and as a regular user, and tried the ulimit -l unlimited and it still didn't work.

It worked only when I set Settings -> Configure k3b -> Programs -> User Parameters -> growisofs: -use-the-force-luke=bufsize:16m.

Regards.


All times are GMT -5. The time now is 02:38 PM.