Re: [smartos-discuss] KPTI testing help wanted (PCID edition)

2018-02-22 Thread Jorge Schrauwen

Just got it booted on on my dual Xeon Ivy Bridge.
Probably won't get to put a whole lot of load on it though.

---
~ sjorge

On 2018-02-23 08:08, Jussi Sallinen wrote:

On 23 Feb 2018, at 4.17, Alex Wilson  wrote:


Hi all,

Same deal as before, I would like to solicit testers for a DEBUG image
of KPTI with PCID support this time. I am particularly interested in
anyone who has a Nehalem or Westmere era Xeon to try this one out, as
well as anyone who can put significant load on it. Quite a few of the
bugs we've found so far have only been visible when all the CPUs were
kept busy at once. :)

Thanks again!

https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.tgz
https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.iso
https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.usb.bz2


I’ll be able to run tests on X5500 system (Fire X4170) during the
weekend, if I’m not mistaking it’s Nehalem based.

-Jussi




---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] KPTI testing help wanted (PCID edition)

2018-02-22 Thread Jussi Sallinen
On 23 Feb 2018, at 4.17, Alex Wilson  wrote:
> 
> Hi all,
> 
> Same deal as before, I would like to solicit testers for a DEBUG image
> of KPTI with PCID support this time. I am particularly interested in
> anyone who has a Nehalem or Westmere era Xeon to try this one out, as
> well as anyone who can put significant load on it. Quite a few of the
> bugs we've found so far have only been visible when all the CPUs were
> kept busy at once. :)
> 
> Thanks again!
> 
> https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.tgz
> https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.iso
> https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.usb.bz2

I’ll be able to run tests on X5500 system (Fire X4170) during the weekend, if 
I’m not mistaking it’s Nehalem based.

-Jussi


---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


[smartos-discuss] KPTI testing help wanted (PCID edition)

2018-02-22 Thread Alex Wilson
Hi all,

Same deal as before, I would like to solicit testers for a DEBUG image
of KPTI with PCID support this time. I am particularly interested in
anyone who has a Nehalem or Westmere era Xeon to try this one out, as
well as anyone who can put significant load on it. Quite a few of the
bugs we've found so far have only been visible when all the CPUs were
kept busy at once. :)

Thanks again!

https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.tgz
https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.iso
https://us-east.manta.joyent.com/arekinath/public/kpti/20180221T003551Z/platform-20180221T003551Z.usb.bz2



signature.asc
Description: OpenPGP digital signature




---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] Assign trunk port to KVM host in Smartos

2018-02-22 Thread Greg Treantos
"Are you saying that if I have 5 VLANs that I create 5 nics in my KVM JSON
file each tagged appropriately?  Of course they will all use the same
"trunk" physical NIC port, but the KVM will see a separate ethernet
interface for each VLAN it needs?"

Yes that is what I am saying. If you look at my JSON I have defined two
VNICs (VIFs) the VLANs for each, VLAN 100 and VLAN 173.  Also remember in
SmartOS you define the static IP address or DHCP at the JSON level not
inside the VM.



On Thu, Feb 22, 2018 at 2:23 AM, Eugene Lee  wrote:

