[smartos-discuss] Creating a persistent bridge
To create a persistent bridge would I still have to create an xml file and import it with svccfg in the global zone? For example, to have the following persist across reboots: dladm create-etherstub vswitch0dladm create-vnic -l vswitch0 vnic0dladm create-bridge -l vswitch0 bridge0dladm add-bridge -l bge0 bridge0dladm add-bridge -l bge1 bridge0 --- 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] BBR Congestion Control algorithm
>From what I've read, Google's BBR congestion control algorithm will be in the >Linux 4.9 kernel and FreeBSD has it slated for later (possibly 11 Stable or 12 >Current). Will this be making it into illumos and what would be the timeline? --- 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] X11 over VNC
Yes, I'm using the internal vnc in kvm. On Sunday, September 18, 2016 12:16 PM, Gjermund ॐ Gusland Thorsen <gjermundpri...@gmail.com> wrote: Are you using the internal VNC in the KVM? I believe certain VNC clients are incompatible. Sent from cyberspace On 18 Sep 2016, at 16:20, G B via smartos-discuss <smartos-discuss@lists.smartos.org> wrote: I'm running SmartOS 20160818T234814Z and using freebsd-10 20160415 in a KVM. I've installed a number of window managers but the mouse never works. Has anyone been able to use a window manager like WindowMaker, wmii, twm, etc., over Xming? I tried generating an xorg.conf which typically isn't needed, but it doesn't work. Here are the contents.Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/75dpi/" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "ShadowFB" # [] #Option "DefaultRefresh" # [] #Option "ModeSetClearScreen" # [] Identifier "Card0" Driver "vesa" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection | smartos-discuss | Archives | Modify Your Subscription | | --- 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] Plan9
Being interested in Plan9 I've been trying unsuccessfully to get it to boot on SmartOS with KVM. I've been able to boot and install 9front, but Plan9 from Bell Labs, including, 9legacy and 9atom have always failed. Today I was finally successful. In case anyone would also like to try this was my path to success: # qemu-img create -f qcow2 plan9.img 4G# qemu-system-x86_64 -hda plan9.img -cdrom images/plan9-bell-labs.iso -m 1024 -net nic,macaddr=ab:cd:ef:00:01:02 -enable-kvm -vnc :0 -enable-kvm -boot d -k sv -no-kvm-irqchip --- 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] FreeBSD in KVM
I've tried both moused="YES" and moused="NO" in /etc/rc.conf and the mouse pointer just sits in the middle of the screen. The xorg.conf was generated with Xorg -configure On Thursday, April 21, 2016 9:35 PM, Chuck Barker <cbar...@mountaincloud.net> wrote: You've probably already visited the FreeBSD handbook for troubleshooting tips.https://www.freebsd.org/doc/handbook/x11-understanding.html https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html If the mouse worked when at the command line, but not since X11 was installed, then check the /etc/rc.conf file. Verify a line entry exists that reads; moused_enable="NO" What commands were used to generate the xorg.conf?These commands? Xorg -configureXorg -config /root/xorg.conf.new On Thu, Apr 21, 2016 at 7:10 PM, G B via smartos-discuss <smartos-discuss@lists.smartos.org> wrote: I'm using FreeBSD 9.3-RELEASE-33 built from .iso in KVM on SmartOS 3/31 image. Everything works fine and X11 is installed and starts a window manager, except the mouse doesn't work. I've tried generating an xorg.conf with: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" Under "Section "ServerLayout"" InputDevice "Mouse0" "CorePointer" I've tried WindowMaker, XFCE, and dwm. Just an arrow in the center of the window that won't move. Any suggestions to get the mouse working? -- Press On. | smartos-discuss | Archives | Modify Your Subscription | | --- 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] FreeBSD in KVM
I'm using FreeBSD 9.3-RELEASE-33 built from .iso in KVM on SmartOS 3/31 image. Everything works fine and X11 is installed and starts a window manager, except the mouse doesn't work. I've tried generating an xorg.conf with: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" Under "Section "ServerLayout"" InputDevice "Mouse0" "CorePointer" I've tried WindowMaker, XFCE, and dwm. Just an arrow in the center of the window that won't move. Any suggestions to get the mouse working? --- 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] FreeBSD KVM image
Last week I installed the FreeBSD 10.2 image for KVM provided by Joyent. What I really like is being able to do 'vmadm console UUID' and not have to use VNC. Maybe I've done something wrong in the past, but I don't recall being able to do that. What would I need to add to be able to run 'vmadm console' when I install OpenBSD? Thanks. --- 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] Re: Trouble creating USB boot drive.
I downloaded smartos-20141225T170427Z-USB.img.bz2 twice. I've tried extracting it using Windows 8.1 and FreeBSD 10.1 and it returns an error. This is the FreeBSD output:# bunzip2 smartos-20141225T170427Z-USB.img.bz2 bunzip2: Compressed file ends unexpectedly: perhaps it is corrupted? *Possible* reason follows.bunzip2: No such file or directory Input file = smartos-20141225T1270427Z-USB.img.bz2, output file = smartos-20141225T1270427Z-USB.img It is possible that the compressed file(s) have become corrupted.You can used the -tvv option to test integrity of such files. You can used the 'bzip2recover' program to attempt to recoverdata from undamaged sections of corrupted files. bunzip2: Deleting output file smartos-20141225T1270427Z-USB.img, if it exists. # bunzip2 -tvv smartos-20141225T1270427Z-USB.img.bz2..[1: huff+mtf file ends unexpectedly I've downloaded the FreeBSD image file successfully and OmniOS successfully and wrote both to a usb and they work. On Friday, December 26, 2014 11:38 PM, Michael Leow via smartos-discuss smartos-discuss@lists.smartos.org wrote: #yiv7836900425 #yiv7836900425 --.yiv7836900425hmmessage P{margin:0px;padding:0px;}#yiv7836900425 body.yiv7836900425hmmessage{font-size:12pt;font-family:Calibri;}#yiv7836900425 FYI; I just ran the latest image update to my box yesterday without any problems; and md5sum does seem to match yours so problem must be somewhere else. I wrote the image dd-ed from my Mac. leow$ fdisk smartos-latest-USB.imgDisk: smartos-latest-USB.img geometry: 968/64/63 [3906250 sectors]Signature: 0xAA55 Starting Ending #: id cyl hd sec - cyl hd sec [ start - size]*1: 0C 0 9 34 - 243 34 63 [ 600 - 3905400] Win95 FAT32L 2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused 3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused 4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused leow$ md5 smartos-latest-USB.imgMD5 (smartos-latest-USB.img) = 10f5aa470e52ca1becbd0cf664729296 leow$ md5 smartos-latest-USB.img.bz2 MD5 (smartos-latest-USB.img.bz2) = a80cee18a2bc492bf7d9c3224a466484 I just followed the instruction on SmartOS blog; set the first partition to active and boot as per normal. No problem. Regards,Michael Leow From: smartos-discuss@lists.smartos.org To: j...@dorsal.tk; smartos-discuss@lists.smartos.org Subject: RE: [smartos-discuss] Re: Trouble creating USB boot drive. Date: Fri, 26 Dec 2014 20:27:29 -0800 #yiv7836900425 #yiv7836900425 --.yiv7836900425ExternalClass .yiv7836900425ecxhmmessage P {padding:0px;}#yiv7836900425 .yiv7836900425ExternalClass body.yiv7836900425ecxhmmessage {font-size:12pt;font-family:Calibri;}#yiv7836900425 Thank you for the reply. on my machine, $ md5sum smartos-20141225T170427Z-USB.img.bz2 returns: a80cee18a2bc492bf7d9c3224a466484 smartos-20141225T170427Z-USB.img.bz2 which matches https://us-east.manta.joyent.com/Joyent_Dev/public/builds/smartos/release-20141225-20141225T170427Z/smartos//md5sums.txt - I would like to verify the bunzip2 .img file but there is no md5sum in that txt file. $ md5sum smartos-20141225T170427Z-USB.img gives me: 10f5aa470e52ca1becbd0cf664729296 smartos-20141225T170427Z-USB.img - when I try $ fdisk -l smartos-20141225T170427Z-USB.img Disk smartos-20141225T170427Z-USB.img: 2000 MB, 20 bytes 35 heads, 63 sectors/track, 1771 cylinders, total 3906250 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System smartos-20141225T170427Z-USB.img1 * 600 3905999 1952700 c W95 FAT32 (LBA) which is matching what was written and what I think may be an error. - I am trying to mount the .img and then I would copy the contents, but I am failing that attempt: $ sudo mount -o loop smartos-20141225T170427Z-USB.img smartos_test mount: you must specify the filesystem type $ sudo mount -o loop -t auto smartos-20141225T170427Z-USB.img smartos_test mount: you must specify the filesystem type $ sudo mount -o loop -t vfat smartos-20141225T170427Z-USB.img smartos_test mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so $ dmesg | tail [14171.859012] EXT4-fs (loop0): VFS: Can't find ext4 filesystem [14171.859249] FAT-fs (loop0): invalid media value (0xc0) [14171.859259] FAT-fs (loop0): Can't find a valid FAT filesystem [14181.899940] FAT-fs
[smartos-discuss] Firewall in KVM Zone
nics: [ { index: 0, nic_tag: admin, model: virtio, allow_ip_spoofing: 1, primary: 1 }, { index: 1, nic_tag: wan, model: virtio, allow_ip_spoofing: 1 }, { index: 2, nic_tag: dmz, model: virtio, allow_ip_spoofing: 1 } ]} I have a few questions about using a KVM Zone for a firewall with either OpenBSD or NetBSD to replace my physical firewall. 1) If I use the three nic tags above, do I need to list a netmask, gateway, and ip for each tag or leave it like above?2) I need 3 interfaces for WAN, LAN, and DMZ. If I have the above, could I just use the admin for the LAN?3) What is the difference between the e1000 and virtio model for a nic?4) I'd need to assign a specific nic (e.g., external WAN) for the firewall, so do I add that to the /usbkey/config file with a tag like WAN (i.e., index 1 above) along with the MAC of the device? --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] imgadm
A subsequent import for that image along with a standard64 14.2.1 image worked. On Monday, November 10, 2014 7:32 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 11/9/14 8:07 , G B via smartos-discuss wrote: Using the newest image: smartos-20141030T164802Z-USB And I get this: # imgadm import d34c301e-10c3-11e4-9b79-5f67ca448df0 Importing image d34c301e-10c3-11e4-9b79-5f67ca448df0 (baes64@14.2.0) from https://images.joyent.com; ...9b79-5f67ca448df0 [=== ] 94% 104.27MB 1.52MB/s 4sS tderr from uncompression: gzip: stdin: unexpected end of file ...9b79-5f67ca448df0 [== ] 100% 110.69MB 1.61MB/s 1M 8s Stderr from zfs receive: cannot receive new filesystem stream: invalid backup st ream Imported image d34c301e-10c3-11e4-9b79-5f67ca448df0 (base64@14.2.0) to zones/d3 4c301e-10c3-11e4-9b79-5f67ca448df0 imgadm: error (UncompressionError): gzip uncompression error while importing: ex it code 1 I've seen things like this occur when the connection gets reset while doing the download. Does this always happen when importing that image? Robert --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] imgadm
Using the newest image: smartos-20141030T164802Z-USB And I get this: # imgadm import d34c301e-10c3-11e4-9b79-5f67ca448df0 Importing image d34c301e-10c3-11e4-9b79-5f67ca448df0 (baes64@14.2.0) from https://images.joyent.com; ...9b79-5f67ca448df0 [=== ] 94% 104.27MB 1.52MB/s 4sS tderr from uncompression: gzip: stdin: unexpected end of file ...9b79-5f67ca448df0 [== ] 100% 110.69MB 1.61MB/s 1M 8s Stderr from zfs receive: cannot receive new filesystem stream: invalid backup st ream Imported image d34c301e-10c3-11e4-9b79-5f67ca448df0 (base64@14.2.0) to zones/d3 4c301e-10c3-11e4-9b79-5f67ca448df0 imgadm: error (UncompressionError): gzip uncompression error while importing: ex it code 1 --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] /etc/system
This worked perfectly! Thanks!! On Friday, October 24, 2014 8:33 AM, Nahum Shalman via smartos-discuss smartos-discuss@lists.smartos.org wrote: You need to pass in a custom file containing the correct configuration at boot time with grub. I did a small writeup[1] on how to do that here: http://blog.shalman.org/overriding-driver-config-files-on-smartos/ If it were me, on my USB stick I would create a text file named system.nobeep containing that exclude: pit_beep line. Then I would modify my boot entry in menu.lst to look like: title Live 64-bit (text) kernel /platform/i86pc/kernel/amd64/unix -B console=text,smartos=true module /platform/i86pc/amd64/boot_archive type=rootfs name=ramdisk module /system.nobeep type=file name=etc/system (If you prefer a serial console vs vga, etc. then obviously adjust to taste.) The important detail is to add the type=rootfs name=ramdisk to the boot_archive line as well as adding the line for the extra file. I haven't tested this for turning off console beep so I'll be curious to hear if it works. -Nahum [1] Real credit goes to Keith: http://dtrace.org/blogs/wesolows/2013/12/28/anonymous-tracing-on-smartos/ On 10/23/2014 08:39 PM, G B via smartos-discuss wrote: In Solaris/OI/OmniOS to disable the *#@ console beep: # vi /etc/system exclude: pit_beep How can I do this with SmartOS? smartos-discuss | Archives | Modify Your Subscription smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] vulnerability in libXtsol
CVE-2014-0397 Buffer Errors vulnerability in libXtsol Is there a patch for SmartOS/illumos? --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] IP aliasing in Zone
Thank you very much! On Sunday, September 28, 2014 1:30 AM, Peter J. Cherny via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/28/14 02:47, G B via smartos-discuss wrote: vmadm update to allow_ip_spoofing=true Then in the Zone run 'ifconfig net0:1 plumb' and 'ifconfig net0:1 inet 1.2.3.4 netmask x.x.x.x' But how do you make this permanent so when the Zone boots it will bring up say 10 aliases (e.g., net0:1..net0:10)? Rather than allow_ip_spoofing use allowed_ips nics: [ { interface: net0, mac: e2:cf:d8:33:a7:77, nic_tag: stub0, allowed_ips: [ 2001:470:8000:0::1, 203.20.87.2, 203.20.87.3, 203.20.87.4, 203.20.87.5 ], ip: 203.20.87.1, netmask: 255.255.255.224 } ], and then create a smf service in the zone that adds the addrs using ipadm, though for v6 you have to ifconfig net0 inet6 plumb up There a few hints in http://wiki.smartos.org/display/DOC/Setting+up+IPv6+in+a+Zone --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] IP aliasing in Zone
vmadm update to allow_ip_spoofing=true Then in the Zone run 'ifconfig net0:1 plumb' and 'ifconfig net0:1 inet 1.2.3.4 netmask x.x.x.x' But how do you make this permanent so when the Zone boots it will bring up say 10 aliases (e.g., net0:1..net0:10)? --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] Network Cache Accelerator (NCA)
While reading the dated (Nov 2004) FireEngine—A New Networking Architecture for the Solaris™ Operating System by Sunay Tripathi, I came across this sentence: Solaris NCA technology is being merged into FireEngine development, with partial integration in phase one and full integration by phase two. So my trials of trying to get NCA working in Zones was a wasted effort - verified by Garrett D'Amore - since the three phases of FireEngine development for Solaris 10 were completed long ago. I assume NCA is integrated now into the kernel by default to cache content for a web server? On Sunday, September 21, 2014 10:40 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 03:51 PM, G B via smartos-discuss wrote: For my LD_PRELOAD it is now set to /usr/lib/amd64/ncad_addr.so and # pldd `pgrep http`|grep ncad /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 but # pfiles `pgrep http`|grep AF sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 I'm running 3 domains now and adding a couple more, each in their own zones; plus currently running a mail server in a kvm; and a reverse proxy in a zone.. Am thinking of adding an SDD drive and was hoping NCA would work. Not sure if nca is really running or not. I'm running apache-2.4.9nb3. Is there a better way to check and see if it is actually working correctly? I'm fairly certain that NCA doesn't work inside of a zone as Garrett mentioned. However, I suspect that using the memory that would have been used by NCA instead as extra memory for the ARC will end up working just as well. As for adding an SSD, I think it all depends on what you want that SSD to do and what the characteristics of the SSD itself are. Robert On Sunday, September 21, 2014 5:45 PM, G B g_patri...@yahoo.com wrote: For my LD_PRELOAD it is now set to /usr/lib/amd64/ncad_addr.so and # pldd `pgrep http`|grep ncad /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 On Sunday, September 21, 2014 5:29 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 03:21 PM, G B wrote: Using: # truss -ff -t accept,listen,bind /opt/local/sbin/apachectl start ld.so.1: httpd: fatal: /usr/lib/ncad_addr.so: wrong ELF class: ELFCLASS32 6714: Received signal #18, SIGCLD, in waitid() [caught] 6714: signfo: SIGCLD CLD_KILLED pid=6715 status=0x0009 /opt/local/sbin/apachectl: line 88: 6715: Killed ld.so.1: httpd: fatal: /usr/lib/ncad_addr.so: wrong ELF class: ELFCLASS32 6714: Received signal #18, SIGCLD, in waitid() [caught] 6714: signfo: SIGCLD CLD_KILLED pid=6715 status=0x0009 /opt/local/sbin/apachectl: line 92: 6715: Killed Line 88 is where I inserted: LD_PRELOAD=/usr/lib/ncad_addr.so /opt/local/sbin/httpd Do you think it may work with a 32-bit image instead of a 64-bit image (base64 14.2.0)? If you have a 64-bit image then you'll need to preload a 64-bit library which can be found at /usr/lib/amd64/ncad_addr.so. Though I'm not familiar enough with the sockfs module to know that it functions in the NGZ. Robert On Sunday, September 21, 2014 3:09 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 12:58 PM, G B via smartos-discuss wrote: Set the relevant lines to enabled in: /etc/nca/ncakmod.conf /etc/nca/ncalogd.conf Set the interface to net0: /etc/nca/nca.if Added to /opt/local/sbin/apachectl: # Enable NCA: NCAKMODCONF=/etc/nca/ncakmod.conf if [ -f $NCAKMODCONF ]; then . $NCAKMODCONF if [ x$status = xenabled ]; then HTTPD=”env LD_PRELOAD=/usr/lib/ncad_addr.so $HTTPD” fi fi # pfiles `pgrep httpd`|grep AF - shows AF_INET and not AF_NCA # pldd `pgrep http` |grep ncad -- does not return ncad Rebooted and apache is online, so what is needed to get NCA working in a SmartOS Zone? From a brief look, it appears that NCA looks at the GZ configuration. I'm not sure if it works in a non-global zone at all. Robert --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive
Re: [smartos-discuss] Network Problem
I respectfully disagree that his problems are entirely in the driver. I was running a release of SmartOS from June and rebooted multiple times without problems until I booted the 0904 release and my rge adapter stopped working. In the newest release it also isn't working. However, that same adapter IS working with FreeBSD. To get SmartOS working I had to install a USB Ethernet device using driver axf. I ultimately have no idea where the problem lies, but since the adapter I have (rge) still works with OpenIndiana, NetBSD, FreeBSD, OpenBSD, I can only surmise that something recently changed in SmartOS with drivers. But I only base that on the adapter working with multiple other operating systems. Later today I will install the latest OmniOS to see if the adapter (rge) works. On Monday, September 22, 2014 9:16 AM, Peter Kelm via smartos-discuss smartos-discuss@lists.smartos.org wrote: Not sure whether your case is similar than mine but I had issues getting the stock SmartOS bge driver play nicely with my machine's BCM5720 ethernet chipsets. Like yours it was detected properly, showed up like yours in dladm,... Yet, it was totally unusable at Gigabit speed. Worked okay only when plugged into a Fast Ethernet switch. What connection speed do you use? FYI: BroadCom publishes the driver source (for Solaris) on their website and it turned out that this can be integrated fairly easily as a custom driver into a SmartOS build. I am running such a custom build since January without issues. Let me know if you'd like to try my custom USB build on your hardware and I can put the USB install image up on the net. Peter Am 22.09.2014 um 15:38 schrieb smartos-discuss@lists.smartos.org: · Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe * Driver: bge * PCI ID: 14e4,165b * Originating manifest: driver-network-bge.mf According to: http://illumos.org/hcl/ And that’s my card, so why cant I get networking up?! From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Friday, September 19, 2014 1:11 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem Correction: # dladm show-link LINKCLASS MTUSTATEBRIDGE OVER bge0phys 1500 up -- -- From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Friday, September 19, 2014 1:06 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem # prtconf -dD | grep bge pci103c,705d (pciex14e4,165b) [Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe], instance #0 (driver name: bge) # dladm show-link LINKCLASS MTUSTATEBRIDGE OVER bge0phys 1500 down -- -- Still cant ping out … or oing the server from the LAN. From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Wednesday, September 17, 2014 9:03 AM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem Ok, as advised on IRC #smartos, I connected to the server via the serial port. Now can copy and paste. # ifconfig -a lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8232 index 1 inet 127.0.0.1 netmask ff00 bge0: flags=1000843UP,BROADCAST,RUNNING,MULTICAST,IPv4 mtu 1500 index 2 inet 192.168.1.2 netmask ff00 broadcast 192.168.1.255 ether b4:b5:2f:a0:c1:36 lo0: flags=2002000849UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL mtu 8252 index 1 inet6 ::1/128 # dladm show-phys LINK MEDIASTATE SPEED DUPLEXDEVICE bge0 Ethernet up 100full bge0 # cat /usbkey/config # # This file was auto-generated and must be source-able by bash. # # admin_nic is the nic admin_ip will be connected to for headnode zones. admin_nic=b4:b5:2f:a0:c1:36 admin_ip=192.168.1.2 admin_netmask=255.255.255.0 admin_network=... admin_gateway=192.168.1.2 headnode_default_gateway=192.168.1.1 dns_resolvers=8.8.8.8,8.8.4.4 dns_domain=*dn*.co.zm ntp_hosts=0.smartos.pool.ntp.org compute_node_ntp_hosts=192.168.1.24 From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Tuesday, September 16, 2014 5:49 PM To: smartos-discuss@lists.smartos.org; 'Usama Ahmad' Subject: RE: [smartos-discuss] Network Problem Zpool import zones fails saying “cant import zones; a pool with the same name is already creaded/imported” Login in as root/root also fails … From: Usama Ahmad via smartos-discuss [mailto:smartos-discuss@lists.smartos.org] Sent: Sunday, September 07, 2014 10:20 PM To: smartos-discuss@lists.smartos.org Subject: Re: [smartos-discuss] Network Problem Boot into noinstall mode login user/pass is root/root zpool import zones zpool destroy
Re: [smartos-discuss] Network Cache Accelerator (NCA)
Thank you! On Monday, September 22, 2014 10:02 AM, Garrett D'Amore via smartos-discuss smartos-discuss@lists.smartos.org wrote: NCA is present and not enabled by default. But you can only use it in the global zone. It predates zones and ZFS. Probably you don't need it or want it anymore. Indeed I am planning to remove it at a future date as I don't believe it is in use by illumos or SmartOS users and I don't think it's useful anymore. Sent from my iPhone On Sep 22, 2014, at 5:56 AM, G B via smartos-discuss smartos-discuss@lists.smartos.org wrote: While reading the dated (Nov 2004) FireEngine—A New Networking Architecture for the Solaris™ Operating System by Sunay Tripathi, I came across this sentence: Solaris NCA technology is being merged into FireEngine development, with partial integration in phase one and full integration by phase two. So my trials of trying to get NCA working in Zones was a wasted effort - verified by Garrett D'Amore - since the three phases of FireEngine development for Solaris 10 were completed long ago. I assume NCA is integrated now into the kernel by default to cache content for a web server? On Sunday, September 21, 2014 10:40 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 03:51 PM, G B via smartos-discuss wrote: For my LD_PRELOAD it is now set to /usr/lib/amd64/ncad_addr.so and # pldd `pgrep http`|grep ncad /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 but # pfiles `pgrep http`|grep AF sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 sockname: AF_INET 192.168.1.22 port:80 I'm running 3 domains now and adding a couple more, each in their own zones; plus currently running a mail server in a kvm; and a reverse proxy in a zone.. Am thinking of adding an SDD drive and was hoping NCA would work. Not sure if nca is really running or not. I'm running apache-2.4.9nb3. Is there a better way to check and see if it is actually working correctly? I'm fairly certain that NCA doesn't work inside of a zone as Garrett mentioned. However, I suspect that using the memory that would have been used by NCA instead as extra memory for the ARC will end up working just as well. As for adding an SSD, I think it all depends on what you want that SSD to do and what the characteristics of the SSD itself are. Robert On Sunday, September 21, 2014 5:45 PM, G B g_patri...@yahoo.com wrote: For my LD_PRELOAD it is now set to /usr/lib/amd64/ncad_addr.so and # pldd `pgrep http`|grep ncad /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 On Sunday, September 21, 2014 5:29 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 03:21 PM, G B wrote: Using: # truss -ff -t accept,listen,bind /opt/local/sbin/apachectl start ld.so.1: httpd: fatal: /usr/lib/ncad_addr.so: wrong ELF class: ELFCLASS32 6714: Received signal #18, SIGCLD, in waitid() [caught] 6714: signfo: SIGCLD CLD_KILLED pid=6715 status=0x0009 /opt/local/sbin/apachectl: line 88: 6715: Killed ld.so.1: httpd: fatal: /usr/lib/ncad_addr.so: wrong ELF class: ELFCLASS32 6714: Received signal #18, SIGCLD, in waitid() [caught] 6714: signfo: SIGCLD CLD_KILLED pid=6715 status=0x0009 /opt/local/sbin/apachectl: line 92: 6715: Killed Line 88 is where I inserted: LD_PRELOAD=/usr/lib/ncad_addr.so /opt/local/sbin/httpd Do you think it may work with a 32-bit image instead of a 64-bit image (base64 14.2.0)? If you have a 64-bit image then you'll need to preload a 64-bit library which can be found at /usr/lib/amd64/ncad_addr.so. Though I'm not familiar enough with the sockfs module to know that it functions in the NGZ. Robert On Sunday, September 21, 2014 3:09 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 12:58 PM, G B via smartos-discuss wrote: Set the relevant lines to enabled in: /etc/nca/ncakmod.conf /etc/nca/ncalogd.conf Set the interface to net0: /etc/nca/nca.if Added to /opt/local/sbin/apachectl: # Enable NCA: NCAKMODCONF=/etc/nca/ncakmod.conf if [ -f $NCAKMODCONF ]; then . $NCAKMODCONF if [ x$status = xenabled ]; then HTTPD=”env LD_PRELOAD=/usr/lib/ncad_addr.so $HTTPD” fi fi # pfiles `pgrep httpd`|grep AF - shows AF_INET and not AF_NCA # pldd `pgrep http` |grep ncad -- does not return ncad Rebooted and apache is online, so what is needed to get NCA working in a SmartOS Zone? From a brief look, it appears that NCA looks
Re: [smartos-discuss] Network Problem
This one with the rge problem is used for testing upgrades, snapshots, etc., so I'd certainly be willing to help debug what may be causing the rge driver to stop working. I'm not sure what I'd need to do so if you can provide debugging steps, I'd appreciate it. On Monday, September 22, 2014 10:10 AM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/22/2014 07:50 AM, G B via smartos-discuss wrote: I respectfully disagree that his problems are entirely in the driver. I was running a release of SmartOS from June and rebooted multiple times without problems until I booted the 0904 release and my rge adapter stopped working. In the newest release it also isn't working. However, that same adapter IS working with FreeBSD. To get SmartOS working I had to install a USB Ethernet device using driver axf. I ultimately have no idea where the problem lies, but since the adapter I have (rge) still works with OpenIndiana, NetBSD, FreeBSD, OpenBSD, I can only surmise that something recently changed in SmartOS with drivers. But I only base that on the adapter working with multiple other operating systems. Later today I will install the latest OmniOS to see if the adapter (rge) works. To my knowledge, we haven't changed anything in that part of the stack from the period of June through September. That doesn't mean that something we changed in the system could not have impacted that device. In some cases, there are actually known issues with the BCM5719 and BCM5720 that exist; however, that's not what the individual who is having networking problems is seeing. I'm sorry you're seeing issues with rge, but in this case, if you have cycles to debug, that'd be extremely helpful for us understanding what's going on and potentially improving whatever is happening with the card. We don't own or use most networking cards and we rely on the community to test and help improve them. If you don't know how to debug, that's something we can also help with. Robert On Monday, September 22, 2014 9:16 AM, Peter Kelm via smartos-discuss smartos-discuss@lists.smartos.org wrote: Not sure whether your case is similar than mine but I had issues getting the stock SmartOS bge driver play nicely with my machine's BCM5720 ethernet chipsets. Like yours it was detected properly, showed up like yours in dladm,... Yet, it was totally unusable at Gigabit speed. Worked okay only when plugged into a Fast Ethernet switch. What connection speed do you use? FYI: BroadCom publishes the driver source (for Solaris) on their website and it turned out that this can be integrated fairly easily as a custom driver into a SmartOS build. I am running such a custom build since January without issues. Let me know if you'd like to try my custom USB build on your hardware and I can put the USB install image up on the net. Peter Am 22.09.2014 um 15:38 schrieb smartos-discuss@lists.smartos.org: · Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe * Driver: bge * PCI ID: 14e4,165b * Originating manifest: driver-network-bge.mf According to: http://illumos.org/hcl/ And that’s my card, so why cant I get networking up?! From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Friday, September 19, 2014 1:11 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem Correction: # dladm show-link LINKCLASS MTUSTATEBRIDGE OVER bge0phys 1500 up -- -- From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Friday, September 19, 2014 1:06 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem # prtconf -dD | grep bge pci103c,705d (pciex14e4,165b) [Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe], instance #0 (driver name: bge) # dladm show-link LINKCLASS MTUSTATEBRIDGE OVER bge0phys 1500 down -- -- Still cant ping out … or oing the server from the LAN. From: smartos-discuss@lists.smartos.org [mailto:smartos-discuss@lists.smartos.org] Sent: Wednesday, September 17, 2014 9:03 AM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem Ok, as advised on IRC #smartos, I connected to the server via the serial port. Now can copy and paste. # ifconfig -a lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8232 index 1 inet 127.0.0.1 netmask ff00 bge0: flags=1000843UP,BROADCAST,RUNNING,MULTICAST,IPv4 mtu 1500 index 2 inet 192.168.1.2 netmask ff00 broadcast 192.168.1.255 ether b4:b5:2f:a0:c1:36 lo0: flags=2002000849UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL mtu 8252 index 1 inet6 ::1/128
Re: [smartos-discuss] manifest creation
Removing the quotes around the value for size still generates the same error. On Sunday, September 21, 2014 2:28 PM, Josh Wilsdon via smartos-discuss smartos-discuss@lists.smartos.org wrote: ... files: [ { path: /tmp/www.image.gz, sha1: 8a9c123d5523f48197c996fd0778e39cd453f6e4, size: 1971920581, } ], ... Running imgadm with this manifest and my image results in: # imgadm install -m manifest -f image.gz imgadm: error (InvalidManifest): manifest is invalid: Unexpected number I used Managing Images - SmartOS Documentation - SmartOS Wiki as a basis for creating the manifest. What is wrong that I need to correct? Hello, I don't know that it's your only problem, but one problem that immediately jumps out at me is that you've used a string for the size parameter here instead of an integer as is described in the examples on the page you've linked to. You definitely will want to change that to an integer (ie. remove the quotes). Hope that helps. Thanks, Josh smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] manifest creation
I removed the trailing comma after removing the quotes around the value for size and it generates the same error. On Sunday, September 21, 2014 3:02 PM, G B via smartos-discuss smartos-discuss@lists.smartos.org wrote: Removing the quotes around the value for size still generates the same error. On Sunday, September 21, 2014 2:28 PM, Josh Wilsdon via smartos-discuss smartos-discuss@lists.smartos.org wrote: ... files: [ { path: /tmp/www.image.gz, sha1: 8a9c123d5523f48197c996fd0778e39cd453f6e4, size: 1971920581, } ], ... Running imgadm with this manifest and my image results in: # imgadm install -m manifest -f image.gz imgadm: error (InvalidManifest): manifest is invalid: Unexpected number I used Managing Images - SmartOS Documentation - SmartOS Wiki as a basis for creating the manifest. What is wrong that I need to correct? Hello, I don't know that it's your only problem, but one problem that immediately jumps out at me is that you've used a string for the size parameter here instead of an integer as is described in the examples on the page you've linked to. You definitely will want to change that to an integer (ie. remove the quotes). Hope that helps. Thanks, Josh smartos-discuss | Archives | Modify Your Subscription smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] Network Cache Accelerator (NCA)
For my LD_PRELOAD it is now set to /usr/lib/amd64/ncad_addr.so and # pldd `pgrep http`|grep ncad /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 /usr/lib/amd64/ncad_addr.so.1 On Sunday, September 21, 2014 5:29 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 03:21 PM, G B wrote: Using: # truss -ff -t accept,listen,bind /opt/local/sbin/apachectl start ld.so.1: httpd: fatal: /usr/lib/ncad_addr.so: wrong ELF class: ELFCLASS32 6714: Received signal #18, SIGCLD, in waitid() [caught] 6714: signfo: SIGCLD CLD_KILLED pid=6715 status=0x0009 /opt/local/sbin/apachectl: line 88: 6715: Killed ld.so.1: httpd: fatal: /usr/lib/ncad_addr.so: wrong ELF class: ELFCLASS32 6714: Received signal #18, SIGCLD, in waitid() [caught] 6714: signfo: SIGCLD CLD_KILLED pid=6715 status=0x0009 /opt/local/sbin/apachectl: line 92: 6715: Killed Line 88 is where I inserted: LD_PRELOAD=/usr/lib/ncad_addr.so /opt/local/sbin/httpd Do you think it may work with a 32-bit image instead of a 64-bit image (base64 14.2.0)? If you have a 64-bit image then you'll need to preload a 64-bit library which can be found at /usr/lib/amd64/ncad_addr.so. Though I'm not familiar enough with the sockfs module to know that it functions in the NGZ. Robert On Sunday, September 21, 2014 3:09 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 09/21/2014 12:58 PM, G B via smartos-discuss wrote: Set the relevant lines to enabled in: /etc/nca/ncakmod.conf /etc/nca/ncalogd.conf Set the interface to net0: /etc/nca/nca.if Added to /opt/local/sbin/apachectl: # Enable NCA: NCAKMODCONF=/etc/nca/ncakmod.conf if [ -f $NCAKMODCONF ]; then . $NCAKMODCONF if [ x$status = xenabled ]; then HTTPD=”env LD_PRELOAD=/usr/lib/ncad_addr.so $HTTPD” fi fi # pfiles `pgrep httpd`|grep AF - shows AF_INET and not AF_NCA # pldd `pgrep http` |grep ncad -- does not return ncad Rebooted and apache is online, so what is needed to get NCA working in a SmartOS Zone? From a brief look, it appears that NCA looks at the GZ configuration. I'm not sure if it works in a non-global zone at all. Robert --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] Cloning a zone
Is there a procedure to clone a Joyent brand Zone? So if I setup a Zone with Apache and mod_security, etc., that I can easily clone it to say 20 other VMs if needed? --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] Network Problem
Today I decided to try another network adapter and viola, the other network adapter works and I have network connectivity. However, I booted the server with FreeBSD and have network connectivity with the network adapter that does not work with SmartOS 0904. The nic is a RealTek 810xE PCIe 10/100baseTX. On Sunday, September 7, 2014 3:20 PM, Usama Ahmad via smartos-discuss smartos-discuss@lists.smartos.org wrote: Boot into noinstall mode login user/pass is root/root zpool import zones zpool destroy zones reboot And you are done it will start up asking initial config questions On Sun, Sep 7, 2014 at 3:47 PM, mchile...@kannilox.com wrote: “Maybe try to reinstall SmartOS by rebooting into no install mode and zpool destroy zones.” Time to fire up google I guess, talk about a newbie stuck on a nic issue … From:Usama Ahmad via smartos-discuss [mailto:smartos-discuss@lists.smartos.org] Sent: Sunday, September 07, 2014 7:47 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: RE: [smartos-discuss] Network Problem On Sep 6, 2014 6:58 AM, smartos-discuss@lists.smartos.org wrote: Hi Please note that I cant even ssh into the server. So cant copy /usbkey/config, I have to type out ... 1. /usbkey/config admin_ip=192.168.1.2 admin_netmask=255.255.255.0 admin_network=... admin_gateway=192.168.1.2 headnode_default_gateway=192.168.1.1 dns_resolvers=8.8.8.8,8.8.8.4 2.dlam show-phys Linkmedia state speed duplex device bge0ethernetup 100 fullbge0 3. ifconfig -a bge0: inet 192.168.1.2 4. netstat -rn -f inet Destination Gateway interface Default 192.168.1.1 bge0 192.168.1.0 192.168.1.2 bge0 5.ipadm show-addr Bge0static ok 192.168.1.2/24 6.#ping 192.168.1.2 192.168.1.2 is alive 7. ping 192.168.1.1 No answer from 192.168.1.1 8. unplug cable from server and connect to mylaptop with same ip192.168.1.2, I can ping 192.168.1.1 !? Hello, Could you try to change your IP address for box from 192.168.1.2 to something else for example 192.168.1.101 or any other unused IP. This is to rule out your router as the bottle neck since you mention same IP used for your laptop. Keep hope, it should work, most likely something very simple and basic is causing this issue. Maybe try to reinstall SmartOS by rebooting into no install mode and zpool destroy zones. Hope this helps. Usama -Original Message- From: Jonathan Perkin via smartos-discuss [mailto:smartos-discuss@lists.smartos.org] Sent: Friday, September 05, 2014 4:02 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: Re: [smartos-discuss] Network Problem It's difficult to diagnose your problem without seeing all the details, and it doesn't help that your mail client likes to mangle plain text so that we cannot be sure your settings are correct. If you provided plain text attachments of the following: - /usbkey/config - 'dladm show-phys' output - 'ifconfig -a' output - 'netstat -rn -f inet' output - anything else you think may be relevant for your setup we may be able to help. The rule of thumb is that you can never provide too much information. Thanks, -- Jonathan Perkin - Joyent, Inc. - http://www.joyent.com/ --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/26461380-1faa08ce Modify Your Subscription: https://www.listbox.com/member/?; 78 Powered by Listbox: http://www.listbox.com/ --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24697919-04ed9bf0 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com/ smartos-discuss| Archives | Modify Your Subscription smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] Network is unreachable
svcs -xv only shows svc:/network/smtp:sendmail Which makes since because the network isn't reachable. I've had problems in the past too, when I reboot my zones will be stopped and when I start them the network doesn't start. On Sunday, September 7, 2014 10:57 AM, Usama Ahmad via smartos-discuss smartos-discuss@lists.smartos.org wrote: On Sep 7, 2014 9:36 AM, G B via smartos-discuss smartos-discuss@lists.smartos.org wrote: I upgraded from 0821 to the 0904 image and now all I get across the screen is: 2014-09-07T13:26:50+00:00 xx-xx-xx-xx-xx-xx mDNSResponder: [ID 702911 daemon.err or] mDNSPlatformSendUDP got error 128 (Network is unreachable) sending packet to 224.0.0.251 on interface 192.168.1.15/rge0/2 Hello, Could you kindly try svcs -xv That will tell you which services are not running (are in maintenance mode) and the location of there log files. A simple svcadm clear service name May resolve your issues, but it is usually a good idea to read and diagnose the fault using error logs too. Hope this helps Usama smartos-discuss | Archives | Modify Your Subscription smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] Network Problem
This server has been rebooted multiple times on the 0821 image and never had a problem. Nothing has changed other than trying to boot from the 0904 image and now networking doesn't work. dladm show-phys LINKMEDIA STATE SPEED DUPLEXDEVICE rge0 Ethernet up100 full rge0 ifconfig -a lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8232 index 1 inet 127.0.0.1 netmask ff00 rge0: flags=1000843UP,BROADCAST,RUNNING,MULTICAST,IPv4 mtu 1500 index 2 inet 192.168.1.15 netmask ff00 broadcast 192.168.1.255 ether: xx:xx:xx:xx:xx:xx lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8252 index 1 inet6 ::1/128 netstat -rn -f inet default 192.168.1.1 UG7 196 rge0 127.0.0.1 127.0.0.1 UH2 0 lo0 192.168.1.0 192.168.1.15 U 3 1 rge0 /usbkey/config admin_nic=xx:xx:xx:xx:xx:xx admin_ip=192.168.1.15 admin_netmask=255.255.255.0 admin_network=... admin_gateway=192.168.1.15 headnode_default_gateway=192.168.1.1 dns_resolvers=my isp dns servers dns_domain=local ntp_hosts=pool.ntp.org compute_node_ntp_hosts=192.168.1.15 On Sunday, September 7, 2014 12:47 PM, Usama Ahmad via smartos-discuss smartos-discuss@lists.smartos.org wrote: On Sep 6, 2014 6:58 AM, smartos-discuss@lists.smartos.org wrote: Hi Please note that I cant even ssh into the server. So cant copy /usbkey/config, I have to type out ... 1. /usbkey/config admin_ip=192.168.1.2 admin_netmask=255.255.255.0 admin_network=... admin_gateway=192.168.1.2 headnode_default_gateway=192.168.1.1 dns_resolvers=8.8.8.8,8.8.8.4 2.dlam show-phys Linkmedia state speed duplex device bge0ethernetup 100 fullbge0 3. ifconfig -a bge0: inet 192.168.1.2 4. netstat -rn -f inet Destination Gateway interface Default 192.168.1.1 bge0 192.168.1.0 192.168.1.2 bge0 5.ipadm show-addr Bge0static ok 192.168.1.2/24 6.#ping 192.168.1.2 192.168.1.2 is alive 7. ping 192.168.1.1 No answer from 192.168.1.1 8. unplug cable from server and connect to mylaptop with same ip192.168.1.2, I can ping 192.168.1.1 !? Hello, Could you try to change your IP address for box from 192.168.1.2 to something else for example 192.168.1.101 or any other unused IP. This is to rule out your router as the bottle neck since you mention same IP used for your laptop. Keep hope, it should work, most likely something very simple and basic is causing this issue. Maybe try to reinstall SmartOS by rebooting into no install mode and zpool destroy zones. Hope this helps. Usama -Original Message- From: Jonathan Perkin via smartos-discuss [mailto:smartos-discuss@lists.smartos.org] Sent: Friday, September 05, 2014 4:02 PM To: smartos-discuss@lists.smartos.org; mchile...@kannilox.com Subject: Re: [smartos-discuss] Network Problem It's difficult to diagnose your problem without seeing all the details, and it doesn't help that your mail client likes to mangle plain text so that we cannot be sure your settings are correct. If you provided plain text attachments of the following: - /usbkey/config - 'dladm show-phys' output - 'ifconfig -a' output - 'netstat -rn -f inet' output - anything else you think may be relevant for your setup we may be able to help. The rule of thumb is that you can never provide too much information. Thanks, -- Jonathan Perkin - Joyent, Inc. - www.joyent.com --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/26461380-1faa08ce Modify Your Subscription: https://www.listbox.com/member/?; 78 Powered by Listbox: http://www.listbox.com --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24697919-04ed9bf0 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] virtual switch
Thanks for the advice so far, but after more thought I have a couple of other questions, especially if I decide to keep OpenBSD pf, but move it to kvm. 1) How do you assign a physical nic to a Joyent-brand zone? 2) If the firewall is put into a zone, then it becomes a chicken-and-egg problem. No internal networking could even exist to place an iso on the server to build a kvm zone because I don't have a gateway setup. On Saturday, August 23, 2014 9:19 AM, Chad M Stewart c...@balius.com wrote: On Aug 21, 2014, at 1:42 PM, G B via smartos-discuss smartos-discuss@lists.smartos.org wrote: Here is my new thought. Replace my OpenBSD pf firewall physical server with a Joyent-brand ipf firewall zone. Then I can have the cable modem line go into the ipf firewall zone and have another physical cable go out from the ipf firewall zone to a physical switch for the internal servers. And the dmz can be handled virtually on the SmartOS server itself. The admin nic on the SmartOS server can go to the internal physical switch. This would allow me to remove 1 physical switch and a physical firewall. Does anyone do this or have any opinions or thoughts on this? While I have a lot of respect for the developers of SmartOS/Solaris (I used to work @ Sun) I will still use a dedicated hardware firewall running OpenBSD. I've been using OpenBSD for years and I trust it more than I trust other options to do firewall/LB options. Maybe I'm overly paranoid, nah forget that I think I have the right level of distrust/paranoia/etc.. :) Years ago I took a SANS class in prep for the GCFW certification. I distinctly recall the instructor saying he knew of ways around the 3 leading commercial firewalls. Little tweaks to packets and they would sail through the device. It wasn't with their default configuration either, they were supposedly locked down tight. I recently acquired some new to me servers (HP DL360 G5) that run SmartOS but unfortunately don't have the support for KVM, so Xen is going on a few for the times I need to run Windoze, Linux, etc.. I'm going to be using 2 old G3 servers to run OpenBSD/PF in a clustered configuration. I'm used to dealing with environments that demand at least 4 9s of uptime and dealing with clustering software like SCS and VCS. Using OpenBSD and various other bits I'm able to create a HA firewall/LB setup which costs me nothing but the mental equity of putting it together. :) -Chad --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] virtual switch
Internet---cable modem---PF firewall (physical server) | physical switch|physical switch / \ / \ internal dmz / \ Windows \ /\ mail web(multiple domains each in a Zone) What I'd like to do since my mail and web servers are in Zones is get rid of the physical switch for the dmz and make it a virtual switch. (sorry for the poor ascii art) On Monday, August 18, 2014 10:09 AM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 08/16/2014 09:39 AM, G B via smartos-discuss wrote: I'm stumped for the moment, so maybe somebody can alleviate my block. Currently I have a firewall with dmz and internal interfaces each going to a physical switch. What I'd like to do is removed the dmz physical switch and have my dmz servers go through a virtual switch, but that is what has me stumped. I created an etherstub: # dladm create-etherstub vswitch0 Then I created a vnic: # dladm create-vnic -l vswitch0 vnic0 Next I intended to plug the CAT6 cable into vnic0, then I would create another vnic and put that in a zone. But: 1) I'm not sure if that is correct 2) I'm unsure what the syntax is for the json file for the vnic Another thing is presently the physical nic on the server goes to the physical dmz switch. Not sure what I'd change to eliminate the dmz physical switch for the dmz server's physical nic. So, I think it's worth clarifying a few things. While an etherstub is a virtual switch, it's a virtual switch that only exists on the host, a single vnic can only be created over a single device and therefore there's no notion of plugging in a physical cable to a virtual nic. It's also the case that every physical device has an implicit virtual switch. Would it be possible to draw a small network diagram of how you want everything to look? It's not really that clear from the mail how you want this to look. Robert --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] virtual switch
I'm stumped for the moment, so maybe somebody can alleviate my block. Currently I have a firewall with dmz and internal interfaces each going to a physical switch. What I'd like to do is removed the dmz physical switch and have my dmz servers go through a virtual switch, but that is what has me stumped. I created an etherstub: # dladm create-etherstub vswitch0 Then I created a vnic: # dladm create-vnic -l vswitch0 vnic0 Next I intended to plug the CAT6 cable into vnic0, then I would create another vnic and put that in a zone. But: 1) I'm not sure if that is correct 2) I'm unsure what the syntax is for the json file for the vnic Another thing is presently the physical nic on the server goes to the physical dmz switch. Not sure what I'd change to eliminate the dmz physical switch for the dmz server's physical nic. --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] KVM frozen
Since January 2014 I have had a kvm running OpenBSD as my mail server but when I connect to it via vnc it is frozen and I can't do anything. The mail server is still running though. I don't particularly care to reboot the kvm, but that may be my only choice unless someone else has an idea or has had this happen and was able to fix it. --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] KVM frozen
After a few minutes the reboot did complete but gave these warnings: # vmadm reboot ab623086-6b8f-4759-abd3-ec92fea8cf2f 2014-08-11T21:52:32.458382+00:00 4c-xx-xx-xx-xx-xx ip: [ID 722105 kern.warning] WARNING: ip_interface_cleanup: cannot open /devices/pseudo/udp6@0:udp6: error 13 2014-08-11T21:52:32.458410+00:00 4c-xx-xx-xx-xx-xx ip: [ID 722105 kern.warning] WARNING: ip_interface_cleanup: cannot open /devices/pseudo/udp@0:udp: error 13 Successfully completed reboot for VM ab623086-6b8f-4759-abd3-ec92fea8cf2f On Monday, August 11, 2014 4:54 PM, G B g_patri...@yahoo.com wrote: No mail was being returned so it was my assumption the server was functioning, although I'm unable to ping, ssh, or even reboot it via `vmadm reboot uuid`. On Monday, August 11, 2014 4:45 PM, Robert Mustacchi via smartos-discuss smartos-discuss@lists.smartos.org wrote: On 8/11/14 14:36 , G B via smartos-discuss wrote: Since January 2014 I have had a kvm running OpenBSD as my mail server but when I connect to it via vnc it is frozen and I can't do anything. The mail server is still running though. I don't particularly care to reboot the kvm, but that may be my only choice unless someone else has an idea or has had this happen and was able to fix it. So it's pingable and actually servicing requests but the vnc console isn't working, is that right? Is ssh or some other form of remote access configured to that machine and if so, does that work? Mostly I'm trying to understand a bit more of the scope of the issue, if something might be specific to vnc between qemu and the like versus something else going on. Robert --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] fwadm
This may be more of an educational issue for myself (and maybe others) regarding fwadm. From what I've read it manages SmartOS firewall rules which effectively makes it a firewall like ipfilter. If I'm incorrect please correct me. If it is essentially a firewall replacement, then in what capacity would it be of use, since I already have a firewall for my lan and dmz? If it isn't a replacement firewall, then in what capacity would it be used? --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] php5
Previously I was able to run Wordpress or Drupal on SmartOS Joyent brand zones. However, now when I add in httpd.conf: LoadModule php5_module lib/httpd/mod_php5.so Apache goes into maintenance with this in /var/svc/log/pkgsrc-apache:default.log: [ Jul 26 15:45:16 Executing start method (/opt/local/sbin/httpd -k start). ] [Sat Jul 26 15:45:17.175538 2014] [:crit] [pid 10592:tid 1] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. AH00013: Pre-configuration failed. [ Jul 26 15:45:17 Method start exited with status 1. ] Everything was installed via pkgsrc. pkgin in mysql-server-5.6.19 pkgin in php55 pkgin in ap24-php55 (this also installed apache and apr-util) pkgin in php5-mysqli pkgin in php55-mbstring pkgin in php55-mcrypt pkgin in php55-zlib pkgin in php55-json pkgin in php55-dom Apache starts when commenting out the php5 LoadModule line. Is there something else that needs to be included in httpd.conf? --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] php5
Replace: LoadModule mpm_event_module modules/mod_mpm_event.so With LoadModule mpm_prefork_module modules/mod_mpm_prefork.so On Saturday, July 26, 2014 10:58 AM, G B via smartos-discuss smartos-discuss@lists.smartos.org wrote: Previously I was able to run Wordpress or Drupal on SmartOS Joyent brand zones. However, now when I add in httpd.conf: LoadModule php5_module lib/httpd/mod_php5.so Apache goes into maintenance with this in /var/svc/log/pkgsrc-apache:default.log: [ Jul 26 15:45:16 Executing start method (/opt/local/sbin/httpd -k start). ] [Sat Jul 26 15:45:17.175538 2014] [:crit] [pid 10592:tid 1] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. AH00013: Pre-configuration failed. [ Jul 26 15:45:17 Method start exited with status 1. ] Everything was installed via pkgsrc. pkgin in mysql-server-5.6.19 pkgin in php55 pkgin in ap24-php55 (this also installed apache and apr-util) pkgin in php5-mysqli pkgin in php55-mbstring pkgin in php55-mcrypt pkgin in php55-zlib pkgin in php55-json pkgin in php55-dom Apache starts when commenting out the php5 LoadModule line. Is there something else that needs to be included in httpd.conf? smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] Sendmail
I think I asked about this before. Sendmail is in pkgsrc but doesn't appear to be available when I'm on a base64 image. If the build is broken, can it be fixed? Otherwise I will build it myself. Thanks --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] pkgsrc update to latest release
Say I'm using pkgsrc 2013Q4 but want to update to 2014Q1 in a Joyent brand VM. What are the procedures? Thanks --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] modular-xorg
On OpenSolaris I was able to use X11 in a zone and display back to the global zone. Not going to work on SmartOS though? On Monday, May 12, 2014 7:23 PM, Keith Wesolowski via smartos-discuss smartos-discuss@lists.smartos.org wrote: On Mon, May 12, 2014 at 05:09:21PM -0700, G B via smartos-discuss wrote: I've installed modular-xorg and 'X -configure' doesn't complete and of course I can't start X. Although X -configure completes and X runs fine on this netbook with NetBSD, as well as OpenIndiana. Any hints would be appreciated. It's telling you what's wrong: [root@zone1 /tmp]# X -configure You're in a zone, so... di_init() failed: No such file or directory You can't use libdevinfo, and... (WW) solOpenAperture: failed to open /dev/xsvc (No such file or directory) (WW) solOpenAperture: failed to open /dev/fbs/aperture (No such file or directory) (WW) solOpenAperture: either /dev/fbs/aperture or /dev/xsvc required You don't have any way to get access to the framebuffer. HW X servers don't work in zones, without surgery anyway. --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] modular-xorg
Anyone know of a Xvfb for x86 Solaris that will work in SmartOS? On Monday, May 12, 2014 7:29 PM, G B via smartos-discuss smartos-discuss@lists.smartos.org wrote: On OpenSolaris I was able to use X11 in a zone and display back to the global zone. Not going to work on SmartOS though? On Monday, May 12, 2014 7:23 PM, Keith Wesolowski via smartos-discuss smartos-discuss@lists.smartos.org wrote: On Mon, May 12, 2014 at 05:09:21PM -0700, G B via smartos-discuss wrote: I've installed modular-xorg and 'X -configure' doesn't complete and of course I can't start X. Although X -configure completes and X runs fine on this netbook with NetBSD, as well as OpenIndiana. Any hints would be appreciated. It's telling you what's wrong: [root@zone1 /tmp]# X -configure You're in a zone, so... di_init() failed: No such file or directory You can't use libdevinfo, and... (WW) solOpenAperture: failed to open /dev/xsvc (No such file or directory) (WW) solOpenAperture: failed to open /dev/fbs/aperture (No such file or directory) (WW) solOpenAperture: either /dev/fbs/aperture or /dev/xsvc required You don't have any way to get access to the framebuffer. HW X servers don't work in zones, without surgery anyway. --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/24559458-54d8e931 Modify Your Subscription: https://www.listbox.com/member/?; Powered by Listbox: http://www.listbox.com smartos-discuss | Archives | Modify Your Subscription --- 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=25769125id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com