[OmniOS-discuss] ZFS cache device allocation a free seem strange on my OmniOS r151022 system.

2017-09-01 Thread Richard Skelton
Hi,
The cache allocation a free seem strange on my OmniOS r151022 system.
The cache device is an Intel SSD DC P3700 Series 800GB, 1/2 Height PCIe
3.0, 20nm, MLC
root@omnios:/scratch# zpool list -v scratch
NAME SIZE  ALLOC   FREE  EXPANDSZ   FRAGCAP 
DEDUP  HEALTH  ALTROOT
scratch 2.66T  1.94T   738G -17%72% 
1.00x  ONLINE  -
  mirror 544G   395G   149G -16%72%
c7t5000CCA018309809d0   -  -  - -  -  -
c18t5000CCA038718395d0  -  -  - -  -  -
  mirror 544G   396G   148G -15%72%
c14t5000CCA038710745d0  -  -  - -  -  -
c11t5000CCA038721F5Dd0  -  -  - -  -  -
  mirror 544G   396G   148G -18%72%
c12t5000CCA03871048Dd0  -  -  - -  -  -
c13t5000CCA0387102E1d0  -  -  - -  -  -
  mirror 544G   398G   146G -19%73%
c15t5000CCA03871058Dd0  -  -  - -  -  -
c16t5000CCA0387224EDd0  -  -  - -  -  -
  mirror 544G   396G   148G -17%72%
c17t5000CCA038717F65d0  -  -  - -  -  -
c10t5000CCA038717AC9d0  -  -  - -  -  -
log -  -  - -  -  -
  c6t0d03.84G  0  3.84G - 0% 0%
cache   -  -  - -  -  -
  c3t1d0 745G  *1.07T  16.0E - 0%   147%*
spare   -  -  - -  -  -
  c9t5000CCA038717B2Dd0 -  -  - -  -  -
  c8t5000CCA0387104B1d0 -  -  - -  -  -
root@omnios:/scratch# format 
  /pci@0,0/pci8086,35c5@1f,2/disk@4,0
   1. c2t5d0 
  /pci@0,0/pci8086,35c5@1f,2/disk@5,0
   2. c3t1d0 
  /pci@75,0/pci8086,6f0a@3,2/pci8086,3702@0/blkdev@1,0
   3. c6t0d0 
  /pci@75,0/pci8086,6f06@2,2/pci19e3,81@0/sd@0,0


Cheers
Richard

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] nfsv3rwsnoop.d lists NFS writes to files

2017-03-22 Thread Richard Skelton
Hi Richard,
The nfsv3rwsnoop.d script shows to offset to the write as 0 is this then
not a new file?

TIME(us) CLIENT OP OFFSETBYTES PATHNAME
20811423544560   xxx.xx.xxx.21   W 0   116 
20811423525741   xxx.xx.xxx.50   W 0  5232 
20811423528311   xxx.xx.xxx.50   W 0   304 
20811423529251   xxx.xx.xxx.50   W 0   376 
20811423555753   xxx.xx.xxx.18   R 0   685 

If they are files which have been deleted they must be very short lived
files ?

Richard Elling wrote:
>
>> On Mar 21, 2017, at 3:54 PM, Richard Skelton <skelt...@btconnect.com
>> <mailto:skelt...@btconnect.com>> wrote:
>>
>> Hi,
>> I am using the dtrace script nfsv3rwsnoop.d to find file that are
>> accessed from my OmniOS r151020 filer and some file names are listed
>> as unknown :-(
>> I guess they are files that have been open for a long time and have
>> dropped out of some data structure.
>
> almost... they are files that were open prior to the dtrace script
> running or they are files
> which have been deleted (!), such that there is no mapping between the
> nfs file handle and
> the current file system
>
>> Is there any way to increase the persistence of the name stored.
>> I have lots on memory in this system and would be happy to sacrifice
>> some if I could see more file name :-)
>
> depending on what you wish to accomplish, dtrace might be the wrong
> tool and you might
> want auditing or NFS logging instead 
>  — richard
>
>>
>> root@filer:/scratch# /root/dtrace/nfsv3rwsnoop.d |more
>>
>> 1189849649391xxx.xx.xxx.59   W 10500138879 
>> 1189849649582xxx.xx.xxx.59   W 10500137788 
>> 1189849740621xxx.xx.xxx.118  W 0  2404 
>> 1189849781136xxx.xx.xxx.109  W 19832756675 /scratch/run.log
>> 1189849849301xxx.xx.xxx.102  W 1096  57513
>> /scratch/avm_remote_job_f64ccf56-efa1-4605-8a48-874816779289_2.out
>>
>> Cheers
>> Richard
>>
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com <mailto:OmniOS-discuss@lists.omniti.com>
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] arcstat ZFS question

2017-03-17 Thread Richard Skelton
Hi Dan,
Thanks for the prompt response.

But why the arc misses if I repeat the du and why is the L2arc size from
arcstat much bigger than from zpool iostat?

Dan McDonald wrote:
>> On Mar 17, 2017, at 4:12 AM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Why does du generate writes?
>> Is this normal?
>> 
>
> If you've L2ARC, it'd make sense that du (a program that traverses tons of 
> directories if not more to find out how many blocks and/or bytes each file 
> holds) would change the usage patterns AND that it would get cached in your 
> L2ARC device.  Caches are written when usage patterns change.
>
> So yes, it's expected behavior:  caches change based on usage patterns, and 
> "du -sh *" changes your usage to "read every directory".
>
> Hope this helps,
> Dan
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] arcstat ZFS question

2017-03-17 Thread Richard Skelton
Hi,
I am running OmniOS r151020 on an Intel S2600WTTR with two Intel(R)
Xeon(R) CPU E5-2640 v4 @ 2.40GHz CPU and 256GB of memory.
The zpool scratch is made up of 16 x 600GB 15K rpm SAS drives with a
DDRdrive as log and a 750GB INTEL-SSDPEDMD800G4 NVME card as cache.
When I run du I see a lot of L2misses from arcstat also the L2size seems
a lot bigger than the used size shown by zpool iostat scratch.
Why does du generate writes?
Is this normal?

Cheers
Richard

root@hosta:/scratch# du -sh *
201Mdir01
59G dir02
136Kdir03
6.7Gdir04
1.4Gdir05
133Kdir06
726Kdir07
6.6Gdir08
268Kdir09
12G dir10
146Kdir11
137Mdir12
29G dir13
3.9Gdir14
83M dir15
244Mdir16
201Mdir17
382Kdir18
242Mdir19
199Mdir20
405Kdir21
root@hosts:/scratch#

07:44:53 0 0 0 0   0   0   0   0  
118G607G
07:45:03  3.4K  1.0K  2.4K292.4K   02.4K   0  
118G607G
07:45:13   41K   30K   10K73 10K   0 10K   0  
119G607G
07:45:23   40K   23K   17K57 17K   0 17K   0  
119G607G
time  read  hits  miss  hit%  l2read  l2hits  l2miss  l2hit%  arcsz 
l2size
07:45:33   44K   21K   23K48 23K   0 23K   0  
119G607G
07:45:43   46K   28K   18K59 18K   0 18K   0  
119G607G
07:45:53   24K  7.2K   17K29 17K   0 17K   0  
119G607G
07:46:03 1 1 090   0   0   0   0  
119G607G
07:46:13 0 0 0   100   0   0   0   0  
119G607G

17 March 2017 07:46:16 GMT
   capacity operationsbandwidth
poolalloc   free   read  write   read  write
--  -  -  -  -  -  -
scratch  118G  3.07T  0  0  0  0
  mirror19.6G   524G  0  0  0  0
c5t5000CCA018364819d0   -  -  0  0  0  0
c6t5000CCA018355AF1d0   -  -  0  0  0  0
  mirror19.7G   524G  0  0  0  0
c7t5000CCA018330A55d0   -  -  0  0  0  0
c8t5000CCA0183561F5d0   -  -  0  0  0  0
  mirror19.7G   524G  0  0  0  0
c9t5000CCA01832FA21d0   -  -  0  0  0  0
c10t5000CCA018356271d0  -  -  0  0  0  0
  mirror19.5G   524G  0  0  0  0
c11t5000CCA01830A3E1d0  -  -  0  0  0  0
c12t5000CCA018331455d0  -  -  0  0  0  0
  mirror19.5G   524G  0  0  0  0
c13t5000CCA018356211d0  -  -  0  0  0  0
c14t5000CCA018339B1Dd0  -  -  0  0  0  0
  mirror19.6G   524G  0  0  0  0
c15t5000CCA01837D171d0  -  -  0  0  0  0
c16t5000CCA0387184FDd0  -  -  0  0  0  0
logs-  -  -  -  -  -
  c21t0d0128K  3.84G  0  0  0  0
cache   -  -  -  -  -  -
  c17t1d0109G   636G  0115  0   294K
--  -  -  -  -  -  -


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] DTrace Scripts

2017-03-10 Thread Richard Skelton
Hi All,
I tried arc_stat.pl but it barfs :-

./arcstat.pl -f read,hits,miss,hit%,l2read,l2hits,l2miss,l2hit%,arcsz,l2size
read  hits  miss  hit%  l2read  l2hits  l2miss  l2hit%  arcsz  l2size
Use of uninitialized value in division (/) at ./arcstat.pl line 332.
   0 0 0 0   0   0   0   0   3.5G 14G

>From the blog

http://blog.harschsystems.com/tools/arcstat-pl-updated-for-l2arc-statistics/

Sounds just what I need :-)

Artem Penner wrote:
> May be links below will be helpful for you
>
> https://github.com/brendangregg/dtrace-cloud-tools
> https://github.com/richardelling/dtrace
> https://github.com/richardelling/arcstat
> https://bitbucket.org/d-helios/dtrace/src/7b479a97099f3146b4d08652315b03d1dfc28f9c/zfs/?at=master
>
>
>
>
>
> чт, 9 мар. 2017 г. в 21:08, John Barfield  >:
>
> Im looking for some general dtrace scripts for debugging ZFS on
> OmniOS (like updated dtrace toolkit)..didnt want to reinvent the
> wheel if some folks are willing to share. Also willing to purchase
> if needed.
>
> John Barfield
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> 
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
> 
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Where is the FTP server package

2017-01-09 Thread Richard Skelton
Hi Dale,
Thanks for your input.I am now clear on the OmniOS position.
I have downloaded proftpd-1.3.5b and it compiles and runs fine for me
simple test :-)


Dale Ghent wrote:
> in.ftpd was removed in 2014 (ref: https://www.illumos.org/issues/5069). This 
> coincided with the 151014 LTS release of OmniOS.
>
> ref: 
> http://lists.omniti.com/pipermail/omnios-discuss/2014-September/003136.html
>
> /dale
>
>   
>> On Jan 9, 2017, at 12:42 PM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Hi,
>> I need an ftp server for a quick test and can't find the pkg
>> On Solaris 11 it's part of network/ftp
>>
>> Cheers
>> Richard
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>> 
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Where is the FTP server package

2017-01-09 Thread Richard Skelton
Hi Dale,
Where is the proftpd package?

Dale Ghent wrote:
> in.ftpd was removed in 2014 (ref: https://www.illumos.org/issues/5069). This 
> coincided with the 151014 LTS release of OmniOS.
>
> ref: 
> http://lists.omniti.com/pipermail/omnios-discuss/2014-September/003136.html
>
> /dale
>
>   
>> On Jan 9, 2017, at 12:42 PM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Hi,
>> I need an ftp server for a quick test and can't find the pkg
>> On Solaris 11 it's part of network/ftp
>>
>> Cheers
>> Richard
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>> 
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Where is the FTP server package

2017-01-09 Thread Richard Skelton
Hi.
 I don't see that :-(
# pkg publisher
PUBLISHER   TYPE STATUS P LOCATION
omnios  origin   online F
http://pkg.omniti.com/omnios/r151018/
ms.omniti.com   origin   online F
http://pkg.omniti.com/omniti-ms/
# pkg search omnios/network/ftp
#




Michael Rasmussen wrote:
> On Mon, 09 Jan 2017 17:42:42 +
> Richard Skelton <skelt...@btconnect.com> wrote:
>
>   
>> Hi,
>> I need an ftp server for a quick test and can't find the pkg
>> On Solaris 11 it's part of network/ftp
>>
>> 
> Lots of hits doing your search here but maybe you are looking for this?
> pkg search omnios/network/ftp 
> INDEX  ACTION VALUE  PACKAGE
> pkg.fmri   setomnios/network/ftp pkg:/network/ftp@0.5.11-0.151014
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Where is the FTP server package

2017-01-09 Thread Richard Skelton
Hi,
I need an ftp server for a quick test and can't find the pkg
On Solaris 11 it's part of network/ftp

Cheers
Richard
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] MPT Firmware Fault, code: 2810

2016-12-12 Thread Richard Skelton
Hi All,
I have a Avago SAS 9300-16i Host Bus Adapter (LSI00447) in my Intel
Corporation S2600WTTR and I see:-

Dec 12 15:13:21 myhost scsi: [ID 107833 kern.warning] WARNING:
/pci@0,0/pci8086,6f08@3/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0
(mpt_sas0):
Dec 12 15:13:21 myhostMPT Firmware Fault, code: 2810
Dec 12 15:13:23 myhost scsi: [ID 365881 kern.info]
/pci@0,0/pci8086,6f08@3/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0
(mpt_sas0):
Dec 12 15:13:23 myhostMPT Firmware version v5.0.0.0 (SAS3008)
Dec 12 15:13:23 myhost scsi: [ID 365881 kern.info]
/pci@0,0/pci8086,6f08@3/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0
(mpt_sas0):
Dec 12 15:13:23 myhostmpt_sas0 SAS 3 Supported
Dec 12 15:13:23 myhost scsi: [ID 365881 kern.info]
/pci@0,0/pci8086,6f08@3/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0
(mpt_sas0):
Dec 12 15:13:23 myhostmpt0: IOC Operational.
Dec 12 15:13:31 myhost scsi: [ID 243001 kern.info]w5000cca01830a3e1
FastPath Capable and Enabled
Dec 12 15:13:31 myhost scsi: [ID 243001 kern.info]w5000cca018356271
FastPath Capable and Enabled
Dec 12 15:13:31 myhost scsi: [ID 243001 kern.info]w5000cca018364819
FastPath Capable and Enabled
Dec 12 15:13:31 myhost scsi: [ID 243001 kern.info]w5000cca0387184fd
FastPath Capable and Enabled

I am running OmniOS r151020

What does it mean?

Cheers
Richard


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Intel Corporation 82599ES 10-Gigabit not working since upgrade to r151020

2016-11-30 Thread Richard Skelton
Hi,
The SFP+ is a Cisco P/N 10-3105-01 is just not supported because it's
not an Intel part :-)

Richard Skelton wrote:
> Hi,
> After setting the allow_unsupported_sfp = 1;
> I now see :-
>
> Nov 28 20:59:46 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
> pciex8086,10fb (ixgbe) instance 0 irq 0x43 vector 0x64 ioapic 0xff
> intin 0xff is bound to cpu 6
> Nov 28 20:59:46 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
> pciex8086,10fb (ixgbe) instance 0 irq 0x44 vector 0x65 ioapic 0xff
> intin 0xff is bound to cpu 7
> Nov 28 20:59:46 myhost pseudo: [ID 129642 kern.info] pseudo-device:
> devinfo0
> Nov 28 20:59:46 myhost genunix: [ID 936769 kern.info] devinfo0 is
> /pseudo/devinfo@0
> Nov 28 20:59:46 myhost ixgbe: [ID 398243 kern.notice] NOTICE: WARNING:
> Intel (R) Network Connections are quality tested using Intel (R)
> Ethernet Optics. Using untested modules is not supported and may cause
> unstable operation or damage to the module or the adapter. Intel
> Corporation is not responsible for any harm caused by using untested
> modules.
> Nov 28 20:59:47 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe0
> registered
> Nov 28 20:59:47 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe0:
> Intel 10Gb Ethernet
> Nov 28 20:59:49 myhost mac: [ID 435574 kern.info] NOTICE: ixgbe0 link
> up, 1 Mbps, full duplex
>
> I think the SFP+ are made by Cisco will get the P/N tomorrow
>
> What SFP+ P/N should I use?
>
> Dan McDonald wrote:
>> Literally separate things with a space, AND end it with a semicolon:
>>
>>  allow_unsupported_sfp = 1;
>>
>> Dan
>>
>>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Intel Corporation 82599ES 10-Gigabit not working since upgrade to r151020

2016-11-29 Thread Richard Skelton
Hi,
After setting the allow_unsupported_sfp = 1;
I now see :-

Nov 28 20:59:46 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x43 vector 0x64 ioapic 0xff intin
0xff is bound to cpu 6
Nov 28 20:59:46 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x44 vector 0x65 ioapic 0xff intin
0xff is bound to cpu 7
Nov 28 20:59:46 myhost pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
Nov 28 20:59:46 myhost genunix: [ID 936769 kern.info] devinfo0 is
/pseudo/devinfo@0
Nov 28 20:59:46 myhost ixgbe: [ID 398243 kern.notice] NOTICE: WARNING:
Intel (R) Network Connections are quality tested using Intel (R)
Ethernet Optics. Using untested modules is not supported and may cause
unstable operation or damage to the module or the adapter. Intel
Corporation is not responsible for any harm caused by using untested
modules.
Nov 28 20:59:47 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe0 registered
Nov 28 20:59:47 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe0:
Intel 10Gb Ethernet
Nov 28 20:59:49 myhost mac: [ID 435574 kern.info] NOTICE: ixgbe0 link
up, 1 Mbps, full duplex

I think the SFP+ are made by Cisco will get the P/N tomorrow

What SFP+ P/N should I use?

Dan McDonald wrote:
> Literally separate things with a space, AND end it with a semicolon:
>
>   allow_unsupported_sfp = 1;
>
> Dan
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Intel Corporation 82599ES 10-Gigabit not working since upgrade to r151020

2016-11-28 Thread Richard Skelton
hi Dale.
I did :-

root@myhost:/intel2# echo "allow_unsupported_sfp=1" >>
/kernel/drv/ixgbe.conf
root@myhost:/intel2# tail /kernel/drv/ixgbe.conf
#
# For example, if you see,
#   "/pci@7b,0/pci10de,5d@e/pci8086,a15f@0" 0 "ixgbe"
#   "/pci@7b,0/pci10de,5d@e/pci8086,a15f@0,1" 1 "ixgbe"
#
# name = "pciex8086,10c6" parent = "/pci@0,0/pci10de,\<pci10de\>5d@e"
unit-address = "0"
# flow_control = 1;
# name = "pciex8086,10c6" parent = "/pci@0,0/\<pci\>pci10de,5d@e"
unit-address = "1"
# flow_control = 3;
allow_unsupported_sfp=1



Then rebooted
I now see;-

Nov 28 20:23:21 myhost genunix: [ID 107833 kern.warning] WARNING:
Unexpected EOF on line 98 of /kernel/drv/ixgbe.conf
Nov 28 20:23:37 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x42 vector 0x63 ioapic 0xff intin
0xff is bound to cpu 17
Nov 28 20:23:37 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x43 vector 0x64 ioapic 0xff intin
0xff is bound to cpu 18
Nov 28 20:23:37 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation,or bypass this check
Nov 28 20:23:37 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe0 registered
Nov 28 20:23:37 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe0:
Intel 10Gb Ethernet
Nov 28 20:23:38 myhost mac: [ID 435574 kern.info] NOTICE: ixgbe0 link
up, 1 Mbps, full duplex
Nov 28 20:24:09 myhost mac: [ID 736570 kern.info] NOTICE: ixgbe0
unregistered
root@myhost:/root# dladm show-phys
LINK MEDIASTATE  SPEED  DUPLEXDEVICE
bnx2 Ethernet down   0  half  bnx2
bnx0 Ethernet up 1000   full  bnx0
bnx3 Ethernet down   0  half  bnx3
bnx1 Ethernet down   0  unknown   bnx1



Dale Ghent wrote:
> The "invalid MAC address" error is worrisome, but first things first:
>
> Is "allow_unsupported_sfp=1" in /kernel/dev/ixgbe.conf ? If not, add that 
> line and reboot.
>
> /dale
>
>   
>> On Nov 28, 2016, at 3:54 AM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Hi Dan,
>> Sorry yes /var/adm/messages is filling up with ;-
>> Nov 28 08:35:17 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0: 
>> Failed to initialize adapter
>> Nov 28 08:35:17 myhost pcplusmp: [ID 805372 kern.info] pcplusmp: 
>> pciex8086,10fb (ixgbe) instance 0 irq 0x41 vector 0x61 ioapic 0xff intin 
>> 0xff is bound to cpu 4
>> Nov 28 08:35:17 myhost pcplusmp: [ID 805372 kern.info] pcplusmp: 
>> pciex8086,10fb (ixgbe) instance 0 irq 0x49 vector 0x65 ioapic 0xff intin 
>> 0xff is bound to cpu 5
>> Nov 28 08:35:17 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0: 
>> Unsupported SFP+ module detected. Please replace it with a supported SFP+ 
>> module per Intel documentation, or bypass this check
>> Nov 28 08:35:17 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0: 
>> Invalid mac address
>>
>>
>>
>> The initial boot has ;-
>> # grep ixgbe /var/adm/messages.0
>>
>> Nov 25 11:08:34 myhost pcplusmp: [ID 805372 kern.info] pcplusmp: 
>> pciex8086,10fb (ixgbe) instance 0 irq 0x40 vector 0x60 ioapic 0xff intin 
>> 0xff is bound to cpu 21
>> Nov 25 11:08:34 myhost pcplusmp: [ID 805372 kern.info] pcplusmp: 
>> pciex8086,10fb (ixgbe) instance 0 irq 0x41 vector 0x61 ioapic 0xff intin 
>> 0xff is bound to cpu 22
>> Nov 25 11:08:34 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0: 
>> Unsupported SFP+ module detected. Please replace it with a supported SFP+ 
>> module per Intel documentation, or bypass this check
>> Nov 25 11:08:35 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe0 registered
>> Nov 25 11:08:35 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe0: Intel 
>> 10Gb Ethernet
>> Nov 25 11:08:35 myhost pcplusmp: [ID 805372 kern.info] pcplusmp: 
>> pciex8086,10fb (ixgbe) instance 1 irq 0x4a vector 0x66 ioapic 0xff intin 
>> 0xff is bound to cpu 9
>> Nov 25 11:08:35 myhost pcplusmp: [ID 805372 kern.info] pcplusmp: 
>> pciex8086,10fb (ixgbe) instance 1 irq 0x4b vector 0x67 ioapic 0xff intin 
>> 0xff is bound to cpu 10
>> Nov 25 11:08:35 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe1: 
>> Unsupported SFP+ module detected. Please replace it with a supported SFP+ 
>> module per Intel documentation, or bypass this check
>> Nov 25 11:08:35 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe1 registered
>> Nov 25 11:08:35 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe1:

Re: [OmniOS-discuss] Intel Corporation 82599ES 10-Gigabit not working since upgrade to r151020

2016-11-28 Thread Richard Skelton
Hi Dan,
Sorry yes /var/adm/messages is filling up with ;-

Nov 28 08:35:17 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Failed to initialize adapter
Nov 28 08:35:17 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x41 vector 0x61 ioapic 0xff intin
0xff is bound to cpu 4
Nov 28 08:35:17 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x49 vector 0x65 ioapic 0xff intin
0xff is bound to cpu 5
Nov 28 08:35:17 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation, or bypass this check
Nov 28 08:35:17 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Invalid mac address


The initial boot has ;-
# grep ixgbe /var/adm/messages.0

Nov 25 11:08:34 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x40 vector 0x60 ioapic 0xff intin
0xff is bound to cpu 21
Nov 25 11:08:34 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x41 vector 0x61 ioapic 0xff intin
0xff is bound to cpu 22
Nov 25 11:08:34 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation, or bypass this check
Nov 25 11:08:35 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe0 registered
Nov 25 11:08:35 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe0:
Intel 10Gb Ethernet

Nov 25 11:08:35 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 1 irq 0x4a vector 0x66 ioapic 0xff intin
0xff is bound to cpu 9
Nov 25 11:08:35 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 1 irq 0x4b vector 0x67 ioapic 0xff intin
0xff is bound to cpu 10
Nov 25 11:08:35 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe1:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation, or bypass this check
Nov 25 11:08:35 myhost mac: [ID 469746 kern.info] NOTICE: ixgbe1 registered
Nov 25 11:08:35 myhost ixgbe: [ID 611667 kern.info] NOTICE: ixgbe1:
Intel 10Gb Ethernet
Nov 25 11:08:35 myhost mac: [ID 435574 kern.info] NOTICE: ixgbe0 link
up, 1 Mbps, full duplex
Nov 25 11:09:07 myhost mac: [ID 736570 kern.info] NOTICE: ixgbe0
unregistered
Nov 25 11:09:10 myhost mac: [ID 736570 kern.info] NOTICE: ixgbe1
unregistered
Nov 25 11:12:33 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x41 vector 0x61 ioapic 0xff intin
0xff is bound to cpu 8
Nov 25 11:12:33 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x49 vector 0x65 ioapic 0xff intin
0xff is bound to cpu 9
Nov 25 11:12:33 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation, or bypass this check
Nov 25 11:12:33 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Invalid mac address
Nov 25 11:12:36 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Failed to initialize adapter
Nov 25 11:12:36 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 1 irq 0x41 vector 0x61 ioapic 0xff intin
0xff is bound to cpu 10
Nov 25 11:12:36 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 1 irq 0x49 vector 0x65 ioapic 0xff intin
0xff is bound to cpu 11
Nov 25 11:12:36 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe1:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation, or bypass this check
Nov 25 11:12:36 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe1:
Invalid mac address
Nov 25 11:12:39 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe1:
Failed to initialize adapter
Nov 25 11:13:03 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x41 vector 0x61 ioapic 0xff intin
0xff is bound to cpu 12
Nov 25 11:13:03 myhost pcplusmp: [ID 805372 kern.info] pcplusmp:
pciex8086,10fb (ixgbe) instance 0 irq 0x49 vector 0x65 ioapic 0xff intin
0xff is bound to cpu 13
Nov 25 11:13:03 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Unsupported SFP+ module detected. Please replace it with a supported
SFP+ module per Intel documentation, or bypass this check
Nov 25 11:13:03 myhost ixgbe: [ID 611667 kern.warning] WARNING: ixgbe0:
Invalid mac address



Dan McDonald wrote:
> Check for any "ixgbe" output in /var/adm/messages* on your system as well, in 
> case the driver was complaining about something.
>
> It's possible the newer ixgbe is detecting something wrong with your board 
> now.  ISTR some additional checks added.
>
> Dan
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Intel Corporation 82599ES 10-Gigabit not working since upgrade to r151020

2016-11-25 Thread Richard Skelton
Hi All,
I upgraded my system to r151020 from r151018 this morning but now I see :-

root@myhost:/root# fmadm faulty
---   --
-
TIMEEVENT-ID  MSG-ID
SEVERITY
---   --
-
Nov 25 11:13:16 d0babcfc-cda3-618d-ca1e-e0b97111e6d1  PCIEX-8000-0A 
Critical
Host: myhost
Platform: ProLiant-DL385-G7 Chassis_id  : CZ214902CB
Product_sn  :
Fault class : fault.io.pciex.device-interr
Affects :
dev:pci@0,0/pci1002,5a1f@b/pci10b5,8616@0/pci10b5,8616@6/pci8086,3@0,1
  faulted and taken out of service
FRU : "MB/PCI-E Slot 3"
(hc://:product-id=ProLiant-DL385-G7:server-id=myhost:chassis-id=CZ214902CB/motherboard=0/hostbridge=6/pciexrc=6/pciexbus=9/pciexdev=0/pciexfn=0/pciexbus=10/pciexdev=6/pciexfn=0/pciexbus=15/pciexdev=0)
  faulty
Description : A problem was detected for a PCIEX device.
  Refer to http://illumos.org/msg/PCIEX-8000-0A for more
 information.
Response: One or more device instances may be disabled
Impact  : Loss of services provided by the device instances
associated with
  this fault
Action  : Schedule a repair procedure to replace the affected
device.  Use
   fmadm faulty to identify the device or contact Sun for support.
 ---   --
-
TIMEEVENT-ID  MSG-ID
SEVERITY
---   --
-
Sep 13 15:59:14 540f3aea-a6ab-e70e-8c6b-8b79bba9d1eb  PCIEX-8000-0A 
Critical
Host: myhost
Platform: ProLiant-DL385-G7 Chassis_id  : CZ214902CB
Product_sn  :
Fault class : fault.io.pciex.device-interr
Affects :
dev:pci@0,0/pci1002,5a1f@b/pci10b5,8616@0/pci10b5,8616@6/pci8086,3@0
 
faulted and taken out of service
FRU : "MB/PCI-E Slot 3"
(hc://:product-id=ProLiant-DL385-G7:server-id=myhost:chassis-id=CZ214902CB/motherboard=0/hostbridge=6/pciexrc=6/pciexbus=9/pciexdev=0/pciexfn=0/pciexbus=10/pciexdev=6/pciexfn=0/pciexbus=15/pciexdev=0)
  faulty
Description : A problem was detected for a PCIEX device.
  Refer to http://illumos.org/msg/PCIEX-8000-0A for more
  information.
Response: One or more device instances may be disabled
Impact  : Loss of services provided by the device instances
associated with
  this fault
Action  : Schedule a repair procedure to replace the affected
device.  Use
  fmadm faulty to identify the device or contact Sun for support

I also see :-

root@myhost:/root# fmdump -e

 

Nov 25 12:37:06.0565 ereport.io.service.lost
Nov 25 12:37:06.1043 ereport.io.device.inval_state
Nov 25 12:37:09.1068 ereport.io.service.lost
Nov 25 12:37:27.0156 ereport.io.device.inval_state
Nov 25 12:37:30.0181 ereport.io.service.lost
Nov 25 12:37:30.0661 ereport.io.device.inval_state
Nov 25 12:37:33.0686 ereport.io.service.lost
Nov 25 12:37:33.1149 ereport.io.device.inval_state

 

root@myhost:/root# prtdiag -v
System Configuration: HP ProLiant DL385 G7
BIOS Configuration: HP A18 02/02/2014
BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)
 Processor Sockets  
Version  Location Tag
 --
AMD Opteron(tm) Processor 6176 SE Proc 1
AMD Opteron(tm) Processor 6176 SE Proc 2
 Memory Device Sockets 
TypeStatus Set Device Locator  Bank Locator
--- -- --- --- 
DDR3in use 1   Proc 1 DIMM 1A
DDR3empty  2   Proc 1 DIMM 2I
DDR3in use 3   Proc 1 DIMM 3E
DDR3in use 4   Proc 1 DIMM 4C
DDR3empty  5   Proc 1 DIMM 5K
DDR3in use 6   Proc 1 DIMM 6G
DDR3in use 7   Proc 1 DIMM 7B
DDR3empty  8   Proc 1 DIMM 8J
DDR3in use 9   Proc 1 DIMM 9F
DDR3in use 10  Proc 1 DIMM 10D
DDR3empty  11  Proc 1 DIMM 11L
DDR3in use 12  Proc 1 DIMM 12H
DDR3in use 13  Proc 2 DIMM 1A
DDR3empty  14  Proc 2 DIMM 2I
DDR3in use 15  Proc 2 DIMM 3E
DDR3in use 16  Proc 2 DIMM 4C
DDR3empty  17  Proc 2 DIMM 5K
DDR3in use 18  Proc 2 DIMM 6G
DDR3in use 19  Proc 2 DIMM 7B
DDR3empty  20  Proc 2 DIMM 8J
DDR3in use 21  Proc 2 DIMM 9F
DDR3in use 22  Proc 2 DIMM 10D
DDR3empty  23  Proc 2 DIMM 11L
DDR3in use 24  Proc 2 DIMM 12H 
 On-Board Devices = 
 Upgradeable Slots  
ID  StatusType Description
--- -  
1   available PCI Exp. Gen 2 x8 PCI-E Slot 1
2   in usePCI Exp. 

Re: [OmniOS-discuss] LX zone console broken

2016-10-11 Thread Richard Skelton
Hi All,
Dan provided an updated lx_brand file which I installed in
/usr/kernel/brand/amd64/lx_brand
After a reboot of the global zone all is now working :-)

CentOS release 6.8 (Final)
Kernel 2.6.32 on an x86_64

lx0 login:



Dan McDonald wrote:
>> On Oct 11, 2016, at 12:52 PM, Dan McDonald  wrote:
>>
>> I'm going to check with SmartOS, and see if this is something I fubared, or 
>> if it's an upstream (i.e. their) problem too.  I suspect I mismerged 
>> something.  It's fairly new, because I swear I used to see CentOS 6 consoles 
>> during the io-lx days.
>> 
>
> Not mismerge, but missing bugfix:
>
> OS-5685 LTP vhangup02 fails and passes
>
> Could you do me a favor and test a replacement lx_brand binary?  Please 
> respond unicast, and we'll report back to the list once your post-fix 
> findings match mine.  :)
>
> Thanks,
> Dan
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX zone console broken

2016-10-11 Thread Richard Skelton
Hi Dan,
I used :-
curl -o centos6.zss.gz
https://images.joyent.com/images/5b7e86e4-2797-11e6-b7d7-cbe6a1a48791/file
zoneadm -z lx0 install -s /root/centos6.zss.gz
zoneadm -z lx0 boot;zlogin -C lx0

