Displaying 20 results from an estimated 21 matches for "sem_post".
2006 May 23
1
Three kernel RPMs at same time and yum error: "sem_post: Invalid argument"
Greetings,
I just ran "yum update" on a remote 4.2 Centos install. Then I typed
"yum search some package" and got this error message repeating
continuously:
sem_post: Invalid argument
A search for this message revealed only these links:
http://www.linode.com/forums/archive/o_t/t_1898/centos4_installations_rpm_database_corruption.html
http://bugs.centos.org/view.php?id=1202
If I run the command to look for duplicated RPMs described in those
pages I get:
-b...
2019 Jul 01
0
[nbdkit PATCH 2/2] nbd: Use nbdkit aio_*_notify variants
..._errno ();
- if (!trans->err)
- trans->err = EIO;
- }
- if (r) {
- nbdkit_debug ("cookie %" PRId64 " completed state machine, status %d",
- trans->cookie, trans->err);
- *prev = trans->next;
- if (sem_post (&trans->sem)) {
- nbdkit_error ("failed to post semaphore: %m");
- abort ();
- }
- }
- else
- prev = &trans->next;
- trans = *prev;
- }
}
- /* Clean up any stranded in-flight requests */
nbdkit_debug ("state mac...
2014 Feb 27
1
AIX 7.1 Winbind Module Problems
.../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'
[ 8/1242] Generating VERSION
[ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
[ 13/1242] Compiling IDL ../librpc/idl/auth.idl
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
/rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier
or '(' before '[' toke...
2010 Nov 30
1
Compiling ocfs2-tools-1.6.3 on slackware64-13.1
...ed reference to `sem_destroy'
/lib64/libcom_err.a(error_message.o): In function `et_list_lock':
error_message.c:(.text+0x1ff): undefined reference to `sem_wait'
/lib64/libcom_err.a(error_message.o): In function `et_list_unlock':
error_message.c:(.text+0x228): undefined reference to `sem_post'
collect2: ld returned 1 exit status
make[1]: *** [fsck.ocfs2] Error 1
make[1]: Leaving directory `/tmp/SBo/ocfs2-tools-1.6.3/fsck.ocfs2'
make: *** [fsck.ocfs2] Error 2
Any help would be appreciated
Thx,
Jose Leal
---------------------------------------------------
Venha conhecer o nov...
2010 Feb 13
3
ocfs2 compile error in x86_64
...t/../../../lib/et/error_message.c:68:
undefined reference to `sem_init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `et_list_unlock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:95:
undefined reference to `sem_post'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `et_list_lock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85:
undefined reference to `sem_wait'
collect2: ld returned 1 exit status
make[1]: *** [fsck.ocf...
2010 Feb 13
3
ocfs2 compile error in x86_64
...t/../../../lib/et/error_message.c:68:
undefined reference to `sem_init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `et_list_unlock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:95:
undefined reference to `sem_post'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `et_list_lock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85:
undefined reference to `sem_wait'
collect2: ld returned 1 exit status
make[1]: *** [fsck.ocf...
2011 Nov 16
1
febootstrap-3.12 configure error on Fedora 16
..../lib64/libcom_err.a(error_message.o): In function `et_list_lock':
> (.text+0x18d): undefined reference to `sem_wait'
> /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libcom_err.a(error_message.o): In function `et_list_unlock':
> (.text+0x1b6): undefined reference to `sem_post'
> /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libcom_err.a(error_message.o): In function `setup_et_lock':
> (.text.startup+0x11): undefined reference to `sem_init'
> /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libcom_err.a(error_message.o): In functio...
2014 Feb 27
0
AIX WINBIND ISSUES
...../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'
[ 8/1242] Generating VERSION
[ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
[ 13/1242] Compiling IDL ../librpc/idl/auth.idl
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
/rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier or
'(' before '[' token...
2014 Feb 27
0
AIX 7.1 Winbind Module Load Issues
.../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'
[ 8/1242] Generating VERSION
[ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
[ 13/1242] Compiling IDL ../librpc/idl/auth.idl
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied
/rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier
or '(' before '[' toke...
2019 May 25
1
[nbdkit PATCH] nbd: Rewrite thread passing to use semaphore rather than pipe
...+ if (!trans)
nbdkit_debug ("partial reply handled, waiting for final reply");
- else if (write (fd, &r, sizeof r) != sizeof r) {
- nbdkit_error ("failed to write pipe: %m");
- abort ();
+ else {
+ trans->err = r;
+ if (sem_post (&trans->sem)) {
+ nbdkit_error ("failed to post semaphore: %m");
+ abort ();
+ }
}
}
- if (fd >= 0)
- close (fd);
ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&h->trans_lock);
done = h->dead;
}
@@ -645,27 +640,32 @@ nbd_rea...
2019 Jul 01
3
[nbdkit PATCH 0/2] Use new libnbd _notify functions
I'm not observing any noticeable performance differences, but I'm
liking the diffstat. I can't push this patch until we release a new
libnbd version with the _notify API addition, but am posting it now
for playing with things.
Eric Blake (2):
nbd: Move transaction info from heap to stack
nbd: Use nbdkit aio_*_notify variants
plugins/nbd/nbd.c | 217
2011 Mar 13
1
Samba4 won't compile
...------------- cite on ---------------
[2152/2374] Linking default/source4/heimdal_build/libroken-samba4.so
[2153/2374] Linking default/source4/heimdal_build/libasn1-samba4.so
/lib/libcom_err.a(error_message.o): In function `et_list_unlock':
error_message.c:(.text+0x20): undefined reference to `sem_post'
/lib/libcom_err.a(error_message.o): In function `fini_et_lock':
error_message.c:(.text+0x3e): undefined reference to `sem_destroy'
/lib/libcom_err.a(error_message.o): In function `setup_et_lock':
error_message.c:(.text+0x6e): undefined reference to `sem_init'
/lib/libcom_err.a(...
2019 Jul 30
1
[PATCH nbdkit] nbd: Update for libnbd 0.9.6.
...n
+ * updated by nbdplug_register, but it's only an informational
+ * message.
+ */
nbdkit_debug ("cookie %" PRId64 " completed state machine, status %d",
- cookie, *error);
+ trans->cookie, *error);
trans->err = *error;
if (sem_post (&trans->sem)) {
nbdkit_error ("failed to post semaphore: %m");
@@ -383,6 +388,7 @@ nbdplug_register (struct handle *h, struct transaction *trans, int64_t cookie)
}
nbdkit_debug ("cookie %" PRId64 " started by state machine", cookie);
+ trans->c...
2013 Feb 18
4
[PATCH for discussion only 0/3] Implement mutexes to limit number of concurrent instances of libguestfs.
These three patches (for discussion only, NOT to be applied) implement
a mutex system that lets the user limit the number of libguestfs
instances that can be launched per host. There are two uses that I
have identified for this: firstly so we can enable parallel-tests (the
default in automake >= 1.13) without blowing up the host. Secondly
oVirt has raised concerns about how to limit the
2019 May 30
0
[nbdkit PATCH 3/4] nbd: Use libnbd 0.1
..._errno ();
+ if (!trans->err)
+ trans->err = EIO;
+ }
+ if (r) {
+ nbdkit_debug ("cookie %" PRId64 " completed state machine, status %d",
+ trans->cookie, trans->err);
+ *prev = trans->next;
if (sem_post (&trans->sem)) {
nbdkit_error ("failed to post semaphore: %m");
abort ();
}
}
+ else
+ prev = &trans->next;
+ trans = *prev;
}
- ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&h->trans_lock);
- done = h->dead;...
2019 Jun 12
0
[nbdkit PATCH v3 3/5] nbd: Use libnbd 0.1.3+
..._errno ();
+ if (!trans->err)
+ trans->err = EIO;
+ }
+ if (r) {
+ nbdkit_debug ("cookie %" PRId64 " completed state machine, status %d",
+ trans->cookie, trans->err);
+ *prev = trans->next;
if (sem_post (&trans->sem)) {
nbdkit_error ("failed to post semaphore: %m");
abort ();
}
}
+ else
+ prev = &trans->next;
+ trans = *prev;
}
- ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&h->trans_lock);
- done = h->dead;...
2020 Mar 19
1
[nbdkit PATCH] nbd: Drop nbd-standalone fallback
...done = false;
- int r;
-
- while (!done) {
- struct transaction *trans;
-
- r = nbd_reply_raw (h, &trans);
- if (r >= 0) {
- if (!trans)
- nbdkit_debug ("partial reply handled, waiting for final reply");
- else {
- trans->err = r;
- if (sem_post (&trans->sem)) {
- nbdkit_error ("failed to post semaphore: %m");
- abort ();
- }
- }
- }
- ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&h->trans_lock);
- done = h->dead;
- }
-
- /* Clean up any stranded in-flight requests */
- r = ESHUTDOWN;...
2019 Jul 23
4
[libnbd PATCH] api: Allow completion callbacks to auto-retire
When using the nbd_aio_FOO_callback commands, there is nothing further
to be learned about the command by calling nbd_aio_command_completed()
compared to what the callback already had access to. There are still
scenarios where manually retiring the command after the fact is useful
(whether the return was 0 to keep the status unchanged, or -1 to alter
the retirement status to *error), but by
2019 May 30
5
[nbdkit PATCH 0/4] Play with libnbd for nbdkit-add
Patch 1 played with an early draft of Rich's Fedora 30 libnbd package:
https://bugzilla.redhat.com/show_bug.cgi?id=1713767#c17
Note that comment 21 provides a newer package 0.1.1-1 with a different
API; and that libnbd has more unreleased API changes in the pipeline
(whether that will be called 0.2 or 0.1.2); so we'll have to tweak
things based on what is actually available in distros.
2019 Jun 02
5
[nbdkit PATCH v2 0/5] Play with libnbd for nbdkit-nbd
libnbd-0.1.2-1 is now available in Fedora 29/30 updates-testing,
although it was not compiled against libxml2 so it lacks uri support
(I ended up testing patch 4 with a self-built libnbd).
Diffs since v1 - rebase to master, bump from libnbd 0.1 to 0.1.2, add
URI support, better timing results
Still not done - patch 5 needs associated tests
Eric Blake (5):
nbd: Check for libnbd
nbd: