From ironsides.medvet at gmail.com Tue May 1 09:20:13 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Tue, 01 May 2012 11:20:13 +0200 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: <4F9F1F4A.3010606@gmail.com> References: <4F9F1F4A.3010606@gmail.com> Message-ID: <4F9FAACD.8000404@gmail.com> Also, you might want to use the version of GCC that you find on SFE. The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is 4.6.2. I have had better luck compiling with the latter as opposed to the former. When you have multiple compilers installed, you can set the one you want to use for the project by providing the CC flag to the configure script or as an environment variable: ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE version of gcc Otherwise, go to the Oracle website and download the Solaris Studio compiler tarfile. It works well, but some software won't compile cleanly on it since the source code uses "gcc-isms". When it works it's a painless process. Also, the license states that it can be used for free for both personal and commercial uses. It also ships with its own IDE, a version of NetBeans. ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with the Oracle compiler. Again, I hope this helps. Bryan On 05/ 1/12 01:24 AM, James C. McPherson wrote: > On 1/05/12 09:08 AM, Robbie Crash wrote: >> Honestly, I think including this, I'm still on single digits with >> what I've >> had to compile from source, and definitely the only thing that I've ever >> had to figure out, so you not being a professional is still leaps and >> bounds ahead of me. >> >> I'm using gcc installed via "pkg install gcc", which I assume means I'm >> getting it from OI. >> >> I set the two variables as you recommended, with my paths, (export >> PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p >> >> kgconfig/" and export >> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still receive >> the same error. > > ... more below > >>>> No package 'ncurses' found >>>> >>>> I have no idea what TINFO is, but from googling around, I find it has >>>> something to do with ncurses as an independent provider for something >>> (I'm >>>> terribly helpful, I know). I know ncurses is installed and that other >>>> programs that are dependent on it work, and there are libs in >>> /usr/gnu/lib >>>> and /usr/gnu/lib/amd64. > > ... > >>>> But setting either doesn't fix anything. However, this is the first >>>> time >>>> I've run into issues with a configure script not working, so this is >>>> probably me not actually doing things properly. Specifying my >>>> libdir to >>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. >>>> >>>> Does anyone have any ideas for where to go from here? > > You need to verify that the ncurses package is correctly installed, > and then when running mosh's configure script, ensure that you have > /usr/gnu/lib (assuming that's where your ncurses libs are) in your > CFLAGS/CXXFLAGS via something like this: > > CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS > CXXFLAGS > > It's preferable to get gcc to use an rpath rather than forcing > LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it > takes, that's what it takes. > > > James C. McPherson > -- > Solaris kernel software engineer, system admin and troubleshooter > http://www.jmcp.homeunix.com/blog > Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From sriram at belenix.org Tue May 1 09:24:10 2012 From: sriram at belenix.org (Sriram Narayanan) Date: Tue, 1 May 2012 14:54:10 +0530 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: <4F9FAACD.8000404@gmail.com> References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> Message-ID: You'll also need to get protocol-buffers to work. -- Sriram Belenix: www.belenix.org On Tue, May 1, 2012 at 2:50 PM, Bryan N Iotti wrote: > Also, you might want to use the version of GCC that you find on SFE. > > The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is 4.6.2. > I have had better luck compiling with the latter as opposed to the former. > > When you have multiple compilers installed, you can set the one you want to > use for the project by providing the CC flag to the configure script or as > an environment variable: > > ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE version > of gcc > > Otherwise, go to the Oracle website and download the Solaris Studio compiler > tarfile. It works well, but some software won't compile cleanly on it since > the source code uses "gcc-isms". When it works it's a painless process. > Also, the license states that it can be used for free for both personal and > commercial uses. It also ships with its own IDE, a version of NetBeans. > > ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with the > Oracle compiler. > > Again, I hope this helps. > > ? Bryan > > On 05/ 1/12 01:24 AM, James C. McPherson wrote: >> >> On ?1/05/12 09:08 AM, Robbie Crash wrote: >>> >>> Honestly, I think including this, I'm still on single digits with what >>> I've >>> had to compile from source, and definitely the only thing that I've ever >>> had to figure out, so you not being a professional is still leaps and >>> bounds ahead of me. >>> >>> I'm using gcc installed via "pkg install gcc", which I assume means I'm >>> getting it from OI. >>> >>> I set the two variables as you recommended, with my paths, (export >>> >>> PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p >>> kgconfig/" and export >>> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still receive >>> the same error. >> >> >> ... more below >> >>>>> No package 'ncurses' found >>>>> >>>>> I have no idea what TINFO is, but from googling around, I find it has >>>>> something to do with ncurses as an independent provider for something >>>> >>>> (I'm >>>>> >>>>> terribly helpful, I know). I know ncurses is installed and that other >>>>> programs that are dependent on it work, and there are libs ?in >>>> >>>> /usr/gnu/lib >>>>> >>>>> and /usr/gnu/lib/amd64. >> >> >> ... >> >>>>> But setting either doesn't fix anything. However, this is the first >>>>> time >>>>> I've run into issues with a configure script not working, so this is >>>>> probably me not actually doing things properly. Specifying my libdir to >>>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. >>>>> >>>>> Does anyone have any ideas for where to go from here? >> >> >> You need to verify that the ncurses package is correctly installed, >> and then when running mosh's configure script, ensure that you have >> /usr/gnu/lib (assuming that's where your ncurses libs are) in your >> CFLAGS/CXXFLAGS via something like this: >> >> CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS CXXFLAGS >> >> It's preferable to get gcc to use an rpath rather than forcing >> LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it >> takes, that's what it takes. >> >> >> James C. McPherson >> -- >> Solaris kernel software engineer, system admin and troubleshooter >> ? ? ? ? ? ? ?http://www.jmcp.homeunix.com/blog >> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From ironsides.medvet at gmail.com Tue May 1 13:26:56 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Tue, 01 May 2012 15:26:56 +0200 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> Message-ID: <4F9FE4A0.80003@gmail.com> I also tried to compile it, but couldn't get it to succeed... I had to compile protobuf and ncurses first, then symlink libncursestw.so to libncurses.so otherwise it wouldn't find it, then it appeared to work away for a while, only to crash miserably on a missing "," or "." in network.h. Undeclared __STRING was the last error. I'll look into it again in a couple of days, might be an easy fix. Bryan On 05/ 1/12 11:24 AM, Sriram Narayanan wrote: > You'll also need to get protocol-buffers to work. > > -- Sriram > Belenix: www.belenix.org > > On Tue, May 1, 2012 at 2:50 PM, Bryan N Iotti > wrote: >> Also, you might want to use the version of GCC that you find on SFE. >> >> The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is 4.6.2. >> I have had better luck compiling with the latter as opposed to the former. >> >> When you have multiple compilers installed, you can set the one you want to >> use for the project by providing the CC flag to the configure script or as >> an environment variable: >> >> ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE version >> of gcc >> >> Otherwise, go to the Oracle website and download the Solaris Studio compiler >> tarfile. It works well, but some software won't compile cleanly on it since >> the source code uses "gcc-isms". When it works it's a painless process. >> Also, the license states that it can be used for free for both personal and >> commercial uses. It also ships with its own IDE, a version of NetBeans. >> >> ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with the >> Oracle compiler. >> >> Again, I hope this helps. >> >> Bryan >> >> On 05/ 1/12 01:24 AM, James C. McPherson wrote: >>> On 1/05/12 09:08 AM, Robbie Crash wrote: >>>> Honestly, I think including this, I'm still on single digits with what >>>> I've >>>> had to compile from source, and definitely the only thing that I've ever >>>> had to figure out, so you not being a professional is still leaps and >>>> bounds ahead of me. >>>> >>>> I'm using gcc installed via "pkg install gcc", which I assume means I'm >>>> getting it from OI. >>>> >>>> I set the two variables as you recommended, with my paths, (export >>>> >>>> PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p >>>> kgconfig/" and export >>>> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still receive >>>> the same error. >>> >>> ... more below >>> >>>>>> No package 'ncurses' found >>>>>> >>>>>> I have no idea what TINFO is, but from googling around, I find it has >>>>>> something to do with ncurses as an independent provider for something >>>>> (I'm >>>>>> terribly helpful, I know). I know ncurses is installed and that other >>>>>> programs that are dependent on it work, and there are libs in >>>>> /usr/gnu/lib >>>>>> and /usr/gnu/lib/amd64. >>> >>> ... >>> >>>>>> But setting either doesn't fix anything. However, this is the first >>>>>> time >>>>>> I've run into issues with a configure script not working, so this is >>>>>> probably me not actually doing things properly. Specifying my libdir to >>>>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. >>>>>> >>>>>> Does anyone have any ideas for where to go from here? >>> >>> You need to verify that the ncurses package is correctly installed, >>> and then when running mosh's configure script, ensure that you have >>> /usr/gnu/lib (assuming that's where your ncurses libs are) in your >>> CFLAGS/CXXFLAGS via something like this: >>> >>> CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS CXXFLAGS >>> >>> It's preferable to get gcc to use an rpath rather than forcing >>> LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it >>> takes, that's what it takes. >>> >>> >>> James C. McPherson >>> -- >>> Solaris kernel software engineer, system admin and troubleshooter >>> http://www.jmcp.homeunix.com/blog >>> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson >>> >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From t12nslookup at gmail.com Tue May 1 16:27:13 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Tue, 1 May 2012 17:27:13 +0100 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: <4F9FE4A0.80003@gmail.com> References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> <4F9FE4A0.80003@gmail.com> Message-ID: ./src/statesync/completeterminal.cc and ./src/network/transportsender.cc #ifndef INT_MAX #define INT_MAX 2147483647 /* max value of an "int" */ #endif ./src/util/fatal_assert.h and ./src/util/dos_assert.h #ifndef __STRING #define __STRING(x) #x #endif ./src/network/network.h and ./src/network/network.cc have a problem with "s_addr" in the arguments to "try_bind" static bool try_bind( int socket, uint32_t my_s_addr, int port ); ./src/frontend/stmclient.cc has "cfmakeraw" which has no direct solaris equivalent ... I commented it out and hoped for the best. I compiled with: ./configure --prefix=/opt/tools CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS="-R/usr/gnu/lib/amd64 -L/usr/gnu/lib/amd64" LIBS="-lsocket -lnsl" it's compiled the client, but not the server ... completely untested ... might look later. Jon On 1 May 2012 14:26, Bryan N Iotti wrote: > I also tried to compile it, but couldn't get it to succeed... > > I had to compile protobuf and ncurses first, then symlink libncursestw.so to > libncurses.so otherwise it wouldn't find it, then it appeared to work away > for a while, only to crash miserably on a missing "," or "." in network.h. > Undeclared __STRING was the last error. > > I'll look into it again in a couple of days, might be an easy fix. > > Bryan > > > On 05/ 1/12 11:24 AM, Sriram Narayanan wrote: >> >> You'll also need to get protocol-buffers to work. >> >> -- Sriram >> Belenix: www.belenix.org >> >> On Tue, May 1, 2012 at 2:50 PM, Bryan N Iotti >> ?wrote: >>> >>> Also, you might want to use the version of GCC that you find on SFE. >>> >>> The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is >>> 4.6.2. >>> I have had better luck compiling with the latter as opposed to the >>> former. >>> >>> When you have multiple compilers installed, you can set the one you want >>> to >>> use for the project by providing the CC flag to the configure script or >>> as >>> an environment variable: >>> >>> ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE >>> version >>> of gcc >>> >>> Otherwise, go to the Oracle website and download the Solaris Studio >>> compiler >>> tarfile. It works well, but some software won't compile cleanly on it >>> since >>> the source code uses "gcc-isms". When it works it's a painless process. >>> Also, the license states that it can be used for free for both personal >>> and >>> commercial uses. It also ships with its own IDE, a version of NetBeans. >>> >>> ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with the >>> Oracle compiler. >>> >>> Again, I hope this helps. >>> >>> ? Bryan >>> >>> On 05/ 1/12 01:24 AM, James C. McPherson wrote: >>>> >>>> On ?1/05/12 09:08 AM, Robbie Crash wrote: >>>>> >>>>> Honestly, I think including this, I'm still on single digits with what >>>>> I've >>>>> had to compile from source, and definitely the only thing that I've >>>>> ever >>>>> had to figure out, so you not being a professional is still leaps and >>>>> bounds ahead of me. >>>>> >>>>> I'm using gcc installed via "pkg install gcc", which I assume means I'm >>>>> getting it from OI. >>>>> >>>>> I set the two variables as you recommended, with my paths, (export >>>>> >>>>> >>>>> PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p >>>>> kgconfig/" and export >>>>> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still >>>>> receive >>>>> the same error. >>>> >>>> >>>> ... more below >>>> >>>>>>> No package 'ncurses' found >>>>>>> >>>>>>> I have no idea what TINFO is, but from googling around, I find it has >>>>>>> something to do with ncurses as an independent provider for something >>>>>> >>>>>> (I'm >>>>>>> >>>>>>> terribly helpful, I know). I know ncurses is installed and that other >>>>>>> programs that are dependent on it work, and there are libs ?in >>>>>> >>>>>> /usr/gnu/lib >>>>>>> >>>>>>> and /usr/gnu/lib/amd64. >>>> >>>> >>>> ... >>>> >>>>>>> But setting either doesn't fix anything. However, this is the first >>>>>>> time >>>>>>> I've run into issues with a configure script not working, so this is >>>>>>> probably me not actually doing things properly. Specifying my libdir >>>>>>> to >>>>>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. >>>>>>> >>>>>>> Does anyone have any ideas for where to go from here? >>>> >>>> >>>> You need to verify that the ncurses package is correctly installed, >>>> and then when running mosh's configure script, ensure that you have >>>> /usr/gnu/lib (assuming that's where your ncurses libs are) in your >>>> CFLAGS/CXXFLAGS via something like this: >>>> >>>> CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS >>>> CXXFLAGS >>>> >>>> It's preferable to get gcc to use an rpath rather than forcing >>>> LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it >>>> takes, that's what it takes. >>>> >>>> >>>> James C. McPherson >>>> -- >>>> Solaris kernel software engineer, system admin and troubleshooter >>>> ? ? ? ? ? ? ?http://www.jmcp.homeunix.com/blog >>>> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson >>>> >>>> >>>> _______________________________________________ >>>> OpenIndiana-discuss mailing list >>>> OpenIndiana-discuss at openindiana.org >>>> http://openindiana.org/mailman/listinfo/openindiana-discuss >>> >>> >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From t12nslookup at gmail.com Tue May 1 18:27:08 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Tue, 1 May 2012 19:27:08 +0100 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> <4F9FE4A0.80003@gmail.com> Message-ID: got the server compiled with a combination of creating "forkpty" from http://bugs.mysql.com/bug.php?id=22429, //ing out the stdin/out/err declarations and removing -lutil from the Makefile ... The server runs and sits in memory, it forced me to set my locale to something UTF-8, however something doesn't work. when I try to connect with the client it fails. since I don't have a mosh server readily available for testing I cannot tell if it is the client or the server that I've borked getting it to compile :) Jon On 1 May 2012 17:27, Jonathan Adams wrote: > ./src/statesync/completeterminal.cc and ./src/network/transportsender.cc > > #ifndef INT_MAX > #define INT_MAX ? ? ? ? 2147483647 ? ? ?/* max value of an "int" */ > #endif > > ./src/util/fatal_assert.h and ./src/util/dos_assert.h > > #ifndef __STRING > #define __STRING(x) #x > #endif > > ./src/network/network.h and ./src/network/network.cc have a problem > with "s_addr" in the arguments to "try_bind" > > ? ?static bool try_bind( int socket, uint32_t my_s_addr, int port ); > > ./src/frontend/stmclient.cc has "cfmakeraw" which has no direct > solaris equivalent ... I commented it out and hoped for the best. > > I compiled with: ./configure --prefix=/opt/tools CFLAGS=-m64 > CXXFLAGS=-m64 LDFLAGS="-R/usr/gnu/lib/amd64 -L/usr/gnu/lib/amd64" > LIBS="-lsocket -lnsl" > > it's compiled the client, but not the server ... completely untested > ... might look later. > > Jon > > On 1 May 2012 14:26, Bryan N Iotti wrote: >> I also tried to compile it, but couldn't get it to succeed... >> >> I had to compile protobuf and ncurses first, then symlink libncursestw.so to >> libncurses.so otherwise it wouldn't find it, then it appeared to work away >> for a while, only to crash miserably on a missing "," or "." in network.h. >> Undeclared __STRING was the last error. >> >> I'll look into it again in a couple of days, might be an easy fix. >> >> Bryan >> >> >> On 05/ 1/12 11:24 AM, Sriram Narayanan wrote: >>> >>> You'll also need to get protocol-buffers to work. >>> >>> -- Sriram >>> Belenix: www.belenix.org >>> >>> On Tue, May 1, 2012 at 2:50 PM, Bryan N Iotti >>> ?wrote: >>>> >>>> Also, you might want to use the version of GCC that you find on SFE. >>>> >>>> The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is >>>> 4.6.2. >>>> I have had better luck compiling with the latter as opposed to the >>>> former. >>>> >>>> When you have multiple compilers installed, you can set the one you want >>>> to >>>> use for the project by providing the CC flag to the configure script or >>>> as >>>> an environment variable: >>>> >>>> ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE >>>> version >>>> of gcc >>>> >>>> Otherwise, go to the Oracle website and download the Solaris Studio >>>> compiler >>>> tarfile. It works well, but some software won't compile cleanly on it >>>> since >>>> the source code uses "gcc-isms". When it works it's a painless process. >>>> Also, the license states that it can be used for free for both personal >>>> and >>>> commercial uses. It also ships with its own IDE, a version of NetBeans. >>>> >>>> ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with the >>>> Oracle compiler. >>>> >>>> Again, I hope this helps. >>>> >>>> ? Bryan >>>> >>>> On 05/ 1/12 01:24 AM, James C. McPherson wrote: >>>>> >>>>> On ?1/05/12 09:08 AM, Robbie Crash wrote: >>>>>> >>>>>> Honestly, I think including this, I'm still on single digits with what >>>>>> I've >>>>>> had to compile from source, and definitely the only thing that I've >>>>>> ever >>>>>> had to figure out, so you not being a professional is still leaps and >>>>>> bounds ahead of me. >>>>>> >>>>>> I'm using gcc installed via "pkg install gcc", which I assume means I'm >>>>>> getting it from OI. >>>>>> >>>>>> I set the two variables as you recommended, with my paths, (export >>>>>> >>>>>> >>>>>> PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p >>>>>> kgconfig/" and export >>>>>> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still >>>>>> receive >>>>>> the same error. >>>>> >>>>> >>>>> ... more below >>>>> >>>>>>>> No package 'ncurses' found >>>>>>>> >>>>>>>> I have no idea what TINFO is, but from googling around, I find it has >>>>>>>> something to do with ncurses as an independent provider for something >>>>>>> >>>>>>> (I'm >>>>>>>> >>>>>>>> terribly helpful, I know). I know ncurses is installed and that other >>>>>>>> programs that are dependent on it work, and there are libs ?in >>>>>>> >>>>>>> /usr/gnu/lib >>>>>>>> >>>>>>>> and /usr/gnu/lib/amd64. >>>>> >>>>> >>>>> ... >>>>> >>>>>>>> But setting either doesn't fix anything. However, this is the first >>>>>>>> time >>>>>>>> I've run into issues with a configure script not working, so this is >>>>>>>> probably me not actually doing things properly. Specifying my libdir >>>>>>>> to >>>>>>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. >>>>>>>> >>>>>>>> Does anyone have any ideas for where to go from here? >>>>> >>>>> >>>>> You need to verify that the ncurses package is correctly installed, >>>>> and then when running mosh's configure script, ensure that you have >>>>> /usr/gnu/lib (assuming that's where your ncurses libs are) in your >>>>> CFLAGS/CXXFLAGS via something like this: >>>>> >>>>> CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS >>>>> CXXFLAGS >>>>> >>>>> It's preferable to get gcc to use an rpath rather than forcing >>>>> LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it >>>>> takes, that's what it takes. >>>>> >>>>> >>>>> James C. McPherson >>>>> -- >>>>> Solaris kernel software engineer, system admin and troubleshooter >>>>> ? ? ? ? ? ? ?http://www.jmcp.homeunix.com/blog >>>>> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson >>>>> >>>>> >>>>> _______________________________________________ >>>>> OpenIndiana-discuss mailing list >>>>> OpenIndiana-discuss at openindiana.org >>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss >>>> >>>> >>>> >>>> _______________________________________________ >>>> OpenIndiana-discuss mailing list >>>> OpenIndiana-discuss at openindiana.org >>>> http://openindiana.org/mailman/listinfo/openindiana-discuss >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss From sardonic.smiles at gmail.com Tue May 1 18:39:11 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 1 May 2012 14:39:11 -0400 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> <4F9FE4A0.80003@gmail.com> Message-ID: Thanks for all the pointers everyone. I'm now at this point as well. I also ran into some issues getting perl to compile the IO::Pty module due to, apparently known, Solaris weirdness with gcc, which Bryan Iotti touched on earlier. doing configure --libdir=/usr/gnu/lib --bindir=/usr/gnu/bin --enable-server works, but trying to make gets me something similar to the above, but with whinging about terminal functions with framebuffering: terminaldisplay.cc: In member function ?std::string Terminal::Display::new_frame(bool, const Terminal::Framebuffer&, const Terminal::Framebuffer&) const?: terminaldisplay.cc:57:31: warning: format ?%lc? expects argument of type ?wint_t?, but argument 4 has type ?int? [-Wformat] terminaldisplay.cc:68:31: warning: format ?%lc? expects argument of type ?wint_t?, but argument 4 has type ?int? [-Wformat] terminaldisplay.cc:78:31: warning: format ?%lc? expects argument of type ?wint_t?, but argument 4 has type ?int? [-Wformat] terminaldisplay.cc: In member function ?void Terminal::Display::put_cell(bool, Terminal::FrameState&, const Terminal::Framebuffer&) const?: terminaldisplay.cc:346:34: warning: format ?%lc? expects argument of type ?wint_t?, but argument 4 has type ?int? [-Wformat] CXX terminaldisplayinit.o CXX terminalframebuffer.o terminalframebuffer.cc: In member function ?bool Terminal::Cell::compare(const Terminal::Cell&) const?: terminalframebuffer.cc:575:48: warning: format ?%lc? expects argument of type ?wint_t?, but argument 3 has type ?int? [-Wformat] terminalframebuffer.cc:575:48: warning: format ?%lc? expects argument of type ?wint_t?, but argument 4 has type ?int? [-Wformat] CXX terminalfunctions.o CXX terminaluserinput.o AR libmoshterminal.a make[3]: Leaving directory `/home/robbie/moshing/mosh-1.2/src/terminal' And then actual failure when getting to the network portion of things: Making all in network make[3]: Entering directory `/home/robbie/moshing/mosh-1.2/src/network' CXX network.o In file included from network.cc:39:0: network.h:79:48: error: expected ?,? or ?...? before ?.? token network.cc: In constructor ?Network::Packet::Packet(std::string, Crypto::Session*)?: network.cc:62:3: error: ?__STRING? was not declared in this scope network.cc: In constructor ?Network::Connection::Connection(const char*, const char*)?: network.cc:174:61: error: no matching function for call to ?Network::Connection::try_bind(int&, uint32_t&, long int&)? network.cc:174:61: note: candidate is: network.h:79:17: note: static bool Network::Connection::try_bind(int, uint32_t) network.h:79:17: note: candidate expects 2 arguments, 3 provided network.cc:186:54: error: no matching function for call to ?Network::Connection::try_bind(int&, unsigned int, long int&)? network.cc:186:54: note: candidate is: network.h:79:17: note: static bool Network::Connection::try_bind(int, uint32_t) network.h:79:17: note: candidate expects 2 arguments, 3 provided network.cc: At global scope: network.cc:197:49: error: expected ?,? or ?...? before ?.? token network.cc: In static member function ?static bool Network::Connection::try_bind(int, uint32_t)?: network.cc:201:32: error: request for member ?S_addr? in ?S_un?, which is of non-class type ?uint32_t {aka unsigned int}? network.cc:205:16: error: invalid use of member (did you forget the ?&? ?) network.cc:206:32: error: argument of type ?int (Network::Connection::)()const? does not match ?int? network.cc: In member function ?std::string Network::Connection::recv()?: network.cc:298:3: error: ?__STRING? was not declared in this scope make[3]: *** [network.o] Error 1 make[3]: Leaving directory `/home/robbie/moshing/mosh-1.2/src/network' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/robbie/moshing/mosh-1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/robbie/moshing/mosh-1.2' make: *** [all] Error 2 Configuring it for client is also failing with the same errors. Aside from the fighting with perl which I don't have to do anymore, in order to get to this point the commands I've run are: CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS CXXFLAGS export PKG_CONFIG_PATH="/usr/gnu/pkgconfig/" wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz tar -xf protobuf-2.4.1.tar.gz cd protobuf-2.4.1 ./configure --bindir=/usr/gnu/bin --libdir=/usr/gnu/lib make sudo make install cd .. rm -rf protobuf-2.4.1 rn protobuf-2.4.1.tar.gz wget https://github.com/downloads/keithw/mosh/mosh-1.2.tar.gz tar -xf mosh-1.2.tar.gz cd mosh-1.2 ./configure --bindir=/usr/gnu/bin/ --libdir=/usr/gnu/lib/ --enable-[client|server] make On Tue, May 1, 2012 at 12:27, Jonathan Adams wrote: > ./src/statesync/completeterminal.cc and ./src/network/transportsender.cc > > #ifndef INT_MAX > #define INT_MAX 2147483647 /* max value of an "int" */ > #endif > > ./src/util/fatal_assert.h and ./src/util/dos_assert.h > > #ifndef __STRING > #define __STRING(x) #x > #endif > > ./src/network/network.h and ./src/network/network.cc have a problem > with "s_addr" in the arguments to "try_bind" > > static bool try_bind( int socket, uint32_t my_s_addr, int port ); > > ./src/frontend/stmclient.cc has "cfmakeraw" which has no direct > solaris equivalent ... I commented it out and hoped for the best. > > I compiled with: ./configure --prefix=/opt/tools CFLAGS=-m64 > CXXFLAGS=-m64 LDFLAGS="-R/usr/gnu/lib/amd64 -L/usr/gnu/lib/amd64" > LIBS="-lsocket -lnsl" > > it's compiled the client, but not the server ... completely untested > ... might look later. > > Jon > > On 1 May 2012 14:26, Bryan N Iotti wrote: > > I also tried to compile it, but couldn't get it to succeed... > > > > I had to compile protobuf and ncurses first, then symlink > libncursestw.so to > > libncurses.so otherwise it wouldn't find it, then it appeared to work > away > > for a while, only to crash miserably on a missing "," or "." in > network.h. > > Undeclared __STRING was the last error. > > > > I'll look into it again in a couple of days, might be an easy fix. > > > > Bryan > > > > > > On 05/ 1/12 11:24 AM, Sriram Narayanan wrote: > >> > >> You'll also need to get protocol-buffers to work. > >> > >> -- Sriram > >> Belenix: www.belenix.org > >> > >> On Tue, May 1, 2012 at 2:50 PM, Bryan N Iotti > >> wrote: > >>> > >>> Also, you might want to use the version of GCC that you find on SFE. > >>> > >>> The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is > >>> 4.6.2. > >>> I have had better luck compiling with the latter as opposed to the > >>> former. > >>> > >>> When you have multiple compilers installed, you can set the one you > want > >>> to > >>> use for the project by providing the CC flag to the configure script or > >>> as > >>> an environment variable: > >>> > >>> ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE > >>> version > >>> of gcc > >>> > >>> Otherwise, go to the Oracle website and download the Solaris Studio > >>> compiler > >>> tarfile. It works well, but some software won't compile cleanly on it > >>> since > >>> the source code uses "gcc-isms". When it works it's a painless process. > >>> Also, the license states that it can be used for free for both personal > >>> and > >>> commercial uses. It also ships with its own IDE, a version of NetBeans. > >>> > >>> ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with the > >>> Oracle compiler. > >>> > >>> Again, I hope this helps. > >>> > >>> Bryan > >>> > >>> On 05/ 1/12 01:24 AM, James C. McPherson wrote: > >>>> > >>>> On 1/05/12 09:08 AM, Robbie Crash wrote: > >>>>> > >>>>> Honestly, I think including this, I'm still on single digits with > what > >>>>> I've > >>>>> had to compile from source, and definitely the only thing that I've > >>>>> ever > >>>>> had to figure out, so you not being a professional is still leaps and > >>>>> bounds ahead of me. > >>>>> > >>>>> I'm using gcc installed via "pkg install gcc", which I assume means > I'm > >>>>> getting it from OI. > >>>>> > >>>>> I set the two variables as you recommended, with my paths, (export > >>>>> > >>>>> > >>>>> > PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p > >>>>> kgconfig/" and export > >>>>> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still > >>>>> receive > >>>>> the same error. > >>>> > >>>> > >>>> ... more below > >>>> > >>>>>>> No package 'ncurses' found > >>>>>>> > >>>>>>> I have no idea what TINFO is, but from googling around, I find it > has > >>>>>>> something to do with ncurses as an independent provider for > something > >>>>>> > >>>>>> (I'm > >>>>>>> > >>>>>>> terribly helpful, I know). I know ncurses is installed and that > other > >>>>>>> programs that are dependent on it work, and there are libs in > >>>>>> > >>>>>> /usr/gnu/lib > >>>>>>> > >>>>>>> and /usr/gnu/lib/amd64. > >>>> > >>>> > >>>> ... > >>>> > >>>>>>> But setting either doesn't fix anything. However, this is the first > >>>>>>> time > >>>>>>> I've run into issues with a configure script not working, so this > is > >>>>>>> probably me not actually doing things properly. Specifying my > libdir > >>>>>>> to > >>>>>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. > >>>>>>> > >>>>>>> Does anyone have any ideas for where to go from here? > >>>> > >>>> > >>>> You need to verify that the ncurses package is correctly installed, > >>>> and then when running mosh's configure script, ensure that you have > >>>> /usr/gnu/lib (assuming that's where your ncurses libs are) in your > >>>> CFLAGS/CXXFLAGS via something like this: > >>>> > >>>> CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS > >>>> CXXFLAGS > >>>> > >>>> It's preferable to get gcc to use an rpath rather than forcing > >>>> LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it > >>>> takes, that's what it takes. > >>>> > >>>> > >>>> James C. McPherson > >>>> -- > >>>> Solaris kernel software engineer, system admin and troubleshooter > >>>> http://www.jmcp.homeunix.com/blog > >>>> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson > >>>> > >>>> > >>>> _______________________________________________ > >>>> OpenIndiana-discuss mailing list > >>>> OpenIndiana-discuss at openindiana.org > >>>> http://openindiana.org/mailman/listinfo/openindiana-discuss > >>> > >>> > >>> > >>> _______________________________________________ > >>> OpenIndiana-discuss mailing list > >>> OpenIndiana-discuss at openindiana.org > >>> http://openindiana.org/mailman/listinfo/openindiana-discuss > >> > >> _______________________________________________ > >> OpenIndiana-discuss mailing list > >> OpenIndiana-discuss at openindiana.org > >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > > > > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss at openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From achimwo7 at googlemail.com Tue May 1 19:31:07 2012 From: achimwo7 at googlemail.com (Achim Wolpers) Date: Tue, 1 May 2012 21:31:07 +0200 Subject: [OpenIndiana-discuss] pkg: No image found In-Reply-To: References: Message-ID: > One possibility: > One of the recent pre-stable updates came with an image format > update, which older pkg won't be able to read What does that mean? The image format in the global zone, which was updated in the first place, still works. Is it possible, that the image format in the zone is different? > > Another possibility: > The same update is umask-sensitive, so if you have a restrictive > umask, /var/pkg will become unreadable (making it 0755 again should > wake things up). The umask in the global zone as well as in the zone is 0022. The permissions of /var/pkg is set to 0755. Unfortunately, nothing fixes it. Any more ideas? Achim From Andre at ak47.co.za Tue May 1 20:56:15 2012 From: Andre at ak47.co.za (Andre Kruger) Date: Tue, 01 May 2012 22:56:15 +0200 Subject: [OpenIndiana-discuss] Shutdown that never completes Message-ID: <4FA04DEF.7090608@ak47.co.za> Hi I installed a new machine with oi151a (headless server installation used), but oi never switches the mashine off after "init 5". It does everything it is supposed to do up to the point where is says, "syncing file systems...done", but then never turns the hardware off. "init 6" on the other hand reboots the hardware successfully after the "syncing file systems...done" message. Any ideas? Regards From sardonic.smiles at gmail.com Tue May 1 22:49:48 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 1 May 2012 18:49:48 -0400 Subject: [OpenIndiana-discuss] Shutdown that never completes In-Reply-To: <4FA04DEF.7090608@ak47.co.za> References: <4FA04DEF.7090608@ak47.co.za> Message-ID: This is an oft-reported issue that I recall traces its roots back to dropping SPARC hardware down to firmware mode. It also causes VMs to peg their CPU. The only workaround I've seen anyone come up with is from this list a few weeks ago which was given here: http://openindiana.org/pipermail/openindiana-discuss/2012-April/007732.html, but the next reply said it wasn't working for them. I don't know that there's a real fix for it though. On Tue, May 1, 2012 at 4:56 PM, Andre Kruger wrote: > Hi > > I installed a new machine with oi151a (headless server installation used), > but oi never switches the mashine off after "init 5". It does everything it > is supposed to do up to the point where is says, "syncing file > systems...done", but then never turns the hardware off. > > "init 6" on the other hand reboots the hardware successfully after the > "syncing file systems...done" message. > > Any ideas? > > Regards > > ______________________________**_________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@**openindiana.org > http://openindiana.org/**mailman/listinfo/openindiana-**discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From sardonic.smiles at gmail.com Wed May 2 01:04:32 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 1 May 2012 21:04:32 -0400 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> <4F9FE4A0.80003@gmail.com> Message-ID: Can you elaborate on what you had to do to compile the server? I don't understand what to do with the code in the MySQL bug. Sorry, and thanks. On Tue, May 1, 2012 at 2:27 PM, Jonathan Adams wrote: > got the server compiled with a combination of creating "forkpty" from > http://bugs.mysql.com/bug.php?id=22429, //ing out the stdin/out/err > declarations and removing -lutil from the Makefile ... > > The server runs and sits in memory, it forced me to set my locale to > something UTF-8, however something doesn't work. when I try to > connect with the client it fails. > > since I don't have a mosh server readily available for testing I > cannot tell if it is the client or the server that I've borked getting > it to compile :) > > Jon > > On 1 May 2012 17:27, Jonathan Adams wrote: > > ./src/statesync/completeterminal.cc and ./src/network/transportsender.cc > > > > #ifndef INT_MAX > > #define INT_MAX 2147483647 /* max value of an "int" */ > > #endif > > > > ./src/util/fatal_assert.h and ./src/util/dos_assert.h > > > > #ifndef __STRING > > #define __STRING(x) #x > > #endif > > > > ./src/network/network.h and ./src/network/network.cc have a problem > > with "s_addr" in the arguments to "try_bind" > > > > static bool try_bind( int socket, uint32_t my_s_addr, int port ); > > > > ./src/frontend/stmclient.cc has "cfmakeraw" which has no direct > > solaris equivalent ... I commented it out and hoped for the best. > > > > I compiled with: ./configure --prefix=/opt/tools CFLAGS=-m64 > > CXXFLAGS=-m64 LDFLAGS="-R/usr/gnu/lib/amd64 -L/usr/gnu/lib/amd64" > > LIBS="-lsocket -lnsl" > > > > it's compiled the client, but not the server ... completely untested > > ... might look later. > > > > Jon > > > > On 1 May 2012 14:26, Bryan N Iotti wrote: > >> I also tried to compile it, but couldn't get it to succeed... > >> > >> I had to compile protobuf and ncurses first, then symlink > libncursestw.so to > >> libncurses.so otherwise it wouldn't find it, then it appeared to work > away > >> for a while, only to crash miserably on a missing "," or "." in > network.h. > >> Undeclared __STRING was the last error. > >> > >> I'll look into it again in a couple of days, might be an easy fix. > >> > >> Bryan > >> > >> > >> On 05/ 1/12 11:24 AM, Sriram Narayanan wrote: > >>> > >>> You'll also need to get protocol-buffers to work. > >>> > >>> -- Sriram > >>> Belenix: www.belenix.org > >>> > >>> On Tue, May 1, 2012 at 2:50 PM, Bryan N Iotti > >>> wrote: > >>>> > >>>> Also, you might want to use the version of GCC that you find on SFE. > >>>> > >>>> The OI one in /usr/bin/gcc is version 3.4.3, while the one in SFE is > >>>> 4.6.2. > >>>> I have had better luck compiling with the latter as opposed to the > >>>> former. > >>>> > >>>> When you have multiple compilers installed, you can set the one you > want > >>>> to > >>>> use for the project by providing the CC flag to the configure script > or > >>>> as > >>>> an environment variable: > >>>> > >>>> ./configure CC="/usr/gcc/4.6/bin/gcc" will set you up to use the SFE > >>>> version > >>>> of gcc > >>>> > >>>> Otherwise, go to the Oracle website and download the Solaris Studio > >>>> compiler > >>>> tarfile. It works well, but some software won't compile cleanly on it > >>>> since > >>>> the source code uses "gcc-isms". When it works it's a painless > process. > >>>> Also, the license states that it can be used for free for both > personal > >>>> and > >>>> commercial uses. It also ships with its own IDE, a version of > NetBeans. > >>>> > >>>> ./configure CC="/opt/solarisstudio12.3/bin/cc" will set you up with > the > >>>> Oracle compiler. > >>>> > >>>> Again, I hope this helps. > >>>> > >>>> Bryan > >>>> > >>>> On 05/ 1/12 01:24 AM, James C. McPherson wrote: > >>>>> > >>>>> On 1/05/12 09:08 AM, Robbie Crash wrote: > >>>>>> > >>>>>> Honestly, I think including this, I'm still on single digits with > what > >>>>>> I've > >>>>>> had to compile from source, and definitely the only thing that I've > >>>>>> ever > >>>>>> had to figure out, so you not being a professional is still leaps > and > >>>>>> bounds ahead of me. > >>>>>> > >>>>>> I'm using gcc installed via "pkg install gcc", which I assume means > I'm > >>>>>> getting it from OI. > >>>>>> > >>>>>> I set the two variables as you recommended, with my paths, (export > >>>>>> > >>>>>> > >>>>>> > PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p > >>>>>> kgconfig/" and export > >>>>>> LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still > >>>>>> receive > >>>>>> the same error. > >>>>> > >>>>> > >>>>> ... more below > >>>>> > >>>>>>>> No package 'ncurses' found > >>>>>>>> > >>>>>>>> I have no idea what TINFO is, but from googling around, I find it > has > >>>>>>>> something to do with ncurses as an independent provider for > something > >>>>>>> > >>>>>>> (I'm > >>>>>>>> > >>>>>>>> terribly helpful, I know). I know ncurses is installed and that > other > >>>>>>>> programs that are dependent on it work, and there are libs in > >>>>>>> > >>>>>>> /usr/gnu/lib > >>>>>>>> > >>>>>>>> and /usr/gnu/lib/amd64. > >>>>> > >>>>> > >>>>> ... > >>>>> > >>>>>>>> But setting either doesn't fix anything. However, this is the > first > >>>>>>>> time > >>>>>>>> I've run into issues with a configure script not working, so this > is > >>>>>>>> probably me not actually doing things properly. Specifying my > libdir > >>>>>>>> to > >>>>>>>> either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either. > >>>>>>>> > >>>>>>>> Does anyone have any ideas for where to go from here? > >>>>> > >>>>> > >>>>> You need to verify that the ncurses package is correctly installed, > >>>>> and then when running mosh's configure script, ensure that you have > >>>>> /usr/gnu/lib (assuming that's where your ncurses libs are) in your > >>>>> CFLAGS/CXXFLAGS via something like this: > >>>>> > >>>>> CFLAGS="-L/usr/gnu/lib" CXXFLAGS="-L/usr/gnu/lib" ; export CFLAGS > >>>>> CXXFLAGS > >>>>> > >>>>> It's preferable to get gcc to use an rpath rather than forcing > >>>>> LD_LIBRARY_PATH to include /usr/gnu/lib, but if that's what it > >>>>> takes, that's what it takes. > >>>>> > >>>>> > >>>>> James C. McPherson > >>>>> -- > >>>>> Solaris kernel software engineer, system admin and troubleshooter > >>>>> http://www.jmcp.homeunix.com/blog > >>>>> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> OpenIndiana-discuss mailing list > >>>>> OpenIndiana-discuss at openindiana.org > >>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> OpenIndiana-discuss mailing list > >>>> OpenIndiana-discuss at openindiana.org > >>>> http://openindiana.org/mailman/listinfo/openindiana-discuss > >>> > >>> _______________________________________________ > >>> OpenIndiana-discuss mailing list > >>> OpenIndiana-discuss at openindiana.org > >>> http://openindiana.org/mailman/listinfo/openindiana-discuss > >> > >> > >> > >> _______________________________________________ > >> OpenIndiana-discuss mailing list > >> OpenIndiana-discuss at openindiana.org > >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From bluethundr at gmail.com Wed May 2 03:41:14 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 1 May 2012 23:41:14 -0400 Subject: [OpenIndiana-discuss] no external connectivity on link Message-ID: hello list I have attempted to enable link aggregation on my oi 151 box using the command dladm create-aggr -d e1000g0 -d e1000g1 1 then I plumbed it with an address of 192.168.1.200 and echoed 192.168.1.1 > defaultrouter I noticed that my /etc directory did not have the traditional solaris hostname.e1000g0 and hostname.e1000g1 files representing my links that you would typically expect. But I created a file with the command echo 192.168.1.200 > hostname.aggr1 ifconfig -a shows the aggregated link as well and all indications are that it's fine dladm show-aggr shows the link aggregation and I can ping it..however I cannot ping anything else on or off the network (like 192.168.1.1 or yahoo.com) can someone offer a tip on what I'm doing wrong and how to resolve the issue? once I get this working I plan to enable link trunking on my switch to take advantage of the faster speeds possible with this setup. tx in advance! tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From lists at abmyers.com Wed May 2 03:54:59 2012 From: lists at abmyers.com (Andrew Myers) Date: Wed, 2 May 2012 03:54:59 +0000 Subject: [OpenIndiana-discuss] Building in zones Message-ID: Hello, I'm trying to set up my system for building in zones as described in the documentation here: http://wiki.openindiana.org/oi/Building+in+zones I believe I've followed the instructions correctly, however I am unable to access the internet in my zone. I'm running oi151a as a guest on VirtualBox on a Windows 7 host. My network interface is set up as as a bridged interface to my pc's wireless card. The output of ifconfig -a is shown below. Can anyone assist me please with trying to get connectivity working in my build zone? Regards, Andrew. andrew at openindiana:~$ ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1004843 mtu 1500 index 2 inet 10.0.0.7 netmask ffffff00 broadcast 10.0.0.255 lo0: flags=2002000849 mtu 8252 index 1 inet6 ::1/128 e1000g0: flags=20002004841 mtu 1500 index 2 inet6 fe80::a00:27ff:fee2:644f/10 andrew at openindiana:~$ ping www.yahoo.com www.yahoo.com is alive andrew at openindiana:~$ root at zone1:~# ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 vnic0: flags=1004843 mtu 1500 index 2 inet 10.0.0.8 netmask ffffff00 broadcast 10.0.0.255 ether 2:8:20:c6:27:23 lo0: flags=2002000849 mtu 8252 index 1 inet6 ::1/128 root at zone1:~# ping www.yahoo.com ping: unknown host www.yahoo.com root at zone1:~# From jason at broken.net Wed May 2 05:19:44 2012 From: jason at broken.net (Jason Matthews) Date: Tue, 1 May 2012 22:19:44 -0700 Subject: [OpenIndiana-discuss] Building in zones In-Reply-To: References: Message-ID: <869CC5530342405783EF0644878E1619@ragnarok> > My network interface is set up as as a bridged interface to > my pc's wireless card. If you are using a bridged interface then you need to match the mac address in virtualbox to the burned in address on your hardware. You can get your mac from: ipconfig /all in a command shell in windows Let me know if that helps -- or well, if it doesn't. ;-) j. From jason at broken.net Wed May 2 05:32:01 2012 From: jason at broken.net (Jason Matthews) Date: Tue, 1 May 2012 22:32:01 -0700 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: References: Message-ID: <0A5984D129274D1C8418DCE6B039C007@ragnarok> > ifconfig -a shows the aggregated link as well and all indications > are that it's fine Ifconfig doesn't do that. Try using the LACP related commands instead. Your output should look like like the following root at db031:~# dladm show-aggr -L LINK PORT AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIRED aggr0 igb0 yes yes yes yes no no -- igb1 yes yes yes yes no no root at db031:~# dladm show-aggr -x LINK PORT SPEED DUPLEX STATE ADDRESS PORTSTATE aggr0 -- 1000Mb full up 0:1e:67:21:95:20 -- igb0 1000Mb full up 0:1e:67:21:95:20 attached igb1 1000Mb full up 0:1e:67:21:95:21 attached notice how the ports are attached, up, in sync, not defaulted, and not expired. > I can ping it. Do you mean it can ping itself? > However I cannot ping anything else on or off the network > (like 192.168.1.1 or yahoo.com) This is likely because the LAG is down. What does the switch say? > once I get this working I plan to enable link trunking on my > switch to take advantage of the faster speeds possible with this setup. Umm, you have to configure both sides, the host and switch if you are going to have network connectivity. I wrote this article about PXE booting systems on switches configured for LACP but it a part of it walks you through how to setup LACP on the host and the switch (assuming you have juniper) -- http://broken.net/openindiana/how-to-pxe-boot-systems-on-lacp-using-juniper- switches/ Does that help? j. From richard.elling at richardelling.com Wed May 2 06:13:07 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Tue, 1 May 2012 23:13:07 -0700 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: References: Message-ID: On May 1, 2012, at 8:41 PM, Tim Dunphy wrote: > hello list > > I have attempted to enable link aggregation on my oi 151 box using the > command dladm create-aggr -d e1000g0 -d e1000g1 1 then I plumbed it > with an address of 192.168.1.200 and echoed 192.168.1.1 > > defaultrouter > > I noticed that my /etc directory did not have the traditional solaris > hostname.e1000g0 and hostname.e1000g1 files representing my links that > you would typically expect. But I created a file with the command echo > 192.168.1.200 > hostname.aggr1 > > ifconfig -a shows the aggregated link as well and all indications are > that it's fine > > dladm show-aggr shows the link aggregation and I can ping it..however > I cannot ping anything else on or off the network (like 192.168.1.1 or > yahoo.com) > > can someone offer a tip on what I'm doing wrong and how to resolve the issue? Typical error is an incorrect netmask. Default netmask for a class-B network is 255.255.0.0. > > once I get this working I plan to enable link trunking on my switch to > take advantage of the faster speeds possible with this setup. Are you prepared for no-improvement? Ethernet link aggregation often disappoints people looking for more performance using IP. -- richard -- ZFS storage and performance consulting at http://www.RichardElling.com SCALE 10x, Los Angeles, Jan 20-22, 2012 From andre at ak47.co.za Wed May 2 06:41:24 2012 From: andre at ak47.co.za (andre at ak47.co.za) Date: Wed, 02 May 2012 08:41:24 +0200 Subject: [OpenIndiana-discuss] Shutdown that never completes In-Reply-To: References: <4FA04DEF.7090608@ak47.co.za> Message-ID: <7f8929c0d3005381b583ab9157cdb976@ak47.co.za> I did some troubleshooting and came up with the following. If I have a monitor connected to my box then it always gets stuck at the "syncing file systems...done" message. However, if I don't have a monitor connected and I ssh to the machine, init 5 successfully shuts down the system. Pressing the power button still leaves the machine stuck at the "syncing file systems...done" message though. It's really weird. I later found the thread that you are referring to and tried it and it works for me. I just haven't tried this while I have a monitor connected. But after adding this tweak pressing the power button also shuts down the system successfully (with no monitor connected). On 02.05.2012 00:49, Robbie Crash wrote: > This is an oft-reported issue that I recall traces its roots back to > dropping SPARC hardware down to firmware mode. It also causes VMs to peg > their CPU. The only workaround I've seen anyone come up with is from this > list a few weeks ago which was given here: > http://openindiana.org/pipermail/openindiana-discuss/2012-April/007732.html [5], > but the next reply said it wasn't working for them. > > I don't know that there's a real fix for it though. > > On Tue, May 1, 2012 at 4:56 PM, Andre Kruger wrote: > >> Hi I installed a new machine with oi151a (headless server installation used), but oi never switches the mashine off after "init 5". It does everything it is supposed to do up to the point where is says, "syncing file systems...done", but then never turns the hardware off. "init 6" on the other hand reboots the hardware successfully after the "syncing file systems...done" message. Any ideas? Regards ______________________________**_________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@**openindiana.org [1] http://openindiana.org/ [3]**mailman/listinfo/openindiana-**discuss Links: ------ [1] mailto:OpenIndiana-discuss@**openindiana.org [2] mailto:OpenIndiana-discuss at openindiana.org [3] http://openindiana.org/ [4] http://openindiana.org/mailman/listinfo/openindiana-discuss [5] http://openindiana.org/pipermail/openindiana-discuss/2012-April/007732.html [6] mailto:Andre at ak47.co.za From openindiana at tenzer.dk Wed May 2 06:44:28 2012 From: openindiana at tenzer.dk (Jeppe Toustrup) Date: Wed, 2 May 2012 08:44:28 +0200 Subject: [OpenIndiana-discuss] Building in zones In-Reply-To: References: Message-ID: On Wed, May 2, 2012 at 5:54 AM, Andrew Myers wrote: > Hello, > > I'm trying to set up my system for building in zones as described in the documentation here: > > http://wiki.openindiana.org/oi/Building+in+zones > > I believe I've followed the instructions correctly, however I am unable to access the internet in my zone. ?I'm running oi151a as a guest on VirtualBox on a Windows 7 host. ?My network interface is set up as as a bridged interface to my pc's wireless card. > > The output of ifconfig -a is shown below. > > Can anyone assist me please with trying to get connectivity working in my build zone? See this reply I've previously given to a similar question: http://openindiana.org/pipermail/openindiana-discuss/2011-November/006301.html -- Venlig hilsen / Kind regards Jeppe Toustrup (aka. Tenzer) From mark0x01 at gmail.com Wed May 2 07:01:06 2012 From: mark0x01 at gmail.com (Mark) Date: Wed, 02 May 2012 19:01:06 +1200 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: References: Message-ID: <4FA0DBB2.10902@gmail.com> And don't forget to configure or disable the firewall. That's what my last issue with lack of connectivity turned out to be. It may be on and blocking by default. On 2/05/2012 6:13 p.m., Richard Elling wrote: > On May 1, 2012, at 8:41 PM, Tim Dunphy wrote: > >> hello list >> >> I have attempted to enable link aggregation on my oi 151 box using the >> command dladm create-aggr -d e1000g0 -d e1000g1 1 then I plumbed it >> with an address of 192.168.1.200 and echoed 192.168.1.1> >> defaultrouter >> >> I noticed that my /etc directory did not have the traditional solaris >> hostname.e1000g0 and hostname.e1000g1 files representing my links that >> you would typically expect. But I created a file with the command echo >> 192.168.1.200> hostname.aggr1 >> >> ifconfig -a shows the aggregated link as well and all indications are >> that it's fine >> >> dladm show-aggr shows the link aggregation and I can ping it..however >> I cannot ping anything else on or off the network (like 192.168.1.1 or >> yahoo.com) >> >> can someone offer a tip on what I'm doing wrong and how to resolve the issue? > > Typical error is an incorrect netmask. Default netmask for a class-B network is 255.255.0.0. > >> >> once I get this working I plan to enable link trunking on my switch to >> take advantage of the faster speeds possible with this setup. > > Are you prepared for no-improvement? Ethernet link aggregation often disappoints > people looking for more performance using IP. > -- richard > From mark0x01 at gmail.com Wed May 2 07:25:01 2012 From: mark0x01 at gmail.com (Mark) Date: Wed, 02 May 2012 19:25:01 +1200 Subject: [OpenIndiana-discuss] Hitachi 4 TB disks + HP Microserver + OI 151 + ZFS In-Reply-To: References: <26304643.8.1335720526938.JavaMail.root@zimbra> <76DFB222-A1D4-4DC9-B12F-821A20E99ECE@RichardElling.com> <912F60BC-6041-4C21-88DB-C1087B235AE6@RichardElling.com> Message-ID: <4FA0E14D.4010204@gmail.com> There are two issues. The first is correct partition alignment, the second ashift value. In "theory", I haven't tested this yet, manually creating the slices with a start position to sector 64 and using slices instead of whole disks for the zpool devices, and creating with an ashift of 12 may produce the desired outcome. I have used 4k disks (wd20ears) in 3 and 4 disk raidz pools, but they are used for archiving, so just have data dumped to them. Few issues on Sata ports, but dodgy on SAS. Mark On 1/05/2012 8:23 a.m., Peter Wood wrote: > I'm building a storage server with Dell MD1000 DAS and I just bought 30 > drives with 4K sectors. > > One of the reasons I selected the "new" 4K sector is so I can easily find > replacement drives 2-3 years from now when they start failing. Looks like > this was a huge mistake. > > I'm fine if the drives report 512B sectors and work in slower legacy mode > as long as they work reliable but seems that this may not be the case. On > top of that my internal drives that make the rpool have 512B sectors so I'm > not sure how workarounds will effect this pool. > > Is it fair to say that if one uses 4K drives he will run into alignment > issue sooner or later? > > I'm really puzzled what to do here. > > Should I try to replace the drives with 512B ones before the storage goes > life? > > Any thoughts? > > Thank you > Peter > > On Mon, Apr 30, 2012 at 7:54 AM, Richard Elling< > richard.elling at richardelling.com> wrote: > >> On Apr 29, 2012, at 7:38 PM, Gordon Ross wrote: >> >>> On Sun, Apr 29, 2012 at 8:46 PM, Richard Elling >>> wrote: >>>> >>>> On Apr 29, 2012, at 11:45 AM, George Wilson wrote: >>> [...] >>>>> >>>>> Speaking of 4K sectors, I've taken a slightly different approach that >> fixes this outside of ZFS. The idea is to allow sd to override the >> physical-block-size which ZFS will pick up. The way this works is you can >> specify the Vendor/Product id in sd.conf. Here's an example: >>>>> >>>>> sd-config-list = "NETAPP LUN, "physical-block-size:4096"; >>>> >>>> This is the preferred solution and there are several implementations >> running >>>> around in various stages of test/release/acceptance. I look forward to >> getting this >>>> upstream :-) >>>> -- richard >>> >>> Providing a work-around in "sd" is great. We should do that, at least. >>> >>> But is it sufficient? What happens if I replace a mirrored drive with >>> 512 byte sectors with one having 4k sectors? What if I want to plan >>> ahead for that? Maybe in only some of my ZFS pools but not all? >>> It would seem that a pool-level override for "ashift" might also be >> useful. >> >> ashift is set for the top-level vdev at creation time. So you have to >> override >> prior to creation of the mirror. >> -- richard >> >> -- >> ZFS Performance and Training >> Richard.Elling at RichardElling.com >> +1-760-896-4422 >> >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss >> > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From t12nslookup at gmail.com Wed May 2 09:55:03 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Wed, 2 May 2012 10:55:03 +0100 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> <4F9FE4A0.80003@gmail.com> Message-ID: I've attached the diff from the original tar file to my modified version. I ran "./configure --prefix=/opt/tools CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS="-R/usr/gnu/lib/amd64 -L/usr/gnu/lib/amd64" LIBS="-lsocket -lnsl" if you have protobuf installed in a non-standard location you will need to set your PKG_CONFIG_PATH to the location with your protobuf.pc files I didn't need to compile ncurses, it is already installed in /usr/gnu after configure'ing I modified src/frontenv/Makefile and removed "-lutil" from the mosh_server_LDADD command. then I ran a gmake. as I said, I'm completely not sure over the forkpty replacement and it is completely untested On 2 May 2012 02:04, Robbie Crash wrote: > Can you elaborate on what you had to do to compile the server? I don't > understand what to do with the code in the MySQL bug. Sorry, and thanks. > > On Tue, May 1, 2012 at 2:27 PM, Jonathan Adams wrote: > >> got the server compiled with a combination of creating "forkpty" from >> http://bugs.mysql.com/bug.php?id=22429, //ing out the stdin/out/err >> declarations and removing -lutil from the Makefile ... >> >> The server runs and sits in memory, it forced me to set my locale to >> something ?UTF-8, however something doesn't work. when I try to >> connect with the client it fails. >> >> since I don't have a mosh server readily available for testing I >> cannot tell if it is the client or the server that I've borked getting >> it to compile :) >> >> Jon From bluethundr at gmail.com Wed May 2 11:27:06 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Wed, 2 May 2012 07:27:06 -0400 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: <4FA0DBB2.10902@gmail.com> References: <4FA0DBB2.10902@gmail.com> Message-ID: >Ifconfig doesn't do that. Try using the LACP related commands instead. >Your output should look like like the following?notice how the ports are >attached, up, in sync, not defaulted, and not expired. Ok, thanks for that. Here's what those commands you mentioned show: root at openindiana:/export/home/bluethundr# dladm show-aggr -L LINK PORT AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIRED aggr1 e1000g0 yes no no no no no -- e1000g1 yes no no no no no root at openindiana:/export/home/bluethundr# dladm show-aggr -x LINK PORT SPEED DUPLEX STATE ADDRESS PORTSTATE aggr1 -- 1000Mb full up 0:25:90:b:34:0 -- e1000g0 1000Mb full up 0:25:90:b:34:0 attached e1000g1 1000Mb full up 0:25:90:b:34:1 attached so, it looks like the ports are attached, up, NOT in sync, not defaulted and not expired. Apparently I need to be able to get them in sync, but I'm not sure how to do that. >> I can ping it. >Do you mean it can ping itself? Yep, that's what I was trying to say. The host can ping itself and as of now I can ping the aggregated address from the host itself and from another host on the network. I basically left it alone overnight and when I went back to it this morning I could ping external hosts from this machine and ssh into it on that aggregated address whereas last night I could not which is why I emailed the list! :) Maybe it just takes a little while to work after it's setup? > once I get this working I plan to enable link trunking on my > switch to take advantage of the faster speeds possible with this setup. >Umm, you have to configure both sides, the host and switch if you are going >to have network connectivity. Yep! I'll have a look at your LACP article and see what I can do. Thanks for your input! Thanks and best regards, Tim On Wed, May 2, 2012 at 3:01 AM, Mark wrote: > > And don't forget to configure or disable the firewall. > That's what my last issue with lack of connectivity turned out to be. > It may be on and blocking by default. > > > On 2/05/2012 6:13 p.m., Richard Elling wrote: >> >> On May 1, 2012, at 8:41 PM, Tim Dunphy wrote: >> >>> hello list >>> >>> I have attempted to enable link aggregation on my oi 151 box using the >>> command dladm create-aggr -d e1000g0 -d e1000g1 1 then I plumbed it >>> with an address of 192.168.1.200 and echoed 192.168.1.1> >>> defaultrouter >>> >>> I noticed that my /etc directory did not have the traditional solaris >>> hostname.e1000g0 and hostname.e1000g1 files representing my links that >>> you would typically expect. But I created a file with the command echo >>> 192.168.1.200> ?hostname.aggr1 >>> >>> ifconfig -a shows the aggregated link as well and all indications are >>> that it's fine >>> >>> dladm show-aggr shows the link aggregation and I can ping it..however >>> I cannot ping anything else on or off the network (like 192.168.1.1 or >>> yahoo.com) >>> >>> can someone offer a tip on what I'm doing wrong and how to resolve the >>> issue? >> >> >> Typical error is an incorrect netmask. Default netmask for a class-B >> network is 255.255.0.0. >> >>> >>> once I get this working I plan to enable link trunking on my switch to >>> take advantage of the faster speeds possible with this setup. >> >> >> Are you prepared for no-improvement? Ethernet link aggregation often >> disappoints >> people looking for more performance using IP. >> ?-- richard >> > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From carlsonj at workingcode.com Wed May 2 12:04:29 2012 From: carlsonj at workingcode.com (James Carlson) Date: Wed, 02 May 2012 08:04:29 -0400 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: References: <4FA0DBB2.10902@gmail.com> Message-ID: <4FA122CD.7020001@workingcode.com> Tim Dunphy wrote: > I basically left it alone overnight and when I went back to it this > morning I could ping external hosts from this machine and ssh into it > on that aggregated address whereas last night I could not which is why > I emailed the list! :) Intermittent connectivity is a fairly good symptom. It can indicate that LACP isn't working and/or that one of the interfaces is broken. Besides verifying the LACP configuration, you could also configure the system with just one plain ordinary Ethernet interface at a time (once with e1000g0, then again with e1000g1) and make sure that each interface really does work in individual link mode. Once you're sure that both links do work when used individually, you're down to LACP configuration problems, possibly on the switch itself. -- James Carlson 42.703N 71.076W From carlsonj at workingcode.com Wed May 2 12:06:55 2012 From: carlsonj at workingcode.com (James Carlson) Date: Wed, 02 May 2012 08:06:55 -0400 Subject: [OpenIndiana-discuss] Building in zones In-Reply-To: References: Message-ID: <4FA1235F.3010909@workingcode.com> Andrew Myers wrote: > root at zone1:~# ifconfig -a > lo0: flags=2001000849 mtu 8232 index 1 > inet 127.0.0.1 netmask ff000000 > vnic0: flags=1004843 mtu 1500 index 2 > inet 10.0.0.8 netmask ffffff00 broadcast 10.0.0.255 > ether 2:8:20:c6:27:23 > lo0: flags=2002000849 mtu 8252 index 1 > inet6 ::1/128 > root at zone1:~# ping www.yahoo.com > ping: unknown host www.yahoo.com > root at zone1:~# Some things to check: - check routing in the zone with "netstat -nr" - check name resolution in the zone, both /etc/nsswitch.conf and /etc/resolv.conf. My bet would be that /etc/nsswitch.conf doesn't have the necessary "hosts: dns" setting ... but other problems are possible. -- James Carlson 42.703N 71.076W From mj at mjw.se Wed May 2 12:27:03 2012 From: mj at mjw.se (mattias) Date: Wed, 02 May 2012 14:27:03 +0200 Subject: [OpenIndiana-discuss] aspire D270 Message-ID: <4FA12817.60009@mjw.se> i reed the aspire D270 work with openindiana but will it work on 1 gb ram? cool! From magnus at yonderway.com Wed May 2 12:49:40 2012 From: magnus at yonderway.com (Magnus) Date: Wed, 2 May 2012 08:49:40 -0400 Subject: [OpenIndiana-discuss] aspire D270 In-Reply-To: <4FA12817.60009@mjw.se> References: <4FA12817.60009@mjw.se> Message-ID: I have an Intel Atom box with 1GB of RAM. It runs several flavors of Illumos with no problems other than being a little slow. Don't plan on running it as a desktop. On May 2, 2012, at 8:27 AM, mattias wrote: > i reed the aspire D270 work with openindiana > but will it work on 1 gb ram? > cool! > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From mj at mjw.se Wed May 2 12:51:14 2012 From: mj at mjw.se (mattias) Date: Wed, 02 May 2012 14:51:14 +0200 Subject: [OpenIndiana-discuss] aspire D270 In-Reply-To: References: <4FA12817.60009@mjw.se> Message-ID: <4FA12DC2.30807@mjw.se> so it work? cool Magnus skrev 2012-05-02 14:49: > I have an Intel Atom box with 1GB of RAM. It runs several flavors of Illumos with no problems other than being a little slow. Don't plan on running it as a desktop. > > On May 2, 2012, at 8:27 AM, mattias wrote: > >> i reed the aspire D270 work with openindiana >> but will it work on 1 gb ram? >> cool! >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From whitetr6 at gmail.com Wed May 2 14:17:43 2012 From: whitetr6 at gmail.com (Mark Creamer) Date: Wed, 2 May 2012 10:17:43 -0400 Subject: [OpenIndiana-discuss] aspire D270 In-Reply-To: <4FA12DC2.30807@mjw.se> References: <4FA12817.60009@mjw.se> <4FA12DC2.30807@mjw.se> Message-ID: I believe Magnus is offering that it will run with 1 GB (albeit not as a desktop). But the D270 is a netbook, so whether it will work specifically on that hardware is questionable. Why don't you load up a live CD and let us know? On Wed, May 2, 2012 at 8:51 AM, mattias wrote: > so it work? cool > Magnus skrev 2012-05-02 14:49: > >> I have an Intel Atom box with 1GB of RAM. It runs several flavors of >> Illumos with no problems other than being a little slow. Don't plan on >> running it as a desktop. >> >> On May 2, 2012, at 8:27 AM, mattias wrote: >> >>> i reed the aspire D270 work with openindiana >>> but will it work on 1 gb ram? >>> cool! >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- Mark From jason at broken.net Wed May 2 14:37:00 2012 From: jason at broken.net (Jason Matthews) Date: Wed, 2 May 2012 07:37:00 -0700 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: References: Message-ID: > Are you prepared for no-improvement? Ethernet link aggregation often > disappoints people looking for more performance using IP. It may a reasonable effect if: 1) you are already saturating the link 2) you have sufficient number of partners and they you doing large block transfers If you have a single machine just talking to one other machine, LACP will not help by definition. You likely need a faster link. Given the above, LACP can help if you tune your stack and your apps know how to leverage the tuning. I have spent a number of years working in search and lacp has been run of the mil. Typically I would see 1.2 Gb/s from boxes whose job it was to forward search indexes to searchers even, if in some cases, going over a router. This of course was on an optimized stack. I seem to recall Hadoop clusters going has high as 1.4Gb/s in our environment. LACP is good for link redundancy on servers connected to virtualized chassis. I use this instead of IPMP. LACP is even better for distributing load on switches, which was the original intent of etherchannel from which LACP rose. j. From jason at broken.net Wed May 2 17:11:17 2012 From: jason at broken.net (Jason Matthews) Date: Wed, 2 May 2012 10:11:17 -0700 Subject: [OpenIndiana-discuss] no external connectivity on link In-Reply-To: References: <4FA0DBB2.10902@gmail.com> Message-ID: <944BBFAF148F405CB03BCB24C9F7E9BC@ragnarok> Please verify that your host and switch have compatible activity settings. Compatible meaning, they are not the same ;-) I set the switch for active and the hosts for passive. You will receive inconsistent results like the host being reachable at times and unreachable at other times if they are not properly configured. root at jobs004:~# dladm show-aggr LINK POLICY ADDRPOLICY LACPACTIVITY LACPTIMER FLAGS aggr0 L4 auto passive short ----- In juniper speak, you can check with something like this. Just replace your AE number: root at brdr0.sf0> show configuration interfaces ae1 aggregated-ether-options lacp { active; } or view the config with this: root at brdr0.sf0> show lacp interfaces ae1 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/5 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/5 Partner No No Yes Yes Yes Yes Fast Passive ge-1/0/5 FUP Actor No No Yes Yes Yes Yes Fast Active ge-1/0/5 FUP Partner No No Yes Yes Yes Yes Fast Passive LACP protocol: Receive State Transmit State Mux State ge-0/0/5 Current Fast periodic Collecting distributing ge-1/0/5 Current Fast periodic Collecting distributing I don?t have any IOS boxes with LACP at the moment or I would dump those processes as well.... j. -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Wednesday, May 02, 2012 4:27 AM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] no external connectivity on link >Ifconfig doesn't do that. Try using the LACP related commands instead. >Your output should look like like the following notice how the ports are >attached, up, in sync, not defaulted, and not expired. Ok, thanks for that. Here's what those commands you mentioned show: root at openindiana:/export/home/bluethundr# dladm show-aggr -L LINK PORT AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIRED aggr1 e1000g0 yes no no no no no -- e1000g1 yes no no no no no root at openindiana:/export/home/bluethundr# dladm show-aggr -x LINK PORT SPEED DUPLEX STATE ADDRESS PORTSTATE aggr1 -- 1000Mb full up 0:25:90:b:34:0 -- e1000g0 1000Mb full up 0:25:90:b:34:0 attached e1000g1 1000Mb full up 0:25:90:b:34:1 attached so, it looks like the ports are attached, up, NOT in sync, not defaulted and not expired. Apparently I need to be able to get them in sync, but I'm not sure how to do that. >> I can ping it. >Do you mean it can ping itself? Yep, that's what I was trying to say. The host can ping itself and as of now I can ping the aggregated address from the host itself and from another host on the network. I basically left it alone overnight and when I went back to it this morning I could ping external hosts from this machine and ssh into it on that aggregated address whereas last night I could not which is why I emailed the list! :) Maybe it just takes a little while to work after it's setup? > once I get this working I plan to enable link trunking on my > switch to take advantage of the faster speeds possible with this setup. >Umm, you have to configure both sides, the host and switch if you are going >to have network connectivity. Yep! I'll have a look at your LACP article and see what I can do. Thanks for your input! Thanks and best regards, Tim On Wed, May 2, 2012 at 3:01 AM, Mark wrote: > > And don't forget to configure or disable the firewall. > That's what my last issue with lack of connectivity turned out to be. > It may be on and blocking by default. > > > On 2/05/2012 6:13 p.m., Richard Elling wrote: >> >> On May 1, 2012, at 8:41 PM, Tim Dunphy wrote: >> >>> hello list >>> >>> I have attempted to enable link aggregation on my oi 151 box using the >>> command dladm create-aggr -d e1000g0 -d e1000g1 1 then I plumbed it >>> with an address of 192.168.1.200 and echoed 192.168.1.1> >>> defaultrouter >>> >>> I noticed that my /etc directory did not have the traditional solaris >>> hostname.e1000g0 and hostname.e1000g1 files representing my links that >>> you would typically expect. But I created a file with the command echo >>> 192.168.1.200> ?hostname.aggr1 >>> >>> ifconfig -a shows the aggregated link as well and all indications are >>> that it's fine >>> >>> dladm show-aggr shows the link aggregation and I can ping it..however >>> I cannot ping anything else on or off the network (like 192.168.1.1 or >>> yahoo.com) >>> >>> can someone offer a tip on what I'm doing wrong and how to resolve the >>> issue? >> >> >> Typical error is an incorrect netmask. Default netmask for a class-B >> network is 255.255.0.0. >> >>> >>> once I get this working I plan to enable link trunking on my switch to >>> take advantage of the faster speeds possible with this setup. >> >> >> Are you prepared for no-improvement? Ethernet link aggregation often >> disappoints >> people looking for more performance using IP. >> ?-- richard >> > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From richard.elling at richardelling.com Wed May 2 18:47:05 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Wed, 2 May 2012 11:47:05 -0700 Subject: [OpenIndiana-discuss] Hitachi 4 TB disks + HP Microserver + OI 151 + ZFS In-Reply-To: <4FA0E14D.4010204@gmail.com> References: <26304643.8.1335720526938.JavaMail.root@zimbra> <76DFB222-A1D4-4DC9-B12F-821A20E99ECE@RichardElling.com> <912F60BC-6041-4C21-88DB-C1087B235AE6@RichardElling.com> <4FA0E14D.4010204@gmail.com> Message-ID: <602CD275-8FD0-4BFF-87B8-02934920E0C6@RichardElling.com> On May 2, 2012, at 12:25 AM, Mark wrote: > There are two issues. > > The first is correct partition alignment, the second ashift value. > > In "theory", I haven't tested this yet, manually creating the slices with a start position to sector 64 and using slices instead of whole disks for the zpool devices, and creating with an ashift of 12 may produce the desired outcome. Default starting offset for slice 0 is sector 256 for 512-byte sector disks. You shouldn't have to manually touch these unless you are running an ancient (circa 2006-2007) version of Solaris where the default offset was 34. > > I have used 4k disks (wd20ears) in 3 and 4 disk raidz pools, but they are used for archiving, so just have data dumped to them. > Few issues on Sata ports, but dodgy on SAS. That is not encouraging. OTOH, I've never had good experiences with WD drives :-( Unfortunately, for those who purchase from Dell or HP, you are often stuck with WD. At least HP does a decent job of putting up firmware updates. If you want a fright, look at HPs fixes for WD firmware :-( -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From gordon.w.ross at gmail.com Wed May 2 19:07:38 2012 From: gordon.w.ross at gmail.com (Gordon Ross) Date: Wed, 2 May 2012 15:07:38 -0400 Subject: [OpenIndiana-discuss] Hitachi 4 TB disks + HP Microserver + OI 151 + ZFS In-Reply-To: <602CD275-8FD0-4BFF-87B8-02934920E0C6@RichardElling.com> References: <26304643.8.1335720526938.JavaMail.root@zimbra> <76DFB222-A1D4-4DC9-B12F-821A20E99ECE@RichardElling.com> <912F60BC-6041-4C21-88DB-C1087B235AE6@RichardElling.com> <4FA0E14D.4010204@gmail.com> <602CD275-8FD0-4BFF-87B8-02934920E0C6@RichardElling.com> Message-ID: On Wed, May 2, 2012 at 2:47 PM, Richard Elling wrote: > On May 2, 2012, at 12:25 AM, Mark wrote: > >> There are two issues. >> >> The first is correct partition alignment, the second ashift value. >> >> In "theory", I haven't tested this yet, manually creating the slices with a start position to sector 64 and using slices instead of whole disks for the zpool devices, and creating with an ashift of 12 may produce the desired outcome. > > Default starting offset for slice 0 is sector 256 for 512-byte sector disks. > You shouldn't have to manually touch these unless you are running an > ancient (circa 2006-2007) version of Solaris where the default offset was 34. Yes, but be warned: the format command will try to make fdisk partitions that are aligned on "cyninder" boundaries, which are usually odd numbers of sectors. I have a fix for that here: http://yalms.org/cr/zfs-blksize/ (the first three files. ignore the zfs part for now) Gordon From mj at mjw.se Wed May 2 19:10:25 2012 From: mj at mjw.se (mattias) Date: Wed, 02 May 2012 21:10:25 +0200 Subject: [OpenIndiana-discuss] kernel modules Message-ID: <4FA186A1.4040807@mjw.se> how to load kernel modules? From darkjoker at gmail.com Wed May 2 19:13:45 2012 From: darkjoker at gmail.com (=?ISO-8859-1?Q?Ignacio_Marambio_Cat=E1n?=) Date: Wed, 2 May 2012 16:13:45 -0300 Subject: [OpenIndiana-discuss] kernel modules In-Reply-To: <4FA186A1.4040807@mjw.se> References: <4FA186A1.4040807@mjw.se> Message-ID: modload(1M) but typically modules are loaded automagically when needed On Wed, May 2, 2012 at 4:10 PM, mattias wrote: > how to load kernel modules? > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From mj at mjw.se Wed May 2 19:15:15 2012 From: mj at mjw.se (mattias) Date: Wed, 02 May 2012 21:15:15 +0200 Subject: [OpenIndiana-discuss] kernel modules In-Reply-To: References: <4FA186A1.4040807@mjw.se> Message-ID: <4FA187C3.2030708@mjw.se> have solaris linux support like in bsd Ignacio Marambio Cat?n skrev 2012-05-02 21:13: > modload(1M) but typically modules are loaded automagically when needed > > On Wed, May 2, 2012 at 4:10 PM, mattias wrote: >> how to load kernel modules? >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From darkjoker at gmail.com Wed May 2 19:19:32 2012 From: darkjoker at gmail.com (=?ISO-8859-1?Q?Ignacio_Marambio_Cat=E1n?=) Date: Wed, 2 May 2012 16:19:32 -0300 Subject: [OpenIndiana-discuss] kernel modules In-Reply-To: <4FA187C3.2030708@mjw.se> References: <4FA186A1.4040807@mjw.se> <4FA187C3.2030708@mjw.se> Message-ID: no, Solaris used to have linux branded zones but now they are pretty much dead. Use KVM or virtualbox to run a linux virtual machine if you need linux tools On Wed, May 2, 2012 at 4:15 PM, mattias wrote: > have solaris linux support ?like in bsd > Ignacio Marambio Cat?n skrev 2012-05-02 21:13: > >> modload(1M) but typically modules are loaded automagically when needed >> >> On Wed, May 2, 2012 at 4:10 PM, mattias ?wrote: >>> >>> how to load kernel modules? >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From carlsonj at workingcode.com Wed May 2 19:21:04 2012 From: carlsonj at workingcode.com (James Carlson) Date: Wed, 02 May 2012 15:21:04 -0400 Subject: [OpenIndiana-discuss] kernel modules In-Reply-To: References: <4FA186A1.4040807@mjw.se> Message-ID: <4FA18920.7010301@workingcode.com> Ignacio Marambio Cat?n wrote: > modload(1M) but typically modules are loaded automagically when needed > > On Wed, May 2, 2012 at 4:10 PM, mattias wrote: >> how to load kernel modules? The best answer is probably to ask: what exactly are you trying to do? If you're writing your own kernel module, it should normally fit into one of the existing automatic loading categories (device driver, STREAMS module, file system, framework extension). If it doesn't, you should have a Really Good Reason for designing it that way, and even then, you might want to reconsider. If you're writing a module that depends on another module, use "-dy -Nxxx/yyy" to get the other module to load before yours. If it's because you're seeing a kernel module fail to load properly, then that's a problem that needs to be investigated. There's usually no meaningful way to "force" a failing module to load. modload won't fix it. If you're doing something else, then please explain in detail. -- James Carlson 42.703N 71.076W From mj at mjw.se Wed May 2 19:38:24 2012 From: mj at mjw.se (mattias) Date: Wed, 02 May 2012 21:38:24 +0200 Subject: [OpenIndiana-discuss] vcadm Message-ID: <4FA18D30.2080703@mjw.se> command not found eh? From sardonic.smiles at gmail.com Wed May 2 19:40:04 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Wed, 2 May 2012 15:40:04 -0400 Subject: [OpenIndiana-discuss] vcadm In-Reply-To: <4FA18D30.2080703@mjw.se> References: <4FA18D30.2080703@mjw.se> Message-ID: svcadm? On Wed, May 2, 2012 at 3:38 PM, mattias wrote: > command not found > eh? > > ______________________________**_________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@**openindiana.org > http://openindiana.org/**mailman/listinfo/openindiana-**discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From mj at mjw.se Wed May 2 19:41:17 2012 From: mj at mjw.se (mattias) Date: Wed, 02 May 2012 21:41:17 +0200 Subject: [OpenIndiana-discuss] vcadm In-Reply-To: References: <4FA18D30.2080703@mjw.se> Message-ID: <4FA18DDD.6000102@mjw.se> ah thanks! Robbie Crash skrev 2012-05-02 21:40: > svcadm? > > On Wed, May 2, 2012 at 3:38 PM, mattias wrote: > >> command not found >> eh? >> >> ______________________________**_________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss@**openindiana.org >> http://openindiana.org/**mailman/listinfo/openindiana-**discuss >> > > From k.nuyt at zonnet.nl Wed May 2 20:28:38 2012 From: k.nuyt at zonnet.nl (Kees Nuyt) Date: Wed, 02 May 2012 22:28:38 +0200 Subject: [OpenIndiana-discuss] aspire D270 In-Reply-To: <4FA12817.60009@mjw.se> References: <4FA12817.60009@mjw.se> Message-ID: On Wed, 02 May 2012 14:27:03 +0200, you wrote: > i reed the aspire D270 work with openindiana > but will it work on 1 gb ram? 1 GByte RAM is a bit small, but should be sufficient for light use. During installation it may run out of /tmp space though. The proof of the pudding is in the eating.... > cool! -- Regards, Kees Nuyt From mark0x01 at gmail.com Wed May 2 22:37:52 2012 From: mark0x01 at gmail.com (Mark) Date: Thu, 03 May 2012 10:37:52 +1200 Subject: [OpenIndiana-discuss] Hitachi 4 TB disks + HP Microserver + OI 151 + ZFS In-Reply-To: References: <26304643.8.1335720526938.JavaMail.root@zimbra> <76DFB222-A1D4-4DC9-B12F-821A20E99ECE@RichardElling.com> <912F60BC-6041-4C21-88DB-C1087B235AE6@RichardElling.com> <4FA0E14D.4010204@gmail.com> <602CD275-8FD0-4BFF-87B8-02934920E0C6@RichardElling.com> Message-ID: <4FA1B740.4070802@gmail.com> On 3/05/2012 7:07 a.m., Gordon Ross wrote: > On Wed, May 2, 2012 at 2:47 PM, Richard Elling > wrote: >> On May 2, 2012, at 12:25 AM, Mark wrote: >> >>> There are two issues. >>> >>> The first is correct partition alignment, the second ashift value. >>> >>> In "theory", I haven't tested this yet, manually creating the slices with a start position to sector 64 and using slices instead of whole disks for the zpool devices, and creating with an ashift of 12 may produce the desired outcome. >> >> Default starting offset for slice 0 is sector 256 for 512-byte sector disks. >> You shouldn't have to manually touch these unless you are running an >> ancient (circa 2006-2007) version of Solaris where the default offset was 34. > > Yes, but be warned: the format command will try to make fdisk partitions > that are aligned on "cyninder" boundaries, which are usually odd numbers > of sectors. I have a fix for that here: http://yalms.org/cr/zfs-blksize/ > (the first three files. ignore the zfs part for now) > > Gordon > One day this low level disk stuff will get into this millenium. I see my CDC Wren IV 94171-327 museum exhibit still rates a mention :) Mark. From hofmann at hebis.uni-frankfurt.de Thu May 3 13:55:38 2012 From: hofmann at hebis.uni-frankfurt.de (Uwe Reh) Date: Thu, 03 May 2012 15:55:38 +0200 Subject: [OpenIndiana-discuss] NEWBIE can't find /usr/sbin/sysconfig Message-ID: <4FA28E5A.4000306@hebis.uni-frankfurt.de> while migrating from S10 to oi151a3 on new HW, I try to improve my zone management. Doing this, I found a interesting line in >http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-118-s11-script-zones-524499.html > > We could use the new Oracle Solaris 11 tool for creating system > configuration files. That tool is easy to invoke using the following > command: > > sysconfig create-profile -o sc_profile.xml Maybe it's a RTFM, but i can't find any informations on this tool, or an equivalent at oi. (/usr/sbin/sys-unconfig seems to be different.) Btw. - Beside the name does 'nwamadm' (oi151a3) the same as 'netadm' (S11)? - I miss man pages for 'sys-unconfig', 'nwamadm' and some others. Is there a PKG, i forgot to install? Uwe From tripathi.sunay at gmail.com Fri May 4 02:03:19 2012 From: tripathi.sunay at gmail.com (Sunay Tripathi) Date: Thu, 03 May 2012 19:03:19 -0700 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) Message-ID: <4FA338E7.6060508@gmail.com> Guys, I just replaced my old thinkpad with a new one using the latest OI bits and ran into few issues. The bundled Nvidia driver wouldn't bring up the display with liveCD. Seems like Nvidia has just released a driver for Quadro4000 driver (the actual card on laptop is Quadro 4200M Optimus) so I installed the machine by doing a % ssh -X laptop % /usr/bin/gui-install Once the machine was installed, I did put in the new driver but X still doesn't come up. I know many people are running with T520 (is there some BIOS setting that need to be changed). Any suggestion would be much appreciated. The e1000g0 works fine but my Centrino N-6300 keeps failing as well related to https://www.illumos.org/issues/2207. Does anyone has a workaround on that? Thanks a much appreciated. Sunay From ian at ianshome.com Fri May 4 04:19:16 2012 From: ian at ianshome.com (Ian Collins) Date: Fri, 04 May 2012 16:19:16 +1200 Subject: [OpenIndiana-discuss] Installing on system with a Broadcom 5720 NIC Message-ID: <4FA358C4.9080203@ianshome.com> I'm evaluating OI on a new Dell R720 which has a Broadcom 5720 quad NIC. The device isn't recognised by the installer, but I see commits for BCM5720 support in hg. How should I update the driver post-install (bearing in mind I won't have a working network interface!)? Thanks. -- Ian. From rercola at acm.jhu.edu Fri May 4 05:08:00 2012 From: rercola at acm.jhu.edu (Rich) Date: Fri, 4 May 2012 01:08:00 -0400 Subject: [OpenIndiana-discuss] Installing on system with a Broadcom 5720 NIC In-Reply-To: <4FA358C4.9080203@ianshome.com> References: <4FA358C4.9080203@ianshome.com> Message-ID: The only commits I see are for updates to PCI IDs to include the BCM5720? Which commits are you looking at? - Rich On Fri, May 4, 2012 at 12:19 AM, Ian Collins wrote: > I'm evaluating OI on a new Dell R720 which has a Broadcom 5720 quad NIC. > > The device isn't recognised by the installer, but I see commits for BCM5720 > support in hg. ?How should I update the driver post-install (bearing in mind > I won't have a working network interface!)? > > Thanks. > > -- > Ian. > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From matt.connolly.au at gmail.com Fri May 4 05:11:47 2012 From: matt.connolly.au at gmail.com (Matt Connolly) Date: Fri, 4 May 2012 15:11:47 +1000 Subject: [OpenIndiana-discuss] NEWBIE can't find /usr/sbin/sysconfig In-Reply-To: <4FA28E5A.4000306@hebis.uni-frankfurt.de> References: <4FA28E5A.4000306@hebis.uni-frankfurt.de> Message-ID: <503E3548-B639-4143-99D4-4BB33AA0098B@gmail.com> On 03/05/2012, at 11:55 PM, Uwe Reh wrote: > while migrating from S10 to oi151a3 on new HW, I try to improve my zone management. > Doing this, I found a interesting line in >http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-118-s11-script-zones-524499.html >> >> We could use the new Oracle Solaris 11 tool for creating system >> configuration files. That tool is easy to invoke using the following >> command: >> >> sysconfig create-profile -o sc_profile.xml > Maybe it's a RTFM, but i can't find any informations on this tool, or an equivalent at oi. > (/usr/sbin/sys-unconfig seems to be different.) > > Btw. > - Beside the name does 'nwamadm' (oi151a3) the same as 'netadm' (S11)? > - I miss man pages for 'sys-unconfig', 'nwamadm' and some others. Is there a PKG, i forgot to install? I had to install the package "system/manual" at one point. But I see it's outdated now: matt at morpheus:~$ pkg list -a | grep system/manual system/manual 0.5.11-0.148 --o system/manual/locale/ca 0.5.11-0.151.1.3 i-- system/manual/locale/ja 0.5.11-0.151.1.3 i-- Is the "system/manual" package no longer being built in new package distributions? -Matt From milan.jurik at xylab.cz Fri May 4 06:39:03 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Fri, 04 May 2012 08:39:03 +0200 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) In-Reply-To: <4FA338E7.6060508@gmail.com> References: <4FA338E7.6060508@gmail.com> Message-ID: Hi Sunay, On 04.05.2012 04:03, Sunay Tripathi wrote: > Guys, > > I just replaced my old thinkpad with a new one using the > latest OI bits and ran into few issues. The bundled Nvidia > driver wouldn't bring up the display with liveCD. Seems > like Nvidia has just released a driver for Quadro4000 > driver (the actual card on laptop is Quadro 4200M Optimus) > so I installed the machine by doing a > % ssh -X laptop > % /usr/bin/gui-install > > Once the machine was installed, I did put in the new driver > but X still doesn't come up. I know many people are running > with T520 (is there some BIOS setting that need to be changed). > Any suggestion would be much appreciated. > I have no T520, but - what's in Xorg.log? > The e1000g0 works fine but my Centrino N-6300 keeps failing > as well related to https://www.illumos.org/issues/2207. Does > anyone has a workaround on that? > port needed support from BSD driver needed :-( > Thanks a much appreciated. > Sunay > Best regards, Milan From juhuu2004 at gmx.de Fri May 4 08:31:02 2012 From: juhuu2004 at gmx.de (Dietmar Sovonja) Date: Fri, 04 May 2012 10:31:02 +0200 Subject: [OpenIndiana-discuss] Can't compile Glib 1.242 Message-ID: <4FA393C6.50800@gmx.de> Hi Since days, I'm trying to compile the Glib 1.242 perl module from cpan.org. I used gcc and experimentally Solaris Studio on a 32-bit and a 64-bit system. I have tried several paths for the LD flag. I searched the web. Now I'm stuck. rm -f blib/arch/auto/Glib/Glib.so [ LD blib/arch/auto/Glib/Glib.so ] chmod 755 blib/arch/auto/Glib/Glib.so chmod: cannot access `blib/arch/auto/Glib/Glib.so': No such file or directory gmake: *** [blib/arch/auto/Glib/Glib.so] Error 1 The same, if i want to compile Cairo or some other perl modules. I suspect, that I'm doing something wrong or something is missing, but I can't find the solution. The flags in the makefile: AR = /usr/gnu/bin/ar CC = /usr/gnu/bin/cc CCCDLFLAGS = -KPIC CCDLFLAGS = -R /usr/perl5/5.10.0/lib/i86pc-solaris-64int/CORE DLEXT = so DLSRC = dl_dlopen.xs EXE_EXT = FULL_AR = /usr/xpg4/bin/ar LD = /usr/gnu/bin/cc LDDLFLAGS = -G LDFLAGS = LIBC = /lib/libc.so LIB_EXT = .a OBJ_EXT = .o OSNAME = solaris OSVERS = 2.11 RANLIB = : SITELIBEXP = /usr/perl5/site_perl/5.10.0 SITEARCHEXP = /usr/perl5/site_perl/5.10.0/i86pc-solaris-64int SO = so VENDORARCHEXP = /usr/perl5/vendor_perl/5.10.0/i86pc-solaris-64int VENDORLIBEXP = /usr/perl5/vendor_perl/5.10.0 Regards, Dietmar From ian at ianshome.com Fri May 4 23:45:26 2012 From: ian at ianshome.com (Ian Collins) Date: Sat, 05 May 2012 11:45:26 +1200 Subject: [OpenIndiana-discuss] Installing on system with a Broadcom 5720 NIC In-Reply-To: References: <4FA358C4.9080203@ianshome.com> Message-ID: <4FA46A16.2030009@ianshome.com> On 05/ 4/12 05:08 PM, Rich wrote: > On Fri, May 4, 2012 at 12:19 AM, Ian Collins wrote: >> I'm evaluating OI on a new Dell R720 which has a Broadcom 5720 quad NIC. >> >> The device isn't recognised by the installer, but I see commits for BCM5720 >> support in hg. How should I update the driver post-install (bearing in mind >> I won't have a working network interface!)? >> >> Thanks. > The only commits I see are for updates to PCI IDs to include the BCM5720? > > Which commits are you looking at? Those were the ones I spotted. I thought there would be a driver change as well (there are some comments on BSD lists which indicate a driver change is also needed). Broadcom also have an updated driver for Solaris 10. I'll try updating the driver aliases. -- Ian. From tripathi.sunay at gmail.com Sat May 5 02:45:32 2012 From: tripathi.sunay at gmail.com (Sunay Tripathi) Date: Fri, 04 May 2012 19:45:32 -0700 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) In-Reply-To: References: <4FA338E7.6060508@gmail.com> Message-ID: <4FA4944C.90503@gmail.com> Hi Milan, On 05/ 3/12 11:39 PM, Milan Jurik wrote: > Hi Sunay, > > On 04.05.2012 04:03, Sunay Tripathi wrote: >> Guys, >> >> I just replaced my old thinkpad with a new one using the >> latest OI bits and ran into few issues. The bundled Nvidia >> driver wouldn't bring up the display with liveCD. Seems >> like Nvidia has just released a driver for Quadro4000 >> driver (the actual card on laptop is Quadro 4200M Optimus) >> so I installed the machine by doing a >> % ssh -X laptop >> % /usr/bin/gui-install >> >> Once the machine was installed, I did put in the new driver >> but X still doesn't come up. I know many people are running >> with T520 (is there some BIOS setting that need to be changed). >> Any suggestion would be much appreciated. >> > > I have no T520, but - what's in Xorg.log? So I spent a little bit more time and turns out that BIOS ships with display set to Optimus mode (some special support for windows7). Changing that to integrated graphics allows the X to come up in a beautiful 1920x1080 mode :) The weird part is that resolution is correct but Nvidia X setting option from System -> Preferences still doesn't believe that its a Nvidia driver. Will try some more. >> The e1000g0 works fine but my Centrino N-6300 keeps failing >> as well related to https://www.illumos.org/issues/2207. Does >> anyone has a workaround on that? >> > > port needed support from BSD driver needed :-( Funny. Then why do we have the chip listed as supported on http://wiki.openindiana.org/oi/WiFi. I actually ordered the laptop based on that. Have CC'd Albert to see if he has any ideas. Thanks, Sunay From alan.coopersmith at oracle.com Sat May 5 03:09:35 2012 From: alan.coopersmith at oracle.com (Alan Coopersmith) Date: Fri, 04 May 2012 20:09:35 -0700 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) In-Reply-To: <4FA4944C.90503@gmail.com> References: <4FA338E7.6060508@gmail.com> <4FA4944C.90503@gmail.com> Message-ID: <4FA499EF.6090701@oracle.com> On 05/ 4/12 07:45 PM, Sunay Tripathi wrote: > So I spent a little bit more time and turns out that BIOS > ships with display set to Optimus mode (some special support > for windows7). Optimus is actually for switching between two different graphics chips on the fly (a lower-power/performance once when you're not doing heavy 3D, and a power-sucking performance daemon when it's time to play games). If the lower-power one is the Intel integrated graphics in a Sandy Bridge or similar chipset, then it's not surprising the nvidia driver doesn't work when you disable it. http://en.wikipedia.org/wiki/Nvidia_Optimus -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc From cpforum at orange.fr Sat May 5 10:31:23 2012 From: cpforum at orange.fr (cpforum) Date: Sat, 5 May 2012 12:31:23 +0200 (CEST) Subject: [OpenIndiana-discuss] OI 151 a4 Message-ID: <1974119158.130939.1336213883410.JavaMail.www@wwinf1m22> I just have updated OI from a3 to a4.? it's OK for my old Pentium IV (Microstar? MS-6585). ? I found the following error? with dmesg (not related with a4 update, and also? found in old messages.[01234] logs ) ? May? 1 10:10:00 eos savecore: [ID 570001 auth.error] reboot after panic: hment_remove() missing in hash table pp=fccf9250, ht=d75f50f0,entry=0x2f3 hash index=0xa2c5 May? 1 10:10:00 eos savecore: [ID 362314 auth.error] Panic crashdump pending on dump device but dumpadm -n in effect; run savecore(1M) manually to extract. Image UUID 70d99465-1991-64d8-9547-eb1376f047de. ? I found no /var/crash nor /var/crash/eos on my system. ? mkdir -p /var/crash/eos ;? savecore ; rm /var/crash/eos/*??? solve that error. ? At the first reboot I also have 2 times : ? Warning nvidia has no quiesce ? I replaced some month ago Openindiana NVIDIA driver with? NVIDIA 173.14.32 (the last available for the GeForce FX 5200). I have a doubt about which is the better choice for an old component? like GeForce FX 5200 on an old desktop with only 1,2 Go RAM : ? - Xorg NV driver - NVIDIA 173.14.32 ? Any idea about ? ? PS. ? I? found 2 links about Filezilla for OpenSolaris. ? ?http://wiki.filezilla-project.org/Unofficial_Binaries (Woks under OI) ? ?http://wiki.filezilla-project.org/Compiling_FileZilla_3_under_Open_Solaris ? ? ? ? From juhuu2004 at gmx.de Sat May 5 14:37:05 2012 From: juhuu2004 at gmx.de (Dietmar Sovonja) Date: Sat, 05 May 2012 16:37:05 +0200 Subject: [OpenIndiana-discuss] Can't compile Glib 1.242 In-Reply-To: <4FA393C6.50800@gmx.de> References: <4FA393C6.50800@gmx.de> Message-ID: <4FA53B11.4050506@gmx.de> I solved the problem, now it works! export PATH=/opt/solarisstudio12.3/bin/:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin On 04.05.12 10:31, Dietmar Sovonja wrote: > > Hi > > Since days, I'm trying to compile the Glib 1.242 perl module from > cpan.org. I used gcc and experimentally Solaris Studio on a 32-bit and a > 64-bit system. I have tried several paths for the LD flag. I searched > the web. Now I'm stuck. > > > rm -f blib/arch/auto/Glib/Glib.so > [ LD blib/arch/auto/Glib/Glib.so ] > chmod 755 blib/arch/auto/Glib/Glib.so > chmod: cannot access `blib/arch/auto/Glib/Glib.so': No such file or > directory > gmake: *** [blib/arch/auto/Glib/Glib.so] Error 1 > > The same, if i want to compile Cairo or some other perl modules. I > suspect, that I'm doing something wrong or something is missing, but I > can't find the solution. > > > The flags in the makefile: > AR = /usr/gnu/bin/ar > CC = /usr/gnu/bin/cc > CCCDLFLAGS = -KPIC > CCDLFLAGS = -R /usr/perl5/5.10.0/lib/i86pc-solaris-64int/CORE > DLEXT = so > DLSRC = dl_dlopen.xs > EXE_EXT = > FULL_AR = /usr/xpg4/bin/ar > LD = /usr/gnu/bin/cc > LDDLFLAGS = -G > LDFLAGS = > LIBC = /lib/libc.so > LIB_EXT = .a > OBJ_EXT = .o > OSNAME = solaris > OSVERS = 2.11 > RANLIB = : > SITELIBEXP = /usr/perl5/site_perl/5.10.0 > SITEARCHEXP = /usr/perl5/site_perl/5.10.0/i86pc-solaris-64int > SO = so > VENDORARCHEXP = /usr/perl5/vendor_perl/5.10.0/i86pc-solaris-64int > VENDORLIBEXP = /usr/perl5/vendor_perl/5.10.0 > > Regards, > Dietmar > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From stream at willows7.myzen.co.uk Sat May 5 21:39:18 2012 From: stream at willows7.myzen.co.uk (russell) Date: Sat, 05 May 2012 22:39:18 +0100 Subject: [OpenIndiana-discuss] Removal of packages Message-ID: <4FA59E06.1030102@willows7.myzen.co.uk> Hi, I have packages which I installed on my computer from ips.homeunix.com, I then removed the publisher before removing the packages. Now I am unable to remove connect to the package repository to remove the packages as the package manager is unable to connect to the repository. However, if I http://ips.homeunix.com:10906 then the packages is there. How can I remove these packages? From bluethundr at gmail.com Sun May 6 01:05:48 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Sat, 5 May 2012 21:05:48 -0400 Subject: [OpenIndiana-discuss] openindiana ldap client Message-ID: hello openindiana list! I thank you for helping me through the link aggregation issue I had the other day. That is currently working quite well. At this point I need to set this oi 151 box as an ldap client. The server is a BSD 8.2 box running open ldap 2.4 I have downloaded pam_ldap 186 and nss ldap 265 from padl. The pam ldap installation works without a hitch. However when installing nss_ldap configure goes a-ok but I get an error on make I was hoping you could help with: ldap-nss.c:4227: error: `sasl_interact_t' undeclared (first use in this function) ldap-nss.c:4227: error: (Each undeclared identifier is reported only once ldap-nss.c:4227: error: for each function it appears in.) ldap-nss.c:4227: error: `interact' undeclared (first use in this function) ldap-nss.c:4227: error: syntax error before ')' token ldap-nss.c:4229: error: `SASL_CB_LIST_END' undeclared (first use in this function) ldap-nss.c:4231: error: `SASL_CB_USER' undeclared (first use in this function) ldap-nss.c: At top level: ldap-nss.c:21: warning: 'rcsId' defined but not used *** Error code 1 make: Fatal error: Command failed for target `ldap-nss.o' Current working directory /root/nss_ldap-265 *** Error code 1 make: Fatal error: Command failed for target `all' I've enclosed a file with the complete output of the make command as if I included it here, would be quite long. I would really appreciate some tips on how to get this working, or better yet if there any packages for oi that would do the trick that would be better yet! thanks tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -------------- next part -------------- make all-am if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/ssl/include -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -g -O2 -Wall -fPIC -MT ldap-nss.o -MD -MP -MF ".deps/ldap-nss.Tpo" -c -o ldap-nss.o ldap-nss.c; \ then mv -f ".deps/ldap-nss.Tpo" ".deps/ldap-nss.Po"; else rm -f ".deps/ldap-nss.Tpo"; exit 1; fi ldap-nss.c: In function `do_triple_permutations': ldap-nss.c:2187: warning: null argument where non-null required (arg 1) ldap-nss.c:2187: warning: null argument where non-null required (arg 1) ldap-nss.c:2187: warning: null argument where non-null required (arg 2) ldap-nss.c:2187: warning: null argument where non-null required (arg 1) ldap-nss.c:2187: warning: null argument where non-null required (arg 1) ldap-nss.c:2187: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 2) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 2) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2188: warning: null argument where non-null required (arg 1) ldap-nss.c:2189: warning: null argument where non-null required (arg 1) ldap-nss.c:2189: warning: null argument where non-null required (arg 1) ldap-nss.c:2189: warning: null argument where non-null required (arg 2) ldap-nss.c:2189: warning: null argument where non-null required (arg 1) ldap-nss.c:2189: warning: null argument where non-null required (arg 1) ldap-nss.c:2189: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 2) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 2) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2190: warning: null argument where non-null required (arg 1) ldap-nss.c:2191: warning: null argument where non-null required (arg 1) ldap-nss.c:2191: warning: null argument where non-null required (arg 1) ldap-nss.c:2191: warning: null argument where non-null required (arg 2) ldap-nss.c:2191: warning: null argument where non-null required (arg 1) ldap-nss.c:2191: warning: null argument where non-null required (arg 1) ldap-nss.c:2191: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 2) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 2) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2192: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 2) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 2) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 2) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c:2193: warning: null argument where non-null required (arg 1) ldap-nss.c: In function `do_sasl_interact': ldap-nss.c:4227: error: `sasl_interact_t' undeclared (first use in this function) ldap-nss.c:4227: error: (Each undeclared identifier is reported only once ldap-nss.c:4227: error: for each function it appears in.) ldap-nss.c:4227: error: `interact' undeclared (first use in this function) ldap-nss.c:4227: error: syntax error before ')' token ldap-nss.c:4229: error: `SASL_CB_LIST_END' undeclared (first use in this function) ldap-nss.c:4231: error: `SASL_CB_USER' undeclared (first use in this function) ldap-nss.c: At top level: ldap-nss.c:21: warning: 'rcsId' defined but not used *** Error code 1 make: Fatal error: Command failed for target `ldap-nss.o' Current working directory /root/nss_ldap-265 *** Error code 1 make: Fatal error: Command failed for target `all' From bluethundr at gmail.com Sun May 6 01:15:46 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Sat, 5 May 2012 21:15:46 -0400 Subject: [OpenIndiana-discuss] openindiana ldap client In-Reply-To: References: Message-ID: I've also tried using ldapclient, but am having no luck there either: root at openindiana:~/nss_ldap-265# ldapclient init -v -a profileName=default \ > -a domainname=example.com \ > -a proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com \ > -a proxyPassword=secret \ > 192.168.1.44 Parsing profileName=default Parsing domainname=example.com Parsing proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com Parsing proxyPassword=secret Arguments parsed: domainName: example.com proxyDN: cn=uid=proxy,ou=People,dc=example,dc=com profileName: default proxyPassword: secret defaultServerList: 192.168.1.44 Handling init option About to configure machine by downloading a profile Can not find the nisDomainObject for domain example.com thanks and regards, tim On Sat, May 5, 2012 at 9:05 PM, Tim Dunphy wrote: > hello openindiana list! > > I thank you for helping me through the link aggregation issue I had > the other day. That is currently working quite well. > > ?At this point I need to set this oi 151 box as an ldap client. The > server is a BSD 8.2 box running open ldap 2.4 > > I have downloaded pam_ldap 186 and nss ldap 265 from padl. The pam > ldap installation works without a hitch. However when installing > nss_ldap configure goes a-ok but I get an error on make I was hoping > you could help with: > > > ldap-nss.c:4227: error: `sasl_interact_t' undeclared (first use in > this function) > ldap-nss.c:4227: error: (Each undeclared identifier is reported only once > ldap-nss.c:4227: error: for each function it appears in.) > ldap-nss.c:4227: error: `interact' undeclared (first use in this function) > ldap-nss.c:4227: error: syntax error before ')' token > ldap-nss.c:4229: error: `SASL_CB_LIST_END' undeclared (first use in > this function) > ldap-nss.c:4231: error: `SASL_CB_USER' undeclared (first use in this function) > ldap-nss.c: At top level: > ldap-nss.c:21: warning: 'rcsId' defined but not used > *** Error code 1 > make: Fatal error: Command failed for target `ldap-nss.o' > Current working directory /root/nss_ldap-265 > *** Error code 1 > make: Fatal error: Command failed for target `all' > > I've enclosed a file with the complete output of the make command as > if I included it here, would be quite long. > > > I would really appreciate some tips on how to get this working, or > better yet if there any packages for oi that would do the trick that > would be better yet! > > thanks > tim > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From josh at sysmgr.org Sun May 6 01:57:46 2012 From: josh at sysmgr.org (Joshua M. Clulow) Date: Sun, 6 May 2012 11:57:46 +1000 Subject: [OpenIndiana-discuss] openindiana ldap client In-Reply-To: References: Message-ID: On 6 May 2012 11:15, Tim Dunphy wrote: > I've also tried using ldapclient, but am having no luck there either: I would definitely suggest that you'll want to use the native LDAP bits, not the PADL stuff. > root at openindiana:~/nss_ldap-265# ldapclient init -v -a profileName=default \ >> -a domainname=example.com \ >> -a proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com \ >> -a proxyPassword=secret \ >> 192.168.1.44 > Parsing profileName=default > Parsing domainname=example.com > Parsing proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com > Parsing proxyPassword=secret > Arguments parsed: > ? ? ? ?domainName: example.com > ? ? ? ?proxyDN: cn=uid=proxy,ou=People,dc=example,dc=com > ? ? ? ?profileName: default > ? ? ? ?proxyPassword: secret > ? ? ? ?defaultServerList: 192.168.1.44 > Handling init option > About to configure machine by downloading a profile > Can not find the nisDomainObject for domain example.com So you're specifying a profileName here. Have you created a profile object in your directory with the name "default"? The "init" mode of ldapclient uses a profile object in the directory for configuration. If you don't have or don't want to have a profile object, you could try using "ldapclient manual" rather than "ldapclient init". I believe the manual mode of ldapclient is described in the man page for the tool. There are also documents out on the Internet for configuring the Solaris 10 (or 11) Native LDAP Naming Service client which are mostly, if not entirely, applicable to the bits on OpenIndiana. Cheers. -- Joshua M. Clulow UNIX Admin/Developer http://blog.sysmgr.org From ramble1035 at dslextreme.com Sun May 6 02:04:44 2012 From: ramble1035 at dslextreme.com (ramble1035 @dslextreme.com) Date: Sat, 5 May 2012 19:04:44 -0700 Subject: [OpenIndiana-discuss] pkg gets a python error? Message-ID: I did a little searching in the archives but didn't see this mentioned... I just installed the latest distributed release of OI on an HP box (in other words, downloaded the 151a distribution image, installed it, and ran the upgrade manager). All looks good. Then I created a couple of zones and, intending to use one of them as a web server, tried to install the AMP package in the zone. According to the docs, we're looking at full-root zones, and to add a package in a zone, you login to the zone and add it. Unfortunately, any pkg invocation gets an error with a missing library. root at oihp-web:~# pkg list Traceback (most recent call last): File "/usr/bin/pkg", line 45, in import pkg.client.api as api File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 34, in import pkg.client.image as image File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 31, in import pkg.client.imageconfig as imageconfig File "/usr/lib/python2.6/vendor-packages/pkg/client/imageconfig.py", line 16, in import pkg.client.publisher as publisher File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", line 24, in import pycurl ImportError: ld.so.1: isapython2.6: fatal: libcurl.so.3: open failed: No such file or directory Obviously I could manually add the library, but - is this the only thing missing? Is this a known issue? Is there a better workaround? Thanks - -- Chris From bluethundr at gmail.com Sun May 6 02:42:36 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Sat, 5 May 2012 22:42:36 -0400 Subject: [OpenIndiana-discuss] openindiana ldap client In-Reply-To: References: Message-ID: Thanks! That really did the trick! ldapclient manual -a credentialLevel=proxy -a authenticationMethod=simple -a proxyDN=cn=Manager,dc=example,dc=com -a proxyPassword=secret -a defaultSearchBase=dc=example,dc=com -a domainName=example.com -a defaultServerList=192.168.1.44 Grep ldap for ldap user: root at openindiana:/var/ldap# getent passwd | grep walbs walbs:x:1002:1003:Walkiria Soares-Dunphy:/home/walbs:/bin/bash However I notice that now dns resolution seems mixed up, but only since running ldapclient: root at openindiana:/var/ldap# ping yahoo.com ping: unknown host yahoo.com Here's what nsswitch.conf is looking like: root at openindiana:/var/ldap# cat /etc/nsswitch.conf # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # # # /etc/nsswitch.ldap: # # An example file that could be copied over to /etc/nsswitch.conf; it # uses LDAP in conjunction with files. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. # LDAP service requires that svc:/network/ldap/client:default be enabled # and online. # the following two lines obviate the "+" entry in /etc/passwd and /etc/group. passwd: files ldap group: files ldap # consult /etc "files" only if ldap is down. hosts: files ldap # Note that IPv4 addresses are searched for in all of the ipnodes databases # before searching the hosts databases. ipnodes: files ldap networks: files ldap protocols: files ldap rpc: files ldap ethers: files ldap netmasks: files ldap bootparams: files ldap publickey: files ldap netgroup: ldap automount: files ldap aliases: files ldap # for efficient getservbyname() avoid ldap services: files ldap printers: user files ldap auth_attr: files ldap prof_attr: files ldap project: files ldap tnrhtp: files ldap tnrhdb: files ldap If I revert the file to pre-ldapclient I can ping yahoo and external hosts again: root at openindiana:/var/ldap# cat /etc/nsswitch.conf.bak > /etc/nsswitch.conf root at openindiana:/var/ldap# ping yahoo.com yahoo.com is alive And of course I can't find ldap users in the directory again. root at openindiana:/var/ldap# getent passwd | grep walbs root at openindiana:/var/ldap# Is there any way to have my cake and eat it too? thanks tim On Sat, May 5, 2012 at 9:57 PM, Joshua M. Clulow wrote: > On 6 May 2012 11:15, Tim Dunphy wrote: >> I've also tried using ldapclient, but am having no luck there either: > > I would definitely suggest that you'll want to use the native LDAP > bits, not the PADL stuff. > >> root at openindiana:~/nss_ldap-265# ldapclient init -v -a profileName=default \ >>> -a domainname=example.com \ >>> -a proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com \ >>> -a proxyPassword=secret \ >>> 192.168.1.44 >> Parsing profileName=default >> Parsing domainname=example.com >> Parsing proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com >> Parsing proxyPassword=secret >> Arguments parsed: >> ? ? ? ?domainName: example.com >> ? ? ? ?proxyDN: cn=uid=proxy,ou=People,dc=example,dc=com >> ? ? ? ?profileName: default >> ? ? ? ?proxyPassword: secret >> ? ? ? ?defaultServerList: 192.168.1.44 >> Handling init option >> About to configure machine by downloading a profile >> Can not find the nisDomainObject for domain example.com > > So you're specifying a profileName here. ?Have you created a profile > object in your directory with the name "default"? ?The "init" mode of > ldapclient uses a profile object in the directory for configuration. > > If you don't have or don't want to have a profile object, you could > try using "ldapclient manual" rather than "ldapclient init". ?I > believe the manual mode of ldapclient is described in the man page for > the tool. ?There are also documents out on the Internet for > configuring the Solaris 10 (or 11) Native LDAP Naming Service client > which are mostly, if not entirely, applicable to the bits on > OpenIndiana. > > > Cheers. > > -- > Joshua M. Clulow > UNIX Admin/Developer > http://blog.sysmgr.org > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From mike.laspina at laspina.ca Sun May 6 05:01:12 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Sun, 6 May 2012 00:01:12 -0500 Subject: [OpenIndiana-discuss] openindiana ldap client In-Reply-To: References: Message-ID: <8F607366E3C0F9499212649291E0BD64047950@MS1.laspina.ca> Hi Tim, Try the following change to the nsswitch.conf file # consult /etc "files" only if ldap is down. hosts: files dns mdns ldap This will set the resolution order to; 1 local hosts file, 2 dns, 3 multicast dns, 4 ldap lookup Regards, Mike -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Saturday, May 05, 2012 9:43 PM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] openindiana ldap client Thanks! That really did the trick! ldapclient manual -a credentialLevel=proxy -a authenticationMethod=simple -a proxyDN=cn=Manager,dc=example,dc=com -a proxyPassword=secret -a defaultSearchBase=dc=example,dc=com -a domainName=example.com -a defaultServerList=192.168.1.44 Grep ldap for ldap user: root at openindiana:/var/ldap# getent passwd | grep walbs walbs:x:1002:1003:Walkiria Soares-Dunphy:/home/walbs:/bin/bash However I notice that now dns resolution seems mixed up, but only since running ldapclient: root at openindiana:/var/ldap# ping yahoo.com ping: unknown host yahoo.com Here's what nsswitch.conf is looking like: root at openindiana:/var/ldap# cat /etc/nsswitch.conf # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # # # /etc/nsswitch.ldap: # # An example file that could be copied over to /etc/nsswitch.conf; it # uses LDAP in conjunction with files. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. # LDAP service requires that svc:/network/ldap/client:default be enabled # and online. # the following two lines obviate the "+" entry in /etc/passwd and /etc/group. passwd: files ldap group: files ldap # consult /etc "files" only if ldap is down. hosts: files ldap # Note that IPv4 addresses are searched for in all of the ipnodes databases # before searching the hosts databases. ipnodes: files ldap networks: files ldap protocols: files ldap rpc: files ldap ethers: files ldap netmasks: files ldap bootparams: files ldap publickey: files ldap netgroup: ldap automount: files ldap aliases: files ldap # for efficient getservbyname() avoid ldap services: files ldap printers: user files ldap auth_attr: files ldap prof_attr: files ldap project: files ldap tnrhtp: files ldap tnrhdb: files ldap If I revert the file to pre-ldapclient I can ping yahoo and external hosts again: root at openindiana:/var/ldap# cat /etc/nsswitch.conf.bak > /etc/nsswitch.conf root at openindiana:/var/ldap# ping yahoo.com yahoo.com is alive And of course I can't find ldap users in the directory again. root at openindiana:/var/ldap# getent passwd | grep walbs root at openindiana:/var/ldap# Is there any way to have my cake and eat it too? thanks tim On Sat, May 5, 2012 at 9:57 PM, Joshua M. Clulow wrote: > On 6 May 2012 11:15, Tim Dunphy wrote: >> I've also tried using ldapclient, but am having no luck there either: > > I would definitely suggest that you'll want to use the native LDAP > bits, not the PADL stuff. > >> root at openindiana:~/nss_ldap-265# ldapclient init -v -a >> profileName=default \ >>> -a domainname=example.com \ >>> -a proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com \ -a >>> proxyPassword=secret \ >>> 192.168.1.44 >> Parsing profileName=default >> Parsing domainname=example.com >> Parsing proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com >> Parsing proxyPassword=secret >> Arguments parsed: >> ? ? ? ?domainName: example.com >> ? ? ? ?proxyDN: cn=uid=proxy,ou=People,dc=example,dc=com >> ? ? ? ?profileName: default >> ? ? ? ?proxyPassword: secret >> ? ? ? ?defaultServerList: 192.168.1.44 Handling init option About to >> configure machine by downloading a profile Can not find the >> nisDomainObject for domain example.com > > So you're specifying a profileName here. ?Have you created a profile > object in your directory with the name "default"? ?The "init" mode of > ldapclient uses a profile object in the directory for configuration. > > If you don't have or don't want to have a profile object, you could > try using "ldapclient manual" rather than "ldapclient init". ?I > believe the manual mode of ldapclient is described in the man page for > the tool. ?There are also documents out on the Internet for > configuring the Solaris 10 (or 11) Native LDAP Naming Service client > which are mostly, if not entirely, applicable to the bits on > OpenIndiana. > > > Cheers. > > -- > Joshua M. Clulow > UNIX Admin/Developer > http://blog.sysmgr.org > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From milan.jurik at xylab.cz Sun May 6 07:20:08 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Sun, 06 May 2012 09:20:08 +0200 Subject: [OpenIndiana-discuss] OI 151 a4 In-Reply-To: <1974119158.130939.1336213883410.JavaMail.www@wwinf1m22> References: <1974119158.130939.1336213883410.JavaMail.www@wwinf1m22> Message-ID: <1336288808.5219.15.camel@xylabone> Hi, cpforum p??e v so 05. 05. 2012 v 12:31 +0200: > I just have updated OI from a3 to a4. it's OK for my old Pentium IV (Microstar MS-6585). > > > > I found the following error with dmesg (not related with a4 update, and also found in old messages.[01234] logs ) > > > > May 1 10:10:00 eos savecore: [ID 570001 auth.error] reboot after panic: hment_remove() missing in hash table pp=fccf9250, ht=d75f50f0,entry=0x2f3 hash index=0xa2c5 > May 1 10:10:00 eos savecore: [ID 362314 auth.error] Panic crashdump pending on dump device but dumpadm -n in effect; run savecore(1M) manually to extract. Image UUID 70d99465-1991-64d8-9547-eb1376f047de. > > > > I found no /var/crash nor /var/crash/eos on my system. > > > > mkdir -p /var/crash/eos ; savecore ; rm /var/crash/eos/* solve that error. > Hmm, bad you removed the crash dump, we cannot look why your system met system panic. > > > At the first reboot I also have 2 times : > > > > Warning nvidia has no quiesce > > > > I replaced some month ago Openindiana NVIDIA driver with NVIDIA 173.14.32 (the last available for the GeForce FX 5200). > > I have a doubt about which is the better choice for an old component like GeForce FX 5200 on an old desktop with only 1,2 Go RAM : > > > > - Xorg NV driver > > - NVIDIA 173.14.32 > > > > Any idea about ? > nVidia/Oracle did not add modern driver APIs to do old drivers. Just ignore that warning. As the result, your system cannot do fast reboot but still nVidia driver is better for you now if you are not missing fast reboot. Best regards, Milan From ironsides.medvet at gmail.com Sun May 6 07:46:41 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Sun, 6 May 2012 09:46:41 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: References: Message-ID: Hi all, Yesterday I upgraded to 151a4 on my HP xw8200. The machine experienced four freezes that could only be recovered by powering it off and on again. Now, fmadm faulty lists nothing. fmdump lists nothing. fmdump -e mentions issues with ereport.io.pci.fabric and ereport.io.pciex.fabric. These are scattered errors across the whole period I've had OI installed. After the upgrade, I received a warning that the nvidia driver did not support quiesce(), which then went away with the next reboot. What happens when it freezes: I'm working along maybe doing backups and I want to check something online. I open Firefox and the system stops accessing disks, processing data with the cpus and disconnects mouse and keyboard. The video stays frozen on a still image version of my desktop. I have tried setting a hardware watchdog, but it never resets. Upon rebooting, no crash, no dump, nothing. Everything works fine for some time and then happens again out of the blue. It's been happening since I bought the computer. I have changed disks, PSU, checked the fans, swapped the PS2 keyboard and mouse for USB ones... everything reduced this but it never really went away. One major difference with 151a4, when I shut down the machine, my console shows notices from the nvidia driver encountering errors performing dev-map and dev-segmap. This makes me think that the NVidia Quadro Fx 3450 in this machine has reached the end of its days. Guys, I need your advice, because I really can't afford to spend money on it without knowing for sure that it will help. I'd rather find out now that maybe my logci board isn't well and start saving up for another rig... Any help is really appreciated! Bryan From milan.jurik at xylab.cz Sun May 6 08:26:29 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Sun, 06 May 2012 10:26:29 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: References: Message-ID: <1336292789.5219.21.camel@xylabone> Hi Bryan, I would start with test of other nvidia drivers. Download new 295.49 at first (there are reports that 295.40 was not good). And also some older drivers. You can find them on nvidia.com Best regards, Milan Bryan Iotti p??e v ne 06. 05. 2012 v 09:46 +0200: > Hi all, > > Yesterday I upgraded to 151a4 on my HP xw8200. The machine experienced four > freezes that could only be recovered by powering it off and on again. > > Now, fmadm faulty lists nothing. fmdump lists nothing. fmdump -e mentions > issues with ereport.io.pci.fabric and ereport.io.pciex.fabric. These are > scattered errors across the whole period I've had OI installed. > > After the upgrade, I received a warning that the nvidia driver did not > support quiesce(), which then went away with the next reboot. > > What happens when it freezes: I'm working along maybe doing backups and I > want to check something online. I open Firefox and the system stops > accessing disks, processing data with the cpus and disconnects mouse and > keyboard. The video stays frozen on a still image version of my desktop. > > I have tried setting a hardware watchdog, but it never resets. > Upon rebooting, no crash, no dump, nothing. Everything works fine for some > time and then happens again out of the blue. > > It's been happening since I bought the computer. I have changed disks, PSU, > checked the fans, swapped the PS2 keyboard and mouse for USB ones... > everything reduced this but it never really went away. > > One major difference with 151a4, when I shut down the machine, my console > shows notices from the nvidia driver encountering errors performing dev-map > and dev-segmap. > > This makes me think that the NVidia Quadro Fx 3450 in this machine has > reached the end of its days. > > Guys, I need your advice, because I really can't afford to spend money on > it without knowing for sure that it will help. I'd rather find out now that > maybe my logci board isn't well and start saving up for another rig... > > Any help is really appreciated! > > Bryan > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From ironsides.medvet at gmail.com Sun May 6 08:53:05 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Sun, 06 May 2012 10:53:05 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: <1336292789.5219.21.camel@xylabone> References: <1336292789.5219.21.camel@xylabone> Message-ID: <4FA63BF1.6060506@gmail.com> Hi Milan, thank you for the quick answer. I had to install 295.49 following the procedure from http://defect.opensolaris.org/bz/show_bug.cgi?id=12196 I have a new boot environment with the updated drivers and it would appear that the hard freezes have stopped. However, it is still littering my console with these two messages in repetition: May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_devmap: devmap_devmem_setup() failed (22) May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_segmap: ddi_devmap_segmap() failed (6) Can I do anything about that? Again, thank you, the driver update apparently solved the issue. Bryan On 05/ 6/12 10:26 AM, Milan Jurik wrote: > Hi Bryan, > > I would start with test of other nvidia drivers. Download new 295.49 at > first (there are reports that 295.40 was not good). And also some older > drivers. You can find them on nvidia.com > > Best regards, > > Milan > > Bryan Iotti p??e v ne 06. 05. 2012 v 09:46 +0200: >> Hi all, >> >> Yesterday I upgraded to 151a4 on my HP xw8200. The machine experienced four >> freezes that could only be recovered by powering it off and on again. >> >> Now, fmadm faulty lists nothing. fmdump lists nothing. fmdump -e mentions >> issues with ereport.io.pci.fabric and ereport.io.pciex.fabric. These are >> scattered errors across the whole period I've had OI installed. >> >> After the upgrade, I received a warning that the nvidia driver did not >> support quiesce(), which then went away with the next reboot. >> >> What happens when it freezes: I'm working along maybe doing backups and I >> want to check something online. I open Firefox and the system stops >> accessing disks, processing data with the cpus and disconnects mouse and >> keyboard. The video stays frozen on a still image version of my desktop. >> >> I have tried setting a hardware watchdog, but it never resets. >> Upon rebooting, no crash, no dump, nothing. Everything works fine for some >> time and then happens again out of the blue. >> >> It's been happening since I bought the computer. I have changed disks, PSU, >> checked the fans, swapped the PS2 keyboard and mouse for USB ones... >> everything reduced this but it never really went away. >> >> One major difference with 151a4, when I shut down the machine, my console >> shows notices from the nvidia driver encountering errors performing dev-map >> and dev-segmap. >> >> This makes me think that the NVidia Quadro Fx 3450 in this machine has >> reached the end of its days. >> >> Guys, I need your advice, because I really can't afford to spend money on >> it without knowing for sure that it will help. I'd rather find out now that >> maybe my logci board isn't well and start saving up for another rig... >> >> Any help is really appreciated! >> >> Bryan >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From milan.jurik at xylab.cz Sun May 6 09:08:20 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Sun, 06 May 2012 11:08:20 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: <4FA63BF1.6060506@gmail.com> References: <1336292789.5219.21.camel@xylabone> <4FA63BF1.6060506@gmail.com> Message-ID: <1336295301.5219.25.camel@xylabone> Hi Bryan, Bryan N Iotti p??e v ne 06. 05. 2012 v 10:53 +0200: > Hi Milan, > > thank you for the quick answer. > > I had to install 295.49 following the procedure from > http://defect.opensolaris.org/bz/show_bug.cgi?id=12196 > > I have a new boot environment with the updated drivers and it would > appear that the hard freezes have stopped. However, it is still > littering my console with these two messages in repetition: > > May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > nv_devmap: devmap_devmem_setup() failed (22) > May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > nv_segmap: ddi_devmap_segmap() failed (6) > > Can I do anything about that? > debugging on kernel level and trying to find why the calls fail. It can be problem in the driver or on our side but we have no support from nvidia here. You can try to ask nvidia also. > Again, thank you, the driver update apparently solved the issue. > Best regards, Milan > Bryan > > > On 05/ 6/12 10:26 AM, Milan Jurik wrote: > > Hi Bryan, > > > > I would start with test of other nvidia drivers. Download new 295.49 at > > first (there are reports that 295.40 was not good). And also some older > > drivers. You can find them on nvidia.com > > > > Best regards, > > > > Milan > > > > Bryan Iotti p??e v ne 06. 05. 2012 v 09:46 +0200: > >> Hi all, > >> > >> Yesterday I upgraded to 151a4 on my HP xw8200. The machine experienced four > >> freezes that could only be recovered by powering it off and on again. > >> > >> Now, fmadm faulty lists nothing. fmdump lists nothing. fmdump -e mentions > >> issues with ereport.io.pci.fabric and ereport.io.pciex.fabric. These are > >> scattered errors across the whole period I've had OI installed. > >> > >> After the upgrade, I received a warning that the nvidia driver did not > >> support quiesce(), which then went away with the next reboot. > >> > >> What happens when it freezes: I'm working along maybe doing backups and I > >> want to check something online. I open Firefox and the system stops > >> accessing disks, processing data with the cpus and disconnects mouse and > >> keyboard. The video stays frozen on a still image version of my desktop. > >> > >> I have tried setting a hardware watchdog, but it never resets. > >> Upon rebooting, no crash, no dump, nothing. Everything works fine for some > >> time and then happens again out of the blue. > >> > >> It's been happening since I bought the computer. I have changed disks, PSU, > >> checked the fans, swapped the PS2 keyboard and mouse for USB ones... > >> everything reduced this but it never really went away. > >> > >> One major difference with 151a4, when I shut down the machine, my console > >> shows notices from the nvidia driver encountering errors performing dev-map > >> and dev-segmap. > >> > >> This makes me think that the NVidia Quadro Fx 3450 in this machine has > >> reached the end of its days. > >> > >> Guys, I need your advice, because I really can't afford to spend money on > >> it without knowing for sure that it will help. I'd rather find out now that > >> maybe my logci board isn't well and start saving up for another rig... > >> > >> Any help is really appreciated! > >> > >> Bryan > >> _______________________________________________ > >> OpenIndiana-discuss mailing list > >> OpenIndiana-discuss at openindiana.org > >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss at openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Sun May 6 11:58:06 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Sun, 06 May 2012 15:58:06 +0400 Subject: [OpenIndiana-discuss] openindiana ldap client In-Reply-To: <8F607366E3C0F9499212649291E0BD64047950@MS1.laspina.ca> References: <8F607366E3C0F9499212649291E0BD64047950@MS1.laspina.ca> Message-ID: <4FA6674E.3080401@cos.ru> 2012-05-06 9:01, Mike La Spina wrote: > Hi Tim, > > Try the following change to the nsswitch.conf file > > # consult /etc "files" only if ldap is down. > hosts: files dns mdns ldap > > > This will set the resolution order to; 1 local hosts file, 2 dns, 3 multicast dns, 4 ldap lookup You can also define the policies regarding the name-service client's actions in case of LDAP inaccessibility or lack of entries you need, i.e. in our nsswitch.conf we have examples: auth_attr: files ldap [TRYAGAIN=continue] prof_attr: files ldap [TRYAGAIN=continue] ### Default ipnodes/hosts definitions #ipnodes: ldap [NOTFOUND=return] files #hosts: ldap [NOTFOUND=return] files Also you may want to use a "compat" setting for user accounts and the "netgroups" to basically define on LDAP server's side which accounts would be DEFINED at the clients (see docs): group: files ldap passwd: compat passwd_compat: ldap netgroup: ldap # tail /etc/passwd admin:x:100:100:Admin for remote login:/home/admin:/usr/bin/bash + at usr-lan-admins:x::::: # tail /etc/shadow admin:*LK*::::::: + at usr-lan-admins:x:14068:::::: # tail /etc/group admin::100: In the example above, "usr-lan-admins" is a netgroup which in the LDAP catalog defines triplets (host,user,domain). All users mentioned in the netgroup (with the host and/or domain, including wildcards if undefined, matching your current client host) are "defined" for this client and can try to login. Other UIDs and names are not even "defined" and can not be broken into (by password cracking, sudo or such), for example. This allows to limit access to certain hosts (including individual local zones) for only certain people, according to their job in your net. You may need to reconfigure PAM however (pam_ldap, pam_unix) and there are several different options down that path. Finally note, that netgroups can be nested - i.e. "group of webservers" + "group of java developers" = "group of java devs with access to appservers" :) On a side note, you might want to add "ou-sudoers" to define SUDO access details into LDAP (also possible to configure per-host - i.e. if your java devs need to be able to reboot their webapp server). The sudo command in OI has LDAP support by default (I had to compile it in for older Solarises). I did a very rough description here, you're encouraged to see good docs and blogs on the internet about all this. I don't have my links ready to point you at good ones right now, sorry. And they'd be some 3-5 years old anyway. >> There are also documents out on the Internet for >> configuring the Solaris 10 (or 11) Native LDAP Naming Service client >> which are mostly, if not entirely, applicable to the bits on >> OpenIndiana. +1 certainly HTH, //Jim From gary at genashor.com Sun May 6 12:07:36 2012 From: gary at genashor.com (Gary Gendel) Date: Sun, 06 May 2012 08:07:36 -0400 Subject: [OpenIndiana-discuss] Root as role vs. user and rsync Message-ID: <4FA66988.1000007@genashor.com> I finally decided to take the bullet and make root a role instead of a user. All went well except for my nightly backup. I have a backup server that rsyncs my various collection of Linux, OpenIndiana, Windows, and Mac machines nightly. Without root as a user, how do I set up rsync to ssh onto the machine and retrieve the root system files on OpenIndiana? Thanks, Gary From openindiana at tenzer.dk Sun May 6 13:04:16 2012 From: openindiana at tenzer.dk (Jeppe Toustrup) Date: Sun, 6 May 2012 15:04:16 +0200 Subject: [OpenIndiana-discuss] Root as role vs. user and rsync In-Reply-To: <4FA66988.1000007@genashor.com> References: <4FA66988.1000007@genashor.com> Message-ID: On Sun, May 6, 2012 at 2:07 PM, Gary Gendel wrote: > I finally decided to take the bullet and make root a role instead of a user. > ?All went well except for my nightly backup. > > I have a backup server that rsyncs my various collection of Linux, > OpenIndiana, Windows, and Mac machines nightly. Without root as a user, how > do I set up rsync to ssh onto the machine and retrieve the root system files > on OpenIndiana? There are two ways as I see it: 1. Start rsyncd (see http://wiki.openindiana.org/oi/rsync+daemon+service+on+OpenIndiana) and set up a share for '/' which you then can rsync against. You can either do this directly over the network (unencrypted) or SSH into the machine and connect to rsyncd through localhost. 2. SSH in as dedicated unprivileged user, which then have permissions to run rsync with root permissions though sudo. This is the option I use for backups, and I have a line such as the following in the sudo configuration, which only allows the unprivileged user to retrieve files from the server, and not write files: backup ALL=NOPASSWD: /usr/bin/rsync --server --sender * -- Venlig hilsen / Kind regards Jeppe Toustrup (aka. Tenzer) From hans.j.albertsson at branneriet.se Sun May 6 13:42:27 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Sun, 06 May 2012 15:42:27 +0200 Subject: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4 In-Reply-To: References: Message-ID: <4FA67FC3.90207@branneriet.se> After updating to OI151a4 using updatemanager, I find most manual files in man1 missing! Is this my own faulty management practices, or has anyone else seen the same? pfexec pkg fix lists tons of missing man1 files From bfriesen at simple.dallas.tx.us Sun May 6 15:26:55 2012 From: bfriesen at simple.dallas.tx.us (Bob Friesenhahn) Date: Sun, 6 May 2012 10:26:55 -0500 (CDT) Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: References: Message-ID: On Sun, 6 May 2012, Bryan Iotti wrote: > Hi all, > > Yesterday I upgraded to 151a4 on my HP xw8200. The machine experienced four > freezes that could only be recovered by powering it off and on again. > > Now, fmadm faulty lists nothing. fmdump lists nothing. fmdump -e mentions > issues with ereport.io.pci.fabric and ereport.io.pciex.fabric. These are > scattered errors across the whole period I've had OI installed. As a point of reference I have been experiencing such reports on a Solaris 10 system (Sun Ultra-40M2) with a Quadro FX 3500 card. The problems were first noticed after updating from Firefox 3 to Firefox 9. The system reported a hardware fault against the video card or associated slot within hours of installing Firefox 9 (am up to FF 12 now). The reports only seem to occur while using Firefox and only while entering a page. Full-screen streaming video and very heavy image related work results in no reported issues. The issues are only reported while using Firefox. There is no visible indication of any issues with the video card since output is quite smooth and fast. I had several long discussions with John Martin at Oracle about this but he has not seen the problem. > This makes me think that the NVidia Quadro Fx 3450 in this machine has > reached the end of its days. It is not clear since I have the some of the same issues (but without the hangs) on my Sun Ultra-40M2 with its Quadro FX 3500 card. Since I previously replaced the card with similar reported issues (and they went away) it is possible that these cards only last a couple of years. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ From bluethundr at gmail.com Sun May 6 15:38:54 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Sun, 6 May 2012 11:38:54 -0400 Subject: [OpenIndiana-discuss] openindiana ldap client In-Reply-To: <8F607366E3C0F9499212649291E0BD64047950@MS1.laspina.ca> References: <8F607366E3C0F9499212649291E0BD64047950@MS1.laspina.ca> Message-ID: Hi Mike, > Try the following change to the nsswitch.conf file > > # consult /etc "files" only if ldap is down. > hosts: files dns mdns ldap That worked! Now ldap and dns are happy! very cool. thanks to both of you guys! best regards, Tim On Sun, May 6, 2012 at 1:01 AM, Mike La Spina wrote: > Hi Tim, > > Try the following change to the nsswitch.conf file > > # consult /etc "files" only if ldap is down. > hosts: ? ? ?files dns mdns ldap > > > This will set the resolution order to; 1 local hosts file, 2 dns, 3 multicast dns, 4 ldap lookup > > Regards, > Mike > > -----Original Message----- > From: Tim Dunphy [mailto:bluethundr at gmail.com] > Sent: Saturday, May 05, 2012 9:43 PM > To: Discussion list for OpenIndiana > Subject: Re: [OpenIndiana-discuss] openindiana ldap client > > Thanks! > > That really did the trick! > > ldapclient manual -a credentialLevel=proxy -a authenticationMethod=simple -a proxyDN=cn=Manager,dc=example,dc=com -a proxyPassword=secret -a defaultSearchBase=dc=example,dc=com ?-a domainName=example.com -a defaultServerList=192.168.1.44 > > > Grep ldap for ldap user: > > > root at openindiana:/var/ldap# getent passwd | grep walbs walbs:x:1002:1003:Walkiria Soares-Dunphy:/home/walbs:/bin/bash > > > However I notice that now dns resolution seems mixed up, but only since running ldapclient: > > root at openindiana:/var/ldap# ping yahoo.com > ping: unknown host yahoo.com > > Here's what nsswitch.conf is looking like: > > root at openindiana:/var/ldap# cat /etc/nsswitch.conf # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). > # You may not use this file except in compliance with the License. > # > # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. > # See the License for the specific language governing permissions # and limitations under the License. > # > # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. > # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. > # > > # > # /etc/nsswitch.ldap: > # > # An example file that could be copied over to /etc/nsswitch.conf; it # uses LDAP in conjunction with files. > # > # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. > > # LDAP service requires that svc:/network/ldap/client:default be enabled # and online. > > # the following two lines obviate the "+" entry in /etc/passwd and /etc/group. > passwd: ? ? files ldap > group: ? ? ?files ldap > > # consult /etc "files" only if ldap is down. > hosts: ? ? ?files ldap > > # Note that IPv4 addresses are searched for in all of the ipnodes databases # before searching the hosts databases. > ipnodes: ? ?files ldap > > networks: ? files ldap > protocols: ?files ldap > rpc: ? ? ? ?files ldap > ethers: ? ? files ldap > netmasks: ? files ldap > bootparams: files ldap > publickey: ?files ldap > > netgroup: ? ldap > > automount: ?files ldap > aliases: ? ?files ldap > > # for efficient getservbyname() avoid ldap > services: ? files ldap > > printers: ? user files ldap > > auth_attr: ?files ldap > prof_attr: ?files ldap > > project: ? ?files ldap > > tnrhtp: ? ? files ldap > tnrhdb: ? ? files ldap > > If I revert the file to pre-ldapclient I can ping yahoo and external hosts again: > > root at openindiana:/var/ldap# cat /etc/nsswitch.conf.bak > /etc/nsswitch.conf > > root at openindiana:/var/ldap# ping yahoo.com yahoo.com is alive > > And of course I can't find ldap users in the directory again. > > root at openindiana:/var/ldap# getent passwd | grep walbs root at openindiana:/var/ldap# > > Is there any way to have my cake and eat it too? > > thanks > tim > > On Sat, May 5, 2012 at 9:57 PM, Joshua M. Clulow wrote: >> On 6 May 2012 11:15, Tim Dunphy wrote: >>> I've also tried using ldapclient, but am having no luck there either: >> >> I would definitely suggest that you'll want to use the native LDAP >> bits, not the PADL stuff. >> >>> root at openindiana:~/nss_ldap-265# ldapclient init -v -a >>> profileName=default \ >>>> -a domainname=example.com \ >>>> -a proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com \ -a >>>> proxyPassword=secret \ >>>> 192.168.1.44 >>> Parsing profileName=default >>> Parsing domainname=example.com >>> Parsing proxyDN=cn=uid=proxy,ou=People,dc=example,dc=com >>> Parsing proxyPassword=secret >>> Arguments parsed: >>> ? ? ? ?domainName: example.com >>> ? ? ? ?proxyDN: cn=uid=proxy,ou=People,dc=example,dc=com >>> ? ? ? ?profileName: default >>> ? ? ? ?proxyPassword: secret >>> ? ? ? ?defaultServerList: 192.168.1.44 Handling init option About to >>> configure machine by downloading a profile Can not find the >>> nisDomainObject for domain example.com >> >> So you're specifying a profileName here. ?Have you created a profile >> object in your directory with the name "default"? ?The "init" mode of >> ldapclient uses a profile object in the directory for configuration. >> >> If you don't have or don't want to have a profile object, you could >> try using "ldapclient manual" rather than "ldapclient init". ?I >> believe the manual mode of ldapclient is described in the man page for >> the tool. ?There are also documents out on the Internet for >> configuring the Solaris 10 (or 11) Native LDAP Naming Service client >> which are mostly, if not entirely, applicable to the bits on >> OpenIndiana. >> >> >> Cheers. >> >> -- >> Joshua M. Clulow >> UNIX Admin/Developer >> http://blog.sysmgr.org >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From ramble1035 at dslextreme.com Sun May 6 16:03:21 2012 From: ramble1035 at dslextreme.com (ramble1035 @dslextreme.com) Date: Sun, 6 May 2012 09:03:21 -0700 Subject: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4 In-Reply-To: <4FA67FC3.90207@branneriet.se> References: <4FA67FC3.90207@branneriet.se> Message-ID: I see lots of output from "pkg fix", but it all seems to be complaining about missing license files. And there are 1216 files in /usr/share/man/man1. It looks like there's something else going on. -- C (My system is a new install from distribution of 151a with immediate updates.) On Sun, May 6, 2012 at 6:42 AM, Hans J. Albertsson wrote: > After updating to OI151a4 using updatemanager, I find most manual files in > man1 missing! > > Is this my own faulty management practices, or has anyone else seen the > same? > > pfexec pkg fix > > lists tons of missing man1 files > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From hans.j.albertsson at branneriet.se Sun May 6 18:42:06 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Sun, 06 May 2012 20:42:06 +0200 Subject: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4 In-Reply-To: <4FA67FC3.90207@branneriet.se> References: <4FA67FC3.90207@branneriet.se> Message-ID: <4FA6C5FE.2040002@branneriet.se> actually it is much more of a problem than just the below man files. all of /usr/local has disappeared, and select trees and single files. The complete story: I run various things from directories in /usr/local, and I know for a fact they all worked perfectly this morning. For some reason I thought I'd try upgrading OI151a3 to a4, and the updatemanager application listed a set of problematic packages: Imagemagick, drupal6, joomla and Bash-completion. The last three were leftovers overlooked when I discarded the contrib repository, and had directory property conflicts with other packages. I removed those three by clicking one at a time and uninstalling them thru the packagemanager. Imagemagick had a massive set of conflicts listed between itself and the sfe version. I removed the sfe version thru the package manager. After this I ran updatemanager and rebooted into the new BE. There I ran pkg fix, just to check what it looked like. After that I tried man pkg, which failed. Then all the services I ran out of /usr/local were gone. I rebooted back into the previous BE, but it's all gone there, too. It's also gone from the snapshot created by the update manager this morning. It's very little actual data missing. Just a few hundred MB. I have most of it available in a month-old snapshot of /, but that thing with directory permissions got me thinking maybe it's all there, just hidden somewhere... ??? Suggest a rational way to get all the data back! Or some interesting way, at least. I'm nearly comfortable running zfs as an admin, but no expert, and not very conversant with the inner structure of zfs pools or data sets. I haven't ever really had to restore data from snapshots in an active root pool. On 2012-05-06 15:42, Hans J. Albertsson wrote: > After updating to OI151a4 using updatemanager, I find most manual > files in man1 missing! > > Is this my own faulty management practices, or has anyone else seen > the same? > > pfexec pkg fix > > lists tons of missing man1 files From hans.j.albertsson at branneriet.se Sun May 6 18:48:26 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Sun, 06 May 2012 20:48:26 +0200 Subject: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4 In-Reply-To: <4FA6C5FE.2040002@branneriet.se> References: <4FA67FC3.90207@branneriet.se> <4FA6C5FE.2040002@branneriet.se> Message-ID: <4FA6C77A.20907@branneriet.se> I should add that I cannot remember why I had both the standard imagemagick from openindiana.org AND the sfe version. This is fishy, I distinctly remember deciding that I wanted to remove the openindiana.org one and replace it with the sfe one. Not for any rational reason, I just planned on playing with the sfe one a bit. And I have done that, and did not have a problem. And I was quite convinced I hade removed the openindiana.org one. Still, something like that can be planned but never executed on account of being interrupted, or a cat walking across my keyboard when I went for a coffee, but I don't think so. On 2012-05-06 20:42, Hans J. Albertsson wrote: > actually it is much more of a problem than just the below man files. > > all of /usr/local has disappeared, and select trees and single files. > > The complete story: > > I run various things from directories in /usr/local, and I know for a > fact they all worked perfectly this morning. > > For some reason I thought I'd try upgrading OI151a3 to a4, and the > updatemanager application listed a set of problematic packages: > Imagemagick, drupal6, joomla and Bash-completion. > The last three were leftovers overlooked when I discarded the contrib > repository, and had directory property conflicts with other packages. > I removed those three by clicking one at a time and uninstalling them > thru the packagemanager. > > Imagemagick had a massive set of conflicts listed between itself and > the sfe version. I removed the sfe version thru the package manager. > > After this I ran updatemanager and rebooted into the new BE. There I > ran pkg fix, just to check what it looked like. After that I tried man > pkg, which failed. > Then all the services I ran out of /usr/local were gone. > > I rebooted back into the previous BE, but it's all gone there, too. > It's also gone from the snapshot created by the update manager this > morning. > > It's very little actual data missing. Just a few hundred MB. > > I have most of it available in a month-old snapshot of /, but that > thing with directory permissions got me thinking maybe it's all there, > just hidden somewhere... ??? > > Suggest a rational way to get all the data back! > Or some interesting way, at least. > > I'm nearly comfortable running zfs as an admin, but no expert, and not > very conversant with the inner structure of zfs pools or data sets. > I haven't ever really had to restore data from snapshots in an active > root pool. > > > > > On 2012-05-06 15:42, Hans J. Albertsson wrote: >> After updating to OI151a4 using updatemanager, I find most manual >> files in man1 missing! >> >> Is this my own faulty management practices, or has anyone else seen >> the same? >> >> pfexec pkg fix >> >> lists tons of missing man1 files From ian at ianshome.com Mon May 7 00:56:20 2012 From: ian at ianshome.com (Ian Collins) Date: Mon, 07 May 2012 12:56:20 +1200 Subject: [OpenIndiana-discuss] Root as role vs. user and rsync In-Reply-To: References: <4FA66988.1000007@genashor.com> Message-ID: <4FA71DB4.1040405@ianshome.com> On 05/ 7/12 01:04 AM, Jeppe Toustrup wrote: > On Sun, May 6, 2012 at 2:07 PM, Gary Gendel wrote: >> I finally decided to take the bullet and make root a role instead of a user. >> All went well except for my nightly backup. >> >> I have a backup server that rsyncs my various collection of Linux, >> OpenIndiana, Windows, and Mac machines nightly. Without root as a user, how >> do I set up rsync to ssh onto the machine and retrieve the root system files >> on OpenIndiana? > There are two ways as I see it: > > 1. Start rsyncd (see > http://wiki.openindiana.org/oi/rsync+daemon+service+on+OpenIndiana) > and set up a share for '/' which you then can rsync against. You can > either do this directly over the network (unencrypted) or SSH into the > machine and connect to rsyncd through localhost. I'll second that recommendation, it is the way I rsync off anything derived from OpenSolaris. From what I've seen, this option offers the best performance. I lock the share down so only the backup server can read from it, see rsync.conf(5) for details. -- Ian. From dave-oi at pooserville.com Mon May 7 01:37:56 2012 From: dave-oi at pooserville.com (Dave Pooser) Date: Sun, 06 May 2012 20:37:56 -0500 Subject: [OpenIndiana-discuss] Root as role vs. user and rsync In-Reply-To: Message-ID: On 5/6/12 8:04 AM, "Jeppe Toustrup" wrote: >2. SSH in as dedicated unprivileged user, which then have permissions >to run rsync with root permissions though sudo. This is how I do it, which also has the advantage of letting me give sudo permissions to run specific scripts that (for example) quiesce a database, snapshot the filesystem, reactivate the database, mount the snapshot, and then perform further operations on the snapshot while the database is humming along. Makes backup windows much more manageable.... -- Dave Pooser Cat-Herder-in-Chief, Pooserville.com "...Life is not a journey to the grave with the intention of arriving safely in one pretty and well-preserved piece, but to slide across the finish line broadside, thoroughly used up, worn out, leaking oil, and shouting GERONIMO!!!" -- Bill McKenna From darkjoker at gmail.com Mon May 7 02:01:44 2012 From: darkjoker at gmail.com (=?ISO-8859-1?Q?Ignacio_Marambio_Cat=E1n?=) Date: Sun, 6 May 2012 23:01:44 -0300 Subject: [OpenIndiana-discuss] Root as role vs. user and rsync In-Reply-To: References: Message-ID: There is one other option. Use ssh public key authentication to bypass the whole PAM/role nonsense and restrict what the user can do with the command option. See sshd(8) in its AUTHORIZED_KEYS FILE FORMAT section On Sun, May 6, 2012 at 10:37 PM, Dave Pooser wrote: > On 5/6/12 8:04 AM, "Jeppe Toustrup" wrote: > >>2. SSH in as dedicated unprivileged user, which then have permissions >>to run rsync with root permissions though sudo. > > This is how I do it, which also has the advantage of letting me give sudo > permissions to run specific scripts that (for example) quiesce a database, > snapshot the filesystem, reactivate the database, mount the snapshot, and > then perform further operations on the snapshot while the database is > humming along. Makes backup windows much more manageable.... > -- > Dave Pooser > Cat-Herder-in-Chief, Pooserville.com > "...Life is not a journey to the grave with the intention of arriving > safely in one pretty and well-preserved piece, but to slide across the > finish line broadside, thoroughly used up, worn out, leaking oil, and > shouting GERONIMO!!!" -- Bill McKenna > > > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From tripathi.sunay at gmail.com Mon May 7 08:42:42 2012 From: tripathi.sunay at gmail.com (Sunay Tripathi) Date: Mon, 07 May 2012 01:42:42 -0700 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (other than wifi - everything works now) In-Reply-To: <4FA499EF.6090701@oracle.com> References: <4FA338E7.6060508@gmail.com> <4FA4944C.90503@gmail.com> <4FA499EF.6090701@oracle.com> Message-ID: <4FA78B02.5000807@gmail.com> On 05/ 4/12 08:09 PM, Alan Coopersmith wrote: > On 05/ 4/12 07:45 PM, Sunay Tripathi wrote: >> So I spent a little bit more time and turns out that BIOS >> ships with display set to Optimus mode (some special support >> for windows7). > > Optimus is actually for switching between two different graphics > chips on the fly (a lower-power/performance once when you're not > doing heavy 3D, and a power-sucking performance daemon when it's > time to play games). If the lower-power one is the Intel integrated > graphics in a Sandy Bridge or similar chipset, then it's not surprising > the nvidia driver doesn't work when you disable it. > > http://en.wikipedia.org/wiki/Nvidia_Optimus > Alan, thanks for the pointers. I mis wrote that Display in BIOS needs to be set to integrated. It actually needs to be set to discrete as you pointed out integrated is for Intel graphics which we don't have support for. Anyway, the help section is pretty good so easy choice can be made. The reason it was still not working for me was the device id. Although I am running 294.49 driver downloaded from Nvidia website, the device id for the card on my machine is "pciex10de,1057" which I needed to add manually. Run prtconf -pv and search for 10de (Nvidia vendor ID) to find the actual instance and run update_drv with that. So now only missing piece is wifi. Cheers, Sunay PS: Just for others trying the same, when you download the Nvidia driver, the run script doesn't quite work since it can't uninstall the older driver so run it with -x option to extract the packages and manually do pkgadd for the 2 packages. From hans.j.albertsson at branneriet.se Mon May 7 09:01:35 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Mon, 07 May 2012 11:01:35 +0200 Subject: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4 In-Reply-To: References: Message-ID: <4FA78F6F.5070108@branneriet.se> I managed to determine (ocular inspection of "ls" in several snapshots) that the only files missing were about 1200 man pages in man1, and the entire /usr/local tree. And I think it must have happened as I removed the sfe version of imagemagick. I'm ok now, I think. I still wonder what could have happened? On 2012-05-07 02:56, openindiana-discuss-request at openindiana.org wrote: > Message: 6 > Date: Sun, 06 May 2012 20:48:26 +0200 > From: "Hans J. Albertsson" > To:openindiana-discuss at openindiana.org > Subject: Re: [OpenIndiana-discuss] Massive numbers of man files > missing on 151a4 > Message-ID:<4FA6C77A.20907 at branneriet.se> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I should add that I cannot remember why I had both the standard > imagemagick from openindiana.org AND the sfe version. > This is fishy, I distinctly remember deciding that I wanted to remove > the openindiana.org one and replace it with the sfe one. > Not for any rational reason, I just planned on playing with the sfe one > a bit. And I have done that, and did not have a problem. > And I was quite convinced I hade removed the openindiana.org one. > > Still, something like that can be planned but never executed on account > of being interrupted, or a cat walking across my keyboard when I went > for a coffee, but I don't think so. > > On 2012-05-06 20:42, Hans J. Albertsson wrote: >> > actually it is much more of a problem than just the below man files. >> > >> > all of /usr/local has disappeared, and select trees and single files. >> > >> > The complete story: >> > >> > I run various things from directories in /usr/local, and I know for a >> > fact they all worked perfectly this morning. >> > >> > For some reason I thought I'd try upgrading OI151a3 to a4, and the >> > updatemanager application listed a set of problematic packages: >> > Imagemagick, drupal6, joomla and Bash-completion. >> > The last three were leftovers overlooked when I discarded the contrib >> > repository, and had directory property conflicts with other packages. >> > I removed those three by clicking one at a time and uninstalling them >> > thru the packagemanager. >> > >> > Imagemagick had a massive set of conflicts listed between itself and >> > the sfe version. I removed the sfe version thru the package manager. >> > >> > After this I ran updatemanager and rebooted into the new BE. There I >> > ran pkg fix, just to check what it looked like. After that I tried man >> > pkg, which failed. >> > Then all the services I ran out of /usr/local were gone. >> > >> > I rebooted back into the previous BE, but it's all gone there, too. >> > It's also gone from the snapshot created by the update manager this >> > morning. >> > >> > It's very little actual data missing. Just a few hundred MB. >> > >> > I have most of it available in a month-old snapshot of /, but that >> > thing with directory permissions got me thinking maybe it's all there, >> > just hidden somewhere... ??? >> > >> > Suggest a rational way to get all the data back! >> > Or some interesting way, at least. >> > >> > I'm nearly comfortable running zfs as an admin, but no expert, and not >> > very conversant with the inner structure of zfs pools or data sets. >> > I haven't ever really had to restore data from snapshots in an active >> > root pool. >> > >> > >> > >> > >> > On 2012-05-06 15:42, Hans J. Albertsson wrote: >>> >> After updating to OI151a4 using updatemanager, I find most manual >>> >> files in man1 missing! >>> >> >>> >> Is this my own faulty management practices, or has anyone else seen >>> >> the same? >>> >> >>> >> pfexec pkg fix >>> >> >>> >> lists tons of missing man1 files From carlsonj at workingcode.com Mon May 7 11:21:32 2012 From: carlsonj at workingcode.com (James Carlson) Date: Mon, 07 May 2012 07:21:32 -0400 Subject: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4 In-Reply-To: <4FA78F6F.5070108@branneriet.se> References: <4FA78F6F.5070108@branneriet.se> Message-ID: <4FA7B03C.4010803@workingcode.com> Hans J. Albertsson wrote: > I managed to determine (ocular inspection of "ls" in several snapshots) > that the only files missing were about 1200 man pages in man1, and the > entire /usr/local tree. > > And I think it must have happened as I removed the sfe version of > imagemagick. One way I've seen this sort of thing happen is when an administrator uses a symlink for a common directory (such as /usr/local), and a package delivers a directory entry for that same path. The packaging system will happily blow the symlink away. If that's what you've been doing, I suggest using mounts instead of symlinks. The simplest thing to do is to make /usr/local (or whatever is being symlink'd) be a separate zfs file system. Alternatively, if separate file systems are not your taste for some reason, consider using a lofs mount. (Of course, getting that mount in place at boot time may be slightly tougher to do on a modern Open Indiana system, as zfs works outside of the /etc/vfstab scheme.) -- James Carlson 42.703N 71.076W From roy at karlsbakk.net Mon May 7 12:44:46 2012 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Mon, 7 May 2012 14:44:46 +0200 (CEST) Subject: [OpenIndiana-discuss] scsi errors Message-ID: <604425.10.1336394686074.JavaMail.root@zimbra> Hi all I have a few machines with openindiana 151, LSI 92xx mpt_sas controllers, and Hitachi Deskstar drives, mostly 2TB ones. These work well, but they all (I think) give me tons of "soft" errors like the ones below. They all use LSI SAS expanders from Super Micro. Any ideas how to debug this? roy May 7 14:31:04 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:31:04 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 May 7 14:31:05 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd68e9 (sd157): May 7 14:31:05 prv-backup Error for Command: Error Level: Recovered May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN1220 May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 May 7 14:31:08 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd709b (sd145): May 7 14:31:08 prv-backup Error for Command: Error Level: Recovered May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN1220 May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 May 7 14:31:08 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd7f17 (sd140): May 7 14:31:08 prv-backup Error for Command: Error Level: Recovered May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN1220 May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 May 7 14:34:03 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd4345 (sd105): May 7 14:34:03 prv-backup Error for Command: Error Level: Recovered May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN5220 May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 May 7 14:38:59 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369c02d03 (sd146): May 7 14:38:59 prv-backup Error for Command: Error Level: Recovered May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN1221 May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 May 7 14:39:59 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369d9c0c2 (sd136): May 7 14:39:59 prv-backup Error for Command: Error Level: Recovered May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN1220 May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 -- Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 98013356 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. From rercola at acm.jhu.edu Mon May 7 12:50:03 2012 From: rercola at acm.jhu.edu (Rich) Date: Mon, 7 May 2012 08:50:03 -0400 Subject: [OpenIndiana-discuss] scsi errors In-Reply-To: <604425.10.1336394686074.JavaMail.root@zimbra> References: <604425.10.1336394686074.JavaMail.root@zimbra> Message-ID: https://www.illumos.org/issues/1787 - Rich On Mon, May 7, 2012 at 8:44 AM, Roy Sigurd Karlsbakk wrote: > Hi all > > I have a few machines with openindiana 151, LSI 92xx mpt_sas controllers, and Hitachi Deskstar drives, mostly 2TB ones. These work well, but they all (I think) give me tons of "soft" errors like the ones below. They all use LSI SAS expanders from Super Micro. > > Any ideas how to debug this? > > roy > > May ?7 14:31:04 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:31:04 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > May ?7 14:31:05 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd68e9 (sd157): > May ?7 14:31:05 prv-backup ? ? ?Error for Command: ? ?Error Level: Recovered > May ?7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Requested Block: 0 ? ? ? ? ? ? ? ? ? ? ? ? Error Block: 0 > May ?7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Vendor: ATA ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Serial Number: ? ? ? MN1220 > May ?7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd709b (sd145): > May ?7 14:31:08 prv-backup ? ? ?Error for Command: ? ?Error Level: Recovered > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Requested Block: 0 ? ? ? ? ? ? ? ? ? ? ? ? Error Block: 0 > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Vendor: ATA ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Serial Number: ? ? ? MN1220 > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd7f17 (sd140): > May ?7 14:31:08 prv-backup ? ? ?Error for Command: ? ?Error Level: Recovered > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Requested Block: 0 ? ? ? ? ? ? ? ? ? ? ? ? Error Block: 0 > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Vendor: ATA ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Serial Number: ? ? ? MN1220 > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > May ?7 14:34:03 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369dd4345 (sd105): > May ?7 14:34:03 prv-backup ? ? ?Error for Command: ? ?Error Level: Recovered > May ?7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Requested Block: 0 ? ? ? ? ? ? ? ? ? ? ? ? Error Block: 0 > May ?7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Vendor: ATA ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Serial Number: ? ? ? MN5220 > May ?7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > May ?7 14:38:59 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369c02d03 (sd146): > May ?7 14:38:59 prv-backup ? ? ?Error for Command: ? ?Error Level: Recovered > May ?7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Requested Block: 0 ? ? ? ? ? ? ? ? ? ? ? ? Error Block: 0 > May ?7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Vendor: ATA ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Serial Number: ? ? ? MN1221 > May ?7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > May ?7 14:39:59 prv-backup scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk at g5000cca369d9c0c2 (sd136): > May ?7 14:39:59 prv-backup ? ? ?Error for Command: ? ?Error Level: Recovered > May ?7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Requested Block: 0 ? ? ? ? ? ? ? ? ? ? ? ? Error Block: 0 > May ?7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Vendor: ATA ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Serial Number: ? ? ? MN1220 > May ?7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?Sense Key: Soft_Error > May ?7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] ? ? ? ?ASC: 0x0 (), ASCQ: 0x1d, FRU: 0x0 > > > -- > Vennlige hilsener / Best regards > > roy > -- > Roy Sigurd Karlsbakk > (+47) 98013356 > roy at karlsbakk.net > http://blogg.karlsbakk.net/ > -- > I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From roy at karlsbakk.net Mon May 7 13:15:29 2012 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Mon, 7 May 2012 15:15:29 +0200 (CEST) Subject: [OpenIndiana-discuss] scsi errors In-Reply-To: Message-ID: <21289490.12.1336396529100.JavaMail.root@zimbra> oh - thanks :) ----- Opprinnelig melding ----- > https://www.illumos.org/issues/1787 > > - Rich > > On Mon, May 7, 2012 at 8:44 AM, Roy Sigurd Karlsbakk > wrote: > > Hi all > > > > I have a few machines with openindiana 151, LSI 92xx mpt_sas > > controllers, and Hitachi Deskstar drives, mostly 2TB ones. These > > work well, but they all (I think) give me tons of "soft" errors like > > the ones below. They all use LSI SAS expanders from Super Micro. > > > > Any ideas how to debug this? > > > > roy > > > > May 7 14:31:04 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:31:04 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > May 7 14:31:05 prv-backup scsi: [ID 107833 kern.warning] WARNING: > > /scsi_vhci/disk at g5000cca369dd68e9 (sd157): > > May 7 14:31:05 prv-backup Error for Command: > > Error Level: Recovered > > May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] Requested > > Block: 0 Error Block: 0 > > May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA > > Serial Number: MN1220 > > May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:31:05 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.warning] WARNING: > > /scsi_vhci/disk at g5000cca369dd709b (sd145): > > May 7 14:31:08 prv-backup Error for Command: > > Error Level: Recovered > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Requested > > Block: 0 Error Block: 0 > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA > > Serial Number: MN1220 > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.warning] WARNING: > > /scsi_vhci/disk at g5000cca369dd7f17 (sd140): > > May 7 14:31:08 prv-backup Error for Command: > > Error Level: Recovered > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Requested > > Block: 0 Error Block: 0 > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA > > Serial Number: MN1220 > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:31:08 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > May 7 14:34:03 prv-backup scsi: [ID 107833 kern.warning] WARNING: > > /scsi_vhci/disk at g5000cca369dd4345 (sd105): > > May 7 14:34:03 prv-backup Error for Command: > > Error Level: Recovered > > May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] Requested > > Block: 0 Error Block: 0 > > May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA > > Serial Number: MN5220 > > May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:34:03 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > May 7 14:38:59 prv-backup scsi: [ID 107833 kern.warning] WARNING: > > /scsi_vhci/disk at g5000cca369c02d03 (sd146): > > May 7 14:38:59 prv-backup Error for Command: > > Error Level: Recovered > > May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] Requested > > Block: 0 Error Block: 0 > > May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA > > Serial Number: MN1221 > > May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:38:59 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > May 7 14:39:59 prv-backup scsi: [ID 107833 kern.warning] WARNING: > > /scsi_vhci/disk at g5000cca369d9c0c2 (sd136): > > May 7 14:39:59 prv-backup Error for Command: > > Error Level: Recovered > > May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] Requested > > Block: 0 Error Block: 0 > > May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] Vendor: ATA > > Serial Number: MN1220 > > May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] Sense Key: > > Soft_Error > > May 7 14:39:59 prv-backup scsi: [ID 107833 kern.notice] ASC: 0x0 > > (), ASCQ: 0x1d, FRU: 0x0 > > > > > > -- > > Vennlige hilsener / Best regards > > > > roy > > -- > > Roy Sigurd Karlsbakk > > (+47) 98013356 > > roy at karlsbakk.net > > http://blogg.karlsbakk.net/ > > -- > > I all pedagogikk er det essensielt at pensum presenteres > > intelligibelt. Det er et element?rt imperativ for alle pedagoger ? > > unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de > > fleste tilfeller eksisterer adekvate og relevante synonymer p? > > norsk. > > > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss at openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 98013356 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. From hans.j.albertsson at branneriet.se Mon May 7 13:31:19 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Mon, 07 May 2012 15:31:19 +0200 Subject: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4 In-Reply-To: References: Message-ID: <4FA7CEA7.3060608@branneriet.se> No, that's not it: I thought of that possibility, but my /usr/local is just another directory /usr. And where did the man files go?? I'm actually thinking I would have liked to be able to trace what updatemanager did, after the fact. Still, I now know I must do a snapshot at every step of any fishy pkg stuff. And I've got the files back, and things work. Next time I'll be more observant. On 2012-05-07 14:50, openindiana-discuss-request at openindiana.org wrote: > Message: 5 > Date: Mon, 07 May 2012 07:21:32 -0400 > From: James Carlson > To: Discussion list for OpenIndiana > > Subject: Re: [OpenIndiana-discuss] Massive numbers of man files, > missing on 151a4 > Message-ID:<4FA7B03C.4010803 at workingcode.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hans J. Albertsson wrote: >> > I managed to determine (ocular inspection of "ls" in several snapshots) >> > that the only files missing were about 1200 man pages in man1, and the >> > entire /usr/local tree. >> > >> > And I think it must have happened as I removed the sfe version of >> > imagemagick. > One way I've seen this sort of thing happen is when an administrator > uses a symlink for a common directory (such as /usr/local), and a > package delivers a directory entry for that same path. The packaging > system will happily blow the symlink away. > > If that's what you've been doing, I suggest using mounts instead of > symlinks. The simplest thing to do is to make /usr/local (or whatever > is being symlink'd) be a separate zfs file system. Alternatively, if > separate file systems are not your taste for some reason, consider using > a lofs mount. (Of course, getting that mount in place at boot time may > be slightly tougher to do on a modern Open Indiana system, as zfs works > outside of the /etc/vfstab scheme.) > > -- James Carlson 42.703N 71.076W From whitetr6 at gmail.com Mon May 7 13:57:20 2012 From: whitetr6 at gmail.com (Mark Creamer) Date: Mon, 7 May 2012 09:57:20 -0400 Subject: [OpenIndiana-discuss] Question about halting a zone Message-ID: I was reading about how to update non-global zones, and found a Solaris document which says the following: 1. Update the Global Zone 2. Reboot 3. Halt the non-global zone (zoneadm -z myzone halt) 4. Detach the zone (zoneadm -z myzone detach) 5. Re-attach the zone with -u (zoneadm -z myzone attach -u) In my testing, this seems to go fine. My question is, what happens when you halt a zone - for example, if MySQL is running on that non-global zone, should you stop it first before halting the zone to avoid the risk of corrupting data? Or is a halt safe without stopping any running services first? Thanks -- Mark From paolo.marcheschi at ftgm.it Mon May 7 14:03:30 2012 From: paolo.marcheschi at ftgm.it (paolo marcheschi) Date: Mon, 07 May 2012 16:03:30 +0200 Subject: [OpenIndiana-discuss] Question about halting a zone In-Reply-To: References: Message-ID: <4FA7D632.5070207@ftgm.it> Hi If the Mysql service is started using SMF services, the halt is Safe, otherwise you have to stop the service. Ciao Paolo On 05/07/12 15:57, Mark Creamer wrote: > I was reading about how to update non-global zones, and found a > Solaris document which says the following: > > 1. Update the Global Zone > 2. Reboot > 3. Halt the non-global zone (zoneadm -z myzone halt) > 4. Detach the zone (zoneadm -z myzone detach) > 5. Re-attach the zone with -u (zoneadm -z myzone attach -u) > > In my testing, this seems to go fine. My question is, what happens > when you halt a zone - for example, if MySQL is running on that > non-global zone, should you stop it first before halting the zone to > avoid the risk of corrupting data? Or is a halt safe without stopping > any running services first? > > Thanks > From openindiana at tenzer.dk Mon May 7 14:08:29 2012 From: openindiana at tenzer.dk (Jeppe Toustrup) Date: Mon, 7 May 2012 16:08:29 +0200 Subject: [OpenIndiana-discuss] Question about halting a zone In-Reply-To: References: Message-ID: On Mon, May 7, 2012 at 3:57 PM, Mark Creamer wrote: > I was reading about how to update non-global zones, and found a > Solaris document which says the following: > > 1. Update the Global Zone > 2. Reboot > 3. Halt the non-global zone ? (zoneadm -z myzone halt) > 4. Detach the zone ?(zoneadm -z myzone detach) > 5. Re-attach the zone with -u ?(zoneadm -z myzone attach -u) > > In my testing, this seems to go fine. My question is, what happens > when you halt a zone - for example, if MySQL is running on that > non-global zone, should you stop it first before halting the zone to > avoid the risk of corrupting data? Or is a halt safe without stopping > any running services first? I normally do: zlogin myzone init 5 This makes the zone shut down normally, running all the shutdown procedures. "zoneadm halt" does not do that. Here's the help output for "zoneadm halt": Halts specified zone, bypassing shutdown scripts and removing runtime resources of the zone. -- Venlig hilsen / Kind regards Jeppe Toustrup (aka. Tenzer) From matveiy1 at yandex.com Mon May 7 14:09:09 2012 From: matveiy1 at yandex.com (Stephan Kutuzov) Date: Mon, 07 May 2012 18:09:09 +0400 Subject: [OpenIndiana-discuss] JFS on openindiana Message-ID: <388321336399749@web1f.yandex.ru> Is it possible to read the file system JFS in openindiana? And if possible, then how? Thanks. From paolo.marcheschi at ftgm.it Mon May 7 14:26:02 2012 From: paolo.marcheschi at ftgm.it (paolo marcheschi) Date: Mon, 07 May 2012 16:26:02 +0200 Subject: [OpenIndiana-discuss] JFS on openindiana In-Reply-To: <388321336399749@web1f.yandex.ru> References: <388321336399749@web1f.yandex.ru> Message-ID: <4FA7DB7A.2080306@ftgm.it> No at present as far as I Know is not possible, there is an old project : http://hub.opensolaris.org/bin/view/Project+jfs/ But is discontinued. However you can install an other OS (Virtualbox,kvm, zones) that can read JFS (i.e. Linux ) and use that to open the JFS filesystem. Ciao Paolo On 05/07/12 16:09, Stephan Kutuzov wrote: > Is it possible to read the file system JFS in openindiana? And if possible, then how? > Thanks. > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From matveiy1 at yandex.com Mon May 7 14:33:00 2012 From: matveiy1 at yandex.com (matveiy) Date: Mon, 07 May 2012 18:33:00 +0400 Subject: [OpenIndiana-discuss] JFS on openindiana In-Reply-To: <4FA7DB7A.2080306@ftgm.it> References: <388321336399749@web1f.yandex.ru> <4FA7DB7A.2080306@ftgm.it> Message-ID: <640041336401180@web30f.yandex.ru> It sad. I have an external drive with all the data on the JFS. :( 07.05.2012, 18:26, "paolo marcheschi" : > No > at present as far as I Know is not possible, > there is an old project : > http://hub.opensolaris.org/bin/view/Project+jfs/ > > But is discontinued. > However you can install an other OS (Virtualbox,kvm, zones) that can > read JFS (i.e. Linux ) and use that to open the JFS filesystem. > Ciao > Paolo > On 05/07/12 16:09, Stephan Kutuzov wrote: > >> ?Is it possible to read the file system JFS in openindiana? And if possible, then how? >> ?Thanks. >> >> ?_______________________________________________ >> ?OpenIndiana-discuss mailing list >> ?OpenIndiana-discuss at openindiana.org >> ?http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From bfriesen at simple.dallas.tx.us Mon May 7 14:36:26 2012 From: bfriesen at simple.dallas.tx.us (Bob Friesenhahn) Date: Mon, 7 May 2012 09:36:26 -0500 (CDT) Subject: [OpenIndiana-discuss] Root as role vs. user and rsync In-Reply-To: References: Message-ID: On Sun, 6 May 2012, Ignacio Marambio Cat?n wrote: > There is one other option. Use ssh public key authentication to bypass > the whole PAM/role nonsense and restrict what the user can do with the > command option. See sshd(8) in its AUTHORIZED_KEYS FILE FORMAT section That is what I do. For even more security, the key triggers running a script which runs rsync in server mode over ssh using a rsync.conf configuration file specific to this purpose. If someone was to gain access to the key, they could still only read data enabled to be read using the key. I have been backing up multiple types of hosts with this strategy for four years now without a problem. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ From alan.coopersmith at oracle.com Mon May 7 14:48:59 2012 From: alan.coopersmith at oracle.com (Alan Coopersmith) Date: Mon, 07 May 2012 07:48:59 -0700 Subject: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4 In-Reply-To: <4FA7CEA7.3060608@branneriet.se> References: <4FA7CEA7.3060608@branneriet.se> Message-ID: <4FA7E0DB.3060604@oracle.com> On 05/ 7/12 06:31 AM, Hans J. Albertsson wrote: > No, that's not it: I thought of that possibility, but my /usr/local is just > another directory /usr. > And where did the man files go?? Did any of the missing files get moved under /var/pkg/lost+found/ ? That's where pkg puts unexpected, unpackaged files when it's removing a directory the package system thinks should be deleted because you removed all the packages delivered to it. -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc From hans.j.albertsson at branneriet.se Mon May 7 15:00:37 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Mon, 07 May 2012 17:00:37 +0200 Subject: [OpenIndiana-discuss] Massive numbers of man files, , missing on 151a4 In-Reply-To: References: Message-ID: <4FA7E395.5080008@branneriet.se> Alan Coopersmith gave some interesting info just now: some (not all) files appeared in /var/pkg/lost+found/. The missing man files weren't there, but most (80 %?) of the missing /usr/local tree was. I had no idea that dir was there. There you go, manuals should be read. i e rtfm not waefrtfm. On 2012-05-07 16:33, openindiana-discuss-request at openindiana.org wrote: > Message: 2 Date: Mon, 07 May 2012 15:31:19 +0200 From: "Hans J. > Albertsson" To: > openindiana-discuss at openindiana.org Subject: Re: [OpenIndiana-discuss] > Massive numbers of man files, missing on 151a4 Message-ID: > <4FA7CEA7.3060608 at branneriet.se> Content-Type: text/plain; > charset=ISO-8859-1; format=flowed No, that's not it: I thought of that > possibility, but my /usr/local is just another directory /usr. And > where did the man files go?? I'm actually thinking I would have liked > to be able to trace what updatemanager did, after the fact. Still, I > now know I must do a snapshot at every step of any fishy pkg stuff. > And I've got the files back, and things work. Next time I'll be more > observant. On 2012-05-07 14:50, > openindiana-discuss-request at openindiana.org wrote: >> > Message: 5 >> > Date: Mon, 07 May 2012 07:21:32 -0400 >> > From: James Carlson >> > To: Discussion list for OpenIndiana >> > >> > Subject: Re: [OpenIndiana-discuss] Massive numbers of man files, >> > missing on 151a4 >> > Message-ID:<4FA7B03C.4010803 at workingcode.com> >> > Content-Type: text/plain; charset=ISO-8859-1 >> > >> > Hans J. Albertsson wrote: >>>> >> > I managed to determine (ocular inspection of "ls" in several snapshots) >>>> >> > that the only files missing were about 1200 man pages in man1, and the >>>> >> > entire /usr/local tree. >>>> >> > >>>> >> > And I think it must have happened as I removed the sfe version of >>>> >> > imagemagick. >> > One way I've seen this sort of thing happen is when an administrator >> > uses a symlink for a common directory (such as /usr/local), and a >> > package delivers a directory entry for that same path. The packaging >> > system will happily blow the symlink away. >> > >> > If that's what you've been doing, I suggest using mounts instead of >> > symlinks. The simplest thing to do is to make /usr/local (or whatever >> > is being symlink'd) be a separate zfs file system. Alternatively, if >> > separate file systems are not your taste for some reason, consider using >> > a lofs mount. (Of course, getting that mount in place at boot time may >> > be slightly tougher to do on a modern Open Indiana system, as zfs works >> > outside of the /etc/vfstab scheme.) >> > >> > -- James Carlson 42.703N 71.076W From reh at hebis.uni-frankfurt.de Mon May 7 15:39:51 2012 From: reh at hebis.uni-frankfurt.de (Uwe Reh) Date: Mon, 07 May 2012 17:39:51 +0200 Subject: [OpenIndiana-discuss] NEWBIE can't find /usr/sbin/sysconfig In-Reply-To: <4FA28E5A.4000306@hebis.uni-frankfurt.de> References: <4FA28E5A.4000306@hebis.uni-frankfurt.de> Message-ID: <4FA7ECC7.3060103@hebis.uni-frankfurt.de> Hi, apparently my questions are not that trivial. No one told me where to find the appropriate manual. That's why I dare to repeat my questions: 1. Remains the tool sysconfig proprietary to S11 or is there something equivalent at OI? 2. Is nwamadm realy just a old name for netadm? >http://openindiana.org/pipermail/openindiana-discuss/2012-February/007175.html 3. Why do I miss manpages to some tools? Any missconfiguration, or they are not wrote, up to now? (@matt, thanks for the answer. As you wrote the package 'system/manual' is obsolete and seems to be empty) Uwe Am 03.05.2012 15:55, schrieb Uwe Reh: > while migrating from S10 to oi151a3 on new HW, I try to improve my zone > management. > Doing this, I found a interesting line in > >http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-118-s11-script-zones-524499.html >> >> We could use the new Oracle Solaris 11 tool for creating system >> configuration files. That tool is easy to invoke using the following >> command: >> >> sysconfig create-profile -o sc_profile.xml > Maybe it's a RTFM, but i can't find any informations on this tool, or an > equivalent at oi. > (/usr/sbin/sys-unconfig seems to be different.) > > Btw. > - Beside the name does 'nwamadm' (oi151a3) the same as 'netadm' (S11)? > - I miss man pages for 'sys-unconfig', 'nwamadm' and some others. Is > there a PKG, i forgot to install? > > Uwe > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From alan.coopersmith at oracle.com Mon May 7 16:03:17 2012 From: alan.coopersmith at oracle.com (Alan Coopersmith) Date: Mon, 07 May 2012 09:03:17 -0700 Subject: [OpenIndiana-discuss] NEWBIE can't find /usr/sbin/sysconfig In-Reply-To: <4FA7ECC7.3060103@hebis.uni-frankfurt.de> References: <4FA28E5A.4000306@hebis.uni-frankfurt.de> <4FA7ECC7.3060103@hebis.uni-frankfurt.de> Message-ID: <4FA7F245.7000505@oracle.com> On 05/ 7/12 08:39 AM, Uwe Reh wrote: > 1. Remains the tool sysconfig proprietary to S11 or is there something > equivalent at OI? Oracle released the sysconfig sources, though I don't know if it depends on anything specific to S11 or if it would work on OI: http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/cmd/system-config/ > 2. Is nwamadm realy just a old name for netadm? >>http://openindiana.org/pipermail/openindiana-discuss/2012-February/007175.html Not just a new name, netadm is a newer version, with a few more changes since nwamadm than the name, so the docs won't be an exact match (though I don't remember exactly how far off they are). -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc From milan.jurik at xylab.cz Mon May 7 17:51:17 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Mon, 07 May 2012 19:51:17 +0200 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) In-Reply-To: <4FA4944C.90503@gmail.com> References: <4FA338E7.6060508@gmail.com> <4FA4944C.90503@gmail.com> Message-ID: <1336413077.1427.4.camel@xylabone> Hi Sunay, Sunay Tripathi p??e v p? 04. 05. 2012 v 19:45 -0700: > Hi Milan, > [...] > >> The e1000g0 works fine but my Centrino N-6300 keeps failing > >> as well related to https://www.illumos.org/issues/2207. Does > >> anyone has a workaround on that? > >> > > > > port needed support from BSD driver needed :-( > > Funny. Then why do we have the chip listed as supported on > http://wiki.openindiana.org/oi/WiFi. I actually ordered the > laptop based on that. Have CC'd Albert to see if he has any > ideas. > I do not know but I think iwp needs more work to support 6205+ devices, we lack support in firmware I think. > Thanks, > Sunay > Best regards, Milan From bluethundr at gmail.com Mon May 7 18:04:26 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 7 May 2012 14:04:26 -0400 Subject: [OpenIndiana-discuss] unable to start nfs Message-ID: Hello openindiana, I appreciate the help you've provided so far. This OI box is turning out completely awesome! Currently I am trying to start an nfs server so that I can share my zpool across the network. However when I attempt to start the service I am getting an error: root at openindiana:~# svcadm enable -r nfs/server svcadm: svc:/milestone/network depends on svc:/network/physical, which has multiple instances. Now, I do have two physical links that I am currently using to create a link aggregate: root at openindiana:~# dladm show-link LINK CLASS MTU STATE BRIDGE OVER e1000g0 phys 1500 up -- -- e1000g1 phys 1500 up -- -- aggr1 aggr 1500 up -- e1000g0 e1000g1 But I don't understand why that may be preventing me from enabling NFS. I'd appreciate any help you could provide in getting this to work. Thanks and best regards, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From carlsonj at workingcode.com Mon May 7 18:30:06 2012 From: carlsonj at workingcode.com (James Carlson) Date: Mon, 07 May 2012 14:30:06 -0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: Message-ID: <4FA814AE.8030008@workingcode.com> Tim Dunphy wrote: > root at openindiana:~# svcadm enable -r nfs/server > svcadm: svc:/milestone/network depends on svc:/network/physical, which > has multiple instances. > > > Now, I do have two physical links that I am currently using to create > a link aggregate: That message has nothing to do with the network interfaces. It's a message about the ":default" and ":nwam" instances of network/physical. It's a service, not link, message. The simplest thing to do is to ignore the message, but that's probably not the right answer here. I think the right answer, assuming that NFS isn't working for you, is to look into what's wrong with the service. Start with "svcs -x" and "svcs -l nfs/server". -- James Carlson 42.703N 71.076W From bluethundr at gmail.com Mon May 7 18:39:54 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 7 May 2012 14:39:54 -0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: <4FA814AE.8030008@workingcode.com> References: <4FA814AE.8030008@workingcode.com> Message-ID: Hi, and thanks for your reply. No, it seems that the nfs server is definitely not working at this point: root at openindiana:~# svcs -x nfs/server svc:/network/nfs/server:default (NFS server) State: disabled since May 7, 2012 01:57:11 PM EDT Reason: Temporarily disabled by an administrator. See: http://illumos.org/msg/SMF-8000-1S See: nfsd(1M) See: /var/svc/log/network-nfs-server:default.log Impact: This service is not running. I had a look at the services associated with NFS and made sure that they were all started. root at openindiana:~# svcs -l nfs/server fmri svc:/network/nfs/server:default name NFS server enabled false (temporary) state disabled next_state none state_time May 7, 2012 01:57:11 PM EDT logfile /var/svc/log/network-nfs-server:default.log restarter svc:/system/svc/restarter:default contract_id dependency require_any/error svc:/milestone/network (online) dependency require_all/error svc:/network/nfs/nlockmgr (online) dependency optional_all/error svc:/network/nfs/mapid (online) dependency require_all/restart svc:/network/rpc/bind (online) dependency optional_all/none svc:/network/rpc/keyserv (online) dependency optional_all/none svc:/network/rpc/gss (online) dependency optional_all/none svc:/network/shares/group (multiple) dependency optional_all/none svc:/system/filesystem/reparse (online) dependency require_all/error svc:/system/filesystem/local (online) The only one that appears to be different is the network shares group. And after making sure that the associated services were running, I am still unable to start NFS and seeing the same error message: root at openindiana:~# svcadm enable -r svc:/network/nfs/server:default svcadm: svc:/milestone/network depends on svc:/network/physical, which has multiple instances. I'm just wondering what other troubleshooting steps might help lead to a solution.. thanks On Mon, May 7, 2012 at 2:30 PM, James Carlson wrote: > Tim Dunphy wrote: >> ?root at openindiana:~# svcadm enable -r nfs/server >> svcadm: svc:/milestone/network depends on svc:/network/physical, which >> has multiple instances. >> >> >> Now, I do have two physical links that I am currently using to create >> a link aggregate: > > That message has nothing to do with the network interfaces. ?It's a > message about the ":default" and ":nwam" instances of network/physical. > ?It's a service, not link, message. > > The simplest thing to do is to ignore the message, but that's probably > not the right answer here. > > I think the right answer, assuming that NFS isn't working for you, is to > look into what's wrong with the service. ?Start with "svcs -x" and "svcs > -l nfs/server". > > -- > James Carlson ? ? ? ? 42.703N 71.076W ? ? ? ? > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From tripathi.sunay at gmail.com Mon May 7 18:40:48 2012 From: tripathi.sunay at gmail.com (Sunay Tripathi) Date: Mon, 07 May 2012 11:40:48 -0700 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) In-Reply-To: <1336413077.1427.4.camel@xylabone> References: <4FA338E7.6060508@gmail.com> <4FA4944C.90503@gmail.com> <1336413077.1427.4.camel@xylabone> Message-ID: <4FA81730.5080707@gmail.com> Hi Milan, On 05/ 7/12 10:51 AM, Milan Jurik wrote: > Hi Sunay, > > Sunay Tripathi p??e v p? 04. 05. 2012 v 19:45 -0700: >> Hi Milan, >> > > [...] > >>>> The e1000g0 works fine but my Centrino N-6300 keeps failing >>>> as well related to https://www.illumos.org/issues/2207. Does >>>> anyone has a workaround on that? >>>> >>> >>> port needed support from BSD driver needed :-( >> >> Funny. Then why do we have the chip listed as supported on >> http://wiki.openindiana.org/oi/WiFi. I actually ordered the >> laptop based on that. Have CC'd Albert to see if he has any >> ideas. >> > > I do not know but I think iwp needs more work to support 6205+ devices, > we lack support in firmware I think. I think we should update the page to reflect that. It might be worthwhile keeping a page on laptops that are known to work. I know thats not the target for this community but at the same time if developers can run on their laptop/desktop, we get better stability :) Can anyone point me *bsd sources where we need to pull the relevant iwp firmware code from? Not have much time but I kind of liked this t520p with the native 1920x1080 resolution so would love to get it to work. Cheers, Sunay From jimklimov at cos.ru Mon May 7 18:42:16 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Mon, 07 May 2012 22:42:16 +0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: Message-ID: <4FA81788.6080204@cos.ru> 2012-05-07 22:04, Tim Dunphy wrote: > Hello openindiana, > > I appreciate the help you've provided so far. This OI box is turning > out completely awesome! Yup! ;) > Currently I am trying to start an nfs server so that I can share my > zpool across the network. To be pedantic, you don't share a zpool, but filesystem directories, over NFS :) In case of ZFS-NFS integration, you share filesystem datasets at their roots (and their child filesystem datasets by default - unless you override the sharenfs attribute in the children). > > However when I attempt to start the service I am getting an error: > > root at openindiana:~# svcadm enable -r nfs/server > svcadm: svc:/milestone/network depends on svc:/network/physical, which > has multiple instances. > > > Now, I do have two physical links that I am currently using to create As James pointed out, this error message is not what you interpreted it to be. Moreover, I often see it (in the same situation) on other Solaris 10+ releases, and it is in fact just a warning from SMF to make you notice that it is possible that the service you want might rely on a different service than you have configured, or somesuch. In fact, you should check the output of "svcs -a | grep nfs" for hints whether your nfs/server is "online" or in another state; if it is not online, you can drill down to see why. HTH, //Jim From carlsonj at workingcode.com Mon May 7 18:49:54 2012 From: carlsonj at workingcode.com (James Carlson) Date: Mon, 07 May 2012 14:49:54 -0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: <4FA814AE.8030008@workingcode.com> Message-ID: <4FA81952.9080502@workingcode.com> Tim Dunphy wrote: > root at openindiana:~# svcs -x nfs/server > svc:/network/nfs/server:default (NFS server) > State: disabled since May 7, 2012 01:57:11 PM EDT > Reason: Temporarily disabled by an administrator. What happens if you do this? svcadm enable nfs/server -- James Carlson 42.703N 71.076W From hakansom at ohsu.edu Mon May 7 18:51:38 2012 From: hakansom at ohsu.edu (Marion Hakanson) Date: Mon, 07 May 2012 11:51:38 -0700 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: Message from Bryan N Iotti of "Sun, 06 May 2012 01:53:05 PDT." <4FA63BF1.6060506@gmail.com> Message-ID: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> ironsides.medvet at gmail.com said: > I had to install 295.49 following the procedure from > http://defect.opensolaris.org/bz/show_bug.cgi?id=12196 > > I have a new boot environment with the updated drivers and it would appear > that the hard freezes have stopped. I wonder if the hard freezes were like what I have experienced in: https://www.illumos.org/issues/1625 If you're experiencing the same issue as the above, and if on your machine the nVidia card shares interrupts with your ethernet interface, you wouldn't be able to login from some other machine to do any diagnosis. > However, it is still littering my > console with these two messages in repetition: > > May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_devmap: devmap_devmem_setup() failed (22) > May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_segmap: ddi_devmap_segmap() failed (6) > > Can I do anything about that? On my systems, this started with nVidia driver version 295.40. If you revert to 295.33 the above messages go away. Regards, Marion From jimklimov at cos.ru Mon May 7 18:50:42 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Mon, 07 May 2012 22:50:42 +0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: <4FA814AE.8030008@workingcode.com> Message-ID: <4FA81982.9050406@cos.ru> 2012-05-07 22:39, Tim Dunphy wrote: > Hi, and thanks for your reply. > > No, it seems that the nfs server is definitely not working at this point: > ... > And after making sure that the associated services were running, I am > still unable to start NFS and seeing the same error message: Do you have any NFS shares defined via zfs sharenfs attribute and/or /etc/dfs/dfstab file (legacy)? What does the "share" command report (should return a list of defined shares, if any), similar to "exportfs" output. You can also try the "shareall" command to enable all shares you think you've defined. If you have no shares, the server indeed stops soon after the startup attempt (within a few seconds). //Jim From roy at karlsbakk.net Mon May 7 19:17:03 2012 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Mon, 7 May 2012 21:17:03 +0200 (CEST) Subject: [OpenIndiana-discuss] JFS on openindiana In-Reply-To: <640041336401180@web30f.yandex.ru> Message-ID: <25841695.22.1336418223689.JavaMail.root@zimbra> Then use a Linux VM to get it off? ----- Opprinnelig melding ----- > It sad. I have an external drive with all the data on the JFS. :( > > 07.05.2012, 18:26, "paolo marcheschi" : > > No > > at present as far as I Know is not possible, > > there is an old project : > > http://hub.opensolaris.org/bin/view/Project+jfs/ > > > > But is discontinued. > > However you can install an other OS (Virtualbox,kvm, zones) that can > > read JFS (i.e. Linux ) and use that to open the JFS filesystem. > > Ciao > > Paolo > > On 05/07/12 16:09, Stephan Kutuzov wrote: > > > >> ?Is it possible to read the file system JFS in openindiana? And if > >> ?possible, then how? > >> ?Thanks. > >> > >> ?_______________________________________________ > >> ?OpenIndiana-discuss mailing list > >> ?OpenIndiana-discuss at openindiana.org > >> ?http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss at openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 98013356 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. From bluethundr at gmail.com Mon May 7 19:27:10 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 7 May 2012 15:27:10 -0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: <4FA81788.6080204@cos.ru> References: <4FA81788.6080204@cos.ru> Message-ID: > To be pedantic, you don't share a zpool, but filesystem directories, > over NFS :) Point taken. :) > In fact, you should check the output of "svcs -a | grep nfs" for > hints whether your nfs/server is "online" or in another state; > if it is not online, you can drill down to see why. It definitely looks as it's offline at the moment. root at openindiana:/export/home/bluethundr# svcs -a | grep svc:/network/nfs/server:default disabled 14:33:21 svc:/network/nfs/server:default Forgive my ignorance but I'm a little new at solaris. The only drilling down I've done so far is this: svc:/network/nfs/server:default (NFS server) State: disabled since May 7, 2012 03:11:28 PM EDT Reason: Temporarily disabled by an administrator. See: http://illumos.org/msg/SMF-8000-1S See: nfsd(1M) See: /var/svc/log/network-nfs-server:default.log Impact: This service is not running. root at openindiana:~# svcs -l nfs/server fmri svc:/network/nfs/server:default name NFS server enabled false (temporary) state disabled next_state none state_time May 7, 2012 03:11:28 PM EDT logfile /var/svc/log/network-nfs-server:default.log restarter svc:/system/svc/restarter:default contract_id dependency require_any/error svc:/milestone/network (online) dependency require_all/error svc:/network/nfs/nlockmgr (online) dependency optional_all/error svc:/network/nfs/mapid (online) dependency require_all/restart svc:/network/rpc/bind (online) dependency optional_all/none svc:/network/rpc/keyserv (online) dependency optional_all/none svc:/network/rpc/gss (online) dependency optional_all/none svc:/network/shares/group (multiple) dependency optional_all/none svc:/system/filesystem/reparse (online) dependency require_all/error svc:/system/filesystem/local (online) Everything that NFS relies on seems to be 'online' and the only difference is in the entry for vc:/network/shares/group (multiple). Which seems to correspond to the message I'm getting when I try to start the service recursively: root at openindiana:~# svcadm enable -r nfs/server svcadm: svc:/milestone/network depends on svc:/network/physical, which has multiple instances. > What happens if you do this? > svcadm enable nfs/server If I do this it's basically the same thing as before: root at openindiana:~# svcadm enable nfs/server root at openindiana:~# svcs -a | grep nfs | grep server disabled 15:17:31 svc:/network/nfs/server:default >Do you have any NFS shares defined via zfs sharenfs attribute >and/or /etc/dfs/dfstab file (legacy)? What does the "share" >command report (should return a list of defined shares, if any), >similar to "exportfs" output. root at openindiana:~# share root at openindiana:~# root at openindiana:~# cat /etc/dfs/dfstab # Do not modify this file directly. # Use the sharemgr(1m) command for all share management # This file is reconstructed and only maintained for backward # compatibility. Configuration lines could be lost. # # share [-F fstype] [ -o options] [-d ""] [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 This is a brand-new setup and I haven't attempted to setup any shares prior to trying to setup NFS. Basically my goal is to share the top directory of my zpool which looks like this: root at openindiana:~# df -h /tank Filesystem size used avail capacity Mounted on tank 1.3T 44K 1.3T 1% /tank "tank" is in reality a super fast raidz2 disk array consisting of 4 very fast hard drives. Thank you all for your input. Best, Tim On Mon, May 7, 2012 at 2:42 PM, Jim Klimov wrote: > 2012-05-07 22:04, Tim Dunphy wrote: >> >> Hello openindiana, >> >> ?I appreciate the help you've provided so far. This OI box is turning >> out completely awesome! > > > Yup! ;) > > >> ?Currently I am trying to start an nfs server so that I can share my >> zpool across the network. > > > To be pedantic, you don't share a zpool, but filesystem directories, > over NFS :) In case of ZFS-NFS integration, you share filesystem > datasets at their roots (and their child filesystem datasets by > default - unless you override the sharenfs attribute in the children). > > >> >> ?However when I attempt to start the service I am getting an error: >> >> ?root at openindiana:~# svcadm enable -r nfs/server >> svcadm: svc:/milestone/network depends on svc:/network/physical, which >> has multiple instances. >> >> >> Now, I do have two physical links that I am currently using to create > > > > As James pointed out, this error message is not what you interpreted > it to be. Moreover, I often see it (in the same situation) on other > Solaris 10+ releases, and it is in fact just a warning from SMF to > make you notice that it is possible that the service you want might > rely on a different service than you have configured, or somesuch. > > In fact, you should check the output of "svcs -a | grep nfs" for > hints whether your nfs/server is "online" or in another state; > if it is not online, you can drill down to see why. > > HTH, > //Jim > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From bluethundr at gmail.com Mon May 7 21:11:43 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 7 May 2012 17:11:43 -0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: <4FA81788.6080204@cos.ru> Message-ID: well, shiver me timbers!!! all I had to do to get the service started was to add an entry in dfstab: root at openindiana:/export/home/bluethundr# tail /etc/dfs/dfstab# Do not modify this file directly. # Use the sharemgr(1m) command for all share management # This file is reconstructed and only maintained for backward # compatibility. Configuration lines could be lost. # # share [-F fstype] [ -o options] [-d ""] [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs -o sec=sys,rw=all -d "xen share" /tank/xen I had the idea of adding the entry and starting the service. So glad that did the trick! Thanks for your help guys! On Mon, May 7, 2012 at 3:27 PM, Tim Dunphy wrote: >> To be pedantic, you don't share a zpool, but filesystem directories, >> over NFS :) > > Point taken. :) > >> In fact, you should check the output of "svcs -a | grep nfs" for >> hints whether your nfs/server is "online" or in another state; >> if it is not online, you can drill down to see why. > > It definitely looks as it's offline at the moment. > > root at openindiana:/export/home/bluethundr# svcs -a | grep > svc:/network/nfs/server:default > disabled ? ? ? 14:33:21 svc:/network/nfs/server:default > > Forgive my ignorance but I'm a little new at solaris. The only > drilling down I've done so far is this: > > svc:/network/nfs/server:default (NFS server) > ?State: disabled since May ?7, 2012 03:11:28 PM EDT > Reason: Temporarily disabled by an administrator. > ? See: http://illumos.org/msg/SMF-8000-1S > ? See: nfsd(1M) > ? See: /var/svc/log/network-nfs-server:default.log > Impact: This service is not running. > > root at openindiana:~# svcs -l nfs/server > fmri ? ? ? ? svc:/network/nfs/server:default > name ? ? ? ? NFS server > enabled ? ? ?false (temporary) > state ? ? ? ?disabled > next_state ? none > state_time ? May ?7, 2012 03:11:28 PM EDT > logfile ? ? ?/var/svc/log/network-nfs-server:default.log > restarter ? ?svc:/system/svc/restarter:default > contract_id > dependency ? require_any/error svc:/milestone/network (online) > dependency ? require_all/error svc:/network/nfs/nlockmgr (online) > dependency ? optional_all/error svc:/network/nfs/mapid (online) > dependency ? require_all/restart svc:/network/rpc/bind (online) > dependency ? optional_all/none svc:/network/rpc/keyserv (online) > dependency ? optional_all/none svc:/network/rpc/gss (online) > dependency ? optional_all/none svc:/network/shares/group (multiple) > dependency ? optional_all/none svc:/system/filesystem/reparse (online) > dependency ? require_all/error svc:/system/filesystem/local (online) > > Everything that NFS relies on seems to be 'online' ?and the only > difference is in the entry for vc:/network/shares/group (multiple). > Which seems to correspond to the message I'm getting when I try to > start the service recursively: > > > root at openindiana:~# svcadm enable -r nfs/server > svcadm: svc:/milestone/network depends on svc:/network/physical, which > has multiple instances. > > >> What happens if you do this? >> ? ? ?svcadm enable nfs/server > > If I do this it's basically the same thing as before: > > root at openindiana:~# svcadm enable nfs/server > root at openindiana:~# svcs -a | grep nfs | grep server > disabled ? ? ? 15:17:31 svc:/network/nfs/server:default > >>Do you have any NFS shares defined via zfs sharenfs attribute >>and/or /etc/dfs/dfstab file (legacy)? What does the "share" >>command report (should return a list of defined shares, if any), >>similar to "exportfs" output. > > root at openindiana:~# share > root at openindiana:~# > > root at openindiana:~# cat /etc/dfs/dfstab > > # Do not modify this file directly. > # Use the sharemgr(1m) command for all share management > # This file is reconstructed and only maintained for backward > # compatibility. Configuration lines could be lost. > # > # ? ? ? share [-F fstype] [ -o options] [-d ""] [resource] > # ? ? ? .e.g, > # ? ? ? share ?-F nfs ?-o rw=engineering ?-d "home dirs" ?/export/home2 > > This is a brand-new setup and I haven't attempted to setup any shares > prior to trying to setup NFS. > > > Basically my goal is to share the top directory of my zpool which > looks like this: > > root at openindiana:~# df -h /tank > Filesystem ? ? ? ? ? ? size ? used ?avail capacity ?Mounted on > tank ? ? ? ? ? ? ? ? ? 1.3T ? ?44K ? 1.3T ? ? 1% ? ?/tank > > "tank" is in reality a super fast raidz2 disk array consisting of 4 > very fast hard drives. > > Thank you all for your input. > > Best, > Tim > > > > > > > > > > On Mon, May 7, 2012 at 2:42 PM, Jim Klimov wrote: >> 2012-05-07 22:04, Tim Dunphy wrote: >>> >>> Hello openindiana, >>> >>> ?I appreciate the help you've provided so far. This OI box is turning >>> out completely awesome! >> >> >> Yup! ;) >> >> >>> ?Currently I am trying to start an nfs server so that I can share my >>> zpool across the network. >> >> >> To be pedantic, you don't share a zpool, but filesystem directories, >> over NFS :) In case of ZFS-NFS integration, you share filesystem >> datasets at their roots (and their child filesystem datasets by >> default - unless you override the sharenfs attribute in the children). >> >> >>> >>> ?However when I attempt to start the service I am getting an error: >>> >>> ?root at openindiana:~# svcadm enable -r nfs/server >>> svcadm: svc:/milestone/network depends on svc:/network/physical, which >>> has multiple instances. >>> >>> >>> Now, I do have two physical links that I am currently using to create >> >> >> >> As James pointed out, this error message is not what you interpreted >> it to be. Moreover, I often see it (in the same situation) on other >> Solaris 10+ releases, and it is in fact just a warning from SMF to >> make you notice that it is possible that the service you want might >> rely on a different service than you have configured, or somesuch. >> >> In fact, you should check the output of "svcs -a | grep nfs" for >> hints whether your nfs/server is "online" or in another state; >> if it is not online, you can drill down to see why. >> >> HTH, >> //Jim >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From ironsides.medvet at gmail.com Mon May 7 21:55:27 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Mon, 7 May 2012 23:55:27 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> References: <4FA63BF1.6060506@gmail.com> <201205071851.q47IpcT2009293@kyklops.ohsu.edu> Message-ID: Actually in my case it is a complete system freeze. No input, frozen video, no ssh, router lights signal no activity. Today I put in a new Asus GTX 550 Ti and the notices have gone away. No crashes either so far, except for one when I tried to run glxgears... will investigate tomorrow. Thank you for all the help! Bryan On May 7, 2012 8:52 PM, "Marion Hakanson" wrote: > ironsides.medvet at gmail.com said: > > I had to install 295.49 following the procedure from > > http://defect.opensolaris.org/bz/show_bug.cgi?id=12196 > > > > I have a new boot environment with the updated drivers and it would > appear > > that the hard freezes have stopped. > > I wonder if the hard freezes were like what I have experienced in: > https://www.illumos.org/issues/1625 > > If you're experiencing the same issue as the above, and if on your machine > the nVidia card shares interrupts with your ethernet interface, you > wouldn't > be able to login from some other machine to do any diagnosis. > > > > However, it is still littering my > > console with these two messages in repetition: > > > > May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > nv_devmap: devmap_devmem_setup() failed (22) > > May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > nv_segmap: ddi_devmap_segmap() failed (6) > > > > Can I do anything about that? > > On my systems, this started with nVidia driver version 295.40. If you > revert to 295.33 the above messages go away. > > Regards, > > Marion > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From jimklimov at cos.ru Mon May 7 22:59:17 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 08 May 2012 02:59:17 +0400 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: <4FA81788.6080204@cos.ru> Message-ID: <4FA853C5.3010200@cos.ru> 2012-05-08 1:11, Tim Dunphy wrote: > well, shiver me timbers!!! > > all I had to do to get the service started was to add an entry in dfstab: Well, the ZFS-NFS integrated way would be to comment that line out and instead execute: zfs set sharenfs="sec=sys,rw=all" tank/xen assuming that "tank/xen" is a separate dataset in the "tank" pool. I'm a bit at loss where to put the share comment though ;) Also the configuration seems a bit insecure with rw=all, you might want to limit it to subnet like this (AND set up a firewall later): "sec=sys,rw=@192.168.127.0/24,root=@192.168.127.0/24,anon=0" In particular, the dfstab file based approach might fail when you start the file services while the "tank" pool is not yet imported, so you'd have to "shareall" after the import, while the integrated approach takes care of that and refreshes all fileservices after pool import (can be avoided with "zpool import -N" if needed). //Jim From mike.laspina at laspina.ca Tue May 8 01:15:04 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Mon, 7 May 2012 20:15:04 -0500 Subject: [OpenIndiana-discuss] unable to start nfs In-Reply-To: References: <4FA81788.6080204@cos.ru> Message-ID: <8F607366E3C0F9499212649291E0BD64047956@MS1.laspina.ca> Tim, If you use that method your NFS share properties will only live in the hosts dfstab file. By setting zfs properties you achieve the same thing except the share follows the zfs filesystem. (nas/vol0 in this example) e.g. zfs set sharenfs=rw,nosuid,root=vmware-host-ip-etc sp1/nas/vol0 zfs set mountpoint=/export/ss1-nas-vol0 sp1/nas/vol0 If you do a zfs send to an external zfspool the property lives on it without a tab change. Warning: rw=all = danger! Do you really want every node to have rw access? -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Monday, May 07, 2012 4:12 PM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] unable to start nfs well, shiver me timbers!!! all I had to do to get the service started was to add an entry in dfstab: root at openindiana:/export/home/bluethundr# tail /etc/dfs/dfstab# Do not modify this file directly. # Use the sharemgr(1m) command for all share management # This file is reconstructed and only maintained for backward # compatibility. Configuration lines could be lost. # # share [-F fstype] [ -o options] [-d ""] [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs -o sec=sys,rw=all -d "xen share" /tank/xen I had the idea of adding the entry and starting the service. So glad that did the trick! Thanks for your help guys! On Mon, May 7, 2012 at 3:27 PM, Tim Dunphy wrote: >> To be pedantic, you don't share a zpool, but filesystem directories, >> over NFS :) > > Point taken. :) > >> In fact, you should check the output of "svcs -a | grep nfs" for >> hints whether your nfs/server is "online" or in another state; if it >> is not online, you can drill down to see why. > > It definitely looks as it's offline at the moment. > > root at openindiana:/export/home/bluethundr# svcs -a | grep > svc:/network/nfs/server:default disabled ? ? ? 14:33:21 > svc:/network/nfs/server:default > > Forgive my ignorance but I'm a little new at solaris. The only > drilling down I've done so far is this: > > svc:/network/nfs/server:default (NFS server) > ?State: disabled since May ?7, 2012 03:11:28 PM EDT > Reason: Temporarily disabled by an administrator. > ? See: http://illumos.org/msg/SMF-8000-1S > ? See: nfsd(1M) > ? See: /var/svc/log/network-nfs-server:default.log > Impact: This service is not running. > > root at openindiana:~# svcs -l nfs/server fmri ? ? ? ? > svc:/network/nfs/server:default name ? ? ? ? NFS server enabled ? ? ? > false (temporary) state ? ? ? ?disabled next_state ? none state_time ? > May ?7, 2012 03:11:28 PM EDT logfile ? ? ? > /var/svc/log/network-nfs-server:default.log > restarter ? ?svc:/system/svc/restarter:default contract_id dependency ? > require_any/error svc:/milestone/network (online) dependency ? > require_all/error svc:/network/nfs/nlockmgr (online) dependency ? > optional_all/error svc:/network/nfs/mapid (online) dependency ? > require_all/restart svc:/network/rpc/bind (online) dependency ? > optional_all/none svc:/network/rpc/keyserv (online) dependency ? > optional_all/none svc:/network/rpc/gss (online) dependency ? > optional_all/none svc:/network/shares/group (multiple) dependency ? > optional_all/none svc:/system/filesystem/reparse (online) dependency ? > require_all/error svc:/system/filesystem/local (online) > > Everything that NFS relies on seems to be 'online' ?and the only > difference is in the entry for vc:/network/shares/group (multiple). > Which seems to correspond to the message I'm getting when I try to > start the service recursively: > > > root at openindiana:~# svcadm enable -r nfs/server > svcadm: svc:/milestone/network depends on svc:/network/physical, which > has multiple instances. > > >> What happens if you do this? >> ? ? ?svcadm enable nfs/server > > If I do this it's basically the same thing as before: > > root at openindiana:~# svcadm enable nfs/server root at openindiana:~# svcs > -a | grep nfs | grep server disabled ? ? ? 15:17:31 > svc:/network/nfs/server:default > >>Do you have any NFS shares defined via zfs sharenfs attribute and/or >>/etc/dfs/dfstab file (legacy)? What does the "share" >>command report (should return a list of defined shares, if any), >>similar to "exportfs" output. > > root at openindiana:~# share > root at openindiana:~# > > root at openindiana:~# cat /etc/dfs/dfstab > > # Do not modify this file directly. > # Use the sharemgr(1m) command for all share management # This file is > reconstructed and only maintained for backward # compatibility. > Configuration lines could be lost. > # > # ? ? ? share [-F fstype] [ -o options] [-d ""] > [resource] # ? ? ? .e.g, # ? ? ? share ?-F nfs ?-o rw=engineering ?-d > "home dirs" ?/export/home2 > > This is a brand-new setup and I haven't attempted to setup any shares > prior to trying to setup NFS. > > > Basically my goal is to share the top directory of my zpool which > looks like this: > > root at openindiana:~# df -h /tank > Filesystem ? ? ? ? ? ? size ? used ?avail capacity ?Mounted on tank ? ? ? ? ? ? ? ? ? > 1.3T ? ?44K ? 1.3T ? ? 1% ? ?/tank > > "tank" is in reality a super fast raidz2 disk array consisting of 4 > very fast hard drives. > > Thank you all for your input. > > Best, > Tim > > > > > > > > > > On Mon, May 7, 2012 at 2:42 PM, Jim Klimov wrote: >> 2012-05-07 22:04, Tim Dunphy wrote: >>> >>> Hello openindiana, >>> >>> ?I appreciate the help you've provided so far. This OI box is >>> turning out completely awesome! >> >> >> Yup! ;) >> >> >>> ?Currently I am trying to start an nfs server so that I can share my >>> zpool across the network. >> >> >> To be pedantic, you don't share a zpool, but filesystem directories, >> over NFS :) In case of ZFS-NFS integration, you share filesystem >> datasets at their roots (and their child filesystem datasets by >> default - unless you override the sharenfs attribute in the children). >> >> >>> >>> ?However when I attempt to start the service I am getting an error: >>> >>> ?root at openindiana:~# svcadm enable -r nfs/server >>> svcadm: svc:/milestone/network depends on svc:/network/physical, >>> which has multiple instances. >>> >>> >>> Now, I do have two physical links that I am currently using to >>> create >> >> >> >> As James pointed out, this error message is not what you interpreted >> it to be. Moreover, I often see it (in the same situation) on other >> Solaris 10+ releases, and it is in fact just a warning from SMF to >> make you notice that it is possible that the service you want might >> rely on a different service than you have configured, or somesuch. >> >> In fact, you should check the output of "svcs -a | grep nfs" for >> hints whether your nfs/server is "online" or in another state; if it >> is not online, you can drill down to see why. >> >> HTH, >> //Jim >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From ironsides.medvet at gmail.com Tue May 8 07:27:03 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Tue, 08 May 2012 09:27:03 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> References: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> Message-ID: <4FA8CAC7.8090200@gmail.com> OK, it was just an illusion: despite the new video card, the hard freezes are there with Firefox still, but all the console messages about NVRM are gone. I have Firefox 12, the tarball version downloaded from the contrib section of the mozilla ftp site. It appears to crash randomly, I still haven't found a pattern. I used to think it was when it would load flash or java as a plugin, maybe a permissions issue, but even with text only pages it will grind to a halt. I installed the NVidia drivers version 295.49 from the NVidia website by following the procedure from http://defect.opensolaris.org/bz/show_bug.cgi?id=12196 That means I have a new BE where the OI drivers have been uninstalled and replaced with the NVidia ones (whish they'd at least make a serious attempt at packaging them, without us having to fiddle to get stuff working, but oh well...) Now, I have looked at my interrupt table by "pfexec mdb -k" and then "::interrupts": IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# ISR(s) ---------------------------------------------------------------- 1 0x41 5 ISA Edg Fixed 0 1 0x0/0x1 i8042_intr 9 0x80 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr 12 0x42 5 ISA Edg Fixed 1 1 0x0/0xc i8042_intr 15 0x43 5 ISA Edg Fixed 2 1 0x0/0xf ata_intr 16 0x82 9 PCI Lvl Fixed 3 4 0x0/0x10 hci1394_isr, uhci_intr, uhci_intr, nv_intr 17 0x60 6 PCI Lvl Fixed 3 1 0x0/0x11 e1000g_intr 18 0x85 9 PCI Lvl Fixed 2 3 0x0/0x12 uhci_intr, ata_intr, ata_intr 19 0x84 9 PCI Lvl Fixed 1 1 0x0/0x13 uhci_intr 23 0x83 9 PCI Lvl Fixed 0 1 0x0/0x17 ehci_intr 72 0x81 7 PCI Edg MSI 2 1 - pcieb_intr_handler 73 0x40 5 PCI Edg MSI 3 1 - mpt_intr 74 0x30 4 PCI Edg MSI 2 1 - pcieb_intr_handler 75 0x44 5 PCI Edg MSI 3 1 - mpt_intr 160 0xa0 0 Edg IPI all 0 - poke_cpu 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr 209 0xd1 14 Edg IPI all 1 - cbe_fire 210 0xd3 14 Edg IPI all 1 - cbe_fire 240 0xe0 15 Edg IPI all 1 - xc_serv 241 0xe1 15 Edg IPI all 1 - apic_error_intr So it would appear that my video card does not share interrupts with the e1000g. If you want me to try, I have a 3com Gigabit PCI card I can pop in and see if that makes a difference, disabling the internal one. I can't remap IRQs on this machine, but I can disable devices. I find it very frustrating that a single process, as relatively trivial as a web browser (our only one, more or less, to make matters worse) can bring down the whole system. At least ZFS seems to not care. I might try to compile it from source using the Solaris Studio compiler, maybe that can settle whatever issue it's running into, or at least make some noise about why it's unhappy. Any other ideas? I'm not a good debugger, but send some commands and I'll run them and post results. Thank you for all the answers so far. Bryan On 05/ 7/12 08:51 PM, Marion Hakanson wrote: > ironsides.medvet at gmail.com said: >> I had to install 295.49 following the procedure from >> http://defect.opensolaris.org/bz/show_bug.cgi?id=12196 >> >> I have a new boot environment with the updated drivers and it would appear >> that the hard freezes have stopped. > I wonder if the hard freezes were like what I have experienced in: > https://www.illumos.org/issues/1625 > > If you're experiencing the same issue as the above, and if on your machine > the nVidia card shares interrupts with your ethernet interface, you wouldn't > be able to login from some other machine to do any diagnosis. > > >> However, it is still littering my >> console with these two messages in repetition: >> >> May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_devmap: devmap_devmem_setup() failed (22) >> May 6 10:50:01 Wraith nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_segmap: ddi_devmap_segmap() failed (6) >> >> Can I do anything about that? > On my systems, this started with nVidia driver version 295.40. If you > revert to 295.33 the above messages go away. > > Regards, > > Marion > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From richard.palo at baou.fr Tue May 8 07:45:11 2012 From: richard.palo at baou.fr (Richard PALO) Date: Tue, 08 May 2012 09:45:11 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: <4FA8CAC7.8090200@gmail.com> References: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> <4FA8CAC7.8090200@gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I too just tried upgrading to oi_151.1.4 Also have a lot of messages, in particular when using Firefox: May 8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_devmap: devmap_devmem_setup() failed (22) May 8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: nv_segmap: ddi_devmap_segmap() failed (6) running nvidia-SunOS-bug-report.sh I noticed something strange: ~$ pkginfo -l NVDAgraphics PKGINST: NVDAgraphics NAME: NVIDIA Graphics System Software CATEGORY: system ARCH: i386 VERSION: 11.11.0,REV=2010.05.25.01.00 BASEDIR: / VENDOR: NVIDIA Corporation DESC: X and OpenGL Drivers for NVIDIA Quadro graphics INSTDATE: Sep 12 2011 12:04 HOTLINE: Please contact your local service provider STATUS: completely installed ~$ pkg list nvidia NAME (PUBLISHER) VERSION IFO driver/graphics/nvidia 0.295.49-0.151.1.4 i-- pkg reports Nvidia 295.49, but why does NVDAgraphics show something so old? ps I don't have nvidia shared on any interrupt, only my network device: # echo ::interrupts -d | mdb -k IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# Driver Name(s) 9 0x80 9 PCI Lvl Fixed 0 1 0x0/0x9 acpi_wrapper_isr 14 0x40 5 ISA Edg Fixed 0 1 0x0/0xe ata#0 15 0x41 5 ISA Edg Fixed 0 1 0x0/0xf ata#1 18 0x42 5 PCI Lvl Fixed 0 1 0x0/0x12 si3124#0 19 0x81 9 PCI Lvl Fixed 0 1 0x0/0x13 nvidia#0 20 0x82 9 PCI Lvl Fixed 0 2 0x0/0x14 ehci#0, nfo#0 21 0x83 9 PCI Lvl Fixed 0 1 0x0/0x15 ohci#0 22 0x84 9 PCI Lvl Fixed 0 1 0x0/0x16 ohci#1 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr 209 0xd1 14 Edg IPI all 1 - cbe_fire 240 0xe0 15 Edg IPI all 1 - apic_error_intr -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (SunOS) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPqM8GAAoJECAB22fHtp27SbMH/2vPw4wif/OlcjHEBTaitSOf ehoEHumV4EiYSvYy4ayVIRXdyC2JfAfO6Y0kU7QdaJTVS+ore8bvPChHrGUzCKyL Y9/vD7r+e+MS0qN73yn1xLc657zA2bLiVMY9CuI+1lwHdP6e4/IX9SoAxGTYmUgI vA1e+V/qeNEXQD8HqglAzXFJsbSLaIMYAiWmBVVzT50AM1w1HhSp1sfQWGuWNVOS Kpc3M2QteMI34jpDrVozl+CbhFuog20xTCOvGlZfj+Uwz3SztI9ELeTfK25ZjQJP mhOb4SYbr+h6IdydBJ6HfW3UTW63lfr7ZvdwOrfrO8lSspAOweDAQ2O0x9AUSI0= =yxre -----END PGP SIGNATURE----- From milan.jurik at xylab.cz Tue May 8 07:54:34 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Tue, 08 May 2012 09:54:34 +0200 Subject: [OpenIndiana-discuss] Making OI work on Lenovo thinkpad T520 (few issues) In-Reply-To: <4FA81730.5080707@gmail.com> References: <4FA338E7.6060508@gmail.com> <4FA4944C.90503@gmail.com> <1336413077.1427.4.camel@xylabone> <4FA81730.5080707@gmail.com> Message-ID: <1336463675.4370.13.camel@xylabone> Hi Sunay, Sunay Tripathi p??e v po 07. 05. 2012 v 11:40 -0700: > Hi Milan, > > On 05/ 7/12 10:51 AM, Milan Jurik wrote: > > Hi Sunay, > > > > Sunay Tripathi p??e v p? 04. 05. 2012 v 19:45 -0700: > >> Hi Milan, > >> > > > > [...] > > > >>>> The e1000g0 works fine but my Centrino N-6300 keeps failing > >>>> as well related to https://www.illumos.org/issues/2207. Does > >>>> anyone has a workaround on that? > >>>> > >>> > >>> port needed support from BSD driver needed :-( > >> > >> Funny. Then why do we have the chip listed as supported on > >> http://wiki.openindiana.org/oi/WiFi. I actually ordered the > >> laptop based on that. Have CC'd Albert to see if he has any > >> ideas. > >> > > > > I do not know but I think iwp needs more work to support 6205+ devices, > > we lack support in firmware I think. > > I think we should update the page to reflect that. It might be > worthwhile keeping a page on laptops that are known to work. I know > thats not the target for this community but at the same time if > developers can run on their laptop/desktop, we get better > stability :) > I agree (and I run OI on my laptop as the only OS but my laptop is old good Lenovo T60 still). > Can anyone point me *bsd sources where we need to pull the relevant > iwp firmware code from? It will not be so easy in case of iwp because iwp seems to be developed by Intel and not comming from FreeBSD. On FreeBSD they have own driver for all Intel WiFi from 4965 to the latest. And Intel has own agreements with Oracle so it is unlikely they will give us newer code :-( I do not know how fresh is FreeBSD-head on src.illumos.org (it looks like it was not updated from November) but you can look there. It will be great if somebody will implement support for the latest Intel WiFi cards (family 1000 and new chips in 6000). > Not have much time but I kind of liked > this t520p with the native 1920x1080 resolution so would love to > get it to work. > > Cheers, > Sunay > Best regards, Milan From ironsides.medvet at gmail.com Tue May 8 08:22:41 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Tue, 08 May 2012 10:22:41 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: References: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> <4FA8CAC7.8090200@gmail.com> Message-ID: <4FA8D7D1.7040005@gmail.com> Interesting... Those are my same messages. If I run your commands, it says > pfexec pkginfo -l NVDAgraphics > ERROR: information for "NVDAgraphics" was not found > pfexec pkg list nvidia > pkg list: no packages matching 'nvidia' installed I have a file for the nvidia bug report, but it's 14000 lines long, so if someone wants it I'll attach it upon request. First test before trying to compile it myself is to install the pkgadd version (opensolaris-i386) instead of using the tarball (something as trivial as permissions?). Meanwhile, I found out that OI won't let me uninstall the system one, claiming it is needed by python-gnome-extras-26, which is needed by PackageManager... Clues on this one? Bryan On 05/ 8/12 09:45 AM, Richard PALO wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I too just tried upgrading to oi_151.1.4 > Also have a lot of messages, in particular when using Firefox: > May 8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > nv_devmap: devmap_devmem_setup() failed (22) > May 8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > nv_segmap: ddi_devmap_segmap() failed (6) > > running nvidia-SunOS-bug-report.sh I noticed something strange: > > ~$ pkginfo -l NVDAgraphics > PKGINST: NVDAgraphics > NAME: NVIDIA Graphics System Software > CATEGORY: system > ARCH: i386 > VERSION: 11.11.0,REV=2010.05.25.01.00 > BASEDIR: / > VENDOR: NVIDIA Corporation > DESC: X and OpenGL Drivers for NVIDIA Quadro graphics > INSTDATE: Sep 12 2011 12:04 > HOTLINE: Please contact your local service provider > STATUS: completely installed > > ~$ pkg list nvidia > NAME (PUBLISHER) VERSION > IFO > driver/graphics/nvidia 0.295.49-0.151.1.4 > i-- > > pkg reports Nvidia 295.49, but why does NVDAgraphics show something so > old? > > ps I don't have nvidia shared on any interrupt, only my network device: > > # echo ::interrupts -d | mdb -k > IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# Driver Name(s) > 9 0x80 9 PCI Lvl Fixed 0 1 0x0/0x9 acpi_wrapper_isr > 14 0x40 5 ISA Edg Fixed 0 1 0x0/0xe ata#0 > 15 0x41 5 ISA Edg Fixed 0 1 0x0/0xf ata#1 > 18 0x42 5 PCI Lvl Fixed 0 1 0x0/0x12 si3124#0 > 19 0x81 9 PCI Lvl Fixed 0 1 0x0/0x13 nvidia#0 > 20 0x82 9 PCI Lvl Fixed 0 2 0x0/0x14 ehci#0, nfo#0 > 21 0x83 9 PCI Lvl Fixed 0 1 0x0/0x15 ohci#0 > 22 0x84 9 PCI Lvl Fixed 0 1 0x0/0x16 ohci#1 > 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr > 209 0xd1 14 Edg IPI all 1 - cbe_fire > 240 0xe0 15 Edg IPI all 1 - apic_error_intr > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.13 (SunOS) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPqM8GAAoJECAB22fHtp27SbMH/2vPw4wif/OlcjHEBTaitSOf > ehoEHumV4EiYSvYy4ayVIRXdyC2JfAfO6Y0kU7QdaJTVS+ore8bvPChHrGUzCKyL > Y9/vD7r+e+MS0qN73yn1xLc657zA2bLiVMY9CuI+1lwHdP6e4/IX9SoAxGTYmUgI > vA1e+V/qeNEXQD8HqglAzXFJsbSLaIMYAiWmBVVzT50AM1w1HhSp1sfQWGuWNVOS > Kpc3M2QteMI34jpDrVozl+CbhFuog20xTCOvGlZfj+Uwz3SztI9ELeTfK25ZjQJP > mhOb4SYbr+h6IdydBJ6HfW3UTW63lfr7ZvdwOrfrO8lSspAOweDAQ2O0x9AUSI0= > =yxre > -----END PGP SIGNATURE----- > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From t12nslookup at gmail.com Tue May 8 08:35:26 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Tue, 8 May 2012 09:35:26 +0100 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: <4FA8D7D1.7040005@gmail.com> References: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> <4FA8CAC7.8090200@gmail.com> <4FA8D7D1.7040005@gmail.com> Message-ID: the Package from Mozilla installs in /usr/sfw/lib and is called SFWfirefox ... it can be installed at the same time as the shipped SUNWfirefox ... however you'll probably want to change the link in /usr/bin to point to the new firefox: # cd /usr/bin # mv firefox firefox.3.0 # ln -s /opt/sfw/bin/firefox # ls -l *firefox* lrwxrwxrwx 1 root root 20 Jun 18 2010 /usr/bin/firefox -> /opt/sfw/bin/firefox lrwxrwxrwx 1 root root 22 May 26 2010 /usr/bin/firefox.3.0 -> ../lib/firefox/firefox Jon On 8 May 2012 09:22, Bryan N Iotti wrote: > Interesting... Those are my same messages. > > If I run your commands, it says > >> pfexec pkginfo -l NVDAgraphics >> ERROR: information for "NVDAgraphics" was not found >> pfexec pkg list nvidia >> pkg list: no packages matching 'nvidia' installed > > > I have a file for the nvidia bug report, but it's 14000 lines long, so if > someone wants it I'll attach it upon request. > > First test before trying to compile it myself is to install the pkgadd > version (opensolaris-i386) instead of using the tarball (something as > trivial as permissions?). Meanwhile, I found out that OI won't let me > uninstall the system one, claiming it is needed by python-gnome-extras-26, > which is needed by PackageManager... Clues on this one? > > Bryan > > > > On 05/ 8/12 09:45 AM, Richard PALO wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I too just tried upgrading to oi_151.1.4 >> Also have a lot of messages, in particular when using Firefox: >> May ?8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: >> nv_devmap: devmap_devmem_setup() failed (22) >> May ?8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: >> nv_segmap: ddi_devmap_segmap() failed (6) >> >> running nvidia-SunOS-bug-report.sh I noticed something strange: >> >> ~$ pkginfo -l NVDAgraphics >> ? ?PKGINST: ?NVDAgraphics >> ? ? ? NAME: ?NVIDIA Graphics System Software >> ? CATEGORY: ?system >> ? ? ? ARCH: ?i386 >> ? ?VERSION: ?11.11.0,REV=2010.05.25.01.00 >> ? ?BASEDIR: ?/ >> ? ? VENDOR: ?NVIDIA Corporation >> ? ? ? DESC: ?X and OpenGL Drivers for NVIDIA Quadro graphics >> ? INSTDATE: ?Sep 12 2011 12:04 >> ? ?HOTLINE: ?Please contact your local service provider >> ? ? STATUS: ?completely installed >> >> ~$ pkg list nvidia >> NAME (PUBLISHER) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?VERSION >> ? ? ? ?IFO >> driver/graphics/nvidia ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.295.49-0.151.1.4 >> ? ? ? ?i-- >> >> pkg reports Nvidia 295.49, but why does NVDAgraphics show something so >> old? >> >> ps I don't have nvidia shared on any interrupt, only my network device: >> >> # echo ::interrupts -d | mdb -k >> IRQ ?Vect IPL Bus ? ?Trg Type ? CPU Share APIC/INT# Driver Name(s) >> 9 ? ?0x80 9 ? PCI ? ?Lvl Fixed ?0 ? 1 ? ? 0x0/0x9 ? acpi_wrapper_isr >> 14 ? 0x40 5 ? ISA ? ?Edg Fixed ?0 ? 1 ? ? 0x0/0xe ? ata#0 >> 15 ? 0x41 5 ? ISA ? ?Edg Fixed ?0 ? 1 ? ? 0x0/0xf ? ata#1 >> 18 ? 0x42 5 ? PCI ? ?Lvl Fixed ?0 ? 1 ? ? 0x0/0x12 ?si3124#0 >> 19 ? 0x81 9 ? PCI ? ?Lvl Fixed ?0 ? 1 ? ? 0x0/0x13 ?nvidia#0 >> 20 ? 0x82 9 ? PCI ? ?Lvl Fixed ?0 ? 2 ? ? 0x0/0x14 ?ehci#0, nfo#0 >> 21 ? 0x83 9 ? PCI ? ?Lvl Fixed ?0 ? 1 ? ? 0x0/0x15 ?ohci#0 >> 22 ? 0x84 9 ? PCI ? ?Lvl Fixed ?0 ? 1 ? ? 0x0/0x16 ?ohci#1 >> 208 ?0xd0 14 ? ? ? ? Edg IPI ? ?all 1 ? ? - ? ? ? ? kcpc_hw_overflow_intr >> 209 ?0xd1 14 ? ? ? ? Edg IPI ? ?all 1 ? ? - ? ? ? ? cbe_fire >> 240 ?0xe0 15 ? ? ? ? Edg IPI ? ?all 1 ? ? - ? ? ? ? apic_error_intr >> >> >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v2.0.13 (SunOS) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iQEcBAEBAgAGBQJPqM8GAAoJECAB22fHtp27SbMH/2vPw4wif/OlcjHEBTaitSOf >> ehoEHumV4EiYSvYy4ayVIRXdyC2JfAfO6Y0kU7QdaJTVS+ore8bvPChHrGUzCKyL >> Y9/vD7r+e+MS0qN73yn1xLc657zA2bLiVMY9CuI+1lwHdP6e4/IX9SoAxGTYmUgI >> vA1e+V/qeNEXQD8HqglAzXFJsbSLaIMYAiWmBVVzT50AM1w1HhSp1sfQWGuWNVOS >> Kpc3M2QteMI34jpDrVozl+CbhFuog20xTCOvGlZfj+Uwz3SztI9ELeTfK25ZjQJP >> mhOb4SYbr+h6IdydBJ6HfW3UTW63lfr7ZvdwOrfrO8lSspAOweDAQ2O0x9AUSI0= >> =yxre >> -----END PGP SIGNATURE----- >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From ironsides.medvet at gmail.com Tue May 8 10:47:55 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Tue, 8 May 2012 12:47:55 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: References: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> <4FA8CAC7.8090200@gmail.com> <4FA8D7D1.7040005@gmail.com> Message-ID: In the end that's what I ended up doing. I just found it funny that Package Manager depended on Firefox. :) Bryan On May 8, 2012 10:36 AM, "Jonathan Adams" wrote: > the Package from Mozilla installs in /usr/sfw/lib and is called > SFWfirefox ... it can be installed at the same time as the shipped > SUNWfirefox ... however you'll probably want to change the link in > /usr/bin to point to the new firefox: > # cd /usr/bin > # mv firefox firefox.3.0 > # ln -s /opt/sfw/bin/firefox > # ls -l *firefox* > lrwxrwxrwx 1 root root 20 Jun 18 2010 /usr/bin/firefox > -> /opt/sfw/bin/firefox > lrwxrwxrwx 1 root root 22 May 26 2010 > /usr/bin/firefox.3.0 -> ../lib/firefox/firefox > > Jon > > On 8 May 2012 09:22, Bryan N Iotti wrote: > > Interesting... Those are my same messages. > > > > If I run your commands, it says > > > >> pfexec pkginfo -l NVDAgraphics > >> ERROR: information for "NVDAgraphics" was not found > >> pfexec pkg list nvidia > >> pkg list: no packages matching 'nvidia' installed > > > > > > I have a file for the nvidia bug report, but it's 14000 lines long, so if > > someone wants it I'll attach it upon request. > > > > First test before trying to compile it myself is to install the pkgadd > > version (opensolaris-i386) instead of using the tarball (something as > > trivial as permissions?). Meanwhile, I found out that OI won't let me > > uninstall the system one, claiming it is needed by > python-gnome-extras-26, > > which is needed by PackageManager... Clues on this one? > > > > Bryan > > > > > > > > On 05/ 8/12 09:45 AM, Richard PALO wrote: > >> > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> I too just tried upgrading to oi_151.1.4 > >> Also have a lot of messages, in particular when using Firefox: > >> May 8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > >> nv_devmap: devmap_devmem_setup() failed (22) > >> May 8 09:36:54 shuttleX nvidia: [ID 702911 kern.notice] NOTICE: NVRM: > >> nv_segmap: ddi_devmap_segmap() failed (6) > >> > >> running nvidia-SunOS-bug-report.sh I noticed something strange: > >> > >> ~$ pkginfo -l NVDAgraphics > >> PKGINST: NVDAgraphics > >> NAME: NVIDIA Graphics System Software > >> CATEGORY: system > >> ARCH: i386 > >> VERSION: 11.11.0,REV=2010.05.25.01.00 > >> BASEDIR: / > >> VENDOR: NVIDIA Corporation > >> DESC: X and OpenGL Drivers for NVIDIA Quadro graphics > >> INSTDATE: Sep 12 2011 12:04 > >> HOTLINE: Please contact your local service provider > >> STATUS: completely installed > >> > >> ~$ pkg list nvidia > >> NAME (PUBLISHER) VERSION > >> IFO > >> driver/graphics/nvidia 0.295.49-0.151.1.4 > >> i-- > >> > >> pkg reports Nvidia 295.49, but why does NVDAgraphics show something so > >> old? > >> > >> ps I don't have nvidia shared on any interrupt, only my network device: > >> > >> # echo ::interrupts -d | mdb -k > >> IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# Driver Name(s) > >> 9 0x80 9 PCI Lvl Fixed 0 1 0x0/0x9 acpi_wrapper_isr > >> 14 0x40 5 ISA Edg Fixed 0 1 0x0/0xe ata#0 > >> 15 0x41 5 ISA Edg Fixed 0 1 0x0/0xf ata#1 > >> 18 0x42 5 PCI Lvl Fixed 0 1 0x0/0x12 si3124#0 > >> 19 0x81 9 PCI Lvl Fixed 0 1 0x0/0x13 nvidia#0 > >> 20 0x82 9 PCI Lvl Fixed 0 2 0x0/0x14 ehci#0, nfo#0 > >> 21 0x83 9 PCI Lvl Fixed 0 1 0x0/0x15 ohci#0 > >> 22 0x84 9 PCI Lvl Fixed 0 1 0x0/0x16 ohci#1 > >> 208 0xd0 14 Edg IPI all 1 - > kcpc_hw_overflow_intr > >> 209 0xd1 14 Edg IPI all 1 - cbe_fire > >> 240 0xe0 15 Edg IPI all 1 - apic_error_intr > >> > >> > >> > >> -----BEGIN PGP SIGNATURE----- > >> Version: GnuPG v2.0.13 (SunOS) > >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > >> > >> iQEcBAEBAgAGBQJPqM8GAAoJECAB22fHtp27SbMH/2vPw4wif/OlcjHEBTaitSOf > >> ehoEHumV4EiYSvYy4ayVIRXdyC2JfAfO6Y0kU7QdaJTVS+ore8bvPChHrGUzCKyL > >> Y9/vD7r+e+MS0qN73yn1xLc657zA2bLiVMY9CuI+1lwHdP6e4/IX9SoAxGTYmUgI > >> vA1e+V/qeNEXQD8HqglAzXFJsbSLaIMYAiWmBVVzT50AM1w1HhSp1sfQWGuWNVOS > >> Kpc3M2QteMI34jpDrVozl+CbhFuog20xTCOvGlZfj+Uwz3SztI9ELeTfK25ZjQJP > >> mhOb4SYbr+h6IdydBJ6HfW3UTW63lfr7ZvdwOrfrO8lSspAOweDAQ2O0x9AUSI0= > >> =yxre > >> -----END PGP SIGNATURE----- > >> > >> > >> _______________________________________________ > >> OpenIndiana-discuss mailing list > >> OpenIndiana-discuss at openindiana.org > >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > > > > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss at openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From hans.j.albertsson at branneriet.se Tue May 8 13:22:55 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Tue, 08 May 2012 15:22:55 +0200 Subject: [OpenIndiana-discuss] Package perl-584 needs updating, but can't be updated (as seen from the package manager or pkg -u). In-Reply-To: References: Message-ID: <4FA91E2F.6010302@branneriet.se> In the aftermath of my file system adventures when updating to 151a4, I now have one mysterious "problem" left. Well, it's not really a problem, just confusing and a little bit mysterious to me, since I don't really know the IPS stuff that well. Thing is I got to the point, doing lots of "pfexec pkg -R /otherBE fix packagename", where my system reported no serious problems in pkg fix, and the package manager had a clean and consistent, and probably complete view to present. Then suddenly a bunch of python-related packages were updatable, and I let updatemanager do that. It set up a new BE, and after booting over to that one, I ran Package Manager. I clicked around a bit, and finally selected All publishers, All packages and View Updates. Then there was one update: perl-584. Now this guy cannot be updated, it cannot be removed, and it is actually EMPTY and just has a marker saying it has been renamed to perl-510. It's no problem, really, but: What determines if a package is reported as updatable?? pkg -u shows this same package as updatable, so it's not just the GUI application that's wrong, here. From dminer at opensolaris.org Tue May 8 14:25:47 2012 From: dminer at opensolaris.org (Dave Miner) Date: Tue, 08 May 2012 10:25:47 -0400 Subject: [OpenIndiana-discuss] NEWBIE can't find /usr/sbin/sysconfig In-Reply-To: <4FA7F245.7000505@oracle.com> References: <4FA28E5A.4000306@hebis.uni-frankfurt.de> <4FA7ECC7.3060103@hebis.uni-frankfurt.de> <4FA7F245.7000505@oracle.com> Message-ID: <4FA92CEB.707@opensolaris.org> On 05/07/12 12:03, Alan Coopersmith wrote: > On 05/ 7/12 08:39 AM, Uwe Reh wrote: >> 1. Remains the tool sysconfig proprietary to S11 or is there something >> equivalent at OI? > > Oracle released the sysconfig sources, though I don't know if it depends on > anything specific to S11 or if it would work on OI: > http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/cmd/system-config/ > Correct, however, the config and unconfig milestones that operate the whole framework (the tool just creates an SMF profile) are part of the ON consolidation and thus not open; OI would need to re-implement them. The Solaris implementation relies on SMF decorations, which was also added to ON after the last public update to source. Dave From ironsides.medvet at gmail.com Tue May 8 15:28:21 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Tue, 08 May 2012 17:28:21 +0200 Subject: [OpenIndiana-discuss] Package perl-584 needs updating, but can't be updated (as seen from the package manager or pkg -u). In-Reply-To: <4FA91E2F.6010302@branneriet.se> References: <4FA91E2F.6010302@branneriet.se> Message-ID: <4FA93B95.9020405@gmail.com> Thanks for the tip on pkg fix... I found I had a bunch of permission issues, some on Gnome, some on other parts of the system, and I was missing most of the license files... I'm changing the permissions as suggested, maybe that helps some of the frequent core dumps on plugin-container and the like. Bryan On 05/ 8/12 03:22 PM, Hans J. Albertsson wrote: > In the aftermath of my file system adventures when updating to 151a4, > I now have one mysterious "problem" left. > > Well, it's not really a problem, just confusing and a little bit > mysterious to me, since I don't really know the IPS stuff that well. > > Thing is I got to the point, doing lots of "pfexec pkg -R /otherBE fix > packagename", where my system reported no serious problems in pkg fix, > and > the package manager had a clean and consistent, and probably complete > view to present. > > Then suddenly a bunch of python-related packages were updatable, and I > let updatemanager do that. > > It set up a new BE, and after booting over to that one, I ran Package > Manager. I clicked around a bit, and finally selected All publishers, > All packages and View Updates. > > Then there was one update: perl-584. > > Now this guy cannot be updated, it cannot be removed, and it is > actually EMPTY and just has a marker saying it has been renamed to > perl-510. > > It's no problem, really, but: > > What determines if a package is reported as updatable?? > > pkg -u shows this same package as updatable, so it's not just the GUI > application that's wrong, here. > > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From bluethundr at gmail.com Tue May 8 15:43:29 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 8 May 2012 11:43:29 -0400 Subject: [OpenIndiana-discuss] nfs permission denied Message-ID: Hello, I'm trying to setup an NFS server under oi 151. So far so good, but there is one hurdle I'd like to overcome regarding security. The nfs service is running - root at openindiana:~# svcs -a | grep nfs | grep server online 22:51:58 svc:/network/nfs/server:default And I have one entry in dfstab to test this out - root at openindiana:~# tail /etc/dfs/dfstab # This file is reconstructed and only maintained for backward # compatibility. Configuration lines could be lost. # # share [-F fstype] [ -o options] [-d ""] [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs /tank/xen >From what I've read the default for entries in dfstab is that the shares will be available rw (read/write). If I go to the client (FreeBSD 8.2) and test, I can see the mount - [root at LBSD2:~] #showmount -e nas Exports list on nas: /tank/xen Everyone And.. I can mount the share - [root at LBSD2:~] #mount nas:/tank/xen /mnt/xen [root at LBSD2:~] #df -h /mnt/xen Filesystem Size Used Avail Capacity Mounted on nas:/tank/xen 1.3T 45K 1.3T 0% /mnt/xen However if I test my permissions on the mounted share volume (on the client side as root) - [root at LBSD2:~] #touch /mnt/xen/test touch: /mnt/xen/test: Permission denied I get permission denied. I notice on the (oi) server, the permissions look fine - root at openindiana:~# ls -l /tank | grep xen drwxr-xr-x 2 root root 2 May 7 22:58 xen So I tried incrementally loosening up permissions - server : root at openindiana:~# chmod 775 /tank/xen once again on the client: [root at LBSD2:~] #touch /mnt/xen/test touch: /mnt/xen/test: Permission denied And it doesn't work until I open up the directory on the server to world - server: root at openindiana:~# chmod 777 /tank/xen [root at LBSD2:~] #touch /mnt/xen/test [root at LBSD2:~] #echo hi > /mnt/xen/test [root at LBSD2:~] #cat /mnt/xen/test hi Obviously this is a situation I should correct if I can. : ) Thanks in advance and best regards, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From tomte at ulkhyvlers.net Tue May 8 16:05:50 2012 From: tomte at ulkhyvlers.net (tomte at ulkhyvlers.net) Date: Tue, 8 May 2012 18:05:50 +0200 Subject: [OpenIndiana-discuss] nfs permission denied In-Reply-To: References: Message-ID: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> On Tue, May 08, 2012 at 11:43:29AM -0400, Tim Dunphy wrote: > Hello, > > I'm trying to setup an NFS server under oi 151. So far so good, but > there is one hurdle I'd like to overcome regarding security. > > The nfs service is running - > > root at openindiana:~# svcs -a | grep nfs | grep server > online 22:51:58 svc:/network/nfs/server:default > > > And I have one entry in dfstab to test this out - > > root at openindiana:~# tail /etc/dfs/dfstab > # This file is reconstructed and only maintained for backward > # compatibility. Configuration lines could be lost. > # > # share [-F fstype] [ -o options] [-d ""] [resource] > # .e.g, > # share -F nfs -o rw=engineering -d "home dirs" /export/home2 > share -F nfs /tank/xen [snip] > However if I test my permissions on the mounted share volume (on the > client side as root) - > > [root at LBSD2:~] #touch /mnt/xen/test > touch: /mnt/xen/test: Permission denied [snip] >From where I am standing you seem to have missed an option for nfs... check the manpage for share_nfs. specifically the option below. root=access_list Only root users from the hosts specified in access_list have root access. See access_list below. By default, no host has root access, so root users are mapped to an anonymous user ID (see the anon=uid option described above). Netgroups can be used if the file system shared is using UNIX authentication ( AUTH_SYS). If you havent got that one, root on your bsdbox will be remapped to anonymous and then it bites you in the rear ;) // Richard -- "Its hard to be religious when certain people are never incinerated by bolts of lightning." - Calvin & Hobbes From andreas.stenius at astekk.se Tue May 8 16:56:21 2012 From: andreas.stenius at astekk.se (Andreas Stenius) Date: Tue, 8 May 2012 18:56:21 +0200 Subject: [OpenIndiana-discuss] pkg: internal error Message-ID: Hi, It's been a few weeks since I used pkg on this box, but it worked last time I used it. Now, all I get is some internal error. Any ideas what may be wrong (and preferably, what to do about it)? kaos at ganesha:~$ sudo pkg refresh Password: Refreshing catalog 1/3 openindiana.orgTraceback (most recent call last): File "/bin/pkg", line 5954, in handle_errors __ret = func(*args, **kwargs) File "/bin/pkg", line 5932, in main_func return func(api_inst, pargs) File "/bin/pkg", line 3757, in publisher_refresh return __refresh(api_inst, pargs, full_refresh=full_refresh) File "/bin/pkg", line 3729, in __refresh immediate=True, pubs=pubs) File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2319, in refresh pubs=pubs, immediate=immediate) File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2343, in __refresh progtrack=self.__progresstracker) File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 3196, in refresh_publishers immediate=immediate): File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", line 1860, in refresh return self.__refresh(True, True) File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", line 1796, in __refresh full_refresh, immediate, mismatched, origin) File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", line 1751, in __refresh_origin full_refresh, immediate, mismatched, repo) File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", line 1670, in __refresh_v1 revalidate=revalidate, alt_repo=repo) File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 432, in wrapper return f(instance, *fargs, **f_kwargs) File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 815, in get_catalog1 revalidate=revalidate) File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", line 453, in get_catalog1 self._engine.run() File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", line 573, in run self.__setup_handle(eh, t) File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", line 779, in __setup_handle hdl.setopt(pycurl.URL, treq.url) TypeError: invalid arguments to setopt pkg: This is an internal error in pkg(5) version 5d2771134f21+. Please log a Service Request about this issue including the information above and this message. kaos at ganesha:~$ uname -a SunOS ganesha 5.11 oi_151a3 i86pc i386 i86pc Solaris Thanks in advance, Andreas From bluethundr at gmail.com Tue May 8 17:07:23 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 8 May 2012 13:07:23 -0400 Subject: [OpenIndiana-discuss] nfs permission denied In-Reply-To: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> References: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> Message-ID: Hi Richard, Thanks for your input. I found that I can share the volume via zfs.. sorry I forgot to mention that this was a zfs pool. I found that I was able to remove the entry from dfstab and use this command to share the volume - zfs set sharenfs=rw tank/xen And when I check the result it looks ok - root at openindiana:~# zfs get sharenfs tank/xen NAME PROPERTY VALUE SOURCE tank/xen sharenfs rw local and now if I look at the nfs server from the client I can see the share, even tho it's no longer listed in dfstab - [root at LBSD2:~] #showmount -e nas Exports list on nas: /tank/xen Everyone And then I try mounting the share from the client - [root at LBSD2:~] #mount nas:/tank/xen /mnt/xen [root at LBSD2:~] #df -h /mnt/xen Filesystem Size Used Avail Capacity Mounted on nas:/tank/xen 1.3T 46K 1.3T 0% /mnt/xen But I am still getting the same result when I try to create a file - [root at LBSD2:~] #touch /mnt/xen/test touch: /mnt/xen/test: Permission denied Maybe I'm missing a flag on the zfs set command? Thanks Tim On Tue, May 8, 2012 at 12:05 PM, wrote: > On Tue, May 08, 2012 at 11:43:29AM -0400, Tim Dunphy wrote: >> Hello, >> >> ?I'm trying to setup an NFS server under oi 151. So far so good, but >> there is one hurdle I'd like to overcome regarding security. >> >> ?The nfs service is running - >> >> ?root at openindiana:~# svcs -a | grep nfs | grep server >> online ? ? ? ? 22:51:58 svc:/network/nfs/server:default >> >> >> And I have one entry in dfstab to test this out - >> >> root at openindiana:~# tail /etc/dfs/dfstab >> # This file is reconstructed and only maintained for backward >> # compatibility. Configuration lines could be lost. >> # >> # ? ? ? share [-F fstype] [ -o options] [-d ""] [resource] >> # ? ? ? .e.g, >> # ? ? ? share ?-F nfs ?-o rw=engineering ?-d "home dirs" ?/export/home2 >> share -F nfs /tank/xen > > [snip] > >> However if I test my permissions on the mounted share volume (on the >> client side as root) - >> >> ?[root at LBSD2:~] #touch /mnt/xen/test >> touch: /mnt/xen/test: Permission denied > > [snip] > > From where I am standing you seem to have missed an option for > nfs... check the manpage for share_nfs. > specifically the option below. > > ? ? ? ?root=access_list > > ? ? ? ?Only ?root ?users ?from ?the ?hosts ? specified ? in > ? ? ? ?access_list have root access. See access_list below. > ? ? ? ?By default, no host has root access, so ?root ?users > ? ? ? ?are mapped to an anonymous user ID (see the anon=uid > ? ? ? ?option described above). Netgroups can ?be ?used ?if > ? ? ? ?the ?file system shared is using UNIX authentication > ? ? ? ?( AUTH_SYS). > > If you havent got that one, root on your bsdbox will be remapped to > anonymous and then it bites you in the rear ;) > > // Richard > > -- > "Its hard to be religious when certain people are never > incinerated by bolts of lightning." > > - Calvin & Hobbes > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From tomte at ulkhyvlers.net Tue May 8 17:19:26 2012 From: tomte at ulkhyvlers.net (tomte at ulkhyvlers.net) Date: Tue, 8 May 2012 19:19:26 +0200 Subject: [OpenIndiana-discuss] nfs permission denied In-Reply-To: References: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> Message-ID: <20120508171925.GA7273@dirtbag.ulkhyvlers.net> On Tue, May 08, 2012 at 01:07:23PM -0400, Tim Dunphy wrote: > Hi Richard, > > Thanks for your input. I found that I can share the volume via zfs.. > sorry I forgot to mention that this was a zfs pool. > > I found that I was able to remove the entry from dfstab and use this > command to share the volume - > > zfs set sharenfs=rw tank/xen > > And when I check the result it looks ok - > > root at openindiana:~# zfs get sharenfs tank/xen > NAME PROPERTY VALUE SOURCE > tank/xen sharenfs rw local > > and now if I look at the nfs server from the client I can see the > share, even tho it's no longer listed in dfstab - > > > [root at LBSD2:~] #showmount -e nas > Exports list on nas: > /tank/xen Everyone > > And then I try mounting the share from the client - > > [root at LBSD2:~] #mount nas:/tank/xen /mnt/xen > > [root at LBSD2:~] #df -h /mnt/xen > Filesystem Size Used Avail Capacity Mounted on > nas:/tank/xen 1.3T 46K 1.3T 0% /mnt/xen > > But I am still getting the same result when I try to create a file - > > [root at LBSD2:~] #touch /mnt/xen/test > touch: /mnt/xen/test: Permission denied > > Maybe I'm missing a flag on the zfs set command? > > Thanks > Tim Feel free to correct me, but I think you still need the "root=thebsdbox" as an option for the zfs command. Ie. something like "zfs set sharenfs='rw,root=thebsdbox' tank/xen" Otherwise I suspect that the root remapping thing comes into play. // Richard -- "Its hard to be religious when certain people are never incinerated by bolts of lightning." - Calvin & Hobbes From bfwilson at wisc.edu Tue May 8 17:37:37 2012 From: bfwilson at wisc.edu (Brian Wilson) Date: Tue, 08 May 2012 12:37:37 -0500 Subject: [OpenIndiana-discuss] nfs permission denied In-Reply-To: <20120508171925.GA7273@dirtbag.ulkhyvlers.net> References: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> <20120508171925.GA7273@dirtbag.ulkhyvlers.net> Message-ID: <4FA959E1.80905@wisc.edu> On 05/ 8/12 12:19 PM, tomte at ulkhyvlers.net wrote: > On Tue, May 08, 2012 at 01:07:23PM -0400, Tim Dunphy wrote: >> Hi Richard, >> >> Thanks for your input. I found that I can share the volume via zfs.. >> sorry I forgot to mention that this was a zfs pool. >> >> I found that I was able to remove the entry from dfstab and use this >> command to share the volume - >> >> zfs set sharenfs=rw tank/xen >> >> And when I check the result it looks ok - >> >> root at openindiana:~# zfs get sharenfs tank/xen >> NAME PROPERTY VALUE SOURCE >> tank/xen sharenfs rw local >> >> and now if I look at the nfs server from the client I can see the >> share, even tho it's no longer listed in dfstab - >> >> >> [root at LBSD2:~] #showmount -e nas >> Exports list on nas: >> /tank/xen Everyone >> >> And then I try mounting the share from the client - >> >> [root at LBSD2:~] #mount nas:/tank/xen /mnt/xen >> >> [root at LBSD2:~] #df -h /mnt/xen >> Filesystem Size Used Avail Capacity Mounted on >> nas:/tank/xen 1.3T 46K 1.3T 0% /mnt/xen >> >> But I am still getting the same result when I try to create a file - >> >> [root at LBSD2:~] #touch /mnt/xen/test >> touch: /mnt/xen/test: Permission denied >> >> Maybe I'm missing a flag on the zfs set command? >> >> Thanks >> Tim > > Feel free to correct me, but I think you still need the "root=thebsdbox" > as an option for the zfs command. > > Ie. something like "zfs set sharenfs='rw,root=thebsdbox' tank/xen" > Otherwise I suspect that the root remapping thing comes into play. > > // Richard > Yes, if trying to touch the file as root - which the command prompt indicates is the case - then you need to allow root access to the mount point via the option Richard specified. -- ----------------------------------------------------------------------------------- Brian Wilson, Solaris SE, UW-Madison DoIT Room 3114 CS&S 608-263-8047 brian.wilson(a)doit.wisc.edu 'I try to save a life a day. Usually it's my own.' - John Crichton ----------------------------------------------------------------------------------- From bluethundr at gmail.com Tue May 8 17:43:52 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 8 May 2012 13:43:52 -0400 Subject: [OpenIndiana-discuss] nfs permission denied In-Reply-To: <4FA959E1.80905@wisc.edu> References: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> <20120508171925.GA7273@dirtbag.ulkhyvlers.net> <4FA959E1.80905@wisc.edu> Message-ID: ok, thanks for the tips .. I'll do a little more reading on NFS so I can increase my understanding. but in the meantime, this seemed to do the trick! "zfs set sharenfs='rw,root=thebsdbox' tank/xen" [root at LBSD2:~] #touch /mnt/xen/test [root at LBSD2:~] #touch /mnt/xen/test2 [root at LBSD2:~] #touch /mnt/xen/test3 [root at LBSD2:~] #rm /mnt/xen/test [root at LBSD2:~] #rm /mnt/xen/test2 [root at LBSD2:~] #rm /mnt/xen/test3 best, tim On Tue, May 8, 2012 at 1:37 PM, Brian Wilson wrote: > On 05/ 8/12 12:19 PM, tomte at ulkhyvlers.net wrote: >> >> On Tue, May 08, 2012 at 01:07:23PM -0400, Tim Dunphy wrote: >>> >>> Hi Richard, >>> >>> Thanks for your input. I found that I can share the volume via zfs.. >>> sorry I forgot to mention that this was a zfs pool. >>> >>> I found that I was able to remove the entry from dfstab and use this >>> command to share the volume - >>> >>> ?zfs set sharenfs=rw tank/xen >>> >>> And when I check the result it looks ok - >>> >>> root at openindiana:~# zfs get sharenfs tank/xen >>> NAME ? ? ?PROPERTY ?VALUE ? ? SOURCE >>> tank/xen ?sharenfs ?rw ? ? ? ?local >>> >>> and now if I look at the nfs server from the client I can see the >>> share, even tho it's no longer listed in dfstab - >>> >>> >>> [root at LBSD2:~] #showmount -e nas >>> Exports list on nas: >>> /tank/xen ? ? ? ? ? ? ? ? ? ? ? ? ?Everyone >>> >>> And then I try mounting the share from the client - >>> >>> [root at LBSD2:~] #mount nas:/tank/xen /mnt/xen >>> >>> [root at LBSD2:~] #df -h /mnt/xen >>> Filesystem ? ? ? Size ? ?Used ? Avail Capacity ?Mounted on >>> nas:/tank/xen ? ?1.3T ? ? 46K ? ?1.3T ? ? 0% ? ?/mnt/xen >>> >>> But I am still getting the same result when I try to create a file - >>> >>> [root at LBSD2:~] #touch /mnt/xen/test >>> touch: /mnt/xen/test: Permission denied >>> >>> Maybe I'm missing a flag on the zfs set command? >>> >>> Thanks >>> Tim >> >> >> Feel free to correct me, but I think you still need the "root=thebsdbox" >> as an option for the zfs command. >> >> Ie. something like "zfs set sharenfs='rw,root=thebsdbox' tank/xen" >> Otherwise I suspect that the root remapping thing comes into play. >> >> // Richard >> > > Yes, if trying to touch the file as root - which the command prompt > indicates is the case - then you need to allow root access to the mount > point via the option Richard specified. > > -- > ----------------------------------------------------------------------------------- > Brian Wilson, Solaris SE, UW-Madison DoIT > Room 3114 CS&S ? ? ? ? ? ?608-263-8047 > brian.wilson(a)doit.wisc.edu > 'I try to save a life a day. Usually it's my own.' - John Crichton > ----------------------------------------------------------------------------------- > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From carlsonj at workingcode.com Tue May 8 18:03:23 2012 From: carlsonj at workingcode.com (James Carlson) Date: Tue, 08 May 2012 14:03:23 -0400 Subject: [OpenIndiana-discuss] nfs permission denied In-Reply-To: References: <20120508160549.GA5180@dirtbag.ulkhyvlers.net> <20120508171925.GA7273@dirtbag.ulkhyvlers.net> <4FA959E1.80905@wisc.edu> Message-ID: <4FA95FEB.2080407@workingcode.com> Tim Dunphy wrote: > ok, thanks for the tips .. I'll do a little more reading on NFS so I > can increase my understanding. > > but in the meantime, this seemed to do the trick! > > "zfs set sharenfs='rw,root=thebsdbox' tank/xen" > > [root at LBSD2:~] #touch /mnt/xen/test > [root at LBSD2:~] #touch /mnt/xen/test2 > [root at LBSD2:~] #touch /mnt/xen/test3 > [root at LBSD2:~] #rm /mnt/xen/test > [root at LBSD2:~] #rm /mnt/xen/test2 > [root at LBSD2:~] #rm /mnt/xen/test3 You'll definitely want to do some more reading about it. Allowing remote root access via NFS isn't necessarily a very safe thing to do, particularly with the default "we trust the peer's notion of UID/GID" AUTH_SYS mode. A better idea is to just live with the notion that one doesn't write to files over NFS when running as root. Or, if you do it anyway, then make sure the directory in which those files exist is world-writable so that user "nobody" can write to them. Opening up root access isn't too different from making everything world-writable. If "nobody" isn't to your taste, you can set up "root_mapping=uid" to change it to some other value. See share_nfs(1M) and nfssec(5) for details. -- James Carlson 42.703N 71.076W From illumos at cucumber.demon.co.uk Tue May 8 18:31:26 2012 From: illumos at cucumber.demon.co.uk (Andrew Gabriel) Date: Tue, 08 May 2012 19:31:26 +0100 Subject: [OpenIndiana-discuss] Question about halting a zone In-Reply-To: References: Message-ID: <4FA9667E.8060602@cucumber.demon.co.uk> Jeppe Toustrup wrote: > On Mon, May 7, 2012 at 3:57 PM, Mark Creamer wrote: > >> I was reading about how to update non-global zones, and found a >> Solaris document which says the following: >> >> 1. Update the Global Zone >> 2. Reboot >> 3. Halt the non-global zone (zoneadm -z myzone halt) >> 4. Detach the zone (zoneadm -z myzone detach) >> 5. Re-attach the zone with -u (zoneadm -z myzone attach -u) >> >> In my testing, this seems to go fine. My question is, what happens >> when you halt a zone - for example, if MySQL is running on that >> non-global zone, should you stop it first before halting the zone to >> avoid the risk of corrupting data? Or is a halt safe without stopping >> any running services first? >> > > I normally do: > zlogin myzone init 5 > Solaris 11 has "zone shutdown" to do this. I don't recall if that was added before or after the fork. -- Andrew From me at cs.Stanford.EDU Wed May 9 01:13:03 2012 From: me at cs.Stanford.EDU (Martin Frost) Date: Tue, 08 May 2012 18:13:03 -0700 Subject: [OpenIndiana-discuss] NFS mount of oi_148 filesystem by Linux fails Message-ID: I'm trying to export a ZFS filesystem on oi_148 via NFS, but the NFS mount fails. The same ZFS filesystem is shared via CIFS, and that's working. I hope CIFS sharing doesn't interfere with NFS exporting. Here's the setup, where my nfs server is 'nfsserver', the filesystem I'm trying to mount is '/nfsclient/filesys', and my nfs client is 'nfsclient' (which is running Linux): 11;nfsserver/root# svcs -a | grep nfs | grep server online Feb_27 svc:/network/nfs/server:default 12;nfsserver/root# zfs get sharenfs nfsclient/filesys NAME PROPERTY VALUE SOURCE nfsclient/filesys sharenfs sec=sys,rw=nfsclient.stanford.edu local 13;nfsserver/root# zfs get sharesmb nfsclient/filesys NAME PROPERTY VALUE SOURCE nfsclient/filesys sharesmb name=filesys local 37;nfsclient/etc# showmount -e nfsserver Export list for nfsserver: /nfsclient/fs100 (everyone) /var/smb/cvol (everyone) /nfsclient/filesys nfsclient.stanford.edu And here's the mount failure: 40;nfsclient/etc# mount nfsserver:/nfsclient/filesys /etc/testmount mount.nfs: access denied by server while mounting nfsserver:/nfsclient/filesys I don't know if NFS in OI references /etc/hosts.allow on the NFS server, but just in case I gave the nfsclient ALL access in that file (to no avail). I can't find any log entries relating to this NFS mount failure, even after I enabled info and debug logging in syslog.conf. The two machines are on the same subnet. I can ssh between them. What might I be missing here? I have anther OI machine where NFS exporting to Linux machines is working fine, and I even see a mountd error message in /var/adm/messages on that machine. (Side notes: This isn't a problem, but the filesystem /nfsclient/fs100 isn't exported or mountable, though it shows up in 'showmount -e'. And I haven't exported /var/smb/cvol, but it is mountable -- maybe that's a default related to using Samba; there's only one file in it: /var/smb/cvol/windows/system32/eventlog.dll) Thanks, Martin From andreas.stenius at astekk.se Wed May 9 07:31:31 2012 From: andreas.stenius at astekk.se (Andreas Stenius) Date: Wed, 9 May 2012 09:31:31 +0200 Subject: [OpenIndiana-discuss] pkg: internal error In-Reply-To: References: Message-ID: A somewhat dated report, in a completely different environment, but still seems to strike some similarities that look right: http://java.net/jira/browse/UPDATECENTER2-1697?focusedCommentId=62748&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_62748 I'll try and re-set my publisher list and see if it makes a difference... as I'm not about to dig through pkg or pycurl sources at this time. //Andreas 2012/5/8 Andreas Stenius : > Hi, > > It's been a few weeks since I used pkg on this box, but it worked last > time I used it. > > Now, all I get is some internal error. Any ideas what may be wrong > (and preferably, what to do about it)? > > > kaos at ganesha:~$ sudo pkg refresh > Password: > Refreshing catalog 1/3 openindiana.orgTraceback (most recent call last): > ?File "/bin/pkg", line 5954, in handle_errors > ? ?__ret = func(*args, **kwargs) > ?File "/bin/pkg", line 5932, in main_func > ? ?return func(api_inst, pargs) > ?File "/bin/pkg", line 3757, in publisher_refresh > ? ?return __refresh(api_inst, pargs, full_refresh=full_refresh) > ?File "/bin/pkg", line 3729, in __refresh > ? ?immediate=True, pubs=pubs) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line > 2319, in refresh > ? ?pubs=pubs, immediate=immediate) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line > 2343, in __refresh > ? ?progtrack=self.__progresstracker) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line > 3196, in refresh_publishers > ? ?immediate=immediate): > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", > line 1860, in refresh > ? ?return self.__refresh(True, True) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", > line 1796, in __refresh > ? ?full_refresh, immediate, mismatched, origin) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", > line 1751, in __refresh_origin > ? ?full_refresh, immediate, mismatched, repo) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", > line 1670, in __refresh_v1 > ? ?revalidate=revalidate, alt_repo=repo) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", > line 432, in wrapper > ? ?return f(instance, *fargs, **f_kwargs) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", > line 815, in get_catalog1 > ? ?revalidate=revalidate) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", > line 453, in get_catalog1 > ? ?self._engine.run() > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", > line 573, in run > ? ?self.__setup_handle(eh, t) > ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", > line 779, in __setup_handle > ? ?hdl.setopt(pycurl.URL, treq.url) > TypeError: invalid arguments to setopt > > > pkg: This is an internal error in pkg(5) version 5d2771134f21+. ?Please log a > Service Request about this issue including the information above and this > message. > > kaos at ganesha:~$ uname -a > SunOS ganesha 5.11 oi_151a3 i86pc i386 i86pc Solaris > > > Thanks in advance, > Andreas From ironsides.medvet at gmail.com Wed May 9 07:32:06 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Wed, 9 May 2012 09:32:06 +0200 Subject: [OpenIndiana-discuss] Nvidia errors on 151a4 In-Reply-To: References: <201205071851.q47IpcT2009293@kyklops.ohsu.edu> <4FA8CAC7.8090200@gmail.com> <4FA8D7D1.7040005@gmail.com> Message-ID: After a lot of time spent troubleshooting, only to see the crashes become more frequent, I ended up having to reinstall... This time I'm starting from the 151a3 disk, not the 148 one, and I'll avoid setting esoteric paths and the like (after all, I kind of know where the software I need is and I can call it by full pathname). The old Quadro was moved to my other machine, a dual boot Fedora16/WindowsXP rig I use for firmware flashing and some light gaming. Thank you all. Bryan From reh at hebis.uni-frankfurt.de Wed May 9 07:58:01 2012 From: reh at hebis.uni-frankfurt.de (Uwe Reh) Date: Wed, 09 May 2012 09:58:01 +0200 Subject: [OpenIndiana-discuss] Question about halting a zone In-Reply-To: <4FA9667E.8060602@cucumber.demon.co.uk> References: <4FA9667E.8060602@cucumber.demon.co.uk> Message-ID: <4FAA2389.8060103@hebis.uni-frankfurt.de> Am 08.05.2012 20:31, schrieb Andrew Gabriel: >> I normally do: >> zlogin myzone init 5 > > Solaris 11 has "zone shutdown" to do this. > I don't recall if that was added before or after the fork. > This subcommand seems to be added after the fork. It isn't supported by zoneadm in oi_151a4. From andreas.stenius at astekk.se Wed May 9 08:04:41 2012 From: andreas.stenius at astekk.se (Andreas Stenius) Date: Wed, 9 May 2012 10:04:41 +0200 Subject: [OpenIndiana-discuss] pkg: internal error In-Reply-To: References: Message-ID: Found some more on this: http://defect.opensolaris.org/bz/show_bug.cgi?id=13334 and, http://sourceforge.net/tracker/?func=detail&aid=1831680&group_id=28236&atid=392777 Since there seems to be an easy work-around (by wrapping the passed url with a str() call), I'll have a go with that. (I do have the _speedups.so in the simplejson vendor package for python 2.6). Perhaps this should've been on the oi-dev list? adding it to cc. 2012/5/9 Andreas Stenius : > A somewhat dated report, in a completely different environment, but > still seems to strike some similarities that look right: > http://java.net/jira/browse/UPDATECENTER2-1697?focusedCommentId=62748&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_62748 > > I'll try and re-set my publisher list and see if it makes a > difference... as I'm not about to dig through pkg or pycurl sources at > this time. > > //Andreas > > 2012/5/8 Andreas Stenius : >> Hi, >> >> It's been a few weeks since I used pkg on this box, but it worked last >> time I used it. >> >> Now, all I get is some internal error. Any ideas what may be wrong >> (and preferably, what to do about it)? >> >> >> kaos at ganesha:~$ sudo pkg refresh >> Password: >> Refreshing catalog 1/3 openindiana.orgTraceback (most recent call last): >> ?File "/bin/pkg", line 5954, in handle_errors >> ? ?__ret = func(*args, **kwargs) >> ?File "/bin/pkg", line 5932, in main_func >> ? ?return func(api_inst, pargs) >> ?File "/bin/pkg", line 3757, in publisher_refresh >> ? ?return __refresh(api_inst, pargs, full_refresh=full_refresh) >> ?File "/bin/pkg", line 3729, in __refresh >> ? ?immediate=True, pubs=pubs) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line >> 2319, in refresh >> ? ?pubs=pubs, immediate=immediate) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line >> 2343, in __refresh >> ? ?progtrack=self.__progresstracker) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line >> 3196, in refresh_publishers >> ? ?immediate=immediate): >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >> line 1860, in refresh >> ? ?return self.__refresh(True, True) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >> line 1796, in __refresh >> ? ?full_refresh, immediate, mismatched, origin) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >> line 1751, in __refresh_origin >> ? ?full_refresh, immediate, mismatched, repo) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >> line 1670, in __refresh_v1 >> ? ?revalidate=revalidate, alt_repo=repo) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", >> line 432, in wrapper >> ? ?return f(instance, *fargs, **f_kwargs) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", >> line 815, in get_catalog1 >> ? ?revalidate=revalidate) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", >> line 453, in get_catalog1 >> ? ?self._engine.run() >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", >> line 573, in run >> ? ?self.__setup_handle(eh, t) >> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", >> line 779, in __setup_handle >> ? ?hdl.setopt(pycurl.URL, treq.url) >> TypeError: invalid arguments to setopt >> >> >> pkg: This is an internal error in pkg(5) version 5d2771134f21+. ?Please log a >> Service Request about this issue including the information above and this >> message. >> >> kaos at ganesha:~$ uname -a >> SunOS ganesha 5.11 oi_151a3 i86pc i386 i86pc Solaris >> >> >> Thanks in advance, >> Andreas From andreas.stenius at astekk.se Wed May 9 08:14:47 2012 From: andreas.stenius at astekk.se (Andreas Stenius) Date: Wed, 9 May 2012 10:14:47 +0200 Subject: [OpenIndiana-discuss] pkg: internal error In-Reply-To: References: Message-ID: OK, I said I wasn't going to dig into the source, but since I found such an easy and specific fix, I had a go with it... and it WORKS! yay :) root at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport# pkg history START OPERATION CLIENT OUTCOME [...] 2012-04-13T21:11:48 refresh-publishers pkg Succeeded 2012-04-13T21:11:48 install pkg Succeeded 2012-04-13T21:11:49 rebuild-image-catalogs pkg Succeeded 2012-04-13T21:16:25 install pkg Succeeded ... 2012-04-16T20:19:17 install pkg Succeeded 2012-05-08T16:55:00 refresh-publishers pkg Failed 2012-05-08T16:55:26 refresh-publishers pkg Failed 2012-05-08T18:52:36 refresh-publishers pkg Failed 2012-05-08T20:12:58 refresh-publishers pkg Failed 2012-05-09T09:33:31 refresh-publishers pkg Failed 2012-05-09T09:50:55 refresh-publishers pkg Failed 2012-05-09T10:09:20 refresh-publishers pkg Succeeded # applied patch to engine.py (see below) 2012-05-09T10:09:38 rebuild-image-catalogs pkg Succeeded root at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport# Here's the diff: root at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport# diff engine.py.org engine.py 779c779 < hdl.setopt(pycurl.URL, treq.url) --- > hdl.setopt(pycurl.URL, str(treq.url)) As noted, this may be an ugly work-around and perhaps not suitable for a long term solution, but for me as end-user... whatever makes it work is worth it. //Andreas 2012/5/9 Andreas Stenius : > Found some more on this: > http://defect.opensolaris.org/bz/show_bug.cgi?id=13334 > and, http://sourceforge.net/tracker/?func=detail&aid=1831680&group_id=28236&atid=392777 > > Since there seems to be an easy work-around (by wrapping the passed > url with a str() call), I'll have a go with that. > (I do have the _speedups.so in the simplejson vendor package for python 2.6). > > Perhaps this should've been on the oi-dev list? adding it to cc. > > 2012/5/9 Andreas Stenius : >> A somewhat dated report, in a completely different environment, but >> still seems to strike some similarities that look right: >> http://java.net/jira/browse/UPDATECENTER2-1697?focusedCommentId=62748&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_62748 >> >> I'll try and re-set my publisher list and see if it makes a >> difference... as I'm not about to dig through pkg or pycurl sources at >> this time. >> >> //Andreas >> >> 2012/5/8 Andreas Stenius : >>> Hi, >>> >>> It's been a few weeks since I used pkg on this box, but it worked last >>> time I used it. >>> >>> Now, all I get is some internal error. Any ideas what may be wrong >>> (and preferably, what to do about it)? >>> >>> >>> kaos at ganesha:~$ sudo pkg refresh >>> Password: >>> Refreshing catalog 1/3 openindiana.orgTraceback (most recent call last): >>> ?File "/bin/pkg", line 5954, in handle_errors >>> ? ?__ret = func(*args, **kwargs) >>> ?File "/bin/pkg", line 5932, in main_func >>> ? ?return func(api_inst, pargs) >>> ?File "/bin/pkg", line 3757, in publisher_refresh >>> ? ?return __refresh(api_inst, pargs, full_refresh=full_refresh) >>> ?File "/bin/pkg", line 3729, in __refresh >>> ? ?immediate=True, pubs=pubs) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line >>> 2319, in refresh >>> ? ?pubs=pubs, immediate=immediate) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line >>> 2343, in __refresh >>> ? ?progtrack=self.__progresstracker) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line >>> 3196, in refresh_publishers >>> ? ?immediate=immediate): >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>> line 1860, in refresh >>> ? ?return self.__refresh(True, True) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>> line 1796, in __refresh >>> ? ?full_refresh, immediate, mismatched, origin) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>> line 1751, in __refresh_origin >>> ? ?full_refresh, immediate, mismatched, repo) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>> line 1670, in __refresh_v1 >>> ? ?revalidate=revalidate, alt_repo=repo) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", >>> line 432, in wrapper >>> ? ?return f(instance, *fargs, **f_kwargs) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", >>> line 815, in get_catalog1 >>> ? ?revalidate=revalidate) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", >>> line 453, in get_catalog1 >>> ? ?self._engine.run() >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", >>> line 573, in run >>> ? ?self.__setup_handle(eh, t) >>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", >>> line 779, in __setup_handle >>> ? ?hdl.setopt(pycurl.URL, treq.url) >>> TypeError: invalid arguments to setopt >>> >>> >>> pkg: This is an internal error in pkg(5) version 5d2771134f21+. ?Please log a >>> Service Request about this issue including the information above and this >>> message. >>> >>> kaos at ganesha:~$ uname -a >>> SunOS ganesha 5.11 oi_151a3 i86pc i386 i86pc Solaris >>> >>> >>> Thanks in advance, >>> Andreas From andreas.stenius at astekk.se Wed May 9 08:44:51 2012 From: andreas.stenius at astekk.se (Andreas Stenius) Date: Wed, 9 May 2012 10:44:51 +0200 Subject: [OpenIndiana-discuss] pkg: internal error In-Reply-To: References: Message-ID: And again, running pkg update, I had to patch the headerlist too... I cherry picked what I could see from the workaround attached to http://defect.opensolaris.org/bz/show_bug.cgi?id=12713 Here's my complete diff: kaos at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport$ diff engine.py.org engine.py 767a768,770 > headerstr = headerstr.encode( > "ascii", > "xmlcharrefreplace") 773a777,779 > headerstr = headerstr.encode( > "ascii", > "xmlcharrefreplace") 779c785 < hdl.setopt(pycurl.URL, treq.url) --- > hdl.setopt(pycurl.URL, str(treq.url)) kaos at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport$ 2012/5/9 Andreas Stenius : > OK, I said I wasn't going to dig into the source, but since I found > such an easy and specific fix, I had a go with it... and it WORKS! yay > :) > > root at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport# > pkg history > START ? ? ? ? ? ? ? ? ? ?OPERATION ? ? ? ? ? ? ? ?CLIENT ? ? ? ? ? ? OUTCOME > [...] > 2012-04-13T21:11:48 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Succeeded > 2012-04-13T21:11:48 ? ? ?install ? ? ? ? ? ? ? ? ?pkg ? ? ? ? ? ? ? ?Succeeded > 2012-04-13T21:11:49 ? ? ?rebuild-image-catalogs ? pkg ? ? ? ? ? ? ? ?Succeeded > 2012-04-13T21:16:25 ? ? ?install ? ? ? ? ? ? ? ? ?pkg ? ? ? ? ? ? ? ?Succeeded > ... > 2012-04-16T20:19:17 ? ? ?install ? ? ? ? ? ? ? ? ?pkg ? ? ? ? ? ? ? ?Succeeded > 2012-05-08T16:55:00 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Failed > 2012-05-08T16:55:26 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Failed > 2012-05-08T18:52:36 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Failed > 2012-05-08T20:12:58 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Failed > 2012-05-09T09:33:31 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Failed > 2012-05-09T09:50:55 ? ? ?refresh-publishers ? ? ? pkg ? ? ? ? ? ? ? ?Failed > 2012-05-09T10:09:20 ? ? ?refresh-publishers ? ? ? pkg > Succeeded ? ? ? ? # applied patch to engine.py (see below) > 2012-05-09T10:09:38 ? ? ?rebuild-image-catalogs ? pkg ? ? ? ? ? ? ? ?Succeeded > root at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport# > > Here's the diff: > > root at ganesha:/usr/lib/python2.6/vendor-packages/pkg/client/transport# > diff engine.py.org engine.py > 779c779 > < ? ? ? ? ? ? ? ? hdl.setopt(pycurl.URL, treq.url) > --- >> ? ? ? ? ? ? ? ? hdl.setopt(pycurl.URL, str(treq.url)) > > As noted, this may be an ugly work-around and perhaps not suitable for > a long term solution, but for me as end-user... whatever makes it work > is worth it. > > //Andreas > > 2012/5/9 Andreas Stenius : >> Found some more on this: >> http://defect.opensolaris.org/bz/show_bug.cgi?id=13334 >> and, http://sourceforge.net/tracker/?func=detail&aid=1831680&group_id=28236&atid=392777 >> >> Since there seems to be an easy work-around (by wrapping the passed >> url with a str() call), I'll have a go with that. >> (I do have the _speedups.so in the simplejson vendor package for python 2.6). >> >> Perhaps this should've been on the oi-dev list? adding it to cc. >> >> 2012/5/9 Andreas Stenius : >>> A somewhat dated report, in a completely different environment, but >>> still seems to strike some similarities that look right: >>> http://java.net/jira/browse/UPDATECENTER2-1697?focusedCommentId=62748&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_62748 >>> >>> I'll try and re-set my publisher list and see if it makes a >>> difference... as I'm not about to dig through pkg or pycurl sources at >>> this time. >>> >>> //Andreas >>> >>> 2012/5/8 Andreas Stenius : >>>> Hi, >>>> >>>> It's been a few weeks since I used pkg on this box, but it worked last >>>> time I used it. >>>> >>>> Now, all I get is some internal error. Any ideas what may be wrong >>>> (and preferably, what to do about it)? >>>> >>>> >>>> kaos at ganesha:~$ sudo pkg refresh >>>> Password: >>>> Refreshing catalog 1/3 openindiana.orgTraceback (most recent call last): >>>> ?File "/bin/pkg", line 5954, in handle_errors >>>> ? ?__ret = func(*args, **kwargs) >>>> ?File "/bin/pkg", line 5932, in main_func >>>> ? ?return func(api_inst, pargs) >>>> ?File "/bin/pkg", line 3757, in publisher_refresh >>>> ? ?return __refresh(api_inst, pargs, full_refresh=full_refresh) >>>> ?File "/bin/pkg", line 3729, in __refresh >>>> ? ?immediate=True, pubs=pubs) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line >>>> 2319, in refresh >>>> ? ?pubs=pubs, immediate=immediate) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line >>>> 2343, in __refresh >>>> ? ?progtrack=self.__progresstracker) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line >>>> 3196, in refresh_publishers >>>> ? ?immediate=immediate): >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>>> line 1860, in refresh >>>> ? ?return self.__refresh(True, True) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>>> line 1796, in __refresh >>>> ? ?full_refresh, immediate, mismatched, origin) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>>> line 1751, in __refresh_origin >>>> ? ?full_refresh, immediate, mismatched, repo) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", >>>> line 1670, in __refresh_v1 >>>> ? ?revalidate=revalidate, alt_repo=repo) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", >>>> line 432, in wrapper >>>> ? ?return f(instance, *fargs, **f_kwargs) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", >>>> line 815, in get_catalog1 >>>> ? ?revalidate=revalidate) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", >>>> line 453, in get_catalog1 >>>> ? ?self._engine.run() >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", >>>> line 573, in run >>>> ? ?self.__setup_handle(eh, t) >>>> ?File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/engine.py", >>>> line 779, in __setup_handle >>>> ? ?hdl.setopt(pycurl.URL, treq.url) >>>> TypeError: invalid arguments to setopt >>>> >>>> >>>> pkg: This is an internal error in pkg(5) version 5d2771134f21+. ?Please log a >>>> Service Request about this issue including the information above and this >>>> message. >>>> >>>> kaos at ganesha:~$ uname -a >>>> SunOS ganesha 5.11 oi_151a3 i86pc i386 i86pc Solaris >>>> >>>> >>>> Thanks in advance, >>>> Andreas From ironsides.medvet at gmail.com Wed May 9 09:13:09 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Wed, 9 May 2012 11:13:09 +0200 Subject: [OpenIndiana-discuss] PCIEX-8000-KP was Re: Nvidia errors on 151a4 Message-ID: Hi all, The reinstall went smoothly, but upon reinstall, fmd started to complain about problems with the only PCI Express x16 slot (slot 2) that holds the video card. It is littering the error log with reports of problems with the pci fabric and it freezes up shortly thereafter. Before the reinstall, I only had the errors in fmdump -e, the one in fmadm faulty had gone away after removing and cleaning the old dust-filled Quadro. This is a new card in the slot, an Asus Nvidia GTX 550 Ti. I have read up on the error: http://www.illumos.org/msg/PCIEX-8000KP On the Oracle blogs, it says that sometimes it's a fake, reported by fmd because of a bug they suppositely fixed in Sol 10 11/08 (I think). Now, my course of action was to try to disable the fmd modules relating to fabric and io by issuing fmadm disable io-report and fmdadm disable fabric-xlate, but to no avail, it still crashed and they are reloaded on reboot. I then tried to disable the fmd service in SMF. Crashed still. Any clues? I know the card is mounted properly and has enough power through the additional cable that runs from the PSU to the accessory 6 pin plug. Could it be that it's my motherboard that's kicking the can this time? Bryan On May 9, 2012 9:32 AM, "Bryan Iotti" wrote: > After a lot of time spent troubleshooting, only to see the crashes become > more frequent, I ended up having to reinstall... This time I'm starting > from the 151a3 disk, not the 148 one, and I'll avoid setting esoteric paths > and the like (after all, I kind of know where the software I need is and I > can call it by full pathname). The old Quadro was moved to my other > machine, a dual boot Fedora16/WindowsXP rig I use for firmware flashing and > some light gaming. > > Thank you all. > Bryan > From hans.j.albertsson at branneriet.se Wed May 9 10:06:27 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Wed, 09 May 2012 12:06:27 +0200 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: References: Message-ID: <4FAA41A3.9030301@branneriet.se> Would BTRFS be a viable FS for Openindiana? From illumos at cucumber.demon.co.uk Wed May 9 10:24:31 2012 From: illumos at cucumber.demon.co.uk (Andrew Gabriel) Date: Wed, 09 May 2012 11:24:31 +0100 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA41A3.9030301@branneriet.se> References: <4FAA41A3.9030301@branneriet.se> Message-ID: <4FAA45DF.3070907@cucumber.demon.co.uk> Hans J. Albertsson wrote: > Would BTRFS be a viable FS for Openindiana? I would be interested to know what feature(s) of it you want that you think are missing from OI? -- Andrew From ironsides.medvet at gmail.com Wed May 9 10:41:24 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Wed, 09 May 2012 12:41:24 +0200 Subject: [OpenIndiana-discuss] PCIEX-8000-KP was Re: Nvidia errors on 151a4 In-Reply-To: References: Message-ID: <4FAA49D4.2070104@gmail.com> To answer my own question, I have finally solved the issue proper (I hope). Turns out that in the BIOS there was a feature I knew nothing about, and HP never mentions. Turn off PCI SERR# Generation and all the fabric issues vanish. Hope this helps someone avoid the HELL it was to try and do anything while the computer was crashing hard all the time. Bryan On 05/ 9/12 11:13 AM, Bryan Iotti wrote: > Hi all, > > The reinstall went smoothly, but upon reinstall, fmd started to complain > about problems with the only PCI Express x16 slot (slot 2) that holds the > video card. > > It is littering the error log with reports of problems with the pci fabric > and it freezes up shortly thereafter. Before the reinstall, I only had the > errors in fmdump -e, the one in fmadm faulty had gone away after removing > and cleaning the old dust-filled Quadro. > > This is a new card in the slot, an Asus Nvidia GTX 550 Ti. > > I have read up on the error: > http://www.illumos.org/msg/PCIEX-8000KP > > On the Oracle blogs, it says that sometimes it's a fake, reported by fmd > because of a bug they suppositely fixed in Sol 10 11/08 (I think). > > Now, my course of action was to try to disable the fmd modules relating to > fabric and io by issuing fmadm disable io-report and fmdadm disable > fabric-xlate, but to no avail, it still crashed and they are reloaded on > reboot. I then tried to disable the fmd service in SMF. Crashed still. > > Any clues? I know the card is mounted properly and has enough power through > the additional cable that runs from the PSU to the accessory 6 pin plug. > > Could it be that it's my motherboard that's kicking the can this time? > > Bryan > On May 9, 2012 9:32 AM, "Bryan Iotti" wrote: > >> After a lot of time spent troubleshooting, only to see the crashes become >> more frequent, I ended up having to reinstall... This time I'm starting >> from the 151a3 disk, not the 148 one, and I'll avoid setting esoteric paths >> and the like (after all, I kind of know where the software I need is and I >> can call it by full pathname). The old Quadro was moved to my other >> machine, a dual boot Fedora16/WindowsXP rig I use for firmware flashing and >> some light gaming. >> >> Thank you all. >> Bryan >> > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From paolo.marcheschi at ftgm.it Wed May 9 11:02:49 2012 From: paolo.marcheschi at ftgm.it (paolo marcheschi) Date: Wed, 09 May 2012 13:02:49 +0200 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA41A3.9030301@branneriet.se> References: <4FAA41A3.9030301@branneriet.se> Message-ID: <4FAA4ED9.7020603@ftgm.it> WHY ? You have the great ZFS, among other goodies. Paolo On 05/09/12 12:06, Hans J. Albertsson wrote: > Would BTRFS be a viable FS for Openindiana? > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From roy at karlsbakk.net Wed May 9 11:19:27 2012 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 9 May 2012 13:19:27 +0200 (CEST) Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA41A3.9030301@branneriet.se> Message-ID: <14003549.9.1336562367235.JavaMail.root@zimbra> > Would BTRFS be a viable FS for Openindiana? btrfs is licensed under GPL, OpenIndiana mostly under CDDL, so that's a hard nut to crack. The harder one is still "who wants btrfs when you've got ZFS" Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 98013356 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. From carlsonj at workingcode.com Wed May 9 12:54:39 2012 From: carlsonj at workingcode.com (James Carlson) Date: Wed, 09 May 2012 08:54:39 -0400 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <14003549.9.1336562367235.JavaMail.root@zimbra> References: <14003549.9.1336562367235.JavaMail.root@zimbra> Message-ID: <4FAA690F.9000201@workingcode.com> Roy Sigurd Karlsbakk wrote: >> Would BTRFS be a viable FS for Openindiana? > > btrfs is licensed under GPL, OpenIndiana mostly under CDDL, so that's a hard nut to crack. The harder one is still "who wants btrfs when you've got ZFS" One good reason to do it would be to help users migrate from Linux to OpenIndiana without losing data. Another would be to help out those users who have multi-boot systems with both Linux and OpenIndiana, and who don't want to resort to DOS file system hacks. Still another would be to enable folks to build useful appliances with OpenIndiana -- consider the various Linux-based "rescue CDs" that allow you to boot up a mini Linux on CD and read foreign file systems. Just about any reasoning that applies to NTFS or another foreign file system applies as well to btrfs. As for the GPLv2, it's an interesting question, but I doubt it's actually a problem. The license clearly calls out "identifiable sections" and "mere aggregation" as exceptions in section (2) and that redistribution of any btrfs changes doesn't require inclusion of normal parts of the system in section (3). I know that corporate lawyers tend to fear, distrust, and generally loathe the GPL, which is why no GPL'd stuff ended up in the kernel when Sun was in charge. As a completely artificial distinction, tons of GPL'd code appeared in user space, and was used in key parts of the system. I guess if the general consensus is to keep the (in my opinion irrational) fear alive, distributing btrfs as a separate package from the core system would be more than enough fig leaf. -- James Carlson 42.703N 71.076W From hans.j.albertsson at branneriet.se Wed May 9 13:50:53 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Wed, 09 May 2012 15:50:53 +0200 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: References: Message-ID: <4FAA763D.80904@branneriet.se> I was a bit surprised to see so much near-religious reactions.... James C is to be commended for his rational answer. I was merely trying to find out if A: BTRFS would be (easily) doable B: BTRFS had any advantage at all, at least down the line, years away. C: ZFS had any major wins over BTRFS that would make the Q moot. Can someone comment in a tech way on B and C above?? I can think of one political/commercial reason for BTRFS: Oracle is actually involved, and I guess ZFS technology might seep into BTRFS that way, w/o hitting some sort of licensing wall or be too costly. P.S. I hear some people out there sing the BTRFS' praise, and that is people whom I used to trust while at Sun. I hear people praise the realtime and/or lowlatency properties of recent linuxes, too, and I went ahead and tried, and THAT seemed quite reasonable praise. On 2012-05-09 14:54, openindiana-discuss-request at openindiana.org wrote: > Message: 8 > Date: Wed, 09 May 2012 08:54:39 -0400 > From: James Carlson > To: Discussion list for OpenIndiana > > Subject: Re: [OpenIndiana-discuss] BTRFS for OI, anyone? > Message-ID:<4FAA690F.9000201 at workingcode.com> > Content-Type: text/plain; charset=UTF-8 > > Roy Sigurd Karlsbakk wrote: >>> >> Would BTRFS be a viable FS for Openindiana? >> > >> > btrfs is licensed under GPL, OpenIndiana mostly under CDDL, so that's a hard nut to crack. The harder one is still "who wants btrfs when you've got ZFS" > One good reason to do it would be to help users migrate from Linux to > OpenIndiana without losing data. Another would be to help out those > users who have multi-boot systems with both Linux and OpenIndiana, and > who don't want to resort to DOS file system hacks. Still another would > be to enable folks to build useful appliances with OpenIndiana -- > consider the various Linux-based "rescue CDs" that allow you to boot up > a mini Linux on CD and read foreign file systems. > > Just about any reasoning that applies to NTFS or another foreign file > system applies as well to btrfs. > > As for the GPLv2, it's an interesting question, but I doubt it's > actually a problem. The license clearly calls out "identifiable > sections" and "mere aggregation" as exceptions in section (2) and that > redistribution of any btrfs changes doesn't require inclusion of normal > parts of the system in section (3). > > I know that corporate lawyers tend to fear, distrust, and generally > loathe the GPL, which is why no GPL'd stuff ended up in the kernel when > Sun was in charge. As a completely artificial distinction, tons of > GPL'd code appeared in user space, and was used in key parts of the system. > > I guess if the general consensus is to keep the (in my opinion > irrational) fear alive, distributing btrfs as a separate package from > the core system would be more than enough fig leaf. > > -- James Carlson 42.703N 71.076W From carlsonj at workingcode.com Wed May 9 14:13:38 2012 From: carlsonj at workingcode.com (James Carlson) Date: Wed, 09 May 2012 10:13:38 -0400 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA763D.80904@branneriet.se> References: <4FAA763D.80904@branneriet.se> Message-ID: <4FAA7B92.1060200@workingcode.com> Hans J. Albertsson wrote: > I was a bit surprised to see so much near-religious reactions.... > James C is to be commended for his rational answer. Thanks. ;-} Really, it doesn't surprise me too much. > I was merely trying to find out if > > A: BTRFS would be (easily) doable Doable, almost certainly not easy. The VFS and VM bits are quite different. > B: BTRFS had any advantage at all, at least down the line, years away. > C: ZFS had any major wins over BTRFS that would make the Q moot. Each currently has advantages over the other in different departments. On balance, from what I've seen of BTRFS in Fedora, ZFS has much more over BTRFS than the reverse. But that's to be expected; ZFS is much more mature. Frankly, I don't expect that to be a useful comparison unless someone is planning to build a distribution where the default file system is changed from ZFS to BTRFS. If someone is going to do that, then there are a lot of other things that have to change -- the packaging system and boot sequence all currently depend heavily on ZFS in OpenIndiana. It'd be a lot of work to change all of that. Instead, I think the "access to foreign data" argument -- the same argument that works for JFS, HSFS, NTFS, DOS, and others -- works better here as a compelling argument for someone (not me ;-}) to do the work. > I can think of one political/commercial reason for BTRFS: Oracle is > actually involved, and I guess ZFS technology might seep into BTRFS that > way, w/o hitting some sort of licensing wall or be too costly. I'm not sure that's a good argument in the OpenIndiana realm. Oracle decided to take its ball and go home, so banking on any useful technology contributions usable for OpenIndiana in the future, regardless of the vector, is probably not worthwhile. Sure, someone at Oracle (who owns the "property" rights on ZFS and thus can relicense bits as they wish) could add some bits from ZFS to BTRFS. It's just as likely to suppose that Oracle's marketing of Solaris depends on having technology differentiators between the "enterprise class" Solaris and "open source" Linux, and thus crown jewels will never appear in the latter in any useful form. Who knows? In any event, I'd suggest "wait and see." That means, sure, add BTRFS support for the "foreign file system access" reasons or even just as a "proof of concept" but, no, don't bother with a root-on-BTRFS distribution unless you really like pain. > P.S. > I hear some people out there sing the BTRFS' praise, and that is people > whom I used to trust while at Sun. > I hear people praise the realtime and/or lowlatency properties of recent > linuxes, too, and I went ahead and tried, and THAT seemed quite > reasonable praise. Compared to what was available on Linux before, BTRFS is indeed "better." -- James Carlson 42.703N 71.076W From jimklimov at cos.ru Wed May 9 14:38:54 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 09 May 2012 18:38:54 +0400 Subject: [OpenIndiana-discuss] NFS mount of oi_148 filesystem by Linux fails In-Reply-To: References: Message-ID: <4FAA817E.20606@cos.ru> 2012-05-09 5:13, Martin Frost wrote: > I'm trying to export a ZFS filesystem on oi_148 via NFS, but the NFS > mount fails. The same ZFS filesystem is shared via CIFS, and that's > working. I hope CIFS sharing doesn't interfere with NFS exporting. Does your nfsserver's "dmesg" (/var/adm/messages) log have any reports like this: May 9 13:35:01 nfsserver mountd[9689]: [ID 770583 daemon.error] nfsclient.stanford.edu denied access to /nfsclient/filesys ? I am thinking towards name resolution errors: in OpenSolaris (maybe applicable to OI as well) the name service tended to pick a "primary" name for the host that is connecting, i.e. the first name on the line from /etc/hosts, or the PTR one from DNS, and ignore other seemingly valid names of the client. If you have NFS permissions for "nfsclient.stanford.edu" but the server recognizes its IP address as "nfsclient" for example, the permissions will be == denied. You can try to use "getent hosts nfsclient.stanford.edu" and "getent hosts 123.45.67.89" (with the nfsclient's IP address) on the server to check how it resolves names. You can try to work around this by: 1) Listing all possible host names in the sharenfs line, (or having good consistency in host naming via all possible methods used by the server to resolve names), 2) Adding the numeric IP address to permissions Either way, on the sharenfs command line you separate hosts by the doublecolon, i.e.: sharenfs='sec=sys,rw=nfsclient.stanford.edu:nfsclient:1.2.3.4,root=nfsclient.stanford.edu:nfsclient:1.2.3.4,anon=0' (the root and anon parts may be needed if you need remote root access not remapped to nobody) Good luck, //Jim From jimklimov at cos.ru Wed May 9 14:57:39 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 09 May 2012 18:57:39 +0400 Subject: [OpenIndiana-discuss] Question about halting a zone In-Reply-To: <4FAA2389.8060103@hebis.uni-frankfurt.de> References: <4FA9667E.8060602@cucumber.demon.co.uk> <4FAA2389.8060103@hebis.uni-frankfurt.de> Message-ID: <4FAA85E3.7050003@cos.ru> 2012-05-09 11:58, Uwe Reh ???????: > Am 08.05.2012 20:31, schrieb Andrew Gabriel: >>> I normally do: >>> zlogin myzone init 5 >> >> Solaris 11 has "zone shutdown" to do this. >> I don't recall if that was added before or after the fork. >> > This subcommand seems to be added after the fork. > It isn't supported by zoneadm in oi_151a4. Note that I've added an RFE for this. Seems relatively trivial (i.e. "shutdown" could wrap a call to "init 5" at least for native/Solaris branded zones), if someone wants to take on this quest: https://www.illumos.org/issues/2594 HTH, //Jim From rlhamil at smart.net Wed May 9 15:02:12 2012 From: rlhamil at smart.net (Richard L. Hamilton) Date: Wed, 9 May 2012 11:02:12 -0400 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA763D.80904@branneriet.se> References: <4FAA763D.80904@branneriet.se> Message-ID: For foreign data access alone, and not boot or extreme performance, surely a fuse-based implementation would work, avoid even the appearance of license issues, and of course be much quicker and easier to debug. From illumos at cucumber.demon.co.uk Wed May 9 15:07:53 2012 From: illumos at cucumber.demon.co.uk (Andrew Gabriel) Date: Wed, 09 May 2012 16:07:53 +0100 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA7B92.1060200@workingcode.com> References: <4FAA763D.80904@branneriet.se> <4FAA7B92.1060200@workingcode.com> Message-ID: <4FAA8849.7030504@cucumber.demon.co.uk> James Carlson wrote: > Each currently has advantages over the other in different departments. > On balance, from what I've seen of BTRFS in Fedora, ZFS has much more > over BTRFS than the reverse. But that's to be expected; ZFS is much > more mature. > > Frankly, I don't expect that to be a useful comparison unless someone is > planning to build a distribution where the default file system is > changed from ZFS to BTRFS. If someone is going to do that, then there > are a lot of other things that have to change -- the packaging system > and boot sequence all currently depend heavily on ZFS in OpenIndiana. > It'd be a lot of work to change all of that. > I went to a btrfs presentation a few weeks ago (in Holland). There are already package install changes in some linux distros to support btrfs snapshots, and also btrfs boot environments is under development, so changes in either direction may quickly become less than you might imagine. What did surprise me a bit was, in an audience of what I expect were mainly Linux users, almost no one had used btrfs (and no one at all had it on a Production system which was less of a surprise), but when asked, probably 2/3rds of them had used ZFS. -- Andrew From jmcentee at stirling-dynamics.com Wed May 9 15:43:46 2012 From: jmcentee at stirling-dynamics.com (John McEntee) Date: Wed, 9 May 2012 16:43:46 +0100 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: References: <4FAA763D.80904@branneriet.se> Message-ID: <00ab01cd2dfa$8538f9b0$8faaed10$@com> I think BTRFS on openindiana would be a distraction and not worth the effort at this point in time. At home I and trialling ZFS on linux (need linux for mythtv) and it works well. I have not tried BTRFS but there a few things I really like about ZFS and openindiana. 1.) The kernel cifs server is really simile to install and join to a domain, and the user,group,other ACLs can be removed entirely. Much better for my use case at work. 2.) Everything under the same zpool/zfs commands from block devices upwards, and raidz being better than raid 5 (no need to write the entire disk when it is replaced) 3.) Much more mature, out in production use for 6 years. 4.) Everything is configured on the filesystem. I have had a major failure of a root disk (not mirrored, under testing). All I did was reinstall, import the pool tank and rejoin the windows domain, and everything else worked as it was before the failure. 5) ZFS send and receive is great for a DR server. I believe BTRFS would limit all of the above, but I don't think is it even worth my time researching at the moment. John _______________________________________________________________________ The contents of this e-mail and any attachment(s) are strictly confidential and are solely for the person(s) at the e-mail address(es) above. If you are not an addressee, you may not disclose, distribute, copy or use this e-mail, and we request that you send an e-mail to admin at stirling-dynamics.com and delete this e-mail. Stirling Dynamics Ltd. accepts no legal liability for the contents of this e-mail including any errors, interception or interference, as internet communications are not secure. Any views or opinions presented are solely those of the author and do not necessarily represent those of Stirling Dynamics Ltd. Registered In England No. 2092114 Registered Office: 26 Regent Street, Clifton, Bristol. BS8 4HG VAT no. GB 464 6551 29 _______________________________________________________________________ This e-mail has been scanned for all viruses MessageLabs. From ironsides.medvet at gmail.com Wed May 9 17:00:47 2012 From: ironsides.medvet at gmail.com (Bryan N Iotti) Date: Wed, 09 May 2012 19:00:47 +0200 Subject: [OpenIndiana-discuss] PCIEX-8000-KP was Re: Nvidia errors on 151a4 In-Reply-To: <4FAA49D4.2070104@gmail.com> References: <4FAA49D4.2070104@gmail.com> Message-ID: <4FAAA2BF.50704@gmail.com> I was wrong on that, they went away for a couple of hours and then we were back to square one. I followed instructions on http://www.mail-archive.com/fm-discuss at opensolaris.org/msg00298.html and added pcie_ce_mask=-1; to both the nvidia.conf file and the pcieb.conf in /kernel/drv. The system has been stable for several hours now, I have monitored the fmdump -e output often and there have been no more occurrences. Bryan On 05/ 9/12 12:41 PM, Bryan N Iotti wrote: > To answer my own question, I have finally solved the issue proper (I > hope). > > Turns out that in the BIOS there was a feature I knew nothing about, > and HP never mentions. > > Turn off PCI SERR# Generation and all the fabric issues vanish. > > Hope this helps someone avoid the HELL it was to try and do anything > while the computer was crashing hard all the time. > > Bryan > > On 05/ 9/12 11:13 AM, Bryan Iotti wrote: >> Hi all, >> >> The reinstall went smoothly, but upon reinstall, fmd started to complain >> about problems with the only PCI Express x16 slot (slot 2) that holds >> the >> video card. >> >> It is littering the error log with reports of problems with the pci >> fabric >> and it freezes up shortly thereafter. Before the reinstall, I only >> had the >> errors in fmdump -e, the one in fmadm faulty had gone away after >> removing >> and cleaning the old dust-filled Quadro. >> >> This is a new card in the slot, an Asus Nvidia GTX 550 Ti. >> >> I have read up on the error: >> http://www.illumos.org/msg/PCIEX-8000KP >> >> On the Oracle blogs, it says that sometimes it's a fake, reported by fmd >> because of a bug they suppositely fixed in Sol 10 11/08 (I think). >> >> Now, my course of action was to try to disable the fmd modules >> relating to >> fabric and io by issuing fmadm disable io-report and fmdadm disable >> fabric-xlate, but to no avail, it still crashed and they are reloaded on >> reboot. I then tried to disable the fmd service in SMF. Crashed still. >> >> Any clues? I know the card is mounted properly and has enough power >> through >> the additional cable that runs from the PSU to the accessory 6 pin plug. >> >> Could it be that it's my motherboard that's kicking the can this time? >> >> Bryan >> On May 9, 2012 9:32 AM, "Bryan Iotti" >> wrote: >> >>> After a lot of time spent troubleshooting, only to see the crashes >>> become >>> more frequent, I ended up having to reinstall... This time I'm starting >>> from the 151a3 disk, not the 148 one, and I'll avoid setting >>> esoteric paths >>> and the like (after all, I kind of know where the software I need is >>> and I >>> can call it by full pathname). The old Quadro was moved to my other >>> machine, a dual boot Fedora16/WindowsXP rig I use for firmware >>> flashing and >>> some light gaming. >>> >>> Thank you all. >>> Bryan >>> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > From ray at arachelian.com Wed May 9 17:08:50 2012 From: ray at arachelian.com (Ray Arachelian) Date: Wed, 09 May 2012 13:08:50 -0400 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAA45DF.3070907@cucumber.demon.co.uk> References: <4FAA41A3.9030301@branneriet.se> <4FAA45DF.3070907@cucumber.demon.co.uk> Message-ID: <4FAAA4A2.4070006@arachelian.com> On 05/09/2012 06:24 AM, Andrew Gabriel wrote: > Hans J. Albertsson wrote: >> Would BTRFS be a viable FS for Openindiana? > > I would be interested to know what feature(s) of it you want that you > think are missing from OI? > I'm in favor of supporting all file systems (HFS+, NTFS, ext4, jfs, ffs, etc.). FUSE is probably the easiest way to go, but by all means. Would be very useful when transferring data from other systems. I wouldn't replace ZFS with it though. From damian at wojslaw.pl Wed May 9 17:40:53 2012 From: damian at wojslaw.pl (=?UTF-8?B?RGFtaWFuIFdvanPFgmF3?=) Date: Wed, 09 May 2012 19:40:53 +0200 Subject: [OpenIndiana-discuss] BTRFS for OI, anyone? In-Reply-To: <4FAAA4A2.4070006@arachelian.com> References: <4FAA41A3.9030301@branneriet.se> <4FAA45DF.3070907@cucumber.demon.co.uk> <4FAAA4A2.4070006@arachelian.com> Message-ID: <4FAAAC25.8000603@wojslaw.pl> W dniu 2012-05-09 19:08, Ray Arachelian pisze: > On 05/09/2012 06:24 AM, Andrew Gabriel wrote: >> Hans J. Albertsson wrote: >>> Would BTRFS be a viable FS for Openindiana? >> I would be interested to know what feature(s) of it you want that you >> think are missing from OI? >> > I'm in favor of supporting all file systems (HFS+, NTFS, ext4, jfs, ffs, > etc.). FUSE is probably the easiest way to go, but by all means. Would > be very useful when transferring data from other systems. I wouldn't > replace ZFS with it though. I can relate to this point of view. I've seen situations where multitude of supported FSs in Linux was plain advantage of the system. But then, we would need capable and willing people to do this. Damian From cpforum at orange.fr Wed May 9 20:12:38 2012 From: cpforum at orange.fr (cpforum) Date: Wed, 9 May 2012 22:12:38 +0200 (CEST) Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release Message-ID: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Hi, ? After a long time, Apache Software Fondation published yesterday OpenOffice 3.4. Solaris/OpenIndiana binaries are not available yet ! (same for LibreOffice). ? Yet or never ? ? Who knows ASF plans for Solaris11/Openindiana? Aoo binaries ? ? http://www.openoffice.org/news/aoo34.html From ironsides.medvet at gmail.com Wed May 9 20:27:04 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Wed, 9 May 2012 22:27:04 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: Same question I had today... good thing I found a link to OOo 3.3 via the internet archive. Bryqn On May 9, 2012 10:13 PM, "cpforum" wrote: > Hi, > > > > After a long time, Apache Software Fondation published yesterday > OpenOffice 3.4. > > Solaris/OpenIndiana binaries are not available yet ! (same for > LibreOffice). > > > > Yet or never ? > > > > Who knows ASF plans for Solaris11/Openindiana Aoo binaries ? > > > > http://www.openoffice.org/news/aoo34.html > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From jsowoc at gmail.com Wed May 9 20:50:08 2012 From: jsowoc at gmail.com (Jan Owoc) Date: Wed, 9 May 2012 14:50:08 -0600 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: On Wed, May 9, 2012 at 2:12 PM, cpforum wrote: > > After a long time, Apache Software Fondation published yesterday OpenOffice 3.4. > > Solaris/OpenIndiana binaries are not available yet ! (same for LibreOffice). > [...] > > Who knows ASF plans for Solaris11/Openindiana? Aoo binaries ? There was an extensive discussion on this list in January [1] about renewing a Solaris/OpenIndiana build of LibreOffice. Why do you want OpenOffice specifically? It was then decided that the proper place to discuss the topic would be the LibreOffice devel mailing list [2]. I didn't follow that thread, so don't know if any native build came out of it (I know someone tested that the Windows build + wine appears to run). [1] http://openindiana.org/pipermail/openindiana-discuss/2012-January/thread.html#6997 [2] http://lists.freedesktop.org/archives/libreoffice/2012-January/thread.html#24540 Jan From milan.jurik at xylab.cz Wed May 9 21:00:28 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Wed, 09 May 2012 23:00:28 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: <1336597228.1600.1.camel@xylabone> Hi, somebody built Aoo 3.4 beta few months back for Solaris/x86 (it was published on Apache web). So it is doable, it only needs somebody to do that. Best regards, Milan cpforum p??e v st 09. 05. 2012 v 22:12 +0200: > Hi, > > > > After a long time, Apache Software Fondation published yesterday OpenOffice 3.4. > > Solaris/OpenIndiana binaries are not available yet ! (same for LibreOffice). > > > > Yet or never ? > > > > Who knows ASF plans for Solaris11/Openindiana Aoo binaries ? > > > > http://www.openoffice.org/news/aoo34.html > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From bfriesen at simple.dallas.tx.us Wed May 9 21:26:27 2012 From: bfriesen at simple.dallas.tx.us (Bob Friesenhahn) Date: Wed, 9 May 2012 16:26:27 -0500 (CDT) Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: On Wed, 9 May 2012, Jan Owoc wrote: >> >> Who knows ASF plans for Solaris11/Openindiana? Aoo binaries ? > > There was an extensive discussion on this list in January [1] about > renewing a Solaris/OpenIndiana build of LibreOffice. Why do you want > OpenOffice specifically? The correct approach is for OpenIndiana to offer both LibreOffice and OpenOffice. Both of them will have their merits. Perhaps one will ultimately prevail or perhaps both will continue to be worthy projects. Apache OpenOffice does seem to have a large development team and has already added significant improvements. LibreOffice has been shipping in some Linux distributions for a while. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ From t12nslookup at gmail.com Wed May 9 22:02:11 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Wed, 9 May 2012 23:02:11 +0100 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: In January, I got quite a way through the compilation procedure for LibreOffice (using gcc) but got stuck compiling the dictionaries, with possible errors in gcc causing some trouble, I re-got the code from git last month, and the newer version of the code now compiles the dictionaries, but I cannot correctly compile the "tools" section ... If I have more time, in the future, I will try and tweak it again to get it to compile ... but it's not going to be very soon. Jon On 9 May 2012 21:50, Jan Owoc wrote: > On Wed, May 9, 2012 at 2:12 PM, cpforum wrote: >> >> After a long time, Apache Software Fondation published yesterday OpenOffice 3.4. >> >> Solaris/OpenIndiana binaries are not available yet ! (same for LibreOffice). >> > [...] >> >> Who knows ASF plans for Solaris11/Openindiana? Aoo binaries ? > > There was an extensive discussion on this list in January [1] about > renewing a Solaris/OpenIndiana build of LibreOffice. Why do you want > OpenOffice specifically? > It was then decided that the proper place to discuss the topic would > be the LibreOffice devel mailing list [2]. I didn't follow that > thread, so don't know if any native build came out of it (I know > someone tested that the Windows build + wine appears to run). > > [1] http://openindiana.org/pipermail/openindiana-discuss/2012-January/thread.html#6997 > [2] http://lists.freedesktop.org/archives/libreoffice/2012-January/thread.html#24540 > > Jan > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From me at cs.Stanford.EDU Thu May 10 02:08:36 2012 From: me at cs.Stanford.EDU (Martin Frost) Date: Wed, 09 May 2012 19:08:36 -0700 Subject: [OpenIndiana-discuss] NFS mount of oi_148 filesystem by Linux fails In-Reply-To: <4FAA817E.20606@cos.ru> (message from Jim Klimov on Wed, 09 May 2012 18:38:54 +0400) Message-ID: > Date: Wed, 09 May 2012 18:38:54 +0400 > From: Jim Klimov > > 2012-05-09 5:13, Martin Frost wrote: > > I'm trying to export a ZFS filesystem on oi_148 via NFS, but the NFS > > mount fails. The same ZFS filesystem is shared via CIFS, and that's > > working. I hope CIFS sharing doesn't interfere with NFS exporting. > > Does your nfsserver's "dmesg" (/var/adm/messages) log have any > reports like this: > > May 9 13:35:01 nfsserver mountd[9689]: [ID 770583 daemon.error] > nfsclient.stanford.edu denied access to /nfsclient/filesys ? Thanks for your reply. The annoying thing is that nothing is being logged at all. Turned out that the mount was failing because of the permissions, or more accurately, the ACLs of the directory being exported. I had to turn on one bit of access for 'everyone': owner@:rwxpdDaARWcCos:-------:allow everyone@:------a-------:-------:allow everyone@:rwxpdDaARWcCos:-------:deny read_attributes (a) The ability to read basic attributes (non-ACLs) of a file. Then I was able to mount. Martin From richard.palo at baou.fr Thu May 10 04:58:23 2012 From: richard.palo at baou.fr (Richard PALO) Date: Thu, 10 May 2012 06:58:23 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <1336597228.1600.1.camel@xylabone> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <1336597228.1600.1.camel@xylabone> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Apparently it is imminent: http://user.services.openoffice.org/en/forum/viewtopic.php?f=16&p=234391 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (SunOS) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPq0rvAAoJECAB22fHtp27mk8IAKqYy+IpZzs8vRqSJdZS3/Dq nVEd8NVRkZCvXju9Gz6FD+gl2hZ3vRAJ0bu5EoTsTfLxZbrI6KRQU6VLEOeJ/dRR 2qQDNA/gAKdzpIhaDTZt/s0NuK6GpJMHbBiWRIUPALyeemNs/DXPeo64bT/mI4Yq WZro2FFtqdbuAJ3m+M1Bme8W4RkmdNcmHQ3q9JUbysZh0nXtFm3UeThcSV5TQFxq f7FyyFGAAJhvUQ5ylhzuzQ/5oP/pX9A7tlHHKQM7fdzgAvI0jVCjlJH4qh/oImdr 9lwg/JTca9Yg7nBJehI654yeLlq6p8ABvezEUn3ql3m06YAf5GE3NFgWxK1EglE= =IsAb -----END PGP SIGNATURE----- From edwardlotus at gmail.com Thu May 10 08:17:41 2012 From: edwardlotus at gmail.com (Edward M) Date: Thu, 10 May 2012 01:17:41 -0700 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: <4FAB79A5.1070508@gmail.com> On 05/09/2012 01:12 PM, cpforum wrote: > After a long time, Apache Software Fondation published yesterday OpenOffice 3.4. > > Solaris/OpenIndiana binaries are not available yet ! (same for LibreOffice). Appears a build is in progress? http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336500864.32673.8.camel%40oipunk%3E PS: hope link works:-) From matt.connolly.au at gmail.com Thu May 10 11:26:53 2012 From: matt.connolly.au at gmail.com (Matt Connolly) Date: Thu, 10 May 2012 21:26:53 +1000 Subject: [OpenIndiana-discuss] Openldap SMF broken Message-ID: Hi, I'm trying to set up openldap on oi151a4. I've set up the config files and can run it from the command line, but it took a bit of stuffing around to get its SMF service to run. Even with the correct config, the service starts and then fails, presumably because the start method didn't return within the allowed 30 seconds time frame. I changed the startup script by putting a '&' at the end of the `exec $SLAPD` line so that the server ran in the background from the start script, and now it seems to be working. Is that the best way to do it?? I thought I remember reading somewhere that you could configure a SMF service to run a service as a long running program without requiring it to daemonize/fork. Couldn't find it though. -Matt From andreas.stenius at astekk.se Thu May 10 11:47:02 2012 From: andreas.stenius at astekk.se (Andreas Stenius) Date: Thu, 10 May 2012 13:47:02 +0200 Subject: [OpenIndiana-discuss] Openldap SMF broken In-Reply-To: References: Message-ID: Hi, Read section "A few twists" from http://wiki.openindiana.org/oi/Creating+new+services Cheers, Andreas 2012/5/10 Matt Connolly : > Hi, > > I'm trying to set up openldap on oi151a4. I've set up the config files > and can run it from the command line, but it took a bit of stuffing > around to get its SMF service to run. Even with the correct config, > the service starts and then fails, presumably because the start method > didn't return within the allowed 30 seconds time frame. > > I changed the startup script by putting a '&' at the end of the `exec > $SLAPD` line so that the server ran in the background from the start > script, and now it seems to be working. > > Is that the best way to do it?? I thought I remember reading somewhere > that you could configure a SMF service to run a service as a long > running program without requiring it to daemonize/fork. Couldn't find > it though. > > > -Matt > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From matt.connolly.au at gmail.com Thu May 10 11:51:19 2012 From: matt.connolly.au at gmail.com (Matt Connolly) Date: Thu, 10 May 2012 21:51:19 +1000 Subject: [OpenIndiana-discuss] Openldap SMF broken In-Reply-To: References: Message-ID: On 10/05/2012, at 9:47 PM, Andreas Stenius wrote: > Hi, > > Read section "A few twists" from > http://wiki.openindiana.org/oi/Creating+new+services > Ha, thanks! That's exactly the page I read but couldn't find again!! > Cheers, > Andreas > > 2012/5/10 Matt Connolly : >> Hi, >> >> I'm trying to set up openldap on oi151a4. I've set up the config files >> and can run it from the command line, but it took a bit of stuffing >> around to get its SMF service to run. Even with the correct config, >> the service starts and then fails, presumably because the start method >> didn't return within the allowed 30 seconds time frame. >> >> I changed the startup script by putting a '&' at the end of the `exec >> $SLAPD` line so that the server ran in the background from the start >> script, and now it seems to be working. >> >> Is that the best way to do it?? I thought I remember reading somewhere >> that you could configure a SMF service to run a service as a long >> running program without requiring it to daemonize/fork. Couldn't find >> it though. >> >> >> -Matt >> From ian at crystal.harvard.edu Thu May 10 18:06:44 2012 From: ian at crystal.harvard.edu (Ian Levesque) Date: Thu, 10 May 2012 14:06:44 -0400 Subject: [OpenIndiana-discuss] boot-archive timing out after 3ware driver install Message-ID: <2E0B973B-13A3-4DEF-B06D-F263D47023BD@crystal.harvard.edu> Hello, I have a file server with OpenIndiana 151a4 installed. It has a 3ware 9750 SAS card installed with 13 drives attached. I configured each drive as a "single" disk (there's no JBOD/passthrough), and then setup a zpool with said drives. When I rebooted the server, however, it appears that activating the individual drives is taking too long for the boot-archive to finish loading. Here's what I see during boot: WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=11 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=7 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=1 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=6 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=8 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=5 May 10 12:55:06 svc.startd[10]: svc:/system/boot-archive:default: Method or service exit timed out. Killing contract 19. May 10 12:55:06 svc.startd[10]: svc:/system/boot-archive:default: Method "/lib/svc/method/boot-archive" failed due to signal KILL. WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=12 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=2 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=0 This causes some 70-odd services to thereby fail, leaving the system pretty much in maintenance mode. If I remove the 3ware drivers from /kernel/drv/amd64/ and /kernel/drv/ then reboot, there are no errors with the boot-archive. Unfortunately, there are also no storage drives for my zpool. The closest google turns up is here: http://www.unix.com/solaris/155331-system-stuck-up-maintanence-mode.html I did run `svccfg -s boot-archive setprop start/timeout_seconds=180` but the /var/svc/log/system-boot-archive:default.log seems to indicate that I'm only getting 60 seconds: [ May 10 12:54:03 Enabled. ] [ May 10 12:54:06 Executing start method ("/lib/svc/method/boot-archive"). ] [ May 10 12:55:06 Method or service exit timed out. Killing contract 19. ] # svccfg -s boot-archive listprop | grep timeout start/timeout_seconds count 180 stop/timeout_seconds count 3 Any advice other than throw away my $500 HBA? :) Best, Ian From mike.laspina at laspina.ca Thu May 10 19:40:18 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Thu, 10 May 2012 14:40:18 -0500 Subject: [OpenIndiana-discuss] boot-archive timing out after 3ware driverinstall In-Reply-To: <2E0B973B-13A3-4DEF-B06D-F263D47023BD@crystal.harvard.edu> References: <2E0B973B-13A3-4DEF-B06D-F263D47023BD@crystal.harvard.edu> Message-ID: <8F607366E3C0F9499212649291E0BD6404795F@MS1.laspina.ca> The only thing I can think of is ... did you refresh the active service manifest? e.g. svcadm refresh boot-archive:default -----Original Message----- From: Ian Levesque [mailto:ian at crystal.harvard.edu] Sent: Thursday, May 10, 2012 1:07 PM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] boot-archive timing out after 3ware driverinstall Hello, I have a file server with OpenIndiana 151a4 installed. It has a 3ware 9750 SAS card installed with 13 drives attached. I configured each drive as a "single" disk (there's no JBOD/passthrough), and then setup a zpool with said drives. When I rebooted the server, however, it appears that activating the individual drives is taking too long for the boot-archive to finish loading. Here's what I see during boot: WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=11 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=7 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=1 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=6 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=8 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=5 May 10 12:55:06 svc.startd[10]: svc:/system/boot-archive:default: Method or service exit timed out. Killing contract 19. May 10 12:55:06 svc.startd[10]: svc:/system/boot-archive:default: Method "/lib/svc/method/boot-archive" failed due to signal KILL. WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=12 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=2 WARNING: tw0: tw_aen_task AEN 0x0090 Unit now in active mode unit=0 This causes some 70-odd services to thereby fail, leaving the system pretty much in maintenance mode. If I remove the 3ware drivers from /kernel/drv/amd64/ and /kernel/drv/ then reboot, there are no errors with the boot-archive. Unfortunately, there are also no storage drives for my zpool. The closest google turns up is here: http://www.unix.com/solaris/155331-system-stuck-up-maintanence-mode.html I did run `svccfg -s boot-archive setprop start/timeout_seconds=180` but the /var/svc/log/system-boot-archive:default.log seems to indicate that I'm only getting 60 seconds: [ May 10 12:54:03 Enabled. ] [ May 10 12:54:06 Executing start method ("/lib/svc/method/boot-archive"). ] [ May 10 12:55:06 Method or service exit timed out. Killing contract 19. ] # svccfg -s boot-archive listprop | grep timeout start/timeout_seconds count 180 stop/timeout_seconds count 3 Any advice other than throw away my $500 HBA? :) Best, Ian _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From ian at crystal.harvard.edu Thu May 10 20:38:01 2012 From: ian at crystal.harvard.edu (Ian Levesque) Date: Thu, 10 May 2012 16:38:01 -0400 Subject: [OpenIndiana-discuss] boot-archive timing out after 3ware driverinstall In-Reply-To: <8F607366E3C0F9499212649291E0BD6404795F@MS1.laspina.ca> References: <2E0B973B-13A3-4DEF-B06D-F263D47023BD@crystal.harvard.edu> <8F607366E3C0F9499212649291E0BD6404795F@MS1.laspina.ca> Message-ID: <9067412E-E1FB-4C17-B41C-256CD697440F@crystal.harvard.edu> On May 10, 2012, at 3:40 PM, Mike La Spina wrote: >> The closest google turns up is here: >> http://www.unix.com/solaris/155331-system-stuck-up-maintanence-mode.html >> I did run `svccfg -s boot-archive setprop start/timeout_seconds=180` but >> the /var/svc/log/system-boot-archive:default.log seems to indicate that >> I'm only getting 60 seconds: >> >> [ May 10 12:54:03 Enabled. ] >> [ May 10 12:54:06 Executing start method >> ("/lib/svc/method/boot-archive"). ] [ May 10 12:55:06 Method or service >> exit timed out. Killing contract 19. ] >> >> # svccfg -s boot-archive listprop | grep timeout >> >> start/timeout_seconds count 180 >> stop/timeout_seconds count 3 > > The only thing I can think of is ... did you refresh the active service > manifest? > > e.g. > > svcadm refresh boot-archive:default This seems to have done the trick, thanks! But, shouldn't running svccfg's setprop have stuck without running "refresh"? Cheers, Ian From carlsonj at workingcode.com Thu May 10 20:45:56 2012 From: carlsonj at workingcode.com (James Carlson) Date: Thu, 10 May 2012 16:45:56 -0400 Subject: [OpenIndiana-discuss] boot-archive timing out after 3ware driverinstall In-Reply-To: <9067412E-E1FB-4C17-B41C-256CD697440F@crystal.harvard.edu> References: <2E0B973B-13A3-4DEF-B06D-F263D47023BD@crystal.harvard.edu> <8F607366E3C0F9499212649291E0BD6404795F@MS1.laspina.ca> <9067412E-E1FB-4C17-B41C-256CD697440F@crystal.harvard.edu> Message-ID: <4FAC2904.7030200@workingcode.com> Ian Levesque wrote: > This seems to have done the trick, thanks! But, shouldn't running svccfg's setprop have stuck without running "refresh"? It's not infrequently confusing. Merely restarting a service is not enough to copy data from the "current" to the "running" configuration. The reason it's done this way is so that the normal behavior of the restarter can be stable. In other words, if a service fails on its own, and if the restarter needs to try it again automatically, you probably wouldn't want to see the newly-restarted instance magically show up with a different configuration merely because you'd long ago done a setprop without a refresh. What is "current" is thus not defined in terms of running processes (as it is on most other systems), but in terms of SMF internal state. Arguably, an administrative request to shut down or restart should probably copy over the configuration as if you said "refresh", because it's almost certainly what you intend, but that's just not how it works. -- James Carlson 42.703N 71.076W From ian at crystal.harvard.edu Thu May 10 21:25:51 2012 From: ian at crystal.harvard.edu (Ian Levesque) Date: Thu, 10 May 2012 17:25:51 -0400 Subject: [OpenIndiana-discuss] boot-archive timing out after 3ware driverinstall In-Reply-To: <4FAC2904.7030200@workingcode.com> References: <2E0B973B-13A3-4DEF-B06D-F263D47023BD@crystal.harvard.edu> <8F607366E3C0F9499212649291E0BD6404795F@MS1.laspina.ca> <9067412E-E1FB-4C17-B41C-256CD697440F@crystal.harvard.edu> <4FAC2904.7030200@workingcode.com> Message-ID: On May 10, 2012, at 4:45 PM, James Carlson wrote: > Ian Levesque wrote: >> This seems to have done the trick, thanks! But, shouldn't running svccfg's setprop have stuck without running "refresh"? > > It's not infrequently confusing. Merely restarting a service is not > enough to copy data from the "current" to the "running" configuration. > > The reason it's done this way is so that the normal behavior of the > restarter can be stable. In other words, if a service fails on its own, > and if the restarter needs to try it again automatically, you probably > wouldn't want to see the newly-restarted instance magically show up with > a different configuration merely because you'd long ago done a setprop > without a refresh. > > What is "current" is thus not defined in terms of running processes (as > it is on most other systems), but in terms of SMF internal state. > > Arguably, an administrative request to shut down or restart should > probably copy over the configuration as if you said "refresh", because > it's almost certainly what you intend, but that's just not how it works. What an excellent explanation - thanks for the context, James. I wish it was better spelled out in the manual, but hopefully the web archived version of this thread will help the next google searcher. Cheers, Ian From milan.jurik at xylab.cz Fri May 11 09:13:50 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Fri, 11 May 2012 11:13:50 +0200 Subject: [OpenIndiana-discuss] pkg: No image found. Message-ID: Hi, after update to prestable3, all my local zones are reporting "pkg: No image found." for all pkg operations. Update of zones was done by usual detach/attach -u, this works. Also if I run pkg -R from global zone, it works. But not in zone itself. Am I alone? Best regards, Milan From damian at wojslaw.pl Fri May 11 10:42:29 2012 From: damian at wojslaw.pl (=?UTF-8?B?RGFtaWFuIFdvanPFgmF3?=) Date: Fri, 11 May 2012 12:42:29 +0200 Subject: [OpenIndiana-discuss] Hackaton, friendly reminder Message-ID: <4FACED15.9040208@wojslaw.pl> Hi Just a friendly reminder about illumos hackaton at OpenStorageSummit. Links: http://www.meetup.com/illumos-User-Group/events/56953802/ http://www.openstoragesummit.org/ Time: Wednesday, May 23, 2012 Regards Damian Wojs?aw From richlowe at richlowe.net Fri May 11 15:17:51 2012 From: richlowe at richlowe.net (Richard Lowe) Date: Fri, 11 May 2012 11:17:51 -0400 Subject: [OpenIndiana-discuss] pkg: No image found. In-Reply-To: References: Message-ID: That sounds like the pkg in the zone didn't get updated, and doesn't speak the new image format (which the pkg in the GZ updated it to). -- Rich From whitetr6 at gmail.com Fri May 11 17:34:41 2012 From: whitetr6 at gmail.com (Mark Creamer) Date: Fri, 11 May 2012 13:34:41 -0400 Subject: [OpenIndiana-discuss] pkg: No image found. In-Reply-To: References: Message-ID: Having the same issue after updating global and non-global zones to oi_151a4. Cant install anything new on the non-global zones. - Mark On Fri, May 11, 2012 at 5:13 AM, Milan Jurik wrote: > Hi, > > after update to prestable3, all my local zones are reporting "pkg: No image > found." for all pkg operations. > > Update of zones was done by usual detach/attach -u, this works. Also if I > run pkg -R from global zone, it works. But not in zone > itself. > > Am I alone? > > Best regards, > > Milan > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- Mark From milan.jurik at xylab.cz Fri May 11 19:23:23 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Fri, 11 May 2012 21:23:23 +0200 Subject: [OpenIndiana-discuss] pkg: No image found. In-Reply-To: References: Message-ID: <1336764203.1313.5.camel@xylabone> Hi Rich, Richard Lowe p??e v p? 11. 05. 2012 v 11:17 -0400: > That sounds like the pkg in the zone didn't get updated, and doesn't > speak the new image format (which the pkg in the GZ updated it to). > and you are right: root at housenka:~# pkg info package/pkg FMRI: pkg://openindiana.org/package/pkg at 0.5.11,5.11-0.151.1.4:20120503T053231Z root at housenka:~# pkg -R /zones/illumos/root info package/pkg FMRI: pkg://openindiana.org/package/pkg at 0.5.11,5.11-0.151.1.2:20120209T215350Z root at housenka:~# pkg -R /zones/illumos/root install -v package/pkg No updates necessary for this image. root at housenka:~# pkg -R /zones/illumos/root install -v pkg://openindiana.org/package/pkg at 0.5.11,5.11-0.151.1.4:20120503T053231Z Creating Plan / pkg install: No matching version of package/pkg can be installed: Reject: pkg://openindiana.org/package/pkg at 0.5.11,5.11-0.151.1.4:20120503T053231Z Reason: This version is excluded by installed incorporation pkg://openindiana.org/consolidation/ips/ips-incorporation at 0.5.11,5.11-0.151.1.2:20120209T214215Z root at housenka:~# pkg -R /zones/illumos/root install -v pkg://openindiana.org/consolidation/ips/ips-incorporation at 0.5.11,5.11-0.151.1.4:20120503T051910Z Packages to install: 6 Packages to update: 8 Estimated space available: 1.41 TB Estimated space to be consumed: 213.21 MB Create boot environment: No Create backup boot environment: No Services to change: 1 Rebuild boot archive: No Changed packages: openindiana.org library/python-2/cherrypy-26 None -> 3.1.2,5.11-0.151.1.4:20120507T180059Z library/python-2/m2crypto-26 None -> 0.21.1,5.11-0.151.1.4:20120507T180102Z library/python-2/mako-26 None -> 0.4.1,5.11-0.151.1.4:20120507T180104Z library/python-2/ply-26 None -> 3.1,5.11-0.151.1.4:20120507T180106Z library/python-2/pybonjour-26 None -> 1.1.1,5.11-0.151.1.4:20120507T180107Z library/python-2/pycurl-26 None -> 7.19.0.1,5.11-0.151.1.4:20120507T180108Z consolidation/ips/ips-incorporation 0.5.11,5.11-0.151.1.2:20120209T214215Z -> 0.5.11,5.11-0.151.1.4:20120503T051910Z library/python-2/cherrypy 3.1.2,5.11-0.151.1.2:20120209T215117Z -> 3.1.2,5.11-0.151.1.4:20120507T180059Z library/python-2/m2crypto 0.20.0,5.11-0.151.1.2:20120209T215121Z -> 0.21.1,5.11-0.151.1.4:20120507T180103Z library/python-2/mako 0.2.2,5.11-0.151.1.2:20120209T215124Z -> 0.4.1,5.11-0.151.1.4:20120507T180104Z library/python-2/ply 3.1,5.11-0.151.1.2:20120209T215127Z -> 3.1,5.11-0.151.1.4:20120507T180106Z library/python-2/pybonjour 1.1.1,5.11-0.151.1.2:20120209T215129Z -> 1.1.1,5.11-0.151.1.4:20120507T180108Z library/python-2/pycurl 7.19.0.1,5.11-0.151.1.2:20120209T215129Z -> 7.19.0.1,5.11-0.151.1.4:20120507T180109Z package/pkg 0.5.11,5.11-0.151.1.2:20120209T215350Z -> 0.5.11,5.11-0.151.1.4:20120503T053231Z Services: restart_fmri: svc:/system/manifest-import:default DOWNLOAD PKGS FILES XFER (MB) Completed 14/14 403/403 2.5/2.5 PHASE ACTIONS Removal Phase 215/215 Install Phase 300/300 Update Phase 451/451 PHASE ITEMS Package State Update Phase 22/22 Package Cache Update Phase 8/8 Image State Update Phase 2/2 And now it works. So it seems that attach -u is not doing what's expected from me. I had to do 'pkg update' in the zone then also. Best regards, Milan From andy at time-domain.co.uk Sat May 12 06:07:46 2012 From: andy at time-domain.co.uk (andy thomas) Date: Sat, 12 May 2012 07:07:46 +0100 (BST) Subject: [OpenIndiana-discuss] Hitachi 4 TB disks + HP Microserver + OI 151 + ZFS In-Reply-To: <4F9D2733.4000406@computer.org> References: <4F9BCE92.10507@computer.org> <15456071.7.1335629604915.JavaMail.root@zimbra> <4F9C3979.7020804@computer.org> <4F9C41BB.70609@computer.org> <4F9D2733.4000406@computer.org> Message-ID: On Sun, 29 Apr 2012, Enrico wrote: > thank you Andy for this info > let us know your experience when you'll setup-up the disks I didn't have any problems at all when I did this. I added the three 4 TB disks to the system alongside the 250 GB disk it was supplied with and booted OI 151a off a USB DVD drive after first editing the grub boot stanza to replace the $ISADIR variable with 'amd64', as OI doesn't auto-detect the fact that this microserver is fitted with a 64-bit CPU. At the start of the live image installation, OI correctly detects all 4 disks but reports that only 2 TB of the 4 TB disks is usable if they are used as boot disks. So I installed to the 250 GB disk and then created the pool with: zpool create lapback1 raidz c2t1d0 c2t2d0 c2t3d0 zfs create lapback1/backups It checks out OK: andy at lapback1:~# zfs list NAME USED AVAIL REFER MOUNTPOINT lapback1 890K 7.13T 202K /lapback1 lapback1/backups 192K 7.13T 192K /lapback1/backups rpool 4.90G 223G 46.5K /rpool rpool/ROOT 2.93G 223G 31K legacy rpool/ROOT/openindiana 2.93G 223G 2.91G / rpool/dump 959M 223G 959M - rpool/export 34.2M 223G 32K /export rpool/export/home 34.2M 223G 32K /export/home rpool/export/home/andy 34.2M 223G 34.2M /export/home/andy rpool/swap 1020M 224G 137M - and: andy at lapback1:~# iostat -en ---- errors --- s/w h/w trn tot device 0 0 0 0 c2t0d0 0 0 0 0 c2t1d0 0 0 0 0 c2t2d0 0 0 0 0 c2t3d0 I will be using these servers at a university for automated backups of user laptops (Windows, Macs, Linux and the odd FreeBSD user) so that 5 minutes after a laptop connects to the network, it either backs up incrementally or syncs the laptop with the server using rsync. (The existing service runs on a Sun E450 running Open Solaris 134 SPARC and fitted with 19 x 300 GB disks in three ZFS pools but we now need more storage space and 300 GB is the limit for conventional SCSI disks). I will post any problems I have with this in 'production' here. Andy > On 04/29/2012 09:24 AM, andy thomas wrote: >> On Sat, 28 Apr 2012, Enrico wrote: >> >>> did a little research, just because i'm curious about this, my storage >>> needs >>> are much lower :) >>> >>> they say >>> (http://forums.overclockers.com.au/showpost.php?p=13963218&postcount=4727) >>> that SB820M south-bridge on n40l has a limit of 3.2tb for hdd capacity. >>> but >>> there are no such details on the official specs: >>> support.amd.com/us/Embedded_TechDocs/47283.pdf >>> i hope this helps a bit >> >> A comment from a poster called 'AFireInside' on this same forum says AMD >> confirms that 4 TB disks will work in the N40L Microserver: >> >> http://forums.overclockers.com.au/showthread.php?s=a97e85a928a1e6997245557220f4b729&t=1009531&page=2 >> >> >> Also, HP's own specifications confirm that this unit is suitable for 4 TB >> disks: >> >> http://h18000.www1.hp.com/products/quickspecs/13716_div/13716_div.html >> >> A lot of the comments saying otherwise seem to relate to the earlier N36L >> model, >> earlier BIOS versions and booting Windows from disks larger than 3.2 TB. >> >> As for using Advanced Format disks with 4K sectors in ZFS pools, the worst >> case >> scenario would be that these disks can be used in a backwards-compatible >> legacy >> 512 byte sector format but with slower r/w performance. Also, Hitachi >> provide a >> Windows utility to re-align 4k sectors on their drives although I'm not >> sure >> whether this would suit OI/ZFS. >> >> Finally, it looks like OI has some support for 4k sector disks: >> >> http://wiki.openindiana.org/pages/viewpage.action?pageId=4883847 >> >> and ZFS pools can be created with the 'zpool create block-size 4096 ...' >> option. >> >> I'll take the plunge and order a N40L Microserver plus 3 x 4 TB disks and >> I'll >> post my experiences here. >> >> cheers, Andy >> >>> On 04/28/2012 08:39 PM, Enrico wrote: >>>> Hi roy, >>>> yes, right, it was just to tell Andy what I've tested with this hp system >>>> and >>>> OI. i think there are many people who have written in detail their >>>> experience >>>> about supported hdd sizes in forums easily reachable just by googling >>>> n40l. let >>>> me also correct what i've written before: the adaptec 1045/1405 are >>>> luckily >>>> supported by the aac driver, despite what is written on the man page. the >>>> si3124 >>>> driver refers to a sata controller i've tested successfully on the pciex1 >>>> slot. >>>> Best regards, >>>> Enrico >>>> >>>> On 04/28/2012 06:13 PM, Roy Sigurd Karlsbakk wrote: >>>>> It probably won't help much. Any SATA controller should recognize the >>>>> 4TB >>>>> drives, and the problem with the drives lying about sector sizes won't >>>>> be any >>>>> better whatever controller you use. >>>>> >>>>> roy >>>>> >>>>> ----- Opprinnelig melding ----- >>>>>> maybe this might help: >>>>>> http://www.adaptec.com/en-us/products/controllers/hardware/sas/entry/asc-1045/ >>>>>> it is recognized on a n40l and it is supported by the si3124 driver >>>>>> >>>>>> On 04/28/2012 09:54 AM, andy thomas wrote: >>>>>>> For some time now I've successfully been using ZFS RAIDz pools made >>>>>>> up of 3 x 1 >>>>>>> TB or 3 x 2 TB Western Digital Caviar Black disks in a HP >>>>>>> MicroServer N36L >>>>>>> running OI 148 or 151. I'm now thinking of using the newer HP N40L >>>>>>> microserver >>>>>>> with 3 x 4 TB disks (Hitachi DeskStart 7K4000) which have 4096 byte >>>>>>> sectors. Can >>>>>>> anyone foresee a problem with this? >>>>>>> >>>>>>> I plan to set up several of these storage servers in mirrored pairs >>>>>>> so I want to >>>>>>> make sure this will work before ordering anything. >>>>>>> >>>>>>> Thanks in advance for any comments or advice, >>>>>>> >>>>>>> Andy >>>>>>> >>>>>>> --------------------------------- >>>>>>> Andy Thomas, >>>>>>> Time Domain Systems >>>>>>> >>>>>>> Tel: +44 (0)7866 556626 >>>>>>> Fax: +44 (0)20 8372 2582 >>>>>>> http://www.time-domain.co.uk >>>>>> >>>>>> _______________________________________________ >>>>>> OpenIndiana-discuss mailing list >>>>>> OpenIndiana-discuss at openindiana.org >>>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss >>>>> >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >>> >> >> >> --------------------------------- >> Andy Thomas, >> Time Domain Systems >> >> Tel: +44 (0)7866 556626 >> Fax: +44 (0)20 8372 2582 >> http://www.time-domain.co.uk > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > --------------------------------- Andy Thomas, Time Domain Systems Tel: +44 (0)7866 556626 Fax: +44 (0)20 8372 2582 http://www.time-domain.co.uk From edwardlotus at gmail.com Sun May 13 16:29:20 2012 From: edwardlotus at gmail.com (Edward M) Date: Sun, 13 May 2012 09:29:20 -0700 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> Message-ID: <4FAFE160.9050601@gmail.com> On 05/09/2012 01:12 PM, cpforum wrote: > Hi, > > > > After a long time, Apache Software Fondation published yesterday OpenOffice 3.4. > > Solaris/OpenIndiana binaries are not available yet ! (same for LibreOffice). > > > > Yet or never ? > > > > Who knows ASF plans for Solaris11/Openindiana Aoo binaries ? > > > > http://www.openoffice.org/news/aoo34.html > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss i too run Openoffice on OI and Solaris. So I emailed to OpenOffice dev mailing list, and it seems that an outside group are handling the solaris port and and also appears for now it will be available only for SPARC. http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336819590.18288.52.camel%40oipunk%3E From hans.j.albertsson at branneriet.se Mon May 14 07:00:11 2012 From: hans.j.albertsson at branneriet.se (Hans J. Albertsson) Date: Mon, 14 May 2012 09:00:11 +0200 Subject: [OpenIndiana-discuss] moving existing rpool onto larger disks, in-place: zpool/zfs ashift/blocksize musings In-Reply-To: References: Message-ID: <4FB0AD7B.3040404@branneriet.se> I have an OI151a4 system with old 500GB disks in a mirrored pair for the rpool, and no further disks. For various reasons I'd like to expand the available space by replacing the 500GB disks with 2TB disks. I'd like to do this IN-PLACE, but I see a few problems in that the new disks are naturally 4K blocksize, but falsely report 512 byte blocksize. First: Can you ever efficiently migrate a zpool with ashift=9 to a 4k block disk by just adding the new disk as a 3rd mirror? Regardless of what blocksize the disk reports? Second: Can you manage the problem of the false blocksize report in a situation like this? Third: How can one check to see what parameters (like ashift( a particular pool uses? From ironsides.medvet at gmail.com Mon May 14 07:28:54 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Mon, 14 May 2012 09:28:54 +0200 Subject: [OpenIndiana-discuss] moving existing rpool onto larger disks, in-place: zpool/zfs ashift/blocksize musings In-Reply-To: <4FB0AD7B.3040404@branneriet.se> References: <4FB0AD7B.3040404@branneriet.se> Message-ID: To obtain the ashift value for a pool, try # zdb | grep ashift I've had a terrible experience with my 2TB WD Caviar Green, only recently improved by separating it from the mirror I had and using it as a long term backup unit after formatting with a modified version of zpool, called zpool-12, which sets the proper ashift value. I think you could get around this issue to use the disk for a normal pool, where the whole disk is formatted using EFI, but rpool does not use this setup and instead creates a Solaris partition containing the filesystem. I hope I am wrong inthis, since 4k drives are becoming more common and can apparently be a real b### to work with if you want some performance out of them. All of this to better support Windows XP (rolleyes) Bryan On May 14, 2012 9:01 AM, "Hans J. Albertsson" < hans.j.albertsson at branneriet.se> wrote: > I have an OI151a4 system with old 500GB disks in a mirrored pair for the > rpool, and no further disks. > For various reasons I'd like to expand the available space by replacing > the 500GB disks with 2TB disks. > I'd like to do this IN-PLACE, but I see a few problems in that the new > disks are naturally 4K blocksize, but falsely report 512 byte blocksize. > > First: Can you ever efficiently migrate a zpool with ashift=9 to a 4k > block disk by just adding the new disk as a 3rd mirror? Regardless of what > blocksize the disk reports? > > Second: Can you manage the problem of the false blocksize report in a > situation like this? > > Third: How can one check to see what parameters (like ashift( a > particular pool uses? > > ______________________________**_________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@**openindiana.org > http://openindiana.org/**mailman/listinfo/openindiana-**discuss > From minikola at gmail.com Mon May 14 10:55:57 2012 From: minikola at gmail.com (Nikola M.) Date: Mon, 14 May 2012 12:55:57 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FAFE160.9050601@gmail.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> Message-ID: <4FB0E4BD.1010209@gmail.com> On 05/13/12 06:29 PM, Edward M wrote: > i too run Openoffice on OI and Solaris. So I emailed to OpenOffice > dev mailing list, > and it seems that an outside group are handling the solaris port > and and also appears > for now it will be available only for SPARC. > > > http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336819590.18288.52.camel%40oipunk%3E I asked the same question about OpenOffice On SunOS : Openindiana/Solaris and got answer that build open Apache OpenOffice is there for x86 for testing: http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=53739 And Link with developer snapshots for testing that includes some build how-to documentation: https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots by Mouette Yang using Solaris Studio 12.3 and targeting Solaris 10 (and 11) And also about group making Opensolaris/SPARC OpenOffice: http://adfinis-sygroup.ch/aoo-solaris-sparc (and scripts usable for x86 build available) From bentaylor.solx86 at gmail.com Mon May 14 14:46:58 2012 From: bentaylor.solx86 at gmail.com (Ben Taylor) Date: Mon, 14 May 2012 14:46:58 +0000 Subject: [OpenIndiana-discuss] moving existing rpool onto larger disks, in-place: zpool/zfs ashift/blocksize musings In-Reply-To: <4FB0AD7B.3040404@branneriet.se> References: <4FB0AD7B.3040404@branneriet.se> Message-ID: If you can add the third disk, why not do a zfs send/receive to put it down on the new disk with a new rpool name. Then you can just move the disk around (or the bios settings) and do a little magic to boot to the new disk. On Mon, May 14, 2012 at 7:00 AM, Hans J. Albertsson wrote: > I have an OI151a4 system with old 500GB disks in a mirrored pair for the > rpool, and no further disks. > For various reasons I'd like to expand the available space by replacing the > 500GB disks with 2TB disks. > I'd like to do this IN-PLACE, but I see a few problems in that the new disks > are naturally 4K blocksize, but falsely report 512 byte blocksize. > > First: Can you ever efficiently migrate a zpool with ashift=9 to a 4k block > disk by just adding the new disk as a 3rd mirror? Regardless of what > blocksize the disk reports? > > Second: Can you manage the problem of the false blocksize report in a > situation like this? > > Third: How can one check to see ?what parameters (like ashift( a particular > pool uses? > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From sommerfeld at alum.mit.edu Mon May 14 14:59:15 2012 From: sommerfeld at alum.mit.edu (Bill Sommerfeld) Date: Mon, 14 May 2012 07:59:15 -0700 Subject: [OpenIndiana-discuss] moving existing rpool onto larger disks, in-place: zpool/zfs ashift/blocksize musings In-Reply-To: <4FB0AD7B.3040404@branneriet.se> References: <4FB0AD7B.3040404@branneriet.se> Message-ID: <4FB11DC3.7000308@alum.mit.edu> On 05/14/12 00:00, Hans J. Albertsson wrote: > First: Can you ever efficiently migrate a zpool with ashift=9 to a 4k > block disk by just adding the new disk as a 3rd mirror? Regardless of > what blocksize the disk reports? I butted heads with this yesterday, and concluded "no". I attempted to moved a backup pool from an external USB enclosure to directly connected SATA, and it failed, with scary status messages from zpool import implying unrecoverable data corruption. The pool was created with ashift=9, presumably because the USB enclosure presented a block size of 512. The disks were "advanced format" disks with 4K physical sectors; I moved the disks back to the USB enclosure and the pool was fine. > Third: How can one check to see what parameters (like ashift( a > particular pool uses? ashift is a property in the zfs volume label, which you can see with: zdb -l /dev/dsk/c0t0d0s0 - Bill From bluethundr at gmail.com Mon May 14 18:50:09 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 14 May 2012 14:50:09 -0400 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) Message-ID: Hello list, I was trying to fix a problem I was having in being able to ping external hosts. For some reason I was able to ping other hosts on the network but had to reboot after installing a package. When the host (an OI 151 box) came back up it wasn't able to ping anything except itself. The links were setup in an active/passive link aggregate called aggr0. I decided to attempt to recreate the link pool with the dladm remove-aggr command. But when I typed dladm remove-aggr -d e1000g1 1 I see the message : dladm: remove operation failed: object not found. Which is weird because if I do a dladm show-aggr I see the aggregate in question. I was able to unplumb the aggregate link with ifconfig aggr0 unplumb. But I cannot plumb or unplumb the individual physical links at this point. If I unplumb them I get ifconfig unplumb e1000g0 ifconfig: cannot unplumb e1000g0: Interface does not exist When I plumb it I see: ifconfig e1000g0 plumb ifconfig: cannot plumb e1000g0: Interface already in use This is a very confusing situation! Does anyone have any solution for this? I need to be able to delete the link aggregation, plumb the individual interfaces and verify they are working before recreating the aggregate. I have good instructions for creating an aggregate and it was working well at one recent point. But I decided to try another tutorial that lead me down this path, and now I know which one to avoid! thanks for any advice you may have -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From bluethundr at gmail.com Mon May 14 19:14:12 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 14 May 2012 15:14:12 -0400 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: References: Message-ID: ok, disaster averted ! I tried a different flag the command I was using; dladm delete-aggr -t aggr0 1 that allowed me to delete the virtual interface. Then, at that point I was able to plum and unplumb the interfaces as per normal and recreate the aggregate. It's all working now. Sorry for freaking out and mailing the list! :) Don't want to burn up any good karma! [root at openindiana:~] #dladm show-link LINK CLASS MTU STATE BRIDGE OVER e1000g0 phys 9000 up -- -- e1000g1 phys 9000 up -- -- aggr1 aggr 9000 up -- e1000g0 e1000g1 [root at openindiana:~] #ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 aggr1: flags=1000843 mtu 9000 index 13 inet 192.168.1.250 netmask ffffff00 broadcast 192.168.1.255 ether 0:25:90:b:34:0 lo0: flags=2002000849 mtu 8252 index 1 inet6 ::1/128 [root at openindiana:~] #ping yahoo.com yahoo.com is alive This list is a very congenial/valuable resource and I don't want to squander it. :) tim On Mon, May 14, 2012 at 2:50 PM, Tim Dunphy wrote: > Hello list, > > ?I was trying to fix a problem I was having in being able to ping > external hosts. For some reason I was able to ping other hosts on the > network but had to reboot after installing a package. When the host > (an OI 151 box) came back up it wasn't able to ping anything except > itself. > > ?The links were setup in an active/passive link aggregate called > aggr0. I decided to attempt to recreate the link pool with the dladm > remove-aggr command. > > ?But when I typed dladm remove-aggr -d e1000g1 1 > > ?I see the message : > > ?dladm: remove operation failed: object not found. > > Which is weird because if I do a dladm show-aggr ?I see the aggregate > in question. > > I was able to unplumb the aggregate link with > > ?ifconfig aggr0 unplumb. > > But I cannot plumb or unplumb the individual physical links at this > point. If I unplumb them I get > > ifconfig unplumb e1000g0 > ifconfig: cannot unplumb e1000g0: Interface does not exist > > When I plumb it I see: > > ifconfig e1000g0 plumb > ifconfig: cannot plumb e1000g0: Interface already in use > > This is a very confusing situation! Does anyone have any solution for > this? I need to be able to delete the link aggregation, plumb the > individual interfaces and verify they are working before recreating > the aggregate. I have good instructions for creating an aggregate and > it was working well at one recent point. But I decided to try another > tutorial that lead me down this path, and now I know which one to > avoid! > > thanks for any advice you may have > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From whitetr6 at gmail.com Mon May 14 19:42:02 2012 From: whitetr6 at gmail.com (Mark Creamer) Date: Mon, 14 May 2012 15:42:02 -0400 Subject: [OpenIndiana-discuss] Cron best practice Message-ID: I'm looking for a bit of best practice advice. On Windows systems I usually create a job runner account with the correct permissions to run batch scripts when they need to be scheduled, so the jobs aren't tied to specific users whose passwords will change. So in OI, I have a similar need, to run a job nightly that will pull data from a neighboring server using a scp command run in a cron job. My thought is to create a user account and set up passwordless scp to facilitate scripting the scp task. Would it then be best to run the job in root's cron? Or from the shell of the user running the scp? Thanks for any advice. -- Mark From ironsides.medvet at gmail.com Mon May 14 19:46:58 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Mon, 14 May 2012 21:46:58 +0200 Subject: [OpenIndiana-discuss] Cron best practice In-Reply-To: References: Message-ID: Very good question, curious myself Could it be run as user "nobody"? Bryan On May 14, 2012 9:42 PM, "Mark Creamer" wrote: > I'm looking for a bit of best practice advice. On Windows systems I > usually create a job runner account with the correct permissions to > run batch scripts when they need to be scheduled, so the jobs aren't > tied to specific users whose passwords will change. > > So in OI, I have a similar need, to run a job nightly that will pull > data from a neighboring server using a scp command run in a cron job. > My thought is to create a user account and set up passwordless scp to > facilitate scripting the scp task. Would it then be best to run the > job in root's cron? Or from the shell of the user running the scp? > > Thanks for any advice. > > -- > Mark > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From jsowoc at gmail.com Mon May 14 19:48:34 2012 From: jsowoc at gmail.com (Jan Owoc) Date: Mon, 14 May 2012 13:48:34 -0600 Subject: [OpenIndiana-discuss] Cron best practice In-Reply-To: References: Message-ID: On Mon, May 14, 2012 at 1:42 PM, Mark Creamer wrote: > I'm looking for a bit of best practice advice. On Windows systems I > usually create a job runner account with the correct permissions to > run batch scripts when they need to be scheduled, so the jobs aren't > tied to specific users whose passwords will change. > > So in OI, I have a similar need, to run a job nightly that will pull > data from a neighboring server using a scp command run in a cron job. > My thought is to create a user account and set up passwordless scp to > facilitate scripting the scp task. Would it then be best to run the > job in root's cron? Or from the shell of the user running the scp? I would imagine that you should be running any script with the minimum permissions needed for it to function. If all you need to do is copy files from a remote server to the local filesystem, you should be able to do that with a regular user account. I would only run such a script as the root if I anticipate problems with permissions (eg. other users making conflicting changes to the target folder and I need to overwrite them). On Mon, May 14, 2012 at 1:46 PM, Bryan Iotti wrote: > Very good question, curious myself > > Could it be run as user "nobody"? The user could be called "mybackup" with the shell set to "/bin/false", if you want to prevent logon as that user. Jan From sardonic.smiles at gmail.com Mon May 14 20:26:16 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Mon, 14 May 2012 16:26:16 -0400 Subject: [OpenIndiana-discuss] Cron best practice In-Reply-To: References: Message-ID: Agreed, the best practices on Windows boxes should be the same as the best practices on NIX systems. A service account with rights to do its one job, and as little else as possible. Accounts for services should be created the same way that user accuonts are. Make them able to do the least amount of damage either via malice or stupidity. Giving a script that's sitting in a public or semi-public directory root access is bad news bears. Give the account as little freedom as you can without impacting its ability to do the job. Specialized accounts complicate user management, but simplify systems maintenance. It's a lot easier to disable the user "SVC_CopyAllBobsFilesToDonnysDirectoryAndThenDoXYZ" in one command than it is to hunt down all the places and potential crontabs that those scripts could be residing in/called from. The thing I'm unsure of is if it's best practice to get cron to perform the task, or if it's better to get cron to call a script. On Mon, May 14, 2012 at 3:48 PM, Jan Owoc wrote: > On Mon, May 14, 2012 at 1:42 PM, Mark Creamer wrote: > > I'm looking for a bit of best practice advice. On Windows systems I > > usually create a job runner account with the correct permissions to > > run batch scripts when they need to be scheduled, so the jobs aren't > > tied to specific users whose passwords will change. > > > > So in OI, I have a similar need, to run a job nightly that will pull > > data from a neighboring server using a scp command run in a cron job. > > My thought is to create a user account and set up passwordless scp to > > facilitate scripting the scp task. Would it then be best to run the > > job in root's cron? Or from the shell of the user running the scp? > > I would imagine that you should be running any script with the minimum > permissions needed for it to function. If all you need to do is copy > files from a remote server to the local filesystem, you should be able > to do that with a regular user account. > > I would only run such a script as the root if I anticipate problems > with permissions (eg. other users making conflicting changes to the > target folder and I need to overwrite them). > > > On Mon, May 14, 2012 at 1:46 PM, Bryan Iotti > wrote: > > Very good question, curious myself > > > > Could it be run as user "nobody"? > > The user could be called "mybackup" with the shell set to > "/bin/false", if you want to prevent logon as that user. > > > Jan > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From rich at redstar-assoc.com Mon May 14 21:14:01 2012 From: rich at redstar-assoc.com (Rich Reynolds) Date: Mon, 14 May 2012 15:14:01 -0600 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FB0E4BD.1010209@gmail.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> Message-ID: <4FB17599.3060607@redstar-assoc.com> purported full pkg installs here: http://www.openfoundry.org/of/download_path/osscd/3.4.0m1_Rev1293550/OOo-Dev_OOO340m1_Solaris_x86_install_en-US.tar.gz rich On 05/14/12 04:55 AM, Nikola M. wrote: > On 05/13/12 06:29 PM, Edward M wrote: >> i too run Openoffice on OI and Solaris. So I emailed to OpenOffice >> dev mailing list, and it seems that an outside group are handling >> the solaris port and and also appears for now it will be available >> only for SPARC. >> >> http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336819590.18288.52.camel%40oipunk%3E >> >> > > I asked the same question about OpenOffice On SunOS : > Openindiana/Solaris and got answer that build open Apache OpenOffice > is there for x86 for testing: > > http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=53739 > > > > And Link with developer snapshots for testing that includes some > build how-to documentation: > https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots > > > by Mouette Yang using Solaris Studio 12.3 and targeting Solaris 10 > (and 11) > > And also about group making Opensolaris/SPARC OpenOffice: > http://adfinis-sygroup.ch/aoo-solaris-sparc (and scripts usable for > x86 build available) > > > _______________________________________________ OpenIndiana-discuss > mailing list OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From jason at broken.net Mon May 14 22:05:09 2012 From: jason at broken.net (Jason Matthews) Date: Mon, 14 May 2012 15:05:09 -0700 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: References: Message-ID: <511B28D8E31F4A909B762F8BCF665325@ragnarok> -t is temporary. Try rebooting. There is some chance you'll be back to where you started ;-) j. -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Monday, May 14, 2012 12:14 PM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] can't delete aggregate (dladm) ok, disaster averted ! I tried a different flag the command I was using; dladm delete-aggr -t aggr0 1 that allowed me to delete the virtual interface. Then, at that point I was able to plum and unplumb the interfaces as per normal and recreate the aggregate. It's all working now. Sorry for freaking out and mailing the list! :) Don't want to burn up any good karma! [root at openindiana:~] #dladm show-link LINK CLASS MTU STATE BRIDGE OVER e1000g0 phys 9000 up -- -- e1000g1 phys 9000 up -- -- aggr1 aggr 9000 up -- e1000g0 e1000g1 [root at openindiana:~] #ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 aggr1: flags=1000843 mtu 9000 index 13 inet 192.168.1.250 netmask ffffff00 broadcast 192.168.1.255 ether 0:25:90:b:34:0 lo0: flags=2002000849 mtu 8252 index 1 inet6 ::1/128 [root at openindiana:~] #ping yahoo.com yahoo.com is alive This list is a very congenial/valuable resource and I don't want to squander it. :) tim On Mon, May 14, 2012 at 2:50 PM, Tim Dunphy wrote: > Hello list, > > ?I was trying to fix a problem I was having in being able to ping > external hosts. For some reason I was able to ping other hosts on the > network but had to reboot after installing a package. When the host > (an OI 151 box) came back up it wasn't able to ping anything except > itself. > > ?The links were setup in an active/passive link aggregate called > aggr0. I decided to attempt to recreate the link pool with the dladm > remove-aggr command. > > ?But when I typed dladm remove-aggr -d e1000g1 1 > > ?I see the message : > > ?dladm: remove operation failed: object not found. > > Which is weird because if I do a dladm show-aggr ?I see the aggregate > in question. > > I was able to unplumb the aggregate link with > > ?ifconfig aggr0 unplumb. > > But I cannot plumb or unplumb the individual physical links at this > point. If I unplumb them I get > > ifconfig unplumb e1000g0 > ifconfig: cannot unplumb e1000g0: Interface does not exist > > When I plumb it I see: > > ifconfig e1000g0 plumb > ifconfig: cannot plumb e1000g0: Interface already in use > > This is a very confusing situation! Does anyone have any solution for > this? I need to be able to delete the link aggregation, plumb the > individual interfaces and verify they are working before recreating > the aggregate. I have good instructions for creating an aggregate and > it was working well at one recent point. But I decided to try another > tutorial that lead me down this path, and now I know which one to > avoid! > > thanks for any advice you may have > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From bluethundr at gmail.com Mon May 14 22:11:46 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Mon, 14 May 2012 18:11:46 -0400 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: <511B28D8E31F4A909B762F8BCF665325@ragnarok> References: <511B28D8E31F4A909B762F8BCF665325@ragnarok> Message-ID: ok thanks for the suggestion.. I've rebooted and it seems alright... let's hope it keeps working :) On Mon, May 14, 2012 at 6:05 PM, Jason Matthews wrote: > > > -t is temporary. Try rebooting. There is some chance you'll be back to where > you started ;-) > > j. > > -----Original Message----- > From: Tim Dunphy [mailto:bluethundr at gmail.com] > Sent: Monday, May 14, 2012 12:14 PM > To: Discussion list for OpenIndiana > Subject: Re: [OpenIndiana-discuss] can't delete aggregate (dladm) > > ok, disaster averted ! > > I tried a different flag the command I was using; > dladm delete-aggr -t aggr0 1 > > that allowed me to delete the virtual interface. Then, at that point I > was able to plum and unplumb the interfaces as per normal and recreate > the aggregate. It's all working now. Sorry for freaking out and > mailing the list! :) Don't want to burn up any good karma! > > [root at openindiana:~] #dladm show-link > LINK ? ? ? ?CLASS ? ? MTU ? ?STATE ? ?BRIDGE ? ? OVER > e1000g0 ? ? phys ? ? ?9000 ? up ? ? ? -- ? ? ? ? -- > e1000g1 ? ? phys ? ? ?9000 ? up ? ? ? -- ? ? ? ? -- > aggr1 ? ? ? aggr ? ? ?9000 ? up ? ? ? -- ? ? ? ? e1000g0 e1000g1 > > [root at openindiana:~] #ifconfig -a > lo0: flags=2001000849 mtu > 8232 index 1 > ? ? ? ?inet 127.0.0.1 netmask ff000000 > aggr1: flags=1000843 mtu 9000 index 13 > ? ? ? ?inet 192.168.1.250 netmask ffffff00 broadcast 192.168.1.255 > ? ? ? ?ether 0:25:90:b:34:0 > lo0: flags=2002000849 mtu > 8252 index 1 > ? ? ? ?inet6 ::1/128 > > [root at openindiana:~] #ping yahoo.com > yahoo.com is alive > > This list is a very congenial/valuable resource and I don't want to > squander it. > > :) > > tim > > On Mon, May 14, 2012 at 2:50 PM, Tim Dunphy wrote: >> Hello list, >> >> ?I was trying to fix a problem I was having in being able to ping >> external hosts. For some reason I was able to ping other hosts on the >> network but had to reboot after installing a package. When the host >> (an OI 151 box) came back up it wasn't able to ping anything except >> itself. >> >> ?The links were setup in an active/passive link aggregate called >> aggr0. I decided to attempt to recreate the link pool with the dladm >> remove-aggr command. >> >> ?But when I typed dladm remove-aggr -d e1000g1 1 >> >> ?I see the message : >> >> ?dladm: remove operation failed: object not found. >> >> Which is weird because if I do a dladm show-aggr ?I see the aggregate >> in question. >> >> I was able to unplumb the aggregate link with >> >> ?ifconfig aggr0 unplumb. >> >> But I cannot plumb or unplumb the individual physical links at this >> point. If I unplumb them I get >> >> ifconfig unplumb e1000g0 >> ifconfig: cannot unplumb e1000g0: Interface does not exist >> >> When I plumb it I see: >> >> ifconfig e1000g0 plumb >> ifconfig: cannot plumb e1000g0: Interface already in use >> >> This is a very confusing situation! Does anyone have any solution for >> this? I need to be able to delete the link aggregation, plumb the >> individual interfaces and verify they are working before recreating >> the aggregate. I have good instructions for creating an aggregate and >> it was working well at one recent point. But I decided to try another >> tutorial that lead me down this path, and now I know which one to >> avoid! >> >> thanks for any advice you may have >> >> >> -- >> GPG me!! >> >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From edwardlotus at gmail.com Tue May 15 02:54:29 2012 From: edwardlotus at gmail.com (Edward M) Date: Mon, 14 May 2012 19:54:29 -0700 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FB0E4BD.1010209@gmail.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> Message-ID: <4FB1C565.6060804@gmail.com> On 05/14/2012 03:55 AM, Nikola M. wrote: > On 05/13/12 06:29 PM, Edward M wrote: >> i too run Openoffice on OI and Solaris. So I emailed to >> OpenOffice dev mailing list, >> and it seems that an outside group are handling the solaris port >> and and also appears >> for now it will be available only for SPARC. >> >> >> http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336819590.18288.52.camel%40oipunk%3E > > I asked the same question about OpenOffice On SunOS : Openindiana/Solaris > and got answer that build open Apache OpenOffice is there for x86 for > testing: > > http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=53739 > > > And Link with developer snapshots for testing that includes some build > how-to documentation: > https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots > > by Mouette Yang using Solaris Studio 12.3 and targeting Solaris 10 > (and 11) > > And also about group making Opensolaris/SPARC OpenOffice: > http://adfinis-sygroup.ch/aoo-solaris-sparc > (and scripts usable for x86 build available) > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > it appears i was not given a complete answer, thanks for supplying the links. I will be using the dev snapshots :-) From edwardlotus at gmail.com Tue May 15 03:16:09 2012 From: edwardlotus at gmail.com (Edward M) Date: Mon, 14 May 2012 20:16:09 -0700 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FB17599.3060607@redstar-assoc.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> <4FB17599.3060607@redstar-assoc.com> Message-ID: <4FB1CA79.6050303@gmail.com> On 05/14/2012 02:14 PM, Rich Reynolds wrote: > purported full pkg installs here: > > http://www.openfoundry.org/of/download_path/osscd/3.4.0m1_Rev1293550/OOo-Dev_OOO340m1_Solaris_x86_install_en-US.tar.gz > > > rich Thanks,:-) will also be trying this. From carlsonj at workingcode.com Tue May 15 12:11:09 2012 From: carlsonj at workingcode.com (James Carlson) Date: Tue, 15 May 2012 08:11:09 -0400 Subject: [OpenIndiana-discuss] Cron best practice In-Reply-To: References: Message-ID: <4FB247DD.5040706@workingcode.com> Bryan Iotti wrote: > Very good question, curious myself > > Could it be run as user "nobody"? Create any users you like, but don't use "nobody" for this. That one is special: it's the default NFS "anonymous" access UID, used for IDs that cannot be mapped into local users by the NFS server. Overloading it to mean something else is a Bad Idea. -- James Carlson 42.703N 71.076W From paolo.marcheschi at ftgm.it Tue May 15 13:05:09 2012 From: paolo.marcheschi at ftgm.it (Paolo Marcheschi) Date: Tue, 15 May 2012 15:05:09 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FB17599.3060607@redstar-assoc.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> <4FB17599.3060607@redstar-assoc.com> Message-ID: <4FB25485.7050702@ftgm.it> Hi I tried to install it but it doesn't run. Do you had any luck ? Paolo On 05/14/12 11:14 PM, Rich Reynolds wrote: > purported full pkg installs here: > > http://www.openfoundry.org/of/download_path/osscd/3.4.0m1_Rev1293550/OOo-Dev_OOO340m1_Solaris_x86_install_en-US.tar.gz > > rich > > > On 05/14/12 04:55 AM, Nikola M. wrote: >> On 05/13/12 06:29 PM, Edward M wrote: >>> i too run Openoffice on OI and Solaris. So I emailed to OpenOffice >>> dev mailing list, and it seems that an outside group are handling >>> the solaris port and and also appears for now it will be available >>> only for SPARC. >>> >>> http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336819590.18288.52.camel%40oipunk%3E >>> >>> >> >> I asked the same question about OpenOffice On SunOS : >> Openindiana/Solaris and got answer that build open Apache OpenOffice >> is there for x86 for testing: >> >> http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=53739 >> >> >> >> And Link with developer snapshots for testing that includes some >> build how-to documentation: >> https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots >> >> >> by Mouette Yang using Solaris Studio 12.3 and targeting Solaris 10 >> (and 11) >> >> And also about group making Opensolaris/SPARC OpenOffice: >> http://adfinis-sygroup.ch/aoo-solaris-sparc (and scripts usable for >> x86 build available) >> >> >> _______________________________________________ OpenIndiana-discuss >> mailing list OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From rich at redstar-assoc.com Tue May 15 18:14:12 2012 From: rich at redstar-assoc.com (Rich Reynolds) Date: Tue, 15 May 2012 12:14:12 -0600 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FB25485.7050702@ftgm.it> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> <4FB17599.3060607@redstar-assoc.com> <4FB25485.7050702@ftgm.it> Message-ID: <4FB29CF4.7030909@redstar-assoc.com> pkgadd'ed fine for(although i always pkgadd the extract directory multiple times and skip the dependence failures until it all installs clean), all subsystems started from ./soffice.bin, have had no abends. now just picking about as time permits, but i have no test plan in mind. will continue to look at the cloned svn tree for spec-able building, as even less time permits. rich On 05/15/12 07:05 AM, Paolo Marcheschi wrote: > Hi > I tried to install it but it doesn't run. > Do you had any luck ? > > > Paolo > > > > On 05/14/12 11:14 PM, Rich Reynolds wrote: >> purported full pkg installs here: >> >> http://www.openfoundry.org/of/download_path/osscd/3.4.0m1_Rev1293550/OOo-Dev_OOO340m1_Solaris_x86_install_en-US.tar.gz >> >> >> rich >> >> >> On 05/14/12 04:55 AM, Nikola M. wrote: >>> On 05/13/12 06:29 PM, Edward M wrote: >>>> i too run Openoffice on OI and Solaris. So I emailed to OpenOffice >>>> dev mailing list, and it seems that an outside group are handling >>>> the solaris port and and also appears for now it will be available >>>> only for SPARC. >>>> >>>> http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201205.mbox/%3C1336819590.18288.52.camel%40oipunk%3E >>>> >>>> >>>> >>> >>> I asked the same question about OpenOffice On SunOS : >>> Openindiana/Solaris and got answer that build open Apache OpenOffice >>> is there for x86 for testing: >>> >>> http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=53739 >>> >>> >>> >>> And Link with developer snapshots for testing that includes some >>> build how-to documentation: >>> https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots >>> >>> >>> >>> by Mouette Yang using Solaris Studio 12.3 and targeting Solaris 10 >>> (and 11) >>> >>> And also about group making Opensolaris/SPARC OpenOffice: >>> http://adfinis-sygroup.ch/aoo-solaris-sparc (and scripts usable for >>> x86 build available) >>> >>> >>> _______________________________________________ OpenIndiana-discuss >>> mailing list OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss >> > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Tue May 15 22:37:53 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 16 May 2012 02:37:53 +0400 Subject: [OpenIndiana-discuss] Cron best practice In-Reply-To: References: Message-ID: <4FB2DAC1.4040009@cos.ru> 2012-05-15 0:26, Robbie Crash wrote: > The thing I'm unsure of is if it's best practice to get cron to perform the > task, or if it's better to get cron to call a script. If you mean cron one-liners growing into three-line scripts, that's about as far as I allow them to grow - and that if most of the line is parameters to some command(s) it ultimately calls. It is indeed somewhat harder to track down from cron into scripts, but much easier to maintain/develop/debug/enhance the scripts and keep them in some CVS/SVN/... service to reuse between servers. There is also a matter of large jobs taking a random amount of time (i.e. due to some intermittent network hickups, or hight CPU usage from other tasks), and cron'ed jobs begin to overlay one another contributing to the system lags. It is easier to implement anti-overlay locking in a script (so that it exits quickly if an instance is already running). HTH, //Jim From sardonic.smiles at gmail.com Tue May 15 22:50:18 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 15 May 2012 18:50:18 -0400 Subject: [OpenIndiana-discuss] Cron best practice In-Reply-To: <4FB2DAC1.4040009@cos.ru> References: <4FB2DAC1.4040009@cos.ru> Message-ID: That's pretty much exactly what I mean. Telling cron to tar dirA then turns into tar then copy tar.gz to serverB turns into tar, copy, rename old copy, turns into tar, copy, rename, rename old version, delete any older than 5 then email Bill to let him know it's complete and when Bill replies then do task B. I find myself generally calling each thing by cron due to issues that I never quite understood with random portions of scripts failing due to cron calling things slightly differently and being weird about some PATH variables as opposed to just executing the script normally. But this makes for extremely ugly crontabs. On Linux there's a way to call things as cron does, it escapes me now but I know it's there, can someone enlighten me as to how I approximate it on OI? On Tue, May 15, 2012 at 6:37 PM, Jim Klimov wrote: > 2012-05-15 0:26, Robbie Crash wrote: > >> The thing I'm unsure of is if it's best practice to get cron to perform >> the >> task, or if it's better to get cron to call a script. >> > > If you mean cron one-liners growing into three-line scripts, > that's about as far as I allow them to grow - and that if most > of the line is parameters to some command(s) it ultimately calls. > > It is indeed somewhat harder to track down from cron into scripts, > but much easier to maintain/develop/debug/enhance the scripts and > keep them in some CVS/SVN/... service to reuse between servers. > > There is also a matter of large jobs taking a random amount of > time (i.e. due to some intermittent network hickups, or hight CPU > usage from other tasks), and cron'ed jobs begin to overlay one > another contributing to the system lags. It is easier to implement > anti-overlay locking in a script (so that it exits quickly if an > instance is already running). > > HTH, > //Jim > > > ______________________________**_________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@**openindiana.org > http://openindiana.org/**mailman/listinfo/openindiana-**discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From sardonic.smiles at gmail.com Tue May 15 23:09:19 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 15 May 2012 19:09:19 -0400 Subject: [OpenIndiana-discuss] Compiling Mosh for OI 151 In-Reply-To: References: <4F9F1F4A.3010606@gmail.com> <4F9FAACD.8000404@gmail.com> <4F9FE4A0.80003@gmail.com> Message-ID: I've banged my head against this for the last two weeks off and on, and while I am able to get the server running, it won't accept connections, and the client immediately exits with the message "hangup": $ mosh robbiecrash.me Hangup I've recompiled it with and without the edits that Jonathan made, and if it compiles it doesn't accept connections/make connections, but generally speaking without those edits it fails to compile. I've shared the diff as well as the edited source provided by Jonathan here since they didn't come through on list in case anyone wants to take another stab at it: https://drive.google.com/#folders/0B2uoCpDTndQWaDcwNWtMcHFQMFU As well as listing all of the crap I tried to do to get it done here: http://robbiecrash.me/?p=218 (NSFW language on site). I've now given up, installed an Ubuntu VM and am moshing to that and have that mosh session ssh'd to my OI box. Ugly, but it works. On Wed, May 2, 2012 at 5:55 AM, Jonathan Adams wrote: > I've attached the diff from the original tar file to my modified version. > > I ran "./configure --prefix=/opt/tools CFLAGS=-m64 CXXFLAGS=-m64 > LDFLAGS="-R/usr/gnu/lib/amd64 -L/usr/gnu/lib/amd64" LIBS="-lsocket > -lnsl" > > if you have protobuf installed in a non-standard location you will > need to set your PKG_CONFIG_PATH to the location with your protobuf.pc > files > > I didn't need to compile ncurses, it is already installed in /usr/gnu > > after configure'ing I modified src/frontenv/Makefile and removed > "-lutil" from the mosh_server_LDADD command. > > then I ran a gmake. > > as I said, I'm completely not sure over the forkpty replacement and it > is completely untested > > On 2 May 2012 02:04, Robbie Crash wrote: > > Can you elaborate on what you had to do to compile the server? I don't > > understand what to do with the code in the MySQL bug. Sorry, and thanks. > > > > On Tue, May 1, 2012 at 2:27 PM, Jonathan Adams >wrote: > > > >> got the server compiled with a combination of creating "forkpty" from > >> http://bugs.mysql.com/bug.php?id=22429, //ing out the stdin/out/err > >> declarations and removing -lutil from the Makefile ... > >> > >> The server runs and sits in memory, it forced me to set my locale to > >> something UTF-8, however something doesn't work. when I try to > >> connect with the client it fails. > >> > >> since I don't have a mosh server readily available for testing I > >> cannot tell if it is the client or the server that I've borked getting > >> it to compile :) > >> > >> Jon > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From mike.laspina at laspina.ca Wed May 16 03:18:29 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Tue, 15 May 2012 22:18:29 -0500 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: References: Message-ID: <8F607366E3C0F9499212649291E0BD64047968@MS1.laspina.ca> Hi Tim, I always create users for automated functions and never use root unless its forced. As well I usually create a group which is used to assign any required rights for the role or function. The cron job should be assigned to the running user which you can always edit as a primary admin. e.g. crontab -e user-role Least access principle has saved by bacon more times than I wish to count. Regards, Mike -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Monday, May 14, 2012 1:50 PM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) Hello list, I was trying to fix a problem I was having in being able to ping external hosts. For some reason I was able to ping other hosts on the network but had to reboot after installing a package. When the host (an OI 151 box) came back up it wasn't able to ping anything except itself. The links were setup in an active/passive link aggregate called aggr0. I decided to attempt to recreate the link pool with the dladm remove-aggr command. But when I typed dladm remove-aggr -d e1000g1 1 I see the message : dladm: remove operation failed: object not found. Which is weird because if I do a dladm show-aggr I see the aggregate in question. I was able to unplumb the aggregate link with ifconfig aggr0 unplumb. But I cannot plumb or unplumb the individual physical links at this point. If I unplumb them I get ifconfig unplumb e1000g0 ifconfig: cannot unplumb e1000g0: Interface does not exist When I plumb it I see: ifconfig e1000g0 plumb ifconfig: cannot plumb e1000g0: Interface already in use This is a very confusing situation! Does anyone have any solution for this? I need to be able to delete the link aggregation, plumb the individual interfaces and verify they are working before recreating the aggregate. I have good instructions for creating an aggregate and it was working well at one recent point. But I decided to try another tutorial that lead me down this path, and now I know which one to avoid! thanks for any advice you may have -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From mike.laspina at laspina.ca Wed May 16 03:22:19 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Tue, 15 May 2012 22:22:19 -0500 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: <8F607366E3C0F9499212649291E0BD64047968@MS1.laspina.ca> References: <8F607366E3C0F9499212649291E0BD64047968@MS1.laspina.ca> Message-ID: <8F607366E3C0F9499212649291E0BD64047969@MS1.laspina.ca> Sorry its Mark not Tim, Hit reply on the next list message. -----Original Message----- From: Mike La Spina Sent: Tuesday, May 15, 2012 10:18 PM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] can't delete aggregate (dladm) Hi Tim, I always create users for automated functions and never use root unless its forced. As well I usually create a group which is used to assign any required rights for the role or function. The cron job should be assigned to the running user which you can always edit as a primary admin. e.g. crontab -e user-role Least access principle has saved by bacon more times than I wish to count. Regards, Mike -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Monday, May 14, 2012 1:50 PM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) Hello list, I was trying to fix a problem I was having in being able to ping external hosts. For some reason I was able to ping other hosts on the network but had to reboot after installing a package. When the host (an OI 151 box) came back up it wasn't able to ping anything except itself. The links were setup in an active/passive link aggregate called aggr0. I decided to attempt to recreate the link pool with the dladm remove-aggr command. But when I typed dladm remove-aggr -d e1000g1 1 I see the message : dladm: remove operation failed: object not found. Which is weird because if I do a dladm show-aggr I see the aggregate in question. I was able to unplumb the aggregate link with ifconfig aggr0 unplumb. But I cannot plumb or unplumb the individual physical links at this point. If I unplumb them I get ifconfig unplumb e1000g0 ifconfig: cannot unplumb e1000g0: Interface does not exist When I plumb it I see: ifconfig e1000g0 plumb ifconfig: cannot plumb e1000g0: Interface already in use This is a very confusing situation! Does anyone have any solution for this? I need to be able to delete the link aggregation, plumb the individual interfaces and verify they are working before recreating the aggregate. I have good instructions for creating an aggregate and it was working well at one recent point. But I decided to try another tutorial that lead me down this path, and now I know which one to avoid! thanks for any advice you may have -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From bluethundr at gmail.com Wed May 16 03:41:37 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 15 May 2012 23:41:37 -0400 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: <8F607366E3C0F9499212649291E0BD64047969@MS1.laspina.ca> References: <8F607366E3C0F9499212649291E0BD64047968@MS1.laspina.ca> <8F607366E3C0F9499212649291E0BD64047969@MS1.laspina.ca> Message-ID: Hey Mike, No problem at all. The OI list is a very informative and enjoyable read, so I guess I'll let it slide! :) j/k Best, Tim On Tue, May 15, 2012 at 11:22 PM, Mike La Spina wrote: > Sorry its Mark not Tim, > Hit reply on the next list message. > > > -----Original Message----- > From: Mike La Spina > Sent: Tuesday, May 15, 2012 10:18 PM > To: Discussion list for OpenIndiana > Subject: Re: [OpenIndiana-discuss] can't delete aggregate (dladm) > > Hi Tim, > > I always create users for automated functions and never use root unless > its forced. > As well I usually create a group which is used to assign any required > rights for the role or function. > The cron job should be assigned to the running user which you can always > edit as a primary admin. > e.g. crontab -e user-role > Least access principle has saved by bacon more times than I wish to > count. > > Regards, > Mike > > -----Original Message----- > From: Tim Dunphy [mailto:bluethundr at gmail.com] > Sent: Monday, May 14, 2012 1:50 PM > To: Discussion list for OpenIndiana > Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) > > Hello list, > > ?I was trying to fix a problem I was having in being able to ping > external hosts. For some reason I was able to ping other hosts on the > network but had to reboot after installing a package. When the host (an > OI 151 box) came back up it wasn't able to ping anything except itself. > > ?The links were setup in an active/passive link aggregate called aggr0. > I decided to attempt to recreate the link pool with the dladm > remove-aggr command. > > ?But when I typed dladm remove-aggr -d e1000g1 1 > > ?I see the message : > > ?dladm: remove operation failed: object not found. > > Which is weird because if I do a dladm show-aggr ?I see the aggregate in > question. > > I was able to unplumb the aggregate link with > > ?ifconfig aggr0 unplumb. > > But I cannot plumb or unplumb the individual physical links at this > point. If I unplumb them I get > > ifconfig unplumb e1000g0 > ifconfig: cannot unplumb e1000g0: Interface does not exist > > When I plumb it I see: > > ifconfig e1000g0 plumb > ifconfig: cannot plumb e1000g0: Interface already in use > > This is a very confusing situation! Does anyone have any solution for > this? I need to be able to delete the link aggregation, plumb the > individual interfaces and verify they are working before recreating the > aggregate. I have good instructions for creating an aggregate and it was > working well at one recent point. But I decided to try another tutorial > that lead me down this path, and now I know which one to avoid! > > thanks for any advice you may have > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From skiselkov.ml at gmail.com Wed May 16 07:13:45 2012 From: skiselkov.ml at gmail.com (=?UTF-8?B?U2HFoW8gS2lzZWxrb3Y=?=) Date: Wed, 16 May 2012 09:13:45 +0200 Subject: [OpenIndiana-discuss] Dell PERC H200: drive failed to power up Message-ID: <4FB353A9.7090301@gmail.com> Hi, I'm getting weird errors while trying to install openindiana 151a on a Dell R715 with a PERC H200 (based on an LSI SAS 2008). Any time the OS tries to access the drives (for whatever reason), I get this dumped into syslog: genunix: WARNING: Device /pci at 0,0/pci1002,5a18 at 4/pci10b58424 at 0/pci10b5,8624 at 0/pci1028,1f1e at 0/iport at 40/disk at w50000c0f01004ebe,0 failed to power up genunix: WARNING: Device /pci at 0,0/pci1002,5a18 at 4/pci10b58424 at 0/pci10b5,8624 at 0/pci1028,1f1e at 0/iport at 80/disk at w50000c0f01064e9e,0 failed to power up (these are two WD 300GB 10k SAS drives) When this log message shows up, I can see each drive light up the drive LED briefly and then it turns off, so apparently the OS tried to initialize the drives, but somehow failed and gave up. Consequently, when I try and access them in format(1), they show up as an unknown type and installing openindiana on them fails while the installer is trying to do fdisk. Has anybody got any idea what I can do to the controller/drives/whatever to fix the "failed to power up" problem? One would think that a LSI SAS 2008 chip would be problem free under Solaris (the server even lists Oracle Solaris as an officially supported OS), but alas, I have yet to succeed. Cheers, -- Saso From asyropoulos at yahoo.com Thu May 17 07:19:19 2012 From: asyropoulos at yahoo.com (Apostolos Syropoulos) Date: Thu, 17 May 2012 00:19:19 -0700 (PDT) Subject: [OpenIndiana-discuss] cannot update image Message-ID: <1337239159.50882.YahooMailNeo@web110107.mail.gq1.yahoo.com> Hello, I have tried to update a system that was recently installed from media: $ uname -a SunOS katarina 5.11 oi_151a i86pc i386 i86pc Solaris I have entered the following command? # pkg image-update and the error message I get concludes as follows: DOWNLOAD????????????????????????????????? PKGS?????? FILES??? XFER (MB) developer/object-file????????????????? 522/874? 6284/10286? 158.5/238.2 Errors were encountered while attempting to retrieve package or file data for the requested operation. Details follow: Invalid contentpath usr/bin/dis: chash failure: expected: fc1d993475383a0429f13c6c5472a376d8037163 computed: 6c518ecb908de282ef3919ed8c22f585781107a7. (happened 4 times) ?Any help/assistance on how to resolve this problem would be really appreciated! A.S. ---------------------- Apostolos Syropoulos Xanthi, Greece From achimwo7 at googlemail.com Thu May 17 08:41:48 2012 From: achimwo7 at googlemail.com (Achim Wolpers) Date: Thu, 17 May 2012 10:41:48 +0200 Subject: [OpenIndiana-discuss] rvm ruby 64 bit Message-ID: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> Hi! I'm trying to install a 64bit version of ruby via rvm. I set rvm_archflags="-m64" but the compiler fails. Has anyone managed to get a 64bit ruby running? Achim From ilya at arhipkin.com Thu May 17 10:00:37 2012 From: ilya at arhipkin.com (Arhipkin Ilya) Date: Thu, 17 May 2012 16:00:37 +0600 Subject: [OpenIndiana-discuss] cannot update image In-Reply-To: <1337239159.50882.YahooMailNeo@web110107.mail.gq1.yahoo.com> References: <1337239159.50882.YahooMailNeo@web110107.mail.gq1.yahoo.com> Message-ID: <0b8b9e5f80db585a6cd3afa5d42ee601@arhipkin.com> Apostolos Syropoulos ????? 2012-05-17 13:19: Hello Means the ISP has restricted access to the repository, I analogy post to make it work you need to connect an alternative channel of another provider. Good luck ilya at miass:~$ sudo pkg install gcc-dev SUNWxorg-headers Password: pkg: 0/1 catalogs successfully updated: Unable to contact valid package repository Encountered the following error(s): Unable to contact any configured publishers. This is likely a network configuration problem. Framework error: code: 28 reason: Connection time-out URL: 'http://pkg.openindiana.org/dev'. (happened 4 times) ISP Ural-Intercard IP: 109.71.206.26 > Hello, > > I have tried to update a system that was recently installed from media: > > $ uname -a > SunOS katarina 5.11 oi_151a i86pc i386 i86pc Solaris > > I have entered the following command > > # pkg image-update > > and the error message I get concludes as follows: > > DOWNLOAD PKGS FILES XFER (MB) > developer/object-file 522/874 6284/10286 158.5/238.2 > > Errors were encountered while attempting to retrieve package or file data for > the requested operation. > Details follow: > > Invalid contentpath usr/bin/dis: chash failure: expected: fc1d993475383a0429f13c6c5472a376d8037163 computed: 6c518ecb908de282ef3919ed8c22f585781107a7. (happened 4 times) > > Any help/assistance on how to resolve this problem would be really appreciated! > > A.S. > > ---------------------- > Apostolos Syropoulos > Xanthi, Greece > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.orghttp://openindiana.org/mailman/listinfo/openindiana-discuss From ilya at arhipkin.com Thu May 17 10:26:13 2012 From: ilya at arhipkin.com (Arhipkin Ilya) Date: Thu, 17 May 2012 16:26:13 +0600 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 Message-ID: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> ilya at miass:~$ traceroute pkg.openindiana.org traceroute to pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets 1 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms 2 217.19.117.145.static.uic.ru (217.19.117.145) 2.539 ms 2.766 ms 2.565 ms 3 217.19.112.129.static.uic.ru (217.19.112.129) 2.870 ms 3.218 ms 3.564 ms 4 62.148.255.9 (62.148.255.9) 8.979 ms 9.034 ms 8.801 ms 5 * * * 6 * * * 7 ae-2.chbs-rgr3.ur.ip.rostelecom.ru (188.128.91.81) 18.535 ms 9.530 ms 74.631 ms 8 * * * 9 ge-1-0-3.r02.frnkge04.de.bb.gin.ntt.net (213.198.82.165) 93.110 ms 93.105 ms 93.396 ms 10 ae-3.r20.frnkge04.de.bb.gin.ntt.net (129.250.3.93) 139.473 ms 88.352 ms 95.757 ms 11 ae-1.r23.amstnl02.nl.bb.gin.ntt.net (129.250.3.179) 143.851 ms 101.716 ms 101.240 ms 12 * * * 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) 117.917 ms 115.956 ms 117.584 ms 14 te1-4-3508-cr0.thn.uk.as6908.net (78.41.154.13) 127.272 ms 211.781 ms 109.575 ms 15 195.72.129.157 (195.72.129.157) 106.566 ms 103.591 ms 332.526 ms 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * :-(Due to the repository is not available trace packet loss turned out to my email address ilya at miass:~$ sudo pkg install gcc-dev SUNWxorg-headers Password: pkg: 0/1 catalogs successfully updated: Unable to contact valid package repository Encountered the following error(s): Unable to contact any configured publishers. This is likely a network configuration problem. Framework error: code: 28 reason: Connection time-out URL: 'http://pkg.openindiana.org/dev'. (happened 4 times) From jimklimov at cos.ru Thu May 17 13:08:56 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Thu, 17 May 2012 17:08:56 +0400 Subject: [OpenIndiana-discuss] cannot update image In-Reply-To: <0b8b9e5f80db585a6cd3afa5d42ee601@arhipkin.com> References: <1337239159.50882.YahooMailNeo@web110107.mail.gq1.yahoo.com> <0b8b9e5f80db585a6cd3afa5d42ee601@arhipkin.com> Message-ID: <4FB4F868.3020902@cos.ru> 2012-05-17 14:00, Arhipkin Ilya ???????: > Apostolos Syropoulos ????? 2012-05-17 13:19: > Means the ISP > has restricted access to the repository, I analogy post to make it work > you need to connect an alternative channel of another provider. Good > luck Is it an option for you to try making a local mirror of the repository (or one of its mirrors)? The Wiki has some pages describing how to get a big archived tarball of the released repository files, and update it via rsync, and set up a package server to install the packages from your LAN or localhost. There are also pages with addresses of individual package servers (mirrors). Links here (maybe more pages have similar info - search the wiki please): * http://wiki.openindiana.org/oi/Mirrors * http://wiki.openindiana.org/oi/Mirroring+OpenIndiana Googling may also help, although you'd need to tweak instructions for OpenSolaris to match OpenIndiana, i.e.: * http://www.agileweboperations.com/setting-up-an-opensolaris-pkg-repository-mirror * http://notallmicrosoft.blogspot.com/2010/04/complete-local-copy-mirror-of.html I am not sure whether these pages are outdated though... Please report if you try those Wiki and/or blog instructions and find whether they work or need to be tweaked/updated :) HTH, //Jim Klimov From jsowoc at gmail.com Thu May 17 13:25:27 2012 From: jsowoc at gmail.com (Jan Owoc) Date: Thu, 17 May 2012 07:25:27 -0600 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 In-Reply-To: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> Message-ID: On Thu, May 17, 2012 at 4:26 AM, Arhipkin Ilya wrote: > ilya at miass:~$ traceroute pkg.openindiana.org > traceroute to > pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets > ?1 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms [...] > 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) 117.917 ms 115.956 ms 117.584 ms > 14 te1-4-3508-cr0.thn.uk.as6908.net (78.41.154.13) 127.272 ms 211.781 ms 109.575 ms > 15 195.72.129.157 (195.72.129.157) 106.566 ms 103.591 ms 332.526 ms > 16 * * * [...] That is the same route I get, but I actually get to the destination: $ tracert pkg.openindiana.org Tracing route to pkg.openindiana.org [91.194.74.133] over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms 192.168.0.1 [...] 10 155 ms 158 ms 153 ms ge2-24-0-cr0.nik.nl.as6908.net [195.69.145.145] 11 157 ms 191 ms 191 ms te1-4-3508-cr0.thn.uk.as6908.net [78.41.154.13] 12 148 ms 151 ms 153 ms 195.72.129.157 13 151 ms 151 ms 148 ms 91.194.74.133 Trace complete. Can you try now (i.e. 4 hours later, maybe the server is back up)? Jan From asyropoulos at yahoo.com Thu May 17 13:30:07 2012 From: asyropoulos at yahoo.com (Apostolos Syropoulos) Date: Thu, 17 May 2012 06:30:07 -0700 (PDT) Subject: [OpenIndiana-discuss] cannot update image In-Reply-To: <4FB4F868.3020902@cos.ru> References: <1337239159.50882.YahooMailNeo@web110107.mail.gq1.yahoo.com> <0b8b9e5f80db585a6cd3afa5d42ee601@arhipkin.com> <4FB4F868.3020902@cos.ru> Message-ID: <1337261407.35556.YahooMailNeo@web110109.mail.gq1.yahoo.com> > >Is it an option for you to try making a local mirror of >the repository (or one of its mirrors)? > I will try this suggestion. Thank you. At any rate, I just? wanted to be sure?that there is nothing wrong with my? installation.? A.S. ---------------------- Apostolos Syropoulos Xanthi, Greece From jekvb at gmx.com Thu May 17 21:05:42 2012 From: jekvb at gmx.com (jekvb at gmx.com) Date: Thu, 17 May 2012 23:05:42 +0200 Subject: [OpenIndiana-discuss] Updates gone (?) Message-ID: <20120517210543.157190@gmx.com> Hello list, I just went truogh a painstakingly slow update procedure from my OpenIndiana system plus the installation of some extra development software. After the reboot I chose for booting 'openindiana-5', but I don't see any updates or new installs. What wrong here? #============ End of LIBBE entry ============= title openindiana-4 findroot (pool_rpool,0,a) bootfs rpool/ROOT/openindiana-4 splashimage /boot/splashimage.xpm foreground FF0000 background A8A8A8 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive #============ End of LIBBE entry ============= title openindiana-5 findroot (pool_rpool,0,a) bootfs rpool/ROOT/openindiana-5 splashimage /boot/splashimage.xpm foreground FF0000 background A8A8A8 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics module$ /platform/i86pc/$ISADIR/boot_archive #============ End of LIBBE entry ============= From matt.connolly.au at gmail.com Thu May 17 23:10:59 2012 From: matt.connolly.au at gmail.com (Matt Connolly) Date: Fri, 18 May 2012 09:10:59 +1000 Subject: [OpenIndiana-discuss] rvm ruby 64 bit In-Reply-To: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> References: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> Message-ID: <8B40C8B2-0136-4460-A879-8934343FCD63@gmail.com> I thought it was already compiling in 64 bit code without any need to do anything special. I'll double check later today on my machine. Matt. On 17/05/2012, at 18:41, Achim Wolpers wrote: > Hi! > > I'm trying to install a 64bit version of ruby via rvm. I set > > rvm_archflags="-m64" > > but the compiler fails. Has anyone managed to get a 64bit ruby running? > > Achim > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From ilya at arhipkin.com Fri May 18 04:37:07 2012 From: ilya at arhipkin.com (Ilya Arhipkin) Date: Fri, 18 May 2012 11:37:07 +0700 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 In-Reply-To: References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> Message-ID: <4FB5D1F3.2040605@arhipkin.com> sun at miass:~$ ping pkg.openindiana.org no answer from pkg.openindiana.org :-! from ISP Ural-Intercard My Dynamic IP: 109.71.206.26 17.05.12 20:25, Jan Owoc ?????: > On Thu, May 17, 2012 at 4:26 AM, Arhipkin Ilya wrote: >> ilya at miass:~$ traceroute pkg.openindiana.org >> traceroute to >> pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets >> 1 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms > [...] >> 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) 117.917 ms 115.956 ms 117.584 ms >> 14 te1-4-3508-cr0.thn.uk.as6908.net (78.41.154.13) 127.272 ms 211.781 ms 109.575 ms >> 15 195.72.129.157 (195.72.129.157) 106.566 ms 103.591 ms 332.526 ms >> 16 * * * > [...] > > That is the same route I get, but I actually get to the destination: > > $ tracert pkg.openindiana.org > > Tracing route to pkg.openindiana.org [91.194.74.133] > over a maximum of 30 hops: > > 1<1 ms<1 ms<1 ms 192.168.0.1 > [...] > 10 155 ms 158 ms 153 ms ge2-24-0-cr0.nik.nl.as6908.net [195.69.145.145] > 11 157 ms 191 ms 191 ms te1-4-3508-cr0.thn.uk.as6908.net [78.41.154.13] > 12 148 ms 151 ms 153 ms 195.72.129.157 > 13 151 ms 151 ms 148 ms 91.194.74.133 > > Trace complete. > > Can you try now (i.e. 4 hours later, maybe the server is back up)? > > Jan > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- From tac12 at wbic.cam.ac.uk Fri May 18 08:25:36 2012 From: tac12 at wbic.cam.ac.uk (Adrian Carpenter) Date: Fri, 18 May 2012 09:25:36 +0100 Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting Message-ID: We are using one port of each of a pair of Qlogic 2562 cards to act as a FC target for our Xen environment, we are running oi_151a4. The other port on each card is used as an initiator to attach to some FC storage(Nexsan). We use two Qlogic SanBoxes configured so that the Xen hypervisors have a redundant path to the FC target which provides a Storage Repository from a ZVOL. Everything works really well as expected with good throughput, but randomly once every couple of days simultaneously BOTH FC targets on the Openindiana box reset their FC connections - this of course causes real problem in Xen environment and is not help by having redundant multipaths. We are at a bit of a loss, does anyone have any suggestions? Adrian From thorsten.heit at vkb.de Fri May 18 09:26:15 2012 From: thorsten.heit at vkb.de (Thorsten Heit) Date: Fri, 18 May 2012 11:26:15 +0200 Subject: [OpenIndiana-discuss] cannot update image In-Reply-To: <1337261407.35556.YahooMailNeo@web110109.mail.gq1.yahoo.com> References: <1337239159.50882.YahooMailNeo@web110107.mail.gq1.yahoo.com> <0b8b9e5f80db585a6cd3afa5d42ee601@arhipkin.com> <4FB4F868.3020902@cos.ru> <1337261407.35556.YahooMailNeo@web110109.mail.gq1.yahoo.com> Message-ID: Hi, > >Is it an option for you to try making a local mirror of > >the repository (or one of its mirrors)? > > > > I will try this suggestion. Thank you. At any rate, I just > wanted to be sure that there is nothing wrong with my > installation. Are you using a proxy? I once had difficulties updating a former OpenSolaris instance to a newer version here at our company which forces me to use a HTTP proxy... Regards Thorsten From milan.jurik at xylab.cz Fri May 18 10:56:52 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Fri, 18 May 2012 12:56:52 +0200 Subject: [OpenIndiana-discuss] =?utf-8?q?Updates_gone_=28=3F=29?= In-Reply-To: <20120517210543.157190@gmx.com> References: <20120517210543.157190@gmx.com> Message-ID: Hi, what exactly did you make? pkg update pkg install ? You can review content of of /var/pkg/history/ for more info also. Best regards, Milan On 17.05.2012 23:05, jekvb at gmx.com wrote: > Hello list, > > I just went truogh a painstakingly slow update procedure from my > OpenIndiana system plus the installation of some extra development > software. > After the reboot I chose for booting 'openindiana-5', but I don't > see any updates or new installs. > > What wrong here? > > > #============ End of LIBBE entry ============= > title openindiana-4 > findroot (pool_rpool,0,a) > bootfs rpool/ROOT/openindiana-4 > splashimage /boot/splashimage.xpm > foreground FF0000 > background A8A8A8 > kernel$ /platform/i86pc/kernel/$ISADIR/unix -B > $ZFS-BOOTFS,console=graphics > module$ /platform/i86pc/$ISADIR/boot_archive > #============ End of LIBBE entry ============= > title openindiana-5 > findroot (pool_rpool,0,a) > bootfs rpool/ROOT/openindiana-5 > splashimage /boot/splashimage.xpm > foreground FF0000 > background A8A8A8 > kernel$ /platform/i86pc/kernel/$ISADIR/unix -B > $ZFS-BOOTFS,console=graphics > module$ /platform/i86pc/$ISADIR/boot_archive > #============ End of LIBBE entry ============= From gary_mills at fastmail.fm Fri May 18 13:38:09 2012 From: gary_mills at fastmail.fm (Gary Mills) Date: Fri, 18 May 2012 08:38:09 -0500 Subject: [OpenIndiana-discuss] How to test ethernet throughput? Message-ID: <20120518133809.GA17783@www.fastmail.fm> I'm just finishing a driver for the Atheros AR8131 and AR8132 ethernet devices. I'm ready now to test it under load. What's available in OpenIndiana for this purpose? I couldn't see anything in the repository that seemed suitable. I don't need to bring the interface up to maximum throughput, but I'd at least like to be sure that nothing breaks when it has a reasonable load. -- -Gary Mills- -refurb- -Winnipeg, Manitoba, Canada- From milan.jurik at xylab.cz Fri May 18 13:48:33 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Fri, 18 May 2012 15:48:33 +0200 Subject: [OpenIndiana-discuss] =?utf-8?q?How_to_test_ethernet_throughput?= =?utf-8?q?=3F?= In-Reply-To: <20120518133809.GA17783@www.fastmail.fm> References: <20120518133809.GA17783@www.fastmail.fm> Message-ID: <1fb44f466096c235a1d7908fb870e23d@xylab.cz> Hi Gary, On 18.05.2012 15:38, Gary Mills wrote: > I'm just finishing a driver for the Atheros AR8131 and AR8132 > ethernet > devices. I'm ready now to test it under load. What's available in > OpenIndiana for this purpose? I couldn't see anything in the > repository that seemed suitable. I don't need to bring the interface > up to maximum throughput, but I'd at least like to be sure that > nothing breaks when it has a reasonable load. iperf ? Also one test option is to setup ftp server and open/upload/download/close/checksum in loop. It is easy to write quick script for ftp client. Best regards, Milan From gordon.w.ross at gmail.com Fri May 18 14:00:25 2012 From: gordon.w.ross at gmail.com (Gordon Ross) Date: Fri, 18 May 2012 10:00:25 -0400 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: <20120518133809.GA17783@www.fastmail.fm> References: <20120518133809.GA17783@www.fastmail.fm> Message-ID: On Fri, May 18, 2012 at 9:38 AM, Gary Mills wrote: > I'm just finishing a driver for the Atheros AR8131 and AR8132 ethernet > devices. ?I'm ready now to test it under load. ?What's available in > OpenIndiana for this purpose? ?I couldn't see anything in the > repository that seemed suitable. ?I don't need to bring the interface > up to maximum throughput, but I'd at least like to be sure that > nothing breaks when it has a reasonable load. > > -- > -Gary Mills- ? ? ? ? ? ?-refurb- ? ? ? ? ? ? ? ?-Winnipeg, Manitoba, Canada- There's the "nicdrv" test under here: https://bitbucket.org/illumos/illumos-stc/src/3e763f2f4eab/usr/src/suites/net/nicdrv Though I have to warn you, it's kind of a pain to setup and run. -- Gordon Ross Nexenta Systems, Inc. ?www.nexenta.com Enterprise class storage for everyone From jimklimov at cos.ru Fri May 18 13:59:02 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Fri, 18 May 2012 17:59:02 +0400 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: References: <511B28D8E31F4A909B762F8BCF665325@ragnarok> Message-ID: <4FB655A6.10602@cos.ru> 2012-05-15 2:11, Tim Dunphy wrote: > ok thanks for the suggestion.. I've rebooted and it seems alright... > let's hope it keeps working :) Well, the manuals rightfully suggest against manual manipualations of the configuration files, but I was saved by that a few times while dladm (or any other component) was still in such active development that it did not always do what it is intended to do. In case of dladm, if proper command-line methods don't help, you can try to manipulate the config files in /etc/dladm directory, and particularly the /etc/dladm/datalink.conf file which defines your physical and virtual links. AFAIK the file is read-in only upon system boot, so it is a clumsy way of changing things, but when it is your only working option - that may be suitable ;) At least you can check there to see which settings your system has "remembered" for the future. HTH, //Jim Klimov From rercola at acm.jhu.edu Fri May 18 14:02:04 2012 From: rercola at acm.jhu.edu (Rich) Date: Fri, 18 May 2012 10:02:04 -0400 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: References: <20120518133809.GA17783@www.fastmail.fm> Message-ID: iperf is also your friend, as is dd+netcat+pv if you want something a bit less rigorous. - Rich On Fri, May 18, 2012 at 10:00 AM, Gordon Ross wrote: > On Fri, May 18, 2012 at 9:38 AM, Gary Mills wrote: >> I'm just finishing a driver for the Atheros AR8131 and AR8132 ethernet >> devices. ?I'm ready now to test it under load. ?What's available in >> OpenIndiana for this purpose? ?I couldn't see anything in the >> repository that seemed suitable. ?I don't need to bring the interface >> up to maximum throughput, but I'd at least like to be sure that >> nothing breaks when it has a reasonable load. >> >> -- >> -Gary Mills- ? ? ? ? ? ?-refurb- ? ? ? ? ? ? ? ?-Winnipeg, Manitoba, Canada- > > There's the "nicdrv" test under here: > ?https://bitbucket.org/illumos/illumos-stc/src/3e763f2f4eab/usr/src/suites/net/nicdrv > > Though I have to warn you, it's kind of a pain to setup and run. > > -- > Gordon Ross > Nexenta Systems, Inc. ?www.nexenta.com > Enterprise class storage for everyone > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From doug at will.to Fri May 18 14:04:50 2012 From: doug at will.to (Doug Hughes) Date: Fri, 18 May 2012 10:04:50 -0400 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: References: <20120518133809.GA17783@www.fastmail.fm> Message-ID: <4FB65702.3020801@will.to> A third recommendation for iperf. It's the tool you want. Don't mess around with anything else. On 5/18/2012 10:02 AM, Rich wrote: > iperf is also your friend, as is dd+netcat+pv if you want something a > bit less rigorous. > > - Rich > From bluethundr at gmail.com Fri May 18 14:49:41 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Fri, 18 May 2012 10:49:41 -0400 Subject: [OpenIndiana-discuss] can't delete aggregate (dladm) In-Reply-To: <4FB655A6.10602@cos.ru> References: <511B28D8E31F4A909B762F8BCF665325@ragnarok> <4FB655A6.10602@cos.ru> Message-ID: On Fri, May 18, 2012 at 9:59 AM, Jim Klimov wrote: > 2012-05-15 2:11, Tim Dunphy wrote: >> >> ok thanks for the suggestion.. I've rebooted and it seems alright... >> let's hope it keeps working :) > In case of dladm, if proper command-line methods don't help, you > can try to manipulate the config files in /etc/dladm directory, and > particularly the /etc/dladm/datalink.conf file which defines your > physical and virtual links. AFAIK the file is read-in only upon > system boot, so it is a clumsy way of changing things, but when > it is your only working option - that may be suitable ;) that's amazingly valuable to know! That's going right in the wiki. Thanks for that! tim > > Well, the manuals rightfully suggest against manual manipualations > of the configuration files, but I was saved by that a few times > while dladm (or any other component) was still in such active > development that it did not always do what it is intended to do. > > In case of dladm, if proper command-line methods don't help, you > can try to manipulate the config files in /etc/dladm directory, and > particularly the /etc/dladm/datalink.conf file which defines your > physical and virtual links. AFAIK the file is read-in only upon > system boot, so it is a clumsy way of changing things, but when > it is your only working option - that may be suitable ;) > > At least you can check there to see which settings your system > has "remembered" for the future. > > HTH, > //Jim Klimov > > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From richard.elling at richardelling.com Fri May 18 14:57:47 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Fri, 18 May 2012 07:57:47 -0700 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: <4FB65702.3020801@will.to> References: <20120518133809.GA17783@www.fastmail.fm> <4FB65702.3020801@will.to> Message-ID: On May 18, 2012, at 7:04 AM, Doug Hughes wrote: > A third recommendation for iperf. It's the tool you want. Don't mess around with anything else. +1 There has been some discussion recently about using Poisson distributed interarrival times instead of fixed interval. This could have an impact for network tests. Neil Gunther recently posted an excellent blog on the subject. It might be time to revisit iperf and add some features :-) http://perfdynamics.blogspot.com/2012/05/load-testing-with-uniform-vs.html oh, and don't forget to disable C-states, if appropriate. -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From ilya at arhipkin.com Fri May 18 16:15:12 2012 From: ilya at arhipkin.com (Arhipkin Ilya) Date: Fri, 18 May 2012 22:15:12 +0600 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 In-Reply-To: <4FB5D1F3.2040605@arhipkin.com> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> <4FB5D1F3.2040605@arhipkin.com> Message-ID: <72c06f33f11135c1e13e47b263c0e298@arhipkin.com> Route at Step 4 after tracing lost packets showed up to step 7, the route "7 ae-2.chbs-rgr3.ur.ip.rostelecom.ru (188.128.91.81) 17.877 ms 14.228 ms 12.041 ms" ilya at miass:~$ [3] traceroute 62.148.255.9 - _ROUTE AT STEP 4_ traceroute to 62.148.255.9 (62.148.255.9), 30 hops max, 40 byte packets 1 192.168.0.1 (192.168.0.1) 0.612 ms 0.599 ms 0.476 ms 2 217.19.117.145.static.uic.ru (217.19.117.145) 2.674 ms 2.592 ms 2.645 ms 3 217.19.112.129.static.uic.ru (217.19.112.129) 2.478 ms 12.483 ms 11.806 ms 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * Ilya Arhipkin ????? 2012-05-18 10:37: > sun at miass:~$ ping pkg.openindiana.org > no answer from pkg.openindiana.org :-! > from ISP Ural-Intercard My Dynamic IP: 109.71.206.26 > 17.05.12 20:25, Jan Owoc ?????: > >> On Thu, May 17, 2012 at 4:26 AM, Arhipkin Ilya wrote: >> >>> ilya at miass:~$ traceroute pkg.openindiana.org traceroute to pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets 1 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms >> [...] >> >>> 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) 117.917 ms 115.956 ms 117.584 ms 14 te1-4-3508-cr0.thn.uk.as6908.net (78.41.154.13) 127.272 ms 211.781 ms 109.575 ms 15 195.72.129.157 (195.72.129.157) 106.566 ms 103.591 ms 332.526 ms 16 * * * >> [...] That is the same route I get, but I actually get to the destination: $ tracert pkg.openindiana.org Tracing route to pkg.openindiana.org [91.194.74.133] over a maximum of 30 hops: 1OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss [2] Links: ------ [1] mailto:ilya at arhipkin.com [2] http://openindiana.org/mailman/listinfo/openindiana-discuss [3] mailto:ilya at miass:%7E$ From milan.jurik at xylab.cz Fri May 18 18:46:01 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Fri, 18 May 2012 20:46:01 +0200 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 In-Reply-To: <72c06f33f11135c1e13e47b263c0e298@arhipkin.com> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> <4FB5D1F3.2040605@arhipkin.com> <72c06f33f11135c1e13e47b263c0e298@arhipkin.com> Message-ID: <1337366761.1440.11.camel@xylabone> Hi, did you speak with your ISP? Best regards, Milan Arhipkin Ilya p??e v p? 18. 05. 2012 v 22:15 +0600: > > Route at Step 4 after tracing lost packets showed up to step 7, the > route "7 > ae-2.chbs-rgr3.ur.ip.rostelecom.ru (188.128.91.81) 17.877 ms > 14.228 ms > 12.041 ms" > ilya at miass:~$ [3] traceroute 62.148.255.9 - _ROUTE > AT STEP 4_ > traceroute to 62.148.255.9 (62.148.255.9), 30 hops max, 40 > byte packets > 1 192.168.0.1 (192.168.0.1) 0.612 ms 0.599 ms 0.476 ms > 2 > 217.19.117.145.static.uic.ru (217.19.117.145) 2.674 ms 2.592 ms 2.645 > > ms > 3 217.19.112.129.static.uic.ru (217.19.112.129) 2.478 ms 12.483 ms > > 11.806 ms > 4 * * * > 5 * * * > 6 * * * > 7 * * * > 8 * * * > 9 * * * > 10 * * * > 11 * > * * > 12 * * * > 13 * * * > 14 * * * > 15 * * * > 16 * * * > 17 * * * > 18 * * * > 19 * > * * > 20 * * * > 21 * * * > 22 * * * > 23 * * * > 24 * * * > 25 * * * > 26 * * * > 27 * > * * > 28 * * * > 29 * * * > 30 * * * > > Ilya Arhipkin ????? 2012-05-18 10:37: > > > > sun at miass:~$ ping pkg.openindiana.org > > no answer from > pkg.openindiana.org :-! > > from ISP Ural-Intercard My Dynamic IP: > 109.71.206.26 > > 17.05.12 20:25, Jan Owoc ?????: > > > >> On Thu, May 17, > 2012 at 4:26 AM, Arhipkin Ilya wrote: > >> > >>> > ilya at miass:~$ traceroute pkg.openindiana.org traceroute to > pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets 1 > 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms > >> [...] > >> > >>> > 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) 117.917 ms 115.956 ms > 117.584 ms 14 te1-4-3508-cr0.thn.uk.as6908.net (78.41.154.13) 127.272 ms > 211.781 ms 109.575 ms 15 195.72.129.157 (195.72.129.157) 106.566 ms > 103.591 ms 332.526 ms 16 * * * > >> [...] That is the same route I get, > but I actually get to the destination: $ tracert pkg.openindiana.org > Tracing route to pkg.openindiana.org [91.194.74.133] over a maximum of > 30 hops: 1OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss [2] > > > > > Links: > ------ > [1] mailto:ilya at arhipkin.com > [2] > http://openindiana.org/mailman/listinfo/openindiana-discuss > [3] > mailto:ilya at miass:%7E$ > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From ilya at arhipkin.com Fri May 18 20:04:44 2012 From: ilya at arhipkin.com (Arhipkin Ilya) Date: Sat, 19 May 2012 02:04:44 +0600 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 In-Reply-To: <1337366761.1440.11.camel@xylabone> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> <4FB5D1F3.2040605@arhipkin.com> <72c06f33f11135c1e13e47b263c0e298@arhipkin.com> <1337366761.1440.11.camel@xylabone> Message-ID: <36669ee7d6f5529c06a1b96c040a3803@arhipkin.com> Hi I have a grudge against one of my ISP's phone conversation with the customer service ended with imprisonment without trial, I need a permanent address require a legal entity that is my problem for two years or know what to do to open a business to divert voice in Russia Milan Jurik ????? 2012-05-19 00:46: > Hi, > > did you speak with your ISP? > > Best regards, > > Milan From jsowoc at gmail.com Fri May 18 20:25:06 2012 From: jsowoc at gmail.com (Jan Owoc) Date: Fri, 18 May 2012 14:25:06 -0600 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.org on 109.71.206.26 In-Reply-To: <36669ee7d6f5529c06a1b96c040a3803@arhipkin.com> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> <4FB5D1F3.2040605@arhipkin.com> <72c06f33f11135c1e13e47b263c0e298@arhipkin.com> <1337366761.1440.11.camel@xylabone> <36669ee7d6f5529c06a1b96c040a3803@arhipkin.com> Message-ID: On Fri, May 18, 2012 at 2:04 PM, Arhipkin Ilya wrote: > Milan Jurik ????? 2012-05-19 00:46: >> Hi, >> >> did you speak with your ISP? >> >> Best regards, >> >> Milan > > I have a grudge against one of my ISP's phone conversation with > the customer service ended with imprisonment without trial, I need a > permanent address require a legal entity that is my problem for two > years or know what to do to open a business to divert voice in Russia This is the 3rd or 4th time in the last few months that people on this list have trouble accessing the repository (be it because of proxy, or simply an offline/slow computer). I'm not sure what people on this list can do if your ISP is misdirecting or blocking traffic that is intended to go to openindiana.org. If there were a snapshot of the repository available as a regular download, would this solve the problem? (It would be a matter of someone running pkgrecv with appropriate options, tar-ing the result, and uploading the "snapshot".) Jan From sardonic.smiles at gmail.com Fri May 18 22:21:41 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Fri, 18 May 2012 18:21:41 -0400 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: References: <20120518133809.GA17783@www.fastmail.fm> <4FB65702.3020801@will.to> Message-ID: iperf is the only thing to use for generating the io. Use iftop to keep an eye on it while not using iperf. On Fri, May 18, 2012 at 10:57 AM, Richard Elling < richard.elling at richardelling.com> wrote: > On May 18, 2012, at 7:04 AM, Doug Hughes wrote: > > > A third recommendation for iperf. It's the tool you want. Don't mess > around with anything else. > > +1 > > There has been some discussion recently about using Poisson distributed > interarrival > times instead of fixed interval. This could have an impact for network > tests. Neil Gunther > recently posted an excellent blog on the subject. It might be time to > revisit iperf and add > some features :-) > http://perfdynamics.blogspot.com/2012/05/load-testing-with-uniform-vs.html > > oh, and don't forget to disable C-states, if appropriate. > -- richard > > -- > ZFS Performance and Training > Richard.Elling at RichardElling.com > +1-760-896-4422 > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From michelle at msknight.com Sat May 19 06:28:08 2012 From: michelle at msknight.com (michelle) Date: Sat, 19 May 2012 07:28:08 +0100 Subject: [OpenIndiana-discuss] Mounting an OI share from Linux Message-ID: <4FB73D78.6070004@msknight.com> Hi Folks, I came across this some time ago and someone helped me out. Mounting a cifs share from OI on a Linux box, a subsequent rsync throws an error. I believe there is a packet size that I have to manually set, but I've checked my notes and I don't have the option recorded anywhere. Can someone help please? Current mounting command on the Linux box... mount //192.168.0.2/mirror /mirror -o user=username,password=password,file_mode=0777,dir_mode=0777 pvr-machine / # rsync -rt /data/l2jserver/tekkit2/* /mirror/users/l2jdbuser/tekkit2 rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32) rsync: connection unexpectedly closed (237 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8] Thanks in advance for any assistance. Michelle. From michelle at msknight.com Sat May 19 07:13:19 2012 From: michelle at msknight.com (michelle) Date: Sat, 19 May 2012 08:13:19 +0100 Subject: [OpenIndiana-discuss] Mounting an OI share from Linux In-Reply-To: <4FB73D78.6070004@msknight.com> References: <4FB73D78.6070004@msknight.com> Message-ID: <4FB7480F.9010705@msknight.com> Hi Folks, Found it, it was option wsize=65536 Sorry to trouble people. Michelle. From matt.connolly.au at gmail.com Sat May 19 09:08:06 2012 From: matt.connolly.au at gmail.com (Matt Connolly) Date: Sat, 19 May 2012 19:08:06 +1000 Subject: [OpenIndiana-discuss] rvm ruby 64 bit In-Reply-To: <8B40C8B2-0136-4460-A879-8934343FCD63@gmail.com> References: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> <8B40C8B2-0136-4460-A879-8934343FCD63@gmail.com> Message-ID: <5C4AFA21-22FC-475C-8724-AAC839B2C5BC@gmail.com> Right you are, it's compiling 32-bit. I had a look though. Nearly all the processes running on my two 64-bit machines are 32-bit processes. qemu-kvm runs 64 bit native. That's about it. Do you have a real need for >2GB address space in a ruby script / extension? -Matt On 18/05/2012, at 9:10 AM, Matt Connolly wrote: > I thought it was already compiling in 64 bit code without any need to do anything special. I'll double check later today on my machine. > > Matt. > > On 17/05/2012, at 18:41, Achim Wolpers wrote: > >> Hi! >> >> I'm trying to install a 64bit version of ruby via rvm. I set >> >> rvm_archflags="-m64" >> >> but the compiler fails. Has anyone managed to get a 64bit ruby running? >> >> Achim >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss From mike.laspina at laspina.ca Sat May 19 21:17:58 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Sat, 19 May 2012 16:17:58 -0500 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.orgon 109.71.206.26 In-Reply-To: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> Message-ID: <8F607366E3C0F9499212649291E0BD64047975@MS1.laspina.ca> Arhipkin, Did you try traceroute -I pkg.openindiana.org Many ISP's do not respond to UDP pings. In this case it looks like the pkg host was actually down. Regards, Mike -----Original Message----- From: Arhipkin Ilya [mailto:ilya at arhipkin.com] Sent: Thursday, May 17, 2012 5:26 AM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.orgon 109.71.206.26 ilya at miass:~$ traceroute pkg.openindiana.org traceroute to pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets 1 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms 2 217.19.117.145.static.uic.ru (217.19.117.145) 2.539 ms 2.766 ms 2.565 ms 3 217.19.112.129.static.uic.ru (217.19.112.129) 2.870 ms 3.218 ms 3.564 ms 4 62.148.255.9 (62.148.255.9) 8.979 ms 9.034 ms 8.801 ms 5 * * * 6 * * * 7 ae-2.chbs-rgr3.ur.ip.rostelecom.ru (188.128.91.81) 18.535 ms 9.530 ms 74.631 ms 8 * * * 9 ge-1-0-3.r02.frnkge04.de.bb.gin.ntt.net (213.198.82.165) 93.110 ms 93.105 ms 93.396 ms 10 ae-3.r20.frnkge04.de.bb.gin.ntt.net (129.250.3.93) 139.473 ms 88.352 ms 95.757 ms 11 ae-1.r23.amstnl02.nl.bb.gin.ntt.net (129.250.3.179) 143.851 ms 101.716 ms 101.240 ms 12 * * * 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) 117.917 ms 115.956 ms 117.584 ms 14 te1-4-3508-cr0.thn.uk.as6908.net (78.41.154.13) 127.272 ms 211.781 ms 109.575 ms 15 195.72.129.157 (195.72.129.157) 106.566 ms 103.591 ms 332.526 ms 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * :-(Due to the repository is not available trace packet loss turned out to my email address ilya at miass:~$ sudo pkg install gcc-dev SUNWxorg-headers Password: pkg: 0/1 catalogs successfully updated: Unable to contact valid package repository Encountered the following error(s): Unable to contact any configured publishers. This is likely a network configuration problem. Framework error: code: 28 reason: Connection time-out URL: 'http://pkg.openindiana.org/dev'. (happened 4 times) _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From mike.laspina at laspina.ca Sat May 19 22:13:51 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Sat, 19 May 2012 17:13:51 -0500 Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting In-Reply-To: References: Message-ID: <8F607366E3C0F9499212649291E0BD64047976@MS1.laspina.ca> Hi Adrian, What logs have you checked. The SanBoxes? Dmesg? Stmf service? Are you running snapshots? Dedup? Compression? IRQ sharing? echo ::interrupts | mdb -k -----Original Message----- From: Adrian Carpenter [mailto:tac12 at wbic.cam.ac.uk] Sent: Friday, May 18, 2012 3:26 AM To: openindiana-discuss at openindiana.org Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting We are using one port of each of a pair of Qlogic 2562 cards to act as a FC target for our Xen environment, we are running oi_151a4. The other port on each card is used as an initiator to attach to some FC storage(Nexsan). We use two Qlogic SanBoxes configured so that the Xen hypervisors have a redundant path to the FC target which provides a Storage Repository from a ZVOL. Everything works really well as expected with good throughput, but randomly once every couple of days simultaneously BOTH FC targets on the Openindiana box reset their FC connections - this of course causes real problem in Xen environment and is not help by having redundant multipaths. We are at a bit of a loss, does anyone have any suggestions? Adrian _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From achimwo7 at googlemail.com Sun May 20 13:01:54 2012 From: achimwo7 at googlemail.com (Achim Wolpers) Date: Sun, 20 May 2012 15:01:54 +0200 Subject: [OpenIndiana-discuss] rvm ruby 64 bit In-Reply-To: <5C4AFA21-22FC-475C-8724-AAC839B2C5BC@gmail.com> References: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> <8B40C8B2-0136-4460-A879-8934343FCD63@gmail.com> <5C4AFA21-22FC-475C-8724-AAC839B2C5BC@gmail.com> Message-ID: <2FA1ACDA-EA36-404A-8F2F-CBBD4487C3BE@googlemail.com> Paperclip is not able to handle files > 2GB if ruby runs in 32bit. I also have mixed integer problems in glpk that exceed the 32bit address space. I really need a 64bit ruby environment. Achim Am 19.05.2012 um 11:08 schrieb Matt Connolly: > Right you are, it's compiling 32-bit. > > I had a look though. Nearly all the processes running on my two 64-bit machines are 32-bit processes. > > qemu-kvm runs 64 bit native. > > That's about it. Do you have a real need for >2GB address space in a ruby script / extension? > > -Matt > > > On 18/05/2012, at 9:10 AM, Matt Connolly wrote: > >> I thought it was already compiling in 64 bit code without any need to do anything special. I'll double check later today on my machine. >> >> Matt. >> >> On 17/05/2012, at 18:41, Achim Wolpers wrote: >> >>> Hi! >>> >>> I'm trying to install a 64bit version of ruby via rvm. I set >>> >>> rvm_archflags="-m64" >>> >>> but the compiler fails. Has anyone managed to get a 64bit ruby running? >>> >>> Achim >>> >>> _______________________________________________ >>> OpenIndiana-discuss mailing list >>> OpenIndiana-discuss at openindiana.org >>> http://openindiana.org/mailman/listinfo/openindiana-discuss > From gonczi at comcast.net Sun May 20 15:10:04 2012 From: gonczi at comcast.net (Steve Gonczi) Date: Sun, 20 May 2012 11:10:04 -0400 Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting In-Reply-To: References: Message-ID: <5366D12B-465D-4C14-8C78-D41EDE66DF15@comcast.net> At one time I posted a dtrace script to track txg open times. Look for it in the forum archives or I can repost it .Some Other folks Posted Similar Scripts ... I would not be surprised to find a txg being open for an unusually long time when the problem happens. That would Indicate a problem in the Zfs disk io path. eg. Large File deletions with dedup Turned On may cause an Io Storm and that In turn may cause your Problem. Steve On May 18, 2012, at 4:25 AM, Adrian Carpenter wrote: > We are using one port of each of a pair of Qlogic 2562 cards to act as a FC target for our Xen environment, we are running oi_151a4. The other port on each card is used as an initiator to attach to some FC storage(Nexsan). We use two Qlogic SanBoxes configured so that the Xen hypervisors have a redundant path to the FC target which provides a Storage Repository from a ZVOL. Everything works really well as expected with good throughput, but randomly once every couple of days simultaneously BOTH FC targets on the Openindiana box reset their FC connections - this of course causes real problem in Xen environment and is not help by having redundant multipaths. > > We are at a bit of a loss, does anyone have any suggestions? > > Adrian > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From tac12 at wbic.cam.ac.uk Sun May 20 21:25:39 2012 From: tac12 at wbic.cam.ac.uk (Adrian Carpenter) Date: Sun, 20 May 2012 22:25:39 +0100 Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting Message-ID: Hi Mike: The server is a SuperMicro 2042G-TRF, 256GB RAM, 4 x AMD 6272, 2 Qlogic 2562, 1 Intel I250T The SanBoxes? - Nexsan nothing in their logs Dmesg? : > May 17 17:33:47 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt1,0 LINK UP, portid 20300, topology Fabric Pt-to-Pt,speed 8G > May 17 17:33:48 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt0,0 LINK UP, portid 10400, topology Fabric Pt-to-Pt,speed 8G Stmf service? Nothing at all in the logs Are you running snapshots? yes am running auto snapshot service, in addition I'm running a script (hourly) that snapshots the volume and send it over ssh to another machine. Dedup? Off Compression? lzjb IRQ sharing? echo ::interrupts | mdb -k IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# ISR(s) 1 0x41 5 ISA Edg Fixed 3 1 0x0/0x1 i8042_intr 3 0xb1 12 ISA Edg Fixed 39 1 0x0/0x3 asyintr 4 0xb0 12 ISA Edg Fixed 38 1 0x0/0x4 asyintr 5 0xb2 12 ISA Edg Fixed 40 1 0x0/0x5 asyintr 9 0x80 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr 12 0x42 5 ISA Edg Fixed 4 1 0x0/0xc i8042_intr 16 0x83 9 PCI Lvl Fixed 7 2 0x0/0x10 ohci_intr, ohci_intr 17 0x81 9 PCI Lvl Fixed 5 1 0x0/0x11 ehci_intr 18 0x84 9 PCI Lvl Fixed 8 3 0x0/0x12 ohci_intr, ohci_intr, ohci_intr 19 0x82 9 PCI Lvl Fixed 6 1 0x0/0x13 ehci_intr 22 0x40 5 PCI Lvl Fixed 2 2 0x0/0x16 ata_intr, ata_intr 88 0x43 5 PCI Edg MSI-X 9 1 - ql_isr_aif 89 0x44 5 PCI Edg MSI-X 10 1 - ql_isr_aif 90 0x45 5 PCI Edg MSI-X 11 1 - ql_isr_aif 91 0x46 5 PCI Edg MSI-X 12 1 - ql_isr_aif 92 0x60 6 PCI Edg MSI-X 13 1 - igb_intr_tx_other 93 0x61 6 PCI Edg MSI-X 14 1 - igb_intr_rx 94 0x62 6 PCI Edg MSI-X 15 1 - igb_intr_tx_other 95 0x63 6 PCI Edg MSI-X 16 1 - igb_intr_rx 96 0x64 6 PCI Edg MSI-X 36 1 - igb_intr_tx_other 97 0x65 6 PCI Edg MSI-X 37 1 - igb_intr_rx 98 0x66 6 PCI Edg MSI-X 41 1 - igb_intr_tx_other 99 0x67 6 PCI Edg MSI-X 42 1 - igb_intr_rx 100 0x68 6 PCI Edg MSI-X 43 1 - igb_intr_tx_other 101 0x69 6 PCI Edg MSI-X 44 1 - igb_intr_rx 102 0x6a 6 PCI Edg MSI-X 45 1 - igb_intr_tx_other 103 0x6b 6 PCI Edg MSI-X 46 1 - igb_intr_rx 104 0x47 5 PCI Edg MSI 30 1 - qlt_isr 105 0x48 5 PCI Edg MSI 31 1 - qlt_isr 160 0xa0 0 Edg IPI all 0 - poke_cpu 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr 209 0xd1 14 Edg IPI all 1 - cbe_fire 210 0xd3 14 Edg IPI all 1 - cbe_fire 240 0xe0 15 Edg IPI all 1 - xc_serv 241 0xe1 15 Edg IPI all 1 - apic_error_intr Dr T Adrian Carpenter Reader in Imaging Sciences Wolfson Brain Imaging Centre From gary_mills at fastmail.fm Mon May 21 14:18:01 2012 From: gary_mills at fastmail.fm (Gary Mills) Date: Mon, 21 May 2012 09:18:01 -0500 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: <20120518133809.GA17783@www.fastmail.fm> References: <20120518133809.GA17783@www.fastmail.fm> Message-ID: <20120521141801.GA19205@www.fastmail.fm> On Fri, May 18, 2012 at 08:38:09AM -0500, Gary Mills wrote: > I'm just finishing a driver for the Atheros AR8131 and AR8132 ethernet > devices. I'm ready now to test it under load. What's available in > OpenIndiana for this purpose? I couldn't see anything in the > repository that seemed suitable. I don't need to bring the interface > up to maximum throughput, but I'd at least like to be sure that > nothing breaks when it has a reasonable load. Thanks to all who responded. Most of you recommended `iperf'. That's what I used. Not being a network expert, I didn't know what options to use, but with the defaults I was able to push many packets through this interface in both directions. The driver worked nicely. I got a bandwith of about 94 Mbits/sec, three times that of the wireless interface. That's all I needed. -- -Gary Mills- -refurb- -Winnipeg, Manitoba, Canada- From mike.laspina at laspina.ca Mon May 21 15:47:22 2012 From: mike.laspina at laspina.ca (Mike La Spina) Date: Mon, 21 May 2012 10:47:22 -0500 Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting In-Reply-To: References: Message-ID: <8F607366E3C0F9499212649291E0BD64047977@MS1.laspina.ca> Hi Adrian, The SanBoxes? - Nexsan nothing in their logs OK Dmesg? : > May 17 17:33:47 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt1,0 > LINK UP, portid 20300, topology Fabric Pt-to-Pt,speed 8G May 17 > 17:33:48 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt0,0 LINK UP, > portid 10400, topology Fabric Pt-to-Pt,speed 8G Seeing a single LINKUP notice would normally only occur on init. I would say it's just that, otherwise you would have a LINKDOWN before the LINKUP, meaning an event on the fabric is your root issue. Stmf service? Nothing at all in the logs OK Are you running snapshots? yes am running auto snapshot service, in addition I'm running a script (hourly) that snapshots the volume and send it over ssh to another machine. I suspect an issue here. The snapshot service runs on fixed time intervals e.g. 15Min 1Hour 24Hhour 1Month if your also adding a snapshot that runs hourly to do a ZFS send/rec they will overlap. The overlap may cause an excessive blocking to stmf sbd access and result in a timeout for the XEN host initiators. I suggest you use the auto based existing hourly snaps and simply send them over to the remote host or file system using a script @ 15 minutes after the hour. Dedup? Off - OK Compression? Lzjb - OK IRQ sharing? echo ::interrupts | mdb -k IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# ISR(s) 1 0x41 5 ISA Edg Fixed 3 1 0x0/0x1 i8042_intr 3 0xb1 12 ISA Edg Fixed 39 1 0x0/0x3 asyintr 4 0xb0 12 ISA Edg Fixed 38 1 0x0/0x4 asyintr 5 0xb2 12 ISA Edg Fixed 40 1 0x0/0x5 asyintr 9 0x80 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr 12 0x42 5 ISA Edg Fixed 4 1 0x0/0xc i8042_intr 16 0x83 9 PCI Lvl Fixed 7 2 0x0/0x10 ohci_intr, ohci_intr 17 0x81 9 PCI Lvl Fixed 5 1 0x0/0x11 ehci_intr 18 0x84 9 PCI Lvl Fixed 8 3 0x0/0x12 ohci_intr, ohci_intr, ohci_intr 19 0x82 9 PCI Lvl Fixed 6 1 0x0/0x13 ehci_intr 22 0x40 5 PCI Lvl Fixed 2 2 0x0/0x16 ata_intr, ata_intr 88 0x43 5 PCI Edg MSI-X 9 1 - ql_isr_aif 89 0x44 5 PCI Edg MSI-X 10 1 - ql_isr_aif 90 0x45 5 PCI Edg MSI-X 11 1 - ql_isr_aif 91 0x46 5 PCI Edg MSI-X 12 1 - ql_isr_aif 92 0x60 6 PCI Edg MSI-X 13 1 - igb_intr_tx_other 93 0x61 6 PCI Edg MSI-X 14 1 - igb_intr_rx 94 0x62 6 PCI Edg MSI-X 15 1 - igb_intr_tx_other 95 0x63 6 PCI Edg MSI-X 16 1 - igb_intr_rx 96 0x64 6 PCI Edg MSI-X 36 1 - igb_intr_tx_other 97 0x65 6 PCI Edg MSI-X 37 1 - igb_intr_rx 98 0x66 6 PCI Edg MSI-X 41 1 - igb_intr_tx_other 99 0x67 6 PCI Edg MSI-X 42 1 - igb_intr_rx 100 0x68 6 PCI Edg MSI-X 43 1 - igb_intr_tx_other 101 0x69 6 PCI Edg MSI-X 44 1 - igb_intr_rx 102 0x6a 6 PCI Edg MSI-X 45 1 - igb_intr_tx_other 103 0x6b 6 PCI Edg MSI-X 46 1 - igb_intr_rx 104 0x47 5 PCI Edg MSI 30 1 - qlt_isr 105 0x48 5 PCI Edg MSI 31 1 - qlt_isr 160 0xa0 0 Edg IPI all 0 - poke_cpu 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr 209 0xd1 14 Edg IPI all 1 - cbe_fire 210 0xd3 14 Edg IPI all 1 - cbe_fire 240 0xe0 15 Edg IPI all 1 - xc_serv 241 0xe1 15 Edg IPI all 1 - apic_error_intr OK Dr T Adrian Carpenter Reader in Imaging Sciences Wolfson Brain Imaging Centre _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From wesbrown18 at gmail.com Mon May 21 16:07:50 2012 From: wesbrown18 at gmail.com (Wesley Brown) Date: Mon, 21 May 2012 12:07:50 -0400 Subject: [OpenIndiana-discuss] Mellanox MHQH29C-XTR Infiniband HCA compatibility Message-ID: Martyn, Rich, This may be a little late to the party, but I'd like to chime in that the MHQH29C-XTR works beautifully on Open Indiana. The hermon driver attaches, IPoIB works, as does SRP. I answer this question because I was attempting to research this very subject, and found a scarcity of information on this. root at stratus:~# dladm show-ib LINK HCAGUID PORTGUID PORT STATE PKEYS ibp0 2C9030057B3E0 2C9030057B3E1 1 up FFFF ibp1 2C9030057B3E0 2C9030057B3E2 2 down FFFF Additional notes for other members of the list: * 'memfree' InfiniHost III cards such as the MHEA28-XTC do not work at all with Open Indiana. * if you are wanting a vintage and affordable card, the 128MB version of the above card such as the MHGA28-1TC should work. I am getting one in soon for testing. -Wes >Since, to my knowledge, all of the Sun^WOracle branded IB HCAs are >using Mellanox ICs, I'd be extremely surprised if they were >unsupported. > >- Rich > >On Tue, Sep 20, 2011 at 10:36 PM, Martyn Klassen >< mklassen at imaging.robarts.ca > wrote: > I have been unsuccessfully trying to find compatibility information on the Mellanox MHQH29C-XTR Infiniband HCA with OpenIndiana. > > It is a memfree ConnectX 2 based card that I think should work. I have a ConnectX based card the works fine with the hermon driver in oi_148, but I have been unable to find any information about Solaris or OpenIndiana support for any of the ConnectX 2 HCAs. I was hoping someone might be using the card (or any of the other PCI device ID 26428 cards http://www.mellanox.com/content/pages.php?pg=firmware_table_ConnectX2IB ) and can confirm compatibility? > > Martyn Klassen > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From andre at ak47.co.za Tue May 22 08:07:31 2012 From: andre at ak47.co.za (andre at ak47.co.za) Date: Tue, 22 May 2012 10:07:31 +0200 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: References: Message-ID: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> Hi Does anybody know of an app that can be used to check hard drive temps? One step better can anybody suggest a Nagios plugin that can be used? Cheers From jimklimov at cos.ru Tue May 22 08:48:50 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 12:48:50 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> Message-ID: <4FBB52F2.2090406@cos.ru> 2012-05-22 12:07, andre at ak47.co.za wrote: > > > Hi > > Does anybody know of an app that can be used to check hard > drive temps? smartmontools can do that, I've recently checksed - it is not hard to compile in OpenSolaris (though I checked that on an older release). It is not (yet) provided in illumos, but I've made a bug to track the compile options and so on, in case I or anybody else before me, comes to integrate the package :) https://www.illumos.org/issues/2723 > One step better can anybody suggest a Nagios plugin that > can be used? Perhaps a grepping wrapper to "smartctl"? HTH, //Jim Klimov From edwardlotus at gmail.com Tue May 22 09:24:57 2012 From: edwardlotus at gmail.com (Edward M) Date: Tue, 22 May 2012 02:24:57 -0700 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <4FBB52F2.2090406@cos.ru> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> Message-ID: <4FBB5B69.6020205@gmail.com> On 05/22/2012 01:48 AM, Jim Klimov wrote: > > smartmontools can do that, I've recently checksed - it is > not hard to compile in OpenSolaris (though I checked that > on an older release). It is not (yet) provided in illumos, > but I've made a bug to track the compile options and so on, > in case I or anybody else before me, comes to integrate the > package :) smartmontools? :-) I rememeber coming across that name in opencsw website. I think it is being offered as a package for solaris. not sure if will work in OI? http://www.opencsw.org/packages/smartmontools/ From jimklimov at cos.ru Tue May 22 10:16:55 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 14:16:55 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> Message-ID: <4FBB6797.8020204@cos.ru> 2012-05-22 13:05, andre at ak47.co.za ???????: > On 22.05.2012 10:48, Jim Klimov wrote: > > 2012-05-22 12:07,andre at ak47.co.za wrote: > > Hi Does anybody know of an app that can be used to check hard drive temps? > > smartmontools can do that, I've recently checksed - it is > not hard to compile in OpenSolaris (though I checked that > on an older release). It is not (yet) provided in illumos, > but I've made a bug to track the compile options and so on, > in case I or anybody else before me, comes to integrate the > package :) > > https://www.illumos.org/issues/2723 > > I installed smartmontool this morning, but I can not get it to work. It does not recognize the OI devices: > > Searching for disks...done > > > AVAILABLE DISK SELECTIONS: > 0. c7d0 > /pci at 0,0/pci-ide at 11/ide at 0/cmdk at 0,0 > 1. c7d1 > /pci at 0,0/pci-ide at 11/ide at 0/cmdk at 1,0 > 2. c9d1 > /pci at 0,0/pci-ide at 11/ide at 1/cmdk at 1,0 > 3. c10d0 > /pci at 0,0/pci-ide at 14,1/ide at 0/cmdk at 0,0 > 4. c10d1 > /pci at 0,0/pci-ide at 14,1/ide at 0/cmdk at 1,0 > > smartctl /dev/rdsk/c10d1 > smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) > Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Well, from the "cmdk" device paths and "cXdY" disk names it seems that the disks are used in IDE mode (as ATA connection in smartmontools also confirms). I believe disks of this size are "bound to be" SATA or SAS, if you change the BIOS modes accordingly. There may be a problem when changing the rpool from IDE to SATA and back, but it is one with known solutions. I believe using native SATA mode can have benefits absent in IDE and/or hampered by translation like command queuing and higher IO speeds. I am not sure if the IDE-SATA translation in the motherboard does/should pass all commands, like the optional SMART ones, as well. Also you may have to play around with smartctl -d option to pick a disk access mode (i.e. "-d scsi" is often needed for my SATA disks); perhaps you'd find a mode which works in your current setup. HTH, //Jim Klimov From jimklimov at cos.ru Tue May 22 10:31:32 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 14:31:32 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> Message-ID: <4FBB6B04.70400@cos.ru> 2012-05-22 13:05, andre at ak47.co.za wrote: > smartctl /dev/rdsk/c10d1 > smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) > Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net It might also matter that you have an older version of the tools. The one I fetched recently from SourceForge and compiled was 5.42: smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net But still not everything works for me, i.e. I can't initiate SMART self-tests (scrubs of disk media by disk itself) on a particular box. HTH, //Jim Klimov From slefevre at indy.rr.com Tue May 22 10:53:27 2012 From: slefevre at indy.rr.com (Scott LeFevre) Date: Tue, 22 May 2012 06:53:27 -0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <4FBB6B04.70400@cos.ru> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> Message-ID: <1337684007.22029.17.camel@exilis.si-consulting.us> I've been using smartmontools 5.40 for a while with few issues. I have 9 drives between two SATA controllers and use the following line in smartd.conf to run the self tests: /dev/rdsk/c1t0d0 -d sat,12 -o on -S on -t -I 194 -I 231 -I 9 -l error -l selftest -s (S/../.././02|L/../../4/04) -m slefevre at example.com This line is repeated once for each drive. To get the temperature for a drive, a simple one-liner works: smartctl -A -d sat,12 /dev/rdsk/c1t0d0 | grep ^194 | awk '{print $10}' Cheers, Scott LeFevre On Tue, 2012-05-22 at 14:31 +0400, Jim Klimov wrote: > 2012-05-22 13:05, andre at ak47.co.za wrote: > > smartctl /dev/rdsk/c10d1 > > smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) > > Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net > > It might also matter that you have an older version of the tools. > The one I fetched recently from SourceForge and compiled was 5.42: > > smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > But still not everything works for me, i.e. I can't initiate > SMART self-tests (scrubs of disk media by disk itself) on a > particular box. > > HTH, > //Jim Klimov > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Tue May 22 10:57:47 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 14:57:47 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <4FBB6B04.70400@cos.ru> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> Message-ID: <4FBB712B.7060103@cos.ru> 2012-05-22 14:31, Jim Klimov ???????: > 2012-05-22 13:05, andre at ak47.co.za wrote: >> smartctl /dev/rdsk/c10d1 >> smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) >> Copyright (C) 2002-10 by Bruce Allen, >> http://smartmontools.sourceforge.net > > It might also matter that you have an older version of the tools. > The one I fetched recently from SourceForge and compiled was 5.42: > > smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build) > Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net > > But still not everything works for me, i.e. I can't initiate > SMART self-tests (scrubs of disk media by disk itself) on a > particular box. Ok, I've tried it now on my home box (oi_151a) and the compilation worked without a hitch. # ./smartctl /dev/rdsk/c7t0d0 -dscsi -a smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net User Capacity: 2,000,398,934,016 bytes [2.00 TB] Logical block size: 512 bytes Serial number: 5YD217ZL Device type: disk Local Time is: Tue May 22 14:53:24 2012 MSK Device supports SMART and is Enabled Temperature Warning Disabled or Not Supported SMART Health Status: OK Current Drive Temperature: 41 C Manufactured in week 00 of year 0000 Specified cycle count over device lifetime: 100 Accumulated start-stop cycles: 0 Error Counter logging not supported No self-tests have been logged Interestingly, for my rpool disk it wanted the slice device, oh well: # ./smartctl /dev/rdsk/c4t1d0 -dscsi -a smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net Smartctl open device: /dev/rdsk/c4t1d0 failed: No such device # ./smartctl /dev/rdsk/c4t1d0s0 -dscsi -a smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net User Capacity: 80,026,361,856 bytes [80.0 GB] Logical block size: 512 bytes Serial number: 5LR557KB Device type: disk Local Time is: Tue May 22 14:55:42 2012 MSK Device supports SMART and is Enabled Temperature Warning Disabled or Not Supported SMART Health Status: OK Current Drive Temperature: Manufactured in week 00 of year 0000 Specified cycle count over device lifetime: 100 Accumulated start-stop cycles: 0 Error Counter logging not supported No self-tests have been logged As with other SMART things, the standard is optional and not all vendors implement it the same way and/or fully on all disk models. More nits on the smartmontools page and even more - on that of its GUI sister-project :) //Jim Klimov From jimklimov at cos.ru Tue May 22 11:03:41 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 15:03:41 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <1337684007.22029.17.camel@exilis.si-consulting.us> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> <1337684007.22029.17.camel@exilis.si-consulting.us> Message-ID: <4FBB728D.205@cos.ru> 2012-05-22 14:53, Scott LeFevre ???????: > I've been using smartmontools 5.40 for a while with few issues. I have > 9 drives between two SATA controllers and use the following line in > smartd.conf to run the self tests: > > /dev/rdsk/c1t0d0 -d sat,12 -o on -S on -t -I 194 -I 231 -I 9 -l error -l selftest -s (S/../.././02|L/../../4/04) -m slefevre at example.com > > > This line is repeated once for each drive. > > To get the temperature for a drive, a simple one-liner works: > > smartctl -A -d sat,12 /dev/rdsk/c1t0d0 | grep ^194 | awk '{print $10}' Thanks a log for the "-d sat,12" tip. I've seen it sometime ago, but lost and couldn't reproduce :) This way smartctl yields even more info on my homebox disks (including the temperature on the root disk absent in the "-d scsi" query results), but did not work on the Thumper. So, YMMV :) Thanks again, //Jim Klimov From andre at ak47.co.za Tue May 22 11:30:10 2012 From: andre at ak47.co.za (andre at ak47.co.za) Date: Tue, 22 May 2012 13:30:10 +0200 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <4FBB728D.205@cos.ru> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> <1337684007.22029.17.camel@exilis.si-consulting.us> <4FBB728D.205@cos.ru> Message-ID: <4ac8598b33f755f3f9fd236d77eb5ef9@ak47.co.za> On 22.05.2012 13:03, Jim Klimov wrote: > 2012-05-22 14:53, Scott LeFevre ???????: > >> I've been using smartmontools 5.40 for a while with few issues. I have 9 drives between two SATA controllers and use the following line in smartd.conf to run the self tests: /dev/rdsk/c1t0d0 -d sat,12 -o on -S on -t -I 194 -I 231 -I 9 -l error -l selftest -s (S/../.././02|L/../../4/04) -m slefevre at example.com [1] This line is repeated once for each drive. To get the temperature for a drive, a simple one-liner works: smartctl -A -d sat,12 /dev/rdsk/c1t0d0 | grep ^194 | awk '{print $10}' > > Thanks a log for the "-d sat,12" tip. I've seen it sometime > ago, but lost and couldn't reproduce :) > > This way smartctl yields even more info on my homebox disks > (including the temperature on the root disk absent in the > "-d scsi" query results), but did not work on the Thumper. > So, YMMV :) > > Thanks again, > //Jim Klimov > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org [2] > http://openindiana.org/mailman/listinfo/openindiana-discuss [3] Isn't this just a little weird (I haven't checked my BIOS just yet for disk settings): smartctl --scan /dev/rdsk/c10d0s0 -d ata [ATA] /dev/rdsk/c10d1s0 -d ata [ATA] /dev/rdsk/c7d0s0 -d ata [ATA] /dev/rdsk/c7d1s0 -d ata [ATA] /dev/rdsk/c9d1s0 -d ata [ATA] It finds the disks. So I perform a test: smartctl -d test /dev/rdsk/c7d1s0 smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net /dev/rdsk/c7d1s0: Device of type 'ata' [ATA] detected /dev/rdsk/c7d1s0: Device of type 'ata' [ATA] opened Looks as though it should work, however if I try and get info, it fails: smartctl /dev/rdsk/c7d1s0 smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net ####################################################################### ATA command routine ata_command_interface() NOT IMPLEMENTED under Solaris. Please contact smartmontools-support at lists.sourceforge.net if you want to help in porting smartmontools to Solaris. ####################################################################### Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. The problem probably lies with, "ATA command routine ata_command_interface() NOT IMPLEMENTED under Solaris." Links: ------ [1] mailto:slefevre at example.com [2] mailto:OpenIndiana-discuss at openindiana.org [3] http://openindiana.org/mailman/listinfo/openindiana-discuss From maybird1776 at yahoo.com Tue May 22 12:26:59 2012 From: maybird1776 at yahoo.com (ken mays) Date: Tue, 22 May 2012 05:26:59 -0700 (PDT) Subject: [OpenIndiana-discuss] Mellanox MHQH29C-XTR Infiniband HCA compatibility In-Reply-To: References: Message-ID: <1337689619.9092.YahooMailNeo@web111310.mail.gq1.yahoo.com> Wesley, Only an issue if someone wants to use the MCX3* cards ~ Ken Mays ________________________________ From: Wesley Brown To: openindiana-discuss at openindiana.org Sent: Monday, May 21, 2012 12:07 PM Subject: Re: [OpenIndiana-discuss] Mellanox MHQH29C-XTR Infiniband HCA compatibility Martyn, Rich, This may be a little late to the party, but I'd like to chime in that the MHQH29C-XTR works beautifully on Open Indiana.? The hermon driver attaches, IPoIB works, as does SRP.? I answer this question because I was attempting to research this very subject, and found a scarcity of information on this. root at stratus:~# dladm show-ib LINK? ? ? ? HCAGUID? ? ? ? PORTGUID? ? ? ? PORT STATE? PKEYS ibp0? ? ? ? 2C9030057B3E0? 2C9030057B3E1? 1? ? up? ? FFFF ibp1? ? ? ? 2C9030057B3E0? 2C9030057B3E2? 2? ? down? FFFF Additional notes for other members of the list: ? ? * 'memfree' InfiniHost III cards such as the MHEA28-XTC do not work at all with Open Indiana. ? ? * if you are wanting a vintage and affordable card, the 128MB version of the above card such as the MHGA28-1TC should work.? I am getting one in soon for testing. -Wes >Since, to my knowledge, all of the Sun^WOracle branded IB HCAs are >using Mellanox ICs, I'd be extremely surprised if they were >unsupported. > >- Rich > >On Tue, Sep 20, 2011 at 10:36 PM, Martyn Klassen >< mklassen at imaging.robarts.ca > wrote: > I have been unsuccessfully trying to find compatibility information on the Mellanox MHQH29C-XTR Infiniband HCA with OpenIndiana. > > It is a memfree ConnectX 2 based card that I think should work. I have a ConnectX based card the works fine with the hermon driver in oi_148, but I have been unable to find any information about Solaris or OpenIndiana support for any of the ConnectX 2 HCAs. I was hoping someone might be using the card (or any of the other PCI device ID 26428 cards? http://www.mellanox.com/content/pages.php?pg=firmware_table_ConnectX2IB ) and can confirm compatibility? > > Martyn Klassen > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Tue May 22 12:29:25 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 16:29:25 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <4ac8598b33f755f3f9fd236d77eb5ef9@ak47.co.za> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> <1337684007.22029.17.camel@exilis.si-consulting.us> <4FBB728D.205@cos.ru> <4ac8598b33f755f3f9fd236d77eb5ef9@ak47.co.za> Message-ID: <4FBB86A5.9050301@cos.ru> 2012-05-22 15:30, andre at ak47.co.za, wrote: > The problem probably lies with, "ATA command > routine ata_command_interface() NOT IMPLEMENTED under Solaris." I think so too, and I'm not sure what can be done other than varying your system. Maybe the 1-year-newer version of the tools, or usage of the scsi/sat connector, maybe along with the BIOS change from IDE to SATA, would altogether use that connection mode which works in Solaris and provides the temp data :) Good luck, //Jim Klimov From ironsides.medvet at gmail.com Tue May 22 12:42:51 2012 From: ironsides.medvet at gmail.com (Bryan Iotti) Date: Tue, 22 May 2012 14:42:51 +0200 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: <4FBB86A5.9050301@cos.ru> References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> <1337684007.22029.17.camel@exilis.si-consulting.us> <4FBB728D.205@cos.ru> <4ac8598b33f755f3f9fd236d77eb5ef9@ak47.co.za> <4FBB86A5.9050301@cos.ru> Message-ID: Also check which driver your controllers are using. SMART passthrough does not work with the pci-ide driver. Bryan On May 22, 2012 2:33 PM, "Jim Klimov" wrote: > 2012-05-22 15:30, andre at ak47.co.za, wrote: > > The problem probably lies with, "ATA command >> routine ata_command_interface() NOT IMPLEMENTED under Solaris." >> > > I think so too, and I'm not sure what can be done other than > varying your system. Maybe the 1-year-newer version of the > tools, or usage of the scsi/sat connector, maybe along with > the BIOS change from IDE to SATA, would altogether use that > connection mode which works in Solaris and provides the temp > data :) > > Good luck, > //Jim Klimov > > ______________________________**_________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@**openindiana.org > http://openindiana.org/**mailman/listinfo/openindiana-**discuss > From ths.mailaddr at yahoo.com Tue May 22 13:13:33 2012 From: ths.mailaddr at yahoo.com (ths.mailaddr at yahoo.com) Date: Tue, 22 May 2012 06:13:33 -0700 (PDT) Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows Message-ID: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> Hello, i try to get OI running as a replacement for an ageing netware server. Therefor i am interested in ZFS and CIFS. The setup was straight forward and didt cause any problems. But now im stuck. I am not able to manage the ACLs from WinXP Pro SP3 nor Win7 Pro. I have added 'other password required pam_smb_passwd.so.1 nowarn' to /etc/pam.conf and reset the root password. First, I am running the CIFS service in workgroup mode and i have created 2 additional users called 'admin' and 'user1'. 'admin' is supposed to be the windows administrator, 'user1' an ordinary user.? The share is setup like this: # zfs create -o casesensitivity=mixed -o nbmand=on datapool/test # zfs set "sharesmb=name=test" datapool/test # chown -R admin /datapool/test # zfs set aclinherit=passthrough datapool/test # zfs set aclmode=passthrough datapool/test /usr/bin/chmod A=\ owner@:rwxpdDaARWcCos:fd-----:allow,\ group@:rwxpdDaARWcCos:fd-----:allow,\ everyone@:rwxpdDaARWcCos:fd-----:allow \ /datapool/test The ACLs on the share are: ?ls -V /datapool/test/.zfs/shares/test -rwxrwxrwx+? 1 root???? root?????????? 0 Mai 16 11:41 /datapool/test/.zfs/shares/test ????????????? everyone@:rwxpdDaARWcCos:-------:allow I can connect to the share either using root, admin or user1, but i cannot manage the ACLs from Explorer->Properties->Security tab, regardless if i connect as root or admin. The tab shows full rights for 'Current Ower', 'Current Group' and 'Everyone' If i connect the Windows Computer Management Console to the OI host, i see 3 SMB groups 'administrators', 'backup operators' and 'power users' and 3 users 'admin', 'root' and 'user1'. Windows let me access the details for the groups, showing an empty membership list, but didnt let me add any users. Error is always "Object not found". The same happens if i try to add an explicit ACL for one of these users from Explorer->Properties->Security tab. Btw - if i add the users via smbadm add-member, they show up on windows. Could someone point me in the right direction please? Thanks in advance Thomas From wesbrown18 at gmail.com Tue May 22 13:20:24 2012 From: wesbrown18 at gmail.com (Wesley Brown) Date: Tue, 22 May 2012 09:20:24 -0400 Subject: [OpenIndiana-discuss] Mellanox MHQH29C-XTR Infiniband HCA compatibility In-Reply-To: <1337689619.9092.YahooMailNeo@web111310.mail.gq1.yahoo.com> References: <1337689619.9092.YahooMailNeo@web111310.mail.gq1.yahoo.com> Message-ID: Ken, MCX3 cards can be gotten for $25-$50, and the switch can be gotten for a ballpark of $100-$200. These cards are primarily for me to test the Infiniband stack with OpenIndiana as part of the verification and test process in my home office lab. I do agree that in a production sense, that it is better to get the more recent cards such as the MHQH29C-XTR for 40gbps of throughput. This is the sort of network that we are building, and is why I have one on hand temporarily for my home office. It has been a frustrating process, as there is no one guide to Infiniband on Solaris -- partially because Oracle rearranged the old Sun support and document sites so many sources of information no longer exist. -Wes On May 22, 2012, at 8:26 AM, ken mays wrote: > Wesley, > > Only an issue if someone wants to use the MCX3* cards > > ~ Ken Mays > > > > ________________________________ > From: Wesley Brown > To: openindiana-discuss at openindiana.org > Sent: Monday, May 21, 2012 12:07 PM > Subject: Re: [OpenIndiana-discuss] Mellanox MHQH29C-XTR Infiniband HCA compatibility > > Martyn, Rich, > > This may be a little late to the party, but I'd like to chime in that the MHQH29C-XTR works beautifully on Open Indiana. The hermon driver attaches, IPoIB works, as does SRP. I answer this question because I was attempting to research this very subject, and found a scarcity of information on this. > > root at stratus:~# dladm show-ib > LINK HCAGUID PORTGUID PORT STATE PKEYS > ibp0 2C9030057B3E0 2C9030057B3E1 1 up FFFF > ibp1 2C9030057B3E0 2C9030057B3E2 2 down FFFF > > Additional notes for other members of the list: > * 'memfree' InfiniHost III cards such as the MHEA28-XTC do not work at all with Open Indiana. > * if you are wanting a vintage and affordable card, the 128MB version of the above card such as the MHGA28-1TC should work. I am getting one in soon for testing. > > -Wes > >> Since, to my knowledge, all of the Sun^WOracle branded IB HCAs are >> using Mellanox ICs, I'd be extremely surprised if they were >> unsupported. >> >> - Rich >> >> On Tue, Sep 20, 2011 at 10:36 PM, Martyn Klassen >> < > mklassen at imaging.robarts.ca >> wrote: >> > I have been unsuccessfully trying to find compatibility information on the Mellanox MHQH29C-XTR Infiniband HCA with OpenIndiana. > >> >> It is a memfree ConnectX 2 based card that I think should work. I have a ConnectX based card the works fine with the hermon driver in oi_148, but I have been unable to find any information about Solaris or OpenIndiana support for any of the ConnectX 2 HCAs. I was hoping someone might be using the card (or any of the other PCI device ID 26428 cards http://www.mellanox.com/content/pages.php?pg=firmware_table_ConnectX2IB > ) and can confirm compatibility? > >> >> > Martyn Klassen > >> >> >> > _______________________________________________ > >> > OpenIndiana-discuss mailing list > >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From jimklimov at cos.ru Tue May 22 13:43:09 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 17:43:09 +0400 Subject: [OpenIndiana-discuss] Hard Drive Temp In-Reply-To: References: <5c59fadc1b1475ec72346225fa5f851f@ak47.co.za> <4FBB52F2.2090406@cos.ru> <8be14fb46eaa99c50327209507b4abd2@ak47.co.za> <4FBB6B04.70400@cos.ru> <1337684007.22029.17.camel@exilis.si-consulting.us> <4FBB728D.205@cos.ru> <4ac8598b33f755f3f9fd236d77eb5ef9@ak47.co.za> <4FBB86A5.9050301@cos.ru> Message-ID: <4FBB97ED.8070807@cos.ru> 2012-05-22 16:42, Bryan Iotti wrote: > Also check which driver your controllers are using. SMART passthrough does > not work with the pci-ide driver. Thanks, good to know this for certain ;) The OP has 1.5Tb drives via cmdk controller, so I have already suggested that the connection mode be changed in BIOS to native SATA - and they'll try doing this soon. It is encouraging to know (for both of us) that this is likely to help as well :) Thanks, //Jim Klimov From jimklimov at cos.ru Tue May 22 15:31:36 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 19:31:36 +0400 Subject: [OpenIndiana-discuss] Upgrading OpenSolaris SXCE to OpenIndiana Message-ID: <4FBBB158.7090903@cos.ru> Hello all, I am getting closer to updating some older OpenSolaris SXCE hosts with lots of local zones for actual tasks into running OpenIndiana, and wondered if an "in-place" upgrade is possible - i.e. install OI onto the machine, port the global zone settings, attach the SVR4 snv_117 based zones, and have them run while I carefully port their settings, data and application softwate into proper IPS-based local zones with current core OS software. The idea was to have as little downtime as possible. So far I've found that old zones "as is" do not run in oi_151a3 - neither as solaris10 zones (the image rightfully doesn't seem like a supported version of Solaris 10), nor as "native" zones (original SXCE /sbin/init dumps core). The best I get when replacing an originally sparse-root zone's SXCE set of /usr and other system dirs with those of the OI host, is that the zone boots and complains a lot about failed services, many of them refuse to run. I transferred the zone data via zfs send and via rsync, but I did not try "zoneadm detach/attach -u" so far, as that (I thought) would make little sense in transferring SVR4 packages to IPS?.. So the rather short question: is a fast in-place upgrade possible to get the old zones running "as is" or with little modification in OpenIndiana, or is a full-scale migration (clean install and transfer of settings/data) required? Thanks, //Jim Klimov From sardonic.smiles at gmail.com Tue May 22 15:46:32 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 22 May 2012 11:46:32 -0400 Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> Message-ID: Disable ZFS ACLs and just use the POSIX ones. Set ACLmode and ACLInherit to discard on any pools you're using SMB on. If you want to keep using the ZFS ACL, check this post: https://robbiecrash.me/?p=89 I wrote about how to deal with the same permissions issues you're talking about. On Tue, May 22, 2012 at 9:13 AM, wrote: > Hello, > > i try to get OI running as a replacement for an ageing netware server. > Therefor i am > > interested in ZFS and CIFS. The setup was straight forward and didt cause > any problems. > > But now im stuck. I am not able to manage the ACLs from WinXP Pro SP3 nor > Win7 Pro. > > I have added 'other password required pam_smb_passwd.so.1 nowarn' to > /etc/pam.conf > and reset the root password. > > > First, I am running the CIFS service in workgroup mode and i have created > 2 additional > users called 'admin' and 'user1'. 'admin' is supposed to be the windows > administrator, > 'user1' an ordinary user. The share is setup like this: > > # zfs create -o casesensitivity=mixed -o nbmand=on datapool/test > # zfs set "sharesmb=name=test" datapool/test > > # chown -R admin /datapool/test > > > # zfs set aclinherit=passthrough datapool/test > # zfs set aclmode=passthrough datapool/test > > > /usr/bin/chmod A=\ > owner@:rwxpdDaARWcCos:fd-----:allow,\ > group@:rwxpdDaARWcCos:fd-----:allow,\ > everyone@:rwxpdDaARWcCos:fd-----:allow \ > /datapool/test > > > The ACLs on the share are: > > ls -V /datapool/test/.zfs/shares/test > -rwxrwxrwx+ 1 root root 0 Mai 16 11:41 > /datapool/test/.zfs/shares/test > everyone@:rwxpdDaARWcCos:-------:allow > > > I can connect to the share either using root, admin or user1, but i cannot > manage the ACLs from > > Explorer->Properties->Security tab, regardless if i connect as root or > admin. The tab shows > > full rights for 'Current Ower', 'Current Group' and 'Everyone' > > If i connect the Windows Computer Management Console to the OI host, i see > 3 SMB groups > 'administrators', 'backup operators' and 'power users' and 3 users > 'admin', 'root' and 'user1'. > Windows let me access the details for the groups, showing an empty > membership list, but > didnt let me add any users. Error is always "Object not found". The same > happens if i try to > add an explicit ACL for one of these users from > Explorer->Properties->Security tab. > > Btw - if i add the users via smbadm add-member, they show up on windows. > > Could someone point me in the right direction please? > > Thanks in advance > Thomas > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From ths.mailaddr at yahoo.com Tue May 22 16:16:57 2012 From: ths.mailaddr at yahoo.com (ths.mailaddr at yahoo.com) Date: Tue, 22 May 2012 09:16:57 -0700 (PDT) Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> Message-ID: <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> Hello - Robbie (?) thanks for your reply. I think its not the same problem you describe with reference to the post "Share Guest Access - Unable to Delete". I have the inheritance bits set and can create and delete directories and files. The created object even have the correct owner, which is the account used to connect to the share. If i set the ACLs from the terminal via chmod, i get exactly that presented on the windows client. What drives me crazy is the fact, that a lot of howtos on the net seem to suppose, that you can manage these ACL remote from Windows. RegardsThomas ________________________________ From: Robbie Crash To: Discussion list for OpenIndiana Sent: Tuesday, May 22, 2012 5:46 PM Subject: Re: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows Disable ZFS ACLs and just use the POSIX ones. Set ACLmode and ACLInherit to discard on any pools you're using SMB on. If you want to keep using the ZFS ACL, check this post: https://robbiecrash.me/?p=89? I wrote about how to deal with the same permissions issues you're talking about. On Tue, May 22, 2012 at 9:13 AM, wrote: > Hello, > > i try to get OI running as a replacement for an ageing netware server. > Therefor i am > > interested in ZFS and CIFS. The setup was straight forward and didt cause > any problems. > > But now im stuck. I am not able to manage the ACLs from WinXP Pro SP3 nor > Win7 Pro. > > I have added 'other password required pam_smb_passwd.so.1 nowarn' to > /etc/pam.conf > and reset the root password. > > > First, I am running the CIFS service in workgroup mode and i have created > 2 additional > users called 'admin' and 'user1'. 'admin' is supposed to be the windows > administrator, > 'user1' an ordinary user.? The share is setup like this: > > # zfs create -o casesensitivity=mixed -o nbmand=on datapool/test > # zfs set "sharesmb=name=test" datapool/test > > # chown -R admin /datapool/test > > > # zfs set aclinherit=passthrough datapool/test > # zfs set aclmode=passthrough datapool/test > > > /usr/bin/chmod A=\ > owner@:rwxpdDaARWcCos:fd-----:allow,\ > group@:rwxpdDaARWcCos:fd-----:allow,\ > everyone@:rwxpdDaARWcCos:fd-----:allow \ > /datapool/test > > > The ACLs on the share are: > >? ls -V /datapool/test/.zfs/shares/test > -rwxrwxrwx+? 1 root? ? root? ? ? ? ? 0 Mai 16 11:41 > /datapool/test/.zfs/shares/test >? ? ? ? ? ? ? everyone@:rwxpdDaARWcCos:-------:allow > > > I can connect to the share either using root, admin or user1, but i cannot > manage the ACLs from > > Explorer->Properties->Security tab, regardless if i connect as root or > admin. The tab shows > > full rights for 'Current Ower', 'Current Group' and 'Everyone' > > If i connect the Windows Computer Management Console to the OI host, i see > 3 SMB groups > 'administrators', 'backup operators' and 'power users' and 3 users > 'admin', 'root' and 'user1'. > Windows let me access the details for the groups, showing an empty > membership list, but > didnt let me add any users. Error is always "Object not found". The same > happens if i try to > add an explicit ACL for one of these users from > Explorer->Properties->Security tab. > > Btw - if i add the users via smbadm add-member, they show up on windows. > > Could someone point me in the right direction please? > > Thanks in advance > Thomas > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From sardonic.smiles at gmail.com Tue May 22 16:22:44 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 22 May 2012 12:22:44 -0400 Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> Message-ID: I was refeerring to the permission denied errors that shouldn't be happening. The Unable to delete aspect was just what prompted me to write the post. While I was using the ZFS ACLs I wasn't ever able to make changes via Windows, and had mixed problems accessing things that had been modified either by Windows, or directly on the OI server, unless I reset the permissions with /usr/bin/chmod after the fact. Talk on here and in the OI room on Freenode led me, and most of the other people I'm aware of, to shut off ZFS ACLs on all Windows shares. After that, managing the permissions via Windows was fine. On Tue, May 22, 2012 at 12:16 PM, wrote: > Hello - Robbie (?) > > > thanks for your reply. I think its not the same problem you describe with > reference to the post > "Share Guest Access - Unable to Delete". > > I have the inheritance bits set and can create and delete directories and > files. The created > object even have the correct owner, which is the account used to connect > to the share. > If i set the ACLs from the terminal via chmod, i get exactly that > presented on the windows > client. What drives me crazy is the fact, that a lot of howtos on the net > seem to suppose, > > that you can manage these ACL remote from Windows. > > RegardsThomas > > > ________________________________ > From: Robbie Crash > To: Discussion list for OpenIndiana > Sent: Tuesday, May 22, 2012 5:46 PM > Subject: Re: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs > from Windows > > Disable ZFS ACLs and just use the POSIX ones. > > Set ACLmode and ACLInherit to discard on any pools you're using SMB on. > > If you want to keep using the ZFS ACL, check this post: > https://robbiecrash.me/?p=89 I wrote about how to deal with the same > permissions issues you're talking about. > > On Tue, May 22, 2012 at 9:13 AM, wrote: > > > Hello, > > > > i try to get OI running as a replacement for an ageing netware server. > > Therefor i am > > > > interested in ZFS and CIFS. The setup was straight forward and didt cause > > any problems. > > > > But now im stuck. I am not able to manage the ACLs from WinXP Pro SP3 nor > > Win7 Pro. > > > > I have added 'other password required pam_smb_passwd.so.1 nowarn' to > > /etc/pam.conf > > and reset the root password. > > > > > > First, I am running the CIFS service in workgroup mode and i have created > > 2 additional > > users called 'admin' and 'user1'. 'admin' is supposed to be the windows > > administrator, > > 'user1' an ordinary user. The share is setup like this: > > > > # zfs create -o casesensitivity=mixed -o nbmand=on datapool/test > > # zfs set "sharesmb=name=test" datapool/test > > > > # chown -R admin /datapool/test > > > > > > # zfs set aclinherit=passthrough datapool/test > > # zfs set aclmode=passthrough datapool/test > > > > > > /usr/bin/chmod A=\ > > owner@:rwxpdDaARWcCos:fd-----:allow,\ > > group@:rwxpdDaARWcCos:fd-----:allow,\ > > everyone@:rwxpdDaARWcCos:fd-----:allow \ > > /datapool/test > > > > > > The ACLs on the share are: > > > > ls -V /datapool/test/.zfs/shares/test > > -rwxrwxrwx+ 1 root root 0 Mai 16 11:41 > > /datapool/test/.zfs/shares/test > > everyone@:rwxpdDaARWcCos:-------:allow > > > > > > I can connect to the share either using root, admin or user1, but i > cannot > > manage the ACLs from > > > > Explorer->Properties->Security tab, regardless if i connect as root or > > admin. The tab shows > > > > full rights for 'Current Ower', 'Current Group' and 'Everyone' > > > > If i connect the Windows Computer Management Console to the OI host, i > see > > 3 SMB groups > > 'administrators', 'backup operators' and 'power users' and 3 users > > 'admin', 'root' and 'user1'. > > Windows let me access the details for the groups, showing an empty > > membership list, but > > didnt let me add any users. Error is always "Object not found". The same > > happens if i try to > > add an explicit ACL for one of these users from > > Explorer->Properties->Security tab. > > > > Btw - if i add the users via smbadm add-member, they show up on windows. > > > > Could someone point me in the right direction please? > > > > Thanks in advance > > Thomas > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss at openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > > > -- > Seconds to the drop, but it seems like hours. > > http://www.eff.org/ > http://creativecommons.org/ > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From jimklimov at cos.ru Tue May 22 17:05:22 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 21:05:22 +0400 Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> Message-ID: <4FBBC752.3040805@cos.ru> 2012-05-22 20:22, Robbie Crash ???????: > I was refeerring to the permission denied errors that shouldn't be > happening. The Unable to delete aspect was just what prompted me to write > the post. > > While I was using the ZFS ACLs I wasn't ever able to make changes via > Windows, and had mixed problems accessing things that had been modified > either by Windows, or directly on the OI server, unless I reset the > permissions with /usr/bin/chmod after the fact. Talk on here and in the OI > room on Freenode led me, and most of the other people I'm aware of, to shut > off ZFS ACLs on all Windows shares. After that, managing the permissions > via Windows was fine. We, for one, use the ZFS ACLs for Windows shares (i.e. to allow several archive admins to upload and manipulate files uploaded or created by anyone, including root locally), but these ACLs were carefully picked by trial and error, and there's a script to set them recursively on all FS objects under the share. However, I don't remember using this script for the past year or two - the inheritable ACL parts worked okay. This is a rather simplistic setup, perhaps - but it suited the environment... Examples of metascripts that set the ACLs: # cd /export/ftp/distribs && for F in *; do chmod -R A=owner@:full_set:d:allow,owner@:full_set:f:allow,group@:rxaARWcs:d:allow,group@:raARWcs:f:allow,user:archadmin:rwxpdDaARWcCos:fd:allow,group:sysadmin:rwxpdDaARWcCos:fd:allow,group:staff:rxaARWcs:d:allow,group:staff:raARWcs:f:allow,everyone@:rxaARWcs:d:allow,everyone@:raARWcs:f:allow $F & done chmod -R A=owner@:rwpdDaARWcCos:f:allow,owner@:rwxpdDaARWcCos:d:allow,group@:rwpdDaARWcCos:f:allow,group@:rwxpdDaARWcCos:d:allow,everyone@:rwpdDaARWcCos:f:allow,everyone@:rwxpdDaARWcCos:d:allow /export/ftp/incoming The ZFS datasets for file archives had default aclmode=groupmask and aclinherit=restricted. Also, the customer's Windows network has an MS AD domain, and the OpenSolaris CIFS server was added to that and some mapid tricks were copypasted from Sun blogs and docs to good effect, to map Windows usernames and groups to those locally defined on the file server (i.e. "Domain Users" = "staff"). There was a plan to merge the two namespaces via LDAP, but that was never completed AFAIK ;) HTH, //Jim Klimov From achimwo7 at googlemail.com Tue May 22 17:57:40 2012 From: achimwo7 at googlemail.com (Achim Wolpers) Date: Tue, 22 May 2012 19:57:40 +0200 Subject: [OpenIndiana-discuss] rvm ruby 64 bit In-Reply-To: References: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> <8B40C8B2-0136-4460-A879-8934343FCD63@gmail.com> <5C4AFA21-22FC-475C-8724-AAC839B2C5BC@gmail.com> <2FA1ACDA-EA36-404A-8F2F-CBBD4487C3BE@googlemail.com> Message-ID: <64B39581-80FF-4859-8B99-35282B5992D0@googlemail.com> Am 21.05.2012 um 15:14 schrieb Matt Connolly: > matt at rvm1:~$ CFLAGS=-m64 rvm reinstall 1.9.3 That was my first thought. But my box builds ruby in 32 bit mode, even though the compiler flag is set to -m64. # cc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /home/jt/OI-151A-STABLE/151A-PRESTABLE2/newbuilds/sfw/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) # isainfo -kv 64-bit amd64 kernel modules Achim From ctordtor at yahoo.fr Tue May 22 19:01:30 2012 From: ctordtor at yahoo.fr (Matthieu Paindavoine) Date: Tue, 22 May 2012 20:01:30 +0100 (BST) Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash Message-ID: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> Hello, I've trying to insert a sata hd in an enclosure, but it doesn't seem to be recognized by the os. Low and behold, I used '#> cfgadm -al', and only usb devices come up, nothing sata related. I have several sata hard drive in that machine, all of them contributing to a zpool which work perfectly fine. So I don't know why they are not showing up with cfgadm? I read a bit about the topic, and it seems to depend on ahci being available. I ran '#> dmesg | grep -i ahci' and nothing showed up The motherboard is msi 890FXA-GD70, and I went in the bios: integrated peripherals -> on-chip ATA devices -> RAID Mode : {IDE, RAID, AHCI} and switched from IDE to AHCI I then restarted the machine. I got the booting screen for about 5 sec, and then the machine reboots. I switched back from AHCI to IDE, and this time the machine booted fine. So.... I'd like to know what needs to be done to be able to swap sata drive in that machine... Thanks, Matthieu From pablo.oddera at gmail.com Tue May 22 19:23:09 2012 From: pablo.oddera at gmail.com (Pablo Oddera) Date: Tue, 22 May 2012 16:23:09 -0300 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> Message-ID: Hi there, I have been on the same spot. Some Motherboards that have more than 4 SATA ports, with less than 5 disks there is no problem but if you want to use the fifth port you need to choose AHCI or RAID in order to make it work.Also, check for errors on the dmesg. I had tons of problems with IDE mode and Openindiana as i installed the OS on AHCI mode. I have to change the config every time that my BIOS gets cleared. Best regards On Tue, May 22, 2012 at 4:01 PM, Matthieu Paindavoine wrote: > Hello, > > I've trying to insert a sata hd in an enclosure, but it doesn't seem to be > recognized by the os. > > Low and behold, I used '#> cfgadm -al', and only usb devices come up, > nothing sata related. > > I have several sata hard drive in that machine, all of them contributing > to a zpool which work perfectly fine. > > So I don't know why they are not showing up with cfgadm? > > I read a bit about the topic, and it seems to depend on ahci being > available. > > I ran '#> dmesg | grep -i ahci' and nothing showed up > > > The motherboard is msi 890FXA-GD70, and I went in the bios: > integrated peripherals -> on-chip ATA devices -> RAID Mode : {IDE, RAID, > AHCI} and switched from IDE to AHCI > > I then restarted the machine. I got the booting screen for about 5 sec, > and then the machine reboots. > I switched back from AHCI to IDE, and this time the machine booted fine. > > So.... I'd like to know what needs to be done to be able to swap sata > drive in that machine... > > Thanks, > > Matthieu > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > From jimklimov at cos.ru Tue May 22 19:29:21 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 23:29:21 +0400 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> Message-ID: <4FBBE911.5040707@cos.ru> 2012-05-22 23:01, Matthieu Paindavoine wrote: > Hello, > > I've trying to insert a sata hd in an enclosure, but it doesn't seem to be recognized by the os. > > Low and behold, I used '#> cfgadm -al', and only usb devices come up, nothing sata related. > > I have several sata hard drive in that machine, all of them contributing to a zpool which work perfectly fine. Well, if your disks were indeed used by the BIOS in IDE mode, the SATA driver is not used, and you'd likely see the pci-ide driver names like "cmdk" in your other disk names. AFAIK the disks should be recognized automagically upon boot, and if not - try running "devfsadm -Cv" to detect devices and add/remove the links in /dev dir. >... and switched from IDE to AHCI > I then restarted the machine. I got the booting screen for about 5 sec, and then the machine reboots. > I switched back from AHCI to IDE, and this time the machine booted fine. > > So.... I'd like to know what needs to be done to be able to swap sata drive in that machine... This usually means that your root/boot disk was also changed from IDE to AHCI, and this does interrupt the boot procedure. The lowlevel issue is that the driver and device names for disks change, rendering invalid those names used in the rpool config carried over to the miniroot image (boot_archive). There are workarounds, likely posted in archives of zfs-discuss list and many other sources. If I google anything good up, I'll post a link here :) HTH, //Jim Klimov From jimklimov at cos.ru Tue May 22 19:36:44 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 22 May 2012 23:36:44 +0400 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <4FBBE911.5040707@cos.ru> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> Message-ID: <4FBBEACC.4000502@cos.ru> 2012-05-22 23:29, Jim Klimov wrote: > There are workarounds, likely posted in archives of zfs-discuss > list and many other sources. If I google anything good up, I'll > post a link here :) What do you know? I posted some myself, and found those first ;) * One more possible solution (component) would be this: 1) Set your root disk to AHCI or whatever you need 2) Boot from livecd 3) Import your rpool and mount the root filesystem into /a for example 4) Update device links: # devfsadm -r /a -Cv 5) Update the miniroot # bootadm update-archive -R /a 6) Export the rpool 7) Reboot and hope this helps ;) //Jim * Alternately, see a different procedure here: http://permalink.gmane.org/gmane.os.solaris.opensolaris.zfs/46864 From ctordtor at yahoo.fr Tue May 22 20:12:47 2012 From: ctordtor at yahoo.fr (Matthieu Paindavoine) Date: Tue, 22 May 2012 21:12:47 +0100 (BST) Subject: [OpenIndiana-discuss] Re : sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <4FBBEACC.4000502@cos.ru> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> Message-ID: <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> Hello, Thanks Jim for your answer. It certainly answered the question about the crash. I did not follow your solution though, as I just choose to simply reinstall OpenIndiana, it's so fast, and I didn't have anything on the machine yet. I can see my drives with cfgadm -a sata. I can not yet see a newly inserted plugged HD, but this might be a hardware issue, I'll have to run some test with other drives, other bays... Thanks again, Matthieu ________________________________ De?: Jim Klimov ??: Discussion list for OpenIndiana Envoy? le : Mardi 22 mai 2012 21h36 Objet?: Re: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash 2012-05-22 23:29, Jim Klimov wrote: > There are workarounds, likely posted in archives of zfs-discuss > list and many other sources. If I google anything good up, I'll > post a link here :) What do you know? I posted some myself, and found those first ;) * One more possible solution (component) would be this: 1) Set your root disk to AHCI or whatever you need 2) Boot from livecd 3) Import your rpool and mount the root filesystem into /a for example 4) Update device links: # devfsadm -r /a -Cv 5) Update the miniroot # bootadm update-archive -R /a 6) Export the rpool 7) Reboot and hope this helps ;) //Jim * Alternately, see a different procedure here: ? http://permalink.gmane.org/gmane.os.solaris.opensolaris.zfs/46864 _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From alexlamsl at gmail.com Tue May 22 20:36:37 2012 From: alexlamsl at gmail.com (Alex Lam S.L.) Date: Tue, 22 May 2012 21:36:37 +0100 Subject: [OpenIndiana-discuss] Re : sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> Message-ID: Hi there, I have a server with a 3-way mirror pool which I can hot-swap the 3rd HDD as an off-site backup. I have to issue additional commands before and after physically swapping the HDDs, which I can't recall exactly right now but Google points to the following: http://www.xenorg.com/?p=3 http://docs.oracle.com/cd/E23824_01/html/821-1459/devconfig2-25.html#gentextid-4085 HTH, Alex. On Tue, May 22, 2012 at 9:12 PM, Matthieu Paindavoine wrote: > Hello, > > Thanks Jim for your answer. It certainly answered the question about the crash. > > I did not follow your solution though, as I just choose to simply reinstall OpenIndiana, it's so fast, and I didn't have anything on the machine yet. > I can see my drives with cfgadm -a sata. > I can not yet see a newly inserted plugged HD, but this might be a hardware issue, I'll have to run some test with other drives, other bays... > > Thanks again, > > Matthieu > > > > ________________________________ > ?De?: Jim Klimov > ??: Discussion list for OpenIndiana > Envoy? le : Mardi 22 mai 2012 21h36 > Objet?: Re: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash > > 2012-05-22 23:29, Jim Klimov wrote: >> There are workarounds, likely posted in archives of zfs-discuss >> list and many other sources. If I google anything good up, I'll >> post a link here :) > > What do you know? I posted some myself, and found those first ;) > > * One more possible solution (component) would be this: > > 1) Set your root disk to AHCI or whatever you need > 2) Boot from livecd > 3) Import your rpool and mount the root filesystem into /a for example > 4) Update device links: > # devfsadm -r /a -Cv > 5) Update the miniroot > # bootadm update-archive -R /a > 6) Export the rpool > 7) Reboot and hope this helps ;) > //Jim > > * Alternately, see a different procedure here: > ? http://permalink.gmane.org/gmane.os.solaris.opensolaris.zfs/46864 > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From sommerfeld at alum.mit.edu Tue May 22 20:38:37 2012 From: sommerfeld at alum.mit.edu (Bill Sommerfeld) Date: Tue, 22 May 2012 13:38:37 -0700 Subject: [OpenIndiana-discuss] Re : sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> Message-ID: <4FBBF94D.7000005@alum.mit.edu> On 05/22/12 13:12, Matthieu Paindavoine wrote: > I did not follow your solution though, as I just choose to simply reinstall OpenIndiana, it's so fast, and I didn't have anything on the machine yet. > I can see my drives with cfgadm -a sata. > I can not yet see a newly inserted plugged HD, but this might be a hardware issue, I'll have to run some test with other drives, other bays... I've seen irregular behavior with sata hot plug recently on oi_151a3 what I've observed so far is that a hot plug and configure into a port that's initially empty at boot seems to work ok, as does a unconfigure and unplug. Once you've unplugged once, a second hot plug operation into the same port appears to succeed, but I/O to that disk hangs; the disk is stable after a reboot. I haven't had a chance to dig into this further. My experience was with a SuperMicro X8SAX motherboard. - Bill From sardonic.smiles at gmail.com Tue May 22 20:41:17 2012 From: sardonic.smiles at gmail.com (Robbie Crash) Date: Tue, 22 May 2012 16:41:17 -0400 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: <20120521141801.GA19205@www.fastmail.fm> References: <20120518133809.GA17783@www.fastmail.fm> <20120521141801.GA19205@www.fastmail.fm> Message-ID: Gaming iperf you can get close to theoretical maximums on wire connections, but if you're just on a 10/100 network looks liek you've got everything working properly. Real world performance (for me) sits at around 400Mb/sec for medium (4-100MB) files, 600Mb/sec for large (100MB+) files. Files under 4MB are effectively instantaneous. #default $ ./iperf -c thoth ------------------------------------------------------------ Client connecting to thoth, TCP port 5001 TCP window size: 8.00 KByte (default) ------------------------------------------------------------ [396] local 192.168.2.8 port 55100 connected with 192.168.2.24 port 5001 [ ID] Interval Transfer Bandwidth [396] 0.0-10.0 sec 265 MBytes 222 Mbits/sec #Forcing settings $ ./iperf -N -w 9M -c thoth ------------------------------------------------------------ Client connecting to thoth, TCP port 5001 TCP window size: 9.00 MByte ------------------------------------------------------------ [388] local 192.168.2.8 port 55313 connected with 192.168.2.24 port 5001 [ ID] Interval Transfer Bandwidth [388] 0.0-10.1 sec 1.05 GBytes 896 Mbits/sec On Mon, May 21, 2012 at 10:18 AM, Gary Mills wrote: > On Fri, May 18, 2012 at 08:38:09AM -0500, Gary Mills wrote: > > I'm just finishing a driver for the Atheros AR8131 and AR8132 ethernet > > devices. I'm ready now to test it under load. What's available in > > OpenIndiana for this purpose? I couldn't see anything in the > > repository that seemed suitable. I don't need to bring the interface > > up to maximum throughput, but I'd at least like to be sure that > > nothing breaks when it has a reasonable load. > > Thanks to all who responded. Most of you recommended `iperf'. That's > what I used. Not being a network expert, I didn't know what options > to use, but with the defaults I was able to push many packets through > this interface in both directions. The driver worked nicely. I got a > bandwith of about 94 Mbits/sec, three times that of the wireless > interface. That's all I needed. > > -- > -Gary Mills- -refurb- -Winnipeg, Manitoba, > Canada- > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- Seconds to the drop, but it seems like hours. http://www.eff.org/ http://creativecommons.org/ From bluethundr at gmail.com Tue May 22 21:20:25 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 22 May 2012 17:20:25 -0400 Subject: [OpenIndiana-discuss] add inherit-pkg-dir Message-ID: Hello list, I'm trying to get a solaris zone to inherit a package dir under openindiana 151: These are the instructions I'm trying to follow: zonecfg:apps> add inherit-pkg-dir zonecfg:apps:inherit-pkg-dir> set dir=/opt/sfw zonecfg:apps:inherit-pkg-dir> end This is the blog where I found them: http://saifulaziz.com/2009/08/09/solaris-containers-zones-howto/?blogsub=confirming#subscribe-blog This is what happens when I try to do the above: [root at openindiana:/export/home/bluethundr] #zonecfg -z lb1 zonecfg:lb1> add inherit-pkg-dir usage: add (global scope) add (resource scope) zonecfg:lb1> All I get is usage output. What am I doing wrong here? Also I'd like to get this zone to inherit /usr/local from the global zone. How would I go about that? thanks! Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From jason at broken.net Tue May 22 21:40:28 2012 From: jason at broken.net (Jason Matthews) Date: Tue, 22 May 2012 14:40:28 -0700 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindianacrash In-Reply-To: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> Message-ID: <9F367C832F784B9B8E5804353D1E2762@ragnarok> Let me get this straight... You installed the OS on the disk with the BIOS set to IDE. Later, you changed the BIOS to AHCI and the system crashes when booting. Is that about right? j. From bluethundr at gmail.com Tue May 22 21:51:55 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 22 May 2012 17:51:55 -0400 Subject: [OpenIndiana-discuss] packages for oracle db Message-ID: hey list, I'm trying to install oracle 11g on my oi 151 box. It'll need the following packages: ERROR: information for "SUNWi1cs" was not found ERROR: information for "SUNWi15cs" was not found ERROR: information for "SUNWxwfnt" was not found ERROR: information for "SUNWxwplr" was not found ERROR: information for "SUNWi1of" was not found ERROR: information for "SUNWlibm" was not found Where can I find these packages? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From russhan at new-swankton.net Tue May 22 23:40:18 2012 From: russhan at new-swankton.net (Russell Hansen) Date: Tue, 22 May 2012 23:40:18 +0000 Subject: [OpenIndiana-discuss] Re : sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru>, <1337717567.79284.YahooMailNeo@web29506.mail.ird.yahoo.com> Message-ID: <0AE3E26797567E4AAB5C53C304D024451A33CB8C@ns-ex2010.new-swankton.lan> When attaching a new SATA disk to AHCI you need to run devfsadm -Cv. Followed by cfgadm -al to verify your disks attached. Optionally, you could add the following to /etc/system set sata:sata_auto_online=1 You will need to reboot after making the change to /etc/system -Russ ________________________________________ From: Matthieu Paindavoine [ctordtor at yahoo.fr] Sent: Tuesday, May 22, 2012 1:12 PM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] Re : sata hot plug problem (ahci?) + openindiana crash Hello, Thanks Jim for your answer. It certainly answered the question about the crash. I did not follow your solution though, as I just choose to simply reinstall OpenIndiana, it's so fast, and I didn't have anything on the machine yet. I can see my drives with cfgadm -a sata. I can not yet see a newly inserted plugged HD, but this might be a hardware issue, I'll have to run some test with other drives, other bays... Thanks again, Matthieu ________________________________ De : Jim Klimov ? : Discussion list for OpenIndiana Envoy? le : Mardi 22 mai 2012 21h36 Objet : Re: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash 2012-05-22 23:29, Jim Klimov wrote: > There are workarounds, likely posted in archives of zfs-discuss > list and many other sources. If I google anything good up, I'll > post a link here :) What do you know? I posted some myself, and found those first ;) * One more possible solution (component) would be this: 1) Set your root disk to AHCI or whatever you need 2) Boot from livecd 3) Import your rpool and mount the root filesystem into /a for example 4) Update device links: # devfsadm -r /a -Cv 5) Update the miniroot # bootadm update-archive -R /a 6) Export the rpool 7) Reboot and hope this helps ;) //Jim * Alternately, see a different procedure here: http://permalink.gmane.org/gmane.os.solaris.opensolaris.zfs/46864 _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Tue May 22 23:38:34 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 23 May 2012 03:38:34 +0400 Subject: [OpenIndiana-discuss] add inherit-pkg-dir In-Reply-To: References: Message-ID: <4FBC237A.1080906@cos.ru> 2012-05-23 1:20, Tim Dunphy ???????: > Hello list, > > I'm trying to get a solaris zone to inherit a package dir under openindiana 151: > > These are the instructions I'm trying to follow: > > > zonecfg:apps> add inherit-pkg-dir > zonecfg:apps:inherit-pkg-dir> set dir=/opt/sfw > zonecfg:apps:inherit-pkg-dir> end > > This is the blog where I found them: > > http://saifulaziz.com/2009/08/09/solaris-containers-zones-howto/?blogsub=confirming#subscribe-blog > > This is what happens when I try to do the above: > > [root at openindiana:/export/home/bluethundr] #zonecfg -z lb1 > zonecfg:lb1> add inherit-pkg-dir > usage: > add > (global scope) > add > (resource scope) > zonecfg:lb1> > > All I get is usage output. What am I doing wrong here? Also I'd like > to get this zone to inherit /usr/local from the global zone. How would > I go about that? Unfortunately, "inherit-pkg-dir" was an important part of "sparse-root" local zones, which was incompatible with IPS packaging ideology, so it was cut out of OpenSolaris Indiana as well as its descendants (OpenIndiana, Solaris 11). Now you have to do complete installs of local zones according to the current OSes' manuals. As for "inheriting" /usr/local, here's a couple of things you could do: 1) If it is a separate ZFS dataset, you could make its snapshot and clone, and "zfs rename" this clone into the local zone; 2) The supported way, which should work regardless of where the root fs and local zone root reside - you define a "lofs" (loopback-mounted fs) which mounts your global zone's dir into the local zone. You can have it read-write (and the LZ can then change the GZ's data and programs under this dir), or you can keep it read-only and LZ can not modify the directory contents. Snippet for zonecfg: add fs set dir=/usr/local set special=/usr/local set type=lofs add options nodevices,ro end You have to create the mountpoint in the local zone manually. 3) Mix options 1 and 2, to provide the local zone with a clone of global zone's /usr/local which it can write to without harm for the GZ. From your other post I believe you might need this for the three scripts Oracle puts into /usr/local/bin. IIRC they are not critical and the DBMS should work without them. Alternately, it would do little harm if these scripts are available to the GZ and all zones who lofs-mount your /usr/local as in method (2). In this case you'd likely have to allow writing to /usr/local during installation of the DBMS, then you can set the lofs-mount to read-only. > thanks! > Tim HTH, //Jim From jason at broken.net Tue May 22 23:41:15 2012 From: jason at broken.net (Jason Matthews) Date: Tue, 22 May 2012 16:41:15 -0700 Subject: [OpenIndiana-discuss] packages for oracle db In-Reply-To: References: Message-ID: <547195135BE9460D9ACC4CD6ED65F3E6@ragnarok> This will get you most of the way there... pkg install SUNWi1cs SUNWi15cs compatibility/packages/SUNWxwplr SUNWlibm but I don't see SUNWi1of or SUNWxwplr in my copy of the repo. Perhaps you can think of some interesting ways to obtain those packages you need. j. -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Tuesday, May 22, 2012 2:52 PM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] packages for oracle db hey list, I'm trying to install oracle 11g on my oi 151 box. It'll need the following packages: ERROR: information for "SUNWi1cs" was not found ERROR: information for "SUNWi15cs" was not found ERROR: information for "SUNWxwfnt" was not found ERROR: information for "SUNWxwplr" was not found ERROR: information for "SUNWi1of" was not found ERROR: information for "SUNWlibm" was not found Where can I find these packages? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Tue May 22 23:47:34 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 23 May 2012 03:47:34 +0400 Subject: [OpenIndiana-discuss] packages for oracle db In-Reply-To: References: Message-ID: <4FBC2596.5040501@cos.ru> 2012-05-23 1:51, Tim Dunphy ???????: > hey list, > > I'm trying to install oracle 11g on my oi 151 box. It'll need the > following packages: > > ERROR: information for "SUNWi1cs" was not found > ERROR: information for "SUNWi15cs" was not found > ERROR: information for "SUNWxwfnt" was not found > ERROR: information for "SUNWxwplr" was not found > ERROR: information for "SUNWi1of" was not found > ERROR: information for "SUNWlibm" was not found > > Where can I find these packages? Most of these are SVR4 (Solaris 10 and older, OpenSolaris SXCE) packages with X11 libraries and components, and the binaries should likely be in place if you installed OI from the LiveCD with GUI (not the text-install). My box says it has SUNWlibm in place, but not the others. If you set up the text mode installer, you can try to add the X11 packages manually with "pkg install ", see the repo here: http://pkg.openindiana.org/dev/en/catalog.shtml?version=0.5.11%2C0.5.11-0.151.1.4&action=Browse (specify correct release ver if needed) Alternately, if possible, you can try to skip the Oracle DBMS installer's checks for these packages (but do get the libm somehow), these should only influence the GUI programs like Enterprise Manager, DBCA wizards and stuff. You can do all those tasks via command-line anyway, right? ;) Finally, I think a better (or useful) resource would be to seek documentation on installing Oracle in Solaris 11, which has a much closer structure of packaging to OI than Solaris 10. HTH, //Jim Klimov From bluethundr at gmail.com Wed May 23 00:28:59 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 22 May 2012 20:28:59 -0400 Subject: [OpenIndiana-discuss] packages for oracle db In-Reply-To: <4FBC2596.5040501@cos.ru> References: <4FBC2596.5040501@cos.ru> Message-ID: That's greatly illuminating! thank you.. I think it'll be easier to just skip them. Appreciate the advice! tim On Tue, May 22, 2012 at 7:47 PM, Jim Klimov wrote: > 2012-05-23 1:51, Tim Dunphy ???????: > >> hey list, >> >> ?I'm trying to install oracle 11g on my oi 151 box. It'll need the >> following packages: >> >> ERROR: information for "SUNWi1cs" was not found >> ERROR: information for "SUNWi15cs" was not found >> ERROR: information for "SUNWxwfnt" was not found >> ERROR: information for "SUNWxwplr" was not found >> ERROR: information for "SUNWi1of" was not found >> ERROR: information for "SUNWlibm" was not found >> >> Where can I find these packages? > > > Most of these are SVR4 (Solaris 10 and older, OpenSolaris SXCE) > packages with X11 libraries and components, and the binaries > should likely be in place if you installed OI from the LiveCD > with GUI (not the text-install). My box says it has SUNWlibm > in place, but not the others. If you set up the text mode > installer, you can try to add the X11 packages manually with > "pkg install ", see the repo here: > > > http://pkg.openindiana.org/dev/en/catalog.shtml?version=0.5.11%2C0.5.11-0.151.1.4&action=Browse > > (specify correct release ver if needed) > > Alternately, if possible, you can try to skip the Oracle DBMS > installer's checks for these packages (but do get the libm > somehow), these should only influence the GUI programs like > Enterprise Manager, DBCA wizards and stuff. You can do all > those tasks via command-line anyway, right? ;) > > Finally, I think a better (or useful) resource would be to > seek documentation on installing Oracle in Solaris 11, > which has a much closer structure of packaging to OI > than Solaris 10. > > HTH, > //Jim Klimov -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From bluethundr at gmail.com Wed May 23 00:30:58 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Tue, 22 May 2012 20:30:58 -0400 Subject: [OpenIndiana-discuss] add inherit-pkg-dir In-Reply-To: <4FBC237A.1080906@cos.ru> References: <4FBC237A.1080906@cos.ru> Message-ID: thanks your tip for sharing /usr/local worked like a charm! I'm really digging this solaris (openindiana) stuff which is great because I have to use it in my job. This new openindiana box in my basement rocks unbelievably. It's my new passion and it's great Also I thanked you in the other thread for the oracle advice. I'll keep what you said in mind. best! tim On Tue, May 22, 2012 at 7:38 PM, Jim Klimov wrote: > 2012-05-23 1:20, Tim Dunphy ???????: > >> Hello list, >> >> I'm trying to get a solaris zone to inherit a package dir under >> openindiana 151: >> >> These are the instructions I'm trying to follow: >> >> >> zonecfg:apps> ?add inherit-pkg-dir >> zonecfg:apps:inherit-pkg-dir> ?set dir=/opt/sfw >> zonecfg:apps:inherit-pkg-dir> ?end >> >> This is the blog where I found them: >> >> >> http://saifulaziz.com/2009/08/09/solaris-containers-zones-howto/?blogsub=confirming#subscribe-blog >> >> This is what happens when I try to do the above: >> >> [root at openindiana:/export/home/bluethundr] #zonecfg -z lb1 >> zonecfg:lb1> ?add inherit-pkg-dir >> usage: >> add >> ? ? ? ? (global scope) >> add ? >> ? ? ? ? (resource scope) >> zonecfg:lb1> >> >> All I get is usage output. What am I doing wrong here? Also I'd like >> to get this zone to inherit /usr/local from the global zone. How would >> I go about that? > > > Unfortunately, "inherit-pkg-dir" was an important part of > "sparse-root" local zones, which was incompatible with IPS > packaging ideology, so it was cut out of OpenSolaris Indiana > as well as its descendants (OpenIndiana, Solaris 11). > > Now you have to do complete installs of local zones according > to the current OSes' manuals. > > As for "inheriting" /usr/local, here's a couple of things > you could do: > 1) If it is a separate ZFS dataset, you could make its > snapshot and clone, and "zfs rename" this clone into the > local zone; > 2) The supported way, which should work regardless of where > the root fs and local zone root reside - you define a "lofs" > (loopback-mounted fs) which mounts your global zone's dir > into the local zone. You can have it read-write (and the > LZ can then change the GZ's data and programs under this > dir), or you can keep it read-only and LZ can not modify > the directory contents. > > Snippet for zonecfg: > > add fs > set dir=/usr/local > set special=/usr/local > set type=lofs > add options nodevices,ro > end > > You have to create the mountpoint in the local zone manually. > > 3) Mix options 1 and 2, to provide the local zone with a > clone of global zone's /usr/local which it can write to > without harm for the GZ. > > From your other post I believe you might need this for the > three scripts Oracle puts into /usr/local/bin. IIRC they > are not critical and the DBMS should work without them. > Alternately, it would do little harm if these scripts > are available to the GZ and all zones who lofs-mount your > /usr/local as in method (2). In this case you'd likely > have to allow writing to /usr/local during installation > of the DBMS, then you can set the lofs-mount to read-only. > > >> thanks! >> Tim > > > > HTH, > //Jim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From richard.elling at richardelling.com Wed May 23 03:57:28 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Tue, 22 May 2012 20:57:28 -0700 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindianacrash In-Reply-To: <9F367C832F784B9B8E5804353D1E2762@ragnarok> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <9F367C832F784B9B8E5804353D1E2762@ragnarok> Message-ID: <5A661116-F0C8-40BE-8872-6BF936E14865@RichardElling.com> On May 22, 2012, at 2:40 PM, Jason Matthews wrote: > Let me get this straight... > > You installed the OS on the disk with the BIOS set to IDE. Later, you > changed the BIOS to AHCI and the system crashes when booting. Is that about > right? Since the OS is not yet running, I don't consider it to be an OS crash. -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From richard.elling at richardelling.com Wed May 23 04:00:22 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Tue, 22 May 2012 21:00:22 -0700 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <4FBBEACC.4000502@cos.ru> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> Message-ID: On May 22, 2012, at 12:36 PM, Jim Klimov wrote: > 2012-05-22 23:29, Jim Klimov wrote: >> There are workarounds, likely posted in archives of zfs-discuss >> list and many other sources. If I google anything good up, I'll >> post a link here :) > > What do you know? I posted some myself, and found those first ;) > > * One more possible solution (component) would be this: This procedure is far too complex. Let's edit it... > > 1) Set your root disk to AHCI or whatever you need > 2) Boot from livecd > 3) Import your rpool and mount the root filesystem into /a for example zpool import -R /mnt rpool > 4) Update device links: > # devfsadm -r /a -Cv #4 is not required > 5) Update the miniroot > # bootadm update-archive -R /a #5 is not required > 6) Export the rpool #6 is not required > 7) Reboot and hope this helps ;) 4) Reboot and be happy, there is no doubt this will help. -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From ctordtor at yahoo.fr Wed May 23 07:54:44 2012 From: ctordtor at yahoo.fr (Matthieu Paindavoine) Date: Wed, 23 May 2012 08:54:44 +0100 (BST) Subject: [OpenIndiana-discuss] Re : sata hot plug problem (ahci?) + openindianacrash In-Reply-To: <9F367C832F784B9B8E5804353D1E2762@ragnarok> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <9F367C832F784B9B8E5804353D1E2762@ragnarok> Message-ID: <1337759684.13552.YahooMailNeo@web29504.mail.ird.yahoo.com> Yes, that's correct, little did i know. Later I switched the BIOS to AHCI, and reinstalled, and it works fine (as in I can see the disks listed with 'cfgadm -a sata'. I cannot yet hot plug a disk (it's not visible with that command), but it may be a hardware issue. Matthieu ________________________________ De?: Jason Matthews ??: 'Discussion list for OpenIndiana' Envoy? le : Mardi 22 mai 2012 23h40 Objet?: Re: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindianacrash Let me get this straight... You installed the OS on the disk with the BIOS set to IDE. Later, you changed the BIOS to AHCI and the system crashes when booting. Is that about right? j. _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Wed May 23 09:37:14 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 23 May 2012 13:37:14 +0400 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> Message-ID: <4FBCAFCA.30403@cos.ru> 2012-05-23 8:00, Richard Elling wrote: > This procedure is far too complex. Let's edit it... Thanks... that seemed far too easy ;) As a side note, it is then possible to augment GRUB to be able to import and export an rpool and thus help IDE-SATA migrations? //Jim From bluethundr at gmail.com Wed May 23 15:12:10 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Wed, 23 May 2012 11:12:10 -0400 Subject: [OpenIndiana-discuss] search pkg lists Message-ID: hello list, I am trying to install sudo onto a zone I created on my openindiana box. I downloaded the one I found at sunfreeware.com, but that was missing a lot of libraries. Next, I thought I would try searching the openindiana package repository but I don't know if there is a way to do this akin to 'yum search package-i-want' under CentOS for example. Thanks tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From andre at ak47.co.za Wed May 23 15:17:34 2012 From: andre at ak47.co.za (andre at ak47.co.za) Date: Wed, 23 May 2012 17:17:34 +0200 Subject: [OpenIndiana-discuss] search pkg lists In-Reply-To: References: Message-ID: On 23.05.2012 17:12, Tim Dunphy wrote: > hello list, > > I am trying to install sudo onto a zone I created on my openindiana > box. I downloaded the one I found at sunfreeware.com, but that was > missing a lot of libraries. > > Next, I thought I would try searching the openindiana package > repository but I don't know if there is a way to do this akin to 'yum > search package-i-want' under CentOS for example. > > Thanks > tim You can use pkg list -a | grep From richard.elling at richardelling.com Wed May 23 15:35:55 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Wed, 23 May 2012 08:35:55 -0700 Subject: [OpenIndiana-discuss] How to test ethernet throughput? In-Reply-To: References: <20120518133809.GA17783@www.fastmail.fm> <20120521141801.GA19205@www.fastmail.fm> Message-ID: <9662681D-FCE9-4874-86A9-312D66F053A1@RichardElling.com> On May 22, 2012, at 1:41 PM, Robbie Crash wrote: > Gaming iperf you can get close to theoretical maximums on wire connections, > but if you're just on a 10/100 network looks liek you've got everything > working properly. Real world performance (for me) sits at around 400Mb/sec > for medium (4-100MB) files, 600Mb/sec for large (100MB+) files. Files under > 4MB are effectively instantaneous. For short runs, the TCP window size guess has a big impact. If it is not quite right on both the client and server (too big or too small), then there will be reduced performance until it adjusts. This really isn't gaming, it is the reason why long runs are preferred for benchmarks. Or, as many benchmarkers will attest, a run < 1 minute isn't useful. -- richard > > #default > $ ./iperf -c thoth > ------------------------------------------------------------ > Client connecting to thoth, TCP port 5001 > TCP window size: 8.00 KByte (default) > ------------------------------------------------------------ > [396] local 192.168.2.8 port 55100 connected with 192.168.2.24 port 5001 > [ ID] Interval Transfer Bandwidth > [396] 0.0-10.0 sec 265 MBytes 222 Mbits/sec > > #Forcing settings > $ ./iperf -N -w 9M -c thoth > ------------------------------------------------------------ > Client connecting to thoth, TCP port 5001 > TCP window size: 9.00 MByte > ------------------------------------------------------------ > [388] local 192.168.2.8 port 55313 connected with 192.168.2.24 port 5001 > [ ID] Interval Transfer Bandwidth > [388] 0.0-10.1 sec 1.05 GBytes 896 Mbits/sec > > > > > On Mon, May 21, 2012 at 10:18 AM, Gary Mills wrote: > >> On Fri, May 18, 2012 at 08:38:09AM -0500, Gary Mills wrote: >>> I'm just finishing a driver for the Atheros AR8131 and AR8132 ethernet >>> devices. I'm ready now to test it under load. What's available in >>> OpenIndiana for this purpose? I couldn't see anything in the >>> repository that seemed suitable. I don't need to bring the interface >>> up to maximum throughput, but I'd at least like to be sure that >>> nothing breaks when it has a reasonable load. >> >> Thanks to all who responded. Most of you recommended `iperf'. That's >> what I used. Not being a network expert, I didn't know what options >> to use, but with the defaults I was able to push many packets through >> this interface in both directions. The driver worked nicely. I got a >> bandwith of about 94 Mbits/sec, three times that of the wireless >> interface. That's all I needed. >> >> -- >> -Gary Mills- -refurb- -Winnipeg, Manitoba, >> Canada- >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss >> > > > > -- > Seconds to the drop, but it seems like hours. > > http://www.eff.org/ > http://creativecommons.org/ > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From alan.coopersmith at oracle.com Wed May 23 16:34:51 2012 From: alan.coopersmith at oracle.com (Alan Coopersmith) Date: Wed, 23 May 2012 09:34:51 -0700 Subject: [OpenIndiana-discuss] search pkg lists In-Reply-To: References: Message-ID: <4FBD11AB.6090701@oracle.com> On 05/23/12 08:12 AM, Tim Dunphy wrote: > hello list, > > I am trying to install sudo onto a zone I created on my openindiana > box. I downloaded the one I found at sunfreeware.com, but that was > missing a lot of libraries. > > Next, I thought I would try searching the openindiana package > repository but I don't know if there is a way to do this akin to 'yum > search package-i-want' under CentOS for example. pkg search sudo -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc From oi at stephanws.de Wed May 23 17:53:56 2012 From: oi at stephanws.de (=?ISO-8859-1?Q?J=F6rg_Stephan?=) Date: Wed, 23 May 2012 19:53:56 +0200 Subject: [OpenIndiana-discuss] search pkg lists In-Reply-To: References: Message-ID: <4FBD2434.4030306@stephanws.de> Am 23.05.2012 17:12, schrieb Tim Dunphy: > hello list, > > I am trying to install sudo onto a zone I created on my openindiana > box. I downloaded the one I found at sunfreeware.com, but that was > missing a lot of libraries. > > Next, I thought I would try searching the openindiana package > repository but I don't know if there is a way to do this akin to 'yum > search package-i-want' under CentOS for example. > > > Thanks > tim > I guess you are looking for pkg search package-you-want Regards From bluethundr at gmail.com Wed May 23 20:09:28 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Wed, 23 May 2012 16:09:28 -0400 Subject: [OpenIndiana-discuss] installing oracle 11g Message-ID: hey again list, I'm trying to surmount a small hurdle in installing Oracle 11g on my oi 151 box. When I run the ./runInstaller command from the database directory I get this message Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< And it proceeds to throw a java exception if I continue >>> Ignoring required pre-requisite failures. Continuing... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-05-23_04-01-36PM. Please wait ...-bash-4.0$ Exception in thread "main" java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at java.awt.Toolkit$2.run(Toolkit.java:821) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804) at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source) at com.jgoodies.looks.LookUtils.(Unknown Source) at com.jgoodies.looks.plastic.PlasticLookAndFeel.(PlasticLookAndFeel.java:122) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783) at javax.swing.UIManager.setLookAndFeel(UIManager.java:480) at oracle.install.commons.util.Application.startup(Application.java:758) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181) at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265) at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114) at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132) I think the key value I need to set is this one: -bash-4.0$ export DISPLAY='localhost:0.0' And I've tried a couple of variations including the actual hostname of the host in place of localhost. Any thoughts on how I can get past this point? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From jason at broken.net Wed May 23 21:12:10 2012 From: jason at broken.net (Jason Matthews) Date: Wed, 23 May 2012 14:12:10 -0700 Subject: [OpenIndiana-discuss] installing oracle 11g In-Reply-To: References: Message-ID: I don't want to sound insulting, but is X running? Are you on console or logged in over ssh? If ssh, is xforwarding enabled? If so, do you have some sort of X client on your side? Do other X clients work (eg. xload)? If console, who are youlogged in as? What user are you running the installer as? Why don't you logout, log back in, and show us the value of $DISPLAY (after describing how you interact with X). Thanks, j. -----Original Message----- From: Tim Dunphy [mailto:bluethundr at gmail.com] Sent: Wednesday, May 23, 2012 1:09 PM To: Discussion list for OpenIndiana Subject: [OpenIndiana-discuss] installing oracle 11g hey again list, I'm trying to surmount a small hurdle in installing Oracle 11g on my oi 151 box. When I run the ./runInstaller command from the database directory I get this message Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< And it proceeds to throw a java exception if I continue >>> Ignoring required pre-requisite failures. Continuing... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-05-23_04-01-36PM. Please wait ...-bash-4.0$ Exception in thread "main" java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at java.awt.Toolkit$2.run(Toolkit.java:821) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804) at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source) at com.jgoodies.looks.LookUtils.(Unknown Source) at com.jgoodies.looks.plastic.PlasticLookAndFeel.(PlasticLookAndFeel.ja va:122) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783) at javax.swing.UIManager.setLookAndFeel(UIManager.java:480) at oracle.install.commons.util.Application.startup(Application.java:758) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164 ) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181 ) at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:2 65) at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114) at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132) I think the key value I need to set is this one: -bash-4.0$ export DISPLAY='localhost:0.0' And I've tried a couple of variations including the actual hostname of the host in place of localhost. Any thoughts on how I can get past this point? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From matt.connolly.au at gmail.com Wed May 23 21:13:45 2012 From: matt.connolly.au at gmail.com (Matt Connolly) Date: Thu, 24 May 2012 07:13:45 +1000 Subject: [OpenIndiana-discuss] rvm ruby 64 bit In-Reply-To: <64B39581-80FF-4859-8B99-35282B5992D0@googlemail.com> References: <24BA9A26-B7B8-4FA4-B59E-0DFFE3A7620B@googlemail.com> <8B40C8B2-0136-4460-A879-8934343FCD63@gmail.com> <5C4AFA21-22FC-475C-8724-AAC839B2C5BC@gmail.com> <2FA1ACDA-EA36-404A-8F2F-CBBD4487C3BE@googlemail.com> <64B39581-80FF-4859-8B99-35282B5992D0@googlemail.com> Message-ID: I'm using gcc 4.6 from safe repository. Is the option -m64 the same in 3.4? I did rvm "reinstall" because I already had the 32 bit one installed... Perhaps try that too? Here's some output from my machine: matt at rvm1:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.2/lto-wrapper Target: i386-pc-solaris2.11 Configured with: ../gcc-4.6.2/configure --prefix=/usr/gcc/4.6 --libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib --mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info --with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/bin/ld --without-gnu-ld --enable-languages=c,c++,fortran,objc --enable-shared --disable-static --enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu --with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu -enable-nls Thread model: posix gcc version 4.6.2 (GCC) matt at rvm1:~$ isainfo -kv 64-bit amd64 kernel modules matt at rvm1:~$ uname -a SunOS rvm1 5.11 oi_151a4 i86pc i386 i86pc Solaris matt at rvm1:~$ rvm use 1.9.3 Using /export/home/matt/.rvm/gems/ruby-1.9.3-p194 matt at rvm1:~$ file `which ruby` /export/home/matt/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped matt at rvm1:~$ rvm version rvm 1.13.6 (stable) by Wayne E. Seguin , Michal Papis [https://rvm.io/] Sent from my iPad On 23/05/2012, at 3:57 AM, Achim Wolpers wrote: > > Am 21.05.2012 um 15:14 schrieb Matt Connolly: > >> matt at rvm1:~$ CFLAGS=-m64 rvm reinstall 1.9.3 > > That was my first thought. But my box builds ruby in 32 bit mode, even though the compiler flag is set to -m64. > > # cc -v > Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs > Configured with: /home/jt/OI-151A-STABLE/151A-PRESTABLE2/newbuilds/sfw/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared > Thread model: posix > gcc version 3.4.3 (csl-sol210-3_4-20050802) > > # isainfo -kv > 64-bit amd64 kernel modules > > Achim > From bluethundr at gmail.com Wed May 23 22:16:27 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Wed, 23 May 2012 18:16:27 -0400 Subject: [OpenIndiana-discuss] installing oracle 11g In-Reply-To: References: Message-ID: > I don't want to sound insulting, but is X running? > Are you on console or logged in over ssh? If ssh, is xforwarding enabled? If > so, do you have some sort of X client on your side? Do other X clients work > (eg. xload)? That's fine. I'm logged in at the console, not ssh'd in and yes x is working fine. I'm running as the oracle user [root at openindiana:/tank/iso] #su - oracle And interesting that xload gives an error when I try to run it as the oracle user. I've tried setting a few variables for DISPLAY: -bash-4.0$ export DISPLAY=":0.0" -bash-4.0$ xload Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: Can't open display: :0.0 -bash-4.0$ export DISPLAY="localhost:0.0" -bash-4.0$ xload Error: Can't open display: localhost:0.0 -bash-4.0$ export DISPLAY="openindiana:0.0" -bash-4.0$ xload Xlib: connection to "openindiana:0.0" refused by server Xlib: No protocol specified Error: Can't open display: openindiana:0.0 I would think that either my hostname or localhost would work, but not so far. -bash-4.0$ hostname openindiana I don't have DISPLAY set in a resource file so I'm just exporting it on the command line before trying to install oracle. Thanks Tim On Wed, May 23, 2012 at 5:12 PM, Jason Matthews wrote: > > > > I don't want to sound insulting, but is X running? > Are you on console or logged in over ssh? If ssh, is xforwarding enabled? If > so, do you have some sort of X client on your side? Do other X clients work > (eg. xload)? > > If console, who are youlogged in as? What user are you running the installer > as? > > Why don't you logout, log back in, and show us the value of $DISPLAY (after > describing how you interact with X). > > Thanks, > > j. > > -----Original Message----- > From: Tim Dunphy [mailto:bluethundr at gmail.com] > Sent: Wednesday, May 23, 2012 1:09 PM > To: Discussion list for OpenIndiana > Subject: [OpenIndiana-discuss] installing oracle 11g > > hey again list, > > ?I'm trying to surmount a small hurdle in installing Oracle 11g on my > oi 151 box. > > > > > When I run the ./runInstaller command from the database directory I > get this message > > Checking monitor: must be configured to display at least 256 colors > ? ?>>> Could not execute auto check for display colors using command > /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. > Failed <<<< > > And it proceeds to throw a java exception if I continue > >>>> Ignoring required pre-requisite failures. Continuing... > Preparing to launch Oracle Universal Installer from > /tmp/OraInstall2012-05-23_04-01-36PM. Please wait ...-bash-4.0$ > Exception in thread "main" java.lang.NoClassDefFoundError > ? ? ? ?at java.lang.Class.forName0(Native Method) > ? ? ? ?at java.lang.Class.forName(Class.java:164) > ? ? ? ?at java.awt.Toolkit$2.run(Toolkit.java:821) > ? ? ? ?at java.security.AccessController.doPrivileged(Native Method) > ? ? ? ?at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804) > ? ? ? ?at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source) > ? ? ? ?at com.jgoodies.looks.LookUtils.(Unknown Source) > ? ? ? ?at > com.jgoodies.looks.plastic.PlasticLookAndFeel.(PlasticLookAndFeel.ja > va:122) > ? ? ? ?at java.lang.Class.forName0(Native Method) > ? ? ? ?at java.lang.Class.forName(Class.java:242) > ? ? ? ?at > javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783) > ? ? ? ?at javax.swing.UIManager.setLookAndFeel(UIManager.java:480) > ? ? ? ?at > oracle.install.commons.util.Application.startup(Application.java:758) > ? ? ? ?at > oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164 > ) > ? ? ? ?at > oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181 > ) > ? ? ? ?at > oracle.install.commons.base.driver.common.Installer.startup(Installer.java:2 > 65) > ? ? ? ?at > oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114) > ? ? ? ?at > oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132) > > I think the key value I need to set is this one: > > -bash-4.0$ export DISPLAY='localhost:0.0' > > > And I've tried a couple of variations including the actual hostname of > the host in place of localhost. > > Any thoughts on how I can get past this point? > > Thanks > Tim > > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From alan.coopersmith at oracle.com Wed May 23 22:20:51 2012 From: alan.coopersmith at oracle.com (Alan Coopersmith) Date: Wed, 23 May 2012 15:20:51 -0700 Subject: [OpenIndiana-discuss] installing oracle 11g In-Reply-To: References: Message-ID: <4FBD62C3.1060900@oracle.com> On 05/23/12 03:16 PM, Tim Dunphy wrote: >> I don't want to sound insulting, but is X running? >> Are you on console or logged in over ssh? If ssh, is xforwarding enabled? If >> so, do you have some sort of X client on your side? Do other X clients work >> (eg. xload)? > > That's fine. I'm logged in at the console, not ssh'd in and yes x is > working fine. > > > I'm running as the oracle user > > [root at openindiana:/tank/iso] #su - oracle > > > And interesting that xload gives an error when I try to run it as the > oracle user. > > I've tried setting a few variables for DISPLAY: > > -bash-4.0$ export DISPLAY=":0.0" > -bash-4.0$ xload > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > Error: Can't open display: :0.0 The default X setup, on pretty much every OS made in the past twenty years, is that only the user who logs into X can open windows on the display. Some Linux distros do include a PAM module to forward this authorization on su, but OI does not. The simplest workaround is to grant the Oracle user permission before you su to it: xhost +si:localuser:oracle A variety of other solutions are possible as well, as a google search for terms such as "xauthority" and "xauth" will turn up. -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc From jimklimov at cos.ru Wed May 23 22:28:10 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Thu, 24 May 2012 02:28:10 +0400 Subject: [OpenIndiana-discuss] installing oracle 11g In-Reply-To: References: Message-ID: <4FBD647A.20307@cos.ru> 2012-05-24 2:16, Tim Dunphy wrote: >> I don't want to sound insulting, but is X running? >> Are you on console or logged in over ssh? If ssh, is xforwarding enabled? If >> so, do you have some sort of X client on your side? Do other X clients work >> (eg. xload)? > > That's fine. I'm logged in at the console, not ssh'd in and yes x is > working fine. > > > I'm running as the oracle user > > [root at openindiana:/tank/iso] #su - oracle X11 uses some "MIT Magic Cookies" to authorize its users, and those might not pass through "su" or "su -" and/or the access rights needed to use the cookie files. For the duration of your installation, you can execute (as X11 server session owner - i.e. root - inside that session): # xhost + localhost This should allow any connections from localhost to this DISPLAY. Likewise for any other named client host; or just "xhost +" to permit anyone in (firewall and/or private LAN recommended). Then, before you "su", take note of your (root's) current setting of DISPLAY and export that after "su"ing, i.e.: # echo $DISPLAY :0.0 # su - oracle $ DISPLAY=:0.0 $ export DISPLAY $ .../runInstaller & HTH, //Jim Klimov From jason at broken.net Wed May 23 22:41:31 2012 From: jason at broken.net (Jason Matthews) Date: Wed, 23 May 2012 15:41:31 -0700 Subject: [OpenIndiana-discuss] installing oracle 11g In-Reply-To: <4FBD62C3.1060900@oracle.com> References: <4FBD62C3.1060900@oracle.com> Message-ID: <45A59A8D4B89401DBAF57B9FF29FC6E7@ragnarok> What Alan wrote. j. -----Original Message----- From: Alan Coopersmith [mailto:alan.coopersmith at oracle.com] Sent: Wednesday, May 23, 2012 3:21 PM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] installing oracle 11g On 05/23/12 03:16 PM, Tim Dunphy wrote: >> I don't want to sound insulting, but is X running? >> Are you on console or logged in over ssh? If ssh, is xforwarding enabled? If >> so, do you have some sort of X client on your side? Do other X clients work >> (eg. xload)? > > That's fine. I'm logged in at the console, not ssh'd in and yes x is > working fine. > > > I'm running as the oracle user > > [root at openindiana:/tank/iso] #su - oracle > > > And interesting that xload gives an error when I try to run it as the > oracle user. > > I've tried setting a few variables for DISPLAY: > > -bash-4.0$ export DISPLAY=":0.0" > -bash-4.0$ xload > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > Error: Can't open display: :0.0 The default X setup, on pretty much every OS made in the past twenty years, is that only the user who logs into X can open windows on the display. Some Linux distros do include a PAM module to forward this authorization on su, but OI does not. The simplest workaround is to grant the Oracle user permission before you su to it: xhost +si:localuser:oracle A variety of other solutions are possible as well, as a google search for terms such as "xauthority" and "xauth" will turn up. -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From bluethundr at gmail.com Wed May 23 23:21:42 2012 From: bluethundr at gmail.com (Tim Dunphy) Date: Wed, 23 May 2012 19:21:42 -0400 Subject: [OpenIndiana-discuss] installing oracle 11g In-Reply-To: <45A59A8D4B89401DBAF57B9FF29FC6E7@ragnarok> References: <4FBD62C3.1060900@oracle.com> <45A59A8D4B89401DBAF57B9FF29FC6E7@ragnarok> Message-ID: Thanks guys. Alan's tip ultimately got the gui installer working: >The simplest workaround is to grant the Oracle user permission before you su to it: > xhost +si:localuser:oracle Then, after setting the DISPLAY variable that got the ball rolling. I appreciate the help! tim On Wed, May 23, 2012 at 6:41 PM, Jason Matthews wrote: > > > What Alan wrote. > > j. > > -----Original Message----- > From: Alan Coopersmith [mailto:alan.coopersmith at oracle.com] > Sent: Wednesday, May 23, 2012 3:21 PM > To: Discussion list for OpenIndiana > Subject: Re: [OpenIndiana-discuss] installing oracle 11g > > On 05/23/12 03:16 PM, Tim Dunphy wrote: >>> I don't want to sound insulting, but is X running? >>> Are you on console or logged in over ssh? If ssh, is xforwarding enabled? > If >>> so, do you have some sort of X client on your side? Do other X clients > work >>> (eg. xload)? >> >> That's fine. I'm logged in at the console, not ssh'd in and yes x is >> working fine. >> >> >> I'm running as the oracle user >> >> [root at openindiana:/tank/iso] #su - oracle >> >> >> And interesting that xload gives an error when I try to run it as the >> oracle user. >> >> ?I've tried setting a few variables for DISPLAY: >> >> -bash-4.0$ export DISPLAY=":0.0" >> -bash-4.0$ xload >> Xlib: connection to ":0.0" refused by server >> Xlib: No protocol specified >> >> Error: Can't open display: :0.0 > > The default X setup, on pretty much every OS made in the past twenty years, > is > that only the user who logs into X can open windows on the display. ? Some > Linux > distros do include a PAM module to forward this authorization on su, but OI > does > not. > > The simplest workaround is to grant the Oracle user permission before you su > to > it: > ? ? ? ?xhost +si:localuser:oracle > > A variety of other solutions are possible as well, as a google search for > terms > such as "xauthority" and "xauth" will turn up. > > -- > ? ? ? ?-Alan Coopersmith- ? ? ? ? ? ? ?alan.coopersmith at oracle.com > ? ? ? ? Oracle Solaris Engineering - http://blogs.oracle.com/alanc > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From richard.elling at richardelling.com Wed May 23 23:50:20 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Wed, 23 May 2012 16:50:20 -0700 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <4FBCAFCA.30403@cos.ru> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> <4FBCAFCA.30403@cos.ru> Message-ID: <2A6A7F60-02A9-4835-9FEE-5339EDAAAD7E@richardelling.com> On May 23, 2012, at 2:37 AM, Jim Klimov wrote: > 2012-05-23 8:00, Richard Elling wrote: >> This procedure is far too complex. Let's edit it... > > Thanks... that seemed far too easy ;) > > As a side note, it is then possible to augment GRUB to be > able to import and export an rpool and thus help IDE-SATA > migrations? Go for it. This is not a common operation and is expected to only be done once per system, sorta like changing BIOS settings. -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From jimklimov at cos.ru Thu May 24 03:31:41 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Thu, 24 May 2012 07:31:41 +0400 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <2A6A7F60-02A9-4835-9FEE-5339EDAAAD7E@richardelling.com> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> <4FBCAFCA.30403@cos.ru> <2A6A7F60-02A9-4835-9FEE-5339EDAAAD7E@richardelling.com> Message-ID: <4FBDAB9D.9010400@cos.ru> 2012-05-24 3:50, Richard Elling wrote: >> As a side note, it is then possible to augment GRUB to be >> able to import and export an rpool and thus help IDE-SATA >> migrations? > > Go for it. Huh... wait a couple of years, please. I'm better with generating ideas, than with long-term commitments for polished code, you do know :( > This is not a common operation and is expected to only be done once per > system, > sorta like changing BIOS settings. One would guess so. But do you notice how often this comes up and people mostly opt to reinstall OpenIndiana instead of applying a trivial fix (which requires a bootable media like LiveCD - which could be replaced by GRUB or theoretical revival of failsafe-boot)... //Jim From reh at hebis.uni-frankfurt.de Thu May 24 07:59:52 2012 From: reh at hebis.uni-frankfurt.de (Uwe Reh) Date: Thu, 24 May 2012 09:59:52 +0200 Subject: [OpenIndiana-discuss] /usr/bin/vi* and large files. Message-ID: <4FBDEA78.2040406@hebis.uni-frankfurt.de> trying to open a large file with vi/vim (oi_151a4), the editor behaves like opening a new file. > "moreThan2G.foo" [New File] could this be the same issue like "tail is not largefile aware" >https://www.illumos.org/issues/2717 Btw: Is vim a part of illumos-userland or openindiana? Uwe From hpg at uni-bremen.de Thu May 24 11:43:48 2012 From: hpg at uni-bremen.de (Henner Gratz) Date: Thu, 24 May 2012 13:43:48 +0200 Subject: [OpenIndiana-discuss] Which compiler to use for Perl modules? Message-ID: <4FBE1EF4.8040706@uni-bremen.de> Hello, I need to install a few Perl modules on one of my OpenIndiana boxes (oi151a4), Digest::MD4 for example. Unfortunately the usual way of installation (perl Makefile.PL ; make ; ...) doesn't work because the created Makefiles are configured for the Sun/Solaris Studio compiler. How to proceed now? Download Oracle's Solaris Studio compiler or modify the Makefiles to use gcc instead of cc? Which compiler was used for buidling perl? Thank you very much for your help in advance. Regards, Henner From t12nslookup at gmail.com Thu May 24 11:55:05 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Thu, 24 May 2012 12:55:05 +0100 Subject: [OpenIndiana-discuss] Which compiler to use for Perl modules? In-Reply-To: <4FBE1EF4.8040706@uni-bremen.de> References: <4FBE1EF4.8040706@uni-bremen.de> Message-ID: not perfect, but you might be able to get the installed perl to compile by doing the following: cd /usr/perl5 cp ./5.10.0/lib/i86pc-solaris-64int/Config.pm ./5.10.0/lib/i86pc-solaris-64int/Config.pm.bak cp ./5.10.0/lib/Sun/Solaris/PerlGcc/Config.pm ./5.10.0/lib/i86pc-solaris-64int/Config.pm fix ./5.10.0/lib/i86pc-solaris-64int/Config_heavy.pl: change KPIC -> fPIC change optimize='-O2 -fno-strict-aliasing' change ld='gcc' Jon On 24 May 2012 12:43, Henner Gratz wrote: > Hello, > > I need to install a few Perl modules on one of my OpenIndiana boxes > (oi151a4), > Digest::MD4 for example. Unfortunately the usual way of installation (perl > Makefile.PL ; > make ; ...) doesn't work because the created Makefiles are configured for > the > Sun/Solaris Studio compiler. How to proceed now? Download Oracle's Solaris > Studio > compiler or modify the Makefiles to use gcc instead of cc? Which compiler > was used > for buidling perl? > > ?Thank you very much for your help in advance. > > > Regards, > > ? Henner > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From hpg at uni-bremen.de Thu May 24 12:47:02 2012 From: hpg at uni-bremen.de (Henner Gratz) Date: Thu, 24 May 2012 14:47:02 +0200 Subject: [OpenIndiana-discuss] Which compiler to use for Perl modules? Message-ID: <4FBE2DC6.2090606@uni-bremen.de> Hello Jon! Thank you very much for your fast reply. I appreciate it very much. Patching the Config module is much better than modifying every makefile. And the best is: It works! Best regards, Henner On 24 May 2012 11:55 UTC, Jonathan Adams wrote: > not perfect, but you might be able to get the installed perl to > compile by doing the following: > > cd /usr/perl5 > cp ./5.10.0/lib/i86pc-solaris-64int/Config.pm > ./5.10.0/lib/i86pc-solaris-64int/Config.pm.bak > cp ./5.10.0/lib/Sun/Solaris/PerlGcc/Config.pm > ./5.10.0/lib/i86pc-solaris-64int/Config.pm > > fix ./5.10.0/lib/i86pc-solaris-64int/Config_heavy.pl: > change KPIC -> fPIC > change optimize='-O2 -fno-strict-aliasing' > change ld='gcc' > > Jon > > On 24 May 2012 12:43, Henner Gratz> wrote: > >/ Hello, /> >/ /> >/ I need to install a few Perl modules on one of my OpenIndiana boxes /> >/ (oi151a4), /> >/ Digest::MD4 for example. Unfortunately the usual way of installation (perl /> >/ Makefile.PL ; /> >/ make ; ...) doesn't work because the created Makefiles are configured for /> >/ the /> >/ Sun/Solaris Studio compiler. How to proceed now? Download Oracle's Solaris /> >/ Studio /> >/ compiler or modify the Makefiles to use gcc instead of cc? Which compiler /> >/ was used /> >/ for buidling perl? /> >/ /> >/ Thank you very much for your help in advance. /> >/ /> >/ /> >/ Regards, /> >/ /> >/ Henner /> >/ / From bfriesen at simple.dallas.tx.us Thu May 24 14:03:51 2012 From: bfriesen at simple.dallas.tx.us (Bob Friesenhahn) Date: Thu, 24 May 2012 09:03:51 -0500 (CDT) Subject: [OpenIndiana-discuss] Which compiler to use for Perl modules? In-Reply-To: <4FBE1EF4.8040706@uni-bremen.de> References: <4FBE1EF4.8040706@uni-bremen.de> Message-ID: On Thu, 24 May 2012, Henner Gratz wrote: > I need to install a few Perl modules on one of my OpenIndiana boxes > (oi151a4), Digest::MD4 for example. Unfortunately the usual way of > installation (perl Makefile.PL ; make ; ...) doesn't work because > the created Makefiles are configured for the Sun/Solaris Studio > compiler. How to proceed now? Download Oracle's Solaris Studio > compiler or modify the Makefiles to use gcc instead of cc? Which > compiler was used for buidling perl? The perfect solution is to always install Perl modules using the compiler used to build Perl. Perl remembers all the nuances involved with the compiler used when Perl was built and replays these options when modules are built. This behavior is a long-standing problem with Perl. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ From ilya at arhipkin.com Thu May 24 15:04:22 2012 From: ilya at arhipkin.com (Arhipkin Ilya) Date: Thu, 24 May 2012 21:04:22 +0600 Subject: [OpenIndiana-discuss] problem route traceroute pkg.openindiana.orgon 109.71.206.26 In-Reply-To: <8F607366E3C0F9499212649291E0BD64047975@MS1.laspina.ca> References: <562ee2d76d2b985ff25c381c0811505f@arhipkin.com> <8F607366E3C0F9499212649291E0BD64047975@MS1.laspina.ca> Message-ID: <5993af9cc552feeec36b0a8f007aa7d6@arhipkin.com> HI Mike logs show takes place during the fall in the direction of routing packets in this problem - to most difficult session with the site router D-LINK DIR-100 192.168.0.1 My Dynamic IP 109.71.206.26 May/24/2012 21:59:42 [FW] **Drop Packet** IP/TCP 90.156.201.97:80->192.168.0.100:40245 May/24/2012 21:59:41 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:57776 May/24/2012 21:59:40 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:34479 May/24/2012 21:59:37 [FW] **Drop Packet** IP/TCP 90.156.201.97:80->192.168.0.100:40245 May/24/2012 21:59:37 [HTTP] logout (192.168.0.101) May/24/2012 21:59:29 [FW] **Drop Packet** IP/UDP 10.2.34.25:68->255.255.255.255:67 May/24/2012 21:59:24 [FW] **Drop Packet** IP/UDP 10.2.34.237:51636->10.2.34.255:1947 May/24/2012 21:59:17 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:34479 May/24/2012 21:59:17 [FW] **Drop Packet** IP/UDP 10.2.34.9:68->255.255.255.255:67 May/24/2012 21:59:17 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:57776 May/24/2012 21:59:17 [FW] **Drop Packet** IP/UDP 10.2.34.239:1027->10.2.34.255:1947 May/24/2012 21:59:13 [FW] **Drop Packet** IP/UDP 217.19.124.200:1027->255.255.255.255:1947 May/24/2012 21:58:52 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:57776 May/24/2012 21:58:52 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:34479 May/24/2012 21:58:48 [FW] **Drop Packet** IP/TCP 90.156.201.97:80->192.168.0.100:40245 May/24/2012 21:58:42 [FW] **Drop Packet** IP/UDP 0.0.0.0:68->255.255.255.255:67 May/24/2012 21:58:42 [FW] **Drop Packet** IP/UDP 10.2.34.237:51636->10.2.34.255:1947 May/24/2012 21:58:42 [FW] **Drop Packet** IP/TCP 90.156.201.97:80->192.168.0.100:40245 May/24/2012 21:58:41 [FW] **Drop Packet** IP/UDP 0.0.0.0:68->255.255.255.255:67 May/24/2012 21:58:41 [FW] **Drop Packet** IP/TCP 91.218.229.12:80->192.168.0.100:34479 May/24/2012 21:49:08 [FW] **Drop Packet** IP/TCP 90.156.201.99:80->192.168.0.100:48925 May/24/2012 21:49:07 [FW] **Drop Packet** IP/TCP 90.156.201.115:80->192.168.0.100:53217 May/24/2012 21:49:07 [FW] **Drop Packet** IP/TCP 90.156.201.13:80->192.168.0.100:46880 May/24/2012 21:49:06 [FW] **Drop Packet** IP/TCP 90.156.201.48:80->192.168.0.100:43573 May/24/2012 21:49:05 [FW] **Drop Packet** IP/TCP 90.156.201.99:80->192.168.0.100:48925 May/24/2012 21:49:05 [FW] **Drop Packet** IP/UDP 10.2.34.23:68->255.255.255.255:67 May/24/2012 21:49:04 [FW] **Drop Packet** IP/TCP 90.156.201.115:80->192.168.0.100:53217 May/24/2012 21:49:04 [FW] **Drop Packet** IP/TCP 90.156.201.13:80->192.168.0.100:46880 May/24/2012 21:49:01 [FW] **Drop Packet** IP/UDP 0.0.0.0:68->255.255.255.255:67 May/24/2012 21:49:00 [FW] **Drop Packet** IP/UDP 10.2.34.58:68->255.255.255.255:67 May/24/2012 21:48:57 [FW] **Drop Packet** IP/UDP 10.2.34.58:68->255.255.255.255:67 May/24/2012 21:48:51 [FW] **Drop Packet** IP/UDP 0.0.0.0:68->255.255.255.255:67 May/24/2012 21:48:50 [FW] **Drop Packet** IP/UDP 0.0.0.0:68->255.255.255.255:67 May/24/2012 21:48:46 [FW] **Drop Packet** IP/UDP 10.2.34.237:51636->10.2.34.255:1947 May/24/2012 21:48:37 [FW] **Drop Packet** IP/UDP 10.2.34.239:1027->10.2.34.255:1947 May/24/2012 21:48:33 [FW] **Drop Packet** IP/UDP 0.0.0.0:68->255.255.255.255:67 May/24/2012 21:48:33 [FW] **Drop Packet** IP/TCP 90.156.201.48:80->192.168.0.100:43573 May/24/2012 21:48:33 [FW] **Drop Packet** IP/UDP 217.19.124.200:1027->255.255.255.255:1947 May/24/2012 21:48:32 [FW] **Drop Packet** IP/TCP 90.156.201.99:80->192.168.0.100:48925 May/24/2012 21:48:31 [FW] **Drop Packet** IP/TCP 90.156.201.115:80->192.168.0.100:53217 Mike La Spina ????? 2012-05-20 03:17: > Arhipkin, > > Did you try traceroute -I pkg.openindiana.org > > Many ISP's do not respond to UDP pings. > > In this case it looks like the pkg host was actually down. > > Regards, > Mike > > -----Original Message----- > From: Arhipkin Ilya [mailto:ilya at arhipkin.com] > Sent: Thursday, May 17, 2012 5:26 AM > To: Discussion list for OpenIndiana > Subject: [OpenIndiana-discuss] problem route traceroute > pkg.openindiana.orgon 109.71.206.26 > > ilya at miass:~$ traceroute pkg.openindiana.org traceroute to > pkg.openindiana.org (91.194.74.133), 30 hops max, 40 byte packets > 1 > 192.168.0.1 (192.168.0.1) 0.618 ms 0.549 ms 0.475 ms > 2 > 217.19.117.145.static.uic.ru (217.19.117.145) 2.539 ms 2.766 ms 2.565 ms > 3 217.19.112.129.static.uic.ru (217.19.112.129) 2.870 ms 3.218 ms > 3.564 ms > 4 62.148.255.9 (62.148.255.9) 8.979 ms 9.034 ms 8.801 ms > 5 * > * * > 6 * * * > 7 ae-2.chbs-rgr3.ur.ip.rostelecom.ru (188.128.91.81) > 18.535 ms 9.530 ms 74.631 ms > 8 * * * > 9 > ge-1-0-3.r02.frnkge04.de.bb.gin.ntt.net (213.198.82.165) 93.110 ms > 93.105 ms 93.396 ms > 10 ae-3.r20.frnkge04.de.bb.gin.ntt.net > (129.250.3.93) 139.473 ms 88.352 ms 95.757 ms > 11 > ae-1.r23.amstnl02.nl.bb.gin.ntt.net (129.250.3.179) 143.851 ms 101.716 > ms 101.240 ms > 12 * * * > 13 te3-2-0-cr0.nik.nl.as6908.net (81.20.64.42) > 117.917 ms 115.956 ms 117.584 ms > 14 te1-4-3508-cr0.thn.uk.as6908.net > (78.41.154.13) 127.272 ms 211.781 ms 109.575 ms > 15 195.72.129.157 > (195.72.129.157) 106.566 ms 103.591 ms 332.526 ms > 16 * * * > 17 * * * > 18 * > * * > 19 * * * > 20 * * * > 21 * * * > 22 * * * > 23 * * * > 24 * * * > 25 * * * > 26 * > * * > 27 * * * > 28 * * * > 29 * * * > 30 * * * > :-(Due to the repository is not > available trace packet loss turned out to my email address > > ilya at miass:~$ sudo pkg install gcc-dev SUNWxorg-headers > Password: > pkg: > 0/1 catalogs successfully updated: > > Unable to contact valid package > repository > Encountered the following error(s): > Unable to contact any > configured publishers. > This is likely a network configuration > problem. > Framework error: code: 28 reason: Connection time-out > URL: > 'http://pkg.openindiana.org/dev'. (happened 4 times) > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From richard.palo at baou.fr Fri May 25 05:26:04 2012 From: richard.palo at baou.fr (Richard PALO) Date: Fri, 25 May 2012 07:26:04 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FB0E4BD.1010209@gmail.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> Message-ID: Perhaps someone more directly involved with the illumos based gcc work could enlighten the Apache team a bit... -------- Message original -------- Sujet: Re: OpenSolaris/Illumos intel GCC port Date : Thu, 24 May 2012 22:13:11 -0500 De : Pedro Giffuni R?pondre ? : ooo-dev at incubator.apache.org Pour : ooo-dev at incubator.apache.org Copie ? : Rich Reynolds Groupes de discussion: gmane.comp.apache.incubator.ooo.devel R?f?rences : <4FBEDE69.2090905 at redstar-assoc.com> On 05/24/12 20:20, Rich Reynolds wrote: > hi all - > > anyone know of the above port happening? > > rich I don't think so. My understanding is that gcc was never well supported on Solaris. We have seen reports of success (after minor changes) with Sun's compiler though. Cheers, Pedro. From edwardlotus at gmail.com Fri May 25 06:19:07 2012 From: edwardlotus at gmail.com (Edward M) Date: Thu, 24 May 2012 23:19:07 -0700 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> Message-ID: <4FBF245B.70800@gmail.com> On 05/24/2012 10:26 PM, Richard PALO wrote: > Perhaps someone more directly involved with the illumos based gcc work > could enlighten the Apache team a bit... > > -------- Message original -------- > Sujet: Re: OpenSolaris/Illumos intel GCC port > Date : Thu, 24 May 2012 22:13:11 -0500 > De : Pedro Giffuni > R?pondre ? : ooo-dev at incubator.apache.org > Pour : ooo-dev at incubator.apache.org > Copie ? : Rich Reynolds > Groupes de discussion: gmane.comp.apache.incubator.ooo.devel > R?f?rences : <4FBEDE69.2090905 at redstar-assoc.com> > > On 05/24/12 20:20, Rich Reynolds wrote: > > hi all - > > > > anyone know of the above port happening? > > > > rich > I don't think so. My understanding is that gcc was never > well supported on Solaris. > > We have seen reports of success (after minor changes) > with Sun's compiler though. > > Cheers, > > Pedro. > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > Hi, are you trying to compile AOO for OI? Did you know there //are /available/ AOO 3.4 unoffical dev snapshots for download for testing. not sure when they will reach GA.:-) https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots From richard.palo at baou.fr Fri May 25 09:09:11 2012 From: richard.palo at baou.fr (Richard PALO) Date: Fri, 25 May 2012 11:09:11 +0200 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FBF245B.70800@gmail.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> <4FBF245B.70800@gmail.com> Message-ID: Not yet, but the solaris-x86 build referenced there is 3 months old! > Revision 1293550 > Jump to revision: Previous Next > Author: arielch > Date: Sat Feb 25 09:02:31 2012 UTC (2 months, 4 weeks ago) > Changed paths: 1 > Log Message: > > Add dependency on serf -> apr-util -> apr to scp2 Le 25/05/12 08:19, Edward M a ?crit : > Hi, are you trying to compile AOO for OI? Did you know there //are > /available/ AOO 3.4 unoffical dev snapshots for download for testing. > not sure > when they will reach GA.:-) > > https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots > From ths.mailaddr at yahoo.com Fri May 25 10:18:34 2012 From: ths.mailaddr at yahoo.com (ths.mailaddr at yahoo.com) Date: Fri, 25 May 2012 03:18:34 -0700 (PDT) Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: <4FBBC752.3040805@cos.ru> References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> <4FBBC752.3040805@cos.ru> Message-ID: <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> Hello Jim, hello Robbie, thanks for your replies. I was very busy with another project and found no time to respond earlier. From what i have seen in my tests, i'am quite happy with ZFS ACLs and how inheritance seems to work. As i wrote in my initial post, i'am comming from Netware which had full-fledged ACLs for ages and it looks like we could transform our Netware ACLs 1:1 to ZFS ACLs. From what i found on the net, i had the impression that the way of managing ZFS ACLs in a windows environment is to use windows tools, especially MMC and explorer->properties->security but this is a nightmare. Regardless of which local oi-user was used to connect to a share (after rebooting the windows pc), windows mmc didnt only work if the local logged-in win-user was member of the oi-administrators group. oi-users: root, admin, user1 oi-groups: administrators (root,admin), staff (user1) win-users: admin, user1 win-groups: administrators (admin), Users (user1) Current windows user = user1, connect to share as admin: ------------------------------------------------------------ MMC shows oi-users and oi-groups but no access to sessions, files, services, logs. MMC access to oi-group details ok. Shows members (local oi-users). Try to add oi-user fails with 1) MMC not access to oi-user details. Fails with 3) Explorer adding an ACL for a new user alsway fails with 4) Current windows user = admin, connect to share as admin: ------------------------------------------------------------ MMC shows oi-users, oi-groups, sessions, files, services, logs. MMC access to oi-group details ok. Shows members (local oi-users). Try to add oi-user fails with 2) MMC not access to oi-user details. Fails with 3) Explorer adding an ACL for a new user alsway fails with 4) After moving oi-user user1 to oi-group administrators Current windows user = user1, connect to share as admin: ------------------------------------------------------------ MMC shows oi-users, oi-groups, sessions, files, services, logs. MMC access to oi-group details ok. Shows members (local oi-users). Try to add oi-user fails with 2) MMC not access to oi-user details. Fails with 3) Explorer adding an ACL for a new user alsway fails with 4) *(We have a german windows, so i translated the message, hope it fits) 1) MMC prompts for user/password with rights for OI-PC. If you enter an user name, you get constantly "Object .... not found", regardless how you specify the user (, OI-PC\, @OI-PC) If you switch to extend mode, you get a list of available groups. Even that the search path indicates OI-PC, all listed groups are local windows groups. No user object is shown at all. 2) Same procedure as 1) but the list in extend mode includes all local oi-users. If you pick an user from the list, and try to add it, you get "Object returned from object selection is incomplete. Object not processed"* Btw: there is no AD involved here. OI-PC just joint a workgroup using smbadm join -w 3) "Requested directory object is unknown"* 4) "Object named ..... not found"* I start to wonder if this stuff has ever happend to work on openindiana. All samples on the net adhere to Solaris Expess and OpenSolaris. regards Thomas ________________________________ From: Jim Klimov To: Discussion list for OpenIndiana Sent: Tuesday, May 22, 2012 7:05 PM Subject: Re: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows 2012-05-22 20:22, Robbie Crash ???????: > I was refeerring to the permission denied errors that shouldn't be > happening. The Unable to delete aspect was just what prompted me to write > the post. > > While I was using the ZFS ACLs I wasn't ever able to make changes via > Windows, and had mixed problems accessing things that had been modified > either by Windows, or directly on the OI server, unless I reset the > permissions with /usr/bin/chmod after the fact. Talk on here and in the OI > room on Freenode led me, and most of the other people I'm aware of, to shut > off ZFS ACLs on all Windows shares. After that, managing the permissions > via Windows was fine. We, for one, use the ZFS ACLs for Windows shares (i.e. to allow several archive admins to upload and manipulate files uploaded or created by anyone, including root locally), but these ACLs were carefully picked by trial and error, and there's a script to set them recursively on all FS objects under the share. However, I don't remember using this script for the past year or two - the inheritable ACL parts worked okay. This is a rather simplistic setup, perhaps - but it suited the environment... Examples of metascripts that set the ACLs: # cd /export/ftp/distribs && for F in *; do chmod -R A=owner@:full_set:d:allow,owner@:full_set:f:allow,group@:rxaARWcs:d:allow,group@:raARWcs:f:allow,user:archadmin:rwxpdDaARWcCos:fd:allow,group:sysadmin:rwxpdDaARWcCos:fd:allow,group:staff:rxaARWcs:d:allow,group:staff:raARWcs:f:allow,everyone@:rxaARWcs:d:allow,everyone@:raARWcs:f:allow $F & done chmod -R A=owner@:rwpdDaARWcCos:f:allow,owner@:rwxpdDaARWcCos:d:allow,group@:rwpdDaARWcCos:f:allow,group@:rwxpdDaARWcCos:d:allow,everyone@:rwpdDaARWcCos:f:allow,everyone@:rwxpdDaARWcCos:d:allow /export/ftp/incoming The ZFS datasets for file archives had default aclmode=groupmask and aclinherit=restricted. Also, the customer's Windows network has an MS AD domain, and the OpenSolaris CIFS server was added to that and some mapid tricks were copypasted from Sun blogs and docs to good effect, to map Windows usernames and groups to those locally defined on the file server (i.e. "Domain Users" = "staff"). There was a plan to merge the two namespaces via LDAP, but that was never completed AFAIK ;) HTH, //Jim Klimov _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From rich at redstar-assoc.com Sun May 27 05:44:42 2012 From: rich at redstar-assoc.com (Rich Reynolds) Date: Sat, 26 May 2012 23:44:42 -0600 Subject: [OpenIndiana-discuss] OpenOffice come back with 3.4 release In-Reply-To: <4FBF245B.70800@gmail.com> References: <2141942690.78051.1336594358268.JavaMail.www@wwinf1e35> <4FAFE160.9050601@gmail.com> <4FB0E4BD.1010209@gmail.com> <4FBF245B.70800@gmail.com> Message-ID: <4FC1BF4A.8040605@redstar-assoc.com> On 05/25/12 12:19 AM, Edward M wrote: > On 05/24/2012 10:26 PM, Richard PALO wrote: >> Perhaps someone more directly involved with the illumos based gcc work >> could enlighten the Apache team a bit... >> >> -------- Message original -------- >> Sujet: Re: OpenSolaris/Illumos intel GCC port >> Date : Thu, 24 May 2012 22:13:11 -0500 >> De : Pedro Giffuni >> R?pondre ? : ooo-dev at incubator.apache.org >> Pour : ooo-dev at incubator.apache.org >> Copie ? : Rich Reynolds >> Groupes de discussion: gmane.comp.apache.incubator.ooo.devel >> R?f?rences : <4FBEDE69.2090905 at redstar-assoc.com> >> >> On 05/24/12 20:20, Rich Reynolds wrote: >> > hi all - >> > >> > anyone know of the above port happening? >> > >> > rich >> I don't think so. My understanding is that gcc was never >> well supported on Solaris. >> >> We have seen reports of success (after minor changes) >> with Sun's compiler though. >> >> Cheers, >> >> Pedro. >> >> >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss at openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss >> > Hi, are you trying to compile AOO for OI? Did you know there //are > /available/ AOO 3.4 unoffical dev snapshots for download for testing. > not sure > when they will reach GA.:-) > > https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss hi all - yes i did know that, in fact i pointed it out to the original poster and run it as my daily OO set... what i was trying to get at in MY original posting was if there was known work being done outside of the illumos/OI community.. seems not ;-) and Richard's comment was valid that the illumos gcc team MIGHT well point out to the apache folks the advances that have been made relating to their project. im am up for the science project of porting, but wheels are better made by wheelwrights, rich From handoyog at yahoo.com Mon May 28 20:03:37 2012 From: handoyog at yahoo.com (Handojo) Date: Mon, 28 May 2012 13:03:37 -0700 (PDT) Subject: [OpenIndiana-discuss] Multiple Repository Message-ID: <1338235417.92104.YahooMailNeo@web114720.mail.gq1.yahoo.com> I remember reading somewhere that Repository should be the same version. Can anyone successfully have Full Repo of Solaris 11, Solaris 11 Express, OI 151a, OpenSolaris installed as Local Repository, managed by the same application/pkg/server ? Another Question, It seems that my local repository is corrupt / damaged. Is there any guide on how to remove the local repository ( by means of deinstalling ) ? Thank You, Handojo From jimklimov at cos.ru Mon May 28 23:39:31 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 29 May 2012 03:39:31 +0400 Subject: [OpenIndiana-discuss] oi_151a3 svc.startd chewing up memory Message-ID: <4FC40CB3.9050606@cos.ru> Hello all, On a test box running OI oi_151a3 I found that it can not restart services due to svc.startd being 2500M in VM size. As a consequence, fork() fails due to insufficient free VM (swap space) and services can not start. I guess there is a leak somewhere, was anything like that fixed in the past month or so? DETAILS From dmesg: May 29 03:25:51 blade5 svc.startd[10]: [ID 462725 daemon.warning] svc:/network/nfs/status:default: Couldn't fork to execute method /usr/lib/nfs/statd: Not enough space May 29 03:25:51 blade5 svc.startd[10]: [ID 748625 daemon.error] network/nfs/status:default failed: transitioned to maintenance (see 'svcs -xv' for details) From top: last pid: 28885; load avg: 0.06, 0.07, 0.06; up 37+05:06:27 03:27:45 70 processes: 69 sleeping, 1 on cpu CPU states: 99.5% idle, 0.0% user, 0.5% kernel, 0.0% iowait, 0.0% swap Kernel: 340 ctxsw, 607 intr, 110 syscall Memory: 4090M phys mem, 863M free mem, 2045M total swap, 1775M free swap PID USERNAME NLWP PRI NICE SIZE RES STATE TIME CPU COMMAND 10 root 15 59 0 2500M 2238M sleep 681:20 0.00% svc.startd ... The box is up for a month, during this time the process ate about 11 hours of CPU time. And lots of RAM and some disk swap too (all of the consumed). # svcs -p restarter STATE STIME FMRI online May_03 svc:/system/svc/restarter:default May_03 10 svc.startd svcadm-restarting the service did not help, however a kill went seemingly well, freeing up lots of RAM and disk swap, and restarting a few services: # svcs ... online 3:27:57 svc:/system/svc/restarter:default online 3:27:58 svc:/application/cups/in-lpd:default online 3:27:58 svc:/network/rpc/smserver:default online 3:27:58 svc:/network/physical:default online 3:28:00 svc:/network/smb/server:default # top last pid: 28941; load avg: 0.07, 0.07, 0.06; up 37+05:06:42 03:28:00 70 processes: 69 sleeping, 1 on cpu CPU states: 99.1% idle, 0.0% user, 0.9% kernel, 0.0% iowait, 0.0% swap Kernel: 1281 ctxsw, 863 intr, 697 syscall Memory: 4090M phys mem, 3080M free mem, 2045M total swap, 2036M free swap Thanks, //Jim Klimov From jimklimov at cos.ru Tue May 29 00:16:35 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Tue, 29 May 2012 04:16:35 +0400 Subject: [OpenIndiana-discuss] oi_151a3 svc.startd chewing up memory In-Reply-To: <4FC40CB3.9050606@cos.ru> References: <4FC40CB3.9050606@cos.ru> Message-ID: <4FC41563.4080102@cos.ru> 2012-05-29 3:39, Jim Klimov ???????: > Hello all, > > On a test box running OI oi_151a3 I found that it can not restart > services due to svc.startd being 2500M in VM size. As a consequence, > fork() fails due to insufficient free VM (swap space) and services > can not start. > > I guess there is a leak somewhere, was anything like that fixed in > the past month or so? A bit more research points to an old problem, marked as fixed: http://defect.opensolaris.org/bz/show_bug.cgi?id=15761 This box did have a pkg/server (startd/duration=child) instance which did not start well and was left astray. From what I see now, a daemon is started and in particular grabs the TCP port, but SMF thinks the service has failed and restarts it. Further invokations fail due to busy port, but the service does not go into maintenance. I see svc.startd occupying more RAM at a rate of about 1Mb/1-2mins (glancing at top). The symptomatic part can be fixed by simply changing the base pkg/server startd/duration attribute from "child" to "contract", but the core problem - svc.startd leaking memory in case of such unlimited restarts - is still in place. Also, for the past ten minutes or so since I fixed the pkg/server, the restarter hasn't released a byte ;) HTH, //Jim Klimov From oiseaumer at gmail.com Tue May 29 02:00:19 2012 From: oiseaumer at gmail.com (L'oiseau de mer) Date: Tue, 29 May 2012 10:00:19 +0800 Subject: [OpenIndiana-discuss] AOO 3.4.0 for solaris x86 version In-Reply-To: References: Message-ID: I notice that nobody release AOO 3.4.0 Solaris x86 version, so i first release a unofficial verision. But a relate problem in coinmp of category-b part, so it is still not include mozilla support. I still deal with this problem, maybe can release another version that include them in future. Download Area: http://www.openfoundry.org/of/projects/1201/download From edwardlotus at gmail.com Tue May 29 05:05:35 2012 From: edwardlotus at gmail.com (Edward M) Date: Mon, 28 May 2012 22:05:35 -0700 Subject: [OpenIndiana-discuss] AOO 3.4.0 for solaris x86 version In-Reply-To: References: Message-ID: <4FC4591F.4020106@gmail.com> On 05/28/2012 07:00 PM, L'oiseau de mer wrote: > I notice that nobody release AOO 3.4.0 Solaris x86 version, so i first > release a unofficial verision. > But a relate problem in coinmp of category-b part, so it is still not > include mozilla support. > I still deal with this problem, maybe can release another version that > include them in future. > > Download Area: > http://www.openfoundry.org/of/projects/1201/download > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > Thank You L'oiseau. I appreciate this time to upgrade from dev to this release:-) From richard.elling at richardelling.com Tue May 29 05:40:43 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Mon, 28 May 2012 22:40:43 -0700 Subject: [OpenIndiana-discuss] sata hot plug problem (ahci?) + openindiana crash In-Reply-To: <4FBDAB9D.9010400@cos.ru> References: <1337713290.99584.YahooMailNeo@web29501.mail.ird.yahoo.com> <4FBBE911.5040707@cos.ru> <4FBBEACC.4000502@cos.ru> <4FBCAFCA.30403@cos.ru> <2A6A7F60-02A9-4835-9FEE-5339EDAAAD7E@richardelling.com> <4FBDAB9D.9010400@cos.ru> Message-ID: On May 23, 2012, at 8:31 PM, Jim Klimov wrote: > 2012-05-24 3:50, Richard Elling wrote: >>> As a side note, it is then possible to augment GRUB to be >>> able to import and export an rpool and thus help IDE-SATA >>> migrations? >> >> Go for it. > > Huh... wait a couple of years, please. I'm better with > generating ideas, than with long-term commitments for > polished code, you do know :( > >> This is not a common operation and is expected to only be done once per >> system, >> sorta like changing BIOS settings. > > One would guess so. But do you notice how often this comes > up and people mostly opt to reinstall OpenIndiana instead > of applying a trivial fix (which requires a bootable media > like LiveCD - which could be replaced by GRUB or theoretical > revival of failsafe-boot)... Not very often. If you read Oracle's docs, they only recommend a reinstall. -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From ma2412 at gmx.de Tue May 29 09:38:23 2012 From: ma2412 at gmx.de (Armin Maier) Date: Tue, 29 May 2012 11:38:23 +0200 Subject: [OpenIndiana-discuss] ZFS encryption Message-ID: <4FC4990F.7050705@gmx.de> Hello list members! I am looking for a roadmap when ZFS encryption should be supported in openindiana. We want to save backups outside our LAN and for that encryption is a keyfeature. Is there a other possibility for easy data encryption with ZFS filesystem? From t12nslookup at gmail.com Tue May 29 09:52:04 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Tue, 29 May 2012 10:52:04 +0100 Subject: [OpenIndiana-discuss] ZFS encryption In-Reply-To: <4FC4990F.7050705@gmx.de> References: <4FC4990F.7050705@gmx.de> Message-ID: if you are storing snapshots off site, you can easily encrypt those snapshots ... however that is different from zfs encryption (as found in Solaris 11) which I don't believe is even on the roadmap for Illumos ... Are you planning on storing the "backups" as a live ZFS file system? will the remote server belong to you, on a site that you own? We replicate our zfs pools (as live accessible filesystems) over a Secured VPN to several distributed sites around the country, but they are all stored at locations owned by us, and none directly connected to the internet, so encrypting the filesystem is not so important. Jon On 29 May 2012 10:38, Armin Maier wrote: > Hello list members! > I am looking for a roadmap when ZFS encryption should be supported in > openindiana. We want to save backups outside our LAN and for that encryption > is a keyfeature. > Is there a other possibility for easy data encryption with ZFS filesystem? > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From ma2412 at gmx.de Tue May 29 13:03:44 2012 From: ma2412 at gmx.de (Armin Maier) Date: Tue, 29 May 2012 15:03:44 +0200 Subject: [OpenIndiana-discuss] ZFS encryption In-Reply-To: References: <4FC4990F.7050705@gmx.de> Message-ID: <4FC4C930.7050901@gmx.de> The plan is to store the backup as live ZFS filesystem, the final concept is not ready yet. What we know is that the remote location is not owned by us. At this time we are discussing the two possibilities of buying hardware ourself, host it at a company and share the storage over NFS to place VMWare disk Images on it, the second option is that the company offers us Diskspace, so we do not have to buy hardware ourself but have to pay a higher rent. We first have to test if this solution offers sufficient performance, or if it would be better to run a VM at the remote company and replicate the filesystem between servers. What did you mean with easily encrypt snapshots, how could that be done? From lattera at gmail.com Tue May 29 13:08:12 2012 From: lattera at gmail.com (Shawn Webb) Date: Tue, 29 May 2012 07:08:12 -0600 Subject: [OpenIndiana-discuss] ZFS encryption In-Reply-To: <4FC4C930.7050901@gmx.de> References: <4FC4990F.7050705@gmx.de> <4FC4C930.7050901@gmx.de> Message-ID: As discussed in the FREEBSD developer's summit, ZFS encryption is in the works (though, still in the design phase). It'll be implemented via feature flags. On May 29, 2012 7:05 AM, "Armin Maier" wrote: > The plan is to store the backup as live ZFS filesystem, the final concept > is not ready yet. What we know is that the remote location is not owned by > us. At this time we are discussing the two possibilities of buying hardware > ourself, host it at a company and share the storage over NFS to place > VMWare disk Images on it, the second option is that the company offers us > Diskspace, so we do not have to buy hardware ourself but have to pay a > higher rent. We first have to test if this solution offers sufficient > performance, or if it would be better to run a VM at the remote company and > replicate the filesystem between servers. > What did you mean with easily encrypt snapshots, how could that be done? > > ______________________________**_________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@**openindiana.org > http://openindiana.org/**mailman/listinfo/openindiana-**discuss > From t12nslookup at gmail.com Tue May 29 13:15:03 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Tue, 29 May 2012 14:15:03 +0100 Subject: [OpenIndiana-discuss] ZFS encryption In-Reply-To: <4FC4C930.7050901@gmx.de> References: <4FC4990F.7050705@gmx.de> <4FC4C930.7050901@gmx.de> Message-ID: On 29 May 2012 14:03, Armin Maier wrote: > ... > What did you mean with easily encrypt snapshots, how could that be done? > when you take snapshots of your pool you can "zfs send" them to files and then encrypt those "snapshots" ... but they aren't a live backup solution. Jon From pgress at optonline.net Tue May 29 17:32:26 2012 From: pgress at optonline.net (Paul Gress) Date: Tue, 29 May 2012 13:32:26 -0400 Subject: [OpenIndiana-discuss] AOO 3.4.0 for solaris x86 version In-Reply-To: References: Message-ID: <4FC5082A.8060101@optonline.net> On 05/28/12 10:00 PM, L'oiseau de mer wrote: > I notice that nobody release AOO 3.4.0 Solaris x86 version, so i first > release a unofficial verision. > But a relate problem in coinmp of category-b part, so it is still not > include mozilla support. > I still deal with this problem, maybe can release another version that > include them in future. > > Download Area: > http://www.openfoundry.org/of/projects/1201/download > L'oiseau, One suggestion. When I compiled my version using Solaris 11 with Solaris Studio 12.3, I had CUPS flag turned on. If your compiling utilizing Solaris 10, you may please more people if you download and compile CUPS, or alternatively, OpenCSW binary version. By having the CUPS flag turned on made printing much better for me, all my printers showed up. Paul From groups at tierarzt-mueller.de Tue May 29 18:02:47 2012 From: groups at tierarzt-mueller.de (Alexander Lesle) Date: Tue, 29 May 2012 20:02:47 +0200 Subject: [OpenIndiana-discuss] ZFS encryption In-Reply-To: References: <4FC4990F.7050705@gmx.de> <4FC4C930.7050901@gmx.de> Message-ID: <1503367161.20120529200247@tierarzt-mueller.de> Hello Armin Maier and List, On Mai, 29 2012, 15:15 wrote in [1]: > On 29 May 2012 14:03, Armin Maier wrote: >> ... >> What did you mean with easily encrypt snapshots, how could that be done? >> > when you take snapshots of your pool you can "zfs send" them to files > and then encrypt those "snapshots" ... but they aren't a live backup > solution. take a look at here: http://www.hardwareluxx.de/community/f101/zfs-stammtisch-570052.html I hope German language is not your problem. :-) search for "lofiadm" we have the discussion at April 2012 Now its integrated in napp-it.org -- Best Regards Alexander Mai, 29 2012 ........ [1] mid:CAKr4wiQ2wUKVZ9k3vQhp8aRdqUzeHsbqpyL+X4uYQZQQiH=e2A at mail.gmail.com ........ From groups at tierarzt-mueller.de Tue May 29 18:24:38 2012 From: groups at tierarzt-mueller.de (Alexander Lesle) Date: Tue, 29 May 2012 20:24:38 +0200 Subject: [OpenIndiana-discuss] ZFS encryption In-Reply-To: <1503367161.20120529200247@tierarzt-mueller.de> References: <4FC4990F.7050705@gmx.de> <4FC4C930.7050901@gmx.de> <1503367161.20120529200247@tierarzt-mueller.de> Message-ID: <465109636.20120529202438@tierarzt-mueller.de> Hello List, here the Description in English: http://www.hardwareluxx.de/community/f101/zfs-stammtisch-570052-46.html#post18731400 On Mai, 29 2012, 20:02 wrote in [1]: > Hello Armin Maier and List, > On Mai, 29 2012, 15:15 wrote in [1]: >> On 29 May 2012 14:03, Armin Maier wrote: >>> ... >>> What did you mean with easily encrypt snapshots, how could that be done? >>> >> when you take snapshots of your pool you can "zfs send" them to files >> and then encrypt those "snapshots" ... but they aren't a live backup >> solution. > take a look at here: > http://www.hardwareluxx.de/community/f101/zfs-stammtisch-570052.html > I hope German language is not your problem. :-) > search for "lofiadm" we have the discussion at April 2012 > Now its integrated in napp-it.org -- Best Regards Alexander Mai, 29 2012 ........ [1] mid:1503367161.20120529200247 at tierarzt-mueller.de ........ From achimwo7 at googlemail.com Tue May 29 18:52:53 2012 From: achimwo7 at googlemail.com (Achim Wolpers) Date: Tue, 29 May 2012 20:52:53 +0200 Subject: [OpenIndiana-discuss] OpenIndiana-discuss Digest, Vol 22, Issue 42 In-Reply-To: References: Message-ID: <87DDA193-ECF9-4302-9FBE-7EEFEECD8731@googlemail.com> Am 29.05.2012 um 20:24 schrieb openindiana-discuss-request at openindiana.org: > Hello list members! > I am looking for a roadmap when ZFS encryption should be supported in > openindiana. We want to save backups outside our LAN and for that > encryption is a keyfeature. > Is there a other possibility for easy data encryption with ZFS filesystem? Why don't you pie it through GPG? zfs send /path/to/send | /usr/local/bin/gpg -o /path/to/store/zfs.gpg --yes --encrypt --recipient 499CE697 Works fine for me. Achim From milan.jurik at xylab.cz Tue May 29 19:43:49 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Tue, 29 May 2012 21:43:49 +0200 Subject: [OpenIndiana-discuss] oi_151a3 svc.startd chewing up memory In-Reply-To: <4FC41563.4080102@cos.ru> References: <4FC40CB3.9050606@cos.ru> <4FC41563.4080102@cos.ru> Message-ID: <1338320629.1314.8.camel@xylabone> Hi, Jim Klimov p??e v ?t 29. 05. 2012 v 04:16 +0400: > 2012-05-29 3:39, Jim Klimov ???????: > > Hello all, > > > > On a test box running OI oi_151a3 I found that it can not restart > > services due to svc.startd being 2500M in VM size. As a consequence, > > fork() fails due to insufficient free VM (swap space) and services > > can not start. > > > > I guess there is a leak somewhere, was anything like that fixed in > > the past month or so? > > A bit more research points to an old problem, marked as fixed: > http://defect.opensolaris.org/bz/show_bug.cgi?id=15761 > > This box did have a pkg/server (startd/duration=child) instance > which did not start well and was left astray. From what I see > now, a daemon is started and in particular grabs the TCP port, > but SMF thinks the service has failed and restarts it. Further > invokations fail due to busy port, but the service does not go > into maintenance. I see svc.startd occupying more RAM at a rate > of about 1Mb/1-2mins (glancing at top). > > The symptomatic part can be fixed by simply changing the base > pkg/server startd/duration attribute from "child" to "contract", > but the core problem - svc.startd leaking memory in case of such > unlimited restarts - is still in place. Also, for the past ten > minutes or so since I fixed the pkg/server, the restarter hasn't > released a byte ;) > I would start with simple gcore file analysis - svc.startd is linked with libumem, so you can take gcore and look at leaks and memory consumers with mdb. > HTH, > //Jim Klimov > > Best regards, Milan From cscoman at gmail.com Tue May 29 19:56:49 2012 From: cscoman at gmail.com (Jason Cox) Date: Tue, 29 May 2012 12:56:49 -0700 Subject: [OpenIndiana-discuss] zfs import error Message-ID: Let me start by saying that I am very new to OpenIndiana and Solaris 10/11 in general. I normally deal with Red Hat Linux. I wanted to use OI for ZFS support for a vmware shared storage server to mount LUNs on my SAN. Setup: 2 servers with multiple fiber-channel connections directly connected to my SAN (no SAN switch). Situation: I have multipath working and I create the zpool with no problem using the multipath disk device. --- root at nfs01.xxxxxxx:~# zpool create lun00 c2t60060E80104B8F6004F327FE00000000d0 root at nfs01.xxxxxxx:~# zpool status lun00 pool: lun00 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM lun00 ONLINE 0 0 0 c2t60060E80104B8F6004F327FE00000000d0 ONLINE 0 0 0 errors: No known data errors --- Now I can export the pool from nfs01 to nfs02 with no problem.. --- root at nfs02.xxxxxxx:~# zpool status lun00 pool: lun00 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM lun00 ONLINE 0 0 0 c2t60060E80104B8F6004F327FE00000000d0 ONLINE 0 0 0 errors: No known data errors --- The issue comes up when I then export the pool off nfs02 and try to import it again back on nsa01. --- root at nfs01.xxxxxxx:~# zpool import lun00 Assertion failed: rn->rn_nozpool == B_FALSE, file ../common/libzfs_import.c, line 1093, function zpool_open_func Abort (core dumped) --- No matter how many times I try to import the pool on 01 I have this issue. Both servers are running the same version of OI and all the same updates. They are also the same servers purchased and spec'ed at the same time for this project. Any guidance would be appreciated. -- Jason Cox From milan.jurik at xylab.cz Tue May 29 20:00:16 2012 From: milan.jurik at xylab.cz (Milan Jurik) Date: Tue, 29 May 2012 22:00:16 +0200 Subject: [OpenIndiana-discuss] oi_151a3 svc.startd chewing up memory In-Reply-To: <4FC41563.4080102@cos.ru> References: <4FC40CB3.9050606@cos.ru> <4FC41563.4080102@cos.ru> Message-ID: <1338321616.1314.13.camel@xylabone> Jim, Jim Klimov p??e v ?t 29. 05. 2012 v 04:16 +0400: > 2012-05-29 3:39, Jim Klimov ???????: > > Hello all, > > > > On a test box running OI oi_151a3 I found that it can not restart > > services due to svc.startd being 2500M in VM size. As a consequence, > > fork() fails due to insufficient free VM (swap space) and services > > can not start. > > > > I guess there is a leak somewhere, was anything like that fixed in > > the past month or so? > > A bit more research points to an old problem, marked as fixed: > http://defect.opensolaris.org/bz/show_bug.cgi?id=15761 > > This box did have a pkg/server (startd/duration=child) instance > which did not start well and was left astray. From what I see > now, a daemon is started and in particular grabs the TCP port, > but SMF thinks the service has failed and restarts it. Further > invokations fail due to busy port, but the service does not go > into maintenance. I see svc.startd occupying more RAM at a rate > of about 1Mb/1-2mins (glancing at top). > > The symptomatic part can be fixed by simply changing the base > pkg/server startd/duration attribute from "child" to "contract", > but the core problem - svc.startd leaking memory in case of such > unlimited restarts - is still in place. Also, for the past ten > minutes or so since I fixed the pkg/server, the restarter hasn't > released a byte ;) > Is https://www.illumos.org/issues/2801 your problem? :-) > HTH, > //Jim Klimov > Best regards, Milan From jimklimov at cos.ru Tue May 29 20:08:52 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Wed, 30 May 2012 00:08:52 +0400 Subject: [OpenIndiana-discuss] oi_151a3 svc.startd chewing up memory In-Reply-To: <1338321616.1314.13.camel@xylabone> References: <4FC40CB3.9050606@cos.ru> <4FC41563.4080102@cos.ru> <1338321616.1314.13.camel@xylabone> Message-ID: <4FC52CD4.8080500@cos.ru> 2012-05-30 0:00, Milan Jurik wrote: > Jim, > > Jim Klimov p??e v ?t 29. 05. 2012 v 04:16 +0400: >> 2012-05-29 3:39, Jim Klimov wrote: >>> Hello all, >>> >>> On a test box running OI oi_151a3 I found that it can not restart >>> services due to svc.startd being 2500M in VM size. As a consequence, >>> fork() fails due to insufficient free VM (swap space) and services >>> can not start. >>> >>> I guess there is a leak somewhere, was anything like that fixed in >>> the past month or so? >> >> A bit more research points to an old problem, marked as fixed: >> http://defect.opensolaris.org/bz/show_bug.cgi?id=15761 >> >> This box did have a pkg/server (startd/duration=child) instance >> which did not start well and was left astray. From what I see >> now, a daemon is started and in particular grabs the TCP port, >> but SMF thinks the service has failed and restarts it. Further >> invokations fail due to busy port, but the service does not go >> into maintenance. I see svc.startd occupying more RAM at a rate >> of about 1Mb/1-2mins (glancing at top). >> >> The symptomatic part can be fixed by simply changing the base >> pkg/server startd/duration attribute from "child" to "contract", >> but the core problem - svc.startd leaking memory in case of such >> unlimited restarts - is still in place. Also, for the past ten >> minutes or so since I fixed the pkg/server, the restarter hasn't >> released a byte ;) >> > > Is https://www.illumos.org/issues/2801 your problem? :-) Well, I did not trace that yet, but roughly agree that the description might fit ;) I believe the core of the problem is not pkg/server itself, it just causes it to show. I think the problem is with some likely infinite loop used to restart failed "child" services, since those restarts do not cause maintenance (by def?) and instead loop restarting. Maybe some recursion happens instead of a cycle? That could eat up RAM at least... i.e.: * initial start ** detected an error condition *** start again **** detected an error condition ***** start again ****** detected an error condition ******* start again ... instead of * initial start ** detected an error condition * start again ** detected an error condition * start again ** detected an error condition * start again ... //Jim From richard.elling at richardelling.com Wed May 30 00:46:19 2012 From: richard.elling at richardelling.com (Richard Elling) Date: Tue, 29 May 2012 17:46:19 -0700 Subject: [OpenIndiana-discuss] zfs import error In-Reply-To: References: Message-ID: <29F86FBD-470D-4E58-9D3A-05A2859B66C8@RichardElling.com> idea at the bottom... On May 29, 2012, at 12:56 PM, Jason Cox wrote: > Let me start by saying that I am very new to OpenIndiana and Solaris > 10/11 in general. I normally deal with Red Hat Linux. I wanted to use > OI for ZFS support for a vmware shared storage server to mount LUNs on > my SAN. > > Setup: > > 2 servers with multiple fiber-channel connections directly connected > to my SAN (no SAN switch). > > > Situation: > > I have multipath working and I create the zpool with no problem using > the multipath disk device. > --- > root at nfs01.xxxxxxx:~# zpool create lun00 c2t60060E80104B8F6004F327FE00000000d0 > root at nfs01.xxxxxxx:~# zpool status lun00 > pool: lun00 > state: ONLINE > scan: none requested > config: > > NAME STATE READ WRITE CKSUM > lun00 ONLINE 0 0 0 > c2t60060E80104B8F6004F327FE00000000d0 ONLINE 0 0 0 > > errors: No known data errors > --- > > Now I can export the pool from nfs01 to nfs02 with no problem.. > > --- > root at nfs02.xxxxxxx:~# zpool status lun00 > pool: lun00 > state: ONLINE > scan: none requested > config: > > NAME STATE READ WRITE CKSUM > lun00 ONLINE 0 0 0 > c2t60060E80104B8F6004F327FE00000000d0 ONLINE 0 0 0 > > errors: No known data errors > --- > > The issue comes up when I then export the pool off nfs02 and try to > import it again back on nsa01. > > --- > root at nfs01.xxxxxxx:~# zpool import lun00 > Assertion failed: rn->rn_nozpool == B_FALSE, file > ../common/libzfs_import.c, line 1093, function zpool_open_func > Abort (core dumped) > --- > > No matter how many times I try to import the pool on 01 I have this > issue. Both servers are running the same version of OI and all the > same updates. They are also the same servers purchased and spec'ed at > the same time for this project. > > > Any guidance would be appreciated. This can occur if the disk label does not look the same from both systems. prtvtoc /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 and compare -- richard -- ZFS Performance and Training Richard.Elling at RichardElling.com +1-760-896-4422 From jay at frelled.us Wed May 30 01:19:34 2012 From: jay at frelled.us (Jay Heyl) Date: Tue, 29 May 2012 18:19:34 -0700 Subject: [OpenIndiana-discuss] zfs and usb drives Message-ID: A while ago I put together a server using OI and zfs that I was hoping would provide me room to grow for well into the future. While I'm not yet running out of room, the usage chart shows the future approaching considerably faster than I had hoped. The primary storage pool is composed of ten drives in a raidz2 setup. Given the current price of hard drives combined with wanting to make the next jump another similar ten drive array (plus some issues not really relevant to the question I'm getting to), I've been considering some cheaper alternatives for staying ahead of the growth curve. A fair amount of what I currently have on the server could be classified as non-critical. I'd rather not lose it, but I won't cry too hard if I do. One idea is to use the external USB drives I've collected to create a separate pool for the non-critical data. I have four 2TB USB drives that have been performing flawlessly connected to Windows systems for quite a while. Any opinions on using them to set up another raidz pool? Is this a reasonable idea or a really bad idea? I'd be inclined to go with raidz1 on this new pool simply to not give up 50% of the storage to "parity" data. (I might be convinced to buy another 2TB drive to get a 60/40 split on a raidz2 pool.) I realize there's also the option of just going JBOD for the non-critical stuff, but I think I"d prefer the greater level of assurance provided by raidz. Informed thoughts on this topic will be greatly appreciated. -- Jay From oiseaumer at gmail.com Wed May 30 01:29:25 2012 From: oiseaumer at gmail.com (L'oiseau de mer) Date: Wed, 30 May 2012 09:29:25 +0800 Subject: [OpenIndiana-discuss] AOO 3.4.0 for solaris x86 version In-Reply-To: <4FC5082A.8060101@optonline.net> References: <4FC5082A.8060101@optonline.net> Message-ID: OK, if i solve coinmp problem, i will customize the next version of AOO 3.4.0. and try to package them with 3rd library. (Maybe use build lib and install to the same dir with AOO) But gstreamer is still can't be included to that version, because glib version problem. 2012/5/30 Paul Gress : > On 05/28/12 10:00 PM, L'oiseau de mer wrote: >> >> I notice that nobody release AOO 3.4.0 Solaris x86 version, so i first >> release a unofficial verision. >> But a relate problem in coinmp of category-b part, so it is still not >> include mozilla support. >> I still deal with this problem, maybe can release another version that >> include them in future. >> >> Download Area: >> http://www.openfoundry.org/of/projects/1201/download >> > > > > L'oiseau, > > One suggestion. ?When I compiled my version using Solaris 11 with Solaris > Studio 12.3, I had CUPS flag turned on. ?If your compiling utilizing Solaris > 10, you may please more people if you download and compile CUPS, or > alternatively, OpenCSW binary version. > > By having the CUPS flag turned on made printing much better for me, all my > printers showed up. > > > Paul > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From cscoman at gmail.com Wed May 30 01:47:29 2012 From: cscoman at gmail.com (Jason Cox) Date: Tue, 29 May 2012 18:47:29 -0700 Subject: [OpenIndiana-discuss] zfs import error In-Reply-To: <29F86FBD-470D-4E58-9D3A-05A2859B66C8@RichardElling.com> References: <29F86FBD-470D-4E58-9D3A-05A2859B66C8@RichardElling.com> Message-ID: On Tue, May 29, 2012 at 5:46 PM, Richard Elling wrote: > idea at the bottom... > > On May 29, 2012, at 12:56 PM, Jason Cox wrote: > >> Let me start by saying that I am very new to OpenIndiana and Solaris >> 10/11 in general. I normally deal with Red Hat Linux. I wanted to use >> OI for ZFS support for a vmware shared storage server to mount LUNs on >> my SAN. >> >> Setup: >> >> 2 servers with multiple fiber-channel connections directly connected >> to my SAN (no SAN switch). >> >> >> Situation: >> >> I have multipath working and I create the zpool with no problem using >> the multipath disk device. >> --- >> root at nfs01.xxxxxxx:~# zpool create lun00 c2t60060E80104B8F6004F327FE00000000d0 >> root at nfs01.xxxxxxx:~# zpool status lun00 >> ?pool: lun00 >> state: ONLINE >> ?scan: none requested >> config: >> >> ? ? ? ?NAME ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? STATE ? ? READ WRITE CKSUM >> ? ? ? ?lun00 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> ? ? ? ? ?c2t60060E80104B8F6004F327FE00000000d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> >> errors: No known data errors >> --- >> >> Now I can export the pool from nfs01 to nfs02 with no problem.. >> >> --- >> root at nfs02.xxxxxxx:~# zpool status lun00 >> ?pool: lun00 >> state: ONLINE >> ?scan: none requested >> config: >> >> ? ? ? ?NAME ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? STATE ? ? READ WRITE CKSUM >> ? ? ? ?lun00 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> ? ? ? ? ?c2t60060E80104B8F6004F327FE00000000d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> >> errors: No known data errors >> --- >> >> The issue comes up when I then export the pool off nfs02 and try to >> import it again back on nsa01. >> >> --- >> root at nfs01.xxxxxxx:~# zpool import lun00 >> Assertion failed: rn->rn_nozpool == B_FALSE, file >> ../common/libzfs_import.c, line 1093, function zpool_open_func >> Abort (core dumped) >> --- >> >> No matter how many times I try to import the pool on 01 I have this >> issue. Both servers are running the same version of OI and all the >> same updates. They are also the same servers purchased and spec'ed at >> the same time for this project. >> >> >> Any guidance would be appreciated. > > This can occur if the disk label does not look the same from both systems. > ? ? ? ?prtvtoc /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 > and compare > ?-- richard > > -- > ZFS Performance and Training > Richard.Elling at RichardElling.com > +1-760-896-4422 > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss Richard, Ok I ran that on both machines and they look the same: root at nfs01.xxxxxxx:~# prtvtoc /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 * /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 partition map * * Dimensions: * 512 bytes/sector * 22978074624 sectors * 22978074557 accessible sectors * * Flags: * 1: unmountable * 10: read-only * * Unallocated space: * First Sector Last * Sector Count Sector * 34 222 255 * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 4 00 256 22978057951 22978058206 8 11 00 22978058207 16384 22978074590 root at nfs01.xxxxxxx:~# --- root at nfs02.xxxxxxx:~# prtvtoc /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 * /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 partition map * * Dimensions: * 512 bytes/sector * 22978074624 sectors * 22978074557 accessible sectors * * Flags: * 1: unmountable * 10: read-only * * Unallocated space: * First Sector Last * Sector Count Sector * 34 222 255 * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 4 00 256 22978057951 22978058206 8 11 00 22978058207 16384 22978074590 root at nfs02.xxxxxxx:~# -- Jason Cox From gordon.w.ross at gmail.com Wed May 30 03:34:32 2012 From: gordon.w.ross at gmail.com (Gordon Ross) Date: Tue, 29 May 2012 23:34:32 -0400 Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> <4FBBC752.3040805@cos.ru> <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> Message-ID: On Fri, May 25, 2012 at 6:18 AM, wrote: > Hello Jim, hello Robbie, > > thanks for your replies. I was very busy with another project and found no time to > respond earlier. > > From what i have seen in my tests, i'am quite happy with ZFS ACLs and how inheritance seems > > to work. As i wrote in my initial post, i'am comming from Netware which had full-fledged ACLs > for ages and it looks like we could transform our Netware ACLs 1:1 to ZFS ACLs. > > From what i found on the net, i had the impression that the way of managing ZFS ACLs in a > windows environment is to use windows tools, especially MMC and explorer->properties->security > but this is a nightmare. > > Regardless of which local oi-user was used to connect to a share (after rebooting the windows pc), > windows mmc didnt only work if the local logged-in win-user was member of the oi-administrators > group. The most common ACL editing problem I see is that the user thinks they are connected with an account with administrative privileges, but actually are not. This can be due to either group membership configuration or properties of the account in AD. This was actually the motivator for https://www.illumos.org/issues/1525 - the need for an easy way to look at the credentials built internally by the SMB service. I suggest you look at the credential using the feature added with 1525, and verify whether the privileges word is zero (ordinary account) and whether any administrative groups are listed among the group memberships. If not, then that explains why you are not allowed to edit most ACLs. Of course, an easy way around the access control problems is to do this on the server side: chmod -R A=everyone:full_set:fd:allow /your/shared/directory (Be warned, that makes the whole thing "wide open" to the world!) After that, you should be able to edit ACLs from Windows. -- Gordon Ross Nexenta Systems, Inc. ?www.nexenta.com Enterprise class storage for everyone From ths.mailaddr at yahoo.com Wed May 30 10:00:40 2012 From: ths.mailaddr at yahoo.com (ths.mailaddr at yahoo.com) Date: Wed, 30 May 2012 03:00:40 -0700 (PDT) Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> <4FBBC752.3040805@cos.ru> <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> Message-ID: <1338372040.63063.YahooMailNeo@web112505.mail.gq1.yahoo.com> Hello Gordon, thanks for your reply, but this isnt my problem. My users have the necessary rights. I have no Everyone ACL, but can create/delete files and folders and modify every single right in all existing ACLs. Since i have used inheritance, i even get a "new" ACL placed in front of all existing ACLs if i try to deny a right that is inherited. If i create a new file/folder and check the owner from windows (properties->security->extended security->owner), it show the "right" local oi-user. But - I cannot add a new ACL for a new user because the username didnt get resolved. Even the user that windows shows as ower cannot be found. Also users you get listed in the extended user selection dialog, cannot be used. If you select one and try to confirm it, you get "Object not found" The test environment is completely in workgroup mode. There is no AD involved nor an AD DC available. How is the user selection supposed to work in this scenario? Regards Thomas ________________________________ From: Gordon Ross To: Discussion list for OpenIndiana Sent: Wednesday, May 30, 2012 5:34 AM Subject: Re: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows On Fri, May 25, 2012 at 6:18 AM,? wrote: > Hello Jim, hello Robbie, > > thanks for your replies. I was very busy with another project and found no time to > respond earlier. > > From what i have seen in my tests, i'am quite happy with ZFS ACLs and how inheritance seems > > to work. As i wrote in my initial post, i'am comming from Netware which had full-fledged ACLs > for ages and it looks like we could transform our Netware ACLs 1:1 to ZFS ACLs. > > From what i found on the net, i had the impression that the way of managing ZFS ACLs in a > windows environment is to use windows tools, especially MMC and explorer->properties->security > but this is a nightmare. > > Regardless of which local oi-user was used to connect to a share (after rebooting the windows pc), > windows mmc didnt only work if the local logged-in win-user was member of the oi-administrators > group. The most common ACL editing problem I see is that the user thinks they are connected with an account with administrative privileges, but actually are not.? This can be due to either group membership configuration or properties of the account in AD.? This was actually the motivator for https://www.illumos.org/issues/1525 - the need for an easy way to look at the credentials built internally by the SMB service. I suggest you look at the credential using the feature added with 1525, and verify whether the privileges word is zero (ordinary account) and whether any administrative groups are listed among the group memberships.? If not, then that explains why you are not allowed to edit most ACLs. Of course, an easy way around the access control problems is to do this on the server side: chmod -R A=everyone:full_set:fd:allow /your/shared/directory (Be warned, that makes the whole thing "wide open" to the world!) After that, you should be able to edit ACLs from Windows. -- Gordon Ross Nexenta Systems, Inc. ?www.nexenta.com Enterprise class storage for everyone _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss -------------- next part -------------- A non-text attachment was scrubbed... Name: selectusers.jpg Type: image/jpeg Size: 44536 bytes Desc: not available URL: From gordon.w.ross at gmail.com Wed May 30 15:50:01 2012 From: gordon.w.ross at gmail.com (Gordon Ross) Date: Wed, 30 May 2012 11:50:01 -0400 Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: <1338372040.63063.YahooMailNeo@web112505.mail.gq1.yahoo.com> References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> <4FBBC752.3040805@cos.ru> <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> <1338372040.63063.YahooMailNeo@web112505.mail.gq1.yahoo.com> Message-ID: On Wed, May 30, 2012 at 6:00 AM, wrote: > Hello Gordon, > > thanks for your reply, but this isnt my problem. My users have the necessary rights. I have no > Everyone ACL, but can create/delete files and folders and modify every single right in all existing > > ACLs. Since i have used inheritance, i even get a "new" ACL placed in front of all existing ACLs > > if i try to deny a right that is inherited. If i create a new file/folder and check the owner from > windows (properties->security->extended security->owner), it show the "right" local oi-user. > > But - I cannot add a new ACL for a new user because the username didnt get resolved. Even the > > user that windows shows as ower cannot be found. Also users you get listed in the extended user > > selection dialog, cannot be used. If you select one and try to confirm it, you get "Object not found" Oh, that. Yeah, the representation of users in workgroup mode is currently... unfortunate. You have to figure out the machine SID for that user using: idmap show uid:U where U is the numeric user ID. Then use that SID in the ACL editor. Or on the server, use chmod A+... and that UID. This is an area that could use improvement. We plan to work on this, but it will be a while. -- Gordon Ross Nexenta Systems, Inc. ?www.nexenta.com Enterprise class storage for everyone From cscoman at gmail.com Wed May 30 18:44:18 2012 From: cscoman at gmail.com (Jason Cox) Date: Wed, 30 May 2012 11:44:18 -0700 Subject: [OpenIndiana-discuss] zfs import error In-Reply-To: <29F86FBD-470D-4E58-9D3A-05A2859B66C8@RichardElling.com> References: <29F86FBD-470D-4E58-9D3A-05A2859B66C8@RichardElling.com> Message-ID: On Tue, May 29, 2012 at 5:46 PM, Richard Elling wrote: > idea at the bottom... > > On May 29, 2012, at 12:56 PM, Jason Cox wrote: > >> Let me start by saying that I am very new to OpenIndiana and Solaris >> 10/11 in general. I normally deal with Red Hat Linux. I wanted to use >> OI for ZFS support for a vmware shared storage server to mount LUNs on >> my SAN. >> >> Setup: >> >> 2 servers with multiple fiber-channel connections directly connected >> to my SAN (no SAN switch). >> >> >> Situation: >> >> I have multipath working and I create the zpool with no problem using >> the multipath disk device. >> --- >> root at nfs01.xxxxxxx:~# zpool create lun00 c2t60060E80104B8F6004F327FE00000000d0 >> root at nfs01.xxxxxxx:~# zpool status lun00 >> ?pool: lun00 >> state: ONLINE >> ?scan: none requested >> config: >> >> ? ? ? ?NAME ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? STATE ? ? READ WRITE CKSUM >> ? ? ? ?lun00 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> ? ? ? ? ?c2t60060E80104B8F6004F327FE00000000d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> >> errors: No known data errors >> --- >> >> Now I can export the pool from nfs01 to nfs02 with no problem.. >> >> --- >> root at nfs02.xxxxxxx:~# zpool status lun00 >> ?pool: lun00 >> state: ONLINE >> ?scan: none requested >> config: >> >> ? ? ? ?NAME ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? STATE ? ? READ WRITE CKSUM >> ? ? ? ?lun00 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> ? ? ? ? ?c2t60060E80104B8F6004F327FE00000000d0 ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 >> >> errors: No known data errors >> --- >> >> The issue comes up when I then export the pool off nfs02 and try to >> import it again back on nsa01. >> >> --- >> root at nfs01.xxxxxxx:~# zpool import lun00 >> Assertion failed: rn->rn_nozpool == B_FALSE, file >> ../common/libzfs_import.c, line 1093, function zpool_open_func >> Abort (core dumped) >> --- >> >> No matter how many times I try to import the pool on 01 I have this >> issue. Both servers are running the same version of OI and all the >> same updates. They are also the same servers purchased and spec'ed at >> the same time for this project. >> >> >> Any guidance would be appreciated. > > This can occur if the disk label does not look the same from both systems. > ? ? ? ?prtvtoc /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0 > and compare > ?-- richard > > -- > ZFS Performance and Training > Richard.Elling at RichardElling.com > +1-760-896-4422 > > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss I have an update on this... After talking to a friend who deals with Solaris all the time, he was thinking it was a bug in EFI. Based on what Richard was thinking too, I took a smaller LUN that was below 2TB and changed the label from EFI to SMI. It works now. I can move the LUN back and forth between the two servers. So I guess I either redo all my LUNs to support SMI and let ZFS RAID them together or I wait and see if a patch comes out for this issue. -- Jason Cox From bfriesen at simple.dallas.tx.us Thu May 31 02:14:32 2012 From: bfriesen at simple.dallas.tx.us (Bob Friesenhahn) Date: Wed, 30 May 2012 21:14:32 -0500 (CDT) Subject: [OpenIndiana-discuss] zfs and usb drives In-Reply-To: References: Message-ID: On Tue, 29 May 2012, Jay Heyl wrote: > > One idea is to use the external USB drives I've collected to create a > separate pool for the non-critical data. I have four 2TB USB drives that > have been performing flawlessly connected to Windows systems for quite a > while. Any opinions on using them to set up another raidz pool? Is this a > reasonable idea or a really bad idea? I have been using USB drives in a mirror configuration for quite a few years with zfs. No problems have been encountered due to using zfs. The main thing I learned is to always export the pool before unplugging the USB cables because the pool won't come back up if the cables are plugged into different ports than before. Zfs scrub and resilver are obviously slower with USB drives. I have heard that one should always plug the drives directly into the computer rather than into a USB bridge device. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ From ths.mailaddr at yahoo.com Thu May 31 07:54:27 2012 From: ths.mailaddr at yahoo.com (ths.mailaddr at yahoo.com) Date: Thu, 31 May 2012 00:54:27 -0700 (PDT) Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> <4FBBC752.3040805@cos.ru> <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> <1338372040.63063.YahooMailNeo@web112505.mail.gq1.yahoo.com> Message-ID: <1338450867.68433.YahooMailNeo@web112510.mail.gq1.yahoo.com> Hello Gordon, thanks! That seems to be the missing bit. Is there any kind of documentation available on this topic? Everything i have read always mentioned not to use idmap at all and delete all mappings. Therefore i did the last complete reinstall to have a virgin idmap. Now idmap shows no mapping for the designated user. In fact it show only half a dozen ephemeral SIDs but none of the local oi-useres. Instead i looked up the designated user via 'smbadm lookup ' and got the SID S-1-5-21-.......-1101 which 'idmap show sid:S-1-5-21-.......-1101' resolved to the correct numerical posix uid 101, but not vice versa. I assume, that is the reason, windows cannot resolve the user even if i use S-1-5-21-.......-1101 to identify the user as you suggested. What, if even, should i add to the idmap? After reading the man page, i tried to add a winuser/unixuser mapping which didnt help. Numerical mappings based on uid and sid didnt work ("uid:101 is not a valid name"). We are coming closer - but... Regards Thomas ________________________________ From: Gordon Ross To: Discussion list for OpenIndiana Sent: Wednesday, May 30, 2012 5:50 PM Subject: Re: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows On Wed, May 30, 2012 at 6:00 AM,? wrote: > Hello Gordon, > > thanks for your reply, but this isnt my problem. My users have the necessary rights. I have no > Everyone ACL, but can create/delete files and folders and modify every single right in all existing > > ACLs. Since i have used inheritance, i even get a "new" ACL placed in front of all existing ACLs > > if i try to deny a right that is inherited. If i create a new file/folder and check the owner from > windows (properties->security->extended security->owner), it show the "right" local oi-user. > > But - I cannot add a new ACL for a new user because the username didnt get resolved. Even the > > user that windows shows as ower cannot be found. Also users you get listed in the extended user > > selection dialog, cannot be used. If you select one and try to confirm it, you get "Object not found" Oh, that.? Yeah, the representation of users in workgroup mode is currently... unfortunate.? You have to figure out the machine SID for that user using: ? idmap show uid:U where U is the numeric user ID. Then use that SID in the ACL editor. Or on the server, use chmod A+... and that UID. This is an area that could use improvement. We plan to work on this, but it will be a while. -- Gordon Ross Nexenta Systems, Inc. ?www.nexenta.com Enterprise class storage for everyone _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss at openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss From jimklimov at cos.ru Thu May 31 09:30:38 2012 From: jimklimov at cos.ru (Jim Klimov) Date: Thu, 31 May 2012 13:30:38 +0400 Subject: [OpenIndiana-discuss] zfs and usb drives In-Reply-To: References: Message-ID: <4FC73A3E.2040709@cos.ru> 2012-05-31 6:14, Bob Friesenhahn wrote: > On Tue, 29 May 2012, Jay Heyl wrote: >> >> One idea is to use the external USB drives I've collected to create a >> separate pool for the non-critical data. I have four 2TB USB drives that >> have been performing flawlessly connected to Windows systems for quite a >> while. Any opinions on using them to set up another raidz pool? Is this a >> reasonable idea or a really bad idea? > > I have been using USB drives in a mirror configuration for quite a few > years with zfs. No problems have been encountered due to using zfs. The > main thing I learned is to always export the pool before unplugging the > USB cables because the pool won't come back up if the cables are plugged > into different ports than before. > > Zfs scrub and resilver are obviously slower with USB drives. > > I have heard that one should always plug the drives directly into the > computer rather than into a USB bridge device. Also, somebody recently had an issue moving the drives between an USB enclosure and direct connection to the controller in the computer - reported sector sizes varied, and the pool couldn't be imported. If the drives are going to be in their enclosures forever (as i.e. WD warranty policy requires), this is not a problem - except that the box might report different "native" sector sizes than those really supported by disk hardware, and you might need to try enforcing one or another ashift (9, 12). HTH, //Jim Klimov From t12nslookup at gmail.com Thu May 31 13:08:10 2012 From: t12nslookup at gmail.com (Jonathan Adams) Date: Thu, 31 May 2012 14:08:10 +0100 Subject: [OpenIndiana-discuss] zfs and usb drives In-Reply-To: <4FC73A3E.2040709@cos.ru> References: <4FC73A3E.2040709@cos.ru> Message-ID: We had servers (Solaris 10) setup with external USB drives for ZFS ... and we had problems. having more than 8 USB devices attached to a Solaris box caused us problems, and in some cases having a USB keyboard/mouse connected was enough to cause the whole USB subsystem to keel over. after trying to resolve lots of unrelated problems we resorted to just buying servers with more internal space, pulling the USB drives to pieces and inserting them into the new servers. the problems have now disappeared. I am talking about Solaris 10, not Illumos, and it was the dodgy USB support that was causing us grief. We still use USB drives, but only for transferring data between servers when some st*pid user decides to drop 20+Gb onto the server and the link goes down, but it is no longer a primary storage medium. Jon On 31 May 2012 10:30, Jim Klimov wrote: > 2012-05-31 6:14, Bob Friesenhahn wrote: >> >> On Tue, 29 May 2012, Jay Heyl wrote: >>> >>> >>> One idea is to use the external USB drives I've collected to create a >>> separate pool for the non-critical data. I have four 2TB USB drives that >>> have been performing flawlessly connected to Windows systems for quite a >>> while. Any opinions on using them to set up another raidz pool? Is this a >>> reasonable idea or a really bad idea? >> >> >> I have been using USB drives in a mirror configuration for quite a few >> years with zfs. No problems have been encountered due to using zfs. The >> main thing I learned is to always export the pool before unplugging the >> USB cables because the pool won't come back up if the cables are plugged >> into different ports than before. >> >> Zfs scrub and resilver are obviously slower with USB drives. >> >> I have heard that one should always plug the drives directly into the >> computer rather than into a USB bridge device. > > > Also, somebody recently had an issue moving the drives between > an USB enclosure and direct connection to the controller in the > computer - reported sector sizes varied, and the pool couldn't > be imported. If the drives are going to be in their enclosures > forever (as i.e. WD warranty policy requires), this is not a > problem - except that the box might report different "native" > sector sizes than those really supported by disk hardware, and > you might need to try enforcing one or another ashift (9, 12). > > HTH, > //Jim Klimov > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From gordon.w.ross at gmail.com Thu May 31 14:18:46 2012 From: gordon.w.ross at gmail.com (Gordon Ross) Date: Thu, 31 May 2012 10:18:46 -0400 Subject: [OpenIndiana-discuss] OI_151a4, ZFS, CIFS - Managaging ACLs from Windows In-Reply-To: <1338450867.68433.YahooMailNeo@web112510.mail.gq1.yahoo.com> References: <1337692413.62772.YahooMailNeo@web112503.mail.gq1.yahoo.com> <1337703417.70959.YahooMailNeo@web112502.mail.gq1.yahoo.com> <4FBBC752.3040805@cos.ru> <1337941114.83258.YahooMailNeo@web112513.mail.gq1.yahoo.com> <1338372040.63063.YahooMailNeo@web112505.mail.gq1.yahoo.com> <1338450867.68433.YahooMailNeo@web112510.mail.gq1.yahoo.com> Message-ID: On Thu, May 31, 2012 at 3:54 AM, wrote: > Hello Gordon, > > thanks! That seems to be the missing bit. > > Is there any kind of documentation available on this topic? Well, the idmap man page describes how local UIDs are mapped to SIDs. It's a fixed, bi-directional algorithm. > Everything i have read always mentioned not to use idmap at all and delete all mappings. > Therefore i did the last complete reinstall to have a virgin idmap. Now idmap shows > no mapping for the designated user. In fact it show only half a dozen ephemeral SIDs > but none of the local oi-useres. These are fixed mappings, so not stored in the idmap DB, and not shown by "idmap dump" etc. > Instead i looked up the designated user via 'smbadm lookup ' and got the SID > S-1-5-21-.......-1101 which 'idmap show sid:S-1-5-21-.......-1101' resolved to the correct > numerical posix uid 101, but not vice versa. I assume, that is the reason, windows cannot > resolve the user even if i use S-1-5-21-.......-1101 to identify the user as you suggested. I thought that on Windows you can enter a raw SID in the ACL editor, but sorry, I don't remember how. > What, if even, should i add to the idmap? After reading the man page, i tried to add a > winuser/unixuser mapping which didnt help. Numerical mappings based on uid and sid > didnt work ("uid:101 is not a valid name"). You don't need to (and probably can't) add mappings for these SIDs that are based on the local machine SID prefix. In workgroup mode, ACL management involving users is easiest to do on the server with chmod. Alternatively (and this is a better practice) you can create some local SMB groups, and use the group SIDs in your ACLs. Unlike users, groups have ID mappings you can control. -- Gordon Ross Nexenta Systems, Inc. ?www.nexenta.com Enterprise class storage for everyone From tac12 at wbic.cam.ac.uk Thu May 31 16:37:26 2012 From: tac12 at wbic.cam.ac.uk (Adrian Carpenter) Date: Thu, 31 May 2012 17:37:26 +0100 Subject: [OpenIndiana-discuss] COMSTAR qlt dropping link and resetting In-Reply-To: <8F607366E3C0F9499212649291E0BD64047977@MS1.laspina.ca> References: <8F607366E3C0F9499212649291E0BD64047977@MS1.laspina.ca> Message-ID: <65AAF874-7BDD-4ABA-9D48-B7DD24BD60F6@wbic.cam.ac.uk> A quick update for those who might be following this thread, I started to collect zilstats, and what I have found is that about once every four days a transaction takes over half an hour: TIME txg N-Bytes N-Bytes/s N-Max-Rate B-Bytes B-Bytes/s B-Max-Rate ops <=4kB 4-32kB >=32kB .. .. 2012 May 31 15:21:36 475232 2044232 60124 390888 16531456 486219 2985984 175 0 0 175 2012 May 31 15:22:39 475233 2762416 43847 293064 19734528 313246 2244608 266 0 10 256 2012 May 31 16:00:06 475234 29059896 12927 3198840 148652032 66126 12713984 1825 0 181 1644 2012 May 31 16:08:05 475235 2544016 5311 657384 13819904 28851 3575808 182 0 2 180 at 15:32 xen pool master tried reseting the fibre channel HBAs, however since the volume was still blocked I presume, the pool master became very unhappy?? I then see the following in dmesg: May 31 16:00:08 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt1,0 LINK UP, portid 20300, topology Fabric Pt-to-Pt,speed 8G May 31 16:00:09 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt0,0 LINK UP, portid 10400, topology Fabric Pt-to-Pt,speed 8G I've just taken delivery of some SSDs and will add them as mirrored ZILlog devices, hopefully this will help. On 21 May 2012, at 16:47, Mike La Spina wrote: > Hi Adrian, > > The SanBoxes? - Nexsan nothing in their logs > OK > > Dmesg? : >> May 17 17:33:47 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt1,0 >> LINK UP, portid 20300, topology Fabric Pt-to-Pt,speed 8G May 17 >> 17:33:48 hagrid fct: [ID 132490 kern.notice] NOTICE: qlt0,0 LINK UP, >> portid 10400, topology Fabric Pt-to-Pt,speed 8G > > Seeing a single LINKUP notice would normally only occur on init. I would > say it's just that, otherwise you would have a LINKDOWN before the > LINKUP, meaning an event on the fabric is your root issue. > > Stmf service? Nothing at all in the logs > OK > > Are you running snapshots? yes am running auto snapshot service, in > addition I'm running a script (hourly) that snapshots the volume and > send it over ssh to another machine. > > I suspect an issue here. The snapshot service runs on fixed time > intervals e.g. 15Min 1Hour 24Hhour 1Month if your also adding a snapshot > that runs hourly to do a ZFS send/rec they will overlap. The overlap may > cause an excessive blocking to stmf sbd access and result in a timeout > for the XEN host initiators. I suggest you use the auto based existing > hourly snaps and simply send them over to the remote host or file system > using a script @ 15 minutes after the hour. > > Dedup? > > Off - OK > > Compression? > > Lzjb - OK > > > IRQ sharing? > echo ::interrupts | mdb -k > > IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# ISR(s) > 1 0x41 5 ISA Edg Fixed 3 1 0x0/0x1 i8042_intr > 3 0xb1 12 ISA Edg Fixed 39 1 0x0/0x3 asyintr > 4 0xb0 12 ISA Edg Fixed 38 1 0x0/0x4 asyintr > 5 0xb2 12 ISA Edg Fixed 40 1 0x0/0x5 asyintr > 9 0x80 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr > 12 0x42 5 ISA Edg Fixed 4 1 0x0/0xc i8042_intr > 16 0x83 9 PCI Lvl Fixed 7 2 0x0/0x10 ohci_intr, ohci_intr > 17 0x81 9 PCI Lvl Fixed 5 1 0x0/0x11 ehci_intr > 18 0x84 9 PCI Lvl Fixed 8 3 0x0/0x12 ohci_intr, > ohci_intr, > ohci_intr > 19 0x82 9 PCI Lvl Fixed 6 1 0x0/0x13 ehci_intr > 22 0x40 5 PCI Lvl Fixed 2 2 0x0/0x16 ata_intr, ata_intr > 88 0x43 5 PCI Edg MSI-X 9 1 - ql_isr_aif > 89 0x44 5 PCI Edg MSI-X 10 1 - ql_isr_aif > 90 0x45 5 PCI Edg MSI-X 11 1 - ql_isr_aif > 91 0x46 5 PCI Edg MSI-X 12 1 - ql_isr_aif > 92 0x60 6 PCI Edg MSI-X 13 1 - igb_intr_tx_other > 93 0x61 6 PCI Edg MSI-X 14 1 - igb_intr_rx > 94 0x62 6 PCI Edg MSI-X 15 1 - igb_intr_tx_other > 95 0x63 6 PCI Edg MSI-X 16 1 - igb_intr_rx > 96 0x64 6 PCI Edg MSI-X 36 1 - igb_intr_tx_other > 97 0x65 6 PCI Edg MSI-X 37 1 - igb_intr_rx > 98 0x66 6 PCI Edg MSI-X 41 1 - igb_intr_tx_other > 99 0x67 6 PCI Edg MSI-X 42 1 - igb_intr_rx > 100 0x68 6 PCI Edg MSI-X 43 1 - igb_intr_tx_other > 101 0x69 6 PCI Edg MSI-X 44 1 - igb_intr_rx > 102 0x6a 6 PCI Edg MSI-X 45 1 - igb_intr_tx_other > 103 0x6b 6 PCI Edg MSI-X 46 1 - igb_intr_rx > 104 0x47 5 PCI Edg MSI 30 1 - qlt_isr > 105 0x48 5 PCI Edg MSI 31 1 - qlt_isr > 160 0xa0 0 Edg IPI all 0 - poke_cpu > 208 0xd0 14 Edg IPI all 1 - > kcpc_hw_overflow_intr > 209 0xd1 14 Edg IPI all 1 - cbe_fire > 210 0xd3 14 Edg IPI all 1 - cbe_fire > 240 0xe0 15 Edg IPI all 1 - xc_serv > 241 0xe1 15 Edg IPI all 1 - apic_error_intr > > OK > > > Dr T Adrian Carpenter > Reader in Imaging Sciences > Wolfson Brain Imaging Centre > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss at openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss From jay at frelled.us Thu May 31 18:08:05 2012 From: jay at frelled.us (Jay Heyl) Date: Thu, 31 May 2012 11:08:05 -0700 Subject: [OpenIndiana-discuss] zfs and usb drives In-Reply-To: References: Message-ID: On Wed, May 30, 2012 at 7:14 PM, Bob Friesenhahn < bfriesen at simple.dallas.tx.us> wrote: > > I have been using USB drives in a mirror configuration for quite a few > years with zfs. No problems have been encountered due to using zfs. The > main thing I learned is to always export the pool before unplugging the USB > cables because the pool won't come back up if the cables are plugged into > different ports than before. > That's excellent information. I'm sure you've saved me some future grief. Thanks. > > I have heard that one should always plug the drives directly into the > computer rather than into a USB bridge device. I once had four USB drives connected to Windows via a powered hub. It worked okay, but there was definitely a performance penalty. Moving files from one drive to another proceeded at about half the USB speed limit. When they're each connected directly to a USB port the transfers can go at close to the USB max. -- Jay From carlsonj at workingcode.com Thu May 31 18:29:38 2012 From: carlsonj at workingcode.com (James Carlson) Date: Thu, 31 May 2012 14:29:38 -0400 Subject: [OpenIndiana-discuss] zfs and usb drives In-Reply-To: References: Message-ID: <4FC7B892.6060902@workingcode.com> On 05/31/12 14:08, Jay Heyl wrote: > That's excellent information. I'm sure you've saved me some future grief. > Thanks. I have a slightly different story. I had a Sun X4600 (x64) server running OpenSolaris. I was converting over from an older system and tried to mirror an external USB drive onto an internal SAS disk using ZFS resilvering as a way to transfer the data. The plan was to get it copied, then detach the USB drive, and then mirror internally. Big mistake. The system quickly ground to a halt while doing the initial resilver operation (copying from the USB drive to the internal SAS one). After cleaning up the mess, I was able to import the external USB device as stand-alone disk pool with ZFS, and then use "zfs send" and "zfs recv" to copy things over. Something about mirroring between a very fast internal disk and a very slow external one was a Bad Thing. It's entirely possible that the USB drivers have improved greatly since circa 2009, and that this is just "old news," but I'm gunshy now. I don't think I'd even attempt to use USB for an external file system, except possibly as a backup mechanism. Your mileage will vary. -- James Carlson 42.703N 71.076W