Re: [osol-discuss] Solaris 11 : The new "pkg" command does not take http_proxy shell variable

2011-02-23 Thread Alan Coopersmith
On 02/23/11 09:02 PM, Nitin Verma wrote:
> Hi, I am only accessing the default publisher:
> 
> http://pkg.oracle.com/solaris/release/en/index.shtml
> 
> and trying to add following publisher:
> http://pkg.opensolaris.org/release/en/index.shtml
> 
> both seems http, but I'd try setting https_proxy as well.

You are using "setenv" or "export" right, not just "set" as your
original e-mail described?   It must be an environment variable,
not a shell variable.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 : The new "pkg" command does not take http_proxy shell variable

2011-02-23 Thread Nitin Verma
Hi, I am only accessing the default publisher:

http://pkg.oracle.com/solaris/release/en/index.shtml

and trying to add following publisher:
http://pkg.opensolaris.org/release/en/index.shtml

both seems http, but I'd try setting https_proxy as well.

Regds,
Nitin
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris 11 : The new "pkg" command does not take http_proxy shell variable

2011-02-23 Thread Mike Gerdts
On Wed, Feb 23, 2011 at 9:09 PM, Nitin Verma  wrote:
> The new "pkg" command does not take http_proxy shell variable, as mentioned 
> in the Man page.
>
> I am running Solaris 11 as guest in VBox.
>
> I have set http_proxy="http://my_proxy_ip:8080";
>
> when I run, # pkg refresh or # pkg set-publisher  it just times out 
> network unreachable!!!
>
> Any help would be appreciated!
>
> Please note: using curl with same proxy I can access internet from my Sol-11 
> VM.
>

If the publisher(s) you are trying to access are https (instead of
http) you will also need https_proxy set.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Solaris 11 : The new "pkg" command does not take http_proxy shell variable

2011-02-23 Thread Nitin Verma
The new "pkg" command does not take http_proxy shell variable, as mentioned in 
the Man page.

I am running Solaris 11 as guest in VBox. 

I have set http_proxy="http://my_proxy_ip:8080";

when I run, # pkg refresh or # pkg set-publisher  it just times out network 
unreachable!!! 

Any help would be appreciated!

Please note: using curl with same proxy I can access internet from my Sol-11 VM.

Thanks,
Nitin
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread Erik Trimble

On 2/23/2011 12:20 PM, Orvar Korvar wrote:

I just want an integrated 3D in a cpu that can give me 1080p, Compiz, simple 
games in Wine/VirtualBox, etc. It is not really important to me if I get 
updates to a 3D driver, as long as it gives me the above. I hope Sandybridge 
would give me this? What do you think, should the Solarsi 3D driver for 
Sandybridge be able to give me all this? Never mind frequent updates...


Oscar,

What's driving your SandyBridge desire?

Given that S-B is just starting to ship now, you'll pay a premium to get 
it, vs any older CPU.


Given what you've previously described your usage is:

Quote:
"I thought 3D driver for Sandbybridge was on it's way? I dont need excellent 3D 
performance, just so I can see 1080p video, use Compiz, play old games in 
Wine/VirtualBox, such as Starcraft 1, Diablo 2, etc.

I hope in this case, I do not need Nvidia graphics card. Now, I have a ATI4850 
and the 2D driver is not really good, I can not playback 1080p video - that is 
impossible because of huge lag.

I want to build a Solaris PC with low power requirements. Sandybridge/Ivybridge with 
one SSD and no discrete graphics card. I suspect this config will idle at ~50Watt 
and still provide plenty of cpu power, but low 3D performance. Which is perfect for 
a SunRay server. Maybe I should settle for Ivy Bridge, which should have the same 3D 
graphics driver, I hope."


I'd actually recommend something like an "Energy-Efficient" version of an 
Athlon II and a motherboard with integrated nVidia graphics.

Something like this:

AMD Athlon II X3 400e (2.2Ghz, 45W thermal, triple-core, Socket AM3)$100
AMD Athlon II X4 615e (2.5Ghz, 45W thermal, quad-core, Socket AM3)  $150

MSI NF750-G55 motherboard   $85
(http://us.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1879)


It's better supported under Solaris now, and should fit your needs easily.

--

Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread Alan Coopersmith
On 02/23/11 12:20 PM, Orvar Korvar wrote:
> I just want an integrated 3D in a cpu that can give me 1080p, Compiz, simple 
> games in Wine/VirtualBox, etc. It is not really important to me if I get 
> updates to a 3D driver, as long as it gives me the above. I hope Sandybridge 
> would give me this? What do you think, should the Solarsi 3D driver for 
> Sandybridge be able to give me all this? Never mind frequent updates...

I don't know, since that driver isn't available yet, so all we can
do here is guess & speculate.   I also don't know when it will be
available to end-users (and since it won't be until a future release,
probably couldn't say even if I did know, since I am not authorized
to be announcing future OS release dates to the public).

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread Albert Lee
On Wed, Feb 23, 2011 at 3:20 PM, Orvar Korvar
 wrote:
> I just want an integrated 3D in a cpu that can give me 1080p, Compiz, simple 
> games in Wine/VirtualBox, etc. It is not really important to me if I get 
> updates to a 3D driver, as long as it gives me the above. I hope Sandybridge 
> would give me this? What do you think, should the Solarsi 3D driver for 
> Sandybridge be able to give me all this? Never mind frequent updates...


Yes, most Intel integrated graphics chips from the past few years
(with the notable exception of the GMA 500) should be fine for Compiz,
HD video playback, and some games. Wine's Direct3D-on-GL
implementation tends to depend on features not present in the Intel
drivers, though.

-Albert
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread Orvar Korvar
I just want an integrated 3D in a cpu that can give me 1080p, Compiz, simple 
games in Wine/VirtualBox, etc. It is not really important to me if I get 
updates to a 3D driver, as long as it gives me the above. I hope Sandybridge 
would give me this? What do you think, should the Solarsi 3D driver for 
Sandybridge be able to give me all this? Never mind frequent updates...
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] fork1() fails with ENOMEM

2011-02-23 Thread Bill Shannon

I've made a little progress on this problem.

Using the attached dtrace script, I get output that looks like this:


dtrace: script 'fork.d' matched 144 probes
CPU FUNCTION
  0  -> as_dup
  0-> hat_dup
  0<- hat_dup 0
  0-> segvn_dup
  0<- segvn_dup   0
  0-> segvn_dup
  0  -> anon_resvmem   size 4096 takemem 1 tryhard 1

  0  <- anon_resvmem  1
  0  -> anon_create
  0  <- anon_create-997832123064
  0  -> anon_dup
  0  <- anon_dup  0
  0<- segvn_dup   0
...
  0-> segvn_dup
  0  -> anon_resvmem   size 119177216 takemem 1 tryhard 1

  0  <- anon_resvmem  1
  0  -> anon_create
  0  <- anon_create-997820303808
  0<- segvn_dup   0
  0-> segvn_dup
  0  -> anon_resvmem   size 113246208 takemem 1 tryhard 1

  0  <- anon_resvmem  0
  0<- segvn_dup  12
  0  <- as_dup   12
  0  <= forksys   FORK errno 12

There's 85 calls to segvn_dup, all of which succeed except the last
one above.

I tried setting anon_debug using mdb, but I'm not even sure if the debug
code is compiled into the kernel.

FYI, swap -s says:

# swap -s
total: 2816356k bytes allocated + 496608k reserved = 3312964k used, 730976k 
available


There are no messages in /var/adm/messages about running out of swap space.

The total of all the sizes for the anon_resvmem calls is over 800MB.

If I'm just plain running out of swap space, shouldn't there be a message
in /var/adm/messages?  And that doesn't explain why this program fails in
the same way on another machine with 150GB of swap space.

Is there an easy way to add more swap space to a system that's using zfs for
swap space?  I tried mkfile and swap -a but that doesn't work.

Any other ideas for how to debug this?

#!/usr/sbin/dtrace -Fs

#pragma D option cleanrate=1000hz
#pragma D option nspec=4

syscall::fork*:entry
{
   self->s = speculation();
   speculate(self->s);
}

syscall::fork*:return
/self->s/
{
   speculate(self->s);
   printf("FORK errno %d\n", errno);
}

syscall::fork*:return
/self->s && arg1 == -1 && errno != 0/  /* fork1 fails! */
{
   commit(self->s);
   self->s = 0;
}

syscall::fork*:return
/self->s && !(arg1 == -1 && errno != 0)/
{
   discard(self->s);
   self->s = 0;
}

fbt::*dup:entry
/self->s/
{
   speculate(self->s);
}

fbt::*dup:return
/self->s/
{
   speculate(self->s);
   trace(arg1);
}

fbt::anon_resvmem:entry
/self->s/
{
   speculate(self->s);
   printf("size %d takemem %d tryhard %d\n", arg0, arg1, arg3);
}

fbt::anon_resvmem:return
/self->s/
{
   speculate(self->s);
   trace(arg1);
}

fbt::anon_create:entry
/self->s/
{
   speculate(self->s);
}

fbt::anon_create:return
/self->s/
{
   speculate(self->s);
   trace(arg1);
}

fbt::anon_private:entry
/self->s/
{
   speculate(self->s);
}

fbt::anon_private:return
/self->s/
{
   speculate(self->s);
   trace(arg1);
}
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread John Martin

On 02/23/11 12:46 PM, Alan Coopersmith wrote:

On 02/23/11 02:56 AM, Orvar Korvar wrote:

I thought 3D driver for Sandbybridge was on it's way?


Unlike the nvidia driver, which is available for download separate from the OS, 




Minor nit.  The driver available for download from nvidia.com
currently lacks some enhancements/fixes available in the bundled
driver (MSI, fastreboot, ...).  For example, the GT 220, et. al.,
fix went into the bundled 260.19.29 driver in build 156 but was
not available from nvidia.com until the 270.26 beta driver
release this week.
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread Alan Coopersmith
On 02/23/11 02:56 AM, Orvar Korvar wrote:
> I thought 3D driver for Sandbybridge was on it's way?

Unlike the nvidia driver, which is available for download separate from the OS,
the Intel 3D driver is only available as part of the OS, so any updates for it
for Oracle Solaris 11 will come in future releases, since development builds are
not generally available.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread ken mays
Hi Harry,

1. Use only a 64-bit processor for your ZFS unit.

2. ECC RAM requires a compatible motherboard/chipset/processor. It is not a 
'simple' investment...its a serious one in considered your overall hardware 
components. It is not a critical must-have-it concern for home use (IMHO), but 
if you get it then best make sure your hardware is using it properly and 
supports it if this is your more serious work/SOHO NAS unit.

Good luck!

~ Ken Mays 


--- On Wed, 2/23/11, Harry Putnam  wrote:

> From: Harry Putnam 
> Subject: Re: [osol-discuss] Another [OT] Hardware Post
> To: opensolaris-discuss@opensolaris.org
> Date: Wednesday, February 23, 2011, 12:54 AM
> Gary 
> writes:
> 
> > Harry Putnam wrote:
> >>> You can spend less with a dedicated
> predesigned commercial unit...
> >> Can you name a few?
> >
> > I didn't catch how many drives you said you needed.
> And was it this
> > thread that I already responded to -- 
> 
> I'll use 8 drives if I want to use what I already have on
> a
> dysfunctional zfs server 2@500 (ide [pata] 2@500sataII
> 2@750sata)
> 
> I expected to buy a pair of 1TB drives.  I've been
> running in a
> mirrored setup so need 2X whatever drives I use.
> 
> I could buy bigger disks but of course, that would mean
> letting 6drives
> I already have just set around.     
> 
> If I bought 4 2tb drives I'd have about the same capacity
> but it would
> cost around $400 (or is it cheaper for 4 2tb drivs?)
> 
> One tempting thing about the Proliant Microserver N36L, It
> can be
> gotten damned cheap if this is the one you mean:
> 
>      http://www.cdw.com/shop/products/default.aspx?edc=2190307#TS
> 
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
> 


  
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Would I be wasting my time with intel P4 3GBram (32bit)

2011-02-23 Thread Guido Berhoerster
* Harry Putnam  [2011-02-23 07:00]:
> I will soon have a pair of older P4 3.2 Ghz (32bit) (single core)
> to put out to pasture.
> 
> Would I be wasting my time thinking of using one or both for zfs
> fileserver, and sharespace to carry out video editing and other
> Graphics From networked i7 running Win 7.

Note that Oracle will remove support for x86 32-bit soon, so
the next Solaris Express or Solaris 11 release will likely not
run on that box. You might want to consider switching to an
alternative such as OpenIndiana.
-- 
Guido Berhoerster
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Another [OT] Hardware Post

2011-02-23 Thread Orvar Korvar
I thought 3D driver for Sandbybridge was on it's way? I dont need excellent 3D 
performance, just so I can see 1080p video, use Compiz, play old games in 
Wine/VirtualBox, such as Starcraft 1, Diablo 2, etc. 

I hope in this case, I do not need Nvidia graphics card. Now, I have a ATI4850 
and the 2D driver is not really good, I can not playback 1080p video - that is 
impossible because of huge lag. 

I want to build a Solaris PC with low power requirements. Sandybridge/Ivybridge 
with one SSD and no discrete graphics card. I suspect this config will idle at 
~50Watt and still provide plenty of cpu power, but low 3D performance. Which is 
perfect for a SunRay server. Maybe I should settle for Ivy Bridge, which should 
have the same 3D graphics driver, I hope.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Would I be wasting my time with intel P4 3GBram (32bit)

2011-02-23 Thread Orvar Korvar
If you use zfs with P4, 32 bits, you will get something like 20-30MB/sec read 
write speed to your zfs raid. You need 64bit cpu to get full r/w speed, because 
zfs is 128bit.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org