Re: [OpenIndiana-discuss] Sata Port Multiplier

2013-05-14 Thread Albert Lee
The only driver that has complete SATA port multiplier support is ahci.

-Albert

On Tue, May 14, 2013 at 6:44 AM, Gary Gendel g...@genashor.com wrote:

 Mark,

 I struggled with a port multiplier in a similar configuration (but older
 chipset) until I finally gave up, bought an 8 port card and bypassed it
 with a lovely sata octopus. :(  I even started hacking at the driver code
 where I found some things that seemed unfinished but was never totally
 successful.  This was back around build 121 so things may be better now.  I
 doubt it because there wasn't much interest in getting this feature
 working.  Sorry I can't give you the magical incantation to get things
 going.

 Gary


 On 05/14/2013 04:07 AM, Mark wrote:

 I have been trying to get the si3124 driver working with port multipliers
 using the si3826 chipset.
 The driver source suggests port multipliers are supported.

 The card's are seen, driver loads, but no disks.

 The controller ports with multipliers connected show as failed.

 The server is the Backblaze Pod 3.0 system using Syba PCI Express SATA II
 4-Port RAID Controller Card SY-PEX40008 and AC-SAN-5PMBP 5 Bay Port
 Multiplier Backplane (Sil 3826 Chipset).

 No issues when I tried running Nas4Free, but FreeBSD doesn't support the
 application I want to use for the storage.


 I did try turning on debugging, but as a beginner at driver debugging I'm
 not sure I achived the desired result and got no useful info from it.

 Anyone have experience with Sata Port Multipliers and can share a few
 pointers ?

 Mark.

 __**_
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@**openindiana.orgOpenIndiana-discuss@openindiana.org
 http://openindiana.org/**mailman/listinfo/openindiana-**discusshttp://openindiana.org/mailman/listinfo/openindiana-discuss



 __**_
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@**openindiana.orgOpenIndiana-discuss@openindiana.org
 http://openindiana.org/**mailman/listinfo/openindiana-**discusshttp://openindiana.org/mailman/listinfo/openindiana-discuss

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


Re: [OpenIndiana-discuss] 2.88Mb floppy image file.

2013-05-01 Thread Albert Lee
On Wed, May 1, 2013 at 12:17 PM, Jonathan Adams t12nsloo...@gmail.comwrote:

 Hi ... I was recently trying to create a 2.88Mb floppy file to try and BIOS
 upgrade a Dell computer that wouldn't boot anything graphical.

 I know I'm probably going about this wrong, but I cannot seem to use
 fdformat, or mkfs -F pcfs on a file, in order to burn the file to a cdrom
 ...

 jadams@jadlaptop:~$ dd if=/dev/zero of=/tmp/test.ima bs=1024 count=2880
 2880+0 records in
 2880+0 records out
 jadams@jadlaptop:~$ pfexec lofiadm -a /tmp/test.ima
 /dev/lofi/1
 jadams@jadlaptop:~$ pfexec mkfs -F pcfs -o
 fat=12,nofdisk,ntrack=160,nsect=36,fat=12,b=test-disk,size=2880k,v -o
 fat=12 /dev/rlofi/1
 Opening destination device/file.
 Requested offset: Sector 0.
 Requested size is too small for FAT16.


(strange since I'm sure I told it do do fat12 ...)



size=2880k is 2880k 512-byte sectors or 1.5G, far too large for FAT12. You
meant size=5760. 2.88 MB floppies still only have 80 tracks per side,
just twice as many sectors per track.
[trisk@monolith]% mkfile 2880k test.img  pfexec lofiadm -a test.img
/dev/lofi/1
[trisk@monolith]% pfexec mkfs -F pcfs -o
fat=12,ntrack=80,size=5760,spc=2,nofdisk /dev/rlofi/1
Construct a new FAT file system on /dev/rlofi/1: (y/n)? y


 jadams@jadlaptop:~$ pfexec fdformat -E -t dos -b test-disk -f
 /dev/rlofi/1
 fdformat: DKIOCGAPART failed, Inappropriate ioctl for device

 I'm aware that what I'm doing seems foolish, I just wanted a big enough
 space to copy the dell BIOS and some RAMDISK drivers+config.sys to it.

 I'm just baffled by how I would even do this on Solaris, or Illumos to a
 file.

 I managed to get it to work on a 1.44Mb floppy from someone else's site
 because they had smaller drivers for RAMDISK operation and I didn't care
 what the screen or keyboard worked like ... but I only had a couple of K to
 spare.

 It didn't fix the issue, turns out someone had just been into the BIOS and
 changed the hard-drive settings to AHCI (which XP SP2 wouldn't see).
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss




-- 
Albert Lee tr...@nexenta.com
Nexenta Systems, Inc. | www.nexenta.com
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] 2.88Mb floppy image file.

2013-05-01 Thread Albert Lee
On Wed, May 1, 2013 at 2:53 PM, Albert Lee tr...@nexenta.com wrote:

 On Wed, May 1, 2013 at 12:17 PM, Jonathan Adams t12nsloo...@gmail.comwrote:

 Hi ... I was recently trying to create a 2.88Mb floppy file to try and
 BIOS
 upgrade a Dell computer that wouldn't boot anything graphical.

 I know I'm probably going about this wrong, but I cannot seem to use
 fdformat, or mkfs -F pcfs on a file, in order to burn the file to a cdrom
 ...



BTW, don't use CD or other physical media. If you have a working GRUB or
other bootloader, use memdisk to boot the the images directly:
http://www.syslinux.org/wiki/index.php/MEMDISK#GRUB_and_GRUB4DOS

-Albert



 jadams@jadlaptop:~$ dd if=/dev/zero of=/tmp/test.ima bs=1024 count=2880
 2880+0 records in
 2880+0 records out
 jadams@jadlaptop:~$ pfexec lofiadm -a /tmp/test.ima
 /dev/lofi/1
 jadams@jadlaptop:~$ pfexec mkfs -F pcfs -o
 fat=12,nofdisk,ntrack=160,nsect=36,fat=12,b=test-disk,size=2880k,v -o
 fat=12 /dev/rlofi/1
 Opening destination device/file.
 Requested offset: Sector 0.
 Requested size is too small for FAT16.


 (strange since I'm sure I told it do do fat12 ...)



 size=2880k is 2880k 512-byte sectors or 1.5G, far too large for FAT12. You
 meant size=5760. 2.88 MB floppies still only have 80 tracks per side,
 just twice as many sectors per track.
 [trisk@monolith]% mkfile 2880k test.img  pfexec lofiadm -a test.img
 /dev/lofi/1
 [trisk@monolith]% pfexec mkfs -F pcfs -o
 fat=12,ntrack=80,size=5760,spc=2,nofdisk /dev/rlofi/1
 Construct a new FAT file system on /dev/rlofi/1: (y/n)? y


 jadams@jadlaptop:~$ pfexec fdformat -E -t dos -b test-disk -f
 /dev/rlofi/1
 fdformat: DKIOCGAPART failed, Inappropriate ioctl for device

 I'm aware that what I'm doing seems foolish, I just wanted a big enough
 space to copy the dell BIOS and some RAMDISK drivers+config.sys to it.

 I'm just baffled by how I would even do this on Solaris, or Illumos to a
 file.

 I managed to get it to work on a 1.44Mb floppy from someone else's site
 because they had smaller drivers for RAMDISK operation and I didn't care
 what the screen or keyboard worked like ... but I only had a couple of K
 to
 spare.

 It didn't fix the issue, turns out someone had just been into the BIOS and
 changed the hard-drive settings to AHCI (which XP SP2 wouldn't see).
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss




 --
 Albert Lee tr...@nexenta.com
 Nexenta Systems, Inc. | www.nexenta.com




-- 
Albert Lee tr...@nexenta.com
Nexenta Systems, Inc. | www.nexenta.com
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] KVM and Xen support in OpenIndiana

2012-10-16 Thread Albert Lee
On Mon, Oct 15, 2012 at 4:44 AM, Nikola M minik...@gmail.com wrote:
 Lukas Laukamp wrote:
 Hello all,

 at the moment I am search for alternativ OSes than linux which have
 KVM and Xen support. beside NetBSD and Illumos I also want to look at
 OpenIndiana.

 For KVM I found a port at github which semm to work but is in a
 testing/development state.

 For Xen I couldn't find that much so for me it's not clear if there is
 Dom0 support in OpenIndiana or whether there are plans to implement
 Dom0 support.

 When someone know more about that themes it would be great to get a
 reply with more information.
 Hi to All new to Solaris and Illumos based, Openiniana :)
 I hope you will find many benefits in using Solaris / Illumos based
 systems but you
 _really get to know what you will get with it's benefits_ and where it
 shines comparing to other platforms.
 If you know it, I hope choosing it would be more easy, primary from
 Sysadmin perspective
 that wants to have a life more easy and safer in a sense of doing your
 work like you expect.
 List of Illumos distributions:
 http://wiki.illumos.org/display/illumos/Distributions

 Those benefits include open source engineered Kernel with ZFS on the
 upstream, Light virtualization with Zones, network virtualization with
 crossbow, KVM integration, DTrace for live server debugging, better
 hardware scalability, binary compatibility of applications between
 releases, stable driver ABI, boot environments/snapshots,IP2
 mutipathing/Load balancing, role based access control, etc.

 Openindiana is Illumos based distribution, with IPS packaging as
 continuation of Opensolaris and is made of mostly same user space
 packages as Solaris11, plus OI additional IPS publishers/repositories.
 It is available both in text-only install (server) and with Desktop, as
 the truly Opensolaris continuation.

 http://wiki.openindiana.org/oi/1.+Introduction
 https://hg.openindiana.org/
 http://wiki.openindiana.org/oi/Package+Repositories

 KVM for Illumos is made for SmartOS (Joyent company made it for a cloud)
 and is now available in Openindiana.
 Officially, KVM for Illumos supports Intel CPU's with EPT instruction set.

 http://wiki.openindiana.org/oi/KVM

 Illumos KVM is used in production in Joyent for large scale
 virtualization for real-world customers and is available in Openindiana.
 Version for AMD CPUs and Intel without EPT is in development and need
 community backing.

 http://wiki.smartos.org/display/DOC/Hardware+Requirements#HardwareRequirements-KVMRequirements
 https://github.com/jclulow/illumos-kvm/

 Illumos distributions and Openindiana support running as domU .
 Xen (dom0) support was available in Opensolaris 2009.06 till Opensolaris
 snv_134 , but
 aether Oracle ditched it from source before renamed it to it's closed
 source product on Solaris11,
 and Illumos does not have it in the code tree, because it was removed
 from OS/Net before Oracle forked it to closed source and Illumos
 established itself.

That is incorrect. Xen dom0 support is still in illumos, and OI still
ships a (semi-) working Xen dom0 implementation.

-Albert

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


Re: [OpenIndiana-discuss] How to create a bootable USB stick on OI?

2012-08-19 Thread Albert Lee
On Fri, Aug 17, 2012 at 1:37 PM, Gary Mills gary_mi...@fastmail.fm wrote:
 Has anybody figured out how to do this?  I need to update the BIOS on
 a system with a Tyan motherboard.  Tyan support sent me an EXE file
 and a BAT file along with the BIOS image as a ROM file.


If you have GRUB booting on this system already, you don't need a USB
stick. Take a FreeDOS floppy or disk image [1] and memdisk from
SYSLINUX [2].

cp memdisk /boot
cp whatever.img /boot/freedos.img
mount -F pcfs -o loop /boot/freedos.img /mnt
cp files /mnt
umount /mnt

Append to menu.lst (for a pool named rpool):
title Firmware Update
findroot (pool_rpool,0,a)
kernel /boot/memdisk
module /boot/freedos.img

For the 10M disk image, substitute 'kernel /boot/memdisk harddisk c=19
h=16 s=63'

[1] http://www.fdos.org/bootdisks/ has 2.88M image and a 10M disk image.
[2] http://www.kernel.org/pub/linux/utils/boot/syslinux/ includes
precompiled binaries

-Albert

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


Re: [OpenIndiana-discuss] Some help with ipadm

2012-07-14 Thread Albert Lee
On Thu, Jul 12, 2012 at 11:16 AM, Gary Gendel g...@genashor.com wrote:
 I had things configured originally via ifconfig and then unplumbed the
 interface and recreated it using ipadm but after a reboot, things went weird
 on me.  I figure that it's some remnant left over from my original manual
 configuration after disabling nwam years ago.

 I created two persistent interfaces using ipadm:
 bge0/v4
 bge0/v6

 what I ended up after reboot was:

 # ipadm show-addr
 ADDROBJ   TYPE STATEADDR
 lo0/v4static   ok   127.0.0.1/8
 lo0/_astatic   ok   127.0.0.2/32
 bge0/?dhcp ok   98.221.143.25/21
 lo0/v6static   ok   ::1/128
 bge0/v4dhcp disabled ?
 bge0/v6   addrconf disabled ::

 Why did it create bge0/? and why are the persistent addresses I created
 disabled? Also, ipadm delete-addr bge0/v6 says that the object doesn't exist
 if that helps.

 I've resorted to removing them manually from ipadm.conf, unplumbing the bge0
 interface and then recreated them using ipadm again and I'm back to where I
 should be:

 # ipadm show-addr
 ADDROBJ   TYPE STATEADDR
 lo0/v4static   ok   0.0.0.6/8
 lo0/_astatic   ok   127.0.0.2/32
 bge0/v4   dhcp ok   98.221.143.25/21
 lo0/v6static   ok   ::1/128
 bge0/v6   addrconf ok   fe80::209:3dff:fe13:3a3/10
 bge0/v6   addrconf ok 2001:558:6026:8c:44f2:de61:c396:e2f8/128

 Any advice would be appreciated.

 Thanks,
 Gary


Do you still have old hostname or dhcp files in /etc?

-Albert

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


Re: [OpenIndiana-discuss] MPT SGL mem alloc failed

2012-07-12 Thread Albert Lee
On Thu, Jul 12, 2012 at 5:41 PM, Timothy Coalson tsc...@mst.edu wrote:
 After rebooting to oi_151a4, and scrub, clear, scrub, the pool says
 that it is completely healthy, no data errors, no device errors, no
 repaired bytes (on the second scrub that is, on the first scrub there
 were enough checksum errors for it to report all of the devices in one
 vdev as degraded).  Additionally, no mpt_sas errors in
 /var/adm/messages.  Created bug #2994 for it:
 https://www.illumos.org/issues/2994

 Not sure if newer firmware on the HBAs would help, but I will wait for
 someone to pick up the bug before trying anything.

 Tim


The DMA alloc failure appears to be caused by improperly constrained
kernel memory usage. Probably unrelated to the driver in question, but
could be related to recent ZFS changes. Perhaps ::memstat prior to the
import and scrub of the pool in question may show something
significant.

-Albert

 On Mon, Jul 9, 2012 at 5:29 PM, Timothy Coalson tsc...@mst.edu wrote:
 Well, I don't have the same symptoms as him, his swap was almost entirely 
 used:

 tim@myelin2:/var/adm$ swap -lh
 swapfile devswaplo   blocks free
 /dev/zvol/dsk/rpool/swap 96,24K  12G  12G

 Though I am not logged into a desktop (it is sitting at the gdm
 greeter).  This machine also doesn't have nvidia graphics, so can't
 compare there, either.

 Tim

 On Mon, Jul 9, 2012 at 5:09 PM, Bill Sommerfeld sommerf...@alum.mit.edu 
 wrote:
 On 07/09/12 13:17, Timothy Coalson wrote:
 I upgraded a machine to oi_151a5 from oi_151a4 last week, and when its
 weekly scrub rolled around, /var/adm/messages gathered a lot of these,
 in groups of dozens at a time:

 Jul  7 01:15:21 myelin2 scsi: [ID 107833 kern.warning] WARNING: 
 /pci@0,0/pci8086
 ,340a@3/pci1000,30c0@0 (mpt_sas0):
 Jul  7 01:15:21 myelin2 Unable to allocate dma memory for extra 
 SGL.
 Jul  7 01:15:21 myelin2 scsi: [ID 107833 kern.warning] WARNING: 
 /pci@0,0/pci8086
 ,340a@3/pci1000,30c0@0 (mpt_sas0):
 Jul  7 01:15:21 myelin2 MPT SGL mem alloc failed

 so this may be completely unrelated but over on on oi-dev, someone recently
 reported a different driver-related kernel memory allocation issue with the
 nvidia driver with oi151a5 which he did not see with oi151a3 / 0.151.1.4

 See http://openindiana.org/pipermail/oi-dev/2012-July/001541.html

 Coincidence?  Another manifestation of the same underlying bug?



 ___
 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] Symbolic links broken on NFS clients

2012-04-09 Thread Albert Lee
On Mon, Apr 9, 2012 at 10:41 AM, Martyn Klassen mklas...@imaging.robarts.ca
 wrote:

 I have a OI 151a2 server sharing numerous filesystems via NFSv4 to CentOS
 5/6 clients, and symbolic links are broken on the clients. I get IO errors
 trying to read the symbolic links on the clients. However, I can destroy
 and create a symbolic link on the client and it will work for the one
 client until the NFS share is unmount and remounted, then the symbolic link
 is broken again. Curiously, not all symbolic links are broken, only
 approximately 99% of them. It does not seem to be related to size,
 destination, or location of the symbolic link. I have also tried NFSv3 with
 the same results. The links are always fine on the OI server. Any
 suggestion on what might be causing this would be appreciated.

 The nfs server settings are

 $ sharectl get nfs
 servers=16
 lockd_listen_backlog=32
 lockd_servers=20
 lockd_retransmit_timeout=5
 grace_period=90
 server_versmin=2
 server_versmax=4
 client_versmin=3
 client_versmax=3
 server_delegation=on
 nfsmapid_domain=
 max_connections=-1
 protocol=ALL
 listen_backlog=32
 device=

 The shares are created from ZFS filesystems using sharenfs set to

 ro=@
 10.0.0.0/8,rw=@10.2.40.0/24:@10.2.20.0/24:@10.2.150.0/24:@10.1.40.0/24:@10.1.20.0/24:@10.1.150.0/24,root=@10.2.40.0/24:@10.2.20.0/24:@10.2.150.0/24:@10.1.40.0/24:@10.1.20.0/24:@10.1.150.0/24

 Because the filesystems will also be shared via CIFS they were created
 with casesensitivity=mixed and nbmand=on as the Solaris documents suggests
 for CIFS shared filesystems.

 Martyn


A snoop trace showing the readdir and open attempts may be useful here. (Do
a full 'snoop -o blah.out host client' and follow connections in
Wireshark or similar tool).

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


Re: [OpenIndiana-discuss] Dell R510 SAS2 Backplane with SAS2008 (PERC H200)

2012-04-08 Thread Albert Lee
On Sun, Apr 8, 2012 at 12:21 AM, Mark mark0...@gmail.com wrote:

 On 8/04/2012 3:26 p.m., Sergei wrote:

 Richrercolaat  acm.jhu.edu  writes:


 ...what FW modifications did they make?

 - Rich




 They definitely made some as you can't flash Dell drive with Seagate/WD
 firmware. Or get support from Seagate/WD for Dell-branded drive.

  That is specific to the firmware protection settings, and is standard
 for most OEM'd drives.
 You probably can flash a Seagate with Dell firmware though.


  Specifically in this case drive reports support for this power management
 command but fails to respond correctly when Solaris sends such command.
 I'm
 pretty sure I was told that Seagate OEM drive works fine while we were
 having
 these power issues with identical drive purchased from Dell.



This issue has previously been reported with Dell firmware. The workaround
stated at
https://www.illumos.org/issues/2091 is correct.

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


Re: [OpenIndiana-discuss] How to switch to text login screen

2012-03-08 Thread Albert Lee
On Thu, Mar 8, 2012 at 4:40 PM, David Brodbeck bro...@uw.edu wrote:

 On Thu, Mar 8, 2012 at 12:01 PM, CJ Keist cj.ke...@colostate.edu wrote:

  Hopefully a simply question, but google hasn't found anything.
 
  From the graphical login screen, what is the key sequence to switch to a
  text login?
 

 There isn't one.  You have to disable the gdm service.  OpenIndiana doesn't
 have much in the way of local console support; I think the idea is you'll
 primarily be managing it remotely.

 --
 David Brodbeck
 System Administrator, Linguistics
 University of Washington


You can enable virtual consoles, at which point the X server VT switch
sequences (i.e. (Ctrl-Alt-Fn) should work.
https://blogs.oracle.com/DanX/entry/solaris_virtual_consoles

This is a convenience feature. Remotely accessible consoles (ssh and serial
over LOM/IPMI/AMT etc. for the system console) are generally recommended.

-Albert
___
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-07 Thread Albert Lee
On Wed, Oct 5, 2011 at 7:02 PM, Stefano Del Corno
stefano.delco...@gmail.com 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

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


Re: [OpenIndiana-discuss] use zfs_nocacheflush

2011-10-07 Thread Albert Lee
On Thu, Oct 6, 2011 at 5:45 AM, Gabriele Bulfon gbul...@sonicle.com wrote:
 Hi,
 NFS on zfs can be quite a pain with large number of small files.
 After playing around it, I discovered this zfs_nocacheflush flag bringing me 
 back to high
 performances on NFS.
 Questions:
 - How much unsafe is this?

This is completely unsafe and can easily lead to data loss unless you
have a battery-backed cache. This setting determines whether the cache
is flushed to complete transactions. NFS operations are synchronous.
Use a log device if you want fast synchronous performance, or a mount
option on the client to make operations async (if you don't mind
losing recent NFS writes in the event of a crash). Disabling atimes
may also help.

-Albert

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


Re: [OpenIndiana-discuss] Announcing OpenIndiana Build 151a

2011-09-14 Thread Albert Lee
That bug (if it still exists) can only possibly occur on an upgrade
from a much older system, and deleting the service and reimporting the
manifest will correct the problem.

-Albert

On Wed, Sep 14, 2011 at 11:09 AM, Daniel Kjar dk...@elmira.edu wrote:
 Ouch,  I see the bug is rather unattended at this point.  Any idea on when
 it will be fixed and if the 'fixes' for 148 will fix this in 151?

 On 09/14/11 11:07 AM, Ron Parker wrote:

 On Wed, Sep 14, 2011 at 7:58 AM, Daniel Kjardk...@elmira.edu  wrote:

 I see a known bug as 'time slider does not work'?  Is this still the case
 and if I update will my automatic backups through zfs stop?

 Thanks for this Daniel. It answered a question I posted last week. I
 hadn't found it in the issues list, but it's there at
 https://www.illumos.org/issues/1179.

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

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

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




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


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


[OpenIndiana-discuss] Announcing OpenIndiana Build 151a

2011-09-13 Thread Albert Lee
The wait is over.

Today, the OpenIndiana project is pleased to announce the next
development release of the open source, enterprise operating system.
OpenIndiana build 151a is now available for 32- and 64-bit x86
systems. We hope you're as excited as we are for the first complete
platform for servers and desktops that offers the full power of the
virtualisation, observability, management, networking, and storage
technologies from the illumos project.

Download it today:
http://openindiana.org/download

Head over to the release notes for the full details:
http://wiki.openindiana.org/oi/oi_151a+Release+Notes

This milestone also marks the one-year anniversary of our first
release. Look for our first stable release in the near future!

Congratulations to all involved, and thanks to everyone in the illumos
community for your support!
-Albert

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


Re: [OpenIndiana-discuss] OpenIndiana (or others) and Dell E6320 - Sandybridge

2011-08-22 Thread Albert Lee
On Mon, Aug 22, 2011 at 9:28 AM, ken mays maybird1...@yahoo.com wrote:
 Tomas,

 1. update -a -i pciex8086,1502 e1000g | update -a -i pci8086,1502 e1000g 
 (1)

Not supported yet. https://www.illumos.org/issues/832

 2. The iwl driver supports this, not in oi_151 by default.

There is no iwl driver.

 3. N/A - fixes provided upstream
 4. Use Nvidia GPU video card and Nvidia closed driver as workaround.

 Note:
 1. Check performance.

 ~ Ken Mays


 --- On Mon, 8/22/11, Tomas Bodzar tomas.bod...@gmail.com wrote:

 From: Tomas Bodzar tomas.bod...@gmail.com
 Subject: Re: [OpenIndiana-discuss] OpenIndiana (or others) and Dell E6320 - 
 Sandybridge
 To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
 Date: Monday, August 22, 2011, 6:45 AM

 On Mon, Aug 22, 2011 at 12:31 PM, Michael Schuster
 michaelspriv...@gmail.com wrote:
 Thomas,

 FWIW, there should be a device detection/identification tool (or
 similar - haven't used it in a while) on the live CD that creates a
 report about all the devices it finds and what it thinks about them
 (ie are there drivers ...). IIRC, there is (was?) also a version that
 can run Windows that you can download somewhere from the Oracle pages.

 Don't have Windows (never at home and at work lastly before 6 years or
 so :-)). Anyway I know about that tool. I reported a lot of machines
 with that to HCL of Sun/Oracle and oi too. Was doing quick test so it
 was without saving anywhere - my fault. Will repair that soon.


 HTH
 Michael

 On Mon, Aug 22, 2011 at 12:22, Tomas Bodzar tomas.bod...@gmail.com wrote:
 Hi all,

 I was trying oi-148 and oi-151 Live CD/DVD and was running fine on my
 laptop except of 4 things (I will post identification from OpenBSD for
 obvious reasons). Point number one is probably biggest issue (number
 two not so much, 3 don't sure and 4 I can live with that as it's
 simply just too much new HW). Do you know if there are some plans or
 progress in support of new Sandybridge devices? Will be there official
 oi-151 soon or some higher version (can't see info in Wiki about that?

 Thanks a lot

 1) LAN card is not detected/doesn't have driver

 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
 xx:xx:xx:xx:xx:xx
 $ sudo pcidump -v 0:25:0
  0:25:0: Intel 82579LM
        0x: Vendor ID: 8086 Product ID: 1502
        0x0004: Command: 0007 Status ID: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 04
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 
 00
        0x0010: BAR mem 32bit addr: 0xe2e0/0x0002
        0x0014: BAR mem 32bit addr: 0xe2e8/0x1000
        0x0018: BAR io addr: 0x4080/0x0020
        0x001c: BAR empty ()
        0x0020: BAR empty ()
        0x0024: BAR empty ()
        0x0028: Cardbus CIS: 
        0x002c: Subsystem Vendor ID: 1028 Product ID: 0492
        0x0030: Expansion ROM Base Address: 
        0x0038: 
        0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 00 Max Lat: 00
        0x00c8: Capability 0x01: Power Management
        0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
        0x00e0: Capability 0x13: PCI Advanced Features
 $

 2) WiFi (which is not working in OpenBSD either - it's not in DB of
 devices yet, in fact it's 6205 card)

 iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6005 rev
 0x34: msi, MIMO 2T2R, MoW, address XX:XX:XX:XX:XX:XX
 $ sudo pcidump -v 2:0:0
  2:0:0: Intel Centrino Advanced-N 6005
        0x: Vendor ID: 8086 Product ID: 0082
        0x0004: Command: 0006 Status ID: 0010
        0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 34
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 
 10
        0x0010: BAR mem 64bit addr: 0xe2d0/0x2000
        0x0018: BAR empty ()
        0x001c: BAR empty ()
        0x0020: BAR empty ()
        0x0024: BAR empty ()
        0x0028: Cardbus CIS: 
        0x002c: Subsystem Vendor ID: 8086 Product ID: 1321
        0x0030: Expansion ROM Base Address: 
        0x0038: 
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
        0x00c8: Capability 0x01: Power Management
        0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
        0x00e0: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
 $

 3) One of the parts (not sure if MEI or KT) was without driver
 $ sudo pcidump
 Domain /dev/pci0:
  0:0:0: Intel Core 2G Host
  0:2:0: Intel GT2+ Video
  0:22:0: Intel 6 Series MEI
  0:22:3: Intel 6 Series KT
  0:25:0: Intel 82579LM
  0:26:0: Intel 6 Series USB
  0:27:0: Intel 6 Series HD Audio
  0:28:0: Intel 6 Series PCIE
  0:28:1: Intel 6 Series PCIE
  0:28:2: Intel 6 Series PCIE
  0:28:3: Intel 6 Series PCIE
  0:28:5: Intel 6 Series PCIE
  0:29:0: Intel 6 Series USB
  0:31:0: Intel QM67 LPC
  0:31:2: Intel 6 Series AHCI
  0:31:3: Intel 6 Series 

