Re: [OpenIndiana-discuss] OpenSolaris and dynamic DNS

2011-02-09 Thread Matt Connolly

On 08/02/2011, at 6:16 AM, Gary Gendel wrote:

> Thanks for all the responses.  Indeed, I've already replaced my cron script.
> 
> On 2/7/11 11:08 AM, Dave Miner wrote:
>> On 02/ 7/11 10:43 AM, Gary Gendel wrote:
>>> Something that someone mentioned in passing triggered a thought.
>>> 
>>> My server gets it's ip address via DHCP from my ISP.  Currently I have a
>>> cron job that queries the address and, if it changed, update a DNS
>>> server externally.  This way I can use mail and web services external to
>>> my network.
>>> 
>>> Can I replace the cron job with a trigger from the dhcp client when it
>>> gets a new IP address instead?  Is this possible with the current dhcp
>>> client or a replacement?
>>> 
>> 
>> dhcpagent(1M) describes the eventhook mechanism built into the DHCP client.  
>> It's meant for exactly these sorts of uses.
>> 
>> Dave

That's good to know. I've been using "ddclient-3.7.3" for many months now on a 
cron schedule. In my case though, I have a router which gets the dynamic IP 
address and uses port mapping to expose only specific ports of my server to the 
internet, so I don't think I can make use of that at present...

-Matt
 


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


Re: [OpenIndiana-discuss] Are there any issues re ZFS on 2TB disks (from WD??) with large blocksizes?

2011-02-09 Thread Matt Connolly
Here's my experience:

On 07/02/2011, at 11:31 PM, Piotr Jasiukajtis wrote:
> On Feb 7, 2011, at 1:13 PM, Robin Axelsson wrote:
> 
>> Could someone enlighten me as to what is wrong with WD's disks, and 
>> particularly what's wrong with their EARS disks?
> 
> 1. They emulate 512b with a big write performance hit. 
> Workaround is to use patched zpool or use zfs sync=disabled, however you will 
> not use patched zpool on a boot zpool.

I have a simple setup with 2x SATA drives: 1 x Samsung Silencer HD154UI and 1 x 
Western Digital Green WD15EARS.

The write performance of the WD is so bad that the entire system becomes 
totally unresponsive, sometimes for minutes at a time, while the drive catches 
up with a massive backlog of writes. (Read performance is fine.) Symptoms are 
exactly the same as the first post in this thread:

http://community.wdc.com/t5/Desktop/Poor-performace-in-OpenSolaris-with-4K-sector-drive-WD10EARS-in/td-p/20947

I stil get these symptoms with OI-148.

> 2. They spin down heads every 8 seconds.

This particular problem can be overcome by using the WD3IDLE command to defeat 
this behaviour.

> 3. I have seen a few bad sector reports and bad heads on those drives.

I haven't seen any read/write errors in `zpool status` ever. (nearly one year 
old).


I'm not going to get another WD * EARS drive.



-Matt


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


Re: [OpenIndiana-discuss] Building a machine

2011-03-08 Thread Matt Connolly
G'day.

I'm using OpenIndiana oi-148 on an Atom D-510 motherboard with 4GB RAM. It's 
working well, although, I'm experiencing these caveats:

1. no video driver support - only VESA driver, no good on a larger monitor. Not 
a problem for me as I typically run my box as a headless server.
2. only 2 SATA ports is limited for drive capacity.
3. no ECC memory... My MacBook Pro doesn't either. I went for the cheap option. 

ZFS + Netatalk for file sharing is providing me with a Time Machine solution 
that I'm very happy with. (Mostly due to ZFS goodness).

Best,
Matt




On 08/03/2011, at 8:26 PM, Scott O'Brien wrote:

> G'Day Everyone,
> 
> First post on the mailing list.  I've just got a few quick questions.  I've 
> found a case I want to build a file server with (just for home) 
> http://www.pccasegear.com/index.php?main_page=product_info&cPath=25_1055&products_id=14503
>  
> 
>  now I'm at a loss as to what mini-itx motherboard I should put in it.  I was 
> kind of hoping for one of the new low power Sandy Bridge CPU's but can't find 
> any on pccasegear.com.  Any advice on motherboard and HD's to get?  Any idea 
> about how to tell with OpenIndiana compatibility?
> 
> Thanks,
> 
> Scott
> 
> 
> ___
> 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] How to index all files on a oi system

2011-03-15 Thread Matt Connolly
Perhaps you might be interested in installing the "locate" command from gnu
findutils:

http://www.gnu.org/software/findutils/

It's installed by default on Mac OSX systems, and is really handy. There's
probably some very good security reasons that it's not installed by default
on OpenIndiana.

-Matt


On 16 March 2011 07:14, Harry Putnam  wrote:

> If you wanted a list of all the files on a host (4 smallish zfs
> filesystem...probably 10s of thousands, but nothing much compared to many
> users here)
>
> Does zfs offer anything special for something like that?
>
> If not, then is there some better way than running 'find' on all the
> drives and compiling a list from it.
>
> Some kind of sorted plain text list would be good, I
> think Something that could be easily grepped with common grep
> commands, so not a data base type file.
>
>
> ___
> 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] bug reports

2011-03-20 Thread Matt Connolly
Why would you `sudo firefox`?

On 17 March 2011 07:52, Reginald Beardsley  wrote:

> I've just switched to using OI for my internet access, so I'll be testing
> it a bit ;-)
>
> Three items:
>
> The "Report a bug"option in the OpenIndiana pulldown in Firefox doesn't
> take you to a report form.  In fact I couldn't find one anywhere.
>
> The default installed system is starting 2 volume managers, rmvolmgr and
> gvfs-hal-volume-monitor  though I couldn't find any documentation.  With
> both volume managers running, once a device is mounted, it can't be
> unmounted.   I turned off rmvolmgr, but I'd like to turn off
> gvfs-hal-volume-monitor also.
>
> rmvolmger is managed by sfm, but gvfs-hal-volume-monitor doesn't appear to
> be.  Something starts it, but I can find nothing under /etc or  /lib/svc
> that references it.
>
> The use of privilege escalation from the user account using sudo(1m) or
> similar seems to me a bad idea.  It seems too easy to exploit.  The browsers
> have so many vulnerabilities, that I won't run a browser as root.  It seems
> to me that having a separate root account is much preferable to sudo for
> machines which have internet access.   But then I just disconnected my LAN
> and installed a dedicated system for internet access.
>
> Have Fun!
> Reg
>
>
> ___
> 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] OI boot problem

2011-03-23 Thread Matt Connolly
On my system, I see:

matt@vault:/opensolaris/boot/grub$ ls /rpool/boot/grub/
bootsign   capability menu.lst   splash.xpm.gz

and 

matt@vault:/opensolaris/boot/grub$ ls /boot/grub/
bine2fs_stage1_5  install_menu   menu.lst   
pxegrubstage1 ufs_stage1_5   xfs_stage1_5
capability fat_stage1_5   iso9660_stage1_5   minix_stage1_5 
reiserfs_stage1_5  stage2 ufs2_stage1_5  zfs_stage1_5
defaultffs_stage1_5   jfs_stage1_5   nbgrub 
splash.xpm.gz  stage2_eltoritovstafs_stage1_5

There's definitely more files in /boot/grub in the active boot environment than 
there is in /rpool/boot/grub.

Perhaps you can boot off the live disc, and

# installgrub PATH/boot/grub/stage1 PATH/boot/grub/stage2 /dev/rdsk/c0t1d0s0

exchanging PATH for the mount path to what was the active boot environment, not 
just the root of the pool.

