Re: [osol-discuss] unable to mount volume [usb drives won't mount]
fstype gives unknown fs_type Hmm, fstyp should work, too. Did you use the block device, /dev/dsk/... ? also, here's the lshal with all the entires pertaining to this usbstick there is 'volume' entry volume.label = 'USB4G' (string) ... volume.fstype = 'pcfs' (string) Hal seems to have no problem finding the correct volume label, and file system type. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Using madvise(3C)
Hi, I am trying to play with madvise on my AMD machine running OpenSolaris.2009.06. However, getting the following error when I used to compile the below program with /usr/sfw/bin/g++. Please help me to resolve this. 457: error: `madvise' undeclared (first use this function) 457: error: (Each undeclared identifier is reported only once for each function it appears in.) Program = #include sys/types.h #include sys/mman.h ... ... int main (void) { int size = numOptions*sizeof(OptionData); data = (OptionData*)malloc(size); if (data == NULL) { perror(Fatal Error: malloc failed); exit(-1); } int ret = madvise(data, size, MADV_ACCESS_MANY); if (ret == -1) { perror(Fatal Error: madvise failed); exit(-2); } ... ... return 0; } -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Using madvise(3C)
Hi, I am trying to play with madvise on my AMD machine running OpenSolaris.2009.06. However, getting the following error when I used to compile the below program with /usr/sfw/bin/g++. Please help me to resolve this. I am not sure whether the usage of madvise is correct or not? Please let me know. error: `madvise' undeclared (first use this function) error: (Each undeclared identifier is reported only once for each function it appears in.) Program = #include sys/types.h #include sys/mman.h ... ... int main (void) { int size = numOptions*sizeof(OptionData); data = (OptionData*)malloc(size); if (data == NULL) { perror(Fatal Error: malloc failed); exit(-1); } int ret = madvise(data, size, MADV_ACCESS_MANY); if (ret == -1) { perror(Fatal Error: madvise failed); exit(-2); } ... ... return 0; } -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Measuring cost of TLB misses
Thank you, Marty. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Using collect utility
Hi, I am trying to play with the utility collect for studing TLB misses of a multi-threaded program running on my AMD multi-core machine equipped with OpenSolaris.2009.06. However, the program is hanging (with and also without umask) on when I used collect utility. Please find the prstat -m output of the program with and without collect utlity. Is this problem with the collect utility or the way I used it? Please let me know. $ collect -h DC_dtlb_L1_miss_L2_miss~umask=0x01 ./program $ uname -a SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris prstat output with collect == PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/NLWP 2201 pusukuri 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 0 0 0 0 program/16 prstat output without collect = PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/NLWP 2311 pusukuri 51 0.5 0.0 0.0 0.0 48 0.0 0.2 1K 23 2K 0 program/16 -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Using madvise(3C)
madvise is not available if _XPG4_2 is defined, g++ on Solaris will define _XPG4_2. Use posix_madvise instead, or you can declare it in your program. Ginn On Aug 27, 2010, at 4:03 PM, Kishore Kumar Pusukuri wrote: Hi, I am trying to play with madvise on my AMD machine running OpenSolaris.2009.06. However, getting the following error when I used to compile the below program with /usr/sfw/bin/g++. Please help me to resolve this. I am not sure whether the usage of madvise is correct or not? Please let me know. error: `madvise' undeclared (first use this function) error: (Each undeclared identifier is reported only once for each function it appears in.) Program = #include sys/types.h #include sys/mman.h ... ... int main (void) { int size = numOptions*sizeof(OptionData); data = (OptionData*)malloc(size); if (data == NULL) { perror(Fatal Error: malloc failed); exit(-1); } int ret = madvise(data, size, MADV_ACCESS_MANY); if (ret == -1) { perror(Fatal Error: madvise failed); exit(-2); } ... ... return 0; } -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] glibc,etc now free - thanks oracle
Edward Martinez mindbende...@live.com wrote: clip: Oracle, and on August 18, 2010, Wim Coekaerts, on behalf of Oracle America, gave permission for the remaining files that we knew about under the Sun RPC license (netkit-rusers, krb5, and glibc) to be relicensed under the 3 clause BSD license http://spot.livejournal.com/315383.html I have been told that all files have been put under the BSD license in spring 2009. I know August 18th as a bad day for OpenSource with Oracle as Oracle stopped updating the OpenSolaris repositories on August 18th 2010. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Phenom II X6 1090T, AMD 890FX / SB850, Any Driver Development Efforts?
Hi Dusan, The answer is yes - it'll work. A few of our developers (and myself) run AMD/ATI hardware (i.e. state-of-the-art and legacy) in which the AMD motherboard-based chipsets are compatible. Even at the graphics level, I've gotten the ATI Radeon HD 4870/4890 and 5970 graphics cards to work. I suggest the Nvidia GPU-based graphic cards since the commercial video driver is maintained by Oracle/Nvidia. Much of this info I've posted in the HCL and validated with Sun (Oracle). ~ Ken Mays --- On Thu, 8/26/10, Dusan Kysel dusan.ky...@gmail.com wrote: From: Dusan Kysel dusan.ky...@gmail.com Subject: [osol-discuss] Phenom II X6 1090T, AMD 890FX / SB850, Any Driver Development Efforts? To: opensolaris-discuss@opensolaris.org Date: Thursday, August 26, 2010, 9:12 PM I was a very satisfied OpenSolaris/ZFS padawan until the Shadows of the Dark Empire covered our Sun in march. During these dark times the continuous disturbances in the Source without doubt caused my very Source-sensitive motherboard to completely give up its hope and spirit. To support the struggle against expanding Source imperialism I first and foremost have to get back hold of my ZFS data which are tied to the latest zpool and zfs version supported in the final development release 134 (i.e. zpool version 22 and zfs version 4). I would like to employ the newest AMD chipset and CPU, i.e.: Phenom II X6 1090T AMD 890FX / SB850 on the currently only board I know of with ECC memory support Asus Crosshair IV Formula At the end of april, Joe Kotran already queried these forums about OpenSolaris compatibility but no answer has been given yet and neither the HCL provides any usable information: https://www.opensolaris.org/jive/thread.jspa?messageID=477897 I strongly believe the first symptom of OS death is lacking support for even essential new hardware like CPU/chipsets from the main vendors. And although I really fell in love with Solaris and would prefer it anytime over Linux or any other Operating System I can not afford being forced into running on old hardware due to lack of any information whether compatibility with recent hardware exists or is at least being worked on. Can therefore someone please enlighten me whether the aforementioned CPU, chipset and other mobo hardware are supported by 134 or any available version of OpenSolaris or OpenSolaris based distribution and whether any other distribution than OpenSolaris itself provides support for zpool version 22 and zfs version 4 and a migration path from OpenSolaris? It's pretty hard to believe that nobody in the last 4 months since their launch was able to at least try to boot 134 or some newer builds on AMDs newest CPU and chipset to see whether there are some issues or total lack of compatibility. If compatibility is still missing, is anyone at all working on adding it and can they provide some ETA? Are any Illumos, Nexenta, Shillix or Belenix project participants involved in developing hardware support, serious testing and updating of the HCL for common hardware at least or are we all still dependent on the whims of Oracle? =Dusan -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] unable to setup IP address to network port on recent Solaris Express
Hi Mark, Thank you! But I find that this command, ipadm create-addr, only works for new interfaces. For those interfaces plumbed up by default, it does not work. How do I manually re-config existing interfaces? it seems that I can not delete these existing interfaces and re-create them to assign new addresses. I currently have a box with nxge0 set to 172.17.139.24 by dhcp server. I want to set it to 172.17.138.79 static address, how do I do it? r...@socrates:~# ifconfig -a lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8232 index 1 inet 127.0.0.1 netmask ff00 qlge0: flags=1000842BROADCAST,RUNNING,MULTICAST,IPv4 mtu 1500 index 8 inet 0.0.0.0 netmask ff00 broadcast 0.0.0.255 ether 0:c0:dd:12:e:14 nxge0: flags=1004843UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4 mtu 1500 index 13 inet 172.17.139.24 netmask fe00 broadcast 172.17.139.255 ether 0:21:28:4:1d:4a lo0: flags=2002000849UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL mtu 8252 index 1 inet6 ::1/128 qlge0: flags=20002004841UP,RUNNING,MULTICAST,DHCP,IPv6 mtu 1500 index 8 inet6 fe80::2c0:ddff:fe12:e14/10 ether 0:c0:dd:12:e:14 nxge0: flags=20002004841UP,RUNNING,MULTICAST,DHCP,IPv6 mtu 1500 index 13 inet6 fe80::221:28ff:fe04:1d4a/10 ether 0:21:28:4:1d:4a r...@socrates:~# ipadm delete-if nxge0 Aug 27 00:39:16 socrates in.ndpd[1119]: Interface nxge0 has been removed from kernel. in.ndpd will no longer use it Aug 27 00:39:16 socrates nwamd[527]: 1: nwamd_dhcp_managing: ipadm_addr_info failed for nxge0: Interface does not exist r...@socrates:~# ipadm create-addr -t -T static -a local=172.17.138.79 nxge0/v4 addr Aug 27 00:41:58 socrates nwamd[527]: 1: nwamd_ncu_handle_if_state_event: address 172.17.138.79 not managed by nwam added, removing it Aug 27 00:41:58 socrates nwamd[527]: 1: nwamd_ncu_handle_if_state_event: address 172.17.138.79 not managed by nwam removed, nothing to do ipadm: Could not create address: Interface does not exist r...@socrates:~# ifconfig -a lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8232 index 1 inet 127.0.0.1 netmask ff00 qlge0: flags=1000842BROADCAST,RUNNING,MULTICAST,IPv4 mtu 1500 index 8 inet 0.0.0.0 netmask ff00 broadcast 0.0.0.255 ether 0:c0:dd:12:e:14 nxge0: flags=1004843UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4 mtu 1500 index 13 inet 172.17.139.24 netmask fe00 broadcast 172.17.139.255 ether 0:21:28:4:1d:4a lo0: flags=2002000849UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL mtu 8252 index 1 inet6 ::1/128 qlge0: flags=20002004841UP,RUNNING,MULTICAST,DHCP,IPv6 mtu 1500 index 8 inet6 fe80::2c0:ddff:fe12:e14/10 ether 0:c0:dd:12:e:14 nxge0: flags=20002004841UP,RUNNING,MULTICAST,DHCP,IPv6 mtu 1500 index 13 inet6 fe80::221:28ff:fe04:1d4a/10 ether 0:21:28:4:1d:4a -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Surge 2010 Early Registration ends Tuesday!
Early Bird Registration for Surge Scalability Conference 2010 ends next Tuesday, August 31. We have a killer lineup of speakers and architects from across the Internet. Listen to experts talk about the newest methods and technologies for scaling your Web presence. http://omniti.com/surge/2010/register This year's event is all about the challenges faced (and overcome) in real-life production architectures. Meet the engineering talent from some of the best and brightest throughout the Internet: John Allspaw, Etsy Theo Schlossnagle, OmniTI Bryan Cantrill, Joyent Rasmus Lerdorf, creator of PHP Tom Cook, Facebook Benjamin Black, fast_ip Christopher Brown, Opscode Artur Bergman, Wikia Baron Schwartz, Percona Paul Querna, Cloudkick Surge 2010 takes place at the Tremont Grand Historic Venue on Sept 30 and Oct 1, 2010 in Baltimore, MD. Register NOW for the Early Bird discount and guarantee your seat to this year's event! -- Jason Dixon OmniTI Computer Consulting, Inc. jdi...@omniti.com 443.325.1357 x.241 ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] glibc,etc now free - thanks oracle
On Fri, Aug 27, 2010 at 6:22 AM, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: Edward Martinez mindbende...@live.com wrote: clip: Oracle, and on August 18, 2010, Wim Coekaerts, on behalf of Oracle America, gave permission for the remaining files that we knew about under the Sun RPC license (netkit-rusers, krb5, and glibc) to be relicensed under the 3 clause BSD license http://spot.livejournal.com/315383.html I have been told that all files have been put under the BSD license in spring 2009. You should read the post, which mentions: in February 2009, Simon told the crowd at FOSDEM that Sun was going to change the license to Sun's copyrights in the RPC code to a standard 3-clause BSD license. Unfortunately, Sun never actually made this change. -Albert ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] glibc,etc now free - thanks oracle
On Aug 27, 2010, at 20:48, Albert Lee wrote: On Fri, Aug 27, 2010 at 6:22 AM, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: Edward Martinez mindbende...@live.com wrote: clip: Oracle, and on August 18, 2010, Wim Coekaerts, on behalf of Oracle America, gave permission for the remaining files that we knew about under the Sun RPC license (netkit-rusers, krb5, and glibc) to be relicensed under the 3 clause BSD license http://spot.livejournal.com/315383.html I have been told that all files have been put under the BSD license in spring 2009. You should read the post, which mentions: in February 2009, Simon told the crowd at FOSDEM that Sun was going to change the license to Sun's copyrights in the RPC code to a standard 3-clause BSD license. Unfortunately, Sun never actually made this change. You should also read my article on the subject http://blogs.computerworlduk.com/simon-says/2010/08/gnulinux-finally-free-software/index.htm The license change was being performed by Red Hat and the problem was that they were unsure they actually had formal permission to proceed but by the time they asked for clarification the Oracle takeover meant there was a freeze on working on such things. So as far as I am concerned the licence change was approved Feb 2009, and what's now happened is it has been reconfirmed to red hat's satisfaction by Oracle. S. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express
Excellent observation Rob. Each good intentioned opinion is worth to be heard no matter weather they come from developersor from spectators. Uros Date: Thu, 26 Aug 2010 16:44:20 -0700 From: openba...@gmail.com To: opensolaris-discuss@opensolaris.org Subject: Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express Uros Nedic wrote: You are starting a new fork? The existing forks already have names, chosen by the people working on them, not spectators on mailing lists. Like Oracle Solaris name is chosen by people working on it like you :).Or Solarix Express :). For the distros I work on, the names were chosen by the people who decided to create them or who lead them, again, not by spectators on mailing lists. -- -Alan Coopersmith- alan dot coopersmith at oracle dot com Oracle Solaris Platform Engineering: X Window System To build a community around the world you need by in buy in from all users and contributors which will include Professional Businessmen,Marketing professional and engineers.To convince sponsors...branding decisions are as ever are needed to be made by marketing professions in an ever competitive global world.. You are reminded the brand solaris and opensolaris were constructed by marketing professionals.A learning experience for those 'Have a go Henrys' out there... Take advice from marketing professionals.there is no better advice! -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] glibc,etc now free - thanks oracle
Simon Phipps webm...@opensolaris.org wrote: You should read the post, which mentions: in February 2009, Simon told the crowd at FOSDEM that Sun was going to change the license to Sun's copyrights in the RPC code to a standard 3-clause BSD license. Unfortunately, Sun never actually made this change. You should also read my article on the subject http://blogs.computerworlduk.com/simon-says/2010/08/gnulinux-finally-free-software/index.htm The license change was being performed by Red Hat and the problem was that they were unsure they actually had formal permission to proceed but by the time they asked for clarification the Oracle takeover meant there was a freeze on working on such things. So as far as I am concerned the licence change was approved Feb 2009, and what's now happened is it has been reconfirmed to red hat's satisfaction by Oracle. Thank you for confirming my previous impression. So it seems to be similar to the announcement from BSD that the 3rd clause from the original BSD license may be removed for all BSD software from UCB. They did never release sources with modified BSD headers, but everybody knows that he is permitted to do the change. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express
Excellent observation Rob. Each good intentioned opinion is worth to be heard no matter weather they come from developersor from spectators. Uros Date: Thu, 26 Aug 2010 16:44:20 -0700 From: openba...@gmail.com To: opensolaris-discuss@opensolaris.org Subject: Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express Uros Nedic wrote: You are starting a new fork? The existing forks already have names, chosen by the people working on them, not spectators on mailing lists. Like Oracle Solaris name is chosen by people working on it like you :).Or Solarix Express :). For the distros I work on, the names were chosen by the people who decided to create them or who lead them, again, not by spectators on mailing lists. -- -Alan Coopersmith- alan dot coopersmith at oracle dot com Oracle Solaris Platform Engineering: X Window System To build a community around the world you need by in buy in from all users and contributors which will include Professional Businessmen,Marketing professional and engineers.To convince sponsors...branding decisions are as ever are needed to be made by marketing professions in an ever competitive global world.. You are reminded the brand solaris and opensolaris were constructed by marketing professionals.A learning experience for those 'Have a go Henrys' out there... Take advice from marketing professionals.there is no better advice! -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] OpenSolaris cancelled, to be replaced with Solaris 11 Express
From: opensolaris-discuss-boun...@opensolaris.org [mailto:opensolaris- discuss-boun...@opensolaris.org] On Behalf Of Uros Nedic Excellent observation Rob. Each good intentioned opinion is worth to be heard no matter weather they come from developersor from spectators. The way I remember it ... assisted by the fact that it's all written right here ... * Uros, you suggested a name for an OS. * Alan said the existing forks already have names, and are named by people who work on them, not people just talking about it idly on the mailing list. * For no apparent reason, Uros, you ridiculed Alan because he didn't name any OS at oracle. * Alan said he works on distros that were already named by people who worked on them before. Not by people just spectating on the mailing list. Nobody told you to keep your opinions silent. You're not being repressed. If anything, Alan's point encourages you to have *more* involvement with the OS of your choice, because then you have more influence over the name of it. Your message seems to indicate you think you are persecuted or oppressed. You're way off base. I suggest strengthening your emotional armor, so you don't feel personally attacked when people are just talking about opinions that happen to be different from yours. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org