Re: [OpenIndiana-discuss] Compiling tun driver for OpenVPN

2011-06-22 Thread Albert Lee
Use SFEtun from spec-files-extra. There are experimental binaries in
the repo linked from
http://wiki.openindiana.org/oi/Popular+Software

-Albert

On Wed, Jun 22, 2011 at 9:53 PM, Russ Price rjp_...@fubegra.net wrote:
 Hi,

 I'm trying to compile the tun driver so that I can move OpenVPN from a Linux
 system to my OI box. However, I'm not having much luck.

 In order to get it to compile and link without errors, once I ran the
 configure script I had to change solaris/Makefile, as follows:

 * added -m64 to the CFLAGS variable
 * added -melf_x86_64 to the ld options

 I also changed DRV_DIR to /usr/kernel/drv/amd64 for good measure. Well,
 after compiling it, I tried to install it, and got:

 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7dab2ca does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7dab2e8 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xc047a560 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xc047a560 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xc047a560 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7dab2d9 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7dab2c6 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7dab330 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xc047a900 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xc047a900 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7daa3e0 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 370954 kern.notice] symbol :
 Jun 22 20:44:20 castle genunix: [ID 780480 kern.notice] value
 0xf7daa7e0 does not fit
 Jun 22 20:44:20 castle genunix: [ID 286029 kern.notice] relocation error:
 R_AMD64_32:
 Jun 22 20:44:20 castle genunix: [ID 720415 kern.notice] file
 /usr/kernel/drv/amd64/tun:
 Jun 22 20:44:20 castle genunix: [ID 

Re: [OpenIndiana-discuss] [illumos-Discuss] branding for illumos/openindiana

2011-06-20 Thread Albert Lee
On Mon, Jun 20, 2011 at 7:53 PM, Blake blake.ir...@gmail.com wrote:
 Does anyone besides me feel that we need a more unified naming/branding
 approach for the community-driven descendants of OpenSolaris? I feel that
 the there is no obvious connection (for those new to the platform) between
 Illumos/OpenIndiana, which I think is counterproductive given that
 OpenIndiana is sort of the 'Fedora Core' of Illumos.
 Some possible names:
 Illumos Live
 Illumos Core
 Illumos [version_number] - [adjective] [animal]




 (kidding about the last one)

 I think OpenIndiana is great, I just don't think that the name 'Indiana'
 means anything to anyone and isn't very memorable.


I completely agree with that. The name is awkward as an adjective attached to a
piece of jargon, which predates illumos and made more sense when
the OpenSolaris distribution was still around.

However, I don't understand your 'Fedora Core' of Illumos analogy in
the context of the relationship between illumos and OpenIndiana.
OpenIndiana is a distribution of illumos similar to how Fedora is a
GNU/Linux distribution.

It is one of several distributions based on illumos, and its main
distinction is that it's the primary developer platform. Also,
illumos Live is already taken by Joyent's mini-distribution:
https://github.com/joyent/illumos-live

While there's already some degree of brand recognition for the
OpenIndiana name, a name that is easier to build associations with
(and isn't a mouthful) will definitely blow it away.

This has been brought up on multiple occasions but devolved into
bikeshedding, so perhaps we need a better approach.

-Albert

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


Re: [OpenIndiana-discuss] GUI: Mouse pointer

2011-06-09 Thread Albert Lee
On Thu, Jun 9, 2011 at 3:36 PM, Dmitry Kozhinov d...@desktopfay.com wrote:
 In OI 151 the DMZ-White mouse pointer is selected by default in Nimbus
 theme, but looks like the corresponding file is absent - black default
 pointer is actually used. Should I report a bug at bugs.openindiana.org?


Yes, the nimbus theme package is supposed to depend on it; there was a
hack done to fix this in 148 iirc, so the dependency is probably still
just missing in 151.

 BTW the
 http://www.gnome-look.org/CONTENT/content-files/70481-Neutral_Plus_Inv.tar.gz
 pointer is very nice, may it be included into distribution?


I think it used to be included, but was removed?

-Albert

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


Re: [OpenIndiana-discuss] GUI: Services menu command

2011-06-09 Thread Albert Lee
On Thu, Jun 9, 2011 at 2:27 PM, Dmitry G. Kozhinov d...@desktopfay.com wrote:
 Hi all,

 Is it possible to bring back the System | Administration | Services GNOME
 menu command, pointing to usr/lib/vp-services, which existed in OpenSolaris,
 but absent in OpenIndiana for some reason? BTW I like the simple layout of
 this GUI window in OSol 2009.06 and OI 151 (as opposed to newer layout in
 OSol 134 and Sol11Express).

 I can add this launcher by hand, but I see no reason not having it in OI 151
 by default. When adding the launcher by hand, where can I find an icon for
 it?

 Dmitry.


VPanels is not installed by default, I think you want services-admin,
*not* /usr/lib/vp-services. Look for the previous desktop file and
icon.

-Albert

___
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 Albert Lee
On Wed, May 25, 2011 at 12:09 PM, Ray Arachelian r...@arachelian.com wrote:
 Hi can someone recommend a compatible SATA port multiplier?

 I've got a 4 port SATA PCI (yes plain old 32 bit PCI) RAID controller in
 JBOD mode for the shared data, and two on board SATA connectors for the
 rpool.  I'd like to add a small SSD to speed up some of my pools a bit,
 but have no ports left. :)


Only the ahci driver supports port multipliers to my knowledge.
There's a generic port multiplier specification so the choice of
multiplier should not matter (although mostly Silicon Image chips have
been tested).

-Albert

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


Re: [OpenIndiana-discuss] zpool lost, and no pools available?

2011-05-24 Thread Albert Lee
man zpool /failmode

-Albert

On Tue, May 24, 2011 at 1:20 PM, Roy Sigurd Karlsbakk r...@karlsbakk.net 
wrote:
 Hi all

 I just attended this HTC conference and had a chat with a guy from UiO 
 (university of oslo) about ZFS. He claimed Solaris/OI will die silently if a 
 single pool fails. I have seen similar earlier, then due to a bug in ZFS (two 
 drives lost in a RAIDz2, spares taking over, resilvering and then a third 
 drive lost), and the system is hanging. Not even the rpool seems to be 
 available.

 Can someone please confirm this or tell me if there is a workaround available?

 Vennlige hilsener / Best regards

 roy
 --
 Roy Sigurd Karlsbakk
 (+47) 97542685
 r...@karlsbakk.net
 http://blogg.karlsbakk.net/
 --
 I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det 
 er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av 
 idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og 
 relevante synonymer på norsk.

 ___
 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] Fluendo Codecs

2011-05-20 Thread Albert Lee
On Fri, May 20, 2011 at 1:52 PM,  sy...@lavabit.com wrote:
 I just went to Fluendo's site and it seems they've reworked it... I can't
 see any way to get to the codec downloads. When I log in, however, I get
 the
 My Products page, which still has links to OpenSolaris downloads for
 everything. Did you try that?

 A side note - I use the Fluendo codecs for music, but something about
 GStreamer on Solaris is preventing it from downmixing 5.1 audio to stereo,
 rendering Totem pretty much useless for most of my video playback needs. I
 switched to SFEmplayer2 recently and it's been working flawlessly.


 Created an account and logged in but no joy, I'm guessing Fluendo are only
 making the older codecs available for customers that have purchased them
 prior to the latest update.

 Thanks for the pointer for SFEmplayer2, I would prefer totem w/codecs but
 if mplayer works that's also good to know.


SFEgnome-media-extras covers most of the GStreamer plugins.

-Albert

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


Re: [OpenIndiana-discuss] recommended laptop

2011-05-20 Thread Albert Lee
On Fri, May 20, 2011 at 11:38 AM, Sunay Tripathi
tripathi.su...@gmail.com wrote:
 Ken,

 Thanks. What is the wifi you have on the laptop. If you can check, that
 would be great. The choices they give are:


 Integrated WiFi wireless LAN adapters
   1.      ThinkPad b/g/n
   2.      [$0.00]
      Intel Centrino Wireless-N 1000
   3.      [add $20.00]
      Intel Centrino Advanced-N 6205 (2x2 AGN)
   4.      [add $40.00]
      Intel Centrino Ultimate-N 6300 (3x3 AGN)
   5.      [add $55.00]
      Intel Centrino Advanced-N + WiMAX 6250


The 6205 and 6300 are supported. The 6250 is not (although the driver
work to do so should not be difficult).

-Albert

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


Re: [OpenIndiana-discuss] JMB363 Chipset support in OI_148

2011-05-08 Thread Albert Lee
On Sun, May 8, 2011 at 5:33 AM, Sean O'Brien upintheclo...@gmail.com wrote:
 I have a pci-express card based on JMB363 chipset, because it is listed in
 HCL. The card is recognized by the ahci driver.

 model:  'SATA AHCI 1.0 Interface'
                power-consumption:  0001.0001
                devsel-speed:  
                interrupts:  0001
                subsystem-vendor-id:  197b
                subsystem-id:  2363
                unit-address:  '0'
                class-code:  00010601
                revision-id:  0002
                vendor-id:  197b
                device-id:  2363
                name:  'pci197b,2363'

 The device is seen by cfgadm as well, but an attempt to connect a drive or
 to reset the controller results in the following in /var/adm/messages:

 May  8 01:54:36 fileserv ahci: [ID 860969 kern.warning] WARNING: ahci1:
 ahci_port_reset port 0 the device hardware has been initialized and the
 power-up diagnostics failed
 May  8 01:54:59 fileserv ahci: [ID 860969 kern.warning] WARNING: ahci1:
 ahci_port_reset port 1 the device hardware has been initialized and the
 power-up diagnostics failed


 There are some patches posted for an old version of OpenSolaris to resolve
 issues with the ahci driver and this card.
 http://web.archiveorange.com/archive/v/1sSOwqLUl8mdFzhkydYU

 Would it be possible to apply these patches to the kernel source for oi_148?
 Any assistance or guidance on compiling this would be much appreciated.

Hi Sean,

Thanks for the pointer, unfortunately both of those bugs were fixed in 2008 as:
6645543 relax AHCI checks violated by JMicron JMB363 controller
6648246 AHCI driver looks for its registers wrongly, blocking support
for JMicron JMB363

This is not the first time problems have been mentioned for JMB363
controllers recently, though.

If you're interested in looking into this problem, you should sign up
on the illumos developer mailing list.
http://www.illumos.org/projects/site/wiki/Mailing_Lists
Also, the build instructions are here:
http://www.illumos.org/projects/illumos-gate/wiki/How_To_Build_Illumos

-Albert

___
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-06 Thread Albert Lee
On Fri, May 6, 2011 at 7:29 PM, John Sneddon o...@sneddo.net 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 ).

http://download.oracle.com/docs/cd/E19082-01/820-2429/configureworkgroupmodetask/index.html

 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.


http://blogs.sun.com/afshinsa/entry/how_to_enable_guest_access

 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.


It's in /rpool/boot/grub/menu.lst -- /boot/grub/menu.lst probably
should be a symlink there, but isn't.

-Albert

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


Re: [OpenIndiana-discuss] Recover from user_attr corruption

2011-05-03 Thread Albert Lee
On Tue, May 3, 2011 at 8:01 PM, Jamon Camisso jamonat...@gmail.com wrote:
 On 5/3/2011 7:21 PM, Gary Gendel wrote:
  Hi,

 I installed a package that overwrote my privileges in user_attr.  Now I
 can't pfexec or do anythiing requiring raised privileges (software
 manager, etc.).  The laptop is running the dev_il repository.  How the
 heck to I recover from this?  The only LiveCD I know of uses an earlier
 version of zfs.

 Boot with -m milestone=none as an argument on your kernel line in
 grub. That will get you to a console you can use to recover things.

 Jamon


You should still be able to use sudo, or su if you know the root password.

-Albert

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


Re: [OpenIndiana-discuss] Where is iwl driver?

2011-04-22 Thread Albert Lee
On Fri, Apr 22, 2011 at 9:07 AM, ken mays maybird1...@yahoo.com wrote:
 Hi Ryo,

 http://www.intellinuxwireless.org/


What does that have to do with OpenIndiana?

-Albert

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


Re: [OpenIndiana-discuss] Broadcom GB NIC

2011-04-07 Thread Albert Lee
On Thu, Apr 7, 2011 at 7:51 PM, Butch Whitby jwhit...@gmail.com wrote:
  I've been trying to follow the mailling lists but I've lost track of this
 one.  Are the fixed bge drivers now included in Oi 148 or are they
 available elsewhere?


They're in the current repository, just not the install media, which
means you may still need the workarounds for install (and
post-install, if you only have one NIC to update with).

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

-Albert

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


Re: [OpenIndiana-discuss] Greetings and question

2011-04-05 Thread Albert Lee
On Tue, Apr 5, 2011 at 9:37 AM, Marc Lobelle marc.lobe...@uclouvain.be wrote:
 Good morning all of you,

 I'm new to this list but using various versions of SunOS and Solaris since
 the eighties, the last years mainly solarisx86 and opensolaris on servers,
 desktops and laptops.

 I have let several useful add-ons be developed over the years by my master
 students as master theses, such as camera support, IP over usb, and recently
 wifi authentication with EAP-TTLS and EAP-PEAP.
 Unfortunately the opensolaris version used as starting point for the last
 development is not available anymore.

 Actually, I'm not too happy with the apparent changes of policy of Oracle in
 comparison with what SUN used to do in recent years, so, I'm trying to
 switch to openindiana.

 As a first step, I would like to move to open indiana, my hp mini 5101. I
 tried last WE and first I asked the available tool if the hardware of this
 netbook is supported. The answer was yes except the 3 network interfaces
 (marvel Yucon gigabit interface, broadcom 4322AGN wifi interface and HP
 un2400 3G interface) which would mean that openindiana is completely useless
 on this computer.

 However, on http://wiki.openindiana.org:8080/display/oi/Ethernet+Networking,
 one says the the yge driver supports the Marvel Yucon interface

 on http://wiki.openindiana.org:8080/display/oi/WiFi, I do not see any
 support for the Broadcom interface

 So my questions are:
 1. should yge work with the marvel Yucon88E8072 interface of the 5101
 2. are there drivers nearly ready to be announced for the broadcom 4322AGN
 wifi interface and HP un2400 3G interface ?  and, if not, are there other
 cards that are supported: I assume that these little cards can easily be
 replaced if I remove the keyboard.

 3. When all this wil work, should I try to port the EAPTTLS/EAP PEAP
 developments to openIndiana or is somebopdy else already busy with this.µ


 4. Finally, ih a few weeks I shall have to configure a pair of 12-core
 servers with ARECA RAID controllers ARC-1212. Which solaris-like OS do you
 recommend for this ? Still solaris 10 ?

 Best regards

 Marc


Hi Marc,

OpenIndiana is a distribution, the core OS development takes place in
the illumos project. I have CC'ed the developer list for illumos, and
I would recommend for you to subscribe to it (
https://www.illumos.org/projects/site/wiki/Mailing_Lists ).


For the driver questions:

Of Yukon 2 chips, I believe only the 88E8040, 88E8053/56/58 are
supported right now but it should be very easy to add the 88E8072.

Broadcom wireless is not supported. I suggest buying an Intel or
Atheros mini PCI-e card (they're $5-10 in the US).

HP un2400 is not supported. It needs a firmware blob and a Qualcomm
specific serial driver. Other 3G devices that use the USB CDC standard
are supported, not sure about PCI-e.

We recently updated the Areca arcmsr driver and we're still working on
a larger overhaul so I believe we have the best version of the driver
currently available.



I am extremely excited to hear about your master students' work in EAP
support for wireless and would be happy to help with integration.

There are only a few days left before the deadline, but your current
students are still welcome to apply to Google Summer of Code for
illumos:
http://www.google-melange.com/gsoc/org/google/gsoc2011/illumos

Thanks,

-Albert

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


[OpenIndiana-discuss] 2011 Google Summer of Code for illumos is open!

2011-03-29 Thread Albert Lee
Hi everyone,

The 2011 Google Summer of Code is an exciting opportunity to do
something neat for your favorite open source projects[1] and become
famous. (You get paid by Google for it, too). Student applications are
open from Monday, March 28 to Friday, April 8.

If you have a great project idea, apply at:
http://www.google-melange.com/gsoc/org/show/google/gsoc2011/illumos

Don't forget to check out the ideas page for suggestions:
http://goo.gl/AEPKN

Summer of Code FAQs: http://goo.gl/Up2Qf
Summer of Code Timeline: http://goo.gl/0lYPz

[1] If illumos and OpenIndiana are your favorites. :)

-Albert

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


Re: [OpenIndiana-discuss] Making a Custom Solaris LiveCD

2011-03-13 Thread Albert Lee
On Sun, Mar 13, 2011 at 2:03 PM, Reginald Beardsley pulask...@yahoo.com wrote:
 Can anyone point me to documentation, scripts, Makefile, etc that explains 
 how the OI LiveCD is created?  I've done a lot of searches w/o finding 
 anything other than references to using a LiveCD.


See http://wiki.openindiana.org/oi/Creating+the+Distro and docs on
opensolaris.org for the distro constructor.

-Albert

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


Re: [OpenIndiana-discuss] Tabs no longer expanded when cutting and pasting

2011-03-04 Thread Albert Lee
On Fri, Mar 4, 2011 at 12:28 PM, Gary Mills mi...@cc.umanitoba.ca wrote:
 I noticed this change with respect to Solaris 10 in both Openindiana
 148 and Solaris 11 Express: when I cut text in one gnome-terminal
 window and paste it into another, tabs are no longer expanded to
 spaces.  I suppose this is better behavior because you generally want
 to retain the tabs.  However, it's a problem for me when I'm pasting
 into an emacs editor session within that terminal window.  In that
 case, emacs treats the tabs as an indentation command, the same as if
 I had typed them by hand.  The amount of indentation increases with
 each successive tab.

 The only solution I've found so far is to type:

    M-x global-set-keyRET TAB self-insert-command

 before I paste in the text.  Are there any better solutions?  I know
 that emacs in its own window doesn't have this problem, but there are
 times I need to run it in tty mode.


This is just a specific case of the more general problem of pasting
into an application that is not aware of the X selection/clipboard and
expects interactive input. Vim has :set paste for this - the Emacs
equivalent may be M-x fundamental-mode (or
http://stackoverflow.com/questions/986592/any-emacs-command-like-paste-mode-in-vim
). You'd be better off using an editor with X support.

-Albert

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


Re: [OpenIndiana-discuss] Howto (re)build the ONNV consolidation used oi_148?

2011-03-03 Thread Albert Lee
On Thu, Mar 3, 2011 at 11:06 AM, wessels wessels...@gmail.com wrote:
 Hi,

 I want to patch to kernel for additional console redirection support.
 But I'm having a hard time on finding which repo(s) and tags need to
 be selected to get the sources which were used for the ON
 consolidation as used in the downloadable OpenIndiana 148.

 Building onnv[tip] gives me various errors. So perhaps a different
 repo needs to be selected or perhaps the patches from
 mq_onnv-gate[oi_148] needs to be applied.

The oi_148 tag of mq_onnv-gate corresponds to onnv_148 in onnv-gate.

Newer builds as published on /dev-il are based directly on
illumos-gate tip. If the feature you're adding works correctly and is
a low-risk change, please consider adding it to illumos.


 Any help on setting this up would be much appreciated and would result
 in a new wiki page.

http://wiki.openindiana.org/oi/Building+ONNV currently has some useful
links, but if you'd like to flesh out the procedure it would be much
appreciated.

-Albert

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


Re: [OpenIndiana-discuss] Why is the middle mouse button not working in OI 148?

2011-03-01 Thread Albert Lee
On Tue, Mar 1, 2011 at 7:00 PM, Gary Mills mi...@cc.umanitoba.ca wrote:
 I have a Sun Type 6 USB 3-button mouse connected to an x86 box running
 OI 148.  After the upgrade from Opensolaris 134, the middle mouse
 button stopped working for pasting.  It acts the same as the right
 button now.  I added an entry for this mouse to the OI HCL, but it was
 removed.  Shouldn't the HCL list devices that don't work?

 Does anyone know how to fix this problem?  There's not much in the
 Xorg log regarding the mouse:

    $ grep -i mouse /var/log/Xorg.0.log
    (==) NVIDIA(0): Silken mouse disabled
    (II) config/hal: Adding input device mouse
    (II) LoadModule: mouse
    (II) Loading /usr/lib/xorg/modules/input/amd64/mouse_drv.so
    (II) Module mouse: vendor=X.Org Foundation
    (**) mouse: Protocol: VUID
    (**) mouse: always reports core events
    (II) mouse: Setting Buttons option to 3
    (==) mouse: Emulate3Buttons, Emulate3Timeout: 50
    (**) mouse: ZAxisMapping: buttons 4 and 5
    (**) mouse: Buttons: 9
    (II) XINPUT: Adding extended input device mouse (type: MOUSE)
    (**) mouse: (accel) keeping acceleration scheme 1
    (**) mouse: (accel) acceleration profile 0
    (WW) mouse: couldn't get wheel state

 As far as I know, there's no Xorg.conf file.  It's certainly not in
 the locations given by the man page, although I suspect those are all
 incorrect.


Those locations are correct, but in practice only /etc/X11/xorg.conf
is ever used.
Can you paste the full Xorg.0.log section regarding the mouse, rather
than filtered through grep?

-Albert

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


Re: [OpenIndiana-discuss] Multifunction colour laser printer, for OSOL, OI ?

2011-02-17 Thread Albert Lee
On Wed, Feb 16, 2011 at 7:39 AM, Hans J. Albertsson
hans.j.alberts...@branneriet.se wrote:
 Depends on the quality of the print and scan.

 For my needs, i e any non-critical needs (for the real jobs we have special
 equipment) I settled on an HP CM1312nfi MFP.

 It works with OI, and it even says so in the marketing blurbs. (It says
 solaris, but that's almost as good.)

 I had no problem, I used it in postscript mode only, until I could get my
 head around CUPS.

PostScript (or sometimes PCL, but rarely) is preferred for most
high-end printers (i.e. all colour lasers)... you just need a print
filter with some extra descriptive information. CUPS (and the legacy
Solaris print system if you use the Presto GUI) is point-and-click for
selecting the right one.


 Scanning and fax are NOT supported in OI, as far as I can see!
 I would like to be proven wrong: but xscanimage and xsane just crash.
 It's not duplex, but I think there's a version for that at another 1-200
 dollars.

There's a bug affecting libusb applications that's probably causing
that crash. Any scanner supported by SANE should work. Faxing from
printers tends to need proprietary software. You can use a plain fax
modem, though.

-Albert

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


Re: [OpenIndiana-discuss] help: ssh won't start this morning

2011-01-24 Thread Albert Lee
On Mon, Jan 24, 2011 at 10:54 AM, ann kok oiyan...@yahoo.ca wrote:
 Thank you. I understand it now

 But this might not be good for us when most our systems need remote access

 Now. I know it is nfs issue

The vfstab line you pasted was for a local UFS filesystem, not an NFS
server. It is also strange because slice 2 (reserved for representing
the whole disk) is being used, where normally UFS uses a normal slice
- you might corrupt the Solaris disklabel if you use the whole disk.

For NFS, using autofs will ensure that the system is not dependent on
the server being reachable. /etc/auto_master defines autofs
mountpoints, and the default /net autofs dir allows you to browse NFS
shares as /net/servername/...


 1/ How can I make the box still fine when the mount point is not available?

 2/ How can I start the ssh even any services are in problem? At least I can 
 remote access to do the trouble shooting
 In linux. I can simply add it in rc.local /usr/sbin/sshd


If you really want, you can remove the dependency on filesystem/local
with svccfg, but these services should never fail and you should avoid
doing anything that can cause the them.

-Albert

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


Re: [OpenIndiana-discuss] help: ssh won't start this morning

2011-01-24 Thread Albert Lee
On Mon, Jan 24, 2011 at 1:39 PM, Toomas Soome toomas.so...@mls.ee wrote:

 ufs does not corrupt vtoc. there is an reason the superblock offset is at #32 
 ;)


Thanks for the correction.

-Albert

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


Re: [OpenIndiana-discuss] Hyperthreading causing kernelpanic on oi_148

2011-01-18 Thread Albert Lee
On Tue, Jan 18, 2011 at 11:11 AM, Gertjan Oude Lohuis
gert...@oudelohuis.nl wrote:
 Eventually, disabling HyperThreading in the bios solved everything (except
 for my headache, but that's something else).


 * Is a buggy HT-implementation a known issue with Solaris? I've seen more
 than one panic/crash/bug, caused by hyperthreading.
 * Can I do anything else to debug this, for the good of mankind? I'm in a
 little hurry to get this machine in production, but I'd be happy to run some
 tests or provide more information.
 * Any other thoughts?


HT is implemented in the processor, not the OS, although it affects
the code paths used for CPU power management. It's unusual to find
problems exposed by SMT (HT) but not SMP since resources such as
caches are shared in the SMT case.

Appending the following line to /etc/system and booting again with -k
may give more details about the corruption:
set kmem_flags = 0xf

-Albert

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


Re: [OpenIndiana-discuss] XVM

2011-01-10 Thread Albert Lee
On Mon, Jan 10, 2011 at 11:21 AM, trevor robinson herisson...@yahoo.com wrote:
 Hi,

     anyone any idea where the openindiana IPS xvm packages come from ? and
 from what source repository they are built ?


Hi Trevor,

They were imported as binaries from Solaris 11 Express (151a) as all
of the software included is under open licences.

It is not clear if the current xVM binary builds come from a newer
non-public tree or if the public trees reflect the last update. My
only involvement in xVM for oi_148 is patching one of the libraries
used by xend's Python implementation to depend on libscf.so, so that
suggests these binaries are quite stale as well.

-Albert

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


Re: [OpenIndiana-discuss] Some questions about OpenIndiana

2011-01-02 Thread Albert Lee
On Sat, Jan 1, 2011 at 9:21 PM, Jean-Yves Avenard jyaven...@gmail.com wrote:
 So I ditched it and install OpenIndiana stable 134+ ; after
 navigating through a web page in Russian wanting me to install some
 internet plugins then  staring at the screen for almost 5 hours for
 the download to complete . I finally got it installed.


That's not an OpenIndiana release.


 I tried to compile Samba 3.5.6 myself... Oh boy gcc wouldn't
 install (SUNWgcc package or something like that); broken dependency on
 lint..

That shouldn't be possible with the normal packaging system. Can you
reproduce the steps you used?


 Except that the default svcs config for samba, wouldn't start it
 properly, it seemed to be using paths that did exist in OpenSolaris 10
 (like /usr/sfw/sbin/smbd when it's now nstalled in /usr/sbin). I could
 manually start it by using smbd -D from the command line .
 Only to realise that for some reasons, that version of samba couldn't
 join or samba domain (macos 10.6.5 server). Very weird, as I had no
 problem making my own compiled version of samba 3.5.6 join the domain.
 Not sure how the OI version was compiled  to make it fail join our samba 
 domain


I would appreciate if you could file bugs further describing these problems.

 Then I restarted the box, and I hit that bug:
 http://www.illumos.org/issues/487

 e.g. when I restart, ldap fail to initialise and that box isn't
 accessible anymore. Have to reboot in single-user mode, disable the
 ldap pam module , continue booting, re-enable pam ldap module.


Looking into this issue, it doesn't appear to be straightforward.

-Albert

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


Re: [OpenIndiana-discuss] opensolaris non-global zone to OI 147

2010-12-20 Thread Albert Lee
On Mon, Dec 20, 2010 at 10:53 PM, Anil replic...@gmail.com wrote:
 I am trying to hack this to work, but this is quite annoying.
 I tried doing a image-update on the zone root, after manually mounting it.

 r...@sjc:~# pkg -R /zones/sofa/root image-update
                Packages to remove:    56
               Packages to install:   110
                Packages to update:     3
           Create boot environment:    No
               Services to restart:     2
 DOWNLOAD                                  PKGS       FILES    XFER (MB)
 Completed                              169/169 11648/11648  100.8/100.8

 PHASE                                        ACTIONS
 Removal Phase                              2643/2643
 Install Phase                            18262/18262
 Update Phase                               4292/4292

 PHASE                                          ITEMS
 Package State Update Phase                   172/172
 Package Cache Update Phase                     59/59
 Image State Update Phase                         2/2

 ---
 NOTE: Please review release notes posted at:

 http://docs.sun.com/doc/821-1479
 ---
 That for some reason only updated to build 134, instead of build 147. Why?

 Then, I did zoneadm -z sofa attach -u.

 [Monday, December 20, 2010 07:45:51 PM PST] Attaching...
 [Monday, December 20, 2010 07:45:51 PM PST] existing
 [Monday, December 20, 2010 07:45:51 PM PST]
 [Monday, December 20, 2010 07:45:51 PM PST]   Sanity Check: Passed.
 Looks like an OpenSolaris system.
 [Monday, December 20, 2010 07:45:54 PM PST] preferred global
 publisher: openindiana.org
 [Monday, December 20, 2010 07:45:55 PM PST]        Global zone
 version: ent...@0.5.11,5.11-0.147:20100914T054011Z
 [Monday, December 20, 2010 07:45:55 PM PST]    Non-Global zone
 version: ent...@0.5.11,5.11-0.134.0.2:20100528T233058Z

 [Monday, December 20, 2010 07:45:55 PM PST]
 Cache: Using /var/pkg/download.
 [Monday, December 20, 2010 07:45:55 PM PST]   Updating non-global
 zone: Output follows
 pkg: No solution was found to satisfy constraints
 [Monday, December 20, 2010 07:46:47 PM PST] ERROR: Could not update
 attaching zone
 [Monday, December 20, 2010 07:46:47 PM PST]
 Result: Attach Failed.





 On Mon, Dec 20, 2010 at 5:32 PM, Anil replic...@gmail.com wrote:
 Trying to upgrade OpenSolaris 2009.06 non-global zone to OI 147, using
 detach/attach method.

 r...@sjc:~# pkg publisher
 PUBLISHER                             TYPE     STATUS   URI
 openindiana.org          (preferred)  origin   online
 http://pkg.openindiana.org/dev/
 opensolaris.org          (non-sticky) origin   online
 http://pkg.openindiana.org/legacy/
 r...@sjc:~#



 r...@sr1-sjc:~# zoneadm -z sofa attach -u
 Log File: /var/tmp/sofa.attach_log.YnayVp
 Attaching...

 preferred global publisher: openindiana.org
       Global zone version: ent...@0.5.11,5.11-0.147:20100914T054011Z
   Non-Global zone version: ent...@0.5.11,5.11-0.111:20090518T052643Z

                     Cache: Using /var/pkg/download.
  Updating non-global zone: Output follows
 Creating Plan |
 ERROR: Could not update attaching zone
                    Result: Attach Failed.
 r...@sr1-sjc:~#


 Log file:
 [Monday, December 20, 2010 05:24:31 PM PST] Log File:
 /var/tmp/sofa.attach_log.YnayVp
 [Monday, December 20, 2010 05:24:32 PM PST] Attaching...
 [Monday, December 20, 2010 05:24:32 PM PST] existing
 [Monday, December 20, 2010 05:24:33 PM PST]
 [Monday, December 20, 2010 05:24:33 PM PST]   Sanity Check: Passed.
 Looks like an OpenSolaris system.
 [Monday, December 20, 2010 05:24:36 PM PST] preferred global
 publisher: openindiana.org
 [Monday, December 20, 2010 05:24:37 PM PST]        Global zone
 version: ent...@0.5.11,5.11-0.147:20100914T054011Z
 [Monday, December 20, 2010 05:24:37 PM PST]    Non-Global zone
 version: ent...@0.5.11,5.11-0.111:20090518T052643Z

 [Monday, December 20, 2010 05:24:37 PM PST]
 Cache: Using /var/pkg/download.
 [Monday, December 20, 2010 05:24:37 PM PST]   Updating non-global
 zone: Output follows
 pkg: No solution was found to satisfy constraints
 [Monday, December 20, 2010 05:25:49 PM PST] ERROR: Could not update
 attaching zone
 [Monday, December 20, 2010 05:25:50 PM PST]
 Result: Attach Failed.


 How do I know what pkg's are not meeting the constraints?


Directly updating from 2009.06 is not supported. The publisher
configuration should match the global zone's (opensolaris.org must be
non-sticky), see the
http://wiki.openindiana.org/oi/Installing+or+Upgrading which also has
debugging info.

-Albert

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


Re: [OpenIndiana-discuss] man pages to solaris cmds

2010-12-19 Thread Albert Lee
On Sun, Dec 19, 2010 at 9:46 PM, Harry Putnam rea...@newsguy.com wrote:
 Calum Mackay calum.mac...@cdmnet.org writes:

 hi Harry,

 What is the MANPATH to the solaris cmds that there are also gnu
 versions of.

       man -M /usr/share/man ls

 is what you're after :)

 Assuming your MANPATH is by default:

       /usr/gnu/share/man:/usr/share/man:/usr/X11/share/man

 so you get the GNU man pages first...

 Nice ... thanks


 Mike Gerdts mger...@gmail.com writes:


 [...]

 Calum M wrote:

 so you get the GNU man pages first...

 And if you don't set your MANPATH, it will man will give you the man
 page that is appropriate for your path.  For most users, having
 MANPATH set is more likely to do harm than good.

 Mine isn't set, but I've been able to do man /bin/ls in the past
 .. not sure why not now.

 http://arc.opensolaris.org/caselog/PSARC/2007/688/20071212_mike.gerdts

 I couldn't make heads or tails of that. . sorry.


 Alan Coopersmith alan.coopersm...@oracle.com writes:

 On 12/18/10 05:04 PM, Harry Putnam wrote:
 What is the MANPATH to the solaris cmds that there are also gnu
 versions of.

 /usr/share/man

 /bin/ls  for example

 If I call man /bin/ls

 I get warnings about opening a binary file, and when the man page
 opens there is lots of guff in it like escape sequences.

 Strange - works for me on S11 Express - not sure what OI could have
 done to break it.   (It is a little known feature that man will take
 the command path to find the matching man page - not sure when it was
 added.)

 I've been able to do it from before opensolaris 134... not sure how
 long before, but 133 for sure.

 I may have caused the problem with it myself by setting $LANG.

 I have had a problem reading man pages from the start on oi 148. I
 don't mean `man /bin/ls' but just the normal usage.

  Someone advised me to set LANG=en_US.ISO8859-1.  When I did that, it
 does cure my on-going problem,  but now wondering if when calling
 `man /bin/ls' ... it may act differently with LANG set that way.

 Yup... I just tested that theory out.

 When I do a fresh login (to oi 148) $LANG is en_US.UTF-8.  On that
 setting all man pages have goofy characters like this (from man ls)


  DESCRIPTION
       List  information  about the FILEs (the current directory by
       default).  Sort entries alphabetically if none of  ââctuvSUX
       nor ââsort.

 But I can call `man /bin/ls' and it opens the right page... with no
 warnings about binary, but it does have the guff above in it.

 If I set LANG=en_US.ISO8859-1 then man pages open nice and clean but
 it does cause the warnings about binary files (and fail) if I should
 try `man /bin/ls'  with that setting.

 Another poster here or on openindiana explained it best he could to me
 and seems a mismatch of some sort between my terminal program and
 $LANG setting.  I can correct if I happen to be using putty from
 windows, but logging in from linux or another solaris machine... I'm
 not really sure what terminal program is involved... the TERM setting
 when from linux is `TERM=linux', when from solaris TERM=sun-color.

 But what actual program is running the terminal... I don't know for sure.

The problem is probably not the terminal application itself, but TERM
which tells applications which terminal definition to use to
communicate with it. It's a relic of the days of physical terminals
when every vendor had its own incompatible protocol.

(That said, the standard terminal app is gnome-terminal and has a
Help-About dialog which should be impossible to miss...)

Anyway, I can't reproduce the problem here. What would help is to provide:
The output of 'env', the error you're seeing from 'man /bin/ls' and
the file contents from 'truss -f man /bin/ls 2logfile'.

-Albert

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


Re: [OpenIndiana-discuss] svc:/system/auditset:default Failing When Booting Zone

2010-12-18 Thread Albert Lee
Yes, please make sure you have sun...@0.5.11,5.11-0.148:20101122T085724Z:
# pkg info SUNWcs

And you can test the auditset service manually, by running in the zone:
# SMF_FMRI=svc:/system/auditset:default sudo /lib/svc/method/svc-auditset start
This should produce no output if it's working correctly.

-Albert

On Sat, Dec 18, 2010 at 6:48 PM, Patrick O'Sullivan
ir...@insaneirish.com wrote:
 Should the fix automatically work if the global zone and any
 non-global zones have been updated from oi147 to oi148?

 Mine are upgraded and I'm still seeing the error.

 Thanks for the help!


 On Dec 18, 2010, at 17:08, Jeppe Toustrup openindi...@tenzer.dk wrote:

 2010/12/18 Patrick O'Sullivan ir...@insaneirish.com:
 Anyone else seeing similar messages when booting a zone? I've seen
 this now on two test systems, one a VM, and the other bare metal,
 first running oi147 and now oi148.

 Dec 18 12:43:55 svc.startd[1207]: svc:/system/auditset:default: Method
 /lib/svc/method/svc-auditset failed with exit status 1.

 It is a known issue in oi_147, and should be fixed in oi_148 according
 to this bug: http://www.illumos.org/issues/254
 --
 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 mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] time-slider is snapshotting swap and dump after upgrading to oi_147

2010-12-18 Thread Albert Lee
On Fri, Dec 17, 2010 at 1:35 PM, Jeremy Thornhill
jeremy.thornh...@gmail.com wrote:
 Hello list,

 I've encountered a bizarre situation with time-slider on OI 147. As
 background, this is a x86 system that's been upgraded from OpenSolaris
 snv_133, and the time-slider configuration I'm using is unmodified
 post-upgrade (save for disabling the legacy time-slider-cleanup cron
 job).

 What I see is that rpool/swap and rpool/dump - which are both
 configured with 'com.sun:auto-snapshot = false' - are being
 snapshotted at every possible interval. Additionally, it seems that
 time-slider is not ever cleaning up these snapshots, even when they
 have a USED value of 0. This results in hundreds of empty snapshots
 being created which I've had to manually remove. Auto snapshots for
 other filesystems, however, seem to be both created and destroyed as
 expected; indeed, I have other filesystems with 'com.sun:auto-snapshot
 = false', and they are not being snapshotted.

 Does anybody have an idea of what's going on, or how I can work around
 this? I've upgraded all pools and volumes and I'm really not sure what
 the issue here could be. I even fired up the time-slider-setup gui for
 kicks, but it seems hard coded to ignore swap and dump entirely, as
 they weren't visible at all in any of its options.


Can you check crontab -e as root and ensure nothing related to
auto-snapshot is still present?

-Albert

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


Re: [OpenIndiana-discuss] OI hangs early in boot when drives are connected

2010-12-18 Thread Albert Lee
On Mon, Dec 13, 2010 at 10:28 AM, Tom Fanning m...@tomfanning.eu wrote:
 Hi all

 oi-dev-147-text-x86.usb hangs at the start of the boot at All rights
 reserved. Use is subject to license terms when my SATA drives (4x
 1TB) are plugged in.

 If I unplug the drives, the machine boots.

 Where do I start with this one? My hardware is an Atom D510 on a
 Gigabyte GA-D510UD board.

 Drives are known good and contain an exported zpool (from FreeBSD)
 which I intend to import and upgrade.


I suspect your pool's constituent devices have no GPT (EFI label) as
required by Solaris/OpenIndiana ZFS, as FreeBSD does not enforce this
requirement when creating pools. The failure mode is rather odd,
though.

-Albert

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


Re: [OpenIndiana-discuss] Dashes messed up in man pages on OpenIndiana oi_147

2010-11-08 Thread Albert Lee
On Mon, Nov 8, 2010 at 3:49 PM, Alan Coopersmith
alan.coopersm...@oracle.com wrote:
 Hillel Lubman wrote:
 I just noticed, that man pages started to look strangely. For example *man
 ls* produces:

      --a --all
           do not ignore entries starting with .

      --A --almost--al
           do not list implied . and ..

      --author
           with --l print the author of each file

      --b --escape
           print C-style escapes for nongraphic characters

 Note the double dash --a. Those double dashes are all around. I.e. every
 dash seems to be shown as double (also it's not two symbols - it's actually
 one character).

 What can be causing it?

 Use of groff instead of Solaris nroff for man page formatting.
 Try putting /usr/bin ahead of /usr/gnu/bin in $PATH.

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


This is a known issue and will be fixed in the next release:
https://www.illumos.org/issues/261

Alan's workaround is correct.

-Albert

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


Re: [OpenIndiana-discuss] Subpixel Patches

2010-11-07 Thread Albert Lee
On Mon, Nov 8, 2010 at 12:14 AM, Dustin Marquess dmarqu...@gmail.com wrote:
 All,

 Sorry in advance if this more of an IllumOS question, but I don't think it is.

 As somebody who sits and stares at an LCD all day long, I have a
 nitpick for fonts looking good.  This has been one area that for me,
 all *IXs have been falling flat on.

 In my quest, I found the following site:

 http://www.infinality.net/blog/?cat=4

 They offer patches for freetype, cairo, and libXft that make fonts
 awesome.  Back in the OpenSolaris days, when I was attempting to move
 my work laptop over, I managed to get freetype patched, but I always
 had problems finding the correct cairo  libXft sources to
 patch/install.

 Before I attempt again, is there any decent reason why these patches
 shouldn't be in IllumOS/OpenIndiana proper?

 I went through all of the SRPMs and pulled out the font patches and
 put them @ http://www.cmsnoc.com/font/ to make it easier to dig
 through.



These changes are questionable. As hinting is usually meant to fit
outlines to the pixel grid at small sizes for clarity, the phrase
subpixel hinting is a bit of an oxymoron. The main part is
self-described as simply disabling hinting along the X axis.

Do these apply to the autohinter or the embedded hints? Do you have
examples of rendering improvements? If there are improvements, why
hasn't upstream adopted them?

Good for font rendering is highly subjective. With the (formerly
patented) bytecode interpreter enabled, I find the FreeType output for
most fonts included with the system, such as the commonly used
Liberation and DejaVu fonts, to be pleasant and have less noticeable
artifacts than the Windows font renderer output with the Windows
system fonts and Core Fonts.

-Albert

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


Re: [OpenIndiana-discuss] how to report system crash

2010-10-24 Thread Albert Lee
On Sat, Oct 23, 2010 at 9:44 AM, Dirk Schelfhout dirkschelfh...@mac.com wrote:
 Hi,

 running 147
 I recently had a system hang / crash
 where the system rebooted.
 I was copying files using the gui
 from 1 raidz zpool to another raidz zpool. ( 20 gig or so )

 How do I document this. didn't find anything in the log files .
 Which log file should i look for.
 do I have to turn on core dumping ?

 Where do I report this ?

 Dirk

When your system panics, it will attempt to save a crash dump in the
dedicated dump volume. Automatic extraction of crash dumps is not
enabled by default, but you can run 'savecore' to extract the dump
after creating the directory for them. Then 'run savecore -f file'
to uncompress the dump. You can use mdb to inspect the crash. If you
want to enable automatic crash dump extraction for later, run
'savecore -y'
Example:

# pkg install mdb
# dumpadm
  Dump content: kernel pages
   Dump device: /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash/ichiban
  Savecore enabled: no
   Save compressed: on
# mkdir /var/crash/`hostname`
# savecore
# cd /var/crash/`hostname`
# savecore vmcore.0.z
# mdb 0 EOF
$msgbuf
$C
EOF


You can file a bug on our issue tracker via
http://bugs.openindiana.org/ although the report may be moved the
illumos-gate if it's not specific to OI. Be sure to include
information describing how to reproduce the crash if possible as well
as the output from mdb.

Thanks,
-Albert

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


Re: [OpenIndiana-discuss] Enhancement to IPS (pkg)??

2010-10-23 Thread Albert Lee
On Sat, Oct 23, 2010 at 1:41 PM, Sunay Tripathi
tripathi.su...@gmail.com wrote:
 Guys,

 Let me introduce myself. My name is Sunay Tripathi who *had* been with
 Sun/Solaris for a long long time and tinkered around with the OS. Its
 great to see you guys taking the initiative. I was looking to see if
 people were looking to take any major projects. Given the focus
 around packaging, some work around IPS would be useful. Specially
 related to file based URIs. The dependency on someone else's repo
 has been the most complained about part of IPS from general community.

 For instance, you could have all the packages in file form in SVR4
 and write scipts to install identical system without needing the
 network was something useful and I think we never completed that work
 in IPS. I wrote some more on my thoughts on what it takes to make
 a open source OS succeed in long term here

 http://sunaytripathi.wordpress.com/2010/10/23/solaris-as-an-open-source-alternative-to-linux/

 Anyway, if there is some interest from people to work in this area, we
 can start a discussion.

 Again, keep up the good work.

 Cheers,
 Sunay


Hi Sunay,
Glad to have you on board! Most of us are familiar with your
transformation of the networking space. (I remember meeting you at a
dinner after last year's LISA).

Shawn Walker at Oracle has been leading the on-disk package repository
support, and the format of on-disk repositories has been finalised.
You can install packages directly from a file:// URI without a
temporary depot server, and indeed we use this functionality in the
process of constructing the distribution, as several consolidations
are imported directly from on-disk repositories. There is additionally
a pax-based stream format for a single file, like SVR4's stream
format, I don't know if the tools for manipulating this are done. The
spec for both is here:
http://src.opensolaris.org/source/xref/pkg/gate/doc/on-disk-format.txt

-Albert

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


Re: [OpenIndiana-discuss] Kernel panic trying to install OI

2010-10-22 Thread Albert Lee
On Fri, Oct 22, 2010 at 3:28 AM, russell str...@willows7.myzen.co.uk wrote:
  Hi Thorsten,

 I found that I experienced a similar kernel panic when attempting to perform
 a clean install of OpenIndiana which would occur at around 2% of the
 installation on a consistent basis.

 I eventually worked out that I had to use GParted to delete any partitions
 on the boot disc prior to selecting Install OpenIndiana, the other thing I
 did was not change the hostname until after OpenIndiana has been installed.

 Hope that helps.

 Russell


If one of you can reproduce the panic, can you copy the stack trace in
panic message? I guess it wouldn't have written a crash dump, so you
may have to boot with the '-k' flag appended to the 'kernel' line in
GRUB, and the 'splashimage' line as well as 'console=graphics' removed
(needs both, or the console will still not be visible). That way the
system won't reboot immediately.

This should help us identify the bug.

Thanks,
-Albert

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


Re: [OpenIndiana-discuss] Installing VBox

2010-10-21 Thread Albert Lee
On Thu, Oct 21, 2010 at 9:10 PM, Christopher Chan
christopher.c...@bradbury.edu.hk wrote:
 On Friday, October 22, 2010 12:53 AM, Apostolos Syropoulos wrote:

 Hello,

 I have tried to install VirtualBox on a machine that runs
 OpenIndiana, and here is what I get:

 $ VirtualBox-3.2.10-SunOS-r66523.pkg
 .
 ## Executing postinstall script.
 Checking for older bits...
 can't unload the module: Device busy
    - Unloading: NetAdapter module ...FAILED!
 ## ERROR!! Failed to remove older/partially installed bits.
 pkgadd: ERROR: postinstall script did not complete successfully

 Installation ofSUNWvbox  failed.


 Has anybody succesfully installed this version of VBox?

 Yes. Your problem seems to be that you already have a version installed and
 it won't go away.


Make sure the VirtualBox network interface vboxnet0 isn't in use by
NWAM or otherwise configured. Check if it shows up in /sbin/ifconfig
-a; you can try /sbin/ifconfig unplumb vboxnet0 if it is active.

-Albert

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


Re: [OpenIndiana-discuss] Fwd: OpenIndiana-discuss Digest, Vol 3, Issue 38

2010-10-13 Thread Albert Lee
On Wed, Oct 13, 2010 at 8:08 AM, Bob Hoekstra bob.hoeks...@gmail.com wrote:
 On Wed, 13 Oct 2010 08:54:06 +0100, russell str...@willows7.myzen.co.uk
 wrote
 Hi,
 trim
While I can access my Logitech E3500 webcam from with WinXP running with
a VBox, the Cheese Webcam Booth appears to activate the camera (its
light comes on) but no video appears. I tried identifying the device as
a usbvc device, as below

# prtconf -v | grep usbvc
        value='NAME= usbvc1 Power' + '0=USB D3 State' + '3=USB D0 State'
        dev_path=/p...@0,0/pci15d9,1...@2,1/miscellane...@4/vi...@0:usbvc

# update_drv -a -i pci15d9,1411 usbvc

This resulted in my computer locking up, I could not even access it via an
 ssh session as it required a reboot.


The device you added is your USB controller chip on the PCI bus, not
your camera, and your camera was already using the usbvc driver.

-Albert

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


Re: [OpenIndiana-discuss] OpenIndiana very slow at boot

2010-10-11 Thread Albert Lee
On Mon, Oct 11, 2010 at 1:21 PM, Hernan Saltiel hsalt...@gmail.com wrote:
 Hi all!
 Does anybody know why OpenIndiana is slower than OSol snv_134 at boot time?
 I have a fresh install of oi_147, and the boot time is more than 50% bigger
 than with my old OSol.
 Is there any way to diagnose this boot times via some flag, or something
 like it?
 Thanks, and best regards,

Try the -m verbose boot option and also compare times in 'svcs'.

-Albert

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


Re: [OpenIndiana-discuss] Building 64-bit PostgreSQL (was: Time to build VirtualBox OSE)

2010-10-10 Thread Albert Lee
On Fri, Oct 8, 2010 at 3:33 PM, russell str...@willows7.myzen.co.uk wrote:
 As an aside I am currently trying to build PostgreSQL v9.0.1 as a 64bit
 binary within a OpenIndiana instance running within VirtualBox.



 $ CC=/opt/SUNWspro/bin/cc CFLAGS=-m64 CPPFLAGS=-m64 ./configure
 --prefix=/opt/sfw --enable-nls --enable-dtrace --with-perl --with-python
 --with-gssapi --with-pam --with-openssl --with-libxml --with-libxslt

 $ make

 everything appears to be okay until

 /usr/bin/perl ./text2macro.pl --strip='^(\#.*|\s*)$' plc_perlboot.pl
 plc_trusted.pl  perlchunks.h
 /usr/bin/perl plperl_opmask.pl plperl_opmask.h
 /opt/SUNWspro/bin/cc -Xa -m64 -KPIC -I. -I. -I../../../src/include -m64
 -I/usr/include/libxml2  -I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE  -c
 -o plperl.o plperl.c
 /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
 /usr/perl5/5.8.4/lib/ExtUtils/typemap SPI.xs SPI.c
 /opt/SUNWspro/bin/cc -Xa -m64 -KPIC -I. -I. -I../../../src/include -m64
 -I/usr/include/libxml2  -I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE  -c
 -o SPI.o SPI.c
 /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
 /usr/perl5/5.8.4/lib/ExtUtils/typemap Util.xs Util.c
 /opt/SUNWspro/bin/cc -Xa -m64 -KPIC -I. -I. -I../../../src/include -m64
 -I/usr/include/libxml2  -I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE  -c
 -o Util.o Util.c
 /opt/SUNWspro/bin/cc -Xa -m64 -KPIC -G -o plperl.so plperl.o SPI.o Util.o
 -L../../../src/port -L/usr/lib
  -Wl,-R'/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE'
  /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a
 -L/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE -lperl -lsocket -lnsl -ldl
 -lm -lc
 ld: warning: file
 /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
 wrong ELF class: ELFCLASS32
 ld: fatal: file /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/libperl.so:
 wrong ELF class: ELFCLASS32
 ld: fatal: file processing errors. No output written to plperl.so
 make[3]: *** [plperl.so] Error 1
 make[3]: Leaving directory `/home/dev/dev/postgresql-9.0.1/src/pl/plperl'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/dev/dev/postgresql-9.0.1/src/pl'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/home/dev/dev/postgresql-9.0.1/src'
 make: *** [all] Error 2

 d...@ts4:~/dev/postgresql-9.0.1$ file
 /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a
 /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a:
  current ar archive, not a dynamic executable or shared object
 d...@ts4:~/dev/postgresql-9.0.1$ file
 /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/libperl.so
 /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/libperl.so:    ELF 32-bit LSB
 dynamic lib 80386 Version 1 [FPU], dynamically linked, not stripped, no
 debugging information available
 d...@ts4:~/dev/postgresql-9.0.1$

 It appears there are 32bit libraries in a 64 bit directory.

It's not possible to generate bindings for 32-bit Perl to 64-bit
PostgreSQL. If you want proper multiple-instruction set support in
Solaris (see isaexec(3), isalist(5)), you need to install 64-bit
executables and libraries in a subdir corresponding to the ISA name
(e.g. sparcv9 or amd64) and build the 32-bit binaries separately.

-Albert

-Albert

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


Re: [OpenIndiana-discuss] ZFS pool slow as molasses

2010-10-06 Thread Albert Lee
On Tue, Oct 5, 2010 at 9:11 PM, Chris Mosetick cmoset...@gmail.com wrote:
 If it's not too late already, my suggestion at this point is to go back to
 ide mode in the bios, boot the machine and rsync your data to another
 physical machine through the network, then do a clean install of openindiana
 with your bios set to ahci mode, create new pools, then rsync your data back
 to the new pools.  Time consuming, yes.  But virtually guaranteed to work.

 It would seem that this machine would have worked better with ahci mode when
 you first installed opensolaris on it back in the day.  This is a lesson for
 everyone to check their bios settings thoroughly before installing a new
 operating system.

Erm, that's a curious bit of modern folklore. How the drive was
connected previously changes absolutely nothing.

The problem here is probably from having dedup enabled. Disabling it
does not affect the existing data, which has already been
deduplicated. Reading any of this will incur a deduplication table
lookup, which can be quite expensive in terms of random seeks (you can
check with DTrace, see /opt/DTT/disk/seeksize.d). I've also seen poor
performance on a pool that was previously full.

-Albert

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


Re: [OpenIndiana-discuss] KDE on OpenIndiana (was: openindiana more popular)

2010-10-06 Thread Albert Lee
On Tue, Oct 5, 2010 at 11:27 AM, Daniel Kjar dk...@elmira.edu wrote:
  I have been having a problem with bionicmutton and wondered if something
 sinister might be going on.  Sonicwall is blocking some of the packages
 throwing out all kinds of trojan warnings.  Anybody else seen this happen?

 *This request is blocked by the SonicWALL Gateway Anti-Virus Service. Please
 contact the Helpdesk if you have questions. Name: Peed.JOB_2 (Trojan)*


Yes, there is something sinister at work here: SonicWALL.

The likelihood of a piece of Windows malware (apparently a variant of
the Magania trojan designed to steal game account passwords) being
introduced into a package repository for OpenSolaris whose package
operations include hash verification is fairly miniscule.

-Albert

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


Re: [OpenIndiana-discuss] openindiana more popular

2010-10-06 Thread Albert Lee
On Wed, Oct 6, 2010 at 4:31 AM, Søren Krarup Olesen s...@es.aau.dk wrote:
 GUIDI:

 It is in a third-party repository at
 http://solaris.bionicmutton.org:1/
 which was originally created for OpenSolaris, however some people
 have reported that it works on OpenInidana as well.

 And I can report that, too. After the download of Qt4 which took a
 while--probably due to a slow server connection--it installed without
 any problems.

 After installation one should add

 export QMAKESPEC=/opt/kde4/share/mkspecs/solaris-cc

 to .bashrc (or .../solaris-g++)

 I compiled my old Qt4-programs (originally made under Linux) and they
 all work. Having portaudio working already, it's time to port Audacity.

 Søren

Audacity (and PortAudio, and many other things) are already in
spec-files-extra: http://pkgbuild.sourceforge.net/spec-files-extra/
http://sourceforge.net/apps/mediawiki/pkgbuild/index.php?title=Pkgbuild_on_OpenSolaris

pkgbuild is the tool used to build GNOME and other desktop software in
OpenSolaris/Solaris 11/OpenIndiana. The KDE packages are also built
with it.

-Albert

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


Re: [OpenIndiana-discuss] Radeon HD 3870 Best Practices?

2010-10-02 Thread Albert Lee
On Sat, Oct 2, 2010 at 1:48 PM, Lou Picciano loupicci...@comcast.net wrote:

 Ken, thanks for that. Seems to me I _was_ getting some kind of acceleration 
 from past installs. (Or am I thinking of various gyrations with various 
 flavors of Linux?)


 ( Alan, good to see you here. ) Oh, I see. Ok, but by 'basic 2D support', do 
 you mean not even accelerated 2D? Was hoping to get something out of this 
 card, at least, which is currently lookin' a little like overkill!


There should be EXA and XAA acceleration for 2D, including the Render
extension. I believe your graphics chip uses textured video playback
instead of the traditional video overlay so XVideo acceleration may
not be available. The radeon(7) man page has more information.

-Albert

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


Re: [OpenIndiana-discuss] oi-147, firefox does not start

2010-10-02 Thread Albert Lee
Those files shouldn't be in /usr/lib/firefox, you probably have a
third-party package installed or accidentally copied them there at
some point.
# pkg search -l /usr/lib/firefox/libnss3.so || pkgchk -L -P
/usr/lib/firefox/libnss3.so

-Albert

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


Re: [OpenIndiana-discuss] Audio

2010-10-02 Thread Albert Lee
On Sat, Oct 2, 2010 at 2:17 PM, Søren Krarup Olesen s...@es.aau.dk wrote:
 Dear all,

 This is my first post here, so I'll try to be as modest as possible.
 First, I'd like to thank the development team for providing such a
 (surprisingly) stable 147--it hasn't crashed on me yet...it's
 incredibly fast, something that really struck me, being an old timer
 Linux user.

 However, I really need to know something about audio programming under
 OI. The hits I get googling point in all kinda directions; old
 projects, difficult to know if they're still alive, specific Sun
 Solaris (or Oracle Solaris) stuff, Open Sound System ported to Solaris
 but many years old etc. etc.


The audio framework in OpenIndiana and the upcoming Solaris 11 is
called Boomer, and it supports the OSS 4 API as documented at
http://manuals.opensound.com/developer/

There are major internal differences between 4Front's OSS software and
Boomer, but the API is largely the same, and is also backwards
compatible with older OSS versions.

The old Sun Audio API is also supported but not recommended.


 Where do I start? In Linux we have the sys/soundcard.h but that
 doesn't seem to be available under OI. A good *.h file should also
 provide documentation IMHO, but where is it? There is a /dev/dsp which
 is fine, but how do I control it (ioctl,fctl)?


Make sure you install the pkg:/system/header metapackage (installing
the ss-dev or gcc-dev metapackages will take care of this).

-Albert

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


Re: [OpenIndiana-discuss] dedup status

2010-10-01 Thread Albert Lee
On Fri, Oct 1, 2010 at 4:54 AM, Jonathan Adams t12nsloo...@gmail.com wrote:
 Thanks for this, please keep us informed.

 We have multiple systems with ZFS raid (3 disks per pool) that are
 snapshot'd and those snapshots are rsynced over the internet and replayed
 onto a duplicate server in a different location ... currently these servers
 are on Solaris 10.


If it's an Solaris 10 update which has the zfs send stream format
stabilised, you should be able to send snapshots incrementally,
instead of via rsync.

 I would be really interested to find out how well this sort of situation
 works over time; on the current system, we have had some weird ZFS
 corruption which we have had to patch for.


Any details on this?


Thanks,
-Albert

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


Re: [OpenIndiana-discuss] Package Install Errors - amp-dev, JDK etc..

2010-09-30 Thread Albert Lee
There is a ticket open for this: https://www.illumos.org/issues/230
The problem is most likely the PostgresSQL removal in SFW.

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


Re: [OpenIndiana-discuss] Spare bandwidth for mirroring

2010-09-29 Thread Albert Lee
2010/9/15 Francisco Javier Picado Ladrón de Guevara jav...@iepala.es:
 Hi,

 We got some spare bandwidth from our data center (about 50mbps located
 in Madrid, Spain) to give to the project, may be useful for mirroring.

 Anybody know how to rsync with the servers or to reveal a mirror to the
 public?


Hi,

If you're still interested in setting up a mirror of the ISO images
(or packages, which is more involved), we now have instructions over
at: http://wiki.openindiana.org/oi/Setting+up+a+mirror

Thanks for the offer, and sorry for getting back to you late.

-Albert

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


Re: [OpenIndiana-discuss] Kernel panic after upgrading to OpenIndiana

2010-09-29 Thread Albert Lee
This appears very similar to another issue with the bootfs
specification which is normally transparent:
http://opensolaris.org/jive/thread.jspa?messageID=315743

Also make sure you have the current version of GRUB installed on
*both* disks in your mirror, as it's responsible for specifying the
bootfs parameter.

-Albert

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