Dan McDonald wrote:
>> On Oct 11, 2016, at 3:47 AM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Hi,
>> I have a working LX zone which I am using to run Review Board: 
>> https://www.reviewboard.org/news
>> I am using the bloody ISO image I downloaded at the weekend.
>> The only problem I have is the console login prompt fails.
>> If i do :-
>> # zlogin -C lx0
>> I see a no prompt.
>> I can access the zone with :-
>> # zlogin lx0
>> Looking in /var/log/messages I can see :-
>> Oct 10 20:35:13 lx0 /sbin/mingetty[1371]: console: vhangup() failed
>> Oct 10 20:35:18 lx0 init: tty (console) main process (1371) terminated with 
>> status 1
>> Oct 10 20:35:18 lx0 init: tty (console) main process ended, respawning
>> Oct 10 20:35:18 lx0 /sbin/mingetty[1374]: console: vhangup() failed
>> 
>
> Which image did you install?
>
> I've seen lots of console problems, even on SmartOS.
>
> Dan
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX zone console broken

2016-10-11 Thread Richard Skelton
Hi Dan,
I used :-
curl -o centos6.zss.gz
https://images.joyent.com/images/5b7e86e4-2797-11e6-b7d7-cbe6a1a48791/file
zoneadm -z lx0 install -s /root/centos6.zss.gz
zoneadm -z lx0 boot;zlogin -C lx0

Dan McDonald wrote:
>> On Oct 11, 2016, at 3:47 AM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Hi,
>> I have a working LX zone which I am using to run Review Board: 
>> https://www.reviewboard.org/news
>> I am using the bloody ISO image I downloaded at the weekend.
>> The only problem I have is the console login prompt fails.
>> If i do :-
>> # zlogin -C lx0
>> I see a no prompt.
>> I can access the zone with :-
>> # zlogin lx0
>> Looking in /var/log/messages I can see :-
>> Oct 10 20:35:13 lx0 /sbin/mingetty[1371]: console: vhangup() failed
>> Oct 10 20:35:18 lx0 init: tty (console) main process (1371) terminated with 
>> status 1
>> Oct 10 20:35:18 lx0 init: tty (console) main process ended, respawning
>> Oct 10 20:35:18 lx0 /sbin/mingetty[1374]: console: vhangup() failed
>> 
>
> Which image did you install?
>
> I've seen lots of console problems, even on SmartOS.
>
> Dan
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] omniti/database/mysql-55 keeps on stopping

2016-10-04 Thread Richard Skelton
Hi,
I have installed the
pkg://ms.omniti.com/omniti/database/mysql-55@5.5.50-0.151014:20160722T162252Z
in a zone on my OmniOS v11 r151018 system
Which has stopped and I don't see any core file.
Looking in the .err log file I can see my restart but no message why it
crashed.

160913 22:19:58  InnoDB: Waiting for the background threads to start
160913 22:19:59 InnoDB: 5.5.50 started; log sequence number 0
160913 22:19:59 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160913 22:19:59 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
160913 22:19:59 [Note] Server socket created on IP: '0.0.0.0'.
160913 22:19:59 [Note] Event Scheduler: Loaded 0 events
160913 22:19:59 [Note] /opt/mysql55/bin/mysqld: ready for connections.
Version: '5.5.50'  socket: '/tmp/mysql.sock'  port: 3306  MySQL
Community Server (GPL)
161003 20:48:44 mysqld_safe Starting mysqld daemon with databases from
/opt/mysql55/data
161003 20:48:44 [Note] /opt/mysql55/bin/mysqld (mysqld 5.5.50) starting
as process 4098 ...
161003 20:48:44 [Note] Plugin 'FEDERATED' is disabled.
161003 20:48:44 InnoDB: The InnoDB memory heap is disabled
161003 20:48:44 InnoDB: Mutexes and rw_locks use GCC atomic builtins
161003 20:48:44 InnoDB: Compressed tables use zlib 1.2.3
161003 20:48:44 InnoDB: Initializing buffer pool, size = 128.0M
161003 20:48:44 InnoDB: Completed initialization of buffer pool
161003 20:48:44 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
161003 20:48:44  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
161003 20:48:44  InnoDB: Waiting for the background threads to start
161003 20:48:45 InnoDB: 5.5.50 started; log sequence number 1595675
161003 20:48:45 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
161003 20:48:45 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
161003 20:48:45 [Note] Server socket created on IP: '0.0.0.0'.
161003 20:48:45 [Note] Event Scheduler: Loaded 0 events
161003 20:48:45 [Note] /opt/mysql55/bin/mysqld: ready for connections.


Can I set more detailed logging ?

Cheers
Richard.
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] How can I increase the number of file descriptors for the apache service

2016-09-22 Thread Richard Skelton
Hi,
I have installed the apache22 package from ms.omniti.com and enabled the
service included.
I now fined the httpd has only 256 file descriptors.
plimit 1188
1188:   /opt/apache22/bin/amd64/httpd -f /opt/apache22/conf/httpd.conf
-k star
   resource  current maximum
  time(seconds) unlimited   unlimited
  file(blocks)  unlimited   unlimited
  data(kbytes)  unlimited   unlimited
  stack(kbytes) 10240   unlimited
  coredump(blocks)  unlimited   unlimited
  nofiles(descriptors)  256 65536
  vmemory(kbytes)   unlimited   unlimited

The service starts httpd :-
/opt/apache22/bin/httpd -f /opt/apache22/conf/httpd.conf -k start
Found that by running :-
svccfg -s svc:/network/http:apache22 listprop start/exec
start/exec  astring  "/opt/apache22/bin/httpd -f
/opt/apache22/conf/httpd.conf -k start"

How do I set the file descriptors to 1024?

Cheers
Richard

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] I would like to create a zfs file system in my zone

2016-09-18 Thread Richard Skelton
Hi,
I would like to create a zfs file system in my zone and create snapshots
like I would in a global zone.
In the zone I see:-
root@fred5:/root# zfs list
NAME   USED  AVAIL  REFER  MOUNTPOINT
rpool 38.6G  93.2G  23.5K  /rpool
rpool/zones   2.94G  93.2G19K  /zones
rpool/zones/fred5   1.85G  93.2G19K  /zones/fred5
rpool/zones/fred5/ROOT  1.85G  93.2G19K  legacy
rpool/zones/fred5/ROOT/zbe  1.85G  93.2G  1.85G  legacy
root@fred5:/root# ls /zones/fred5
ls: cannot access '/zones/fred5': No such file or directory
root@fred5:/root# zpool list
NAMESIZE  ALLOC   FREE  EXPANDSZ   FRAGCAP  DEDUP  HEALTH  ALTROOT
rpool   136G  30.3G   106G -19%22%  1.00x  ONLINE  -
root@fred5:/root#

Before I install any optional software I would like to create a zfs file
system and mount it on /opt in the zone.
How can I do this?

Cheers
Richard
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Zone network fails to work.

2016-09-12 Thread Richard Skelton
Sorry in my haste I posted fred not fred5
See corrections below :-)