I checked on my machine if I `beadm mount be_name mount_point` then in 
`/mount_point/boot/grub/' I see the full list of boot files.

The only thing I'm not sure about is how `beadm mount` goes at mounting boot 
environments from another pool.


Hope that helps somewhat,

Matt




On 23/03/2011, at 6:50 AM, GUY WOOLLEY wrote:

> Since last October I've had OI 147/148 running on a new home PC. A while ago 
> I attempted to mirror it. All seemed good though I didn't fully check that 
> the mirror booted (silly me etc. - this is a home PC). Then the worst 
> happened and the new drive where OI was installed failed. So I'm left with 
> the drive carrying the mirror that doesn't boot (currently the only drive in 
> the machine). Is this recoverable - or is it goodbye to OI ?
> 
> Some specifics:
> 
> I can boot from the live USB image and inspect my original OI using 
> 
> zpool import -f -R /a rpool
> 
> and mount 0i_148-2 (my last instance of OI) at /a using beadm mount
> 
> If I try
> 
> ls /a/rpool/boot/grub
> 
> I find
> 
> bootsign capability menu.lst splash.xpm.gz
> 
> and 
> 
> ls /bootsign shows a file pool_rpool.
> 
> If I unmount 0i_148-2 and reboot, Grub tries to start, but I get
> 
> "booting '0i_148-2'
> 
> findroot (pool_rpool,1,a)
> 
> Error 15: File not found   Press any key to continue"
> 
> which takes me to the grub editor.
> 
> Changing values for "1" and "a" (to anything else) is of no consequence, nor 
> is 
> 
> deleting them to use simply "findroot (pool_rpool)".
> 
> Any suggestions as to how to fix this, or indeed advice that it can't be 
> fixed much appreciated. 
> 
> Thanks
> 
> Guy
> 
> 
> 
> 
> 
> ___
> 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] OI boot problem

2011-03-23 Thread Matt Connolly
On 23/03/2011, at 20:28, GUY WOOLLEY  wrote:

> Thanks Matt - you've put your finger on the problem. I have no /a/boot/grub ! 
> 
> I'd noticed that the live USB image has /boot/grub with the entries you 
> identify. I wasn't sure what to make of that. 
> 
> I don't really get your line
> 
> "exchanging PATH for the mount path to what was the active boot environment, 
> not just the root of the pool."

I meant PATH is where you've mounted you desired boot environment, which 
appears to be /a. I wasn't sure if you'd simply mounted the 'rpool' into /a or 
'rpool/ROOT/be-name'.  

> 
> what was the active boot environment ? How do I discover that ?

I'm no expert on the internals of the beadm tool. Or even if it can mount boot 
environments from another pool. 

But if you 'zfs list' you should see rpool/ROOT/opensolaris (or similar, that's 
what my original one was called, and look for the files in there. 

In any case, can't you run the 'installgrub' command sourcing the stage1 and 
stage2 files from the live USB mount and install them onto your drive??

Matt. 

> 
> Cheers
> 
> Guy
> 

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


[OpenIndiana-discuss] Taking a long time to shut down

2011-04-03 Thread Matt Connolly
I've done a few reboot tests recently, and I'm seeing that my Open Indiana 
install is taking a very long time to shutdown.

After the X window system packs up, I seen on the screen a message, such as:

svc.startd: 119 system services are now being stopped.

20 minutes later, the machine is still running and I can ssh in from another 
machine.

If I run `svcs` I can see that there are 72 services still running. It appears 
that it's getting stuck shutting some down. The ones that are transitioning 
from online are:

online*19:52:13 svc:/network/http:apache22
online*19:52:13 svc:/network/iptun:default
online*19:52:13 svc:/system/pkgserv:default
online*19:52:15 svc:/system/fm/smtp-notify:default
online*19:52:15 svc:/system/zones-monitoring:default


Has anyone experienced problems with services shutting down - these in 
particular, or others - causing very long shutdown times?


Thanks,
Matt


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


Re: [OpenIndiana-discuss] Installing on USB stick

2011-04-03 Thread Matt Connolly
On 4 April 2011 01:20, Reginald Beardsley  wrote:

> 1) Boot the Live Image
>
> 2) Identify the internal disk so you don't stomp on it
>

The command `cfgadm` shows devices and how they are connected. On my
machine, I see:
root@vault:~# cfgadm
Ap_Id  Type Receptacle   Occupant
Condition
sata1/0::dsk/c8t0d0disk connectedconfigured   ok
sata1/1::dsk/c8t1d0disk connectedconfigured   ok
usb5/1 unknown  emptyunconfigured ok
usb5/2 unknown  emptyunconfigured ok
usb6/1 unknown  emptyunconfigured ok
usb6/2 unknown  emptyunconfigured ok
usb7/1 unknown  emptyunconfigured ok
usb7/2 unknown  emptyunconfigured ok
usb8/1 unknown  emptyunconfigured ok
usb8/2 unknown  emptyunconfigured ok
usb9/1 unknown  emptyunconfigured ok
usb9/2 unknown  emptyunconfigured ok
usb9/3 unknown  emptyunconfigured ok
usb9/4 unknown  emptyunconfigured ok
usb9/5 unknown  emptyunconfigured ok
usb9/6 unknown  emptyunconfigured ok
usb9/7 usb-hub  connectedconfigured   ok
usb9/7.1   usb-mouseconnectedconfigured   ok
usb9/7.2   usb-device   connectedconfigured   ok
usb9/7.3   unknown  emptyunconfigured ok
usb9/7.4   unknown  emptyunconfigured ok
usb9/8 usb-storage  connectedconfigured   ok


>
> 3) Plug the USB disk into a convenient port
>
> You will ALWAYS need to plug into the same port to boot the disk.
>
> NB There are several removable volume managers which will try to mount the
> disk.  That can make things a bit messy.  Post if you run into trouble.
>
> 3) Install OI and select the USB disk as the target
>
> NB If you set the boot priority to CD-USB-HD it will boot OI anytime it
> sees the disk at boot time.  If the disk is not plugged in it's a perfectly
> normal Windows machine.  Very helpful if it's a company laptop as there's
> nothing for IT to get upset about.
>
> Have Fun!
> Reg
>
>
>
> --- On Sun, 4/3/11, Andrew Myers  wrote:
>
> > From: Andrew Myers 
> > Subject: Re: [OpenIndiana-discuss] Installing on USB stick
> > To: "Discussion list for OpenIndiana" <
> openindiana-discuss@openindiana.org>
> > Date: Sunday, April 3, 2011, 2:38 AM
> > Hi Reg,
> >
> > Thanks for the suggestions.  Is there instructions
> > anywhere for how to
> > create the USB boot disk?
> >
> > Many thanks,
> > Andrew.
> >
> > =
> >
> > Something I forgot to mention.
> >
> > You're a lot better off booting from a USB disk than
> > setting up dual
> > boot.  Many years ago I got a system to boot Solaris,
> > FreeBSD and
> > Linux from the same disk.   It took about a
> > dozen installs to figure
> > out how to do it. (the installers kept killing each
> > other)  Not long
> > after that I installed removable drive trays in all my
> > systems and
> > stopped doing multiboots.  I won't even consider doing
> > it now.
> >
> > The only constraint on USB disk is you have to plug it into
> > the same
> > port each time.  But it's a much better way to do
> > things.  I setup a
> > friend's Dell D620 to boot Solaris 10 & Linux from a
> > pair of USB disks
> > w/ Vista on the internal disk.  With the boot order
> > setup as CD-USB-HD
> > you only need to plug in the disk and bot to get the OS of
> > your
> > choice.
> >
> > Have Fun!
> > Reg
> >
>
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] S.M.A.R.T. tools

2011-04-06 Thread Matt Connolly
On 06/04/2011, at 11:21 PM, Apostolos Syropoulos wrote:

> Hello,
> 
> Does anybody know why the S.M.A.R.T. tools do not work in Solaris?
> To the best of my knowledge they work only with SCSI disks but they
> do not work with either SATA or IDE disks since the necessary ioctls 
> 
> are not implemented in solaris IDE driver.
> 
I got smartmon tools to work for me for drives using the "ahci" driver, using 
the -d sat,12 option as I found in this thread:

http://opensolaris.org/jive/thread.jspa?threadID=124372

I never got it to work with the "pci-ide" driver though.

-Matt


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


[OpenIndiana-discuss] Strange Apache problem

2011-04-25 Thread Matt Connolly
Hi all,

I have a strange problem with Apache 2.2 on my oi_148 machine, which I didn't 
have in previous versions.

I have an alias setup in apache so a url like "http://localhost/alias"; points 
to a php application. This works from localhost. It also works if I manually 
type the ip4 address, but it does not work from a mac client using mdns lookup, 
ie: "http://server.local/alias";. I can see in netstat that the mac client is 
using the ip6 address from mdns, which used to work fine.

To be clear, it's just the alias that doesn't work, the root URL 
"http://server.local/"; does work correctly.

Has anyone seen apache directives not work with ip6 but still work with ip4??


Thanks for any input,
Matt.



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


[OpenIndiana-discuss] zfs snapshot script

2011-05-01 Thread Matt Connolly
Hi all,

I'm putting together a script to create zfs snapshots after a backup has been 
completed (via Apple TimeMachine or rsync for example). When I'm logged into 
the machine, I can only access the "zfs snapshot" command as root via "sudo" or 
"pfexec". Neither of these are available directly from a ssh command. For 
example:

client$ ssh user@server
server$ sudo zfs snapshot blah@blah -> works
..or..
server$ pfexec zfs snapshot blah@blah -> works

..but..

client$ ssh user@host zfs snapshot blah -> fails = permission denied
client$ ssh user@host pfexec zfs snapshot blah -> fails = permission denied
client$ ssh user@host sudo zfs snapshot blah -> fails = sudo: no tty present 
and no askpass program specified

What would be the best practice for creating a zfs snapshot based on an 
external trigger (eg: message from client after a successful backup).


Regards,
Matt





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


Re: [OpenIndiana-discuss] zfs snapshot script

2011-05-01 Thread Matt Connolly

On 01/05/2011, at 11:48 PM, Dan Swartzendruber wrote:

> Hmmm, well, what I've seen a couple of places (and have been using myself)
> is rsyncd.conf on the OS box having a post-exec cmd that takes the
> snapshot...

So that means having some daemon running as root (or with required privileges) 
that could listen to a trigger message sent from the client?

In my case the server is operating simply as a file server and it has no 
knowledge of the state of a backup. I could change the windows backups to be 
using an rsync daemon on the server, but the mac backups using Time Machine 
require an afp file server, so something else needs to be added.

Are there any permission tricks that would allow a script executed via ssh to 
execute "zfs snapshot"??

> 
> -Original Message-
> From: Matt Connolly [mailto:matt.connolly...@gmail.com] 
> Sent: Sunday, May 01, 2011 9:46 AM
> To: Discussion list for OpenIndiana
> Subject: [OpenIndiana-discuss] zfs snapshot script
> 
> Hi all,
> 
> I'm putting together a script to create zfs snapshots after a backup has
> been completed (via Apple TimeMachine or rsync for example). When I'm logged
> into the machine, I can only access the "zfs snapshot" command as root via
> "sudo" or "pfexec". Neither of these are available directly from a ssh
> command. For example:
> 
> client$ ssh user@server
> server$ sudo zfs snapshot blah@blah -> works
> ..or..
> server$ pfexec zfs snapshot blah@blah -> works
> 
> ..but..
> 
> client$ ssh user@host zfs snapshot blah -> fails = permission denied
> client$ ssh user@host pfexec zfs snapshot blah -> fails = permission denied
> client$ ssh user@host sudo zfs snapshot blah -> fails = sudo: no tty present
> and no askpass program specified
> 
> What would be the best practice for creating a zfs snapshot based on an
> external trigger (eg: message from client after a successful backup).
> 
> 
> Regards,
> Matt
> 
> 
> 
> 
> 
> ___
> 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] zfs snapshot script

2011-05-01 Thread Matt Connolly
Thanks Gary - best answer!!

"zfs allow" is exactly what I was looking for. (also great to learn the extra 
-t trick with sudo, thanks to others).

And yes, "zfs allow" does apply only to one filesystem (or optionally including 
its descendants).


Best,
Matt.

On 02/05/2011, at 1:38 AM, Gary Mills  wrote:

> On Sun, May 01, 2011 at 08:23:25AM -0700, Reginald Beardsley wrote:
>> "Are there any permission tricks that would allow a script executed via ssh
>> to execute "zfs snapshot"??"
>> 
>> It's called setuid bit.   There are a host of security concerns
>> around setuid scripts and programs, so consider how you set things
>> up and what your risks are.
> 
> Did you consider `zfs allow'?
> 
> -- 
> -Gary Mills--Unix Group--Computer and Network Services-
> 
> ___
> 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] Cannot Install

2011-05-04 Thread Matt Connolly
I had a problem with my intel d510 motherboard where openindiana would fail to 
boot (from DVD,USB or hd) if the bios USB setting was wrong (legacy enable I 
think). I read that there was acpi settings you can set from grub prompt but 
never found what would make it work. Once I found the right bios setting, it 
worked so I stopped searching.

Out of interest, did you try the latest solaris express which should be very 
similar in it's hardware support?

Cheers
Matt. 



On 04/05/2011, at 9:16 AM, Eric Tse  wrote:

> yea dunno what to do here
> - Eric
> 
> 
> On Tue, May 3, 2011 at 2:07 PM, Eric Tse  wrote:
> 
>> nvm spoke too soon, its frozen?
>> - Eric
>> 
>> 
>> 
>> On Tue, May 3, 2011 at 1:48 PM, Dan Swartzendruber wrote:
>> 
>>> phew :)
>>> 
>>> 
>>> ___
>>> 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] No Keyboard boot problem reappeared

2011-05-04 Thread Matt Connolly
Here is a good place to start:

http://wiki.openindiana.org:8080/display/oi/Boot+hangs

Good luck!
Matt


On 05/05/2011, at 4:51 AM, Blake Irvin  wrote:

> I don't recall them offhand, but they are  documented in a few places.  The 
> old docs.sun.com and google are your friends :)
> 
> 
> sent from a Unix host smaller than my open hand.
> 
> On May 4, 2011, at 11:26 AM, Robin Axelsson  
> wrote:
> 
>> Perhaps you could inform me as to what flags I should use and I will do it.
>> 
>> On 2011-05-04 19:28, Blake wrote:
>>> Can you add debug flags to your grub boot command and then watch the system
>>> boot without a keyboard?  You can then transcribe what you see on the
>>> console into an gist and post a link to the gist.
>>> 
>>> 
>>> 
>>> On Tue, May 3, 2011 at 2:09 AM, Robin Axelsson>>> wrote:
 I have posted earlier on how the system freezes at boot when there is no
 keyboard connected to the system. This was on OI_148. Then Ken Mays
 suggested that I should update to OI_148b from the devil repository. After
 the update I could boot the system without a keyboard but now the very same
 problem is back.
 
 Robin.
 
 
 ___
 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

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


Re: [OpenIndiana-discuss] Choice of disks: Will 4kB Blocksize Seagate Barracuda Green ST2000DL003 64MB 2TB work OK in OI148??

2011-05-06 Thread Matt Connolly
On 06/05/2011, at 10:26 PM, Hans J. Albertsson wrote:

> Rather, question is how to deal with the 4kB block size!
> Choice of disks: Will 4kB Blocksize  Seagate Barracuda Green ST2000DL003 64MB 
> 2TB work OK in OI148??

I have one of these drives in my system, mirrored against a 512b sector Samsung 
drive.

The drive reports to the system that it has 512 byte sectors (it's emulated) 
and works just fine.

As far as I understand, the modified zpool with ashift=12 will make it work 
better. For a new pool, i'd go that way. Note that ashift=12 isn't supported 
for boot pools, but neither is concatenated volumes either.

So if you make a smaller partition for the system, formatted with defatul 
ashift=9 and the the bigger data pool with ashift=12 you should be in good 
shape.

Best,
Matt


> 
> On 2011-05-06 08:34, Hans J. Albertsson wrote:
>> Or are there any gotchas?
>> 
>> I intend to put 4 identical ones, as mirrored pairs in ZFS.
>> 
>> It's on a SuperMicro XB7Si motherboard, the 4 onboard SATA connectors
>> left after the system rpool's 2 500GB Seagate Barracuda.
>> 
>> These will serve up media files as an SMB/Cifs share (iSCSI??) for
>> various media players
> 
> ___
> 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] Getting started with OI...smb issues

2011-05-07 Thread Matt Connolly
I was just having some issues this morning with a recently reinstalled oi148 
system with smb. None of my accounts had access because Pam wasn't set up with 
smb. 

I updated the wiki page: 
http://wiki.openindiana.org:8080/display/oi/Using+OpenIndiana+as+a+storage+server

Also have a read through the man page for smbadm.

Regards
Matt


On 07/05/2011, at 9:29 AM, John Sneddon  wrote:

> Hi,
> 
> I've just done a fresh install of OI build 148 Server and I'm having a slight 
> problem with SMB shares on my WDTV Live.
> 
> I have imported my zpool from an OSol install, which was all fine, and the 
> shares are showing up correctly with sharemgr():
> 
> sneddo@StorageBox:~# sharemgr show -v
> default
> smb
>* /var/smb/cvol
>  c$=/var/smb/cvol   smb=(abe="false" guestok="false") 
>  "Default Share"
> zfs
>zfs/storage/Audio
>  /storage/Audio
>  Audio=/storage/Audio   smb=(guestok="true")
>zfs/storage/Images
>  /storage/Images
>  Images=/storage/Images smb=(guestok="true")
> 
> 
> I believe the smb service is running correctly:
> sneddo@StorageBox:~# pfexec svcs -a | grep smb
> disabled   13:35:12 svc:/network/smb/client:default
> online 13:35:32 svc:/network/shares/group:smb
> online 13:35:35 svc:/network/smb/server:default
> 
> I can also connect to the shares just fine from my Mac, but with my WDTV Live 
> I have two problems:
> 
> 1. The NETBIOS name is showing up as WORKGROUP - not really an issue, but 
> would like to change it for WAF (Wife Acceptance Factor :P ).
> 2. I cannot see any shares on the OI machine from the WDTV Live, even when 
> connecting with root password (or my user account).
> 
> Essentially I would like guest access to these shares, with the ability to 
> login as a privileged account to make changes if required.
> 
> Secondly, I'm just wondering how I edit the Grub menu to cut the timeout down 
> a bit? I tried looking in /boot/grub, but nothing seemed to match up with 
> what I was seeing.
> 
> I'm sure these are pretty easy solutions, being new to OI I just haven't been 
> able to work it out and it is starting to frustrate me! Time to consult the 
> experts...
> 
> Cheers,
> John
> 
> 
> ___
> 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] Getting started with OI...smb issues

2011-05-07 Thread Matt Connolly
On 08/05/2011, at 8:07 AM, Chris Mosetick wrote:

> Yes, someone has borked that page.

Oops. Fixed that up, now.
Cheers,

-Matt


> On Sat, May 7, 2011 at 2:53 PM, Ivar Janmaat  wrote:
> 
>> I noticed double entries for Intro and NFS on this page.
>> Shouldn't that be just one entry for each?
>> 
>> 
> ___
> 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] Update info?

2011-05-24 Thread Matt Connolly
On 24 May 2011 18:21, Alasdair Lumsden  wrote:

> Hi All,
>
> I too don't appreciate the flamewar on here of Solaris vs Linux, sudo vs
> pfexec.


> If you don't like sudo, you don't have to use it. It's as simple as that.
>
> But bringing the default in-line with other modern-day Unixes such as MacOS
> and most of the major Linux distributions seems entirely sane to me. People
> expect sudo, therefore we will give them sudo. So if you don't like the
> default, I suggest you investigate distro-constructor.
>

+1

I'm glad someone mentioned Mac OS here! As a Mac user, I'm familiar with
sudo, so I'll choose to it. Thank you for giving me the choice.

Is this the first post that hasn't mentioned Linux? Oh crap

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


[OpenIndiana-discuss] Zpool 4k sectors - zfs send/recv

2011-05-24 Thread Matt Connolly
I'm about to expand my storage from 2 drives in a mirror to 4 drives (2 x 
mirrors concatenated). After this stage 3 of my 4 drives will be Advanced 
format drives, so I'm looking at the zpool with block-size 4096 (ashift=9).

I will have the opportunity here to format the new drives using the 4096 byte 
block size, by doing this:

(starting with zpool which is a mirror on drive1 and drive2)
1. zpool create newpool block-size 4096 mirror drive3 drive4
2. zfs send -R zpool/blah | zfs recv newpool/blah
3. zpool destroy zpool
4. zpool add newpool mirror drive1 drive2

Any gotchas here I need to know about?

This is going to result in all existing data on drive3/4 mirror vdev and a 
pretty empty drive1/2 mirror vdev. Are there any ways to get the data 
redistributed across the drives?



I'm running some tests with just one filesystem onto a test pool (file backing 
store) and I notice that the disk usage goes up significantly, by about 30%:

root@vault:~# zfs list zpool/projects/something
NAMEUSED  AVAIL  REFER  MOUNTPOINT
zpool/projects/something  49.8M  94.0G  28.8M  /projects/something
root@vault:~# zfs list ztest/projects/soundevolution
NAMEUSED  AVAIL  REFER  MOUNTPOINT
ztest/projects/something  65.3M  1.89G  38.0M  /ztest/projects/something

The used amount goes up from 28.8M to 38.0M, which is exactly as `du -h` 
reports. This file system has about 3000 files in it; not massive. I've 
compared the `du -h ` output from the two filesystems above and here's a few 
changes in file size:
1k  -> 8k
1k  -> 8k
3k  -> 17k
6k  -> 17k
7k  -> 25k
5k  -> 18k
17k -> 57k
383k-> 839k
7.3M-> 7.5M
8k  -> 47k

etc..

As I expect, most of the difference is in the smaller files. I am surprised, 
though, at how much the files are increasing in size by - I would have expected 
an increase of up to 4k per file (and perhaps another 4k for metadata). But 3k 
to 17k? 5k to 18k? 17k to 57k?

Is this normal? Curiosity makes me ask why?

And if zfs is so much less efficient with larger block sizes, is the ashift=9 
thing something that only database users for example (or other users of very 
large files) should even consider??


Thanks for sharing your thoughts.

Matt



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


Re: [OpenIndiana-discuss] sata port multiplier?

2011-05-25 Thread Matt Connolly
On 26/05/2011, at 3:26 AM, Ray Arachelian wrote:
> On 05/25/2011 01:13 PM, Gary Driggs wrote:
>> On May 25, 2011, at 9:48 AM, Ray Arachelian  wrote:
>> 
>>> I suppose I could give up one of the rpool drives and put it in an USB
>>> enclosure instead.  I guess it'll be an interesting tradeoff.
>>> 
>> You might also see if your motherboard has an internal USB port and use a 
>> small, fast flash drive instead. Just make sure you get one that's somewhat 
>> fast unless you don't mind the long reboot time. Since these change every 
>> week, check on of the review aggregate sites that will let you sort by 
>> speed; http://reviews.cnet.com/4566-3233_7-0.html?sa=502910
>> 
>> 
> 
> Actually this is a D510MO motherboard which has a mini-PCIe slot for
> which there exist not too expensive mini PCIe SSD drives.  I had
> forgotten about that slot and hadn't realized that there were such
> things as PCI SSDs out there. D'oh!

Sounds like an almost identical setup to what I have. Although I'm using a 
Si3114 card. I have AHCI enabled in the bios, so my drivers are:

Silicon Image si3114 = pci-ide
Intel SATA Controller = ahci.

And, if you do find a miniPCIe SSD, please do share, I'd be interested in this 
too.


Thanks,
Matt


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


Re: [OpenIndiana-discuss] sata port multiplier?

2011-05-28 Thread Matt Connolly
On 28/05/2011, at 7:08 AM, Ray Arachelian  wrote:
> On 05/25/2011 05:21 PM, Matt Connolly wrote:
>> 
>> Sounds like an almost identical setup to what I have. Although I'm using a 
>> Si3114 card. I have AHCI enabled in the bios, so my drivers are:
>> 
>> Silicon Image si3114 = pci-ide
>> Intel SATA Controller = ahci.
>> 
>> And, if you do find a miniPCIe SSD, please do share, I'd be interested in 
>> this too.
>> 
> 
> I bought this one: 
> http://www.newegg.com/Product/Product.aspx?Item=N82E16820167039
> 
> I haven't yet installed it, but I'll do it this weekend. :)
> 
> My biggest problem is that I turned on dedup, and I find the dedup table
> size is over 8GB, while the box has only 4GB and can only allow half of
> the memory to be used.  Of course any write operation is now insanely
> slow.  Hence the need for the SSD.  I also scripted up find and md5 and
> sorted out the output and I'm slowly deleting the duplicate files, but
> it's still insanely slow.  Hopefully the SSD will make that problem go
> away and deletes of the dupe files will go faster.
> 
> Before this machine I kept my stuff on USB drives.  Each year or so I'd
> get a newer, larger set of USB drives and transfer the contents over,
> that way I'd avoid data loss caused by lost sectors, etc. and still have
> the old drives as a backup to the previous set.  I'd recyle the old old
> set as needed. 
> 
> Of course I wasn't super careful and some of the drive sets had dupe
> files on them, so the dupes added up.  When I built this NAS box,  I
> figured ZFS handles dedupes, so why not throw all the files to the nice
> NFS server and let it sort out the dupes. :-D  Until one day it got
> insanely slow
> 
> I had a Si3114 card in there, but it wouldn't work at all with
> opensolaris (I'm guessing it now works under oi148?), so I spent a few
> more bucks and bought a 3124 which works fairly well - not fast, but
> then again the drives are WD20EARS, so I don't expect it to fly. 

The si3114 card required the bios to be flashed as not raid, only then did it 
work in oi as a straight die device. Mostly works well, the only thing I've 
found is that cfgadm doesn't recognize it so if a drive fails on a si3114 port, 
you will need to cold reboot the machine to see a replacement. (no not 
swapping). 

> 
> Of course, I upgraded it to oi148.   Oh well.  I guess I'll find
> something else to do with the 3114, or ebay it or something.
> 
> The next step, after the SSD install and cleanup of the dupe files is to
> do a zfs send backup of the whole array to a couple of 2T USB drives,
> wipe it and realign the partition table so I get rid of the 4K alignment
> issue as well, which, this being initially an open solaris 134 install,
> it's certain to be suffering from.

Sounds just like what I've done recently, except I zfs send straight from one 
drive (was previously mirrored) into a freshly made raidz pool with 4k 
alignment. I'd consider not using dedup given the cheap price of storage these 
days combined with limited ram in on that mobo. As in, the performance hit for 
the saved disk space wouldnt be worth it for my needs.
> 


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


Re: [OpenIndiana-discuss] Intel D510MO - do not flash the bios to 5XX GRUB will freeze

2011-06-03 Thread Matt Connolly
I have this mobo with a later bios. I got stuck by a combination of ahci and 
USB legacy enable. I'm away from the machine for the weekend, when I'm back, 
I'll dig up my setting for you. 

Matt. 


On 04/06/2011, at 1:56, Ray Arachelian  wrote:

> So, I wasn't sure for a few days why OI wouldn't boot, and I thought
> perhaps something corrupted grub, or I would have posted this earlier.
> 
> I tried all the solaris distros including oi151, oi148, sol 11 express,
> sol 10, Schillix, Belenix, Milax, even the old osol134.  No luck.  They
> all hang in grub with "Loading Stage 2."
> Tried to boot off USB thumb drives too, same thing on the internal SATA
> hard drives as well.
> 
> If you have this motherboard do not upgrade the BIOS to 5xx.  I'm not
> sure exactly what version broke it.  I'm only able to downgrade it to
> 501 from 516.
> 
> I tried to use the ISO image as pressing F7 fails to go back a major
> version to 400 or 3xx, and this too fails to boot - dies with an opcode
> violation before FreeDOS finishes booting.  This is off a USB DVD-RW
> drive, so maybe I'll take out one of the internal drives and hook up the
> DVD-RW that way and try again, or maybe I'll be able to boot off
> whatever the latest FreeDOS image is and try to downgrade the BIOS that
> way...
> 
> I've not tried to mess with the BSDs, nor tried to compile ZFS for linux
> and make a live CD out of that.  I probably won't as I'd rather have a
> solaris derivate.
> 
> 
> On the upside, patching did fix one of my D510MO machines that couldn't
> boot newer versions Linux, since I wanted to upgrade mythbuntu on it,
> but unfortunately, all I can boot is Linux on both ATOM machines now.
> 
> Any thoughts on what the difference between the versions of grub used by
> solaris derrivates and linux might be (beyond ZFS)?
> 
> 
> newegg had a nice combo deal for $230 today for a core 2/mobo/4G
> ram/hd/case, so that's on the way, and it's got 2 PCI + 1 PCIe.  From
> what I see the onboard ethernet will likely not work, but this one has 4
> onboard SATA slots, and two PCI slots, plus a PCIe slot, so there's
> plenty of room to grow.  Someone reported the board will actually accept
> 8GB of RAM, so I might try that later on as well and see if it works. 
> It's not a high end box, but it'll do for a NAS. 
> 
> 
> I'll see if I can find a nice quad gigabit intel card to put in there
> and speed up access a bit.  How's multipathing in OI?
> 
> 
> The Atom board was very nice in terms of power consumption.  The new box
> has a 480W PS, it'll probably use less than that, but, would have been
> nice to save some watts.
> I wish someone would make ATOM boards for use as NAS servers.  Something
> with 16 SATA plugs and quad gigabit ethernet and lots of RAM would have
> been really nice.
> 
> 
> ___
> 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] Intel D510MO - do not flash the bios to 5XX GRUB will freeze

2011-06-05 Thread Matt Connolly
Here's my bios settings:

Version:MOPNV10N.86A.0516.2011.0331.1730

Main:
hyperthreading = enable
Advanced:
Boot Configuration:
numlock = on
system fan control = disable
system fan speed = 50%
max cpuid value limie = disable
display setup prompt = on
display post codes = enable
Peripheral Configuration
serial port = enable
parallel port = enable
mode = ecp
audio = enable
legacy front panel audio = enable
on-board lan = enable
Internal chipset drive configuration
configure sata as = ahci **
smart = enable
hard disk predelay = 0
event log
event logging = enable
video configuration
dvmt mode = dvmt
igd dvmt memory = 128mb
igd aperture size = 256 mb
primary video adapter = auto
chipset configuration
memory configuration = auto
pci latency timer = 32
hpet = enable
usb configuration
usb ports = enable all
usb legacy = disable **
security:
expansion card test = enable
execute disable bit =enable


** these are the ones i remember having to change to get it working.


Good luck

Matt.
On 04/06/2011, at 1:56 AM, Ray Arachelian wrote:

> So, I wasn't sure for a few days why OI wouldn't boot, and I thought
> perhaps something corrupted grub, or I would have posted this earlier.
> 
> I tried all the solaris distros including oi151, oi148, sol 11 express,
> sol 10, Schillix, Belenix, Milax, even the old osol134.  No luck.  They
> all hang in grub with "Loading Stage 2."
> Tried to boot off USB thumb drives too, same thing on the internal SATA
> hard drives as well.
> 
> If you have this motherboard do not upgrade the BIOS to 5xx.  I'm not
> sure exactly what version broke it.  I'm only able to downgrade it to
> 501 from 516.
> 
> I tried to use the ISO image as pressing F7 fails to go back a major
> version to 400 or 3xx, and this too fails to boot - dies with an opcode
> violation before FreeDOS finishes booting.  This is off a USB DVD-RW
> drive, so maybe I'll take out one of the internal drives and hook up the
> DVD-RW that way and try again, or maybe I'll be able to boot off
> whatever the latest FreeDOS image is and try to downgrade the BIOS that
> way...
> 
> I've not tried to mess with the BSDs, nor tried to compile ZFS for linux
> and make a live CD out of that.  I probably won't as I'd rather have a
> solaris derivate.
> 
> 
> On the upside, patching did fix one of my D510MO machines that couldn't
> boot newer versions Linux, since I wanted to upgrade mythbuntu on it,
> but unfortunately, all I can boot is Linux on both ATOM machines now.
> 
> Any thoughts on what the difference between the versions of grub used by
> solaris derrivates and linux might be (beyond ZFS)?
> 
> 
> newegg had a nice combo deal for $230 today for a core 2/mobo/4G
> ram/hd/case, so that's on the way, and it's got 2 PCI + 1 PCIe.  From
> what I see the onboard ethernet will likely not work, but this one has 4
> onboard SATA slots, and two PCI slots, plus a PCIe slot, so there's
> plenty of room to grow.  Someone reported the board will actually accept
> 8GB of RAM, so I might try that later on as well and see if it works. 
> It's not a high end box, but it'll do for a NAS. 
> 
> 
> I'll see if I can find a nice quad gigabit intel card to put in there
> and speed up access a bit.  How's multipathing in OI?
> 
> 
> The Atom board was very nice in terms of power consumption.  The new box
> has a 480W PS, it'll probably use less than that, but, would have been
> nice to save some watts.
> I wish someone would make ATOM boards for use as NAS servers.  Something
> with 16 SATA plugs and quad gigabit ethernet and lots of RAM would have
> been really nice.
> 
> 
> ___
> 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] [illumos-Discuss] branding for illumos/openindiana

2011-06-21 Thread Matt Connolly

On 21/06/2011, at 3:54 PM, Ken Gunderson  wrote:

