FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 02-17-2012, 02:23 PM
Steven Whitehouse
 
Default

Hi,

On Fri, 2012-02-17 at 09:34 -0500, Bob Peterson wrote:
> ----- Original Message -----
> | Hi,
> |
> | If we are going to do this, then perhaps we should consider reading
> | in
> | the rindex on mount? That way it will always be uptodate, and we can
> | refuse to mount if the rindex is damaged which is probably cleaner
> | than
> | doing it after the event.
> |
> | The only concern is the time taken to mount large filesystems. Having
> | said that the rindex should be contiguous on disk in most cases, so
> | it
> | should be a fairly fast operation. Worth considering, anyway I think,
> |
> | Steve.
>
> Hi,
>
> That's not a bad idea, and we should consider it for a future enhancement.
> However, I think these checks still need to be here because there are
> other ways the rindex can get out of date and need to be re-read after
> mount. For example, if there was another intermediate gfs2_grow done on a
> different node.
>
> BTW, I assume you saw my other patch from yesterday regarding gfs2_unlink, right?
>
> Regards,
>
> Bob Peterson
> Red Hat File Systems

Both patches now pushed to the -nmw tree, but I'd like to see a more
comprehensive fix for this in due course,

Steve.
 
Old 02-17-2012, 08:39 PM
Lon Hohberger
 
Default

Qdiskd hsitorically has required significant tuning to work around
delays which occur during multipath failover, overloaded I/O, and LUN
trespasses in both device-mapper-multipath and EMC PowerPath
environments.

This patch goes a very long way towards eliminating false evictions
when these conditions occur by making qdiskd whine to the other
cluster members when it detects hung system calls. When a cluster
member whines, it indicates the source of the problem (which system
call is hung), and the act of receiving a whine from a host indicates
that qdiskd is operational, but that I/O is hung. Hung I/O is different
from losing storage entirely (where you get I/O errors).

Possible problems:

- Receive queue getting very full, causing messages to become blocked on
a node where I/O is hung. 1) that would take a very long time, and 2)
node should get evicted at that point anyway.

Resolves: rhbz#678372

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
cman/daemon/cnxman-socket.h | 1 +
cman/qdisk/Makefile | 2 +-
cman/qdisk/disk.h | 6 +++++
cman/qdisk/iostate.c | 16 ++++++++++++--
cman/qdisk/iostate.h | 4 ++-
cman/qdisk/main.c | 46 ++++++++++++++++++++++++++++++++++++++++--
6 files changed, 67 insertions(+), 8 deletions(-)

diff --git a/cman/daemon/cnxman-socket.h b/cman/daemon/cnxman-socket.h
index d243b40..e6bb5dd 100644
--- a/cman/daemon/cnxman-socket.h
+++ b/cman/daemon/cnxman-socket.h
@@ -68,6 +68,7 @@
#define CLUSTER_PORT_SERVICES 2
#define CLUSTER_PORT_SYSMAN 10 /* Remote execution daemon */
#define CLUSTER_PORT_CLVMD 11 /* Cluster LVM daemon */
+#define CLUSTER_PORT_QDISKD 178 /* Quorum disk daemon */

/* Port numbers above this will be blocked when the cluster is inquorate or in
* transition */
diff --git a/cman/qdisk/Makefile b/cman/qdisk/Makefile
index 68e20cd..e3bb5f7 100644
--- a/cman/qdisk/Makefile
+++ b/cman/qdisk/Makefile
@@ -40,7 +40,7 @@ ${TARGET1}: ${SHAREDOBJS} ${OBJS1}
$(CC) -o $@ $^ $(EXTRA_LDFLAGS) $(LDFLAGS)

${TARGET2}: ${SHAREDOBJS} ${OBJS2}
- $(CC) -o $@ $^ $(LDFLAGS)
+ $(CC) -o $@ $^ $(EXTRA_LDFLAGS) $(LDFLAGS)

depends:
$(MAKE) -C ../lib all
diff --git a/cman/qdisk/disk.h b/cman/qdisk/disk.h
index 93d15fe..fd80fa6 100644
--- a/cman/qdisk/disk.h
+++ b/cman/qdisk/disk.h
@@ -273,6 +273,12 @@ typedef struct {
status_block_t ni_status;
} node_info_t;

