Re: [osol-discuss] Returning with a Question

2009-08-09 Thread David Babb
I want to Thank You Che,

With the different formats I was looking at a modest sum of cash, which being 
on a fixed income is difficult to do.

I book marked your link and XMarked my browser so the shop will sync up 
tomorrow after I install. My shop = my two car garage minus the cars. It's 
where I spend most of my days now trying to keep active.

I really, really appreciate the information. I was starting to get bummed out.


No joke, THANK YOU



Sincerely,



Dave...
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Returning with a Question

2009-08-09 Thread Che Kristo
Hi Dave,

The licensed and supported way:
http://www.fluendo.com/shop/product/complete-set-of-playback-plugins/ use
this if you are in a country in which the relevant codecs must be
appropriately licensed (most countries), essential if you are implementing
within a corporate environment unless you want to risk having you company
end up in court

The non-licensed way: http://solaris.homeunix.com/ appropriate for home-use
situations and for countries where the licensing conditions for the codecs
are not relevant

Hope this helps and have fun!

I've used both and they are great!

Ché
myunix.org

On Mon, Aug 10, 2009 at 1:34 PM, David Babb  wrote:

> Good evening all,
>
> 2008.11 just caused too many issues with my hardware, so I took a
> sabbatical.
>
> Now after the 2009 Release, I'm giving O.S. another look.
>
> Before on 2008.11, I got the multimedia apps I needed from
> lifewithsolaris.jp, now, there is no multimedia there.
>
> If I port, I need to have the ability to listen to my sound library, some
> of which I have converted from vinyl. Think Woodstock, (although I was
> somewhere else((Vietnam Era Vet)).
>
> Some of it is in flac, wmv, mpeg4, the whole gauntlet of formats.
>
>
> Question:
> What is the new mechanism of enabling a movie player and a sound player,
> and installing the proper codecs for each in Open Solaris?
>
> This is my only question/issue to overcome, and I'll move the shops machine
> over first.
>
>
>
> Thank you sincerely,
>
>
> Dave babb
> --
> This message posted from opensolaris.org
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] Returning with a Question

2009-08-09 Thread David Babb
Good evening all,

2008.11 just caused too many issues with my hardware, so I took a sabbatical.

Now after the 2009 Release, I'm giving O.S. another look.

Before on 2008.11, I got the multimedia apps I needed from lifewithsolaris.jp, 
now, there is no multimedia there.

If I port, I need to have the ability to listen to my sound library, some of 
which I have converted from vinyl. Think Woodstock, (although I was somewhere 
else((Vietnam Era Vet)).

Some of it is in flac, wmv, mpeg4, the whole gauntlet of formats.


Question:
What is the new mechanism of enabling a movie player and a sound player, and 
installing the proper codecs for each in Open Solaris?

This is my only question/issue to overcome, and I'll move the shops machine 
over first.



Thank you sincerely,


Dave babb
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] sendmail null client with alias support

2009-08-09 Thread Gaëtan Lehmann


Le 30 juil. 09 à 20:43, Gaëtan Lehmann a écrit :



Hi,

I'd like to configure sendmail as a null client, but with alias  
support, so it would relay most of the mail unchanged to a main smtp  
server, excepted the one for the administrative accounts (typically  
root). I succeeded to have the alias and the null client feature,  
but not both at the same time.

Can someone give a hint or a pointer to some relevant documentation?



I finally make it work. It seems that the solution was in MAIL_HUB and  
in correctly restarting both sendmail and sendmail-client services.

For the record, here is the content of my sendmail.m4 file:

  include(`cf/m4/cf.m4')
  OSTYPE(solaris8)
  define(`MAIL_HUB', `smtp.jouy.inra.fr')
  define(`SMART_HOST', `smtp.jouy.inra.fr')
  MASQUERADE_AS(`jouy.inra.fr')
  FEATURE(`allmasquerade')
  FEATURE(`masquerade_envelope')
  MAILER(`local')
  MAILER(`smtp')

Gaëtan



--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr



PGP.sig
Description: Ceci est une signature électronique PGP
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] High CPU usage on cond_wait

2009-08-09 Thread John Martin

Girish wrote:

Hi,
One of our threaded process is consuming CPU constantly. It is seen that it is 
calling the time,lwp_park and lwp_unpark continuously.
The logic of the code is explained below
  Thread A   Thread B,C,D,E,...(10 threads)
 acquire mutex
 queue is empty
 cond_wait 
  acquire mutex

  add item N
  release mutex
  cond_broadcast 
 queue is not empty

 pop item N from queue
 release mutex
 process item N
 acquire mutex
 queue is empty
 cond_wait 

  

Can you try the test case below?  In case the formatting
is disturbed by the mailer, a clean copy is at:

 http://home.comcast.net/~jdmartin99/cvbroadcast.c

I'm not getting the lwp syscalls, so please modify it with
the correct thread, mutex and cv attributies.

The number of threads, tasks and whether to use cv_signal
or cv_broadcast are command line options.

rug...@tecram10:~/cvbroadcast$ cc -mt -O cvbroadcast.c
rug...@tecram10:~/cvbroadcast$ ./a.out -help
usage: ./a.out num-threads num-tasks use-broadcast


rug...@tecram10:~/cvbroadcast$ cat cvbroadcast.c
#include 
#include 
#include 
#include 

static mutex_t mutex;
static cond_t cv;
static volatile int task;

static uint64_t *processed;

void *
task_thread(void *arg)
{
   int slot = (int)arg;

   if (mutex_lock(&mutex) != 0) {
   fprintf(stderr, "task_thread: couldn't lock mutex\n");
   return ((void *)-1);
   }

   while (task != -1) {
   /* queue is not empty */
   while (task > 0) {
   /* pop item N from queue */
   task--;

   /* release mutex */
   if (mutex_unlock(&mutex) != 0) {
   fprintf(stderr,
   "task_thread: couldn't unlock mutex\n");
   return ((void *)-1);
   }

   /* process item N */
   processed[slot]++;   


   /* acquire mutex */
   if (mutex_lock(&mutex) != 0) {
   fprintf(stderr,
   "task_thread: couldn't lock mutex\n");
   return ((void *)-1);
   }
   }

   if (cond_wait(&cv, &mutex) != 0) {
   fprintf(stderr, "task_thread: cond_wait failed\n");
   (void)mutex_unlock(&mutex);
   return ((void *)-1);
   }
   }

   if (mutex_unlock(&mutex) != 0) {

   fprintf(stderr, "task_thread: couldn't unlock mutex\n");
   return ((void *)-1);
   }

   return ((void *)0);
}

int
main(int argc, char *argv[], char *envp[])
{
   int num_threads;
   int num_tasks;
   int use_broadcast;
   thread_t *tids;
   int i;

   if (argc != 4) {
   fprintf(stderr,
   "usage: %s num-threads num-tasks use-broadcast\n", argv[0]);
   return (1);
   }

   num_threads = atoi(argv[1]);
   num_tasks = atoi(argv[2]);
   use_broadcast = atoi(argv[3]);
  
   if ((processed = (uint64_t *)calloc(num_threads,

   sizeof(processed[0]))) == NULL) {
   perror("processed array");
   return (1);
   }

   if ((tids = (thread_t *)calloc(num_threads,
   sizeof(thread_t))) == NULL) {
   perror("processed array");
   return (1);
   }

   if (mutex_init(&mutex, USYNC_PROCESS, NULL) != 0) {
   perror("mutex initialization");
   return (1);
   }

   if (cond_init(&cv, USYNC_PROCESS, NULL) != 0) {
   perror("cv initialization");
   return (1);
   }

   fprintf(stdout,
   "num_threads = %d, num_tasks = %d, use_broadcast = %d\n",
   num_threads, num_tasks, use_broadcast);

   task = 0;

   for (i=0; i  
   for (i=0; i
   if (mutex_lock(&mutex) != 0) {
   fprintf(stderr, "task_thread: couldn't lock mutex\n");
   return (1);
   }

   task++;

   if (mutex_unlock(&mutex) != 0) {
   fprintf(stderr, "main thread: couldn't unlock mutex\n");
   return (1);
   }

   if (use_broadcast)
   cond_broadcast(&cv);
   else
   cond_signal(&cv);   
  
   thr_yield();

   }

   while (task != 0) {
   thr_yield();
   }

   if (mutex_lock(&mutex) != 0) {
   fprintf(stderr, "task_thread: couldn't lock mutex\n");
   return (1);
   }

   task = -1;

   if (mutex_unlock(&mutex) != 0) {
   fprintf(stderr, "main thread: couldn't unlock mutex\n");
   return (1);
   }

   cond_broadcast(&cv);

   for (i=0; i

[osol-discuss] OpenCL on Solaris

2009-08-09 Thread Brandon Barker
Does anyone know of planned support for OpenCL for various CPUS and GPUS in 
solaris?  See: 
http://www.businesswire.com/portal/site/google/?ndmViewId=news_view&newsId=20090804006502&newsLang=en
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Running Windows Apps on Solaris with Bordeaux 1.8.2 and

2009-08-09 Thread Tom Wickline
Sure you can... google for  "purchase office 2003"  their is tons of places to 
purchase Office 2003 starting at only $59.00 and up..

Cheers,

Tom Wickline
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-09 Thread Michael Rennecke
r...@walhalla bin $ ./bacula-dir -f -c /opt/bacula/etc/bacula-dir.conf
09-Aug 10:53 bacula-dir: ERROR TERMINATION at bsys.c:445
Could not open pid file. /opt/bacula/bin/working/bacula-dir.9101.pid ERR=No 
such file or directory

After 
mkdir opt/bacula/bin/working 
runs bacula-dir :-)
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Anyone successfully boot OpenSolaris on Toshiba A605 notebook ?

2009-08-09 Thread Kewl Eugene
I need the Toshiba A605, because it has Win, the battery life that LP/LV/WLED 
affords, the small size, and it's 1/2 the cost of the Toshiba R600.

Why, pro camera s/w uses Win/Mac not Linux/OpenSolaris. I travel alot with big 
lenses & several pro digital camera bodies. I carry everything on my back 
because the roads where I travel destroy roller bags. I've cracked and 
destroyed many notebooks. The 12 inch, 3 to 4 pound notebooks are best for me. 
I've never cracked one in that class, such as my past machines, Toshiba U200, 
Toshiba U205, and current Fujitsu P8010.

I'm retired. I work P/T. Most of the time I do so remotely via an EVDO card 
into a Sun Sparc Superserver. I run Mentor/Synopsis/Atmel/etc. tools. However, 
it would be nice to be able to do more work offline.

So for these 2 things, that's why I seek OpenSolaris on the Toshiba A605. Maybe 
I'll have to spend more for the Toshiba R600 though. If I have to I will.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Anyone successfully boot OpenSolaris on Toshiba A605 notebook ?

2009-08-09 Thread Kewl Eugene
I need the Toshiba A605, because it has Win, the battery life that LP/LV/WLED 
affords, the small size, and it's 1/2 the cost of the Toshiba R600.

Why, pro camera s/w uses Win/Mac not Linux/OpenSolaris. I travel alot with big 
lenses & several pro digital camera bodies. I carry everything on my back 
because the roads where I travel destroy roller bags. I've cracked and 
destroyed many notebooks. The 12 inch, 3 to 4 pound notebooks are best for me. 
I've never cracked one in that class, such as my past machines, Toshiba U200, 
Toshiba U205, and current Fujitsu P8010.

I'm retired. I work P/T. Most of the time I do so remotely via an EVDO card 
into a Sun Sparc Superserver. I run Mentor/Synopsis/Atmel/etc. tools. However, 
it would be nice to be able to do more work offline.

So for these 2 things, that's why I seek OpenSolaris on the Toshiba A605. Maybe 
I'll have to spend more for the Toshiba R600 though. If I have to I will.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org