> On Mon, 2011-06-20 at 23:03 -0600, Ken Gunderson wrote:
>> On Mon, 2011-06-20 at 19:58 -0700, Marion Hakanson wrote:
>>> 
>>> I also happen to think "illumos" is an excellent name.  Use it everywhere.
>> 
>> Uh... Excuse me, but what have you been smoking?  Drinking, maybe?
>> I think Illumos is a pretty lame name, nothing against the people who
>> chose it.  I kind of like OpenIndiana, particularly when contracted to
>> "oi", as compared to Illumos in that at least it conveys that this is
>> supposed to be an "Open" project (although "Open" has been so misused by
>> marketroids trying to cash in on the Open Source phenom that in more
>> recent times its use has almost become a red flag, particularly
>> following the Orcale OpenSolaris fiasco).  
>> 
>> But all that is neither here nor there.  The point is that your idea
>> was/is lame.  And that your mother probably dresses you funny...
>> 
>> 
> 
> P.S.; In the event it may have been less than obvious... above was
> intended to be taken with a sense of humor ;-P
> 
> -- 
> Regards-- Ken Gunderson

Odd sense of humour, Ken... :/
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Boot crash

2011-07-11 Thread Matt Connolly
Hi all, I'm looking for some assistance to investigate a boot crash.

My OI machine locked up last night. It would still respond to pings, but would 
not accept any network connections nor wake the monitor.

After forcibly powering it off, and rebooting, it is now crashing very early 
during the boot phase, stuck in an endless reboot cycle. I've tried booting 
into older BE's, with same result.

I've added the "-m verbose -v" options to the kernel boot line in grub, and I 
see about 1 seconds worth of text fly past too fast to read, then reset, back 
to bios startup again.

I suspect the problem may be hardware related, but I am wondering if there's a 
way to "stop" the system from rebooting at that panic point so I can read the 
boot text??


Thanks for any help,
Matt


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


Re: [OpenIndiana-discuss] Boot crash

2011-07-12 Thread Matt Connolly
Thanks, Richard, that helped a little, but this is starting to look quite 
tricky.

My system has three 2TB drives formatted , like so:

+---++
| rpool on c8t0d0s0 , 64 GB | zpool on c8t0d0p1 , 1.9TB  | <- #1 mobo sata 1
+---++
| rpool on c8t1d0s0 , 64 GB | zpool on c8t1d0p1 , 1.9TB  | <- #2 mobo sata 2
+---++
| rpool on c3t1s0 , 64 GB   | zpool on c3t1p1 , 1.9TB| <- #3 PCI sata 
(SiI3114 cmdk driver) 1
+---++

rpool is a 3-way mirror, setup as bootable slice in a solaris partition of 100GB
zpool is a Raid-Z formatted with blocksize=4096 in a second partition (not 
solaris partition type, since there can only be one, using the remaining 1.9TB 
of the drive)


I'm 99% sure that one of the drives has failed, but I don't think it's a 
catastrophic failure, because I booted into GParted, which shows that all 3 
drives pass their short SMART tests.

I tried to boot with only #1 connected and it booted. Rpool is up, no zpool 
obviously with only 1 drive.

I'm hesitant to try same with the other drives in case I end up with three 
"branches" of rpool that diverge and can't be repaired back into a mirror 
again. Is that a possibility for data loss there?? Or is zpool scrub smart 
enough to figure it out??

I also tried booting with both Oi148 and Solaris Express 11 live cd's to see if 
they could make any sense of it. Unfortunately, both hang during boot, right 
after the SunOS 5.11 heading, where (iirc) normally you see the zfs file 
systems then mounted.


Note that this motherboard can only boot from the onboard sata ports, so to 
boot from a live cd, I move a sata drive from the motherboard sata port to the 
pci sata port. Would that further complicate the issue? Or is zfs smart to 
recognise one of its drives were moved?


In any case, it's quite frustrating that the whole system is unbootable because 
of this error, completely defeating the intended purpose of having redundancy 
protecting from data loss in case of a drive failure.


Can anyone see anything glaringly wrong with the setup?? Or if I'm barking up 
the wrong tree?


-Matt



On 12/07/2011, at 8:28 AM, Richard Lowe wrote:

> If you're crashing, you want to add '-k' to the boot arguments as well
> as -v, etc.  to load the debugger, which should give you time to read
> panic messages etc.
> 
> If with -k it stops at the debugger, the most useful thing is probably
> to include the panic-related output from the debugger's $ command.
> 
> It's somewhat common (unfortunately) for a particularly damage boot
> archive to look like this, and crash before even the debugger is
> loaded, if this is the case the below should let you rebuild it.
> 
> Boot either an older boot archive or from a live CD (if from live CD,
> import the rpool etc).
> Mount the boot environment which will not boot:
> 
>   beadm mount  /mnt
> 
> Update the boot archive on it
> 
>   bootadm update-archive -vR /mnt
> 
> -- Rich
> 
> ___
> 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] Hardware fault, drive or controller?

2011-07-15 Thread Matt Connolly
Hi all,

following my crash and boot failure during the week, I left my oi
machine off for a day or so to think about what it had done wrong.
After turning it back on and booting off the live oi-148 cd, I was
able to import my 2 pools, and did a scrub of the boot pool. There
were a few checksum errors, but everything recovered correctly.

I then rebooted back into the installation on the HDs and it was
looking good. I let it run doing a scrub of my data pool after
reimporting it, which was running fine for many hours.

However, it locked up again. The system was still running, (I could
use firefox and make network connections) but anything that interacted
with the data pool hung. `zpool status` hung, for example, and could
not be terminated with Ctrl+C.

I shut the machine down and saw lots of errors in /var/adm/messages like:

Jul 14 07:10:01 vault genunix: [ID 859416 kern.info]
ghd_timer_newstate: HBA reset failed hba 0x
ff01ca571e40 gcmdp 0xff01db863a00 gtgtp 0xff01cc10f6c0
Jul 14 07:10:01 vault scsi: [ID 107833 kern.warning] WARNING:
/pci@0,0/pci8086,2448@1e/pci-ide@0
/ide@1 (ata1):
Jul 14 07:10:01 vault   timeout: HBA reset, target=1 lun=0
Jul 14 07:11:01 vault genunix: [ID 859416 kern.info]
ghd_timer_newstate: HBA reset failed hba 0x
ff01ca571e40 gcmdp 0xff01db863a00 gtgtp 0xff01cc10f6c0
Jul 14 07:11:01 vault scsi: [ID 107833 kern.warning] WARNING:
/pci@0,0/pci8086,2448@1e/pci-ide@0
/ide@1 (ata1):
Jul 14 07:11:01 vault   timeout: HBA reset, target=1 lun=0


I've since completed a scrub on both pools with no errors, so I'm
fairly sure that it's not a dead hard drive.

Does this sound like a motherboard/controller failure?? Any other thoughts?

Thanks,
Matt

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


Re: [OpenIndiana-discuss] exporting rpool with system running

2011-08-01 Thread Matt Connolly

On 31/07/2011, at 10:03 PM, Harry Putnam wrote:

> [ I apologize if a very similar post from me has already shown up
> here.  Having some kind of delivery or receive problem]
> 
> 
> How can I export the rpool with the system up?

>From my recent experience, you can boot off the live CD and import the 
>existing pool without exporting it by using the `import -f` flag.

Importing a pool into one system like this removes it off the old system, 
however the boot pool seems to automatically import -f itself when you reboot 
back into the real disks instead of the live cd. Not the other pools though, 
you will need to properly export/import them.

-Matt


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


[OpenIndiana-discuss] Packages for update in 151a but not really

2011-09-23 Thread Matt Connolly
I recently updated to 151a and it seems to be running like a dream.

I just noticed this today:

matt@vault:~$ pkg list -u
NAME (PUBLISHER)  VERSION STATE  UFOXI
compress/p7zip4.55-0.151.1installed  u
consolidation/sfw/sfw-incorporation   0.5.11-0.151.1  installed  u
gnome/theme/cursor/dmz-cursor 0.4-0.148   installed  u
matt@vault:~$ sudo pkg update
No updates available for this image.   
matt@vault:~$ 

Why does `pkg list -u` show packages to update yet `sudo pkg update` says none? 
Odd, no? 

-Matt


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


Re: [OpenIndiana-discuss] Question regarding OI148, SI3124 and port multiplier Sil3726

2011-10-11 Thread Matt Connolly

On 08/10/2011, at 8:29 AM, Albert Lee  wrote:

> On Wed, Oct 5, 2011 at 7:02 PM, Stefano Del Corno
>  wrote:
>> Hi, I'm sorry if the question have been already discussed in the past:
>> I'm having an issue with a PCI-e 3132 SATA card and a 3726 port
>> multiplier. Digging both the internet and OI discussions, I had the
>> feeling that this specific combination is working fine in a few
>> different environments.
>> 
>> http://openindiana.org/pipermail/openindiana-discuss/2011-January/002209.html
>> http://openindiana.org/pipermail/openindiana-discuss/2011-May/003998.html
>> 
>> I've loaded latest "ide" firmware (B7703) on my 3132 card. I tested
>> the pci-e card, the port multiplier and 4 attached sata drives under
>> linux: everything was working fine. I did also a couple of "raw"
>> performance tests with good results. Given the good experience under
>> "another OS" and given that I saw positive reports of SIL port
>> multipliers with SIL based SATA boards, I dropped both the card and
>> the port multiplier in my OpenIndiana box.
>> 
>> I'm running OI 148 on a SuperMicro X7SPA-H board. It's booting from a
>> couple of USB drives (forming a mirrored rpool). Right now I'm using 4
>> out of 6 internal sata connectors to drive a small SSD and 3 1.5tb
>> drives. My plan is to add the above mentioned 3124 + 3726 + 4drives to
>> my OpenIndiana box to test different protection schemes and run some
>> "zpool send" tests.
>> 
>> The issue I'm experiencing is that I can only see the first drive
>> (port 0) I've attached to the port multiplier.
>> 
> 
> I'm not sure where you heard otherwise, but only the ahci driver
> supports SATA port multipliers.
> 
> -Albert

I have a Si3124 4 port SATA card, and could only get it to work with the 
pic-ide drivers. It also doesn't support hot plugging / reconfiguration via 
cfgadm. 


Matt. 


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


Re: [OpenIndiana-discuss] Static IP configuration problem

2011-10-12 Thread Matt Connolly
On 13/10/2011, at 5:55 AM, Dan Swartzendruber wrote:
> LinuxBSDos.com wrote:
>> Those are the steps we used to take in Linux a long time ago. This is one
>> area that oi will have to address to make non-techy users lives a bit
>> easier.
>>  
> Yeah, I know.  I've been around the block a few times (I started using Linux 
> in 1994 for a self-started business.)  Even for techies this is a nuisance.  
> So you are a new admin who has been tasked with installing a server, and you 
> were persuaded to try OI.  You get it configured and... no IP address?  So 
> you go to a workstation elsewhere and start googling for how to fix basic 
> issues like this.  This should, IMO, be done by the installer, not as an 
> afterthought.  I followed a somewhat different approach that involves a 
> pseudo-static IP via nwam.  That seems to work too, but I honestly have no 
> idea if it is better, worse or the same (on the merits) as the approach 
> already mentioned here.

My machine is set up with a static IP address, configured by nwam. I used the 
GUI to set it up, it wasn't that hard. The hardest thing I found was getting to 
the right spot in the GUI.

I also notice that there's no man pages installed for `nwamadm` or `nwamcfg` - 
at least on my system. Do others have them?

I agree, it would be nice to have the installer be able to set up static IP 
address networking.

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


Re: [OpenIndiana-discuss] cleaning out stale entries in zpool cache

2011-10-25 Thread Matt Connolly

On 25/10/2011, at 9:58 AM, Dan Swartzendruber wrote:

> 
> Sweet, that did it!  The last two disks are now resilvering, but the stale
> raid-z1 pool is now gone.  Many thanks George and Jesus!

Great to hear it's sorted. Just wondering if you can share with the list how 
much of the disks were clobbered with dd in case someone else comes up with the 
issue in the future.

Cheers,
Matt


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


[OpenIndiana-discuss] Cannot log in to machine

2011-11-01 Thread Matt Connolly
Hi,

My OpenIndiana machine has been running great on oi151 for ages. Just today, I 
can't log in to the machine, at the gdm console, nor by ssh.

ssh does connect and I can run commands over it, but cannot start a shell. eg:

MattBookPro:~ matt$ ssh vault.local uptime
 12:40pm  up 11 day(s), 22:40,  2 users,  load average: 0.00, 0.00, 0.00
MattBookPro:~ matt$ ssh vault.local
Last login: Wed Nov  2 12:46:13 2011 from mattbookpro.loc



...nothing...

Other services, such as http, and git over ssh are working normally.

Has anyone else experienced problems with this?

Actually, the following commands appear to lock up, producing no output: "zpool 
status", "zfs list" and "fmdump -v".


Thanks for any suggestions,
Matt



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


[OpenIndiana-discuss] zfs replace controller

2011-11-16 Thread Matt Connolly
Hi,

I've just upgraded my SATA card from a Si3114 which only used the pci-ide 
driver to a Si3124 which uses the si3124 driver (and is recognised as sata by 
`cfgadm` etc).

I was hoping that I could replace the card and have oi magically find the 
partitions on the same drives connected to my new controller.

My setup has two pools:

rpool - mirrored x 3, boot
zpool - raidz x3 for data

Once I got my machine to booting, getting "zpool" across was easy. Simply 
`zpool export zpool` then `zpool import zpool`, and hey presto, all works.

The boot "rpool" was a bit trickier though.

I thought I could do this:

root@vault:/# /sbin/zpool replace rpool c4d1s0 c5t3d0s0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c5t3d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
root@vault:/# /sbin/zpool replace -f rpool c4d1s0 c5t3d0s0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c5t3d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
root@vault:/# 