+typedef struct {
+ qd_ctx *ctx;
+ node_info_t *ni;
+ size_t ni_len;
+} qd_priv_t;
+
int qd_write_status(qd_ctx *ctx, int nid, disk_node_state_t state,
disk_msg_t *msg, memb_mask_t mask, memb_mask_t master);
int qd_init(qd_ctx *ctx, cman_handle_t ch_admin,
diff --git a/cman/qdisk/iostate.c b/cman/qdisk/iostate.c
index 0199da4..06c6831 100644
--- a/cman/qdisk/iostate.c
+++ b/cman/qdisk/iostate.c
@@ -1,9 +1,12 @@
#include <pthread.h>
+#include <libcman.h>
#include <iostate.h>
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include <liblogthread.h>
+#include <stdint.h>
+#include "platform.h"
#include "iostate.h"

static iostate_t main_state = 0;
@@ -26,7 +29,7 @@ static struct state_table io_state_table[] = {
{ STATE_LSEEK, "seek" },
{ -1, NULL } };

-static const char *
+const char *
state_to_string(iostate_t state)
{
static const char *ret = "unknown";
@@ -65,6 +68,8 @@ io_nanny_thread(void *arg)
iostate_t last_main_state = 0, current_main_state = 0;
int last_main_incarnation = 0, current_main_incarnation = 0;
int logged_incarnation = 0;
+ cman_handle_t ch = (cman_handle_t)arg;
+ int32_t whine_state;

/* Start with wherever we're at now */
pthread_mutex_lock(&state_mutex);
@@ -96,6 +101,11 @@ io_nanny_thread(void *arg)
continue;
}

+ /* Whine on CMAN api */
+ whine_state = (int32_t)current_main_state;
+ swab32(whine_state);
+ cman_send_data(ch, &whine_state, sizeof(int32_t), 0, 178, 0);
+
/* Don't log things twice */
if (logged_incarnation == current_main_incarnation)
continue;
@@ -114,7 +124,7 @@ io_nanny_thread(void *arg)


int
-io_nanny_start(int timeout)
+io_nanny_start(cman_handle_t ch, int timeout)
{
int ret;

@@ -124,7 +134,7 @@ io_nanny_start(int timeout)
qdisk_timeout = timeout;
thread_active = 1;

- ret = pthread_create(&io_nanny_tid, NULL, io_nanny_thread, NULL);
+ ret = pthread_create(&io_nanny_tid, NULL, io_nanny_thread, ch);
pthread_mutex_unlock(&state_mutex);

return ret;
diff --git a/cman/qdisk/iostate.h b/cman/qdisk/iostate.h
index 7dd7bf6..a65b1d4 100644
--- a/cman/qdisk/iostate.h
+++ b/cman/qdisk/iostate.h
@@ -11,7 +11,9 @@ typedef enum {

void io_state(iostate_t state);

-int io_nanny_start(int timeout);
+int io_nanny_start(cman_handle_t ch, int timeout);
int io_nanny_stop(void);

+const char * state_to_string(iostate_t state);
+
#endif
diff --git a/cman/qdisk/main.c b/cman/qdisk/main.c
index a90e82c..fc714f6 100644
--- a/cman/qdisk/main.c
+++ b/cman/qdisk/main.c
@@ -25,6 +25,7 @@
#include <liblogthread.h>
#include "score.h"
#include "../daemon/cman.h"
+#include "../daemon/cnxman-socket.h"
#include <sys/syslog.h>

#define LOG_DAEMON_NAME "qdiskd"
@@ -915,7 +916,8 @@ cman_wait(cman_handle_t ch, struct timeval *_tv)
static void
process_cman_event(cman_handle_t handle, void *private, int reason, int arg)
{
- qd_ctx *ctx = (qd_ctx *)private;
+ qd_priv_t *qp = (qd_priv_t *)private;
+ qd_ctx *ctx = qp->ctx;

switch(reason) {
case CMAN_REASON_PORTOPENED:
@@ -1926,6 +1928,33 @@ check_stop_cman(qd_ctx *ctx)
do { static int _logged=0; if (!_logged) { _logged=1; logt_print(level, fmt, ##args); } } while(0)


+static void
+qdisk_whine(cman_handle_t h, void *privdata, char *buf, int len,
+ uint8_t port, int nodeid)
+{
+ int32_t dstate;
+ qd_priv_t *qp = (qd_priv_t *)privdata;
+ node_info_t *ni = qp->ni;
+
+ if (len != sizeof(dstate)) {
+ return;
+ }
+
+ dstate = *((int32_t*)buf);
+
+ if (nodeid == (qp->ctx->qc_my_id))
+ return;
+
+ swab32(dstate);
+
+ if (dstate) {
+ logt_print(LOG_NOTICE, "qdiskd on node %d reports hung %s()
", nodeid,
+ state_to_string(dstate));
+ ni[nodeid-1].ni_misses = 0;
+ }
+}
+
+
int
main(int argc, char **argv)
{
@@ -1939,6 +1968,7 @@ main(int argc, char **argv)
char device[128];
pid_t pid;
quorum_header_t qh;
+ qd_priv_t qp;

if (check_process_running(argv[0], &pid) && pid !=getpid()) {
printf("QDisk services already running
");
@@ -2001,13 +2031,23 @@ main(int argc, char **argv)

/* For cman notifications we need two sockets - one for events,
one for config change callbacks */
- ch_user = cman_init(&ctx);
+ qp.ctx = &ctx;
+ qp.ni = &ni[0];
+ qp.ni_len = MAX_NODES_DISK;
+
+ ch_user = cman_init(&qp);
if (cman_start_notification(ch_user, process_cman_event) != 0) {
logt_print(LOG_CRIT, "Could not register with CMAN: %s
",
strerror(errno));
goto out;
}

+ if (cman_start_recv_data(ch_user, qdisk_whine, CLUSTER_PORT_QDISKD) != 0) {
+ logt_print(LOG_CRIT, "Could not register with CMAN: %s
",
+ strerror(errno));
+ goto out;
+ }
+
memset(&me, 0, sizeof(me));
if (cman_get_node(ch_admin, CMAN_NODEID_US, &me) < 0) {
logt_print(LOG_CRIT, "Could not determine local node ID: %s
",
@@ -2108,7 +2148,7 @@ main(int argc, char **argv)
}
}

- io_nanny_start(ctx.qc_tko * ctx.qc_interval);
+ io_nanny_start(ch_user, ctx.qc_tko * ctx.qc_interval);

if (quorum_loop(&ctx, ni, MAX_NODES_DISK) == 0) {
/* Only clean up if we're exiting w/o error) */
--
1.7.7.6
 
Old 02-18-2012, 02:57 AM
"Fabio M. Di Nitto"
 
Default

Signed-Off.

I also sent a very small cleanup after ionanny/178 port to STABLE32.

Thanks
Fabio

On 02/17/2012 10:39 PM, Lon Hohberger wrote:
> Qdiskd hsitorically has required significant tuning to work around
> delays which occur during multipath failover, overloaded I/O, and LUN
> trespasses in both device-mapper-multipath and EMC PowerPath
> environments.
>
> This patch goes a very long way towards eliminating false evictions
> when these conditions occur by making qdiskd whine to the other
> cluster members when it detects hung system calls. When a cluster
> member whines, it indicates the source of the problem (which system
> call is hung), and the act of receiving a whine from a host indicates
> that qdiskd is operational, but that I/O is hung. Hung I/O is different
> from losing storage entirely (where you get I/O errors).
>
> Possible problems:
>
> - Receive queue getting very full, causing messages to become blocked on
> a node where I/O is hung. 1) that would take a very long time, and 2)
> node should get evicted at that point anyway.
>
> Resolves: rhbz#678372
>
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
> cman/daemon/cnxman-socket.h | 1 +
> cman/qdisk/Makefile | 2 +-
> cman/qdisk/disk.h | 6 +++++
> cman/qdisk/iostate.c | 16 ++++++++++++--
> cman/qdisk/iostate.h | 4 ++-
> cman/qdisk/main.c | 46 ++++++++++++++++++++++++++++++++++++++++--
> 6 files changed, 67 insertions(+), 8 deletions(-)
>
> diff --git a/cman/daemon/cnxman-socket.h b/cman/daemon/cnxman-socket.h
> index d243b40..e6bb5dd 100644
> --- a/cman/daemon/cnxman-socket.h
> +++ b/cman/daemon/cnxman-socket.h
> @@ -68,6 +68,7 @@
> #define CLUSTER_PORT_SERVICES 2
> #define CLUSTER_PORT_SYSMAN 10 /* Remote execution daemon */
> #define CLUSTER_PORT_CLVMD 11 /* Cluster LVM daemon */
> +#define CLUSTER_PORT_QDISKD 178 /* Quorum disk daemon */
>
> /* Port numbers above this will be blocked when the cluster is inquorate or in
> * transition */
> diff --git a/cman/qdisk/Makefile b/cman/qdisk/Makefile
> index 68e20cd..e3bb5f7 100644
> --- a/cman/qdisk/Makefile
> +++ b/cman/qdisk/Makefile
> @@ -40,7 +40,7 @@ ${TARGET1}: ${SHAREDOBJS} ${OBJS1}
> $(CC) -o $@ $^ $(EXTRA_LDFLAGS) $(LDFLAGS)
>
> ${TARGET2}: ${SHAREDOBJS} ${OBJS2}
> - $(CC) -o $@ $^ $(LDFLAGS)
> + $(CC) -o $@ $^ $(EXTRA_LDFLAGS) $(LDFLAGS)
>
> depends:
> $(MAKE) -C ../lib all
> diff --git a/cman/qdisk/disk.h b/cman/qdisk/disk.h
> index 93d15fe..fd80fa6 100644
> --- a/cman/qdisk/disk.h
> +++ b/cman/qdisk/disk.h
> @@ -273,6 +273,12 @@ typedef struct {
> status_block_t ni_status;
> } node_info_t;
>
> +typedef struct {
> + qd_ctx *ctx;
> + node_info_t *ni;
> + size_t ni_len;
> +} qd_priv_t;
> +
> int qd_write_status(qd_ctx *ctx, int nid, disk_node_state_t state,
> disk_msg_t *msg, memb_mask_t mask, memb_mask_t master);
> int qd_init(qd_ctx *ctx, cman_handle_t ch_admin,
> diff --git a/cman/qdisk/iostate.c b/cman/qdisk/iostate.c
> index 0199da4..06c6831 100644
> --- a/cman/qdisk/iostate.c
> +++ b/cman/qdisk/iostate.c
> @@ -1,9 +1,12 @@
> #include <pthread.h>
> +#include <libcman.h>
> #include <iostate.h>
> #include <unistd.h>
> #include <time.h>
> #include <sys/time.h>
> #include <liblogthread.h>
> +#include <stdint.h>
> +#include "platform.h"
> #include "iostate.h"
>
> static iostate_t main_state = 0;
> @@ -26,7 +29,7 @@ static struct state_table io_state_table[] = {
> { STATE_LSEEK, "seek" },
> { -1, NULL } };
>
> -static const char *
> +const char *
> state_to_string(iostate_t state)
> {
> static const char *ret = "unknown";
> @@ -65,6 +68,8 @@ io_nanny_thread(void *arg)
> iostate_t last_main_state = 0, current_main_state = 0;
> int last_main_incarnation = 0, current_main_incarnation = 0;
> int logged_incarnation = 0;
> + cman_handle_t ch = (cman_handle_t)arg;
> + int32_t whine_state;
>
> /* Start with wherever we're at now */
> pthread_mutex_lock(&state_mutex);
> @@ -96,6 +101,11 @@ io_nanny_thread(void *arg)
> continue;
> }
>
> + /* Whine on CMAN api */
> + whine_state = (int32_t)current_main_state;
> + swab32(whine_state);
> + cman_send_data(ch, &whine_state, sizeof(int32_t), 0, 178, 0);
> +
> /* Don't log things twice */
> if (logged_incarnation == current_main_incarnation)
> continue;
> @@ -114,7 +124,7 @@ io_nanny_thread(void *arg)
>
>
> int
> -io_nanny_start(int timeout)
> +io_nanny_start(cman_handle_t ch, int timeout)
> {
> int ret;
>
> @@ -124,7 +134,7 @@ io_nanny_start(int timeout)
> qdisk_timeout = timeout;
> thread_active = 1;
>
> - ret = pthread_create(&io_nanny_tid, NULL, io_nanny_thread, NULL);
> + ret = pthread_create(&io_nanny_tid, NULL, io_nanny_thread, ch);
> pthread_mutex_unlock(&state_mutex);
>
> return ret;
> diff --git a/cman/qdisk/iostate.h b/cman/qdisk/iostate.h
> index 7dd7bf6..a65b1d4 100644
> --- a/cman/qdisk/iostate.h
> +++ b/cman/qdisk/iostate.h
> @@ -11,7 +11,9 @@ typedef enum {
>
> void io_state(iostate_t state);
>
> -int io_nanny_start(int timeout);
> +int io_nanny_start(cman_handle_t ch, int timeout);
> int io_nanny_stop(void);
>
> +const char * state_to_string(iostate_t state);
> +
> #endif
> diff --git a/cman/qdisk/main.c b/cman/qdisk/main.c
> index a90e82c..fc714f6 100644
> --- a/cman/qdisk/main.c
> +++ b/cman/qdisk/main.c
> @@ -25,6 +25,7 @@
> #include <liblogthread.h>
> #include "score.h"
> #include "../daemon/cman.h"
> +#include "../daemon/cnxman-socket.h"
> #include <sys/syslog.h>
>
> #define LOG_DAEMON_NAME "qdiskd"
> @@ -915,7 +916,8 @@ cman_wait(cman_handle_t ch, struct timeval *_tv)
> static void
> process_cman_event(cman_handle_t handle, void *private, int reason, int arg)
> {
> - qd_ctx *ctx = (qd_ctx *)private;
> + qd_priv_t *qp = (qd_priv_t *)private;
> + qd_ctx *ctx = qp->ctx;
>
> switch(reason) {
> case CMAN_REASON_PORTOPENED:
> @@ -1926,6 +1928,33 @@ check_stop_cman(qd_ctx *ctx)
> do { static int _logged=0; if (!_logged) { _logged=1; logt_print(level, fmt, ##args); } } while(0)
>
>
> +static void
> +qdisk_whine(cman_handle_t h, void *privdata, char *buf, int len,
> + uint8_t port, int nodeid)
> +{
> + int32_t dstate;
> + qd_priv_t *qp = (qd_priv_t *)privdata;
> + node_info_t *ni = qp->ni;
> +
> + if (len != sizeof(dstate)) {
> + return;
> + }
> +
> + dstate = *((int32_t*)buf);
> +
> + if (nodeid == (qp->ctx->qc_my_id))
> + return;
> +
> + swab32(dstate);
> +
> + if (dstate) {
> + logt_print(LOG_NOTICE, "qdiskd on node %d reports hung %s()
", nodeid,
> + state_to_string(dstate));
> + ni[nodeid-1].ni_misses = 0;
> + }
> +}
> +
> +
> int
> main(int argc, char **argv)
> {
> @@ -1939,6 +1968,7 @@ main(int argc, char **argv)
> char device[128];
> pid_t pid;
> quorum_header_t qh;
> + qd_priv_t qp;
>
> if (check_process_running(argv[0], &pid) && pid !=getpid()) {
> printf("QDisk services already running
");
> @@ -2001,13 +2031,23 @@ main(int argc, char **argv)
>
> /* For cman notifications we need two sockets - one for events,
> one for config change callbacks */
> - ch_user = cman_init(&ctx);
> + qp.ctx = &ctx;
> + qp.ni = &ni[0];
> + qp.ni_len = MAX_NODES_DISK;
> +
> + ch_user = cman_init(&qp);
> if (cman_start_notification(ch_user, process_cman_event) != 0) {
> logt_print(LOG_CRIT, "Could not register with CMAN: %s
",
> strerror(errno));
> goto out;
> }
>
> + if (cman_start_recv_data(ch_user, qdisk_whine, CLUSTER_PORT_QDISKD) != 0) {
> + logt_print(LOG_CRIT, "Could not register with CMAN: %s
",
> + strerror(errno));
> + goto out;
> + }
> +
> memset(&me, 0, sizeof(me));
> if (cman_get_node(ch_admin, CMAN_NODEID_US, &me) < 0) {
> logt_print(LOG_CRIT, "Could not determine local node ID: %s
",
> @@ -2108,7 +2148,7 @@ main(int argc, char **argv)
> }
> }
>
> - io_nanny_start(ctx.qc_tko * ctx.qc_interval);
> + io_nanny_start(ch_user, ctx.qc_tko * ctx.qc_interval);
>
> if (quorum_loop(&ctx, ni, MAX_NODES_DISK) == 0) {
> /* Only clean up if we're exiting w/o error) */
 
Old 02-18-2012, 03:43 AM
Mark LaPierre
 
Default

On 02/13/2012 12:15 AM, John Stanley wrote:
> On Sun, 2012-02-12 at 20:30 -0500, Mark LaPierre wrote:
>
>> No such audio driver 'pulse'
>> Could not open/initialize audio device -> no sound.
>> Audio: no sound
>> Video: no video
>>
>>
>> Exiting... (End of file)
> ------------------------------------
> You should get this: `mplayer -ao pulse my.mp3`
>
> Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
> Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
> II, III)
> ================================================== ========================
> AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
> A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
>
>
> MPlayer interrupted by signal 2 in module: play_audio
> A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
>
> Exiting... (Quit)
> ---------------------------------------------------------------------
> With ALSA:
> mplayer -ao alsa my.mp3
>
> ================================================== ========================
> Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
> Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
> II, III)
> ================================================== ========================
> AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
> A: 12.7 (12.7) of 254.0 (04:14.0) 0.4%
>
>
> MPlayer interrupted by signal 2 in module: play_audio
> A: 12.8 (12.7) of 254.0 (04:14.0) 0.4%
>
> Exiting... (Quit)
> ----------------------------------------
>
> On a corectly configured DAW Machine with pulseaudio you should be able
> to run: `padsp mplayer my.mp3`
>
> AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Video: no video
> Starting playback...
> A: 11.1 (11.1) of 254.0 (04:14.0) 0.4%
>
>
> MPlayer interrupted by signal 2 in module: play_audio
> A: 11.2 (11.1) of 254.0 (04:14.0) 0.4%
> ----------------------------------------------------------
>
> On EL6 you should be using ALSA for mplayer as alsa targets pulse.
>
>> aplay file.mp3 says:
>> Playing raw data 'file.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
>>
>> Still just makes a nasty hiss.
>
> `aplay -f dat my.wav` is what you want. "little indianess" byte words.
>
>> Still no /dev/dsp. Maybe there isn't supposed to be one for my sound
>> hardware?
>
> I said previously there is NO ""/dev/dsp"" and there want be one for
> EL6. If perhaps you had one then you really have someing funny going
> on.
>
>> lspci says:
>> Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237
>> AC97 Audio Controller (rev 60)
>
> Those cards can be nothing but problems. Some say that there are common
> in linux but I say nothing but common trouble.
>
> When did you update the the kernel last? Something good is `alsa-info`
> and read the instructions on the terminal and where to run it and get
> the standard output of it. You could try a diffeernt "codec" besides
> "lame" like mpg123. Does asound.conf point to the pulses conf file?
>
> It is a normal thing that pulseaudio will pop and skip and snap crackle
> when it does not have enough of a Buffer or Priority and when a card is
> going bad.
>
> Since in the above mplayer can not access pulse last thing you could do
> is reinstall all the pulse packages.
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

I downgraded lame back to the previous package and rebooted the machine.
That fixed the skipping and dropouts from totem/gstreamer.

Shortly after that I got a kernel upgrade notice on my auto update tool.
I installed that but declined the upgrade to lame. After reboot that
still worked. Last night I reinstalled the lame upgrade and did another
cold start. Still no skipping and dropouts from totem/gstreamer.

mplayer still doesn't want to hear it.
mplayer -ao pulse my.mp3 ====> No Joy
mplayer -ao alsa my.mp3 ====> No Joy

padsp mplayer my.mp3 works.
It says:
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Sound it good.

`aplay -f dat my.mp3` just makes a hissy noise, but it's a different
hissy noise than `aplay my.mp3` does.

My alsa information is at:
http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154

--
_
v
/(_)
^ ^ Mark LaPierre
Registerd Linux user No #267004
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-18-2012, 04:00 AM
Mark LaPierre
 
Default

On 02/17/2012 11:43 PM, Mark LaPierre wrote:
> On 02/13/2012 12:15 AM, John Stanley wrote:
>> On Sun, 2012-02-12 at 20:30 -0500, Mark LaPierre wrote:
>>
>>> No such audio driver 'pulse'
>>> Could not open/initialize audio device -> no sound.
>>> Audio: no sound
>>> Video: no video
>>>
>>>
>>> Exiting... (End of file)
>> ------------------------------------
>> You should get this: `mplayer -ao pulse my.mp3`
>>
>> Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
>> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
>> Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
>> II, III)
>> ================================================== ========================
>> AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
>> Video: no video
>> Starting playback...
>> A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
>>
>>
>> MPlayer interrupted by signal 2 in module: play_audio
>> A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
>>
>> Exiting... (Quit)
>> ---------------------------------------------------------------------
>> With ALSA:
>> mplayer -ao alsa my.mp3
>>
>> ================================================== ========================
>> Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
>> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
>> Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
>> II, III)
>> ================================================== ========================
>> AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
>> Video: no video
>> Starting playback...
>> A: 12.7 (12.7) of 254.0 (04:14.0) 0.4%
>>
>>
>> MPlayer interrupted by signal 2 in module: play_audio
>> A: 12.8 (12.7) of 254.0 (04:14.0) 0.4%
>>
>> Exiting... (Quit)
>> ----------------------------------------
>>
>> On a corectly configured DAW Machine with pulseaudio you should be able
>> to run: `padsp mplayer my.mp3`
>>
>> AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Video: no video
>> Starting playback...
>> A: 11.1 (11.1) of 254.0 (04:14.0) 0.4%
>>
>>
>> MPlayer interrupted by signal 2 in module: play_audio
>> A: 11.2 (11.1) of 254.0 (04:14.0) 0.4%
>> ----------------------------------------------------------
>>
>> On EL6 you should be using ALSA for mplayer as alsa targets pulse.
>>
>>> aplay file.mp3 says:
>>> Playing raw data 'file.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
>>>
>>> Still just makes a nasty hiss.
>>
>> `aplay -f dat my.wav` is what you want. "little indianess" byte words.
>>
>>> Still no /dev/dsp. Maybe there isn't supposed to be one for my sound
>>> hardware?
>>
>> I said previously there is NO ""/dev/dsp"" and there want be one for
>> EL6. If perhaps you had one then you really have someing funny going
>> on.
>>
>>> lspci says:
>>> Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237
>>> AC97 Audio Controller (rev 60)
>>
>> Those cards can be nothing but problems. Some say that there are common
>> in linux but I say nothing but common trouble.
>>
>> When did you update the the kernel last? Something good is `alsa-info`
>> and read the instructions on the terminal and where to run it and get
>> the standard output of it. You could try a diffeernt "codec" besides
>> "lame" like mpg123. Does asound.conf point to the pulses conf file?
>>
>> It is a normal thing that pulseaudio will pop and skip and snap crackle
>> when it does not have enough of a Buffer or Priority and when a card is
>> going bad.
>>
>> Since in the above mplayer can not access pulse last thing you could do
>> is reinstall all the pulse packages.
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> I downgraded lame back to the previous package and rebooted the machine.
> That fixed the skipping and dropouts from totem/gstreamer.
>
> Shortly after that I got a kernel upgrade notice on my auto update tool.
> I installed that but declined the upgrade to lame. After reboot that
> still worked. Last night I reinstalled the lame upgrade and did another
> cold start. Still no skipping and dropouts from totem/gstreamer.
>
> mplayer still doesn't want to hear it.
> mplayer -ao pulse my.mp3 ====> No Joy
> mplayer -ao alsa my.mp3 ====> No Joy
>
> padsp mplayer my.mp3 works.
> It says:
> AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
> Sound it good.
>
> `aplay -f dat my.mp3` just makes a hissy noise, but it's a different
> hissy noise than `aplay my.mp3` does.
>
> My alsa information is at:
> http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154
>

Oh hold the phone! aplay doesn't support mp3. It works fine with wav
files. Duhhh! I guess I should RTFM.

--
_
v
/(_)
^ ^ Mark LaPierre
Registerd Linux user No #267004
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-18-2012, 08:07 AM
Arch Website Notification
 
Default

=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/

There are currently:
* 7 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 21 packages missing signoffs
* 2 packages older than 14 days

(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)


== New packages in [community-testing] in last 24 hours (7 total) ==

* courier-authlib-0.63.0-8 (i686)
* freeradius-2.1.12-4 (i686)
* ipvsadm-1.26-3 (i686)
* courier-authlib-0.63.0-8 (x86_64)
* freeradius-2.1.12-4 (x86_64)
* ipvsadm-1.26-3 (x86_64)
* pigeonhole-0.3.0-1 (x86_64)


== Incomplete signoffs for [community] (21 total) ==

* courier-authlib-0.63.0-8 (i686)
0/2 signoffs
* dbmail-3.0.0_rc3-1 (i686)
0/2 signoffs
* freeradius-2.1.12-4 (i686)
0/2 signoffs
* hostapd-0.7.3-6 (i686)
0/2 signoffs
* ipvsadm-1.26-3 (i686)
0/2 signoffs
* keepalived-1.2.2-3 (i686)
0/2 signoffs
* knemo-0.7.3-2 (i686)
0/2 signoffs
* libvirt-0.9.10-1 (i686)
0/2 signoffs
* netcf-0.1.7-3 (i686)
0/2 signoffs
* simh-3.8.1-3 (i686)
0/2 signoffs
* courier-authlib-0.63.0-8 (x86_64)
0/2 signoffs
* dbmail-3.0.0_rc3-1 (x86_64)
0/2 signoffs
* freeradius-2.1.12-4 (x86_64)
0/2 signoffs
* hostapd-0.7.3-6 (x86_64)
0/2 signoffs
* ipvsadm-1.26-3 (x86_64)
0/2 signoffs
* keepalived-1.2.2-3 (x86_64)
0/2 signoffs
* knemo-0.7.3-2 (x86_64)
0/2 signoffs
* libvirt-0.9.10-1 (x86_64)
0/2 signoffs
* netcf-0.1.7-3 (x86_64)
0/2 signoffs
* pigeonhole-0.3.0-1 (x86_64)
0/2 signoffs
* simh-3.8.1-3 (x86_64)
0/2 signoffs


== All packages in [community-testing] for more than 14 days (2 total) ==

* dbmail-3.0.0_rc3-1 (i686), since 2012-01-15
* dbmail-3.0.0_rc3-1 (x86_64), since 2012-01-16


== Top five in signoffs in last 24 hours ==

1. allan - 4 signoffs
 
Old 02-18-2012, 08:07 AM
Arch Website Notification
 
Default

=== Signoff report for [testing] ===
https://www.archlinux.org/packages/signoffs/

There are currently:
* 11 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 150 packages missing signoffs
* 0 packages older than 14 days

(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)


== New packages in [testing] in last 24 hours (11 total) ==

* filesystem-2012.2-1 (any)
* man-db-2.6.1-1 (i686)
* man-db-2.6.1-1 (x86_64)
* dovecot-2.1.0-1 (i686)
* mesa-8.0.1-1 (i686)
* xf86-video-glint-1.2.7-1 (i686)
* dovecot-2.1.0-1 (x86_64)
* mesa-8.0.1-1 (x86_64)
* xf86-video-glint-1.2.7-1 (x86_64)
* cups-filters-1.0.1-1 (i686)
* cups-filters-1.0.1-1 (x86_64)


== Incomplete signoffs for [core] (15 total) ==

* filesystem-2012.2-1 (any)
1/2 signoffs
* crda-1.1.2-2 (i686)
0/2 signoffs
* iw-3.3-2 (i686)
0/2 signoffs
* libnl-3.2.7-1 (i686)
1/2 signoffs
* libpcap-1.2.1-2 (i686)
0/2 signoffs
* linux-lts-3.0.21-2 (i686)
0/2 signoffs
* man-db-2.6.1-1 (i686)
1/2 signoffs
* wpa_supplicant-0.7.3-5 (i686)
1/2 signoffs
* crda-1.1.2-2 (x86_64)
0/2 signoffs
* iw-3.3-2 (x86_64)
0/2 signoffs
* libnl-3.2.7-1 (x86_64)
0/2 signoffs
* libpcap-1.2.1-2 (x86_64)
0/2 signoffs
* linux-lts-3.0.21-2 (x86_64)
1/2 signoffs
* man-db-2.6.1-1 (x86_64)
0/2 signoffs
* wpa_supplicant-0.7.3-5 (x86_64)
0/2 signoffs

== Incomplete signoffs for [extra] (130 total) ==

* glproto-1.4.15-1 (any)
1/2 signoffs
* inputproto-2.1.99.6-1 (any)
1/2 signoffs
* libreoffice-i18n-3.5.0-1 (any)
0/2 signoffs
* namcap-3.2.2-1 (any)
1/2 signoffs
* xcb-proto-1.7-2 (any)
0/2 signoffs
* bluez-4.98-3 (i686)
0/2 signoffs
* dovecot-2.1.0-1 (i686)
0/2 signoffs
* kismet-2011_03_R2-4 (i686)
0/2 signoffs
* libpciaccess-0.12.902-1 (i686)
0/2 signoffs
* libreoffice-3.5.0-1 (i686)
0/2 signoffs
* libx11-1.4.99.1-1 (i686)
0/2 signoffs
* libxcb-1.8-2 (i686)
0/2 signoffs
* libxi-1.5.99.3-1 (i686)
0/2 signoffs
* mesa-8.0.1-1 (i686)
0/2 signoffs
* net-snmp-5.7.1-2 (i686)
0/2 signoffs
* networkmanager-0.9.2.0-2 (i686)
0/2 signoffs
* ntrack-1:16-2 (i686)
0/2 signoffs
* r-2.14.1-3 (i686)
0/2 signoffs
* ruby-1.9.3_p125-1 (i686)
0/2 signoffs
* xf86-input-acecad-1.5.0-3 (i686)
0/2 signoffs
* xf86-input-aiptek-1.4.1-3 (i686)
0/2 signoffs
* xf86-input-evdev-2.6.99.901-1 (i686)
0/2 signoffs
* xf86-input-joystick-1.6.0-4 (i686)
0/2 signoffs
* xf86-input-keyboard-1.6.1-2 (i686)
0/2 signoffs
* xf86-input-mouse-1.7.1-3 (i686)
0/2 signoffs
* xf86-input-synaptics-1.5.99-0.1 (i686)
0/2 signoffs
* xf86-input-vmmouse-12.7.0-4 (i686)
0/2 signoffs
* xf86-input-void-1.4.0-3 (i686)
0/2 signoffs
* xf86-input-wacom-0.13.0-2 (i686)
0/2 signoffs
* xf86-video-apm-1.2.3-5 (i686)
0/2 signoffs
* xf86-video-ark-0.7.4-1 (i686)
0/2 signoffs
* xf86-video-ast-0.93.9-2 (i686)
0/2 signoffs
* xf86-video-ati-6.14.3-2 (i686)
0/2 signoffs
* xf86-video-chips-1.2.4-4 (i686)
0/2 signoffs
* xf86-video-cirrus-1.3.2-8 (i686)
0/2 signoffs
* xf86-video-dummy-0.3.5-1 (i686)
0/2 signoffs
* xf86-video-fbdev-0.4.2-6 (i686)
0/2 signoffs
* xf86-video-geode-2.11.13-1 (i686)
0/2 signoffs
* xf86-video-glint-1.2.7-1 (i686)
0/2 signoffs
* xf86-video-i128-1.3.4-5 (i686)
0/2 signoffs
* xf86-video-i740-1.3.2-8 (i686)
0/2 signoffs
* xf86-video-intel-2.17.0-3 (i686)
0/2 signoffs
* xf86-video-mach64-6.9.0-3 (i686)
0/2 signoffs
* xf86-video-mga-1.4.13-5 (i686)
0/2 signoffs
* xf86-video-neomagic-1.2.5-6 (i686)
0/2 signoffs
* xf86-video-nouveau-0.0.16_git20120210-1 (i686)
0/2 signoffs
* xf86-video-nv-2.1.18-5 (i686)
0/2 signoffs
* xf86-video-openchrome-0.2.905-1 (i686)
0/2 signoffs
* xf86-video-r128-6.8.1-8 (i686)
0/2 signoffs
* xf86-video-rendition-4.2.4-6 (i686)
0/2 signoffs
* xf86-video-s3-0.6.3-7 (i686)
0/2 signoffs
* xf86-video-s3virge-1.10.4-7 (i686)
0/2 signoffs
* xf86-video-savage-2.3.3-3 (i686)
0/2 signoffs
* xf86-video-siliconmotion-1.7.5-4 (i686)
0/2 signoffs
* xf86-video-sis-0.10.3-7 (i686)
0/2 signoffs
* xf86-video-sisusb-0.9.4-6 (i686)
0/2 signoffs
* xf86-video-tdfx-1.4.3-8 (i686)
0/2 signoffs
* xf86-video-trident-1.3.4-6 (i686)
0/2 signoffs
* xf86-video-tseng-1.2.4-6 (i686)
0/2 signoffs
* xf86-video-unichrome-0.2.7-7 (i686)
0/2 signoffs
* xf86-video-v4l-0.2.0-10 (i686)
0/2 signoffs
* xf86-video-vesa-2.3.0-8 (i686)
0/2 signoffs
* xf86-video-vmware-11.99.901-1 (i686)
0/2 signoffs
* xf86-video-voodoo-1.2.4-6 (i686)
0/2 signoffs
* xf86-video-xgixp-1.8.0-5 (i686)
0/2 signoffs
* xorg-server-1.11.99.903-1 (i686)
0/2 signoffs
* xorg-xinput-1.5.99.1-1 (i686)
0/2 signoffs
* ypbind-mt-1.33-4 (i686)
0/2 signoffs
* bluez-4.98-3 (x86_64)
0/2 signoffs
* dovecot-2.1.0-1 (x86_64)
0/2 signoffs
* kismet-2011_03_R2-4 (x86_64)
0/2 signoffs
* libpciaccess-0.12.902-1 (x86_64)
1/2 signoffs
* libreoffice-3.5.0-1 (x86_64)
0/2 signoffs
* libx11-1.4.99.1-1 (x86_64)
1/2 signoffs
* libxcb-1.8-2 (x86_64)
1/2 signoffs
* libxi-1.5.99.3-1 (x86_64)
0/2 signoffs
* mesa-8.0.1-1 (x86_64)
0/2 signoffs
* net-snmp-5.7.1-2 (x86_64)
0/2 signoffs
* networkmanager-0.9.2.0-2 (x86_64)
0/2 signoffs
* ntrack-1:16-2 (x86_64)
0/2 signoffs
* r-2.14.1-3 (x86_64)
0/2 signoffs
* ruby-1.9.3_p125-1 (x86_64)
1/2 signoffs
* xf86-input-acecad-1.5.0-3 (x86_64)
0/2 signoffs
* xf86-input-aiptek-1.4.1-3 (x86_64)
0/2 signoffs
* xf86-input-evdev-2.6.99.901-1 (x86_64)
1/2 signoffs
* xf86-input-joystick-1.6.0-4 (x86_64)
0/2 signoffs
* xf86-input-keyboard-1.6.1-2 (x86_64)
0/2 signoffs
* xf86-input-mouse-1.7.1-3 (x86_64)
0/2 signoffs
* xf86-input-synaptics-1.5.99-0.1 (x86_64)
0/2 signoffs
* xf86-input-vmmouse-12.7.0-4 (x86_64)
0/2 signoffs
* xf86-input-void-1.4.0-3 (x86_64)
0/2 signoffs
* xf86-input-wacom-0.13.0-2 (x86_64)
0/2 signoffs
* xf86-video-apm-1.2.3-5 (x86_64)
0/2 signoffs
* xf86-video-ark-0.7.4-1 (x86_64)
0/2 signoffs
* xf86-video-ast-0.93.9-2 (x86_64)
0/2 signoffs
* xf86-video-ati-6.14.3-2 (x86_64)
0/2 signoffs
* xf86-video-chips-1.2.4-4 (x86_64)
0/2 signoffs
* xf86-video-cirrus-1.3.2-8 (x86_64)
0/2 signoffs
* xf86-video-dummy-0.3.5-1 (x86_64)
0/2 signoffs
* xf86-video-fbdev-0.4.2-6 (x86_64)
0/2 signoffs
* xf86-video-glint-1.2.7-1 (x86_64)
0/2 signoffs
* xf86-video-i128-1.3.4-5 (x86_64)
0/2 signoffs
* xf86-video-i740-1.3.2-8 (x86_64)
0/2 signoffs
* xf86-video-intel-2.17.0-3 (x86_64)
1/2 signoffs
* xf86-video-mach64-6.9.0-3 (x86_64)
0/2 signoffs
* xf86-video-mga-1.4.13-5 (x86_64)
0/2 signoffs
* xf86-video-neomagic-1.2.5-6 (x86_64)
0/2 signoffs
* xf86-video-nouveau-0.0.16_git20120210-1 (x86_64)
0/2 signoffs
* xf86-video-nv-2.1.18-5 (x86_64)
0/2 signoffs
* xf86-video-openchrome-0.2.905-1 (x86_64)
0/2 signoffs
* xf86-video-r128-6.8.1-8 (x86_64)
0/2 signoffs
* xf86-video-rendition-4.2.4-6 (x86_64)
0/2 signoffs
* xf86-video-s3-0.6.3-7 (x86_64)
0/2 signoffs
* xf86-video-s3virge-1.10.4-7 (x86_64)
0/2 signoffs
* xf86-video-savage-2.3.3-3 (x86_64)
0/2 signoffs
* xf86-video-siliconmotion-1.7.5-4 (x86_64)
0/2 signoffs
* xf86-video-sis-0.10.3-7 (x86_64)
0/2 signoffs
* xf86-video-sisusb-0.9.4-6 (x86_64)
0/2 signoffs
* xf86-video-tdfx-1.4.3-8 (x86_64)
0/2 signoffs
* xf86-video-trident-1.3.4-6 (x86_64)
0/2 signoffs
* xf86-video-tseng-1.2.4-6 (x86_64)
0/2 signoffs
* xf86-video-unichrome-0.2.7-7 (x86_64)
0/2 signoffs
* xf86-video-v4l-0.2.0-10 (x86_64)
0/2 signoffs
* xf86-video-vesa-2.3.0-8 (x86_64)
0/2 signoffs
* xf86-video-vmware-11.99.901-1 (x86_64)
0/2 signoffs
* xf86-video-voodoo-1.2.4-6 (x86_64)
0/2 signoffs
* xf86-video-xgixp-1.8.0-5 (x86_64)
0/2 signoffs
* xorg-server-1.11.99.903-1 (x86_64)
1/2 signoffs
* xorg-xinput-1.5.99.1-1 (x86_64)
0/2 signoffs
* ypbind-mt-1.33-4 (x86_64)
0/2 signoffs

== Incomplete signoffs for [unknown] (5 total) ==

* ruby-docs-1.9.3_p125-1 (any)
1/2 signoffs
* cups-filters-1.0.1-1 (i686)
0/2 signoffs
* libnl1-1.1-1 (i686)
0/2 signoffs
* cups-filters-1.0.1-1 (x86_64)
0/2 signoffs
* libnl1-1.1-1 (x86_64)
0/2 signoffs


== Top five in signoffs in last 24 hours ==

1. allan - 4 signoffs
 
Old 02-18-2012, 01:58 PM
John Stanley
 
Default

On Fri, 2012-02-17 at 23:43 -0500, Mark LaPierre wrote:

> mplayer still doesn't want to hear it.
> mplayer -ao pulse my.mp3 ====> No Joy
> mplayer -ao alsa my.mp3 ====> No Joy

cat .mplayer/config

Should not have anything in it for a default config.

cat /etc/mplayer/mplayer.conf

Should have this for a default config.

# Default video output is xv, then xvidix, then try others
#vo=xv,xvidix,
# Default audio output is pulse, then alsa, then try others
#ao=pulse,alsa,
-----

So what does 'mplayer -v 3 my.mp3' say to you?

Did you look at the Mplayer Preferences to see what the output driver
is? "Alsa" Channels by Default?

Have you tried 'rpm -e nodepps mplayer'? Then 'rpm -Uvh mplayer'. If
you 'yum remove mplayer' you will remove the whole lock stock and
barrel. So get the mplayer rpm from the repo you use first then do it.

> padsp mplayer my.mp3 works.

Ok odd but it's not finding alsa / pulse.

> My alsa information is at:
> http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154

Nice Burr-Brown Decoder on the card your using.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-19-2012, 01:15 AM
Mark LaPierre
 
Default

On 02/18/2012 09:58 AM, John Stanley wrote:
> On Fri, 2012-02-17 at 23:43 -0500, Mark LaPierre wrote:
>
>> mplayer still doesn't want to hear it.
>> mplayer -ao pulse my.mp3 ====> No Joy
>> mplayer -ao alsa my.mp3 ====> No Joy
>
> cat .mplayer/config
>
> Should not have anything in it for a default config.
>
> cat /etc/mplayer/mplayer.conf
>
> Should have this for a default config.
>
> # Default video output is xv, then xvidix, then try others
> #vo=xv,xvidix,
> # Default audio output is pulse, then alsa, then try others
> #ao=pulse,alsa,
> -----
>
> So what does 'mplayer -v 3 my.mp3' say to you?
>
> Did you look at the Mplayer Preferences to see what the output driver
> is? "Alsa" Channels by Default?
>
> Have you tried 'rpm -e nodepps mplayer'? Then 'rpm -Uvh mplayer'. If
> you 'yum remove mplayer' you will remove the whole lock stock and
> barrel. So get the mplayer rpm from the repo you use first then do it.
>
>> padsp mplayer my.mp3 works.
>
> Ok odd but it's not finding alsa / pulse.
>
>> My alsa information is at:
>> http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154
>
> Nice Burr-Brown Decoder on the card your using.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

That's a USB turntable that I have plugged in. I've been ripping vinyl
to mp3 files so I can play them on my mp3 player. The phono cartridge
is a bit cheesy.

--
_
v
/(_)
^ ^ Mark LaPierre
Registerd Linux user No #267004
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-19-2012, 02:59 AM
Thomas Dziedzic
 
Default

Hi,

I recently released a new version of ruby into testing.
In addition to updating it, I also changed some default settings.

The biggest change users will see in this version is that user
installs are the default now when running gem.
The change is in /etc/gemrc which will make the default location
$HOME/.gem/ruby when installing gems manually with the gem command.

If you install gems with the gem command which contain executable
scripts, you will have to add the bin directory to your PATH with:
export PATH="$PATH:$(ruby -rubygems -e 'puts Gem.user_dir')/bin"

Also, as a result of this change, PKGBUILDs that use gem will have to
append a --no-user-install flag when running gem.

The main motivation behind this change is to better separate gems that
were installed with the package manager from gems installed by the
user.

Since ruby isn't as popular among the devs, I would also like any
users to join in on the signoff so we can get ruby into the repos
faster.
Please let me know if you have any questions or suggestions.

Thanks.
 

Thread Tools




All times are GMT. The time now is 11:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org