Re: [osol-discuss] zfs send recv problem with permission...
Thommy M. Malmstr?m stated: What do I need to do to get this command running? bigblue# zfs send tank/pictu...@001 | ssh r...@isis zfs recv -d backup/pictures Password: Here I give root password of isis Password: Here I give root password of isis Password: Here I give root password of isis Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive). Sending machine is 2008.11 and receiving 2009.06_122 (x86). I've done this so far on both machines # grep Root /etc/ssh/sshd_configPermitRootLogin yes # grep CONSOLE /etc/default/login # If CONSOLE is set, root can only login on that device. #CONSOLE=/dev/console did you restart the ssh service after editing the sshd_config ? svcadm restart ssh -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] opensolaris based multiple boot environment
Dieter Kluenter stated: Hi, Opensolaris is installed on a 150GB P-ATA disk attached as primary disk to the IDE controller, a Linux based Xen environment is installed on a 500GB S-ATA disk attached to the S-ATA controller. The P-ATA disk is the boot disk. grub/menu.lst has been edited as follows title Linux-Xen root(hd1,1) chainloader +1 But the title didn't show up when booting the system. I presume that the zfs boot loader doesn't read menu.lst. What do I have to configure to enable a multiple boot environment with opensolaris? Where did you edit the menu.lst file ? With zfs root its in /rpool/boot/grub and not /boot/grub Regards, Sean. . -Dieter ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Link aggregation
rudro stated: I am trying to do static link aggregation using a Netgear switch.Open solaris System has an aggregation that consists of two interfaces, bge0 and bge1. These interfaces are connected to the switch through aggregated ports. If both links are connected, in Netgear, traffic is only on one link BW is limited to one link. Do all switched do load balancing between links within static aggregation group, and if so, what might my problem be? What traffic, is it a single stream or multiple streams/connections ? Thanks -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Adaptec mystery in dell 1750 and 1850
Andre Lue stated: How much memory does each box have ? I recall a bug were the adaptec driver doesn't load on a box over a certain amount of memory. 8 Gb in the box where it will not load. Is there a workaround. I will try dropping the memory to 2 or 4Gb to test. Yup, thats the bug if I recall (defect.opensolaris.org is being upgraded at the moment, so I can't check). You need 2Gb or less I think. lgrpinfo lgroup 0 (root): Children: none CPUs: 0-3 Memory: installed 8.0G, allocated 1.1G, free 6.9G Lgroup resources: 0 (CPU); 0 (memory) Load: 0.0101 Latency: 0 That and is each box booting 64bit kernel ? The output of isainfo would say: 'amd64 i386' if its running the 64bit kernel. The same thing happens w 32 or 64-bit kernel. One thing to note though in both cases only a 32-bit cadp driver is available. Yup. And since this card has been EOL'd by Adaptec its not really supported.. the cadp driver is also closed src (Adaptec own the code). A newer scsi card an option ? -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] OpenSolaris SPARC AI Installation in DHCP-enabled corporate network
roman stated: Hi all. I've pefrormed all actions from how-to guide (http://dlc.sun.com/osol/docs/content/2009.06/AIinstall)), but faced such problem: ok boot net:172.16.1.xxx:46503 Thats the wrong syntax, you need to do boot net:dhcp Don't know where you got the idea to use 'boot net:172.16.1.xxx:46503' The docs above use 'boot net:dhcp'. Boot device: /p...@1f,70/netw...@2:172.16.1.xxx:46503 File and args: 100 Mbps FDX Link up Timeout waiting for ARP/RARP packet where 172.16.1.xxx:46503 is static IP of my x86 machine with osol0906. (My x86 machine is host in dhcp network, but i set a static IP for it). Do anyone have ideas? You need dhcp there instead and your dhcp server has to be setup to both give the sparc box its IP and other macros where the sparc box will then find out about 172.16.1.xxx:46503 The caiman-interest list can answer anymore questions you have. Regards, Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Adaptec mystery in dell 1750 and 1850
Andre Lue stated: scanpci output (can post full if needed) pci bus 0x0002 cardnum 0x0c function 0x00: vendor 0x9005 device 0x0010 Device unknown CardVendor 0x9005 card 0xa180 (Card unknown) STATUS0x0290 COMMAND 0x0157 CLASS 0x01 0x00 0x00 REVISION 0x00 BIST 0x80 HEADER 0x00 LATENCY 0x20 CACHE 0x10 BASE0 0xec00 SIZE 256 I/O BASE1 0xfeaff000 SIZE 4096 MEM BASEROM 0x addr 0x MAX_LAT 0x19 MIN_GNT 0x27 INT_PIN 0x01 INT_LINE 0x0b pci bus 0x0002 cardnum 0x0e function 0x00: vendor 0x1028 device 0x0013 Device unknown How much memory does each box have ? I recall a bug were the adaptec driver doesn't load on a box over a certain amount of memory. That and is each box booting 64bit kernel ? The output of isainfo would say: 'amd64 i386' if its running the 64bit kernel. Regards, Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] OpenSolaris graphics performance in Java 2D Microbenchmark beats Linux!!!
Scott N. stated: Yeah, but it still gets destroyed in some other benchmarks, like this tidbit from the all important Suduku solving one... Using Sudokut to simulate the Suoku solving performance, Ubuntu 9.04 was over twice as fast as OpenSolaris 2009.06 Since solving sudoku is what these kickass modern OS's are meant to do.. http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6857103 ;) -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] [caiman-discuss] AI scenario: Installing particular build
Abdel Jalal stated: I am having problem installing build opensolaris 116. I included the build# into the manifest as shown below in the installation log and the installation failed with error: pkg missing. Note: the same manifest was used to install other clients but without specifying the build number. Note:The AI server has build 111 ... AI Jul 28 15:50:41 list of packages to be installed is: AI Jul 28 15:50:41 ent...@0.5.11-0.116 Perhaps there should be a comma instead ',': ent...@0.5,11-0.116 Have a look at /var/svc/log/application-auto-installer:default.log too, it may have more info. May need to check whatever IPS repository server your using to be sure the build is there too. It is on pkg.opensolaris.org/dev AI Jul 28 15:50:41 SUNWcsd AI Jul 28 15:50:41 SUNWcs AI Jul 28 15:50:41 SUNWiscsi AI Jul 28 15:50:41 SUNWiscsitgt AI Jul 28 15:50:41 SUNWscp AI Jul 28 15:50:41 babel_install ... OM Jul 28 15:51:47 IPS initialization phase 1 succeeded OM_I Jul 28 15:51:47 IPS action 2 will be carried out TRANSFER_MOD Jul 28 16:47:14 pkg missing OM Jul 28 16:47:14 Installation of packages failed OM_W Jul 28 16:47:14 Transfer failed with error -1 OM Jul 28 16:47:14 Transfer failed with error -1 AI Jul 28 16:47:14 om_perform_install failed with error 114 AI Jul 28 16:47:14 Auto install failed Is the syntax correct or am I misunderstanding the way the manifest work? Or 116 doesn't exist? Can't see the syntax here, pastbin or post the manifest xml file ? -- Regards, Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Conflicts after build 111
Will Fiveash stated: On Tue, Jul 21, 2009 at 03:14:16PM -0500, Will Fiveash wrote: On Tue, Jul 21, 2009 at 03:36:51PM -0400, John Martin wrote: # smbios -t SMB_TYPE_BIOS IDSIZE TYPE 0 67 SMB_TYPE_BIOS (BIOS information) Vendor: Phoenix Technologies Ltd. Version String: 1.24.2 Release Date: 08/27/2008 Since your mappings are different, the first thing I would check is the SBIOS version on your U40M2. Hmmm: $ smbios -t SMB_TYPE_BIOS IDSIZE TYPE 0 66 SMB_TYPE_BIOS (BIOS information) Vendor: Phoenix Technologies Ltd. Version String: 1.24 Release Date: 07/07/2008 Address Segment: 0xe306 ROM Size: 1048576 bytes Image Size: 118688 bytes I will look for a BIOS update. I found a BIOS update that updates the U40M2 BIOS to 1.25 however the update instructions are pretty sparse. Basically, it states: 1. Copy bios125.wph, flash.ex_, and phlash16.ex_ onto the bootable media. 2. Rename phlash16.ex_ to phlash16.exe, and flash.ex_ to flash.exe. 3. Boot from the bootable media. 4. Execute [flash bios125.wph] 5. Auto reboot when you finished, and verify the new version number on the boot-up screen. Anyone know specifically how to create a bootable CD or DVD on OpenSolaris that would be suitable for updating the BIOS? Freedos images freedos.org has such ISOs etc which have worked for me in the past. One would modify the floppy or ISO image, Google for 'freedos bios upgrade'. for ISO images, examples include using mkisofs to create the bootable ISO from an 'unpacked' freedisk ISO directory which would include the bios upgrade files. Regards, Sean. . -- Will Fiveash Sun Microsystems Office x64079/512-401-1079 Austin, TX, 78727 (TZ=CST6CDT), USA Internal Solaris Kerberos/GSS/SASL website: http://kerberos.sfbay.sun.com http://opensolaris.org/os/project/kerberos/ ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] HAL fails to start after upgrade to 118
Matthew Stevenson stated: The log file has 4 lines for each time the system boots, for example: [ Jul 17 22:00:33 Enabled. ] [ Jul 17 22:01:08 Executing start method (/lib/svc/method/svc-al start). ] hal failed to start: error 1 [ Jul 17 22:01:16 Method start exited with status 95. ] So about 35 seconds after it is enabled the start method runs, and then 8 seconds later it exits unsuccessfully. As I mentioned in another reply further down, if I try to start hal manually I get a segmentation fault almost immediately after running the command (well, immediately in terms of seconds, but hal does make some progress in detecting quite a few devices before it quits) Can you get a pstack from the core ? # pstack core.hald -- 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] boot osol on ultra 5
philo neo stated: hello, in the botte stop+a, I makes a 'boot cdrom - install' but the cdrom boot not, with debian not of problem, the Iso is to burn has 4x, what to make for booter on osol? Philippe, there is no CD or DVD for sparc installs for opensolaris (osol 0906). For sparc installs you must use the network installer, AI (Auto Installer). See the docs for more: http://opensolaris.org/os/project/caiman/auto_install/Documentation/ Regards, Sean. . SYL Philippe -- 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] Regarding GCC
Sebastien Roy stated: On Wed, 2009-06-10 at 11:24 -0700, nitesh wrote: Is any c/c++ compiler is available with this release of open solaris. If yes at which location it is located in installation. Or how can i configure it to point to the gcc installation, if it is with the OS. Or from where i can get the gcc compiler installer and how can i install it. It is in the repository. You can install it by installing the GNU Tools Development cluster named gcc-dev. E.g.: pfexec pkg install gcc-dev While that gets you gcc3.4, you can get gcc4.3 as well: pfexec pkg install developer/gcc/gcc-432 -Seb ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Jim Langston stated: I did see this in a pkg search I did, but is this supported ? how is this different than PTL 4820 ? , which is targeting the integration of GCC 4.3.x into Nevada/OpenSolaris by svn_130 This one would be replacing gcc3.4, it first has to be able to compile solaris and pass some other testing. Jim / Sean McGrath wrote: Sebastien Roy stated: On Wed, 2009-06-10 at 11:24 -0700, nitesh wrote: Is any c/c++ compiler is available with this release of open solaris. If yes at which location it is located in installation. Or how can i configure it to point to the gcc installation, if it is with the OS. Or from where i can get the gcc compiler installer and how can i install it. It is in the repository. You can install it by installing the GNU Tools Development cluster named gcc-dev. E.g.: pfexec pkg install gcc-dev While that gets you gcc3.4, you can get gcc4.3 as well: pfexec pkg install developer/gcc/gcc-432 -Seb ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- / Jim Langston Sun Microsystems, Inc. (513) 702-4741 (Cell) (877) 854-5583 (AccessLine) AIM: jl9594 jim.langs...@sun.com -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] opensolaris boot process
James Carlson stated: Nischal writes: can anyone please explain me the boot process in opensolaris? I would like somebody to explain the boot process at the process level like what forks and what execs and so on ( our textbooks say that init forks and execs getty, login blah blah... which is so outdated :) . ) The svc.startd(1M) and smf(5) man pages are probably a good introduction to the way services are started on OpenSolaris. Like traditional UNIX, OpenSolaris does start 'initd' at boot time, but if you look at /etc/inittab, you'll see very few things actually started by init -- only autopush, soconfig, and svc.startd. It's that last one that effectively behaves as the global 'initd' process on OpenSolaris, and forks/execs all the processes you see. (And, since this is System V, there's no getty, but instead ttymon. It'd be nice, though, if someone put ttymon out of our misery and installed mgetty instead ...) A nice graphical view of the boot is at: http://blogs.sun.com/eschrock/date/20050106#boot_chart_results its from 2005, but still shows init, autopush, soconfig, and svc.startd. - as well as every process thereafter untill the last script in etc/rc3.d has been run. Sean. . -- James Carlson, Solaris Networking james.d.carl...@sun.com Sun Microsystems / 35 Network Drive71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] priocntl failure with EPERM when called from for same LWP on Solaris 10
Ganesh stated: I want to increase priority of some of the threads in my application on Solaris 10. For this, I'm calling priocntl from the same thread of which I want to increase the priority. priocntl(priocntl(P_LWPID,P_MYID,PC_SETXPARMS) is fails with EPERM Not owner error. According to http://docs.sun.com/app/docs/doc/816-0212/6m6nd4ncg?a=view#RETURN%20VALUES;, I am using P_MYID to specify that this change applies to the same calling thread. Look like you need more privs. extract from man page of priocntl(2) ERRORS ... EPERM The {PRIV_PROC_PRIOCNTL} privilege is not asserted in the effective set of the calling LWP. The calling LWP does not have sufficient privileges to affect the target LWP. .. Does the user you're running as have the requiried privs ? The same man page describes whats required. Sean. . Ganesh stated: My test program program is attached here output of the same is given below Am I doing anything wrong in this program? Please guide. // Compiler command: CC ./upprio.cpp -o sunprioup -lrt Program output: new thread id = 0x2, id=0 new thread id = 0x3, id=1 new thread id = 0x4, id=2 Error 0 priocntl:PC_GETXPARMS:ret 24334, upriolmt 0, uprio 0 Not owner priocntl:PC_SETXPARMS:ret -1, upriolmt 60, uprio 5 Not owner priocntl:PC_GETXPARMS:ret 24334, upriolmt 0, uprio 0 new thread id = 0x5, id=3 Error 0 priocntl:PC_GETXPARMS:ret 24334, upriolmt 0, uprio 0 Not owner priocntl:PC_SETXPARMS:ret -1, upriolmt 60, uprio 5 Not owner priocntl:PC_GETXPARMS:ret 24334, upriolmt 0, uprio 0 Enter any key to exit from program: 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] priocntl failure with EPERM when called from for same LWP on Solaris 10
Ganesh stated: Ganesh stated: I want to increase priority of some of the threads in my application on Solaris 10. For this, I'm calling priocntl from the same thread of which I want to increase the priority. priocntl(priocntl(P_LWPID,P_MYID,PC_SETXPARMS) is fails with EPERM Not owner error. According to http://docs.sun.com/app/docs/doc/816-0212/6m6nd4ncg?a =view#RETURN%20VALUES, I am using P_MYID to specify that this change applies to the same calling thread. Look like you need more privs. xtract from man page of priocntl(2) ERRORS ... EPERM The {PRIV_PROC_PRIOCNTL} privilege is not asserted in the effective set of the calling LWP. The calling LWP does not have sufficient privileges to affect the target LWP. he user you're running as have the requiried privs ? The same man page describes whats required. ean. How do verify whether my user id has the privilege to assert PRIV_PROC_PRIOCNTL or not? Or how can I assert this in the call to priocntl? getppriv(2) and or priv_ineffect(2) maybe ? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] which community for 652094 bug ?
Neerhaj N Joshi stated: i am new to opensolaris discussions/community. I am working on the 652094 bug and do not know which is the relevant community. Please help. Which bug ? 652094 doesn't exist. Seems you've left out a digit there. Regards, -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] What CPU run 64 bit kernel OpenSolaris
Andrew Watkins stated: Thanks for all the information, but the problem I am having - well not a problem - just a general question. What I have done is boot a Intel Core 2 (running Windows) off the latest OpenSolaris B67 x86 and entered the Singe User Shell straight away. Did you enter via the Failsafe grub menu or off a CD/DV/network ? In these cases you'll get the 32bit kernel. It won't be until you install Solaris that you'll get the 64bit kernel. # isainfo -v 32-bit i386 applications what does psrinfo -vp say ? Regards, Sean. . Now is this telling me the the computer can not run 64bit or is just because the install kernel is 32bit it want report if it can run 64bit. I have also used the Device Detection Tool, but that will report there are 3264 bit drivers are available, but does not tell me that OpenSolaris will run in 64bit mode. I guess by what people have said is that if the CPU supports EM64T or AMD64 then of course it will run 64bit! Thanks 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] Re: FlashPlayer 9 on SXDE on Laptop...It's Been a Long Time Coming!
Marco Falchi stated: FlashPayer 9 on SXDE, on my laptop it does not work!!! And ? Remote mind reading hasn't been integrated yet so we can't help given the amount of info you've written. Can you give any more details ? Where did you install the plugin to, either the system or in your own ~/.mozilla/plugins dir ? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] opensolaris 64a and Blastware package.
Marco Falchi stated: I have installed pkg-get on my Laptop SXDE 64a. I have installed amsn and gaim packages on SXDE 64a After OpenSolaris don't open gedit and firefox and it don't reboot. More info please. Do you think it should reboot after installing those packages ? Try logging out and in again to perhaps pick them up correctly. From a command line whats the output from trying to start firefox ? Regards, Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Help with Dell Dimension E521 NIC Driver on Solaris
Moinak Ghosh stated: ciwi wrote: Dear All I have a Dell Dimension E521 computer and have been trying to connect to the Internet on Solaris but to no avail. The following is what I did: 1. Edit the /etc/driver_aliases with [i]bge pci14e4,170c[/i]. One should never edit that file (or any in /etc), use add_drv instead like: add_drv -i 'pci14e4,170c' bfe this command will also update the /etc/name_to_major file and modload the driver.. 2. Run the command [i]modload /kernel/drv/bge[/i]. This line may not have worked for you if the system was in 64bit mode. 3. Run the command [i]ifconfig bge plumb[/i]. 4. Run the command [i]sys-unconfig[/i]. The result was that at bootup the system was just continuing to reboot after filesystem synchronisation. I guess that there is no driver for the NIC. continued to reboot ? You mean the box keeps rebooting ? Sounds like a different problem you have. I hope that any one can help. Your help is greatly appreciated. Thank you in advance. I myself am using this box. You need to grab Masayuki-San's bfe driver from here: http://homepage2.nifty.com/mrym3/taiyodo/bfe-2.4.0.tar.gz Same here, I use that driver, works a treat: # ifconfig -a lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 8232 index 1 inet 127.0.0.1 netmask ff00 bfe0: flags=201000843UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS mtu 1500 index 2 inet 192.168.2.3 netmask ff00 broadcast 192.168.2.255 ether 0:1a:a0:15:23:f0 Regards, Sean. . Regards, Moinak. Ciwi This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Open Solaris HowTo on x86
Vineet Goel stated: How to download kernel source code? I am interested in building kernel on x86. you'd be looking for the OpenSolaris Developer's Reference Guide at: http://opensolaris.org/os/community/on/devref_toc/ Theres a lot of docs there. Regards, Sean. . Thanks Vineet -- Date: Mon, 18 Jun 2007 14:14:51 -0400 Subject: Re: [osol-discuss] Open Solaris HowTo on x86 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Hi List, Could you show me the refernce (e.g E-Book, Link, etc) that related with How to used Open Solaris from first installation (for x86) until software configuration. Can you give this a try : http://www.blastwave.org/docs/s10u3_howto.html if anything looks wrong .. bugs you or just isn't clear then please feel free to drop me an email thats says hey man ...that is borked or any feedback at all. Dennis ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Make every IM count. Download Windows Live Messenger and join the i*m Initiative now. It*s free. Make it count! ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: snv_64a says 768MB RAM to play ?
UNIX admin stated: Differentiate between language, platform (and then, especially, its implementation) and api. Why? Fluent in JAVA? Not any more. I was formally educated in it though. Java and Swing, threaded programming. That was years ago though, and not an experience I care to repeat. And the other thing from last week, do you really believe a Ph.D. (in CS or Maths) istn't worth the paper it is written on??? I believe Gosling was seriously TRIPPIN' when he came up with that stuff. I believe Thompson and Ritchie were in a similar mood back in 69 (or so) 8-) Space Travel... This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] solaris index database?
Anne stated: Hi All Does anyone know if Solaris 10 has the ability to index all of it's contents and those contents are available for query? (Akin to Red Hat's locate and updatedb features.) The find command is so sllow bart(1M) ? cronjob to update the database(s). another script locate to grep this created database.. $ bart create -R $HOME/pics $HOME/.bart/pics.db $ locate kitten /home/sean/pics/camera/set3/Kitten1.jpg $ locate script #!/bin/sh [ -z $1 ] return 1; for i in $HOME/.bart/*; do grep -i $1 $i done #end of locate script has the added feature of having md5 checksuma in case something changed :) Thank you Anne ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] backspace key not working on Java environment
Anne stated: All When I start Xwindows from my workstation and connect to my Solaris 10 boxes, and I choose the Sun Java Desktop (not the classic CDE), I can't use the backup space key in the terminal windows. It's terribly annoying and in fact, I have to run CDE from now on because of it. I've tried changing the profile on it to allow the CTRL+H to be mapped to the backspace key, but doesn't work. Any ideas out there? Turn off numlock ? Thank you!! Anne ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: OpenSolaris or CentOs Sever?
MC stated: On Thu, 24 May 2007, MC wrote: An advantage Linux has over both Solaris and Windows is that Linux software RAID supports adding disks to an existing array. Bzzzt...wrong answer. ZFS supports software RAID (zraid) and allows you to toss disks at the pool in any way you want. You can add them in pairs and mirror them, just toss them in, or do a number of other things with them such as creating serpate pools and/or filesystems. I don't believe that is the case. What I'm talking about is growing an array with devices. So you have 3 disks in a raid5/raidz array, and then you add another disk, causing the free space on the array to grow from (3-1) disks worth of space to (4-1) disks worth of space. Data is preserved across this growth. Linux can achieve the above with four commands. They amount to expanding the array into the extra disk, and then expanding the file system into the full array. ( http://scotgate.org/?p=107 ) This topic has come up many times on the ZFS forums, and even then it is hard to get a straight answer. I blame that on a non-standard vocabulary surrounding these topics. Grow, array, pool, etc... lots of confusion and ambiguity there. But by the end of each question thread, an authoritative answer shows up: http://www.opensolaris.org/jive/thread.jspa?messageID=108195#108195 So unless something has changed since April, only Linux (and a number of hardware solutions) support growing raid5 arrays with devices. Indeed SVM has been able to so as well, Solaris 9 in fact could. (SVM == Solaris Volume Manager) An example from the Solaris 9 docs.. How to Expand a RAID 5 Volume http://docs.sun.com/app/docs/doc/817-2530/6mi6gg896?a=view Solaris 9 was released sometime before April I believe. Googling for 'windows expand raid 5' throws up about 943,000 results. perhaps one of those may explain how to do so on that OS. Windows too it seems to have been about since before April. Regards, -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] What is the maximum number of local zone can I have?
storage-disk stated: Hope this is not a new thread. I just have a simple question. What is the maximum number of local zone can I have? Theoretically, its about 8,192. Thats based on the maximum number of network interfaces one can have. Realistically, it depends on how much memory and disk space you have. eg from uber zones man; http://blogs.sun.com/jclingan you can see theres about 190 zones (aka containers) on a small Ultra-10 and about 600 on a v880. You can see his container count on the right hand side bar. Thanks. This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Jumpstart Linux NFSv4 mount problem
juan valdez stated: That works! Now to zip it all back up I did cd /tmp/b/ cpio -oc /tmp/a/x86.miniroot-modified Shouldn't need this cpio. Just unmount /tmp/b and gzip again. what I've usually done is copy the x86.miniroot to x86.miniroot.to.change do the ungzip/lofiadm/mount on the x86.miniroot.to.change unmount this lofi mount and then just gzip the x86.miniroot.change Here I change the etc/motd in the miniroot: (I'm using the safe miniroot, but its the same with the install miniroot, btw, don't replace the original safe miniroot !) # # gzip -dc /boot/x86.miniroot-safe x86.miniroot.to.change # mkdir mnt # lofiadm -a `pwd`/x86.miniroot.to.change /dev/lofi/1 # mount /dev/lofi/1 `pwd`/mnt # cd `pwd`/mnt/etc # ls -l motd -rw-r--r-- 1 root sys 53 Dec 20 18:07 motd # echo Hi Ya motd # ls -l motd -rw-r--r-- 1 root sys 59 Jan 12 20:29 motd # cd ../.. # umount `pwd`/mnt # lofiadm -d /dev/lofi/1 # gzip x86.miniroot.to.change # # # and just to be sure mount it again.. # # gzip -d x86.miniroot.to.change.gz # lofiadm -a `pwd`/x86.miniroot.to.change /dev/lofi/1 # fstyp /dev/rlofi/1 ufs # mount /dev/lofi/1 `pwd`/mnt # cat `pwd`/mnt/etc/motd Sun Microsystems Inc. SunOS 5.11 snv_55 October 2007 Hi Ya # after all this, the gzip'd filesizes are: # ls -l x86.miniroot.to.change /boot/x86.miniroot-safe -rw-r--r-- 1 root root 59044958 Dec 23 17:19 /boot/x86.miniroot-safe -rw-r--r-- 1 root root 59040281 Jan 12 20:33 x86.miniroot.to.change bash-3.00# Regards, but the file sizes are different: 154050560 bytes for x86.miniroot (original) 132227072 bytes for x86.miniroot-modified and lofiadm -a /tmp/a/x86.miniroot-modified mount /dev/lofi/2 /tmp/c/ gives the mount: /dev/lofi/2 is not this fstype which tells me my cpio flag's not set right, etc. Any quick clues on what's the best way to zip the miniroot back up into usable form? Thanks alot, J This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: How to find the number of cores on T1 processor
Nikolay Piskun stated: I am trying to implement in C++ something like what I get from: kstat -m cpu_info | grep core_id This article gives a decent intro into using libkstat http://developers.sun.com/solaris/articles/kstatc.html This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: U20 nge driver not working since build 52
Olivier Bourdon stated: Thanks for the info, however I had already tried to modify the BIOS settings, reverting to the factory failsafe defaults and also playing with the entry you mention without any more success. furthermore it does not explain why between 2 trials where I do not touch the BIOS, I can sucessfully install and use the nge driver if S10U2 is used (S10U3 seems to have the same problems than recent opensolaris versions). Besides OS changes, the driver version has also changed. Anybody having the same issues or a hint about how to have this network interface working ? I've had something like it with a U40 here. How do you install, via network by the sounds of it. So is your nge device the first device in the boot order of the bios. One possible workaround; make sure you try to boot from disk before network in the bios and then poweroff the box _and_ (important bit) remove the power cable from the back for about 10 seconds. This will clear anything settings on the nge device itself, so it'll be 'clean' when Solaris boots. By clean, all the registers on the card will be zero. Btw whats your bios version ? Regard, Sean. . Thanks Olivier 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] Re: WinXP Killed Solaris NIC
W. Wayne Liauh stated: Is there any way to cause Solaris to also write to (i.e., flush) this RAM, similar to what Fedora Core are doing? Thanks. This problem has been solved in the 2.6.18 Linux kernel (the forcedeth module will now reset the NIC cache). This explains why Fedora Core 6 (2.6.8 kernel) has no problem but SuSE 10.0/10.1 do (2.6.12 2.6.16 kernels, respectively). It might have already been solved in the latest Nevada. Almost. We encountered a similar problem with the nvidia nics. Theres a fix incoming to nevada any day now, its just going thru the process of getting in. quick query, whats the boot order on your box ? Its not pxe boot then cdrom then disk ? Regards, This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: WinXP Killed Solaris NIC
W. Wayne Liauh stated: Almost. We encountered a similar problem with the nvidia nics. Theres a fix incoming to nevada any day now, its just going thru the process of getting in. quick query, whats the boot order on your box ? Its not pxe boot then cdrom then disk ? Regards, Sean. . I suppose the BIOS will always do the pxe first. But yes, its cdrom then disk. Usually its not pxe boot first I think.. PXE boot first and you would see the pxe sending out DHCP requests, and on the screen would be like: DHCP.../ where the '/' is a dial, /-\|... But if it is on your box then a workaround woud be to set the pxe boot below cdrom and disk, then powercycle the box, with pulling the power cable for a few seconds (to clear any thing in the nic's cache/registers). This workaround works for us, though not needed with the fixed nge driver. If pxe boot isn't first in the boot order, then windows may be leaving the nic in a state that solaris doesn't like. Again a complete powercycle should clear things up. While not nice, its a possible workaround :) Hope this helps.. Regards, This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] GIMP Splash image ?
Laszlo (Laca) Peter stated: On Sun, 2006-10-15 at 01:07 -0400, Dennis Clarke wrote: Who are those people in the GIMP splash image ? just run /bin/gimp in snv_49 or newer I guess The gimp developers? (I don't know them, just guessing) Ya, I recognise Dave Neary from the photo (even though hes not with the gimp anymore).. Dave's the dude at the back in the red top. Notice that the animated splash image causes Xorg to hog the cpu ?-) There's a nice gallery of the ever changing gimp splash screens here: http://www.gimp.org/contest/gallery.cgi Laca ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Re: Re: Compiling sysbench on Solaris 10
Frank Mash stated: Hi all, I installed the latest version (Studio11) and the ./configure runs fine (no errors or warnings but running make now produces somewhat similar errors: Making all in doc make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/doc' Making all in scripts make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/scripts' Making all in sysbench make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench' Making all in drivers make[2]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers' Making all in mysql make[3]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers/mysql' source='drv_mysql.c' object='libsbmysql_a-drv_mysql.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../../../config/depcomp \ /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -I../.. -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_REENTRANT -g -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c drv_mysql.c, line 50: invalid token in #define macro parameters: ... drv_mysql.c, line 123: designated initializers is a C99 ISO feature Its just that one flag, -xc99=none, which is stopping you getting a clean run. The local mysql_config is putting it in. I can build sysbench just fine. Though if I have the -xc99=none flag in sysbench's makefiles I get the exact same error as you: ... cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I/usr/sfw/include/mysql -xstrconst -xc99=none -mt -I../.. -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_REENTRANT -g -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c drv_mysql.c, line 50: invalid token in #define macro parameters: ... drv_mysql.c, line 123: designated initializers is a C99 ISO feature cc: acomp failed for drv_mysql.c *** Error code 2 ... You can take it out of the Makefiles with this one-liner (in the sysbench directory of course) for i in `find . -name Makefile `; do cp $i ${i}.orig; sed -e '/xc99=none/ s/-xc99=none//g' ${i}.orig $i; done and run make again and you should get a clean compile. Regards, Sean. . cc: acomp failed for drv_mysql.c make[3]: *** [libsbmysql_a-drv_mysql.o] Error 2 make[3]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers/mysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench' make: *** [all-recursive] Error 1 Here is my current environment: TERM=xterm SHELL=/sbin/sh SSH_CLIENT=192.168.1.11 34203 22 OLDPWD=/home/fmashraqi/install/bench SSH_TTY=/dev/pts/5 USER=root LD_LIBRARY_PATH=/usr/local/mysql/lib:/usr/ccs/lib:/usr/lib:/usr/local/lib:/lib:/usr/ucblib PATH=/opt/SUNWspro/bin:/usr/sbin:/usr/bin:/usr/local/bin:.:/usr/ccs/bin:/usr/local/mysql/bin MAIL=/var/mail//root PWD=/home/fmashraqi/install/bench/sysbench-0.4.7 TZ=US/Eastern [EMAIL PROTECTED]:\w] SHLVL=1 HOME=/ LOGNAME=root SSH_CONNECTION=192.168.1.11 34203 192.168.1.192 22 CC=/opt/SUNWspro/bin/cc _=/usr/bin/env I have been working on it nonstop but no success still. Thanks for your assistance, Frank This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Compiling sysbench on Solaris 10
Frank Mash stated: Hello all, I have been trying to compile sysbench on SPARC/ Solaris 10 for the last 3 days but with no success. [...] checking for sqrt in -lm... yes checking for mysql_config... /usr/local/mysql/bin/mysql_config checking MySQL C flags... -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none checking MySQL linker flags... -xarch=v9 -L/usr/local/mysql/lib -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lmtmalloc ok, why is is using Sun C compiler options here, when you've specified gcc as the compiler ? checking libaio.h usability... no [...] The following is produced when I run make after the ./configure ### output of make ### Making all in doc make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/doc' Making all in scripts make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/scripts' Making all in sysbench make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench' Making all in drivers make[2]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers' Making all in mysql make[3]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers/mysql' if gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -I../.. -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c; \ then mv -f .deps/libsbmysql_a-drv_mysql.Tpo .deps/libsbmysql_a-drv_mysql.Po; else rm -f .deps/libsbmysql_a-drv_mysql.Tpo; exit 1; fi gcc: language c99=none not recognized gcc: drv_mysql.c: linker input file unused because linking not done mv: cannot access .deps/libsbmysql_a-drv_mysql.Tpo make[3]: *** [libsbmysql_a-drv_mysql.o] Error 2 make[3]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers/mysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench' make: *** [all-recursive] Error 1 ## It seems like the errors have something to do with the following two lines: -xc99=none and gcc: language c99=none not recognized Yup, looks like its mixing both gcc and SunC compiler options. The -xc99=none is a Sun C compiler option. eg, '-O2 -MT -MB -MP -MF' are all gcc options, whereas '-xO3 -md -x...' are all SunC compiler options. The configure script seems to be doing this for some reason. You don't have CFLAGS or CPPFLAGS set in your environment per chance ? Can someone please point out my oversight or what I am missing? I am stumped with this error. Thank you very much, Frank Hope this helps. Regards, This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Compiling sysbench on Solaris 10
Frank Mash stated: Thank you for your reply. Yup, looks like its mixing both gcc and SunC compiler options. The -xc99=none is a Sun C compiler option. eg, '-O2 -MT -MB -MP -MF' are all gcc options, whereas '-xO3 -md -x...' are all SunC compiler options. The configure script seems to be doing this for some reason. You don't have CFLAGS or CPPFLAGS set in your environment per chance ? How can I force configure and make to use the gcc compiler? Do I just need to set CFLAGS and CPPFLAGS in my environment. If so, what values should I set them to? I know this is a 101 question but your answer would assist me a lot. Just read the original configure output again. Its mysql thats putting in the Sun C options. Seems your local copy of mysql in /usr/local was compiled with Sun C compiler: checking for mysql_config... /usr/local/mysql/bin/mysql_config checking MySQL C flags... -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none checking MySQL linker flags... -xarch=v9 -L/usr/local/mysql/lib -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lmtmalloc Why not use the Sun C compiler instead of gcc then since mysql is compiled with it.. Sean. . Thanks, Frank This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Compiling sysbench on Solaris 10
Frank Mash stated: Thanks stevel and bochnig but adding the environment variables didn't help as I still get the same errors. Seanmcg, per your suggestion I was able to narrow it down to this line: /usr/local/mysql/bin/mysql_config --cflags -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none I have asked my SA to install CC but in the meantime is it possible to translate the above --cflags for cc to gcc so I can compile with GCC? Or does it mean that I cannot link MySQL (compiled with cc) with gcc? Change the mysql_config script itself ? Its a hack, but would work. Reminds me of trying to compile perl modules with gcc, when perl wants to use Sun C.. btw, looks like your mysql was compiled with a rather old version of the Sun C compiler (the FORTEC defined). I'd still try the newer compiler, unless theres a specific reason to use gcc.. /insert plug !/ -- even if there is theres the cooltools, gcc frontend with the Sun C compiler backend for better optimisation etc.. :-) /end plug !/ Regards, Thanks guys, Frank This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Compiling sysbench on Solaris 10
Frank Mash stated: One more thing, Can you please tell me how I would go around installing cc if it isn't on a machine? I tried sunfreeware.com site but they have gcc, not cc? http://developers.sun.com/prodtech/cc/downloads/index.jsp Free download. Regards, Thanks, Frank This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Re: Compiling sysbench on Solaris 10
I suspect you need a newer version of the sun compiler. sysbench-0.4.7 builds fine for me with the studio11 compilers. You can get that version via the same links as sent out. Older Sun compilers didn't like (I think) things like: static drv_caps_t mysql_drv_caps = { .multi_rows_insert = 1, .transactions = 0, .prepared_statements = 0, .auto_increment = 1, .serial = 0, .unsigned_int = 1, .table_options_str = NULL }; which happens to be where the compile bombs out in drv_mysql.c. Regards, Sean. . Frank Mash stated: Thank you everyone for your assistance. Steve, thanks for willing to assist me with this. I really appreciate it. Based on the recommendations, I finally installed cc and now I am getting the following errors when trying to compile sysbench: I was so happy to move beyond previous errors but now I am stuck with these. I compiled this on RHEL with no issues at all. Updated output of ./configure: ## [EMAIL PROTECTED]:/home/fmashraqi/install/bench/sysbench-0.4.7] ./configure checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... config/install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to compile with MySQL support... (cached) yes checking whether to compile with Oracle support... (cached) no checking whether to compile with PostgreSQL support... (cached) no checking for style of include used by make... GNU checking for gcc... /opt/SUNWspro/bin/CC checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether /opt/SUNWspro/bin/CC accepts -g... yes checking for /opt/SUNWspro/bin/CC option to accept ANSI C... none needed checking dependency style of /opt/SUNWspro/bin/CC... none checking whether SHM_HUGETLB is declared... no checking whether O_SYNC is declared... yes checking for gcc... (cached) /opt/SUNWspro/bin/CC checking whether we are using the GNU C compiler... (cached) no checking whether /opt/SUNWspro/bin/CC accepts -g... (cached) yes checking for /opt/SUNWspro/bin/CC option to accept ANSI C... (cached) none needed checking dependency style of /opt/SUNWspro/bin/CC... (cached) none checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... egrep checking for non-GNU ld... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... /usr/local/bin/gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 262144 checking command to parse /usr/ccs/bin/nm -p output from /opt/SUNWspro/bin/CC object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /opt/SUNWspro/bin/CC static flag works... yes checking for /opt/SUNWspro/bin/CC option to produce PIC... -KPIC checking if /opt/SUNWspro/bin/CC PIC flag -KPIC works... yes checking if /opt/SUNWspro/bin/CC supports -c -o file.o... yes checking whether the /opt/SUNWspro/bin/CC linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag CXX to libtool checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU
Re: [osol-discuss] Re: Re: Re: Re: Compiling sysbench on Solaris 10
[EMAIL PROTECTED] stated: You're using this as a C compiler: checking for gcc... (cached) /opt/SUNWspro/bin/CC It's a C++ compiler; anyone programming C will deny there's a relationship between the languages. Use /opt/SUNWspro/bin/cc. Even with that I get compile errors when running make: ANT -g -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c t -D_FORTEC_ -xarch=v9 -xc99=none -I../.. -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_REENTR Ok, so where do the cc flags come from? C99 is switched off (-xc99=none). See an earlier mail, its the /usr/local copy of mysql which is giving this. mysql_config --clfags is putting out: ... -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none .. Casper ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Re: Re: Compiling sysbench on Solaris 10
Frank Mash stated: You're using this as a C compiler: checking for gcc... (cached) /opt/SUNWspro/bin/CC It's a C++ compiler; anyone programming C will deny there's a relationship between the languages. Use /opt/SUNWspro/bin/cc. Even with that I get compile errors when running make: # Making all in doc make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/doc' Making all in scripts make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/scripts' Making all in sysbench make[1]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench' Making all in drivers make[2]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers' Making all in mysql make[3]: Entering directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers/mysql' source='drv_mysql.c' object='libsbmysql_a-drv_mysql.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../../../config/depcomp \ /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -I../.. -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_REENTRANT -g -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c drv_mysql.c, line 50: invalid token in #define macro parameters: ... drv_mysql.c, line 123: designated initializers is a C99 ISO feature cc: acomp failed for drv_mysql.c make[3]: *** [libsbmysql_a-drv_mysql.o] Error 2 Its that '-xc99=none' flag which may be the cause here. You could either change the mysql_config script so that it doesn't print this out or recompile mysql :) Regards, make[3]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers/mysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fmashraqi/install/bench/sysbench-0.4.7/sysbench' make: *** [all-recursive] Error 1 Now I am trying to make sure I have SunStudio 11. Will update here. Thanks everyone, Frank This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] No google code hosting for CDDL/OpenSolaris based projects
Joerg Schilling stated: Jim Grisanzio [EMAIL PROTECTED] wrote: People waiting for uptake will get it in due time. Let's give them the benefit of the doubt and educate them (as you guys are doing). I think they need to see more projects using CDDL, and I think they have a valid point. OpenSolaris uses CDDL. Glassfish uses CDDL. NetBeans uses CDDL. That's a lot of code right there. And Open Media Commons uses CDDL, but I'm not sure what else. What am I missing? What non-Sun projects are using CDDL? That will be the metric that moves people looking for uptake. Lets not forget this gem: http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/738bc2550bef2ac1/8b7cd7d2196a0d91 The first complete program that used the CDDL (since February 2005) was star. Since May 2006, cdrtools (cdrecord + others) use mainly the CDDL. Total ~ 8MB of code, 26 lines of code. 29% of the complete project is still under GPL (mkisofs). Of course, SchilliX, Belenix and Nexenta are under CDDL For the rest look e.g. at: http://freshmeat.net/browse/1103/ I don't know how they measuure upcome do they wait until 1000 useless tiny and projects appear under CDDL? Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] multiboot fails with trap type 14?
Peter Eriksson stated: I'm getting a bit frustrated since I doesn't seem to be able to install anything more modern than Solaris 10 FCS on one of my servers (I want to run ZFS on this machine)... I'm trying to network-install Solaris 10 6-06 and/or Solaris Nevada but all that happens is that after Grub has shown me the list of kernels to boot and it has been loading it for a while (printing the ...) it bombs with: Whats your /tftpboot/menu.lst.. file look like ? That and the command line you used with ./add_install_client will help. trap type 14 (0xe) err code 0x0 eip=0x1006413 ... panic: unexpected trap in boot loader I've tried many things now (upgraded the BIOS to the lastest rev, removed half the RAM, disabled various things in the BIOS (including ACPI) - nothing seems to make any difference. This is getting annoying... Hardware: Motherboard: Supermicro X6DH8-XG2 BIOS: Phoenix ServerBIOS 3 Release 6.1 (Supermicro BIOS rev 2.0) CPU: Intel Xeon 2.8GHz (with HyperThreading and x86_64 support) RAM: 2GB (DD2-400) I'm at loss at what to try next - any suggestions? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: multiboot fails with trap type 14?
Peter tried out what suggested and it worked, mainly by moving the 'bootargs='-v install dhcp'. Sean. . Yup. Your suggestion helped. Now the jumpstart is running just fine! - Peter On Thu, 6 Jul 2006, Sean McGrath - Sun Microsystems Ireland wrote: Peter Eriksson stated: On Thu, 6 Jul 2006, Sean McGrath - Sun Microsystems Ireland wrote: Peter Eriksson stated: I'm getting a bit frustrated since I doesn't seem to be able to install anything more modern than Solaris 10 FCS on one of my servers (I want to run ZFS on this machine)... I'm trying to network-install Solaris 10 6-06 and/or Solaris Nevada but all that happens is that after Grub has shown me the list of kernels to boot and it has been loading it for a while (printing the ...) it bombs with: Whats your /tftpboot/menu.lst.. file look like ? That and the command line you used with ./add_install_client will help. Here's the menu.lst file: /tftpboot/menu.lst.0100304876018E default=0 timeout=30 title Solaris_10 Jumpstart kernel /I86PC.Solaris_10-2/multiboot kernel/unix -B kbd-type=Swedish,boot-args=' -v install dhcp',install_config=installhost.ifm.liu.se:/export/instx86js,sysid_config=inst allhost.ifm.liu.se:/export/instx86js/config,install_media=130.236.160.7:/export/ install/x86/solaris/5.10/6-06 module /I86PC.Solaris_10-2/x86.miniroot Thanks Peter, ya I know the bug (possibly :) try this instead: default=0 timeout=30 title Solaris_10 Jumpstart kernel /I86PC.Solaris_10-2/multiboot kernel/unix - install dhcp -B kbd-type=Swedish,install_config=installhost.ifm.liu.se:/export/instx86js,sysid_c onfig=installhost.ifm.liu.se:/export/instx86js/config,install_media=130.236.160. 7:/export/install/x86/solaris/5.10/6-06 module /I86PC.Solaris_10-2/x86.miniroot Am just removing the ',boot-args' bit and putting the '- install dhcp' before the -B option. You'll need to edit the menu.lst manually. Looks very like this bug: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6351286 If the newer menu.lst above works, I'll add to the bug and get it moving :) Regards, Sean. . Peter Eriksson stated: /tftpboot/menu.lst.0100304876018E default=0 timeout=30 title Solaris_10 Jumpstart kernel /I86PC.Solaris_10-2/multiboot kernel/unix -B kbd-type=Swedish,boot-args=' -v install dhcp',install_config=installhost.ifm.liu.se:/export/instx86js,sysid_config=installhost.ifm.liu.se:/export/instx86js/config,install_media=130.236.160.7:/export/install/x86/solaris/5.10/6-06 module /I86PC.Solaris_10-2/x86.miniroot This is the command I used to set up the client: ./add_install_client -d -e $MAC -b kbd-type=Swedish -b boot-args=' -v install dhcp' -p installhost.ifm.liu.se:/export/instx86js/config -c installhost.ifm.liu.se:/export/instx86js i86pc This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: How to write portable scripts in Solaris?
Josip Gracin stated: Shawn Walker wrote: POSIX requires that you get a POSIX shell if you type sh after you did setup a POSIX compliant PATH So, there's nothing disturbing about this at all. Shawn, I would appreciate an advice on the following situation then: I'm trying to port a software called Asterisk to Solaris. The software uses XPG4-compliant shell scripts in its build process. Those scripts use the non-standard '#!/bin/sh' as their first line. The scripts accidentally work on currently supported platforms, but fail on Solaris due to the fact that they use some XPG4 stuff which is not in Solaris /bin/sh. This is the Asterisk PBX right ? Just compiled asterisk-1.2.9 almost out of the box[1] on Solaris (snv_42). Asterisk is primarily developed and tested on linux (re: the readme) it could be argued that you just need to run things from a bash shell. Asterisk also requires the use of gmake, since it makes use of gmake feautures and is thus not posix compliant... That and the shell scripts themselves call other binaries which assume that they're gnu binaries; eg it calls 'mv --force'. Long getopts like these aren't posix compliant (correct me if I'm wrong) are they ? So what do I do to make this work in Solaris? Changing the scripts so that they don't use all XPG4 features but only those which Solaris's /bin/sh happens to implement is not an option. Asterisk seems to be dependant on gnu utils rather than posix compliant utils. This is familiar with a lot of software thats been primarily developed using on linux (and or other OSes) w/ gnu-utils/tools. btw, where in the asterisk source do you find anything like 'r=$((3 + 1))' ? The only script I found '((...))' was in a rc script that was written for the mandrake linux distro. Though if you're not talking about the Asterisk PBX then feel free to ignore what I just wrote :) ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org Regards, -- Sean. . [1] needed ncurses, changed Makefile to point to ncurses location. In some subdir Makefiles, eg editline, call 'grep -q' (posix), and 'mv --force' (gnu) The apps/Makfile spawns an 'if [[ ... ]]' whereas in the pbx/Makfile, there is spawned an '[ ... ]' ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] TTY console and GUI console
Bruce Riddle stated: I just stumbled accross something quite wonderful. I can have both a TTY(B) console and a Graphic console at the same time. When did this sneak in? I am very happy to see this. Since SunOS 4.x ? Its been around forever. I haven't BFUed the system since early January. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: Re: CDE Vs JDS
UNIX admin stated: If expanding adoption of Solaris as a better alternative is a community goal, then addressing the lack of GUI admin tools might help accomplish that goal. Check out the Visual Panels project if you haven't already, some good ideas there: http://www.opensolaris.org/os/project/vpanels/ That says a whole lot without actually saying anything. If only there were one single screenshot of the thing, it would most likely be sufficient to replace the tons of text on that page. As it stands right now, it's all completely abstract. umm. left hand menu has a screenshots link.. http://www.opensolaris.org/os/project/vpanels/screenshots/ This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . sean DoT mcgrath At sun.com http://blogs.sun.com/smg http://www.sun.com/software/solaris ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] CDE Vs JDS
Ian Collins stated: Peter Tribble wrote: This is especially an issue when you have hundreds of otherwise identical terminal windows. I'm not aware of any desktop environment which handles this gracefully. Use fewer windows and more tabs, which you can name. In the window list properties, have 'Always group windows' on. I've a few dozen console open, all hanging from one tab. Click on the tab, it pulls down a list of grouped windows for that tab. Makes haves oodles of windows on the desktop bearable. Sean. . Ian ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] CDE Vs JDS
Peter Tribble stated: On Tue, 2006-02-14 at 11:06, Sean McGrath - Sun Microsystems Ireland wrote: Ian Collins stated: Peter Tribble wrote: This is especially an issue when you have hundreds of otherwise identical terminal windows. I'm not aware of any desktop environment which handles this gracefully. Use fewer windows and more tabs, which you can name. In the window list properties, have 'Always group windows' on. I've a few dozen console open, all hanging from one tab. Click on the tab, it pulls down a list of grouped windows for that tab. Makes haves oodles of windows on the desktop bearable. Oh great. One button that says XTerm (77) and a vertical list give yer terminals names :) xterm escape codes etc... that I need to go to the top of and scroll. It works, up to a point. Has its drawbacks as well - would be nice to have the option to Group these windows. Thanks! Theres and RFE if I ever heard one. Pick a bunch of windows to group together... Ultimately it's my fault. Must organize better... So should gnome ;-) -- -Peter Tribble L.I.S., University of Hertfordshire - http://www.herts.ac.uk/ http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: t-shirt sad tale
Phil Plouffe stated: I received mine some time ago. Unfortunatly, I didn't received the size I ordered and got a medium size one; I know that no promises were made regarding size..but I cannot even fit in a medium-sized one. My question: Does someone know if they intend to built a program to sell t-shirts and other stuff (pens, coffee mug, etc..). I'm looking forward to be able to buy a t-shirt I'll be able to wear. You be wanting to visit http://genunix.spreadshirt.net :) Philippe This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . sean DoT mcgrath At sun.com http://blogs.sun.com/smg http://www.sun.com/software/solaris ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Re: Re: How To Mount CDROM?
Tried the command; rmformat ? eg: (having a cd in the drive, but vold not running) # rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c1t0d0p0 Physical Node: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0 Connected Device: TEAC DW-552G N4K1 Device Type: DVD Reader Bus: IDE Size: 531.6 MB Label: None Access permissions: Medium is not write protected. powwop stated: Hi All, iostat -En returns nothing. Cheers. powpow... This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org