> Hi Greg,
>
>
> Just wondering, with this comment "You can use the same wire, just tag
> each VIF with its ultimate Vlan ID and trunk at the switch."
>
>
> Are you saying that if I have 5 VLANs that I create 5 nics in my KVM JSON
> file each tagged appropriately?  Of course they will all use the same
> "trunk" physical NIC port, but the KVM will see a separate ethernet
> interface for each VLAN it needs?
>
>
>
> --
> *From:* Greg Treantos 
> *Sent:* Thursday, 22 February 2018 2:19 a.m.
>
> *To:* smartos-discuss@lists.smartos.org
> *Subject:* Re: [smartos-discuss] Assign trunk port to KVM host in Smartos
>
> Eugene,
>  I can't grab my dladm output right now. Work blocks outbound
> VPN access, I can get it tonight when I am home.
>
> I don't know if SmartOS following the VMware vlan 4095 paradigm. I would
> do a normal Vlan trunk setup with SmartOS. You can use the same wire, just
> tag each VIF with its ultimate Vlan ID and trunk at the switch. This is how
> I have it setup and all works peachy. I find the only gotcha with this is
> getting the Vlans on the switch right. I have 3 brands of switches. Going
> from trunk to port based Vlans is slightly different. They all work well
> together once setup properly.
>
> Look at my /usb/config and JSON again. You have to match the MAC on the
> physical NIC with each VIF. Then configure each VIF with its VLAN tag.
> Trunk at the switch and you will be good to go. This is probably equivalent
> to VLAN 4095 in VMWare world. Hope this makes sense.
>
> On Wed, Feb 21, 2018 at 5:32 AM, Eugene Lee  wrote:
>
> Hi Greg,
>
>
> I have 4 NICs on the box.  I am using the supermicro x10sdvf-tln4f
> motherboard (2 x 1Gb and 2 X 10Gb network ports).  I have a Ubiquiti
> Edgeswitch 24port 250W POE switch.  The port I am using for KVM traffic on
> the Ubiquiti edgeswitch has been setup as a trunk port (I use a separate
> NIC on my box for admin traffic for smartos).  I have previously got the
> setup working using VMware ESXi where I create different port groups with
> different VLANs.  In ESXi I could set a port group with VLAN ID 4095 (which
> I believe passed all tagged packets) and assign that port group to my VYOS
> machine so that I could setup different VIF IP addresses in VYOS for
> routing.  I am trying to do the same on SmartOS.  However when I try and
> ping out from my VYOS machine I dont get any network connectivity.
>
>
> Could you post your dladm show-vnic output so that I could see what is
> different?  When I do mine, I have the following for the nic I assigned to
> my VYOS KVM.  I have other nics using the same igb0 interface with
> different VID values.  Abbreviated output shown below.  So the other KVMs
> using VLANs on 90 and 77 work fine.  I am trying to get the entire "trunk"
> port passed to the VYOS KVM and tag the traffic within VYOS but it is not
> working.
>
>
>
> LINK OVER   SPEED MACADDRESSMACADDRTYPE VID  ZONE
>
> eth1 igb0  0 82:66:81:58:9f:5e fixed
> 90   9c20ce0c-64d3-6
> eth0 igb0  0 12:8c:db:7e:3:32  fixed
> 77d1ce2a61-1529-4
>
> eth0 igb0 0 c2:9a:aa:f8:41:8c   fixed
> 0 cc549d5c-9dd6-e
>
> The output of my JSON file is as follows: -
>
> {
>   "zonename": "cc549d5c-9dd6-e896-d917-b8732fb61797",
>   "autoboot": true,
>   "brand": "kvm",
>   "limit_priv": "default,-file_link_any,-net_a
> ccess,-proc_fork,-proc_info,-proc_session",
>   "v": 1,
>   "create_timestamp": "2018-01-27T08:14:49.425Z",
>   "cpu_shares": 100,
>   "max_lwps": 2000,
>   "max_msg_ids": 4096,
>   "max_sem_ids": 4096,
>   "max_shm_ids": 4096,
>   "max_shm_memory": 3072,
>   "zfs_io_priority": 100,
>   "max_physical_memory": 3072,
>   "max_locked_memory": 3072,
>   "max_swap": 3072,
>   "billing_id": "----",
>   "owner_uuid": "----",
>   "resolvers": [
>
>   ],
>   "ram": 2048,
>   "vcpus": 1,
>   "cpu_type": "host",
>   "disks": [
> {
> .
> }
>   ],
>   "vnc_port": 35285,
>   "nics": [
> {
>   "interface": "eth0",
>   "mac": "c2:9a:aa:f8:41:8c",
>   "nic_tag": "vpg4095vlan",
>   "ip": "dhcp",
>   "ips": [
> "dhcp"
>   ],
>   "model": "virtio",
>   "allow_ip_spoofing": true,
>   

Re: [smartos-discuss] apt-get upgrade in ubuntu lx zone

2018-02-22 Thread Chris Ridd

> On 21 Feb 2018, at 06:38, Daniel Plominski  wrote:
> 
> Hi Chris,
> 
> remove makedev ...
> 
> apt-get remove --purge makedev; apt-get install -f; apt-get autoclean; 
> apt-get clean; apt-get update; apt-get upgrade; apt-get dist-upgrade; apt-get 
> autoremove
> 
> reboot the lx container ... be happy ;)
> 
> Mit freundlichen Grüßen

Thanks Daniel for the Ubuntu support :-)

Everything seems good.

Chris

---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com