Richard Skelton wrote:
> Hi,
> I have a Sun X4170 with igb network.
> I am using omnios-r151018-ae3141d
> Here are my steps to create a zone called fred5 :-
> dladm show-phys
> LINK MEDIASTATE  SPEED  DUPLEXDEVICE
> usbecm0  Ethernet down   10 full  usbecm0
> igb2 Ethernet unknown0  half  igb2
> igb0 Ethernet up 1000   full  igb0
> igb3 Ethernet unknown0  half  igb3
> igb1 Ethernet unknown0  half  igb1
>
>
> dladm create-vnic -l igb0 fred5
> zfs create -o mountpoint=/zones rpool/zones
>
> /usr/sbin/zonecfg -z fred5
>
> create
> set zonepath=/zones/fred5
> set autoboot=true
> set limitpriv=default,dtrace_proc,dtrace_user
> set ip-type=exclusive
> add net
> set physical=fred5
> end
> verify
> commit
> exitz
> oneadm -z fred5 install
> zoneadm -z fred5 boot
> zlogin -e+ -C fred5
>
> dladm show-vnic
> LINK OVER SPEED  MACADDRESSMACADDRTYPE VID
> fred5  ?1000   2:8:20:f4:52:49   random  0
>
> ipadm create-if fred5
>
> ipadm create-addr -T static -a 192.168.240.214/24 fred5/v4static
> route -p add default 192.168.240.254
>
> ping 192.168.240.214
> 192.168.240.214 is alive
> ping 192.168.240.254
> no answer from 192.168.240.254
>
>
> ifconfig  
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
> 8232 index 1
> inet 127.0.0.1 netmask ff00
> fred5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
> inet 192.168.240.214 netmask ff00 broadcast 192.168.240.255
> ether 2:8:20:f4:52:49
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
> 8252 index 1
> inet6 ::1/128
> fred5: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
> inet6 ::/0
> ether 2:8:20:f4:52:49
>
>
> What am I missing :-(
>
> Cheers
> Richard
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Zone network fails to work.

2016-09-12 Thread Richard Skelton
Hi,
I have a Sun X4170 with igb network.
I am using omnios-r151018-ae3141d
Here are my steps to create a zone called fred :-
dladm show-phys
LINK MEDIASTATE  SPEED  DUPLEXDEVICE
usbecm0  Ethernet down   10 full  usbecm0
igb2 Ethernet unknown0  half  igb2
igb0 Ethernet up 1000   full  igb0
igb3 Ethernet unknown0  half  igb3
igb1 Ethernet unknown0  half  igb1


dladm create-vnic -l igb0 fred
zfs create -o mountpoint=/zones rpool/zones

/usr/sbin/zonecfg -z fred

create
set zonepath=/zones/fred
set autoboot=true
set limitpriv=default,dtrace_proc,dtrace_user
set ip-type=exclusive
add net
set physical=fred
end
verify
commit
exitz
oneadm -z fred install
zoneadm -z fred boot
zlogin -e+ -C fred

dladm show-vnic
LINK OVER SPEED  MACADDRESSMACADDRTYPE VID
fred  ?1000   2:8:20:f4:52:49   random  0

ipadm create-if fred

ipadm create-addr -T static -a 192.168.240.214/24 fred/v4static
route -p add default 192.168.240.254

ping 192.168.240.214
192.168.240.214 is alive
ping 192.168.240.254
no answer from 192.168.240.254


ifconfig  
lo0: flags=2001000849 mtu
8232 index 1
inet 127.0.0.1 netmask ff00
fred: flags=1000843 mtu 1500 index 2
inet 192.168.240.214 netmask ff00 broadcast 192.168.240.255
ether 2:8:20:f4:52:49
lo0: flags=2002000849 mtu
8252 index 1
inet6 ::1/128
fred: flags=20002000840 mtu 1500 index 2
inet6 ::/0
ether 2:8:20:f4:52:49


What am I missing :-(

Cheers
Richard
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LTS r151014 installation issue from USB stick

2016-08-05 Thread Richard Skelton
Hi Krzysztof,
This may work for you :-
http://www.ebuyer.com/184688-startech-4-port-pci-express-low-profile-usb2-0-card-pexusb4dp

Krzysztof Grzempa wrote:
> Ok, 2 days spent on trying boot this up...
>
> I tried to boot some usb linux distro to check lspci and find it out
> if i have 2.0 usb ports as it is in specification (Eric Sproul advice)
> and i couldn't do that too!!
> I tried vary distros with no luck. The one and only distro which i
> could boot up without problem is Debian. That works pretty well with
> usb2 and usb3 ports.
>
>
> On debian i checked usb ports and there are 2.0 capable port.
> So this brings me to thought that it is motherboard (ASRock N3700-itx)
> fault. I did some search on the net and found some people
> expieriencing similiar behaviour, and I even found people that have
> problems to make usb3 working correctly on windows.
> I think this motherboard is using some weird chipset for usb, and
> thats why most linux distros can't recognize it. So if linux has
> problems, Illumos will have it too surely...
>
> Unfortunatly, the only solution to make this rig running OmniOS is to
> install USB2 pci-e card or to boot it up with SATA CD drive.
> First option is quite difficult because i cannot find USB2.0 pci-e
> card on the market. Second option i will have to buy sata cd drive,
> but even if i install OmniOS on it i wont be able to use any USB on my
> rig...damn.
>
> Regards
> Krzysztof
>
> 2016-08-04 12:04 GMT+02:00 Krzysztof Grzempa  >:
>
> I see that this is not only OmniOS problem, whole Illumos has no
> USB3 support at all...
>
> https://github.com/gdamore/illumos-core/issues/107
> 
>
> 2016-08-04 0:03 GMT+02:00 Guenther Alka  >:
>
> I was able to install OmniOS on the new SM X11 boards when
>
> - using a CD with the .iso
> with an Sata CD drive
>
> bios settings
> - Advanced > Boot: Install Windows 7 USB support: enabled
> - Boot > Boot mode: Legacy
>
> or
> you need a pci-e USB 2 card
>
> Gea
>
>
> Am 03.08.2016 um 23:00 schrieb Krzysztof Grzempa:
>> Ok, i will check it tommorow...but it shame anyway that 3.0
>> is not supported. I have no ATA port available on my
>> motherboard so if you're right im stuck..
>>
>> 2016-08-03 22:32 GMT+02:00 Eric Sproul
>> >:
>>
>> On Wed, Aug 3, 2016 at 4:18 PM, Krzysztof Grzempa
>> > wrote:
>> > Ok, i used USB3 port indeed...but i also have 2 USB 2.0,
>> so i tried luck
>> > with thosethe same effect... :(
>>
>> I have a motherboard [1] that claims to have USB 2.0
>> ports but they
>> are, in fact, just USB 3.0 ports in disguise. I had to
>> add in a real
>> USB 2.0 card to get a working console keyboard. And even
>> then, I have
>> to switch back to the onboard ports to use the keyboard
>> in BIOS. :(
>>
>> If you can boot the machine into a Linux LiveCD or
>> something, a look
>> at `lspci` output could answer whether you have real USB
>> 2.0 or just
>> USB 3.0 in disguise.  The onboard USB of my board is this:
>>
>> 00:14.0 USB controller [0c03]: Intel Corporation Sunrise
>> Point-H USB
>> 3.0 xHCI Controller [8086:a12f] (rev 31)
>>
>> Eric
>>
>> [1]
>> 
>> https://www.supermicro.com/products/motherboard/Xeon/C236_C232/X11SSM-F.cfm
>> 
>> 
>>
>>
>>
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com 
>> 
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss 
>> 
>> 
>
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> 
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
>
>
>
> 
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com

Re: [OmniOS-discuss] Multiple faulty SSD's ?

2016-07-26 Thread Richard Skelton
Hi Shaun,
I have seen something very similar on an Oracle X4-2
I added two 256MB Samsung 850 PRO and created a mirrored zpool
The system zpool was a mirror of two SAS Seagate 600GB which came withe
the system.
The system was running Solaris 10 with latest patches.
After a few hours I saw checksum errors on both disks.
Oracle told me they did not support the Samsung disks so I swapped them
for Intel DC S3500 which have been working fine for months.
The 850 PRO drives worked fine on a X4140 but this has a different raid
controller.
So I guess you need to be careful which SSD's you use with certain
controllers :-(

Shaun McGuane wrote:
>
> Hi List,
>
>  
>
> I want to report very strange SSD behaviour on a new pool I setup.
>
>  
>
> The hardware is a HP DL180 G6 Server with the LSI 9207-8i Card
>
> And 8x 1TB Samsung SSD Pro drives. Running omnios-10b9c79
>
>  
>
> All the drives are brand spanking new setup in a raidz2 array.
>
>  
>
> Within 2 months the below has happened and there has been very
>
> Little use on this array.
>
>  
>
>   pool: SSD-TANK
>
> state: DEGRADED
>
> status: One or more devices are faulted in response to persistent errors.
>
> Sufficient replicas exist for the pool to continue functioning
> in a
>
> degraded state.
>
> action: Replace the faulted device, or use 'zpool clear' to mark the
> device
>
> repaired.
>
>   scan: scrub repaired 23K in 1h12m with 0 errors on Mon Jul 25
> 20:13:04 2016
>
> config:
>
>  
>
> NAME   STATE READ WRITE CKSUM
>
> SSD-TANK   DEGRADED 16735
>
>   raidz2-0 DEGRADED 472   113
>
> c5t500253884014D0D3d0  ONLINE   0 0 2
>
> c5t50025388401F767Ad0  DEGRADED 0 019  too
> many errors
>
> c5t50025388401F767Bd0  FAULTED  0 0 0  too
> many errors
>
> c5t50025388401F767Dd0  ONLINE   0 0 0
>
> c5t50025388401F767Fd0  ONLINE   0 0 1
>
> c5t50025388401F7679d0  ONLINE   0 0 2
>
> c5t50025388401F7680d0  REMOVED  0 0 0
>
> c5t50025388401F7682d0  ONLINE   0 0 1
>
>  
>
> Can anyone suggest why I would have this problem where I am seeing
> CKSUM errors
>
> On most disks and while only one has faulted others have been degraded
> or removed.
>
>  
>
> Thanks
>
> Shaun
>
> 
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] How do I start apache when installed from ms.omniti.com repo

2016-07-05 Thread Richard Skelton
Hi Volker,
Thanks for that :-)
I ran :-
svccfg import /opt/apache22/conf/http-apache.xml
then mkdir /www
svcadm enable svc:/network/http:apache22
but it fails :-
httpd: Syntax error on line 116 of /opt/apache22/conf/httpd.conf: Cannot
load /opt/apache22/libexec/amd64/mod_log_rotate.so into server: ld.so.1:
httpd: fatal: /opt/apache22/libexec/amd64/mod_log_rotate.so: open
failed: No such file or directory

I can see there is a pkg
omniti/server/apache22/mod_log_rotate@2-0.151014:20150611T161005Z


Is there a way to install all the dependent packages?


Volker A. Brandt wrote:
>> I have installed the apache pkg from ms.omniti.com
>> pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com
>> pkg install apache22
>> pkg install php-54
>> pkg install mysql-55
>>
>> Are there any SMF manifest?
>> 
>
> The SMF manifest for the ms.omniti.com version of the Apache 2.2 package
> is included; check the file "/opt/apache22/conf/http-apache.xml".
>
>
> Regards -- Volker
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] How do I start apache when installed from ms.omniti.com repo

2016-07-05 Thread Richard Skelton
Hi
I have installed the apache pkg from ms.omniti.com
pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com
pkg install apache22
pkg install php-54
pkg install mysql-55

Are there any SMF manifest?

I  also need to config php 5.4 and start mysql 55

Any help much appreciated

Cheer
Richard.
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Need a way to set the drive locater leds for a 9300-16i HBA

2016-06-07 Thread Richard Skelton
 invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
Jun  7 11:22:54 skelly scsi: [ID 107833 kern.warning] WARNING: 
/pci@7a,0/pci8086,2f06@2,2/pci10b5,8724@0/pci10b5,8724@0/pci1000,3130@0 
(mpt_sas4):
Jun  7 11:22:54 skelly   FW Upload tce invalid!
root@skelly:/root#




Matej Z(erovnik wrote:
> Try this util, it works for me: 
> https://github.com/Nexenta/nza-userland/tree/master/nza-userland/components/sas3ircu/usr/sbin
>
> Matej
>
>   
>> On 07 Jun 2016, at 03:54, Dale Ghent <da...@omniti.com> wrote:
>>
>>
>> Oracle Solaris and illumos-based distros such as OmniOS have diverged in 
>> many places, sometimes subtly. At the end of the day, you're using a tool 
>> designed on and for Oracle Solaris, so the lack of expected results 
>> elsewhere is not entirely surprising. You may want to try with an older 
>> version of the sas3ircu binary.
>>
>> 
>>> On Jun 6, 2016, at 6:13 PM, Richard Skelton <skelt...@btconnect.com> wrote:
>>>
>>> Hi,
>>> I now have a 9300-16i HBA working with OmniOS r151018-ae3141d but need a
>>> way to set the drive locater leds.
>>> I have downloaded SAS3IRCU_P12.zip but sas3ircu LIST shows no
>>> controllers :-(
>>>
>>>
>>>
>>> root@skelly:/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel# ./sas3ircu LIST
>>> Avago Technologies SAS3 IR Configuration Utility.
>>> Version 13.00.00.00 (2016.03.08)
>>> Copyright (c) 2009-2016 Avago Technologies. All rights reserved.
>>>
>>> SAS3IRCU: No Controllers Found.
>>> root@bskelly:/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel# truss ./sas3ircu 
>>> LIST
>>> execve("sas3ircu", 0x08047CE0, 0x08047CEC)  argc = 2
>>> sysinfo(SI_MACHINE, "i86pc", 257)   = 6
>>> mmap(0x, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 
>>> -1, 0) = 0xFEFB
>>> mmap(0x, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 
>>> 0xFEFA
>>> mmap(0x, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 
>>> 0xFEF9
>>> mmap(0x, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, 
>>> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF8
>>> memcntl(0xFEFB5000, 48396, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
>>> memcntl(0x0805, 22240, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
>>> resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
>>> getcwd("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel", 1014) = 0
>>> resolvepath("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 
>>> "/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 1023) = 52
>>> stat64("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 0x08047974) 
>>> = 0
>>> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
>>> sysconfig(_CONFIG_PAGESIZE) = 4096
>>> stat64("/usr/sfw/lib/libdevinfo.so.1", 0x08047194) Err#2 ENOENT
>>> stat64("/lib/libdevinfo.so.1", 0x08047194)  = 0
>>> resolvepath("/lib/libdevinfo.so.1", "/lib/libdevinfo.so.1", 1023) = 20
>>> open("/lib/libdevinfo.so.1", O_RDONLY)  = 3
>>> mmapobj(3, MMOBJ_INTERPRET, 0xFEF80AA8, 0x08047200, 0x) = 0
>>> close(3)

[OmniOS-discuss] Need a way to set the drive locater leds for a 9300-16i HBA

2016-06-06 Thread Richard Skelton
Hi,
I now have a 9300-16i HBA working with OmniOS r151018-ae3141d but need a
way to set the drive locater leds.
I have downloaded SAS3IRCU_P12.zip but sas3ircu LIST shows no
controllers :-(



root@skelly:/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel# ./sas3ircu LIST
Avago Technologies SAS3 IR Configuration Utility.
Version 13.00.00.00 (2016.03.08)
Copyright (c) 2009-2016 Avago Technologies. All rights reserved.

SAS3IRCU: No Controllers Found.
root@bskelly:/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel# truss ./sas3ircu LIST
execve("sas3ircu", 0x08047CE0, 0x08047CEC)  argc = 2
sysinfo(SI_MACHINE, "i86pc", 257)   = 6
mmap(0x, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 
0) = 0xFEFB
mmap(0x, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 
0xFEFA
mmap(0x, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 
0xFEF9
mmap(0x, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 
-1, 0) = 0xFEF8
memcntl(0xFEFB5000, 48396, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
memcntl(0x0805, 22240, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
getcwd("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel", 1014) = 0
resolvepath("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 
"/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 1023) = 52
stat64("/root/SAS3IRCU_P12/sas3ircu_solaris_x86_rel/sas3ircu", 0x08047974) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
sysconfig(_CONFIG_PAGESIZE) = 4096
stat64("/usr/sfw/lib/libdevinfo.so.1", 0x08047194) Err#2 ENOENT
stat64("/lib/libdevinfo.so.1", 0x08047194)  = 0
resolvepath("/lib/libdevinfo.so.1", "/lib/libdevinfo.so.1", 1023) = 20
open("/lib/libdevinfo.so.1", O_RDONLY)  = 3
mmapobj(3, MMOBJ_INTERPRET, 0xFEF80AA8, 0x08047200, 0x) = 0
close(3)= 0
memcntl(0xFEF5, 26820, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
stat64("/usr/sfw/lib/libc.so.1", 0x08047194)Err#2 ENOENT
stat64("/lib/libc.so.1", 0x08047194)= 0
resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
open("/lib/libc.so.1", O_RDONLY)= 3
mmapobj(3, MMOBJ_INTERPRET, 0xFEFFDDD0, 0x08047200, 0x) = 0
close(3)= 0
mmap(0x, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 
-1, 0) = 0xFEDE
memcntl(0xFEDF, 254776, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
mmap(0x0001, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDD
getcontext(0x080477B4)
getrlimit(RLIMIT_STACK, 0x080477AC) = 0
getpid()= 1657 [1656]
lwp_private(0, 1, 0xFEDD2A40)   = 0x01C3
setustack(0xFEDD2AA0)
lwp_cond_broadcast(0xFEDE00FC)  = 0
lwp_cond_broadcast(0xFEF80C8C)  = 0
lwp_cond_broadcast(0xFEF805FC)  = 0
sysi86(SI86FPSTART, 0xFEF46E6C, 0x133F, 0x1F80) = 0x0001
ioctl(1, TCGETA, 0x08046D9E)= 0
fstat64(1, 0x08046CE0)  = 0
Avago Technologies SAS3 IR Configuration Utility.
write(1, " A v a g o   T e c h n o".., 50)  = 50
Version 13.00.00.00 (2016.03.08)
write(1, " V e r s i o n   1 3 . 0".., 34)  = 34
Copyright (c) 2009-2016 Avago Technologies. All rights reserved.

write(1, " C o p y r i g h t   ( c".., 67)  = 67
brk(0x080912D8) = 0
brk(0x080932D8) = 0
sysconfig(_CONFIG_PAGESIZE) = 4096
open("/devices/pseudo/devinfo@0:devinfo", O_RDONLY) = 3
ioctl(3, DINFOIDENT, 0x)= 57311
ioctl(3, 0xDF07, 0x08046D1C)= 629484
brk(0x080932D8) = 0
brk(0x0812D2D8) = 0
ioctl(3, DINFOUSRLD, 0x08092000)= 630784
close(3)= 0
sysconfig(_CONFIG_PAGESIZE) = 4096
SAS3IRCU: No Controllers Found.
write(1, " S A S 3 I R C U :   N o".., 32)  = 32
_exit(1)


Cheers
Richard.



___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LSI3108

2016-05-24 Thread Richard Skelton
Hi Matej,
How did you get the mpt_sas driver to attach to your card ?
Looks like your device id is pci1000,30a0.
>From prtconf -d I see for my SAS 9305-24i :-
pci1000,31a0 (pciex1000,c4) [LSI Logic / Symbios Logic
SAS3224 PCI-Express Fusion-MPT SAS-3] (driver not attached)

lspci does not sow the card :-(

Matej Žerovnik wrote:
> There is even an updated version of P20 that should eliminate the
> problems. I think the version number is 20.04.000 where the broken
> version was 20.02.000. I think I read about that on FreeNAS forum.
>
> As far as 12G goes, I’m about to run P12. I did some tests and so far
> no problems apart from FW upload tce invalid warning when I run
> sas3ircu list
> May 19 12:11:34 node scsi: [ID 107833 kern.warning] WARNING:
> /pci@74,0/pci8086,2f08@3/pci1000,30a0@0 (mpt_sas8):
> May 19 12:11:34 node FW Upload tce invalid!
>
> Matej
>
>> On 23 May 2016, at 22:23, Schweiss, Chip > > wrote:
>>
>>
>> On Mon, May 23, 2016 at 3:18 PM, Dan McDonald > > wrote:
>>
>>
>> > On May 23, 2016, at 4:10 PM, Fábio Rabelo
>> > wrote:
>> >
>> > Hi to all ...
>> >
>> > You may need to flash the IT firmware :
>> >
>> > 
>> http://www.avagotech.com/products/server-storage/host-bus-adapters/sas-9305-24i#downloads
>>
>> And if you do, make sure it's version 19 or lower.  The IT
>> firmware > 19 is known to be flaky.  Check the illumos list
>> archives for details on why.
>>
>>
>> That only on the 6G HBA.   On the 12G HBA version 12 is the newest.  
>> I haven't heard any preferred versions on these.  I've been running
>>  v10 for several months now without issue.
>>
>> -Chip
>>  
>>
>>
>> Dan
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> 
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com 
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
> 
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LSI3108

2016-05-23 Thread Richard Skelton
Hi,
I have SAS 9305-24i Host Bus Adapter but it not seen by OmniOS
Which driver should it use? Can it be configured?
Also the Intel X520-DA2 and the onboard  X540 are also not recognised.
Both should use the ixgbe drive ?
What information do you need to add to a OmniOS r15018 system.



Dan McDonald wrote:
>> On Mar 3, 2016, at 1:46 PM, Fábio Rabelo  wrote:
>>
>>
>> I have a customer who wants to build a pure SSD Storage with Sandisk
>> 12 Gb/s SAS interface !
>> 
>
> Get an LSI 3008-based card.  The 9300, for example.
>
> Dan
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] OmniOS r151016 is now out!

2015-11-10 Thread Richard Skelton
Hi Dan,
I am using the CD iso r151016 image and the installer drops back to the
installation menu if I select the Europe time zone.
If I select UTC/GMT the installer continues to the next screen "Date and
Time"
This did work in previous releases.

Dan McDonald wrote:
> Say hello to OmniOS r151016:
>
>   http://omnios.omniti.com/wiki.php/ReleaseNotes/r151016
>
> The big highlights include:
>
>   - Userland now compiled with gcc5.1.
>
>   - New and complete "illumos-tools" package available for more expedient 
> illumos development
>
>   - netperf and iperf now available for all of your network measuring 
> needs.
>
>   - Up to date with October illumos-gate
>
>   - New installs get OpenSSH by default, and OpenSSH is now easier to 
> switch to or from.  (Thanks to Lauri "lotheac" Tirkkonen for this!)
>
> OmniOS r151016 is the next Stable release.  r151014 now assumes its role as 
> LTS.  (There will be an r151014 update later this week, with one bugfix from 
> illumos-gate that needs to be brought back.)
>
> If you took advantage of linked-image zones in r151014, make sure you read 
> the upgrade instructions.  You can do it more quickly than in the past, but 
> it requires a bit of setup.
>
> Thank you to the OmniOS community for your feedback and support!
> Dan McDonald -- OmniOS Engineering
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /tank/repo '*' seems to be broken

2015-10-27 Thread Richard Skelton
Hi Dan,
Now I get :-
root@hp:/root/fio-2.1.10# pkgrecv  -s
http://pkg.omniti.com/omnios/r151014/ -d /tank/repo '*'
Processing packages for publisher omnios ...
Retrieving and evaluating 6160 package(s)...
PROCESS ITEMSGET (MB)   SEND
(MB)
developer/gcc480/3464 43/1853 
0/5108pkgrecv: 1: Framework error: code: 18 reason: transfer closed with
26579845 bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/81dded17f29bf94296d580fe3d197f1c650a7f98'
2: Framework error: code: 18 reason: transfer closed with 24763267 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/399f01f216d9bf29a3549821df79572a9e120401'
3: Framework error: code: 18 reason: transfer closed with 26681841 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/4c40e09a64075f6b145cc747fdd5cbc621984d16'
4: Framework error: code: 18 reason: transfer closed with 22826291 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/d371f83d2055ab737eaacb0c70f3b8e958f896ac'
5: Framework error: code: 18 reason: transfer closed with 20496851 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/399f01f216d9bf29a3549821df79572a9e120401'
6: Framework error: code: 18 reason: transfer closed with 20129541 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/81dded17f29bf94296d580fe3d197f1c650a7f98'
7: Framework error: code: 18 reason: transfer closed with 22444385 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/4c40e09a64075f6b145cc747fdd5cbc621984d16'
8: Framework error: code: 18 reason: transfer closed with 21467763 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/d371f83d2055ab737eaacb0c70f3b8e958f896ac'
9: Framework error: code: 18 reason: transfer closed with 21192525 bytes
remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/81dded17f29bf94296d580fe3d197f1c650a7f98'
10: Framework error: code: 18 reason: transfer closed with 15680195
bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/399f01f216d9bf29a3549821df79572a9e120401'
11: Framework error: code: 18 reason: transfer closed with 21010865
bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/4c40e09a64075f6b145cc747fdd5cbc621984d16'
12: Framework error: code: 18 reason: transfer closed with 19564821
bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/81dded17f29bf94296d580fe3d197f1c650a7f98'
13: Framework error: code: 18 reason: transfer closed with 21120761
bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/4c40e09a64075f6b145cc747fdd5cbc621984d16'
14: Framework error: code: 18 reason: transfer closed with 19370755
bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/d371f83d2055ab737eaacb0c70f3b8e958f896ac'
15: Framework error: code: 18 reason: transfer closed with 15824995
bytes remaining to read
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/file/1/399f01f216d9bf29a3549821df79572a9e120401'



pkgrecv: Cached files were preserved in the following directory:
/var/tmp/pkgrecv-BpcFZb
Use pkgrecv -c to resume the interrupted download.
root@hp:/root/fio-2.1.10#


Dan McDonald wrote:
>> On Oct 26, 2015, at 4:46 PM, Richard Skelton <skelt...@btconnect.com> wrote:
>>
>> Hi,
>> I am trying to make a local copy of the stable repo :-
>> pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /tank/repo '*' seems
>> to be broken
>>
>> but it fails :-(
>> 
>
> Two things.
>
> 1.) Assuming you're ON r151014 already, use "-m latest" for less transfers, 
> unless you REALLY WANT all of the historical r151014 packages.
>
>   pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /tank/repo -m 
> latest '*'
>
> 2.) I just rebuilt r151014's repo index.  Please try again (with the -m 
> latest to prevent extra transfers if needed).
>
>
> Dan
>
>
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /tank/repo '*' seems to be broken

2015-10-26 Thread Richard Skelton
Hi,
I am trying to make a local copy of the stable repo :-
pkgrecv -s http://pkg.omniti.com/omnios/r151014/ -d /tank/repo '*' seems
to be broken

but it fails :-(

root@hp:/root/fio-2.1.10# pkgrecv -s
http://pkg.omniti.com/omnios/r151014/ -d /tank/repo '*'
Processing packages for publisher omnios ...
Retrieving and evaluating 6161 package(s)...
Download Manifests ( 907/6161) -pkgrecv: http protocol error: code: 404
reason: Not Found
URL:
'http://pkg.omniti.com/omnios/r151014/omnios/manifest/0/developer%2Fillumos-tools@11%2C5.11-0.151014%3A20151016T122410Z'
(happened 4 times)

root@hp:/root/fio-2.1.10#


Cheers Richard
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss