Re: Soekris for a Trac server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dunno about Soekris, but I'm very happy with one of these mini-box systems that cost about $250 with a 60GB SSD disk: http://www.mini-box.com/MiniPC-Value-Systems I got a fan but it doesn't need it. It runs ordinary amd64 FreeBSD 9.1, installed from a thumb drive. It provides DNS, DHCP, and some other random services on my home network. It's also my backup server, running a four drive ZFS raid with an ESATA controller, so I bumped the RAM up to 4GB. My only complaint is that the PCI slot doesn't have a matching cutout on the back panel for for the ESATA adapter I have to use a riser card and leave the cover off, which looks stupid but looks fine. It's just like any other FreeBSD box do I don't see why it wouldn't run jails perfecty well. R's, John -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlJLKJsACgkQkEiFRdeC/kWt/QCeKyA1GOHNxWXtx+oXSLEYocay L58An1PAV3zGKO9/9mvOhARkCkkgvExq =jLRV -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WANTED: Tool to verify installed package/port consistancy
I expect the reason you won't find a port verifier is that the usual way to recover from a situation like yours is to reinstall them all: # portupgrade --all --force This might take longer than trying to verify them, but it has the advantage of not needing a lot of attention (use -DBATCH to skip config steps) and when you're done, the packages have all been updated and fixed. Doing a general port verifier is a pain because the scripts called from make install can run arbitrary programs. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Portsnap gets ports that claim to be out of date
When I do portsnap update and try building stuff, I get errors like this: Mk/bsd.port.mk, line 5: warning: You are using a ports file that originated from CVS!! Mk/bsd.port.mk, line 6: warning: The FreeBSD project has switched from CVS to SubVersion. Mk/bsd.port.mk, line 7: warning: This CVS repository is NO LONGER UPDATED! If you see this Mk/bsd.port.mk, line 8: warning: message then your tree is STALE and you need to follow Mk/bsd.port.mk, line 9: warning: the update instructions to receive any more updates. I'm not using CVS, I'm using portsnap. Any ideas? It's a 9.1 system, fully up to date as far as I know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: day light saving time happened today
day light saving time happened early sunday morning and the time shown by the date command is still one hour behind. I just did a clean 9.1 install from cdrom and selected the correct time zone for my location. I don't see any entry for daylight saving time in tzsetup I though the EDT had daylight saving time built in. It does. Any chance your computer's clock got reset an hour slow? My 8.3 and 9.1 systems handled the daylight switch just like they were supposed to. -- Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Strange delays in ZFS scrub or resilver
I have a raidz of three 1 TB SATA drives, in USB enclosures. One of the disks went bad, so I replaced it last night and it's been resilvering ever since. I can watch the activity lights on the disks and it cranks away for a minute or so, then stops for a minute, then cranks for a minute, and so forth. If I do a zpool status while it's stopped, the zpool waits until the I/O resumes, and a ^T shows it waiting for zio-io_cv. I'm running FreeBSD 9.1, amd64 version, totally vanilla install on a mini-itx box with 4GB of RAM. The root/swap disk is an SSD separate from the zfs disks. When the disks are active, top shows about 10% system time and 4% interrupt. When it isn't, top shows about 99.8% idle. The server isn't doing much else, and nothing else currently touches the disks. (They're for remote backup of a system somewhere else, and I have the backup job turned off until resilvering completes.) I'm running this on the console, and there are no disk error messages. Any idea what's going on or how to fix it? I could move the disks to an ESATA enclosure if USB is losing interrupts or something. My recollection is that when I've done a scrub, it does the same thing, work, pause, work, pause. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sh script ?
I get this message [: 10.0.10.21: bad number on this code [ ${saved_ip} -eq ${used_ip} ] echo good match Both variables have valid ip addresses in them. Why does it think the variable content is a number and not text? What am I doing wrong? My guess would be that you didn't read the man page for the test (sometimes spelled [ ) command. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: which version of FBSD should i install?
I want the Gnome Desktop, espeak, and gvim. If there is a CD or DVD with 9.x, can somebody give me a URL? The usual place: http://www.freebsd.org/releases/9.1R/announce.html I'm typing this on a Thinkpad X200, which works well under 9.0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Firefox + acroread costs me $$$$
So, on FreeBSD, how does one get firefox and/or opera to use, for example, evince or some other PDF displayer instead of using this goddamn lousey buggy *^%$#@ acroread ? In Firefox, Edit-Preferences, click the Applications tab, look for application/pdf and make the obvious adjustments. I find that for nearly everything else, chromium works better than firefox, but for PACER, only Firefox supports RECAP. You do use RECAP, I hope. R's, John PS: On my FBSD 9.0, acroread8 works OK, much slower than evince but in some cases it renders the PDF better, and often translates to postscript better for printing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SMS application
In article blu0-smtp19ad48d80755ecda768cb193...@phx.gbl you write: Can anyone recommend a good SMS application that works on FreeBSD? I have used several different ones on MS Windows; however, I cannot find one that works on FreeBSD. There doesn't appear to be a fully functional one in the ports system either, although I might have missed it. What do you want to do? If you just want to send SMS, there are plenty of vendors that have http interfaces that you can script with wget or www libraries in perl, python, and the other usual suspects. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Building Ports: Is there a make equivalent for --batch ?
... Note that setting the BATCH environment variable to yes will answer yes to any prompts during this process, removing the need for manual intervention during the build process. (This was said with respect to upgrading ports via portupgrade.) Or you can use portmaster, which runs through all the ports first and does the config dialogs before starting the rebuild. There are stil a few places it can get stuck, but many fewer than portupgrade. Portmaster is worth a look just out of amazement. It is a 4,000 line shell script. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: iso image question
In article alpine.bsf.2.00.1208261419520.56...@fledge.watson.org you write: I have a CD that was burned (but not labeled so well). Is is possible to tell if this is an i386 or amd64 image? Sure. Mount it, do a file on some of the programs in /bin and see whether they're i386 or x86-64 code. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Apache 2.2 and php 5.4.5 failing on freebsd 8.3
I have a fully patche amd64 freebsd 8.3 server with apache 2.2 and PHP 5.4.5. In the past day, php scripts have started failing with a variety of random errors, they hang, errors claiming that builtins like require_once() are not found, and other stuff. I don't see any pattern. I also can't figure out what's changed. I update the ports fairly often, but none of the recent updates were for apache or PHP. I've done all the usual voodoo repair: I have rebuilt apache, php, and all the php modules from source, and rebooted, and it didn't help. Does this sound familiar? Any suggestions beyond what I've already done? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Apache 2.2 and php 5.4.5 failing on freebsd 8.3
Are you running pecl-APC? If so, what version? There's a major issue with the latest. Hmmn, that might have been it. I backed down to 5.3, but when I have a chance I'll try 5.4 again without APC. Tried it without APC, didn't help. We're back to the theory that there's something in PHP 5.4.5 that builds OK on 9.0 but not on 8.x. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Firefox 13.0.1.1 won't build under 8.3 on amd64
I'm reasonably sure I have the png and sqlite3 libraries built as needed, but the build still barfs when compiling the SSL function nsNSSErrors.cpp. The end of the build log is copied below. I don't have the logs handy, but Thunderbird fails the same way. Any suggestions? R's, John c++ -o nsNSSErrors.o -c -I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include ../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ -DDLL_SUFFIX=\.so\ -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss -I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include -I/usr/local/include-fPIC -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O2 -pipe -f no-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSErrors.cpp /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp: In member function 'virtual nsresult nsCryptoHash::Finish(bool, nsACString_internal)': /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp:2879: error: 'BTOA_DataToAscii' was not declared in this scope /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp: In member function 'virtual nsresult nsCryptoHMAC::Finish(bool, nsACString_internal)': /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp:3070: error: 'BTOA_DataToAscii' was not declared in this scope gmake[5]: *** [nsNSSComponent.o] Error 1 gmake[5]: *** Waiting for unfinished jobs gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3/security/manager/ssl/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3/security/manager/ssl' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3/security/manager' gmake[2]: *** [libs_tier_platform] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3' gmake[1]: *** [tier_platform] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3' gmake: *** [default] Error 2 *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox 14.0.1 won't build under 8.3 on amd64
Oops, it's 14.0.1 I'm trying to build. 13.0.0.1 is what I have installed now. In article 20120813053621.24629.qm...@joyce.lan you write: I'm reasonably sure I have the png and sqlite3 libraries built as needed, but the build still barfs when compiling the SSL function nsNSSErrors.cpp. The end of the build log is copied below. I don't have the logs handy, but Thunderbird fails the same way. Any suggestions? R's, John c++ -o nsNSSErrors.o -c -I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include ../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ -DDLL_SUFFIX=\.so\ -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss -I.. + /../../.././../security/manager/ssl/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include -I/usr/local/include-fPIC -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O2 -pipe -f no-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSErrors.cpp /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp: In member function 'virtual nsresult nsCryptoHash::Finish(bool, nsACString_internal)': /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp:2879: error: 'BTOA_DataToAscii' was not declared in this scope /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp: In member function 'virtual nsresult nsCryptoHMAC::Finish(bool, nsACString_internal)': /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp:3070: error: 'BTOA_DataToAscii' was not declared in this scope gmake[5]: *** [nsNSSComponent.o] Error 1 gmake[5]: *** Waiting for unfinished jobs gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3/security/manager/ssl/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3/security/manager/ssl' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3/security/manager' gmake[2]: *** [libs_tier_platform] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3' gmake[1]: *** [tier_platform] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd8.3' gmake: *** [default] Error 2 *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Patent hit - MS goes after Linux - FreeBSD ?
Out of curiosity has anyone ever heard of trolls patenting open source technologies after the fact? The prior art stipulations pretty much kills that off, unless they make a genuine improvement/change to it to not qualify under that, then they would be well within patent law to apply for a patent. The patent office has never been very good at examining software patents, and I have made a lot of money helping companies document the prior art not cited in patents that are being asserted against them. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox 14 build broken due to wrong libpng
In article 20120730045308.gh7...@mail3.dcoder.net you write: same problem. so i rebuilt png w/ OPTIONS=APNG Animated PNG support On firefox build still fails because of complaints about APNG. what am i missing here? I rebuilt png with APNG turned on (make make deinstall make install clean) The png errors went away but it still failed. The last few lines of the log are below. This is 8.3 on amd64, ports are as far as I know fully up to date. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly c++ -o nsNSSCallbacks.o -c -I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include ../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ -DDLL_SUFFIX=\.so\ -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss -I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include -I/usr/local/include-fPIC -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align - O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSCallbacks.cpp /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsProtectedAuthThread.cpp: In member function 'void nsProtectedAuthThread::Run()': /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsProtectedAuthThread.cpp:164: warning: unused variable 'rv' nsNSSComponent.cpp c++ -o nsNSSComponent.o -c -I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include ../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ -DDLL_SUFFIX=\.so\ -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss -I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include -I/usr/local/include-fPIC -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align - O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h /usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp nsNSSErrors.cpp c++ -o nsNSSErrors.o -c -I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include ../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ -DDLL_SUFFIX=\.so\ -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss -I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include -I/usr/local/include-fPIC -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O2 -pipe -f no-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr
Re: for the impatient: Linux LibreOffice works on FreeBSD
What sort of errors did you encounter while building the package using the ports? The first problem is that it now demands clang-devel, which conflicts with chromium which still wants regular clang. Any idea how likely it is that chromium will build if I tell it to use clang-devel? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fsck on FAT32 filesystem?
Is there any such a tool (as fsck for FAT32) available for freeBSD? If so, where would I find it? There's fsck_msdosfs, part of the base system. Regular fsck should call it automatically if you run it on a FAT filesystem. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade -- is there a way to only build and update ports that actually NEED it?
You would think there's an option to portupgrade that says don't upgrade every single package I've got, but if somewhere in the dependency chain I need a newer version of a thing, then do it. The problem is that the versioning in the ports system doesn't distinguish between upgrades that present interface changes and upgrades that are just nits, new features, or minor bug fixes. Port makefiles can contain version dependency info, e.g., this port needs at least version N.M of package X, but few of them do. This has bitten me in the past with PHP and pcre. In fact, PHP5 won't work with old versions of pcre, but the PHP port maintainer refuses to put in version dependency info, because he thinks that every port should be up to date all the time. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is ZFS production ready?
snafu on my part freebsd 8.3 also uses zfs pool version 28:-) No, 8.3 uses version 15. It's been quite stable for me. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is ZFS production ready?
snafu on my part freebsd 8.3 also uses zfs pool version 28:-) No, 8.3 uses version 15. It's been quite stable for me. Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Building libreoffice on 8.3 x86-64, not
I have an 8.3 x86-64 system, fully patched, all ports but one up to date. When I try to build libreoffice, it fails in various sub-builds. Most of the sub-builds work when I retry them, except for tail_build which fails repeatedly. It's using clang for the build, but I don't see any option to use GCC. Any suggestions? I have 500 megabytes of build logs if anyone wants to look at them. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Free space in ZFS
I made a three disk zraid ZFS pool yesterday from three new 1 TB disks, which I'm using for backup. Then I did a backup and made a zfs volume. The free space numbers don't make sense. This is on 8.3, ZFS version 15. # zpool list NAME SIZE USED AVAILCAP HEALTH ALTROOT backup2 2.72T 310G 2.42T11% ONLINE - Given that it's zraid, the total available space should be a little under 2TB since the third disk is for parity. But zpool gives me a total of 2.72T, as though the third disk was for data. # zfs list NAMEUSED AVAIL REFER MOUNTPOINT backup2 206G 1.58T 31.3K /backup2 backup2/20120615206G 1.58T 206G /backup2/20120615 Well, that makes more sense, total is 1.78Tb. # df -g Filesystem1G-blocks Used Avail Capacity Mounted on backup216180 1618 0%/backup2 backup2/20120615 1825 206 161811%/backup2/20120615 Now the total is 1.82Tb. Huh? The backup filesystems are compressed, but surely they're showing me the actual size, not the uncompressed size. Or are they? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Kernel Panic any help?
panic: ffs_clusteralloc: map mismatch Something's fairly badly screwed up on your disk. My advice would be to boot from a CD or USB key and run fsck to try to repair it. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fast question abount EDITOR
Do I really need a script which in turns call emacs -nw? Authoritative answer: 'maybe'. grin There may be an alternative to the obvious one line shell script, but that's what one line shell scripts are for. One of the strengths of Unix is that its design encourages people to solve problems by composing existing tools rather than by adding ever more options to every program. R's, John PS: I realize that over the decades we have strayed somewhat from this ideal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Maildir Format
Can anyone suggest a MUA which has support for Maildir that I can use? Pine is dead, replaced by alpine. The FreeBSD port has a config option to support maildirs. I've used it, it works. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Printing directly to IP address
same way I do, via a wireless network. The difference is that I am using CUPS to achieve that goal. My friend would like to do it sans CUPS if possible. If the printer supports the hoary lpd protocol, you can configure it in /etc/printcap. If it wants socket or IPP protocols, CUPS is the least painful route. Installing CUPS on freebsd is pretty straightforward. The main wart is that you have to manually move all the lpr commands in /usr/bin out of the way and symlink them to the CUPS versions in /usr/local/bin. Other than that, the web config works great, and it has drivers for vast numbers of printers, particularly when you also install hplip. R's, John -- Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB 3 / eSATA support
I have an two-disk external box with both USB and eSATA interface. Go with eSATA, which is better supported as a disk. I use mine as a ZFS mirror. I have a SiI3124 SATA controller which isn't recognized by the generic kernel, but works fine once I put a suitable hint in loader.conf: # for external SATA siis_load=YES I also have three USB disks configured as a ZFS RAID which I use for backups. It works OK, but I wouldn't want to depend on it from day to day. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9 on Lenovo X200 what works?
I'm running 8.2 on an X200. For the most part everything works. My main complaint is that the sound is very quiet, and I haven't found the setting to fix that. Video and wifi work fine. The kernel sees the camera and the thumb reader but I haven't looked for applications that use them. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: df with ZFS vs. zpool list
Each of SATA-drives is about 80G in size. When using df -h I'm only receiving storage145G42k 145G0% /storage where I expected something like 220GB (due to the �-issue). However, It's raidz. The third disk is parity for the first two. NAMESTATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 ada1ONLINE 0 0 0 ada2ONLINE 0 0 0 ada3ONLINE 0 0 0 R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
What's wrong with this code?
This tiny routine is in a .so loadable module I use. (It's part of the mailfront SMTP daemon.) static const char* date_string(void) { static char datebuf[64]; time_t now = time(0); struct tm* tm = gmtime(now); strftime(datebuf, sizeof datebuf - 1, %d %b %Y %H:%M:%S -, tm); return datebuf; } I was getting bogus dates. Running it under GDB, time() is returning -1, and setting errno to 22, which is EINVAL. Changing the call to time to time(NULL) or time(now) made no difference. I changed it to a call to gettimeofday(), which works fine. But what could the problem have been? When I splice this routine into a tiny test program that calls it and prints out the result, it works fine. The obvious problem, since it's in a .so, is that it's linking to something other than the system library time() function, but I did an nm on the .so, and it said this, which sure looks like the system time() function to me: U time@@FBSD_1.0 Setting a breakpoint in gdb gets a complaint about trying to set a breakpoint in /lib/libc.so.7. Any ideas what the problem was? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How do you rebuild wpa_supplicant?
Look in /usr/src/usr.sbin/wpa. Oh, duh. I used to know that. Tnx. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How do you rebuild wpa_supplicant?
I would like to rebuild wpa_supplicant to increase the maximum number of APs from 128 to 255. (I'm sitting in an airline lounge at LAX where there are 191 visible APs.) When I use csup to check out the source, there aren't any makefiles. I tried copying in makefiles from the base wpa tarball, which didn't work. Any suggestions how one rebuilds this? If it matters, I'm using 8.2 RELEASE. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fast personal printing _without_ CUPS
I'm not a huge fan of CUPS, but at this point it's the best of a bad lot. I find the queueing useful, since I often print documents long enough that I don't want to wait. More importantly, CUPS, for me at least, seems to be quite slow. There's a lng pause after I queue something for printing until something actually comes out of the printer. Yeah. I have a similar printer with a similar problem. I believe that what's going on is that the current version of CUPS tells all the clients to print to PDF, then for printers that don't handle PDF, converts that to postcript using ghostscript which is very, very slow. I think this is a bug. A few versions ago it used to tell clients to print postscript which it can send directly to my printer. I also looked at using pdftops, which is much faster, to convert the PDF, but the call to ghostscript and the ghostscript command options are wired into the CUPS code and were more hassle to change than I wanted to do. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fast personal printing _without_ CUPS
I'm not a huge fan of CUPS, but at this point it's the best of a bad lot. I find the queueing useful, since I often print documents long enough that I don't want to wait. I don't quite understand the issue you are raising john. $ lpr foo $ lpr bar $ lpr baz It will print the three files in a row, starting each when the previous one is done. Like, you know, a print queue. John are you saying that my documents, some of which *start out* as .PS files, are converted by CUPS to .PDF and thence (since I don't have any printers that speak PDF) the document is then converted *back* to Postscript for actual printing?? Seems that way, based on a little poking around. If I use something like evince, I think it will do whatever CUPS tells it to do. If I use the basic CUPS lpr command to print a .ps file, that's fast since there's nothing smart enough to do something stupid. I think this is a bug. If it is, then I think it may be a long-standing one. I did something very like what I just described doing on FreeBSD 8.2 also back on my old FreeBSD 7.0 system which I first installed maybe three years of more ago. My recollection is that CUPS on FBSD 7 printed a lot faster, although it also may have something to do with the fact that I used to use a USB to parallel thing, and since then I scored a print server card on ebay for about $15 and print over the network. (There are other computers on the network that other people print from, so this is an overall win.) R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Updating emacs fails
anything useful that might help you to fix the problem. We'd need to see * Your choice of options for the port (ie. 'make showconfig' output) * A complete build log showing the problem occurring. (ie 'make clean build' output) * The config.log from $WRKSRC showing what autoconf did. I put them at http://www.taugh.com/emacsbuild.txt R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Updating emacs fails
ncurses is already in the base system - with different options. ... Did you try installing the ncurses port and then rebuilding emacs? For some reason the library in the ncurses port doesn't define the termcap routines, leading to the problem. Whether or not the termcap routines are provided isn't configurable. However, emacs could be confused since they're implemented on top of terminfo. It sounds to me like the right thing to do is to fix emacs' configuration so it always uses the base system ncurses whether or not the package version is there. Right? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Updating emacs fails
For at least several weeks, attempts to rebuild emacs from ports fails with an odd linker error saying it can't find symbols in the termcap library. I poked around a little, the makefile does include the appropriate library and adding it again at the end of the line in the makefile didn't help. This is on 8.2, building it with no nonstandard options I'm aware of. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Do you find chrome on FreeBSD buggy?
I've had the same problem with recent versions on amd64 8.2. The versions at http://chromium.hybridsource.org/ work much better. They cost a little money but it's worth it. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PGP or GPG
In article 20111001173958.GA30989@hs1.VERBENA you write: Can anyone think of any compelling reasons why PGP should be used instead of GPG? The GNU copyleft can be a deal killer in some applications. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump/restore, how to reduce slice size
# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G3.6G 24G13%/var procfs 4.0k4.0k 0B 100%/proc /dev/ad2s1f 39G 25G 10G71%/mnt devfs 1.0k1.0k 0B 100%/var/named/dev as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G but on ad4s1f only 25G used. How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? You can't. ad4s1f has 25G of files, but ad2s1f only has 10G of free space. You need a bigger disk. If you're just moving things around, I agree that a $100 USB disk is the best way to store backups temporarily. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: About suidperl in FreeBSD
Since Perl 5.12 there is no SUIDPERL option in config. It's not a FreeBSD change. SUIDPERL is gone from the 5.12 perl distribution. Using 5.10 is a temporary band-aid, but sooner or later you'll need to rewrite your scripts not to need suid perl programs, either by writing a small suid C wrapper, or perhaps using sudo. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ot : stuck in GRUB
GRUB is the boot program for several versions of Linux, not for FreeBSD. For a useful answer, ask where Linux weenies hang out, not here. Or even better, just google for the text of the error message. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ICMP redirects and FreeBSD
In article 201109180353.vaa25...@lariat.net you write: Here's a networking question: Does FreeBSD generate and accept ICMP redirects? Is it controllable via tuneables? How long do routing tables generated by ICMP redirects last? See man 4 inet and man 4 route R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Huge interrupt overhead reported after RAM added to Atom-based system
I'd like to experiment with having FreeBSD try to use less than the full 4 GB (e.g., to make it act as if memory ended at, say, 3 GB) but I'm not sure how to tell the kernel to do that. In /boot/loader.conf set hw.physmem to whatever size you want it to use. man loader for more info R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gnome-open won't open my browser
gnome-open is the program that opens your browser when you click on a link in gnome-terminal. Except that recently it's started opening Gedit, the gnome text editor, instead. I have triple super checked to be absolutely sure that the preferred web browser application is my browser (chrome). Since I never use gedit, I have stuck in a kludge, replacing gedit with a one line shell script that runs chrome instead, but that's silly. Any suggestions where gnomo-open is getting the idea to run gedit rather than a browser? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: editors/openoffice.org-3
I wouldn't mind using one of the packages but they want perl version 5.12 and I don't want to use that just for OO. Either use -f to force it to go ahead anyway, and then pkgdb -F to fix the dependencies, or else unpack it, edit the dependecy file, repack it, and install it. The latter sounds gross but actually takes about five minutes. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Input file for shutdown warning?
In article 20110517021633.26b47...@gumby.homeunix.com you write: On Mon, 16 May 2011 17:38:21 -0700 Alexander Lardner linuxtu...@gmail.com wrote: Hello, Is it possible to do something like this: shutdown -p now /root/somefile # shutdown - -p now /root/somefile If you had read the man page, you would already know that. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Comparing two lists
Some 10,000 to 20,000 lines each. I do need only the common lines. Order is not essential, but would make life easier. I've tried a little with uniq, as suggested by Polyptron, but I guess 3am is not quite the right time to do these things. Anyway, thanks. sort -u file1 sorted-file1 sort -u file2 sorted-file2 comm -12 sorted-file1 sorted-file2 result R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: malloc: errno: 22: Invalid argument
-- snip #include err.h #include errno.h #include stdlib.h int main(void) { int *i; warn(errno: %d, errno); i = malloc(sizeof(int)); warn(errno: %d, errno); free(i); return (errno); } -- snip Your code is wrong. There's only a useful value in errno after something fails. This would be more reasonable: int main(void) { int *i; /* warn(errno: %d, errno); -- no error, nothing to check */ i = malloc(sizeof(int)); if(!i)warn(errno: %d, errno); /* only warn on failure */ free(i);/* -- free ignores NULL argument */ return (0); /* -- free cannot fail, no meaningful errno */ } This isn't specific to FreeBSD, by the way. It's ANSI C. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Merging CIDR lists
In article alpine.bsf.2.00.1104071026040.41...@wonkity.com you write: Does anyone have a convenient way to merge a list of CIDR netblocks? Using Net::CIDR or Net::CIDR::Lite, both of which are in the ports, this script will do it: - snip - use Net::CIDR; print join(' ',Net::CIDR::cidradd(@ARGV)) . \n; - snip - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: java support in FBSD Firefox 4
In article 4d948902.6000...@wallnet.com you write: Before I attempt to (re)invent the java wheel in Firefox 4... Is there any documentation about how to enable java support already written or available. If there isn't, does anyone have any hints? It's unchanged from 3.6, or at least, when I upgraded from 3.6 to 4 Java kept working. This link explains it pretty well: http://forums.freebsd.org/showthread.php?t=21010 R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MySQL 3 needed but how?
In article 4d8e1e4a.5000...@shopzeus.com you write: Hi, I have an old backup from a MySQL data directory. It was created with MySQL version 3. If I install MySQL 4 then I get this message telling that the table was created with a different MySQL version. You should be able to restore the individual database directories under mysql 4 and use ALTER TABLE to upgrade the file formats. You'll lose the user access stuff, but that's usually easy enough to reconstruct. In MySQL, each database is self-describing. That is, for database foo, the files in the foo/ directory are both the description of the tables and the data in them. http://dev.mysql.com/doc/refman/4.1/en/upgrading-from-3-23.html R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: IP Address not working?
inet 66.111.0.250 netmask 0xffc0 broadcast 66.111.0.255 inet 66.111.0.251 netmask 0x broadcast 66.111.0.251 That netmask should probably be 0xffc0, same as for .250, but ... However, I cannot access the website from outside the box, even with PF turned off: As I recall, on 7.x you still need to to do arp -s so other hosts on the LAN can find it. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to tell whether CPU supports x64?
I have a remote server, and I'd like to know if it will support 64-bit instructions. Is there some way I can tell? It's running 32-bit FreeBSD right now. From dmesg.boot: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.76-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNTX-ID,b14 Logical CPUs per core: 2 real memory = 1073676288 (1023 MB) avail memory = 1041502208 (993 MB) ACPI APIC Table: DELL PE1750 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 Looking at the Intel web site, the only Xeon I see that runs at 2.4GHz and has two cores with two threads is the Xeon 3060, which does indeed provide the 64 bit instruction set. http://ark.intel.com/Product.aspx?id=27205processor=3060spec-codes=SL9TZ,SL9ZH,SLACD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to tell whether CPU supports x64?
yes that is correct, LM stands for Long Mode which indicates amd64 support. If your CPU doesn't list it, it's either a 32 bit only CPU, or it's a bug. . . . or maybe it is a 64 bit CPU that is not x86_64/amd64 compatible. Do IA-64 (Itanium), IBM POWER, and SPARC 64 bit processors use the same Long Mode functionality? This processor is currently running IA32 code. If you know any dual mode IA32/SPARC chips, I'd be most interested to hear about them. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Strange interaction between dump and NFS
Every day, in my logs I see this on an 8.2-RELEASE server: Mar 14 03:11:14 leila mountd[937]: can't export / Mar 14 03:11:14 leila mountd[937]: bad exports list line / -maproot and, indeed, showmout shows that the root isn't exported and NFS mounts of the exported root filesystem stop working. But if I do a kill -HUP of mountd, the export comes back and resumes working. (The /etc/exports file is fine, and does not change.) What happens at 3:11 AM is that dump starts running on the root file system. I use a -L flag, so that's when it's doing the snapshot, which somehow seems to be confusing the mount daemon. But I also dump /var and /usr a little later, and they don't have this problem. The only difference I can see is that /var and /usr have soft updates, while the root doesn't. Any insight into what the heck is going on? To recap: * All three filesystems are NFS exported and are working normally * Dump starts, nothing should change in NFS, but / export stops working * Poke mountd, / export resumes workng. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to umount
[robert@dell64] ~ umount Flash umount: unmount of /home/robert/Flash failed: Device busy Try umount -f The problem is likely that HAL or one of its friends helpfully has the device open just in case you might want to ask questions about it. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fastest way to get an entire FBSD system back online?
It's not as automated as the Windows approach, but if you know what you're doing it's mostly limited by the speed of the disks. ... Unlike Windows, UNIX gives you the ability to create a fully programmable automated approach according to your needs, e. g. for multiple installations, defective systems can be booted via LAN, USB or CD, ... Of course. But the more interesting question is whether anyone's done that, e.g., a script to put dumps and a description of the disk setup on a backup device, and a boot image that will take the description and the dumps and put them back. As far as I know, nobody has. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fastest way to get an entire FBSD system back online?
Is there something similar in the FBSD arena?...some form of backing up a server so that if a drive fails, upon replacement of the drive(s), the OS can be very quickly recovered from a backup (of some sort), or from an image, etc.? I've found that if you make normal backups using dump to a USB disk and keep an install CD handy, it's pretty quick to boot the CD, partition and format the disk, and then restore. It's not as automated as the Windows approach, but if you know what you're doing it's mostly limited by the speed of the disks. Use dump rather than an image copy so you only restore what's actually in use. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Best Laptop to buy for Freebsd Without OS?
At one point, Thinkpads - particularly the T4x series - were _the_ recommended used laptop. While it's been a while since i looked into this formally, my grapevine says the quality went downhill quickly after Lenovo bought IBM's pc hardware division. I'm typing this on my Lenovo X200 running 8.1. For the most part it works quite well and the quality seems similar to my previous IBM X40. The worst annoyance is that the sound volume is quite low, and I haven't yet figured out what to tweak to fix that. It has bluetooth and a fingerprint reader, neither of which I've set up, mostly out of lack of interest. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: google browser?
I've heard certain noises on this list that the current port-maintainer of Chromium has dropped the ball (not my words, just paraphrasing the sentiment from the below thread). That's too bad. I'm using Chromium 6.0.472.63 from the ports which works quite nicely, although I'm aware of the security issues. It has the same plugin interface as Firefox so Flash and Java work reasonably well. It is indeed much faster than Firefox. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: shutdown computer after the halt command
I used to believe that until I was shown I was wrong. The easiest way to see you're wrong is to drop to ttyv0 then do one of each like a reboot then a shutdown -r now. In the latter case, you'll notice /etc/rc.d/ and /usr/local/etc/rc.d/ stop scripts being processed but not so in the former. Uh, no. shutdown or halt signals init, and init runs /etc/rc.shutdown which runs all the shutdown scripts. The only extra work that shutdown does is to blat lots of warnings onto the ttys. Read the man pages for shutdown, halt, and init if you believe otherwise. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: editors/openoffice-org-3.3.0: serious issue with X11
I just installed the current 3.3 snapshot openoffice.org-3.3.20110121 from good-day.net and it seems to work fine on my 8.1 amd64 gnome laptop. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qmail or postfix?
When you do decide on your MTA, I'd recommend buying a book which documents it. Oh, definitely. Particularly if you decide on qmail. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qmail or postfix?
I like qmail, but I would, having written a book about it. If you want something that works reasonably well out of the box, I'd use Postfix. If you want something you can tweak to do whatever you want, qmail is more of a toolkit. Don't use the version of qmail in ports, it includes way too many sloppily written patches. netqmail 1.06 is a reasonable place to start. http://qmail.org/netqmail/ I've replaced the qmail SMTP daemon with Bruce Guenter's mailfront, which is in the ports collection. It has a flexible plugin design which I've used to do better logging, spamassassin and DCC during the SMTP session, etc. Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Changing the MAC address on a LAN adapter
My Lenovo laptop running 8.1 has two ordinary Intel network adapters, a wired PRO/1000 with the em driver and a WiFi PRO/Wireless 5300 with the iwn driver. They work fine, but for either one if I use ifconfig to change the MAC address, the adapter won't actually work until I change the address back to the native one. Typical symptoms are endless DHCP queries with no response. Is this a known problem? As far as I know, it's supposed to work. R's, John PS: If you were wondering, obnoxious airport wifi that cuts you off after an hour and won't let you back on until the next day, keyed by MAC address. em0: Intel(R) PRO/1000 Network Connection 7.0.5 port 0x1840-0x185f mem 0xf260-0xf261,0xf2625000-0xf2625fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt iwn0: Intel(R) PRO/Wireless 5300 mem 0xf250-0xf2501fff irq 17 at device 0.0 on pci3 iwn0: MIMO 3T3R, MoW, address 00:21:6a:b5:18:48 iwn0: [ITHREAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is there a 'Y' (i.e. branch) version of a command pipe?
Is there a command that lets me send standard input to two different places at the same time? (i.e. non-sequentially.) Think of it like a pipe character, but with a 'Y' branch instead. Basically, I want to record standard input to a log file, but also send it to another command for processing. $ man tee R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Firefox 3.6 and Java ?
I gather that Firefox 3.6 still doesn't work with Java, since the glue hasn't been updated. Is anyone likely to be working on this? I'm willing in principle, although my knowledge of both Firefox and Java internals is, ah, somewhat limited. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox 3.6 and Java ?
I gather that Firefox 3.6 still doesn't work with Java, since the glue hasn't been updated. Is anyone likely to be working on this? java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox. I'm trying to build openjdk6 on amd64 8.1-RELEASE, and I'm getting build errors. I did make config and turned on the WEB option, then make. One error went away when I installed libXtst, but there's another near the end of the build when it's trying to build icedtea and it can't find nsThreadUtils.h. That appears to be a firefox36 file, and I see it's installed, but the includes are messed up or something. Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printer recommendations?
My printer is a sturdy old Lexmark Optra T610. CUPS has a driver, which does duplex, N-up, and so forth. Each toner cartridge is good for over 10K pages, so I buy one about every two years, and I can usually find one for $100, making the per page cost very low. Lexmarks are very badly designed (but very slowly getting better ergonomically), expensive to run, and crap themselves with generic toner. ... So, just to be clear, you're telling me that I am imagining the fact that my printer has worked reliably for ten years? I can believe that Lexmark has made bad printers, but if you can still find an Optra T, they're great. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printer recommendations?
Network is the way to go. USB *may* be okay. Parallel is not living anymore - allthough I'm still using it that way, but my home setting is a life support system for obsolete technology anyway. :-) My printer is a sturdy old Lexmark Optra T610. CUPS has a driver, which does duplex, N-up, and so forth. Each toner cartridge is good for over 10K pages, so I buy one about every two years, and I can usually find one for $100, making the per page cost very low. I bought a USB to parallel adapter cable for about $10 which works well, drives the printer fast without swamping the PC. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anybody know apt-get ?
In article 24360.1289127...@tristatelogic.com you write: I need to get sources for the Linux version of certain programs that reside in a package called bsdutils. So get them, already. No need to screw around with Linux binary installers, particularly not on the FreeBSD list: http://packages.debian.org/lenny/bsdutils R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems installing php (php5-spl) with portmaster
portupgrade. However, I just unregistered php5-spl, because its no longer necessary. I believe php5-spl and php5-pcre are now integrated into PHP-5.3 by default. Yes and no. pcre depends on the separate pcre package, and php will fail in baffling ways is your pcre is too old. The maintainer of the php port is aware of this but has declined both to make a one-line change to the Makefile to use the bundled pcre package, or an alternate one-line change to document the version dependency. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Server hardware
My question -- are any server vendors well recommended for FreeBSD? I bought a used HP Proliant DL385 for about $300 on ebay, then loaded it up with 8GB of RAM (making a total of 12GB) for another $200. Works great, FBSD 8.1 groks all the controllers, even produces appropriate syslog messages when I pull a disk out from the RAID and replace it. I got it when I realized it included a good remote console and the whole thing was about the same price as an add-on remote console for my old server. It's got six 73GB 15K rpm disks, for a total of 360GB usable very fast disk, which sounds like less than you want, but you get get these things with six hot swap SATA slots and put in whatever disks you want. They're kind of pricey when new, but you can usually find last year's model cheap on ebay. I also used to build my own, but at prices like this there's no point. It's noisy and power hungry, so I'd only put it in a data center, not in my office. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [OT] writing filters in sh
I was hoping for a generalized, simple idiom for this, rather than needing to implement it myself, for demonstration purposes #!/bin/sh cat $@ | while read x do echo I saw $x done Sheesh. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP version dependency problems, was need help with php.
compiled correctly. Then, still nothing. Typing php at a root prompt outputs these warnings. What's strange is that I _thought_ I had mysql set up correctly. PHP has a bunch of version dependencies on other ports that the guy who maintains the PHP port refuses to fix or even to document. I sent in two fixes for a pcre dependency, one of which was a one-line change to the makefile to use the bundled pcre, the other of which was a different one-line change to note the version depenency on the separate pcre port. He rejected them both, insisting that everyone always keeps all their ports current. That's absurd, but there's not much to be done. The failures were odd PHP bugs in packages like mediawiki that used to work just fine. So if you've built PHP on a system that's not freshly installed, I'd suggest one of these to bring all the ports on which it depends up to date. # portupgrade -R php\* # portmaster php\* R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /var/log/maillog
Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=kline, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 OK, you logged in, checked your mail, and logged out. Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 ethic [4598] A 'bot in the Ukraine attempted to send mail, and your MTA rejected it since it was blacklisted. Those entries are all perfectly normal. Not to belabor the obvious, but you need to tell us what you did, what you expected to happen, what happened instead, and the log entries showing what was going on while it happened. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
Assume, as Mr. Bonomi suggests, that some bad guy has installed some type of additional mailer on the machine or another machine that's allowed to relay mail. How would I go about locating that other mailer? Another popular hack is uploading a PHP script using bugs in a CMS or wiki. Once you have a message with accurate timestamps in the headers, check the web logs at those times, too. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
Is Abuse.net's test adequate to rule out an open mail relay problem? It's pretty thorough, and most MTAs have default configurations that don't permit relay, so it's much less of a problem than it was when I wrote the tester many years ago. I don't try to check for weak SMTP AUTH passwords, a hole that some spamware exploits, so if you do AUTH, it's conceivable that could be it. In your case, though, I would wait for the complainer to forward you a message or two with headers so you can figure out where is spam is coming from. Regards, John Levine, postmas...@abuse.net, http://www.abuse.net, Trumansburg NY abuse.net postmaster ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Grepping a list of words
Since I will have a need to run this check frequently, any suggestions for a better approach are welcome. sort -u and comm(1)? sort is O(N log N) while grep is O(N) Which is faster depends on the constant factors in each, but as the data sets get bigger, the log N term will dominate. That is, for small sets of data, I don't know which will be faster, but either will be fast enough so who cares. For large sets of data, the sort will be slow. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Grepping a list of words
% egrep 'word1|word2|word3|...|wordn' filename.txt Thanks for the replies. This suggestion won't do the job as the list of words is very long, maybe 50-60. This is why I asked how to place them all in a file. One reply dealt with using a file with egrep. I'll try that. Gee, 50 words, that's about a 300 character pattern, that's not a problem for any shell or version of grep I know. But reading the words from a file is equivalent and as you note most likely easier to do. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: firefox install problem
You can manually download the package from a mirror and then install it with pkg_add (pkg_add firefox-3.6.8,1.tbz). Speaking of Firefox 3.6, any progress on making it work with Java? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Very low sound volume on Lenovo X200
I can't get the sound to play above a whisper on my newish laptop. It has two sound channels, one for internal speakers, one for the plug, and it's the same problem for both. Every software sound control, of which there are several, is set to the max. The hardware is fine, it works correctly under Windows (sigh.) Here's dmesg's opinion of what it's got. hdac0: Intel 82801I High Definition Audio Controller mem 0xf262-0xf2623fff irq 17 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090624_0136 hdac0: [ITHREAD] I see that the hda driver has a vast array of options, suggesting that something is defaulting wrong. Any suggestions? Here's what it's got now, from the pindump: hdac0: Dumping AFG cad=0 nid=1 pins: hdac0: nid 22 0x042140f0 as 15 seq 0Headphones Jack jack 1 loc 4 color Green misc 0 hdac0:Caps:OUT HP Sense: 0x7fff hdac0: nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED] hdac0:Caps: IN VREF Sense: 0x7fff hdac0: nid 24 0x04a190f0 as 15 seq 0 Mic Jack jack 1 loc 4 color Pink misc 0 hdac0:Caps: IN VREF Sense: 0x7fff hdac0: nid 25 0x612140f0 as 15 seq 0Headphones None jack 1 loc 33 color Green misc 0 [DISABLED] hdac0:Caps:OUT Sense: 0x7fff hdac0: nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 hdac0:Caps:OUTEAPD hdac0: nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] hdac0:Caps:OUTEAPD hdac0: nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] hdac0:Caps:OUT hdac0: nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1 hdac0:Caps: IN hdac0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdac0: GPIO: data=0x enable=0x direction=0x hdac0: wake=0x unsol=0xsticky=0x R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bourne .sh ?
In article 4c2d2839.3040...@comclark.com you write: I have a file containing this drwxrwxr-x 14 89987 546 512 Jun 6 2009 7.2-RELEASE drwxrwxr-x 14 89987 546 512 Mar 23 04:59 7.3-RELEASE drwxrwxr-x 13 89987 546 512 Nov 23 2009 8.0-RELEASE drwxrwxr-x 13 89987 546 512 Jul 1 04:56 8.1-RC2 I want to strip off everything to the left of the release version so I end up with this. 7.2-RELEASE 7.3-RELEASE 8.0-RELEASE 8.1-RC2 How would I code to do this? sed -e 's/.* //' firstfile secondfile awk '{ print $9}' firstfile secondfile There are far more complicated methods, too. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Anybody else familiar with TECO? *EVIL* grin Oh, you mean that editor I used on a PDP-6? Sigh. Yes. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tape changer/robot
Is there someway I can get it to auto change tape? Take a look at mtx, in the ports collection at misc/mtx, a SCSI media changer and device control package. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP upgrade fails
1) Delete the following packages (if installed): - php5-dbase - php5-ncurses - php5-pcre - php5-spl - php5-ming - php5-mhash and then I tried to rebuild php port. However, php is not working and the ports cannot be updated. Try reinstalling php5-extensions, which should rebuild all the ones that need to be rebuilt. The error messages from PHP should give you a hint which libraries it's looking for. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP upgrade fails
shows me that I still do not have two extensions which I deleted ealier: php5-pcre php5-spl They're both built into PHP 5.3. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.2 to 8.0 upgrade issues
# portupgrade -af --batch --yes after 17 hours (mostly during the night..), it finished with --- ** Upgrade tasks 425: 199 done, 1 ignored, 3 skipped and 1 failed (no error messages here..) Unfortunately, I didn't log the screen output to a file .. - how can I find out what port failed and which where skipped and ignored? Just run it again, and it'll retry the ones that didn't complete - is it normal this didn't recompile all 425 ports? - to rebuild the failed port: is # portupgrade -fr failed-port OK? I'm not sure it's OK, but it's unfortunately pretty typical. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8-STABLE truncated elf file issues after buildworld
/usr/src/tools/build/dummy.c elf_load_section: truncated ELF file Any chance that means the disk filled up? R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Very simple file sharing between FreeBSD server and windows client ?
Is there a simple software to share files between a FreeBSD server and a windows client other than Samba which is a bit overkill for my needings, I concur with the advice to use Samba, but if that's too scary, you can just use FTP. Recent versions of Windows let you define a network location that is an FTP server, and it works well enough to show the files in a pseudo-folder and drag them back and forth to local folders. On Windows, it's a poorly documented option under map network drive. Or real men run COMMAND.CMO and run FTP from the command line. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Small computer to run a GUI?
well. I went checking out Soekris but couldn't really see if they offer a GUI, the models I looked at didn't have a VGA port though. I was hoping for something about 9 inches square and three inches thick, or smaller. Soekris users consider the lack of VGA to be a feature, since they make the systems smaller and less power hungry. If you want to run X stuff, my advice would be to run a X server on your laptop to make it act like an X terminal, and run the applications on the Soekris over the network. That's how X was designed to be used. Works great. If you really really want to run X on your Soekris, you could plug in a mini-PCI video card, which I see you can get for about $45, but I'd recommend not running an X server process on your server hardware. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Small computer to run a GUI?
I was more thinking of something without a monitor, keyboard or mouse. I want to put it in a cupboard and not worry about it. Sounds like a Soekris. Their net5501 has a 500MHz CPU, 512MB RAM, serial ports, Ethernet, USB, compact flash, SATA, mini-PCI, and no video. It runs FreeBSD. The case is quite small, 6.7 x 11.5 x 1.3, but has room for a 2 SATA disk if you want to add one. If you want wifi you can plug in a mini-PCI card. They make it quite clear that their market is OEMs and they do not offer software support, although there is a friendly community that is helpful if you ask sensible questions. Many people run FreeBSD on them. With a case and wall wart it's under $300. They have slower cheaper boards, if that's all you need. See http://www.soekris.com/net5501.htm R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Using different IP config than what DHCP provides
I run FreeBSD 8.0 on my laptop, works great, when I take it with me I open it up, wpa_supplicanr finds a network and DHCP configures it. On a few networks, though, I want to use a different network setup than the one that DHCP provides. Is there any reasonable way to arrange so that when I'm connected to specific network SSIDs, It runs a config script I write rather than running dhclient, perhaps with a shim in front of dhclient? The situation, in case you're wondering, is that the wifi in most of the local coffee shops is run by the same ISP that hosts my servers, and when I'm on their network, I want to set up in my IP range rather than the default one DHCP offers. It is a pain to have to kill dhclient and do the ifconfig and route commands manually. TIA, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: DJB and root ns server dnssec signing
I also use djbdns and don't expect any particular problems, since you don't get EDNS responses if you don't make EDNS queries. There's a one-line patch I can probably dig up which makes dnscache accept oversized responses. Dunno if it would help, but it's unlikely to hurt. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions about port revision numbers, portsnap, csup
I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Here's what's in apc_sem.c.rej *** *** 82,93 } } - if ((semid = semget(key, 1, IPC_CREAT | IPC_EXCL | perms)) = 0) { /* sempahore created for the first time, initialize now */ arg.val = initval; if (semctl(semid, 0, SETVAL, arg) 0) { apc_eprint(apc_sem_create: semctl(%d,...) failed:, semid); } } else if (errno == EEXIST) { /* sempahore already exists, don't initialize */ --- 82,97 } } + if ((semid = semget(key, 2, IPC_CREAT | IPC_EXCL | perms)) = 0) { /* sempahore created for the first time, initialize now */ arg.val = initval; if (semctl(semid, 0, SETVAL, arg) 0) { apc_eprint(apc_sem_create: semctl(%d,...) failed:, semid); } + arg.val = getpid(); + if (semctl(semid, 1, SETVAL, arg) 0) { + apc_eprint(apc_sem_create: semctl(%d,...) failed:, semid); + } } else if (errno == EEXIST) { /* sempahore already exists, don't initialize */ R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: are we CRIMINALS?
He disobeyed a court order. That makes him a criminal. Whether what he was trying to do was right or not is irrelevant. Once the court told him to stop, he should have stopped. I happen to know David Ritz, and it would be extraordinarily out of character for him to have violated a court order. I don't know the exact sequence of alleged events since most of the court papers are sealed, but I do know that for part of the time he was in a coma in the hospital. As others have noted, the judge accepted the plaintiff's claims at face value, even though there are strong reasons to doubt his veracity. This is a travesty of justice, nothing more, nothing less. R's, John PS: It doesn't have much to do with FreeBSD, either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ps2pdf problem
However, when I pass the .ps file through the ghostcript with ps2pdf slides gets trimmed. Is there some more advanced option for ps2pdfwr which will enable me to conserve the proper width of slides? It sounds like your pages are formatted as landscape and are being translated as portrait. See http://ghostscript.com/doc/current/Ps2pdf.htm There are also options for larger page size which might be what you want. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]