DragonFly BSD
DragonFly users List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: growisofs failing on 1.4.4


From: Iain Templeton <iaint@xxxxxxxxxxxxxxxx>
Date: Sat, 10 Jun 2006 16:33:43 +1000

Yury Tarasievich wrote:
I'm trying to write ~1.7G of data to (blank) DVD-R. However:

#growisofs -Z /dev/cd0c -R -J /p6/5
Executing 'mkisofs -R -J /p6/5 | builtin_dd of=/dev/pass0 obs=32k seek=0'
...
 0.59% done, estimate finish Tue Jun  6 11:11:36 2006
 1.18% done, estimate finish Tue Jun  6 11:13:00 2006
 1.77% done, estimate finish Tue Jun  6 11:12:32 2006
:-( failed to create thread: Resource temporarily unavailable

What to try? Ideas, anyone?


I fixed this patching a patch in the pkgsrc build. The files /usr/pkgsrc/sysutils/dvd+rw-tools/patches/patch-ad normally looks like:

$NetBSD: patch-ad,v 1.1 2006/01/31 19:01:28 xtraeme Exp $

--- mp.h.orig   2006-01-31 19:44:51.000000000 +0100
+++ mp.h        2006-01-31 19:47:56.000000000 +0100
@@ -39,7 +39,9 @@
   pthread_attr_t attr;

     if (pthread_attr_init(&attr)==0 &&
+#ifndef __NetBSD__
        pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
+#endif
        pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )
        return (void *)h;


I changed the +#ifndef line to read


+#if !defined __NetBSD__ && !defined __DragonFly__


It seemed it failed to create a thread due to the PTHREAD_SCOPE_SYSTEM flag. This was on 1.5.2-PREVIEW.

Maybe there is a better fix.

Iain



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]