But I could only get the other drives on the mirror pool by doing a `zpool 
detach` followed by `zpool attach` which wants to resilver the entire drive.

Is this the only way to migrate a boot pool drive from one controller to 
another? Or can it be "moved" (replaced) without requiring the resilver?


Thanks,
Matt

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


[OpenIndiana-discuss] oi151 clean install - root role problem

2011-11-27 Thread Matt Connolly
Hi all,

I've just set up a new oi151 workstation, but am having a problem using the 
root role from any of the gui panels. (System -> Administration -> Services, or 
nwam-manager-properties from top task bar).

When using the "lock" icon in the SMF Services panel, for example, it asks me 
to select a user, and then to select a role, which I select "root", and then 
that the role must be authenticated but it does not accept my password. 

I can "sudo" with no problems, though.

And here's an interesting thing, I added a password to the root user with "sudo 
passwd root" that is different to my user password. I figure this should have 
no affect since root is a role not a user, right?

Now, in the services panel, I can select "matt" as the user, then "root" as the 
role and then authenticate using the root password (not my user password).

Is this how it is supposed to work? To access the root role, you need to use 
the root password, not your user password?

And if so, why did the installer ask for a root password but not configure it 
correctly? (I could only access these panels after doing `sudo passwd root`)



Matt.


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


Re: [OpenIndiana-discuss] BMC driver

2011-11-27 Thread Matt Connolly

On 09/08/2011, at 8:52 AM, jason matthews wrote:

> Does the old trick of copying the BMC driver from NV134 or Solaris Express
> 151 work on OI148?
> 
> I have tried to load both versions of that driver they both bombed out. Has
> anyone tried with OI151? Or am I just beating my head against the wall...
> Was there some sort of change in the kernel that breaks this trick?
> 
Hi Jason, I'm just putting together an oi-151 machine running on an intel 
server board.

Did you ever manage to get the bmc driver running?

-Matt


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


Re: [OpenIndiana-discuss] oi151 clean install - root role problem

2011-11-27 Thread Matt Connolly

On 27/11/2011, at 10:08 PM, Chris Bünger wrote:

> I think your User has to have the profile "Primary Administrator" in
> /etc/user_attr.

This still didn't help. But again, setting the root user password with `sudo 
passwd root` enables me to authenticate to the root role using that root 
password. (not my user password, as I would use with sudo).

Any reason why the installer would not give the "Primary Administrator" profile 
to the first user on the machine? If the first user can't do it, who can?

If it wasn't for sudo, you'd have to boot into single mode to change anything!

-Matt

> 
> Cheers
>  Chris
> 
> Am 27.11.2011 um 11:24 schrieb Matt Connolly :
> 
>> Hi all,
>> 
>> I've just set up a new oi151 workstation, but am having a problem using the 
>> root role from any of the gui panels. (System -> Administration -> Services, 
>> or nwam-manager-properties from top task bar).
>> 
>> When using the "lock" icon in the SMF Services panel, for example, it asks 
>> me to select a user, and then to select a role, which I select "root", and 
>> then that the role must be authenticated but it does not accept my password.
>> 
>> I can "sudo" with no problems, though.
>> 
>> And here's an interesting thing, I added a password to the root user with 
>> "sudo passwd root" that is different to my user password. I figure this 
>> should have no affect since root is a role not a user, right?
>> 
>> Now, in the services panel, I can select "matt" as the user, then "root" as 
>> the role and then authenticate using the root password (not my user 
>> password).
>> 
>> Is this how it is supposed to work? To access the root role, you need to use 
>> the root password, not your user password?
>> 
>> And if so, why did the installer ask for a root password but not configure 
>> it correctly? (I could only access these panels after doing `sudo passwd 
>> root`)
>> 
>> 
>> 
>> Matt.
>> 
>> 
>> ___
>> 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] oi151 clean install - root role problem

2011-11-27 Thread Matt Connolly

On 28/11/2011, at 1:35 AM, Bill Sommerfeld wrote:
> On 11/27/11 04:36, Matt Connolly wrote:
>> This still didn't help. But again, setting the root user password with `sudo 
>> passwd root` enables me to authenticate to the root role using that root 
>> password. (not my user password, as I would use with sudo).
>> 
>> Any reason why the installer would not give the "Primary Administrator" 
>> profile to the first user on the machine?
> 
> A user account granted the "Primary Administrator" profile becomes equivalent 
> to root -- any process running as that uid can "pfexec rm -rf /usr" or 
> anything more destructive.
> 
> > If the first user can't do it, who can?
> 
> Primary Administrator is too powerful to grant to a "use every day" user 
> account.

Granted. Although I would think an option during the install process to grant 
"Primary Administrator" role to that first user (perhaps with an appropriate 
warning) would be fine. (As far as risk goes, the first user is given access to 
root via sudo anyway).

I'm happy using sudo because it asks to confirm password (which pfexec 
doesn't), but I see two caveats with that:
1. no support for role based auditing
2. all the existing system panels use the role/profile approach.

> 
>> If it wasn't for sudo, you'd have to boot into single mode to change 
>> anything!
> 
> the folks who made the opensolaris installer grant the first regular user the 
> "primary administrator" role, and then splattered pfexec all over the 
> documentation, made a terrible mistake; the installer has only been corrected 
> recently, after too many opensolaris users have been mistrained to use pfexec 
> the wrong way.

And finally, just to clarify one more thing, when you use those system panels 
(like SMF Services, etc) that ask you to authenticate as root role, should it 
be the root password or your user password?

Thanks,
Matt


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


[OpenIndiana-discuss] post-boot hang

2011-11-29 Thread Matt Connolly
Hi all,

I've installed oi-151 on a new machine recently, and it's running great, but it 
will not reboot. I've made some boot environment clones as I've gone along and 
I can always roll back to the clean install, and that will boot, but it seems 
that after I install kvm and a few other bits (apache, mysql, etc), it doesn't 
want to reboot.

The hardware is an Intel S1200BTL motherboard with a Xeon E3-1230 processor 
with 16GB RAM.

I've been through this process a number of times now, rolling back, 
reinstalling, yes it works, reboot = hang. The hang is an odd one, it happens 
very late in the boot process, when the graphical login appears.

If I disable the graphical console and splashscreen and add some verbose 
logging to the grub boot command, I can see services loading up, and as the 
network comes online I can ping the machine successfully.

The last text I saw on the screen before was this:

pseudo: pseudo-device: kvm0
genunix: kvm0 is pseudo/kvm0

A few seconds after this the screen blanks - I assume this is where the 
graphical login would normally appear - and then the machine totally stops 
responding to network pings, keyboard events, etc. The capslock light on the 
keyboard won't toggle (is that a bad sign?).

kvm being the last thing logged could be a coincidence...  it's just the last 
thing in the log before the screen blanks.


Does anyone have any ideas as to how to track this down? 


Thanks,
Matt


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


Re: [OpenIndiana-discuss] post-boot hang

2011-11-30 Thread Matt Connolly

 Hi all,

I've just spent a bit more time testing my system. Simply doing the 
following results in a boot hang:


# pkg install driver/i86pc/kvm
# reboot

If I make a zfs snapshot right before doing that, I can boot from 
another BE in the grub menu, rollback to the snapshot and then boot in 
my main BE.


If I disable all virtualisation features in my board's bios, then I get 
a kernel panic, which was recorded to a zvol: rpool/dump (which is 
nearly 8GB in size). With Virtualisation enabled, then it's the silent hang.


It's quite odd that if I install KVM fully, it loads at install time and 
I can use it, but no luck rebooting later.


Has anyone else seen this sort of problem with KVM?

On 30/11/11 10:36 AM, Matt Connolly wrote:

Hi all,

I've installed oi-151 on a new machine recently, and it's running great, but it 
will not reboot. I've made some boot environment clones as I've gone along and 
I can always roll back to the clean install, and that will boot, but it seems 
that after I install kvm and a few other bits (apache, mysql, etc), it doesn't 
want to reboot.

The hardware is an Intel S1200BTL motherboard with a Xeon E3-1230 processor 
with 16GB RAM.

I've been through this process a number of times now, rolling back, 
reinstalling, yes it works, reboot = hang. The hang is an odd one, it happens 
very late in the boot process, when the graphical login appears.

If I disable the graphical console and splashscreen and add some verbose 
logging to the grub boot command, I can see services loading up, and as the 
network comes online I can ping the machine successfully.

The last text I saw on the screen before was this:

pseudo: pseudo-device: kvm0
genunix: kvm0 is pseudo/kvm0

A few seconds after this the screen blanks - I assume this is where the 
graphical login would normally appear - and then the machine totally stops 
responding to network pings, keyboard events, etc. The capslock light on the 
keyboard won't toggle (is that a bad sign?).

kvm being the last thing logged could be a coincidence...  it's just the last 
thing in the log before the screen blanks.


Does anyone have any ideas as to how to track this down?


Thanks,
Matt




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


Re: [OpenIndiana-discuss] post-boot hang

2011-11-30 Thread Matt Connolly

 Link to photo of crash stack trace:

http://s895.photobucket.com/albums/ac156/matt_connolly/?action=view¤t=crashstacktrace.jpg

On 30/11/11 08:43 PM, Matt Connolly wrote:

 Hi all,

I've just spent a bit more time testing my system. Simply doing the 
following results in a boot hang:


# pkg install driver/i86pc/kvm
# reboot

If I make a zfs snapshot right before doing that, I can boot from 
another BE in the grub menu, rollback to the snapshot and then boot in 
my main BE.


If I disable all virtualisation features in my board's bios, then I 
get a kernel panic, which was recorded to a zvol: rpool/dump (which is 
nearly 8GB in size). With Virtualisation enabled, then it's the silent 
hang.


It's quite odd that if I install KVM fully, it loads at install time 
and I can use it, but no luck rebooting later.


Has anyone else seen this sort of problem with KVM?

On 30/11/11 10:36 AM, Matt Connolly wrote:

Hi all,

I've installed oi-151 on a new machine recently, and it's running 
great, but it will not reboot. I've made some boot environment clones 
as I've gone along and I can always roll back to the clean install, 
and that will boot, but it seems that after I install kvm and a few 
other bits (apache, mysql, etc), it doesn't want to reboot.


The hardware is an Intel S1200BTL motherboard with a Xeon E3-1230 
processor with 16GB RAM.


I've been through this process a number of times now, rolling back, 
reinstalling, yes it works, reboot = hang. The hang is an odd one, it 
happens very late in the boot process, when the graphical login appears.


If I disable the graphical console and splashscreen and add some 
verbose logging to the grub boot command, I can see services loading 
up, and as the network comes online I can ping the machine successfully.


The last text I saw on the screen before was this:

pseudo: pseudo-device: kvm0
genunix: kvm0 is pseudo/kvm0

A few seconds after this the screen blanks - I assume this is where 
the graphical login would normally appear - and then the machine 
totally stops responding to network pings, keyboard events, etc. The 
capslock light on the keyboard won't toggle (is that a bad sign?).


kvm being the last thing logged could be a coincidence...  it's just 
the last thing in the log before the screen blanks.



Does anyone have any ideas as to how to track this down?


Thanks,
Matt






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


Re: [OpenIndiana-discuss] dev repository

2011-12-01 Thread Matt Connolly

 On  1/12/11 07:28 PM, Chris Bünger wrote:

Experienced the same problem, yesterday. It worked before.

Chris

Am 01.12.2011 um 10:20 schrieb Michael McDonnell:


Noticed this yesterday evening and see it's still in effect now.
Attempting a search in the Package Manager or via terminal fails.

$ pkg search randr
pkg: Some repositories failed to respond appropriately:
openindiana.org:
http protocol error: code: 503 reason: Service Unavailable
URL: 
'http://pkg.openindiana.org/dev/openindiana.org/search/1/False_2_None_None_%3A%3A%3Arandr'.

There's no search at http://pkg.openindiana.org/dev/en/index.shtml either so I 
guess it's related?

I had the same problem a few days ago. And get the same error if I try 
that right now.


-Matt


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


Re: [OpenIndiana-discuss] Installing a Unbuntu Guest Under KVM

2011-12-04 Thread Matt Connolly
I did this recently without any problems.

On 02/12/2011, at 10:36 AM, Geoff Flarity wrote:

> Ok, so I changed the -vnc to so use an outside world accessible ip:
> 
> -vnc :01

I used "-vnc 0.0.0.0:1" as a qemu parameter. 

> 
> And now I connect. So it looks like it was ssh. But oddly, when I use
> netcat to create a server, I can tunnel to it just fine:
> 
> netcat -l localhost 5901
> 
> ^ works fine with ssh tunnel.
> 
> This moves me forward, but I really want to know why I can connect
> with ssh? Any ideas?
> 
> On Thu, Dec 1, 2011 at 6:14 PM, Geoff Flarity  wrote:
>> Hi,
>> 
>> I've got Ubuntu booting under kvm and now I'm trying to vnc into it in
>> order to install it. I've got an ssh tunnel going through to
>> localhost:5901 which the kvm-qemu vnc server seems to be listening on,
>> ie the port opens with telnet.  When I try to connect to the vm with
>> vnc no window comes up but the vnc client says it's connected. All the
>> stuff I can find seems to imply that I should see the installer screen
>> in vnc...

So you're doing something like: "ssh -L5901:localhost:5901 user@host" ?

I've seen some vnc clients that don't like to connect to localhost. Is there 
any reason you can't just vnc directly to the OI server?

-Matt


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


Re: [OpenIndiana-discuss] Which mobo allows 24 GB ram and ECC

2011-12-04 Thread Matt Connolly
On 05/12/2011, at 6:41 AM, Geoff Flarity wrote:

> On Sun, Dec 4, 2011 at 3:37 PM, Lou Picciano  wrote:
>> Harry - You may be getting into SuperMicro mobo space at this point... 
>> (others here will have some specific recommendations for you).
>> 
>> On the other hand - the latest Sandy Bridge Architectures will support 32 GB 
>> even on lower-end boards.
>> 
> 
> Be aware that there's bug withSandy Bridge + KVM that will require
> using a kernel parameter change work around. I forget the exact
> details, see the SmartOS archives.

I just set up a Sandy Bridge Xeon E3-1230 on an Intel S1200BTL which supports 
32GB ECC memory. It's a bit fussy about what memory it supports - make sure you 
get the right type. There appears to be no BMC driver at present, but other 
than that, it's running well.

To get KVM to load without crashing, you need to add "set apix_enable=0" in 
/etc/system and reboot before installing kvm. It's also mentioned in an issue 
for illumos-kvm on github:

https://github.com/joyent/illumos-kvm/issues/1

> 
> 
>> Lou Picicano
>> 
>> - Original Message -
>> From: "Harry Putnam" 
>> To: openindiana-discuss@openindiana.org
>> Sent: Sunday, December 4, 2011 2:57:19 PM
>> Subject: [OpenIndiana-discuss] Which mobo allows 24 GB ram and ECC
>> 
>> Hoping to save any more googling and pawing thru specs etc by letting
>> someone that knows just name motherboards that allow 24 gb max ram and
>> have option for ECC memory too.
>> 
>> This will be for a zfs server but will also be the home of many
>> installed guest vms... hence the high ram spec.
>> 
>> I've looked at quite a few asus boards which seem to have ECC option
>> more or less by default (unlike most others). But then finding the
>> 24 GB max is another matter...
>> 
>> Or possibly my google stings are poorly thought out or arranged. Is
>> anyone else noticing that google seems NOT to honor quotations in
>> search string any more?


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


[OpenIndiana-discuss] KVM - windows VM slow network access

2011-12-04 Thread Matt Connolly
I'm running a Windows 7 guest under qemu-kvm on OI 151 and have a few problems:

1. clock drift - this seems really bad, losing about 30 minutes in an hour.
2. very slow networking from the guest to the rest of the network.

My script for starting the vm is like this:

VNIC=vnic2
MAC=$(dladm show-vnic -po macaddress $VNIC)
/usr/bin/qemu-kvm \
-boot order=cd \
-runas matt \
-enable-kvm \
-smp 2 \
-m 2048 \
-no-hpet \
-localtime \
-drive file=$DISK0,if=ide,index=0 \
-drive file=$DISK1,if=ide,index=1 \
-drive file=$CDROM,media=cdrom,if=ide,index=2  \
-net nic,vlan=0,name=net0,model=e1000,macaddr=$MAC \
-net vnic,vlan=0,name=net0,ifname=$VNIC,macaddr=$MAC \
-usbdevice tablet \
-vga std -vnc 0.0.0.0:2


The network issues seems to be only outgoing packets. The guest VM can connect 
to the internet and local servers and download at reasonable speeds, but 
running any kind of service on the machine appears so slow that they time out 
to other devices on the network. I've tested this out with RDP, HTTP (wamp) and 
file sharing - all services appear online and connections succeed, but they are 
so slow they eventually fail (timeout).

For example, copying a 200MB file from a network drive into the Windows guest 
takes about 5 seconds. Copying the same file back to the server looks like it 
will take 15 hours.

Network bandwidth to the OI host is fine, and using VNC (from qemu) is snappy 
as can be. Additionally none of these problems can be seen running a linux 
guest virtual machine.

Has anyone experienced these problems?


Thanks,
Matt



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


Re: [OpenIndiana-discuss] KVM - windows VM slow network access

2011-12-05 Thread Matt Connolly

On 06/12/2011, at 6:29 AM, Heinz N. Gies wrote:

> Hi Matt,
> I would guess you have 'upped' the vnic on the host system? If so, run 
> ifconfig $VNIC down and it should work like a charm :) - had the same problem

I hadn't done anything to the vnic other than create it.

However, after I changed the config to use the "virtio" network interface 
instead of "e1000" and installed the windows drivers (available from Fedora) 
the networking is running fine.

I wonder if there's some hidden conflict of emulating an "e1000" interface on a 
real "e1000" interface (which my system has). In any case, that part is solved, 
and moral of the story is to try different network interfaces :)

Thanks,
Matt


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


[OpenIndiana-discuss] Qemu-kvm as a service?

2011-12-06 Thread Matt Connolly
Hey all,

I'm having some good luck now running several virtual machines using KVM. I've 
had a look around, and haven't found any nice ways to automate running the 
virtual machines as services, for example.

libvirt doesn't seem to support qemu-kvm at present.

Does anyone have any happy stories of setting up qemu-kvm virtual machines 
through some service manager?


Thanks,
Matt


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


[OpenIndiana-discuss] zone autoboot=true did not boot, then zfs mount fails.

2011-12-11 Thread Matt Connolly
I have a zone set with "autoboot=true" and it does not start automatically when 
the system restarts.

The service "svc:/system/zones:default" is enabled and online. However, the log 
shows:

[ Dec 12 12:24:13 Executing start method ("/lib/svc/method/svc-zones start"). ]
Booting zones: zone1 mysqlslaveERROR: error while acquiring slave handle of 
zone console for mysqlslave: No such device or address
console setup: device initialization failed
ERROR: error while acquiring slave handle of zone console for zone1: No such 
device or address
console setup: device initialization failed
zone 'mysqlslave': could not start zoneadmd
zoneadm: zone 'mysqlslave': call to zoneadmd failed
zone 'zone1': could not start zoneadmd
zoneadm: zone 'zone1': call to zoneadmd failed


I can boot the zone manually, but it's "system/filesystem/local" service fails 
because zfs mount -a is failing:

root@mysqlslave:~# zfs mount -a
cannot mount 'rpool/zones/mysqlslave': Insufficient privileges


I've tried detach and attach -u the zone, nothing is installed, so it seems up 
to date.

Has anyone seen this before?
Any ideas to get this zone working again?

Thanks,
Matt


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


Re: [OpenIndiana-discuss] zone autoboot=true did not boot, then zfs mount fails.

2011-12-12 Thread Matt Connolly

 On 12/12/11 01:36 PM, Mark Humphreys wrote:

The only similar thing I've seen is when a mount-point has something in
it.  Then the ZFS file system will refuse to mount-over that directory.  As
your zone needs to mount before you can boot it, start looking at your ZFS
mounting problem first.

Regards,

Thanks for the hint. There was something in the directory. It was also 
marked as "zoned=on" which I compared with my other test-box which is 
working was off.


So `zfs set zoned=off rpool/zones/zone1`, empty the directory and `zfs 
mount rpool/zones/zone1` and then the zone boots correctly.


Thanks again,
Matt.



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


Re: [OpenIndiana-discuss] Qemu-kvm as a service?

2011-12-13 Thread Matt Connolly
Thanks for the Joyent info. Those tools look pretty neat. Although it does 
require SmartOS and "kvm" branded zones which we don't have in OpenIndiana 
(yet, I suppose..)


Russ, thanks for your scripts. I've put something together based on that which 
is off to a great start.

One thing I haven't figure out how to do though, is get the service to restart 
the machine if it shuts down. Whenever the VM shuts down, it appears as if the 
service has failed, and it goes into a maintenance state. `svcadm clear X` gets 
it started again.

I've read that SMF will do this if a service fails too quickly (like 3 times in 
60 seconds is mentioned in a few places). I've looked high and low for a way to 
set that threshold but haven't found any way to do so. Any SMF gurus able to 
point me in the right direction?

Thanks,
Matt


On 13/12/2011, at 5:32 PM, Jeppe Toustrup wrote:

> On Tue, Dec 13, 2011 at 07:22, Heinz N. Gies  wrote:
>> Hi Russ,
>> nice work :) I have twiddled in a related area and put together a (a bit 
>> more complexer) controll script [1] that can run multiple machines, perhaps 
>> we should join forces and combine the two?
>> 
> 
> Joyent has already made a daemon to run virtual machines, it is
> included in the SmartOS distribution:
> https://github.com/joyent/smartos-live/tree/master/src
> 
> The daemon is made as a Node.js program, vmadmd.js and has a client
> utility to control the VMs called vmadm.js.
> 
> --
> Venlig hilsen / Kind regards
> Jeppe Toustrup (aka. Tenzer)
> 
> ___
> 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] System becoming unresponsive

2012-01-11 Thread Matt Connolly
Hi, my OI machine that I built recently has become unresponsive a number of 
times, requiring a hard reset.

Today this happened when I had an ssh connection open, running "top". This is 
the last screen I saw before all my ssh connections died and the machine 
stopped responding to all network activity.

load averages:  28.4,  11.5,  6.70;   up 3+00:50:14 
  09:33:34
151 processes: 135 sleeping, 13 running, 3 on cpu
CPU states:  0.1% idle,  3.6% user, 96.3% kernel,  0.0% iowait,  0.0% swap
Kernel: 319 ctxsw, 15 trap, 517572 intr, 334874 syscall
Memory: 16G phys mem, 2054M free mem, 8054M total swap, 8054M free swap

   PID USERNAME NLWP PRI NICE  SIZE   RES STATETIMECPU COMMAND
  1063 matt8  590 1066M 1054M cpu/5  221:45 43.67% qemu-kvm-system
  4557 matt7  590 2094M 2082M cpu/21:09  7.50% qemu-kvm-system
  1062 matt8  590 1077M 1065M run375:51  0.06% qemu-kvm-system
---snip---

(full page at https://gist.github.com/1597508 )

(The system is an Intel S1200-BTL motherboard with Xeon E3 processor and 16GB 
ECC ram.)


Once unresponsive, every now and then the HD activity led blinks.

Under normal circumstances, the load average is in the 1-4 range. The machine 
is still under fairly light use until I get some more confidence in it.

After giving the machine a hard reset, I don't see anything in the fault log or 
in /var/adm/messages indicating a failure or anything unusual. (kvm is a bit 
noisy, but it's like that all the time, so I'm not sure that that could be 
cause for lock up after 5 days).


Any ideas?

What could be causing so much cpu usage in the kernel?


Thanks,
Matt.


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


Re: [OpenIndiana-discuss] S1200BTL - Can i used Desktop RAM??

2012-01-12 Thread Matt Connolly
>> On Wed, Dec 28, 2011 at 2:54 PM, Roshan Gowda 
>> wrote:
>>> Hi,
>>> 
>>> I am planning to buy Intel server board S1200BTL, processor E3-1230. Does
>>> desktop RAM support for this processor and motherboard.


No. I have this board in my OI machine. Check the technical manual:

http://download.intel.com/support/motherboards/server/s1200bt/G13326-003_S1200BT_TPS_v1_0.pdf

It states:

"Only ECC memory is supported on this platform."
"Only Unregistered (Unbuffered) DIMMs (UDIMMs) are supported"

 I took a screenshot of the supported RAM list from Intel's site because it was 
very difficult to find:

http://s895.photobucket.com/albums/ac156/matt_connolly/?action=view¤t=intels1200btlcompatibleram.png

Best of luck,
Matt.




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


[OpenIndiana-discuss] ZIL write cache performance

2012-01-12 Thread Matt Connolly
Hi, I've installed an SSD drive in my OI machine and have it partitioned 
(sliced) with a main slice to boot from and a smaller slice to use as a write 
cache (ZIL) for our data pool.

I've noticed that for many tasks, using the ZIL actually slows many tasks at 
hand (operation within a qemu-kvm virtual machine, mysql loading importing a 
dump file, etc). I know I bought a cheap SSD to play with so I wasn't expected 
the best performance, but I would have expected some improvement, not a slow 
down.

In one particular test, I have mysql running in a zone and loading a test data 
set takes about 40 seconds without the ZIL and about 60 seconds with ZIL. I 
certainly wasn't expecting a 50% slow down.

Is this to be expected?

Are there any best practices for testing an SSD to see if it will actually 
improve performance of a zfs pool?


Thanks,
Matt


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


Re: [OpenIndiana-discuss] ZIL write cache performance

2012-01-13 Thread Matt Connolly
Yes, it is as you guess comparing ZIL on the main pool vs ZIL on an SSD. I 
understand that the ZIL on its own is more of an integrity function rather than 
a performance boost. 

However, I would have expected some performance boost by using an SSD log 
device since writing to the dedicated log device reduces I/O load on the main 
pool (or is this wrong?)

Thanks for the heads up about the bug and pending fix.. I'll take a look.

-Matt. 

On 13/01/2012, at 9:34 AM, Steve Gonczi  wrote:

> Hi Matt, 
> 
> The ZIL is not a performance enhancer. (This is a common misunderstanding, 
> people sometimes view the ZIL as a write cache) . 
> 
> It is a way to simulate "sync" semantics on files where you really 
> need that, instead of the coarser ganularity guarantee that zfs gives 
> you without it. (txg level, where the in-progress transaction group may 
> roll back if you crash). 
> 
> If I am reading your post correctly, you are comparing 2 scenarios 
> 
> 1) Zil is enabled, and goes to the main storage pool 
> 2) Zil is enabled but it goes to a dedicated SSD instead. 
> Please verify that this is indeed the case.

Yes, this is the case. 

> You should not expect having an SSD based zil performing better than 
> when turning the ZIL off altogether. 
> 
> The latter of course will have better 
> performance, but you have to live with the possibility of losing some data. 
> 
> Given that the case is (1) and (2), it all depends on how much performance 
> headroom your pool has, vs. the write performance of the SSD. 
> 
> A fast SSD ( e.g.: DRAM based, and preferably dedicated to Zil and not split) 
> would work best. It does not have to be huge, just large enough to store 
> (say) 
> 5 seconds worth of your planned peak data inflow. 
> 
> You need to be aware of a recent performance regression discovered pertaining 
> to 
> ZIL ( George Wilson has just posted the fix for review on the illumos dev 
> list) 
> This has been in Illumos for a while, so it is possible, that it is biting 
> you. 
> 
> Steve 
> 
> - Original Message -
> Hi, I've installed an SSD drive in my OI machine and have it partitioned 
> (sliced) with a main slice to boot from and a smaller slice to use as a write 
> cache (ZIL) for our data pool. 
> 
> I've noticed that for many tasks, using the ZIL actually slows many tasks at 
> hand (operation within a qemu-kvm virtual machine, mysql loading importing a 
> dump file, etc). I know I bought a cheap SSD to play with so I wasn't 
> expected the best performance, but I would have expected some improvement, 
> not a slow down. 
> 
> In one particular test, I have mysql running in a zone and loading a test 
> data set takes about 40 seconds without the ZIL and about 60 seconds with 
> ZIL. I certainly wasn't expecting a 50% slow down. 
> 
> Is this to be expected? 
> 
> Are there any best practices for testing an SSD to see if it will actually 
> improve performance of a zfs pool? 
> 
> 
> Thanks, 
> Matt 
> 
> 
> ___ 
> 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] Boot failure - degraded boot pool

2012-02-09 Thread Matt Connolly
Dear list,

I had a power outage at my house recently and my OpenIndiana backup server has 
failed to reboot.

I've attempted the following diagnostics:

- boot with -k -v shows a kernel panic where the boot pool fails to mount 
because it is degraded.

- I've booted with Gparted Live CD and can verify that the discs (3 drives) are 
readable and pass smartmon short tests.

- I've booted the OI151 live dvd, which goes into maintenance mode. Log in with 
user "root" and password "jack" and zpool import does not recognise the pools.

There appears to be no "zdb", "cfgadm" nor "iostat" on the live dvd - at least 
when it's in maintenance mode, do I don't know how to test anything.

Does anyone have any ideas on how to do more diagnostics / repairs??


Regards,
Matt


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


Re: [OpenIndiana-discuss] Kernel panic with Intel i7-2670QM CPU (HP EliteBook 8560w)

2012-02-09 Thread Matt Connolly
I've experienced the "interrupt storm" (at that's what I think it is - ever 
increasing kernel cpu usage and slowing down machine) on a new sandy bridge 
Xeon E3.

As far as I'm aware there is a fix for this in the prestable package repo. I 
just updated my publisher to that on my Xeon machine about 2 days ago, and it's 
looking good so far.

Might be worth giving that a try.

-Matt


On 08/02/2012, at 5:00 AM, Lou Picciano wrote:

> Geoff, 
> 
> On the face of it, this looks remarkably like the power management and 
> interrupt issues many (including Yours Truly!) are seeing on SandyBridge CPUs 
> (our is an i7-2600K). These problems often manifest as an 'Interrupt Storm'. 
> Check the bug lists for reports - and some suggested workarounds. 
> 
> Trying to work through what I think is the next iteration of this problem; 
> that I can reliably crash our build machine with the -j(n) option to gcc. 
> 
> More to follow... 
> 
> Lou Picciano 
> 
> - Original Message -
> From: "Geoff Simmons"  
> To: openindiana-discuss@openindiana.org 
> Cc: "Nils Goroll"  
> Sent: Tuesday, February 7, 2012 7:55:22 AM 
> Subject: [OpenIndiana-discuss] Kernel panic with Intel i7-2670QM CPU (HP 
> EliteBook 8560w) 
> 
> -BEGIN PGP SIGNED MESSAGE- 
> Hash: SHA256 
> 
> Hello all, 
> 
> A colleague attempted to boot oi_151a from CD on an HP EliteBook 8560w 
> laptop: 
> 
> http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/321957-321957-64295-3740645-4307559-5071171.html
>  
> 
> ... the variant with Intel i7-2670QM. He got an immediate kernel panic, 
> and thinks that he saw a message about the CPU before the screen went 
> blank; which leads us to believe that 2670QM may be too "new" for oi_151a. 
> 
> Has anyone else tried booting OpenIndiana with this CPU, or confirm 
> whether or not it can be used? Or are we looking at the wrong 
> explanation for the kernel panic? 
> 
> He also tried some other variations of Solaris: 
> 
> - - OpenSolaris snv_134 booted from an SSD also led to immediate kernel 
> panic. 
> 
> - - Solaris 11 11/11 also got a kernel panic. 
> 
> - - Oddly, OpenSolaris snv_111 could be booted, after issuing warnings 
> about a parser error in the cpudrv or cpupm module. But neither ethernet 
> nor wireless were recognized, and the old nvidia driver didn't work 
> (that could be updated). 
> 
> 
> Thanks, 
> Geoff 
> - -- 
> ** * * UPLEX - Nils Goroll Systemoptimierung 
> 
> Schwanenwik 24 
> 22087 Hamburg 
> 
> Tel +49 40 2880 5731 
> Mob +49 176 636 90917 
> Fax +49 40 42949753 
> 
> http://uplex.de 
> -BEGIN PGP SIGNATURE- 
> Version: GnuPG v1.4.10 (SunOS) 
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ 
> 
> iQIcBAEBCAAGBQJPMR86AAoJEOUwvh9pJNURxRUP/RfxscL2wmySc4SlE5T2ucju 
> vDRK/NHvkghW3/tTJ48nY2550NNxMxKELS2CZE02xV+Ivqh9w+zIuy/Olob5YkX/ 
> a0+5n/WQoWor9IcZj0baoxcQhMMTgIdohH2I2PPwpQNSeF2uNy1kX9+hh9/+dMBL 
> zXHYXqdWch6WA16YKHX3+SemEzlXkP3B68WqXLfXvh0BDyPGfrgNZJcRoGUg6JJC 
> p6916iBwuHynq1oCziH1o6ywIwOIIWo6vDiszllH3gdlJsP+Q3YcbkLxn4a7y7Q4 
> CBIvvcxpWUeTgPfwgjkOZs0b2V/hm5BAHyUaKqCDSFNG9weNC8xoOiHo35TmQ9NM 
> rdPAmqQbQicAnIOn98b3w1be4ZLppeONPa59sI3+w+Mz+6iMrSkJR0tUwTxT1UMO 
> 4PW6BfZD4ffLsszGoRnqWMMGi/9D3EVnmXTvVFI6durXCY+ZMb2LPMl53HIX5tw9 
> EAaHZSUUb3Wj0nf2DcfO2xZZDD08ykLA0mJaebFnKSObY0BukF4Uq47FVnJDDcyP 
> 6QrYu1hKv7n4Bf6qjh2mH+8Wu+v0NWWUa8FfjN4FduvYDbQwZLVC1f+CUXFyAm6g 
> i+r0kxyNNhpeAFpZA5j8cKZgPsP2tzVC/QLsmJhIwyw78FJLSoVvPfFTsVEvDIDu 
> 6BHl2di/YMYlIsIqInXE 
> =pIlf 
> -END PGP SIGNATURE- 
> 
> ___ 
> 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] Boot failure - degraded boot pool

2012-02-10 Thread Matt Connolly
Well the machine is back up and running.

It seems that one of the drives was in a faulted state - probably a separate 
issue from the power outage. But that drive was configured by the bios to be 
the boot drive, and the system refused to boot off a faulted drive. Instantly 
restarted, repeat.

So a few things seem less than desirable:

* Live DVD not able to boot correctly because of an existing pool in a faulted 
state - resulting in no useful tools for diagnostics.

* If the system drive is mirrored, and the drive which is configured by BIOS to 
boot from is a faulted drive, is there any way for the system to get back up 
and running without a person at the console to change the BIOS setting?

This particular machine is my home backup server, so I'm not too worried about 
it. But if I'm going to roll out a machine in a data centre or remote office 
this could be a real problem.

Thoughts?

Matt.


On 10/02/2012, at 12:23 PM, Gordon Ross wrote:

> On Thu, Feb 9, 2012 at 6:33 AM, Matt Connolly
>  wrote:
>> Dear list,
>> 
>> I had a power outage at my house recently and my OpenIndiana backup server 
>> has failed to reboot.
> [...]
>> Does anyone have any ideas on how to do more diagnostics / repairs??
> 
> You might try:
>  zpool import -F $pool
> 
> ___
> 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] Boot failure - degraded boot pool

2012-02-11 Thread Matt Connolly
On 11/02/2012, at 12:49, Mark Creamer  wrote:

> If you have a mirrored set for your OS (rpool) you can configure it so the
> failure of either one of those two drives will cause the system to boot
> automatically from the other. Google mirrored rpool. I think I found my
> instructions on Constantin Gonzales' site IIRC

I had done all these steps. The problem really was that the drive was 
"available" to the BIOS (not a total drive failure) but marked as "faulted" by 
zfs so it wouldn't boot off it. 


> On Friday, February 10, 2012, Matt Connolly 
> wrote:
>> Well the machine is back up and running.
>> 
>> It seems that one of the drives was in a faulted state - probably a
> separate issue from the power outage. But that drive was configured by the
> bios to be the boot drive, and the system refused to boot off a faulted
> drive. Instantly restarted, repeat.
>> 
>> So a few things seem less than desirable:
>> 
>> * Live DVD not able to boot correctly because of an existing pool in a
> faulted state - resulting in no useful tools for diagnostics.
>> 
>> * If the system drive is mirrored, and the drive which is configured by
> BIOS to boot from is a faulted drive, is there any way for the system to
> get back up and running without a person at the console to change the BIOS
> setting?
>> 
>> This particular machine is my home backup server, so I'm not too worried
> about it. But if I'm going to roll out a machine in a data centre or remote
> office this could be a real problem.
>> 
>> Thoughts?
>> 
>> Matt.
>> 
>> 
>> On 10/02/2012, at 12:23 PM, Gordon Ross wrote:
>> 
>>> On Thu, Feb 9, 2012 at 6:33 AM, Matt Connolly
>>>  wrote:
>>>> Dear list,
>>>> 
>>>> I had a power outage at my house recently and my OpenIndiana backup
> server has failed to reboot.
>>> [...]
>>>> Does anyone have any ideas on how to do more diagnostics / repairs??
>>> 
>>> You might try:
>>> zpool import -F $pool
>>> 
>>> ___
>>> 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
>> 
> 
> -- 
> Mark
> ___
> 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] enabling RDP access to an oi_151.1.2 machine, how?

2012-02-23 Thread Matt Connolly
Can you use VNC protocol?

It works well with OI 151a2. I forget the exact steps to set it up. I think it 
started with "google opensolaris xvnc login".

-Matt


On 24/02/2012, at 4:31 AM, Gordon Ross wrote:

> You would need something like: http://www.xrdp.org/
> 
> I'd love to see this functionality move forward, but I'm not sure how
> fast it's moving.
> There are lots of good RDP clients, and RDP is a powerful protocol.
> 
> Gordon
> 
> On Thu, Feb 23, 2012 at 4:03 AM, Hans J. Albertsson
>  wrote:
>> Subject says it all.
>> 
>> ___
>> 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] Install / Partition Help

2012-03-06 Thread Matt Connolly

On 03/03/2012, at 3:15 AM, Mark Wallbank wrote:

> I was thinking mirror for os raidz1 for data; it's a dell pe with 3 sas 
> drives.

This is exactly how I set mine up (minus SAS). I have 3 x 2TB SATA drives set 
up with the same partition map on each drive: a 64GB primary solaris partition, 
and an "other" partition of the remaining part of the disk. The 64GB partitions 
(slices: c2t0d0s0, c2t1d0s0 & c5t0d0s0) are a three way mirror, and the 
remaining part of the 2TB drives (c2t0d0p2, c2t1d0p2 and c5t0d0p2) is in 
Raid-Z. 

I think I actually started out by installing the OS onto a spare 64 GB 
partition, then added the others to the mirror and have since removed the 
original 64GB drive. While this might not answer your installer question, at 
least it's a configuration that can work and installing on another drive may 
provide an alternative for you.

Best,
Matt.

> 
> Sent from my  iPhone
> 
> On 2 Mar 2012, at 16:07, Andrew Gabriel  wrote:
> 
>> Wallbank, Mark wrote:
>>> Hi
>>> I am trying to install openindiana (x86) and would like to customise the 
>>> partitions/slices. I would like to have a solaris2 fdisk for the whole of 
>>> the disk but when it comes to the format partitions I would like to have 
>>> about 10 to 30 Gig at the start of the disk for the os; then setup another 
>>> slice for the data to be shared, however the installer only lets me set one 
>>> value. I have tried setting up the partitions first by hand but there 
>>> doesn't appear to be an option to leave the fs intact and point it at a 
>>> slice (format partition). Hope this makes sense. Any ideas..?
>>> 
>> 
>> I think the installer will use all of the Solaris2 primary fdisk
>> partition for the rpool, without going you any ability to configure that.
>> 
>> What you can do (at least in the Oracle installer, which I suspect will
>> be the same in the OI installer) is to create additional primary fdisk
>> partitions, and these can be used directly for additional zpools, or
>> swap devices, or dump devices, etc. (which you'll have to create after
>> installation). You should not have more than one primary fdisk partition
>> of the same type on a disk, so choose any partition type which Solaris
>> and all other software on the system isn't going to treat specially
>> ("other" is OK, but if you want more than one extra, you may have to
>> pick another one too). When specifying the device nodes, the four
>> primary fdisk partition device names are *p[1-4] (with *p0 being the
>> whole disk irrespective of any partitioning - don't use that by mistake,
>> and don't use the Solaris2 one which has the VToC slices in it (normally
>> *p1)).
>> 
>> There's a separate discussion to be had about how sensible it is (or
>> isn't) to have more than one zpool on a disk, and it certainly defeats
>> some of the aims of ZFS.
>> 
>> --
>> Andrew


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


[OpenIndiana-discuss] Openvpn - service discovery

2012-03-15 Thread Matt Connolly
Dear list,

I've set up OpenVPN on an OpenIndiana machine in our office and can connect to 
it from clients outside. I've successfully set up the routes so that 
connections can be made to any machine on the office lan by its IP address. 
However, I'm having some trouble with service discovery.

I'd like to get multicast dns firstly, since I'm using a mac client, but wins 
would also be good for windows clients.

All the research I've done points to using the "reflector" option in avahi 
multicast dns implementation as used in linux. Is there a similar option for 
OI's multicast dns server? 

Or can the desired result be achieved by bridging the "tap" interface to the 
lan ethernet interface?

Thanks,
Matt


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


[OpenIndiana-discuss] KVM windows virtual machines won't start after oi151a3 update

2012-04-15 Thread Matt Connolly
Last night I updated a machine to oi151a3 from the dev repository at  
http://pkg.openindiana.org/dev .

The update went fine, however my virtual machines running in Qemu-kvm are not 
starting. I'm having problems with both Windows XP and Windows 7 systems. They 
all start booting and then hang early during the boot process.

Has anyone else had any problems with starting windows virtual machines?

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


Re: [OpenIndiana-discuss] KVM windows virtual machines won't start after oi151a3 update

2012-04-16 Thread Matt Connolly


On 16/04/2012, at 8:50 PM, Jonathan Adams  wrote:

> I am having exactly the same issue ... anything that accesses the KVM
> dies with "KVM internal error. Suberror: 1
> emulation failure" over and over and over again (I was nohup'ing and
> the log file grew to 150Mb in a few seconds)
> 
> the system fails when Windows tries to change to the first graphical screen.
> 
> I've beadm'd my system back to the previous oi151a2, and that is working fine.

Glad to hear I'm not alone. My Linux guests are also playing up, but much more 
intermittently. I rolled back the qemu and KVM packages to oi151.1.2 and it's 
all working gain. (I preferred to not rollback some zones that had also been 
updated)

I've filed a bug and noted about going bak to earlier version of qemu here: 

https://www.illumos.org/issues/2626#note-5

Matt


> 
> Jon
> 
> On 16 April 2012 00:49, Matt Connolly  wrote:
>> Last night I updated a machine to oi151a3 from the dev repository at  
>> http://pkg.openindiana.org/dev .
>> 
>> The update went fine, however my virtual machines running in Qemu-kvm are 
>> not starting. I'm having problems with both Windows XP and Windows 7 
>> systems. They all start booting and then hang early during the boot process.
>> 
>> Has anyone else had any problems with starting windows virtual machines?
>> 
>> -Matt
>> ___
>> 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] Ruby on Rails - Passenger and Apache

2012-04-17 Thread Matt Connolly
Hi all,

Not sure how many of you are running ruby on rails apps and hosting
them with Apache and passenger... I was having some troubles getting
the passenger apache module to work. Anyone else?

I did some work on the passenger gem to improve compatibility with
OpenIndiana, and now have my first rails app hosted natively on OI
using Apache and passenger. If anyone's interested, I'd like to know
if it works for you too. My changes are in github at:

git://github.com/mattconnolly/passenger.git

Best,
Matt

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


Re: [OpenIndiana-discuss] pkg: No image found

2012-04-29 Thread Matt Connolly
On 29/04/2012, at 4:34 PM, Achim Wolpers  wrote:

> Hi!
> 
> After updating my global zone to OI_151a3, I also updated my non global zones 
> by executing
> 
> zoneadm zonename detatch
> 
> and 
> 
> zoneadm zonename attach -u
> 
> After that procedure I get the following error on all pkg commands:
> 
> pkg: No image found.
> 
> Thus I can not update / install any packages within my zones anymore. Is this 
> a known issue? How can I fix it?
> 

I got this just the other day too. I didn't find an answer and blew away the 
zone to make a new one, only because I didn't really have anything in it to 
lose. 

I'd like to know the answer too in case it pops up again. 

Matt. 


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


Re: [OpenIndiana-discuss] NEWBIE can't find /usr/sbin/sysconfig

2012-05-03 Thread Matt Connolly
On 03/05/2012, at 11:55 PM, Uwe Reh wrote:
> while migrating from S10 to oi151a3 on new HW, I try to improve my zone 
> management.
> Doing this, I found a interesting line in 
> >http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-118-s11-script-zones-524499.html
>> 
>> We could use the new Oracle Solaris 11 tool for creating system
>> configuration files. That tool is easy to invoke using the following
>> command:
>> 
>> sysconfig create-profile -o sc_profile.xml
> Maybe it's a RTFM, but i can't find any informations on this tool, or an 
> equivalent at oi.
> (/usr/sbin/sys-unconfig seems to be different.)
> 
> Btw.
> - Beside the name does 'nwamadm' (oi151a3) the same as 'netadm' (S11)?
> - I miss man pages for 'sys-unconfig', 'nwamadm' and some others. Is there a 
> PKG, i forgot to install?

I had to install the package "system/manual" at one point. But I see it's 
outdated now:

matt@morpheus:~$ pkg list -a | grep system/manual
system/manual 0.5.11-0.148   --o
system/manual/locale/ca   0.5.11-0.151.1.3   i--
system/manual/locale/ja   0.5.11-0.151.1.3   i--

Is the "system/manual" package no longer being built in new package 
distributions?

-Matt


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


[OpenIndiana-discuss] Openldap SMF broken

2012-05-10 Thread Matt Connolly
Hi,

I'm trying to set up openldap on oi151a4. I've set up the config files
and can run it from the command line, but it took a bit of stuffing
around to get its SMF service to run. Even with the correct config,
the service starts and then fails, presumably because the start method
didn't return within the allowed 30 seconds time frame.

I changed the startup script by putting a '&' at the end of the `exec
$SLAPD` line so that the server ran in the background from the start
script, and now it seems to be working.

Is that the best way to do it?? I thought I remember reading somewhere
that you could configure a SMF service to run a service as a long
running program without requiring it to daemonize/fork. Couldn't find
it though.


-Matt

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


Re: [OpenIndiana-discuss] Openldap SMF broken

2012-05-10 Thread Matt Connolly
On 10/05/2012, at 9:47 PM, Andreas Stenius  wrote:

> Hi,
> 
> Read section "A few twists" from
> http://wiki.openindiana.org/oi/Creating+new+services
> 

Ha, thanks! That's exactly the page I read but couldn't find again!!


> Cheers,
> Andreas
> 
> 2012/5/10 Matt Connolly :
>> Hi,
>> 
>> I'm trying to set up openldap on oi151a4. I've set up the config files
>> and can run it from the command line, but it took a bit of stuffing
>> around to get its SMF service to run. Even with the correct config,
>> the service starts and then fails, presumably because the start method
>> didn't return within the allowed 30 seconds time frame.
>> 
>> I changed the startup script by putting a '&' at the end of the `exec
>> $SLAPD` line so that the server ran in the background from the start
>> script, and now it seems to be working.
>> 
>> Is that the best way to do it?? I thought I remember reading somewhere
>> that you could configure a SMF service to run a service as a long
>> running program without requiring it to daemonize/fork. Couldn't find
>> it though.
>> 
>> 
>> -Matt
>> 

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


Re: [OpenIndiana-discuss] rvm ruby 64 bit

2012-05-17 Thread Matt Connolly
I thought it was already compiling in 64 bit code without any need to do 
anything special. I'll double check later today on my machine. 

Matt. 

On 17/05/2012, at 18:41, Achim Wolpers  wrote:

> Hi!
> 
> I'm trying to install a 64bit version of ruby via rvm. I set 
> 
> rvm_archflags="-m64"
> 
> but the compiler fails. Has anyone managed to get a 64bit ruby running?
> 
> Achim
> 
> ___
> 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] rvm ruby 64 bit

2012-05-19 Thread Matt Connolly
Right you are, it's compiling 32-bit.

I had a look though. Nearly all the processes running on my two 64-bit machines 
are 32-bit processes.

qemu-kvm runs 64 bit native.

That's about it. Do you have a real need for >2GB address space in a ruby 
script / extension?

-Matt


On 18/05/2012, at 9:10 AM, Matt Connolly wrote:

> I thought it was already compiling in 64 bit code without any need to do 
> anything special. I'll double check later today on my machine. 
> 
> Matt. 
> 
> On 17/05/2012, at 18:41, Achim Wolpers  wrote:
> 
>> Hi!
>> 
>> I'm trying to install a 64bit version of ruby via rvm. I set 
>> 
>> rvm_archflags="-m64"
>> 
>> but the compiler fails. Has anyone managed to get a 64bit ruby running?
>> 
>> Achim
>> 
>> ___
>> 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] rvm ruby 64 bit

2012-05-23 Thread Matt Connolly
I'm using gcc 4.6 from safe repository. Is the option -m64 the same in 3.4?

I did rvm "reinstall" because I already had the 32 bit one installed... Perhaps 
try that too?

Here's some output from my machine:

matt@rvm1:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.2/configure --prefix=/usr/gcc/4.6 
--libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib 
--mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info 
--with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/bin/ld --without-gnu-ld --enable-languages=c,c++,fortran,objc 
--enable-shared --disable-static --enable-decimal-float --with-gmp=/usr/gnu 
--with-mpfr=/usr/gnu --with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu 
-enable-nls
Thread model: posix
gcc version 4.6.2 (GCC)
matt@rvm1:~$ isainfo -kv
64-bit amd64 kernel modules
matt@rvm1:~$ uname -a
SunOS rvm1 5.11 oi_151a4 i86pc i386 i86pc Solaris
matt@rvm1:~$ rvm use 1.9.3
Using /export/home/matt/.rvm/gems/ruby-1.9.3-p194
matt@rvm1:~$ file `which ruby`
/export/home/matt/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: ELF 64-bit LSB 
executable AMD64 Version 1, dynamically linked, not stripped
matt@rvm1:~$ rvm version

rvm 1.13.6 (stable) by Wayne E. Seguin , Michal Papis 
 [https://rvm.io/]




Sent from my iPad

On 23/05/2012, at 3:57 AM, Achim Wolpers  wrote:

> 
> Am 21.05.2012 um 15:14 schrieb Matt Connolly:
> 
>> matt@rvm1:~$ CFLAGS=-m64 rvm reinstall 1.9.3
> 
> That was my first thought. But my box builds ruby in 32 bit mode, even though 
> the compiler flag is set to -m64.
> 
> # cc -v
> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
> Configured with: 
> /home/jt/OI-151A-STABLE/151A-PRESTABLE2/newbuilds/sfw/usr/src/cmd/gcc/gcc-3.4.3/configure
>  --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
> --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc 
> --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-20050802)
> 
> # isainfo -kv
> 64-bit amd64 kernel modules
> 
> Achim
> 

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


Re: [OpenIndiana-discuss] intermittent network? (rge device)

2012-06-19 Thread Matt Connolly
I have oi-151a4 running on an Intel D510 (atom) motherboard for a
storage server at home, and it has an rge interface. In the days of
OpenSolaris there were some problems with the driver which sound
similar to your description. I haven't seen those problems since it
was openSolaris-133 i think. Certainly not since OpenIndiana.

My driver shows up in `prtconf -v` as:

dev_path=/pci@0,0/pci8086,27d0@1c/pci8086,d615@0:rge0

I take it the problem is with the motherboard interface (rge0)? Are
there any bios/firmware updates for your machine?

Best,
Matt

On 18 June 2012 06:15, ramble1035 @dslextreme.com
 wrote:
> I've got a small PC with two rge networking interfaces (one on the
> motherboard, one on a separate pcie card).  I'm seeing some
> intermittently flakey behavior, where the network just stops talking.
> Looking at it seems to indicate things are alive and well, and my
> internal LAN switch shows a hardware connection but no activity.
>
> This last episode, I experienced:
> a completely unresponsive local net connection on rge0
> ifconfig showed correct values (possibly left over from when it *was* working)
> ping out got nothing
> ping in got request timeouts and no route to host errors
> the other network interface worked fine
> netstat -r  produced (eventually) a routing table with a correct
> default route, but it took a while.
>
> a reboot produced a "failure to plumb rge0" message on the console
>
> a physical power cycle brought everything up just fine.  It's all
> currently working as expected.
>
> Has anyone experienced intermittent network outages?  Is it possible
> there are some issues with the rge driver?  Are there any things I can
> try to identify an error condition and/or reset the network by hand?
>
> Thanks -
>
> -- C
>
> ___
> 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] EveryCity OpenWebStack for php 5.3

2012-06-27 Thread Matt Connolly
I just came across the EveryCity OpenWebStack repository for SmartOS / Solaris 
10.

http://smartos.pkg.ec/en/index.shtml

Has anyone tried this for OpenIndiana?

In particular I have need for php 5.3 and compiling from source looks quite 
difficult.


-Matt


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


Re: [OpenIndiana-discuss] EveryCity OpenWebStack for php 5.3

2012-07-03 Thread Matt Connolly

On 02/07/2012, at 3:44 AM, Alasdair Lumsden wrote:

> Hi Matt,
> 
> On 27/06/2012 13:12, Matt Connolly wrote:
>> I just came across the EveryCity OpenWebStack repository for SmartOS / 
>> Solaris 10.
>> 
>> http://smartos.pkg.ec/en/index.shtml
>> 
>> Has anyone tried this for OpenIndiana?
>> 
>> In particular I have need for php 5.3 and compiling from source looks quite 
>> difficult.
> 
> Unfortunately it won't work on OI as OpenWebstack is a completely 
> self-contained software tree for use on SmartOS or Solaris 10 (u8 and newer).

Interesting. I tried it and i have mysql 5.5, apache 2.2 and php 5.3 working 
from the /ec/ directory, running in a zone with SMF services controlling them. 
It just worked


How different is OpenIndiana to Smart OS? I thought with a common Illumos core 
they'd be fairly similar and compatible...


-Matt


___
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