search for: debug_init

Displaying 13 results from an estimated 13 matches for "debug_init".

Did you mean: debug_info
2005 Jun 06
2
mISDN + chan_misdn.so + winbond issue
...DN_l2 modprobe l3udss1 modprobe mISDN_dsp modprobe w6692pci protocol=2 layermask=1 Then I start asterisk: asterisk -c -vvvvvv -dddddd When loading chan_misdn.so , Asterisk complains and exits after the last error line below " [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) debug_init: using stdout for debug log debug_init: using stderr for warning log debug_init: using stderr for error log debug_init: debug_mask = 0 No lower Id port:1 init_stack: No such file or directory " Contents of the /var/log/messages for all above commands: Jun 5 20:25:20 pbx kernel: Zapata Teleph...
2005 Jul 25
4
Fritz PCI card in ptp mode with chan_misdn
...sk stops loading with : [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) == Parsing '/etc/asterisk/misdn.conf': Found UnLocking config_mutex == Registered channel type 'mISDN' (This driver enables the asterisk to use hardware which is supported by the new ) debug_init: using stdout for debug log debug_init: using stderr for warning log debug_init: using stderr for error log debug_init: debug_mask = 0 Locking Config Mutex UnLocking Config Mutex Init. Stack on port:1 unknown port(1) type 0x00000000 No lower Id port:1 init_stack: Success aster1:/etc/asterisk # But...
2005 Feb 18
0
More on W6692pci NT mode under chan_misdn
...ded with theese messages: [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) == Parsing '/etc/asterisk/misdn.conf': Found UnLocking config_mutex == Registered channel type 'mISDN' (This driver enables the asterisk to use hardware which is supported by the new ) debug_init: using stdout for debug log debug_init: using stderr for warning log debug_init: using stderr for error log debug_init: debug_mask = 0 Locking Config Mutex UnLocking Config Mutex Init. Stack on port:1 TE Stack No lower Id port:1 init_stack: Success talkinghead:~ # syslog: Feb 18 16:58:50 talkinghe...
2005 May 16
0
chan_misdn and passive BRI cards
...chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) == Parsing '/etc/asterisk/misdn.conf': Found == Registered channel type 'mISDN' (This driver enables the asterisk to use hardware which is supported by the new ) == Registered application 'misdn_set_opt' debug_init: using stdout for debug log debug_init: using stderr for warning log debug_init: using stderr for error log debug_init: debug_mask = 0 Init. Stack on port:1 TE Stack No Upper ID port:1 init_stack: Success Ouch ... error while writing audio data: : Broken pipe After all the effort of recompiling my...
2015 Nov 26
0
[libdrm 06/13] nouveau: introduce object to represent the kernel client
...nouveau_object_find(struct nouveau_object *obj, uint32_t pclass) return obj; } +void +nouveau_drm_del(struct nouveau_drm **pdrm) +{ + free(*pdrm); + *pdrm = NULL; +} + +int +nouveau_drm_new(int fd, struct nouveau_drm **pdrm) +{ + struct nouveau_drm *drm; + drmVersionPtr ver; + +#ifdef DEBUG + debug_init(getenv("NOUVEAU_LIBDRM_DEBUG")); +#endif + + if (!(drm = *pdrm = calloc(1, sizeof(*drm)))) + return -ENOMEM; + drm->fd = fd; + + if (!(ver = drmGetVersion(fd))) { + nouveau_drm_del(pdrm); + return -EINVAL; + } + + drm->drm_version = (ver->version_major << 24) | + (v...
2015 Nov 26
0
[libdrm 07/13] nouveau: stack legacy nouveau_device on top of nouveau_drm
...u_device_priv *nvdev = calloc(1, sizeof(*nvdev)); - struct nouveau_device *dev = &nvdev->base; + struct nouveau_drm *drm; + struct nouveau_device_priv *nvdev; + struct nouveau_device *dev; uint64_t chipset, vram, gart, bousage; - drmVersionPtr ver; int ret; char *tmp; -#ifdef DEBUG - debug_init(getenv("NOUVEAU_LIBDRM_DEBUG")); -#endif - - if (!nvdev) + if (!(nvdev = calloc(1, sizeof(*nvdev)))) return -ENOMEM; + dev = &nvdev->base; + ret = pthread_mutex_init(&nvdev->lock, NULL); if (ret) { free(nvdev); return ret; } - nvdev->base.fd = fd; - - ver...
2012 Jul 05
1
[GIT-PULL] Elflink fixes
...om32/lib/vdprintf.c index 77e8da4..db60295 100644 --- a/com32/lib/vdprintf.c +++ b/com32/lib/vdprintf.c @@ -45,14 +45,13 @@ static void debug_putc(char c) void vdprintf(const char *format, va_list ap) { - int rv, _rv; + int rv; char buffer[BUFFER_SIZE]; char *p; static bool debug_init = false; static bool debug_ok = false; - _rv = rv = vsnprintf(buffer, BUFFER_SIZE, format, ap); - + rv = vsnprintf(buffer, BUFFER_SIZE, format, ap); if (rv < 0) return; diff --git a/core/Makefile b/core/Makefile index 3147566..a01d83a 100644 --- a/core/Makefile +++ b/core...
2020 Mar 19
0
smbclient(samba-4.10.4) cannot log data in log.smbclient while samba-3.6.23 can
...ions are far apart. > > Even there is significant change log handling between two versions. I > tried adding the old code back but still no luck. > > samba-4.10.4/lib/util/debug.c > void setup_logging(const char *prog_name, enum debug_logtype new_logtype) > > { > ??????? debug_init(); > ??????? if (state.logtype < new_logtype) { > ??????????????? state.logtype = new_logtype; > ??????? } > ??????? if (prog_name) { > ??????????????? const char *p = strrchr(prog_name, '/'); > > ??????????????? if (p) { > ??????????????????????? prog_name = p +...
2015 Nov 26
18
[libdrm 01/13] nouveau: move more abi16-specific logic into abi16.c
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- nouveau/abi16.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++----- nouveau/nouveau.c | 56 +++++++------------------------------------------ nouveau/private.h | 7 ++----- 3 files changed, 67 insertions(+), 58 deletions(-) diff --git a/nouveau/abi16.c b/nouveau/abi16.c index
2015 Nov 27
14
[libdrm v2 01/14] nouveau: import and install a selection of nvif headers from the kernel
From: Ben Skeggs <bskeggs at redhat.com> This commit also modifies the install path of the main libdrm_nouveau header to be under a nouveau/ subdirectory. Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- include/drm/nouveau_drm.h | 1 + nouveau/Makefile.am | 11 +++- nouveau/libdrm_nouveau.pc.in | 2 +- nouveau/nvif/cl0080.h | 45 ++++++++++++++
2014 Jul 31
1
[libdrm PATCH 1/3] nouveau: Only export public functions.
...struct nouveau_bufctx *bctx, int bin, uint32_t packet, struct nouveau_bo *bo, uint64_t data, uint32_t flags, uint32_t vor, uint32_t tor) diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c index 1bede84..43f0d3c 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -62,14 +62,14 @@ debug_init(char *args) * is kept here to prevent AIGLX from crashing if the DDX is linked against * the new libdrm, but the DRI driver against the old */ -int +drm_public int nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd, drm_context_t ctx) { return -EACCES;...
2015 Dec 16
16
[libdrm v3 01/14] nouveau: import and install a selection of nvif headers from the kernel
From: Ben Skeggs <bskeggs at redhat.com> This commit also modifies the install path of the main libdrm_nouveau header to be under a nouveau/ subdirectory. Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- include/drm/nouveau_drm.h | 1 + nouveau/Makefile.am | 11 +++- nouveau/libdrm_nouveau.pc.in | 2 +- nouveau/nvif/cl0080.h | 45 ++++++++++++++
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing