Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-21 Thread Jim Klimov

2012-10-21 9:40, Alex Smith (K4RNT) wrote:

Perhaps setting UseDNS to no in sshd_config could help. :)



Also, if you only access the system from one or few external
hosts, you can add their names to /etc/hosts (and give it
priority in /etc/nsswitch.conf).



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Only one SSD detected on expander

2012-10-21 Thread Robin Axelsson
The worst case would be if the firmware image is signed and encrypted, 
which I doubt. There is a workaround for that too if that would be the 
case anyway.  I'm not sure whether those firmware images have a real 
file system (such as yaffs for Android devices) or are just a solid 
binary file.


Here are a few pages that I found:

http://hexblog.com/files/recon%202010%20Skochinsky.pdf

http://sviehb.wordpress.com/2011/09/06/reverse-engineering-an-obfuscated-firmware-image-e01-unpacking/

http://www.nslu2-linux.org/wiki/HowTo/RecoverFromABadFlashUsingJTAG



On 2012-10-19 14:11, James C. McPherson wrote:

On 19/10/12 09:29 PM, Udo Grabowski (IMK) wrote:

On 19/10/2012 11:48, Robin Axelsson wrote:
Isn't it possible to somehow make the drive dump the firmware 
somehow, edit it
with a HEX editor (and recalculate firmware checksums) and flash the 
modified
.bin file back to the drive? I guess that the WWN must be found in 
the firmware

somewhere.



Usually, you can read and write drive firmware with fwflash.


You should be able to write new firmware, sure - my colleagues
did add support for flashing sd(7d) to fwflash. I would be very,
very wary of doing so, however, unless you have documentation
from your disk manufacturer which (1) gives you the structure and
instructions definitions, and (2) lets you verify that you have
a valid image.

Reading firmware from the disk is not supported with fwflash.
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/fwflash/plugins/transport/common/sd.c#125 




James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
  http://www.jmcpdotcom.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss






___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-21 Thread Gary Gendel

I think I found it...

https://www.illumos.org/issues/1983

So far, so good.  Logged in and out a dozen times with no lag.

Gary

On 10/21/12 5:00 AM, Jim Klimov wrote:

2012-10-21 9:40, Alex Smith (K4RNT) wrote:

Perhaps setting UseDNS to no in sshd_config could help. :)



Also, if you only access the system from one or few external
hosts, you can add their names to /etc/hosts (and give it
priority in /etc/nsswitch.conf).



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Only one SSD detected on expander

2012-10-21 Thread carl brunning
Not sure if this help you 
But i had this problem on nexenta and the fix was the following

in the /kernel/drv/mpt_sas.conf i unrem the line with 
mpxio-disable=yes;

then reboot the system

this fixed it for me and then i could see all my ssd when before only 
one show in the gui list

this was for Samsung disk as well

hope it is the same problem for you 

thanks

CArl


-Original Message-
From: Robin Axelsson [mailto:gu99r...@student.chalmers.se] 
Sent: 21 October 2012 12:03
To: openindiana-discuss@openindiana.org
Subject: Re: [OpenIndiana-discuss] Only one SSD detected on expander

The worst case would be if the firmware image is signed and encrypted, which I 
doubt. There is a workaround for that too if that would be the case anyway.  
I'm not sure whether those firmware images have a real file system (such as 
yaffs for Android devices) or are just a solid binary file.

Here are a few pages that I found:

http://hexblog.com/files/recon%202010%20Skochinsky.pdf

http://sviehb.wordpress.com/2011/09/06/reverse-engineering-an-obfuscated-firmware-image-e01-unpacking/

http://www.nslu2-linux.org/wiki/HowTo/RecoverFromABadFlashUsingJTAG



On 2012-10-19 14:11, James C. McPherson wrote:
 On 19/10/12 09:29 PM, Udo Grabowski (IMK) wrote:
 On 19/10/2012 11:48, Robin Axelsson wrote:
 Isn't it possible to somehow make the drive dump the firmware 
 somehow, edit it with a HEX editor (and recalculate firmware 
 checksums) and flash the modified .bin file back to the drive? I 
 guess that the WWN must be found in the firmware somewhere.


 Usually, you can read and write drive firmware with fwflash.

 You should be able to write new firmware, sure - my colleagues did add 
 support for flashing sd(7d) to fwflash. I would be very, very wary of 
 doing so, however, unless you have documentation from your disk 
 manufacturer which (1) gives you the structure and instructions 
 definitions, and (2) lets you verify that you have a valid image.

 Reading firmware from the disk is not supported with fwflash.
 http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/fwfl
 ash/plugins/transport/common/sd.c#125



 James C. McPherson
 --
 Solaris kernel software engineer, system admin and troubleshooter
   http://www.jmcpdotcom.com/blog Find me on LinkedIn @ 
 http://www.linkedin.com/in/jamescmcpherson


 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss





___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-21 Thread Daniel Kjar
so what was the cure?  I looked at that link but didn't see an easily 
recognizable fix


I have had this forever.  Not a big deal but makes me nervous if I think 
my server is down.


On 10/21/12 08:30 AM, Gary Gendel wrote:

I think I found it...

https://www.illumos.org/issues/1983

So far, so good.  Logged in and out a dozen times with no lag.

Gary

On 10/21/12 5:00 AM, Jim Klimov wrote:

2012-10-21 9:40, Alex Smith (K4RNT) wrote:

Perhaps setting UseDNS to no in sshd_config could help. :)



Also, if you only access the system from one or few external
hosts, you can add their names to /etc/hosts (and give it
priority in /etc/nsswitch.conf).



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Smart OS Zones under OpenIndiana

2012-10-21 Thread Matt Connolly
Has anyone tried / succeeded in creating SmartOS zones in an
OpenIndiana machine?

I'm interested in using some Joyent hosting in the future, and using
the same zones on a local dev machine is very appealing. I already
have OpenIndiana installed.


-Matt

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] 151a7 ??

2012-10-21 Thread Reginald Beardsley
FWIW 

I just did an install of 148 (CD on hand) on a spare system followed by an 
update via the website.  I was expecting 151a5 based on the website and named 
my BE accordingly.  However, on rebooting, I see that I actually installed 
151a7. Other than that, nice job.

Reg

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Only one SSD detected on expander

2012-10-21 Thread Scott Marcy
I'm pretty sure I tried that, but now I can't be sure. I've already returned 
the drives and ordered the 840 Pros, which are supposed to have WWNs. If it 
turns out they don't, I'll give this a try before I return them, too. :-/

Thanks!

-Scott


On Oct 21, 2012, at 7:04 AM, carl brunning ca...@cblinux.co.uk wrote:

 Not sure if this help you 
 But i had this problem on nexenta and the fix was the following
 
   in the /kernel/drv/mpt_sas.conf i unrem the line with 
 mpxio-disable=yes;
 
   then reboot the system
 
   this fixed it for me and then i could see all my ssd when before only 
 one show in the gui list
 
 this was for Samsung disk as well
 
 hope it is the same problem for you 
 
 thanks
 
 CArl
 
 
 -Original Message-
 From: Robin Axelsson [mailto:gu99r...@student.chalmers.se] 
 Sent: 21 October 2012 12:03
 To: openindiana-discuss@openindiana.org
 Subject: Re: [OpenIndiana-discuss] Only one SSD detected on expander
 
 The worst case would be if the firmware image is signed and encrypted, which 
 I doubt. There is a workaround for that too if that would be the case anyway. 
  I'm not sure whether those firmware images have a real file system (such as 
 yaffs for Android devices) or are just a solid binary file.
 
 Here are a few pages that I found:
 
 http://hexblog.com/files/recon%202010%20Skochinsky.pdf
 
 http://sviehb.wordpress.com/2011/09/06/reverse-engineering-an-obfuscated-firmware-image-e01-unpacking/
 
 http://www.nslu2-linux.org/wiki/HowTo/RecoverFromABadFlashUsingJTAG
 
 
 
 On 2012-10-19 14:11, James C. McPherson wrote:
 On 19/10/12 09:29 PM, Udo Grabowski (IMK) wrote:
 On 19/10/2012 11:48, Robin Axelsson wrote:
 Isn't it possible to somehow make the drive dump the firmware 
 somehow, edit it with a HEX editor (and recalculate firmware 
 checksums) and flash the modified .bin file back to the drive? I 
 guess that the WWN must be found in the firmware somewhere.
 
 
 Usually, you can read and write drive firmware with fwflash.
 
 You should be able to write new firmware, sure - my colleagues did add 
 support for flashing sd(7d) to fwflash. I would be very, very wary of 
 doing so, however, unless you have documentation from your disk 
 manufacturer which (1) gives you the structure and instructions 
 definitions, and (2) lets you verify that you have a valid image.
 
 Reading firmware from the disk is not supported with fwflash.
 http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/fwfl
 ash/plugins/transport/common/sd.c#125
 
 
 
 James C. McPherson
 --
 Solaris kernel software engineer, system admin and troubleshooter
  http://www.jmcpdotcom.com/blog Find me on LinkedIn @ 
 http://www.linkedin.com/in/jamescmcpherson
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 
 
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [developer] Re: Memory usage concern

2012-10-21 Thread David Halko
On Sat, Oct 20, 2012 at 1:57 PM, Cedric Blancher 
cedric.blanc...@googlemail.com wrote:

 On 16 October 2012 01:22, Jason Matthews ja...@broken.net wrote:
  -Original Message-
  From: Cedric Blancher [mailto:cedric.blanc...@googlemail.com]
 
  IMO you blame the wrong people. You can have the same kind of
  problems with any Illumos-based distribution if you activate a
  zone and let the machine just sit there for a week or so or have
  a lot filesystem activity using mmap(). Either way the machines
  will choke themselves to memory starvation. The only workaround
  we found are regular reboots (every 24h), or limit the
  ZFS ARC to an absolute minimum.
 
  I don't think you understand. My proxy tier does almost no reads from the
  file system. There is no content on the server.

 OK, sorry then. Same symptoms, different cause, albeit it's so bad
 that it makes the OS virtually unusable for any serious work.

 Ced


This whole discussion sounds bizarre to me. I have a Solaris 10 Update 1
system with over a dozen zones with UFS with 8 Gig RAM and don't experience
these types of issues. We reboot once a year, whether we need to or not.

This is my limited understanding...
- UFS basically consumes all unused memory for paging, without ever telling
the OS, but releases it to OS processes when memory is needed. UFS does not
tell the OS that it is using the unused memory as buffer cache, so you
never know it when you check for your memory usage.
- ZFS basically consumes all unused memory for ARC, but tells the OS when
it is taking RAM. The ZFS ARC is supposed to give back memory when there is
pressure to do so. You always know how much memory is really being used
when you check your memory usage.

I had issues in the past where disk I/O started to go through the roof, on
UFS filesystems, when the free memory was getting below 4 Gig of RAM... a
sure sign the apps were starving the invisible UFS buffer cache.

I don't really understand how applications can be starved by ZFS unless ZFS
can not give back the buffers (lots of constant full-table scans?) Has
Illumos developers really confirmed such a ZFS bug, where it is not
returning memory to the OS?

This just does not sound right, to me.

Thanks - Dave H
http://netmgt.blogspot.com/
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss