From guru at unixarea.de Mon Jun 1 06:34:42 2015 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 1 Jun 2015 08:34:18 +0200 Subject: easy to use WYSIWIG editor for VT102 In-Reply-To: <20150531112511.2c2156c2.freebsd@edvax.de> References: <20150529090528.GA2890@c720-r276659> <20150531112511.2c2156c2.freebsd@edvax.de> Message-ID: <20150601063418.GA2133@c720-r276659> El d?a Sunday, May 31, 2015 a las 11:25:11AM +0200, Polytropon escribi?: > On Fri, 29 May 2015 11:05:28 +0200, Matthias Apitz wrote: > > > > Hello, > > > > I'm looking for an easy to use WYSIWIG editor which could be used on > > VT102 terminals by my 9 years old son (to let him write mails and text files). > > 'ee' is an option, but maybe there is something more fancy supporting > > this type of terminals. > > I could suggest Joe's Own Editor (joe) which I have been > using on a VT-101. If your baudrate is sufficient, you > can even use the Midnight Commander's Editor (mcedit), > and it's _very_ easy to use. > > Basically all text editors are WYSIWYG, except probably > ed, the _standard_ editor, which is YAFIYGI (you asked > for it, you got it). :-) I installed misc/mc-light and run it as $ TERM=vt102 export TERM $ unset TERMCAP $ mcedit ESER.txt I was suprised that it offers in the last line of the screen this: 1Help 2Save 3Mark 4Replac 5Copy 6Move 7Search 8Delete 9PullDn 10Quit (the numbers are black on white, the words are presented inverse) surprised, because the VT102 has no function keys F1...F10. But I figured out that ESC-1 ... ESC-0 do the same job. It's a bit a pitty, that it can not switched to German. There is only an English and a Russian po-file (around 900 lines to translate): $ fgrep msgid mc.pot | wc -l 903 For mc at nuclecu.unam.mx: Are you aware of any German translation of the po-file? Thanks matthias -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umst?nden gebildet wird, so mu? man die Umst?nde menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) From freebsd at edvax.de Mon Jun 1 12:56:04 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 1 Jun 2015 14:55:54 +0200 Subject: easy to use WYSIWIG editor for VT102 In-Reply-To: <20150601063418.GA2133@c720-r276659> References: <20150529090528.GA2890@c720-r276659> <20150531112511.2c2156c2.freebsd@edvax.de> <20150601063418.GA2133@c720-r276659> Message-ID: <20150601145554.71709b29.freebsd@edvax.de> On Mon, 1 Jun 2015 08:34:18 +0200, Matthias Apitz wrote: > I installed misc/mc-light and run it as > > $ TERM=vt102 export TERM > $ unset TERMCAP > $ mcedit ESER.txt > > I was suprised that it offers in the last line of the screen this: > > 1Help 2Save 3Mark 4Replac 5Copy 6Move 7Search 8Delete 9PullDn 10Quit > > (the numbers are black on white, the words are presented inverse) Why surprised? Remember the Norton Commander, and also have a look at the MC's (default) file management view. The function keys are being _used_ in a consistent manner. > surprised, because the VT102 has no function keys F1...F10. But I > figured out that ESC-1 ... ESC-0 do the same job. Yes, that will work. I had the same experience on the VT-101. You can also invoke the Meta- keys using ESC, for example Meta-? = Esc ? to open the file search dialog. > It's a bit a pitty, that it can not switched to German. It can be switched to German - at least the "non-lite version" has support for many languages (which I have installed). 1Hilfe 2Spe~rn 3Mar~en 4Ers~en 5Kop~en 6Ver~en 7Suchen 8L?s~en 9Men?s 10Bee~e Sadly the translated words are too long, and the "shortening" is quite suboptimal. It would be much better this way (same width for each entry): 1Hilfe 2Speich 3Mark 4Ersetz 5Kopier 6Versch 7Suchen 8L?sch 9Men?s 10Beend In a terminal window wider than 80 characters the full text will be visible. 1Hilfe 2Speichern 3Markieren 4Ersetzen 5Kopieren 6Verschieben 7Suchen 8L?schen 9Men?s 10Beenden Try the following (bash syntax): $ LC_ALL=de_DE.ISO8859-1 /usr/local/bin/mcedit -da The interface should appear in German, but the "lite version" is probably limited in this regards. Maybe a separate language package could be provided for the "lite version"? Or you just install the "non-lite version" and give that a try... And now: "Datei umbewegen"! ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wam at hiwaay.net Mon Jun 1 13:30:42 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Mon, 01 Jun 2015 08:36:49 -0453 Subject: Emulation questions Message-ID: <556C5E7A.7020901@hiwaay.net> How is native 64-bit linux emulation proceeding ? I would be an eager user & would be willing to try to help debug things. Separately, what is the difference between the qemu-devel & qemu-sbruno ports ? The pkg-descr is pretty much identical (& boilerplate) for both, they are slightly different versions (2.3.0 vs. 2.3.5), any other notable differences ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From aryeh.friedman at gmail.com Mon Jun 1 16:48:47 2015 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon, 1 Jun 2015 12:48:46 -0400 Subject: best options for a *WORKING* MTA Message-ID: I have tried every which way I can find in the handbook and/or on the net to get a working mail server and the best I can do get the default sendmail to answer on localhost only (postfix seems to be completely broken). Where can I find a good *SIMPLE* set of instructions on how to set up a working mail server to accept mail for my domain? -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From guru at unixarea.de Mon Jun 1 16:56:33 2015 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 1 Jun 2015 18:56:26 +0200 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: <20150601165626.GA2379@c720-r276659> El d?a Monday, June 01, 2015 a las 12:48:46PM -0400, Aryeh Friedman escribi?: > I have tried every which way I can find in the handbook and/or on the net > to get a working mail server and the best I can do get the default sendmail > to answer on localhost only (postfix seems to be completely broken). > Where can I find a good *SIMPLE* set of instructions on how to set up a > working mail server to accept mail for my domain? attached below is mine which works fine for years for my domain 'unixarea.de' and MX host of the ISP smtp.1blu.de matthias $Id: sendmail.txt,v 1.4 2014/10/05 14:51:32 guru Exp $ how to enable AUTH in SMTP (required since 2010 for my outbound mail): we need the follwing ports and a recompiled 'sendmail' with some config; details are described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html - install port security/cyrus-sasl2 - config line in /usr/local/lib/sasl2/Sendmail.conf pwcheck_method: saslauthd - install port security/cyrus-sasl2-saslauthd, - edit /etc/rc.conf: saslauthd_enable="YES" - restart daemon with # /usr/local/etc/rc.d/saslauthd start - recompile sendmail with /etc/make.conf set to SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # cd /usr/src/lib/libsmutil # make cleandir && make obj && make # cd /usr/src/lib/libsm # make cleandir && make obj && make # cd /usr/src/usr.sbin/sendmail # make cleandir && make obj && make && make install - configure sendmail with the lines in /etc/mail/current.Sisis.de.mc: # added by guru # define(`SMART_HOST', `smtp.1blu.de')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`masquerade_envelope') FEATURE(`accept_unresolvable_domains') FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl # MAILER(local) MAILER(smtp) # added by guru # MASQUERADE_AS(`unixarea.de') # dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl # # end of adds - run make and move the config as: # mv current.Sisis.de.cf sendmail.cf # mv current.Sisis.de.submit.cf submit.cf # /etc/rc.d/sendmail onerestart AUTH for SMTP is described in http://www.sendmail.org/~ca/email/auth.html - config AUTH in (create) /etc/mail/auth/client-info as: AuthInfo:smtp.1blu.de "U:root" "I:YYYYYYYYYYYYY" "P:XXXXXXXXXXXXX" see: http://www.sendmail.org/documentation/configurationReadme The RHS for an AuthInfo: entry in the access map should consists of a list of tokens, each of which has the form: "TDstring" (including the quotes). T is a tag which describes the item, D is a delimiter, either ':' for simple text or '=' for a base64 encoded string. Valid values for the tag are: U user (authorization) id I authentication id P password R realm M list of mechanisms delimited by spaces - build the database # cd /etc/mail/auth # makemap hash client-info < client-info # chmod 0600 client-info all should be fine now; - to test SSL: $ openssl s_client -connect smtp.1blu.de:25 -starttls smtp # /etc/rc.d/sendmail restart # printf "To: guru at unixarea.de\nSubject: test\n\ntest\n" | /usr/sbin/sendmail -t # tail -f /var/log/maillog Oct 5 16:46:13 unixarea sm-mta[2805]: STARTTLS=client, relay=smtp.1blu.de., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Oct 5 16:46:14 unixarea sm-mta[2805]: s95Ek5j4002803: to=, ctladdr= (1001/0), delay=00:00:08, xdelay=00:00:08, mailer=relay, pri=30342, relay=smtp.1blu.de. [178.254.4.101], dsn=2.0.0, stat=Sent (OK id=1Xan4f-0007Lv-Qu) -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umst?nden gebildet wird, so mu? man die Umst?nde menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) From jerry at seibercom.net Mon Jun 1 17:00:58 2015 From: jerry at seibercom.net (Jerry) Date: Mon, 1 Jun 2015 13:00:45 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: <20150601130045.7ae5f0b1@seibercom.net> On Mon, 1 Jun 2015 12:48:46 -0400, Aryeh Friedman stated: > I have tried every which way I can find in the handbook and/or on the net > to get a working mail server and the best I can do get the default sendmail > to answer on localhost only (postfix seems to be completely broken). > Where can I find a good *SIMPLE* set of instructions on how to set up a > working mail server to accept mail for my domain? Seriously, if you cannot get Postfix to work, and it basically works "out of the box", perhaps administering to a mail server is not a wise idea. It sounds to me like you will end up getting your entire network blacklisted. By the way, did you disable and shutdown SendMail BEFORE starting Postfix? In addition, do you even have a dedicated IP address? -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From ml at netfence.it Mon Jun 1 17:01:08 2015 From: ml at netfence.it (Andrea Venturoli) Date: Mon, 01 Jun 2015 18:55:18 +0200 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: <556C8E76.1010802@netfence.it> On 06/01/15 18:48, Aryeh Friedman wrote: > I have tried every which way I can find in the handbook and/or on the net > to get a working mail server and the best I can do get the default sendmail > to answer on localhost only (postfix seems to be completely broken). > Where can I find a good *SIMPLE* set of instructions on how to set up a > working mail server to accept mail for my domain? If, as you say, you tried "every which way you could find", I'll doubt yet another tutorial/howto would give different results. Perhaps you could tell us what went wrong when you followed the handbook instructions and we could help you overcome the issue. bye av. From aimass at yabarana.com Mon Jun 1 17:51:24 2015 From: aimass at yabarana.com (Alejandro Imass) Date: Mon, 1 Jun 2015 13:51:17 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: On Mon, Jun 1, 2015 at 12:48 PM, Aryeh Friedman wrote: > I have tried every which way I can find in the handbook and/or on the net > to get a working mail server and the best I can do get the default sendmail I hate sendmail but I love FreeBSD and I simply not use it and use Postfix. > to answer on localhost only (postfix seems to be completely broken). Not sure what you mean. I use Postfix in FBSD for years now. > Where can I find a good *SIMPLE* set of instructions on how to set up a > working mail server to accept mail for my domain? > First describe what problems you are having exactly. General questions will only get you general answers. Basically you can simply disable Sendmail and enable Postfix and it works perfectly. There is a general recipe for it but YMMV so be more specific and perhaps we can be more useful. Best, Alex From jerry at seibercom.net Mon Jun 1 18:54:35 2015 From: jerry at seibercom.net (Jerry) Date: Mon, 1 Jun 2015 14:54:25 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: <20150601145425.20b56f3a@seibercom.net> On Mon, 1 Jun 2015 13:51:17 -0400, Alejandro Imass stated: > On Mon, Jun 1, 2015 at 12:48 PM, Aryeh Friedman > wrote: > > I have tried every which way I can find in the handbook and/or on the net > > to get a working mail server and the best I can do get the default > > sendmail > > I hate sendmail but I love FreeBSD and I simply not use it and use Postfix. > > > to answer on localhost only (postfix seems to be completely broken). > > Not sure what you mean. I use Postfix in FBSD for years now. > > > Where can I find a good *SIMPLE* set of instructions on how to set up a > > working mail server to accept mail for my domain? > > > > First describe what problems you are having exactly. General questions > will only get you general answers. > > Basically you can simply disable Sendmail and enable Postfix and it > works perfectly. > > There is a general recipe for it but YMMV so be more specific and > perhaps we can be more useful. Add to /etc/rc.conf ## Disable SENDMAIL sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" ## Start POSTFIX postfix_enable="YES" Now, either manually shut down SendMail or reboot. If you don't reboot, you will have to manually start Posfix. Personally, I would recommend that you reboot. I will leave learning how to configure Postfix as an exercise for the poster. Joining the Postfix Forum would probably be a wise move. -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From aryeh.friedman at gmail.com Mon Jun 1 18:59:46 2015 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon, 1 Jun 2015 14:59:44 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: <20150601145425.20b56f3a@seibercom.net> References: <20150601145425.20b56f3a@seibercom.net> Message-ID: On Mon, Jun 1, 2015 at 2:54 PM, Jerry wrote: > On Mon, 1 Jun 2015 13:51:17 -0400, Alejandro Imass stated: > > > On Mon, Jun 1, 2015 at 12:48 PM, Aryeh Friedman > > wrote: > > > I have tried every which way I can find in the handbook and/or on the > net > > > to get a working mail server and the best I can do get the default > > > sendmail > > > > I hate sendmail but I love FreeBSD and I simply not use it and use > Postfix. > > > > > to answer on localhost only (postfix seems to be completely broken). > > > > Not sure what you mean. I use Postfix in FBSD for years now. > > > > > Where can I find a good *SIMPLE* set of instructions on how to set up a > > > working mail server to accept mail for my domain? > > > > > > > First describe what problems you are having exactly. General questions > > will only get you general answers. > > > > Basically you can simply disable Sendmail and enable Postfix and it > > works perfectly. > > > > There is a general recipe for it but YMMV so be more specific and > > perhaps we can be more useful. > > > Add to /etc/rc.conf > > ## Disable SENDMAIL > sendmail_enable="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > > ## Start POSTFIX > postfix_enable="YES" > > Now, either manually shut down SendMail or reboot. If you don't reboot, you > will have to manually start Posfix. Personally, I would recommend that you > reboot. I will leave learning how to configure Postfix as an exercise for > the > poster. Joining the Postfix Forum would probably be a wise move. > > That's the exact procedure I tried several times before posting the request for help -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From jon at radel.com Mon Jun 1 19:08:19 2015 From: jon at radel.com (Jon Radel) Date: Mon, 01 Jun 2015 15:08:10 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> Message-ID: <556CAD9A.6040005@radel.com> On 6/1/15 2:59 PM, Aryeh Friedman wrote: > That's the exact procedure I tried several times before posting the request > for help > Since you still haven't given us the slightest hint of what happens and why it isn't what you were hoping for, or what doesn't happen and why you think it would be a good thing if it did, that response is pretty much a waste of bits. --Jon Radel jon at radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3870 bytes Desc: S/MIME Cryptographic Signature URL: From aryeh.friedman at gmail.com Mon Jun 1 19:11:50 2015 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon, 1 Jun 2015 15:11:48 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: <556CAD9A.6040005@radel.com> References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> Message-ID: Yes I did I said several time.... I specifically said I can connect to port 25 from localhost but not remotely... I fixed it with exim so it is not an issue any more but the point is the default sendmail config is simply broken and so badly documented that making it work as described in the handbook or on various sites for 10.1 is very confusing On Mon, Jun 1, 2015 at 3:08 PM, Jon Radel wrote: > On 6/1/15 2:59 PM, Aryeh Friedman wrote: > >> That's the exact procedure I tried several times before posting the >> request >> for help >> >> Since you still haven't given us the slightest hint of what happens and > why it isn't what you were hoping for, or what doesn't happen and why you > think it would be a good thing if it did, that response is pretty much a > waste of bits. > > --Jon Radel > jon at radel.com > > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From odhiambo at gmail.com Mon Jun 1 19:18:26 2015 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon, 1 Jun 2015 22:17:43 +0300 Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> Message-ID: On 1 June 2015 at 22:11, Aryeh Friedman wrote: > Yes I did I said several time.... I specifically said I can connect to port > 25 from localhost but not remotely... I fixed it with exim so it is not an > issue any more but the point is the default sendmail config is simply > broken and so badly documented that making it work as described in the > handbook or on various sites for 10.1 is very confusing > Great! Exim won!! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From aryeh.friedman at gmail.com Mon Jun 1 19:39:32 2015 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon, 1 Jun 2015 15:39:30 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> Message-ID: On Mon, Jun 1, 2015 at 3:31 PM, Valeri Galtsev wrote: > > On Mon, June 1, 2015 2:11 pm, Aryeh Friedman wrote: > > Yes I did I said several time.... I specifically said I can connect to > > port > > 25 from localhost but not remotely... I fixed it with exim so it is not > an > > issue any more but the point is the default sendmail config is simply > > broken and so badly documented that making it work as described in the > > handbook or on various sites for 10.1 is very confusing > > Disclaimer: I do not use sendmail, during last decade and a half I use > postfix, and am very happy about it (postfix was written with security in > mind...) However, occasionally it takes me some time after setting up new > FreeBSD box before I switch to postfix, and in an interim, I never noticed > sendmail to be broken. Again, I'm not a big fan of sendmail (though waaay > back "configure sendmail" was part of sysadmin test I had to pass), but to > say sendmail config on FreeBSD is broken is unfair IMHO. > Then tell me how this is not broken when the default behaviour (even after editing local-host-names): from Localhost: telnet localhost 25 [standard SMTP output] from any other machine: telnet mailserver 25 connection refused and no where in the handbook or documentation does it a) say this is the default behavior and b) how to fix it with installing SASL or something else from ports (violating the idea that the base system works out of the box with no additions) -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From cswiger at mac.com Mon Jun 1 19:42:44 2015 From: cswiger at mac.com (Charles Swiger) Date: Mon, 1 Jun 2015 12:42:37 -0700 Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> Message-ID: <98FAF194-39CB-4411-8196-B0886B60CF15@mac.com> On Jun 1, 2015, at 12:39 PM, Aryeh Friedman wrote: > from any other machine: > telnet mailserver 25 > connection refused Absent other information, I'd imagine your ISP is filtering port 25. Run "tcpdump port 25" on mailserver and retry the remote telnet to confirm. Regards, -- -Chuck From galtsev at kicp.uchicago.edu Mon Jun 1 19:42:59 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Mon, 1 Jun 2015 14:42:58 -0500 (CDT) Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> Message-ID: <38748.128.135.70.2.1433187778.squirrel@cosmo.uchicago.edu> On Mon, June 1, 2015 1:59 pm, Aryeh Friedman wrote: > On Mon, Jun 1, 2015 at 2:54 PM, Jerry wrote: > >> On Mon, 1 Jun 2015 13:51:17 -0400, Alejandro Imass stated: >> >> > On Mon, Jun 1, 2015 at 12:48 PM, Aryeh Friedman >> > wrote: >> > > I have tried every which way I can find in the handbook and/or on >> the >> net >> > > to get a working mail server and the best I can do get the default >> > > sendmail >> > >> > I hate sendmail but I love FreeBSD and I simply not use it and use >> Postfix. >> > >> > > to answer on localhost only (postfix seems to be completely broken). >> > >> > Not sure what you mean. I use Postfix in FBSD for years now. >> > >> > > Where can I find a good *SIMPLE* set of instructions on how to set >> up a >> > > working mail server to accept mail for my domain? >> > > >> > >> > First describe what problems you are having exactly. General questions >> > will only get you general answers. >> > >> > Basically you can simply disable Sendmail and enable Postfix and it >> > works perfectly. >> > >> > There is a general recipe for it but YMMV so be more specific and >> > perhaps we can be more useful. >> >> >> Add to /etc/rc.conf >> >> ## Disable SENDMAIL >> sendmail_enable="NO" >> sendmail_submit_enable="NO" >> sendmail_outbound_enable="NO" >> sendmail_msp_queue_enable="NO" >> >> ## Start POSTFIX >> postfix_enable="YES" >> >> Now, either manually shut down SendMail or reboot. If you don't reboot, >> you >> will have to manually start Posfix. Personally, I would recommend that >> you >> reboot. I will leave learning how to configure Postfix as an exercise >> for >> the >> poster. Joining the Postfix Forum would probably be a wise move. >> >> > That's the exact procedure I tried several times before posting the > request > for help > Mail server configuration is something much-much larger that just enabling the server daemon. Neither of system distributions will come with fully configured mail server (and respecting himself sysadmin will not be using something he didn't sonfigure himself anyway). As someone already mentioned (or almost mentioned), you may need to hire some sysadmin to set up email system for you (no, I am not available for anything like that). Alternatively, you can do it yourself, but it will take weeks and a lot of digging into how e-mail works - at least for one's first mail server setup, then you will learn a lot by doing. But this will be a lot of work, at least for the first time... Just my $0.02 Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From aryeh.friedman at gmail.com Mon Jun 1 19:44:09 2015 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon, 1 Jun 2015 15:44:08 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: <98FAF194-39CB-4411-8196-B0886B60CF15@mac.com> References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> <98FAF194-39CB-4411-8196-B0886B60CF15@mac.com> Message-ID: On Mon, Jun 1, 2015 at 3:42 PM, Charles Swiger wrote: > > On Jun 1, 2015, at 12:39 PM, Aryeh Friedman > wrote: > > from any other machine: > telnet mailserver 25 > connection refused > > > Absent other information, I'd imagine your ISP is filtering port 25. > Run "tcpdump port 25" on mailserver and retry the remote telnet to confirm. > > Not likely installing exim fixed it right away and the last time I heard RootBSD does not do any port blocking -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From freebsd at edvax.de Mon Jun 1 20:03:32 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 1 Jun 2015 22:03:22 +0200 Subject: best options for a *WORKING* MTA In-Reply-To: <38748.128.135.70.2.1433187778.squirrel@cosmo.uchicago.edu> References: <20150601145425.20b56f3a@seibercom.net> <38748.128.135.70.2.1433187778.squirrel@cosmo.uchicago.edu> Message-ID: <20150601220322.22f3d167.freebsd@edvax.de> On Mon, 1 Jun 2015 14:42:58 -0500 (CDT), Valeri Galtsev wrote: > As someone already > mentioned (or almost mentioned), you may need to hire some sysadmin to set > up email system for you (no, I am not available for anything like that). > Alternatively, you can do it yourself, but it will take weeks and a lot of > digging into how e-mail works - at least for one's first mail server > setup, then you will learn a lot by doing. But this will be a lot of work, > at least for the first time... It primarily involves reading and testing. The expectation to "download something from somewhere" and obtain a fully functional and tailored (!) solution is just unreadlistic. But after all, running a mail server isn't something magic. Anyone who is willing to read and think is able to do it, if he's able to learn the required parts. This is just one example to learn from: http://www.spamhaus.org/news/article/719/a-survival-guide-for-the-small-mail-server Not all examples will be usable 1:1. Most need conclusions and decisions (for example when the instructions are for Linux, but you want to use them on FreeBSD). Additionally to knowledge how e-mail works, you need to know certain networking tools for diagnostics (such as tcpdump, telnet, maybe Wireshark). In the case where something does not work there is a reason _why_ it does not work. Find that reason, apply the required corrections, and try again. It's also important to have a good understanding of _what_ is happening at the moment (more than "it doesn't work"). Commands used and their output are common tools when addressing "doesn't work" problems. With very small effort, you can easily conclude what's wrong. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From galtsev at kicp.uchicago.edu Mon Jun 1 20:04:57 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Mon, 1 Jun 2015 14:31:48 -0500 (CDT) Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> Message-ID: <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> On Mon, June 1, 2015 2:11 pm, Aryeh Friedman wrote: > Yes I did I said several time.... I specifically said I can connect to > port > 25 from localhost but not remotely... I fixed it with exim so it is not an > issue any more but the point is the default sendmail config is simply > broken and so badly documented that making it work as described in the > handbook or on various sites for 10.1 is very confusing Disclaimer: I do not use sendmail, during last decade and a half I use postfix, and am very happy about it (postfix was written with security in mind...) However, occasionally it takes me some time after setting up new FreeBSD box before I switch to postfix, and in an interim, I never noticed sendmail to be broken. Again, I'm not a big fan of sendmail (though waaay back "configure sendmail" was part of sysadmin test I had to pass), but to say sendmail config on FreeBSD is broken is unfair IMHO. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From jon at radel.com Mon Jun 1 20:37:10 2015 From: jon at radel.com (Jon Radel) Date: Mon, 01 Jun 2015 16:37:06 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> Message-ID: <556CC272.8040402@radel.com> On 6/1/15 3:11 PM, Aryeh Friedman wrote: > Yes I did I said several time.... Once by my count, in reference to sendmail only. But who's counting. > I specifically said I can connect to port 25 from localhost but not > remotely... I fixed it with exim so it is not an issue any more but > the point is the default sendmail config is simply broken and so badly > documented that making it work as described in the handbook or on > various sites for 10.1 is very confusing > Sendmail confusing -- say it's not so. Ah, for the good old days when you edited sendmail.cf directly, instead of all this fruh-fruh macro stuff, after carefully studying the 1,282 pages that are the 4th edition of O'Reilly's sendmail. Did you change the default sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). to "YES" in your /etc/rc.conf? You're describing the default behavior if you don't do that. If you didn't, might I suggest as a general rule that you read /etc/defaults/rc.conf for anything that ships with base and doesn't work as you want; it's quite well commented. And no, you don't need SASL or anything else from ports. And yes, that's a sensible default; every server accepting mail from anywhere out-of-the-box by default would cause more messes than it would solve. As for postfix, as the default port includes a config file that includes listening on all interfaces, so if you were seeing the same thing there I wouldn't know what the issue is. But if you're happy with exim, all should be well. --Jon Radel jon at radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3870 bytes Desc: S/MIME Cryptographic Signature URL: From m.seaman at infracaninophile.co.uk Mon Jun 1 21:08:39 2015 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon, 01 Jun 2015 22:08:17 +0100 Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> Message-ID: <556CC9C1.7080903@infracaninophile.co.uk> On 01/06/2015 20:39, Aryeh Friedman wrote: > Then tell me how this is not broken when the default behaviour (even after > editing local-host-names): > > from Localhost: > telnet localhost 25 > [standard SMTP output] > > from any other machine: > telnet mailserver 25 > connection refused > > and no where in the handbook or documentation does it a) say this is the > default behavior and b) how to fix it with installing SASL or something > else from ports (violating the idea that the base system works out of the > box with no additions) local-host-names has nothing to do with what network interfaces and ports sendmail will listen on. The default setting using the stock sendmail with 'sendmail_enable="NO"' is to run sendmail bound to the loopback interface. This means you can send e-mail but not receive it on a machine. To disable sendmail completely you need 'sendmail_outbound_enable="NO"' This is documented in rc.sendmail(8) Now, making sendmail work as an MTA to receive incoming e-mails is more complex. I will happily explain, but as it seems that you have managed to make exim do what you want, I shall forbear to do so unless requested. Other than to confirm that while the stock sendmail will both send and receive e-mail, you will certainly need to compile SASL functionality into it (or simply use the ports version of sendmail) if you want to be able to authenticate users eg. for submitting new messages. The stock sendmail in the base system is poorly configured for use as a personal MTA. Personally I'd just install postfix -- I'm a recent convert -- as it makes much more sense to me than either sendmail or exim, but whatever floats your boat. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From jerry at seibercom.net Mon Jun 1 21:14:13 2015 From: jerry at seibercom.net (Jerry) Date: Mon, 1 Jun 2015 17:14:02 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> Message-ID: <20150601171402.3d0f2686@seibercom.net> On Mon, 1 Jun 2015 15:39:30 -0400, Aryeh Friedman stated: > Then tell me how this is not broken when the default behaviour (even after > editing local-host-names): > > from Localhost: > telnet localhost 25 > [standard SMTP output] > > from any other machine: > telnet mailserver 25 > connection refused > > and no where in the handbook or documentation does it a) say this is the > default behavior and b) how to fix it with installing SASL or something > else from ports (violating the idea that the base system works out of the > box with no additions) Okay, before you waste everyone's time, post the output of "postconf -nf" and "postconf -Mf" I assume you are using the latest version of postfix. Furthermore, it does work out of the box. Adding SASL, DKIM, etcetera is not a basic installation. -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From monahbaki at gmail.com Mon Jun 1 21:42:32 2015 From: monahbaki at gmail.com (monahbaki at gmail.com) Date: Mon, 01 Jun 2015 17:42:38 -0400 Subject: best options for a *WORKING* MTA In-Reply-To: <20150601171402.3d0f2686@seibercom.net> References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> <20150601171402.3d0f2686@seibercom.net> Message-ID: <20150601214238.5992594.44815.37613@gmail.com> ? Original Message ? From: Jerry Sent: Monday, June 1, 2015 5:14 PM To: FreeBSD FreeBSD Reply To: FreeBSD FreeBSD Subject: Re: best options for a *WORKING* MTA On Mon, 1 Jun 2015 15:39:30 -0400, Aryeh Friedman stated: > Then tell me how this is not broken when the default behaviour (even after > editing local-host-names): > > from Localhost: > telnet localhost 25 > [standard SMTP output] > > from any other machine: > telnet mailserver 25 > connection refused > > and no where in the handbook or documentation does it a) say this is the > default behavior and b) how to fix it with installing SASL or something > else from ports (violating the idea that the base system works out of the > box with no additions) Okay, before you waste everyone's time, post the output of "postconf -nf" and "postconf -Mf" I assume you are using the latest version of postfix. Furthermore, it does work out of the box. Adding SASL, DKIM, etcetera is not a basic installation. -- Jerry From lenzi.sergio at gmail.com Mon Jun 1 23:28:06 2015 From: lenzi.sergio at gmail.com (sergio de Almeida Lenzi) Date: Mon, 01 Jun 2015 20:27:59 -0300 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: <1433201279.97664.16.camel@lenzinote.lenzicasa> Em Seg, 2015-06-01 ?s 12:48 -0400, Aryeh Friedman escreveu: > I have tried every which way I can find in the handbook and/or on the net > to get a working mail server and the best I can do get the default sendmail > to answer on localhost only (postfix seems to be completely broken). > Where can I find a good *SIMPLE* set of instructions on how to set up a > working mail server to accept mail for my domain? > I use the old and reliable sendmail just 3 files and it works all the files in the /etc/mail cd /etc/mail touch mailertable virtusertable access aliases than copy the files: sendmail.mc and localh-host-names into the /etc/mail edit /etc/rc.conf, be sure to have a line sendmail_enable="YES" in the /etc/mail.... command: make this will build the config files for sendmail than... start sendmail with the command: service sendmail restart DONE... every user you have in your machine will receive email with your login... for example: user at yourdomain.com bobuser at yourdomain.com just be shore that the file /etc/mail/local-host-names have the name of your host AND in another line the name of your domain. DONE ========sendmail.mc========== divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.37.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confDONT_PROBE_INTERFACES',`yes') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) ===========local-host-names====edit as apropriate======== yourdomain.com your.host.name.com ================= From lechensales at vip.163.com Tue Jun 2 00:07:47 2015 From: lechensales at vip.163.com (cherry zhang) Date: Tue, 2 Jun 2015 08:06:36 +0800 (CST) Subject: smart home base device Message-ID: <5a5d13d4.15423.14db1975c27.Coremail.lechensales@vip.163.com> Dear , You will use smart device in your house in the feature ,the PLC (Powerline communication ) will be your best choice for network construction. We are the manufacturer of POE +PLC, which can supply DC 55V,30W to your device without any power unit. ,IEEE802.3 at&af standard both are available.Now we also have DC12V,1A Poe powerline adapter. You also can match with master to construct your own network or supply service to your clients conveniently.Industry MV 1000M powerline adapter (G.hn) and 7450 homeplug AV2 powerline adapters are also available. You can connect network from anywhere you can find a outlet .Our products can be used in family, company, intelligence power grid management, telecom operation, security system, buildings,sea port airport ,ETC ,bank and business places. We can accept OEM/ ODM order of power line communications (PLC) Products : power line adapter, phone line Ethernet Bridge, coaxial Ethernet Bridge, PLC IP camera,VDSL2 . powerline ethernet bridge master , phoneline ethernet bridge master and coaxial cable ethernet bridge master are also our featured products. samples are available after cost. Low MOQ. if you have any requirement, pls contact me freely. More information ,pls view: www.wondertek.com http://wondertek.en.alibaba.com/ B&R Cherry zhang skype:lechentek email:lechensales at vip.163.com TELE:86-512-83670078-1016 -- B&R Cherry Zhang http://www.wondertek.com/ Email:cherry.zhang at wondertek.com lechensales at vip.163.com skype:lechentek TEL:+86-512-83670078-1016 From myawaddy at 163.com Tue Jun 2 01:20:56 2015 From: myawaddy at 163.com (AnthonyL) Date: Tue, 2 Jun 2015 01:20:20 +0000 (UTC) Subject: best options for a *WORKING* MTA References: Message-ID: On Mon, 01 Jun 2015 12:48:46 -0400, Aryeh Friedman wrote: > I have tried every which way I can find in the handbook and/or on the > net to get a working mail server and the best I can do get the default > sendmail to answer on localhost only (postfix seems to be completely > broken). It's not simple. I've always found online blogger's tutorials to be a waste of my time. You should be reading only the documentation provided by Postfix.org itself and also your distribution's Postfix specific documentation; FreeBSD, Debian etc. Read both, and make sure you are reading the documentation for the correct versions of both your distro and Postfix. For me, there really were many hours of frustration caused by overlooking the simple gotchas written in bold print in both Postfix's and my distro's documentation. These are often missing from the blogger's tutorials you will find by querying the search engines for "Postfix Configuration How To." Don't try to do it all at once with TLS/Cryus-sasl/Spamassasin/Dovecot on your first attempt. I've always succeeded taking it one step at a time and testing each config change with either telnet or "openssl s_client," before adding more changes. When testing I send test messages to mailinator.com instead of a real email address to avoid being blacklisted for sending too many test messages. Make one configuration change, then test that it works, then back it up. This way you can rollback to a working configuration if the next change fails. Take baby steps; Is the port open? Is it firewalled? Is anybody listening on that port? Is Postfix even running? I've found the simplest way by far to set up a working mailserver is to read the fine manual [RTFM]. Postfix's documentation is excellent. I could kick myself in the head for each time I've goggled for a quick and easy "how to" tutorial instead of reading the manuals. The tutorials never tell you to trun off your partially tested mailserver when you are not actually testing it. Spammers found one of my partially configured Postfix mailservers that I left running overnight on a VPS and sent out 40k plus messages before my VPS was banned/closed and my IP was blacklisted. Ha! Good luck. From ccd at sunivision.com Tue Jun 2 02:55:19 2015 From: ccd at sunivision.com (Annabelle) Date: Mon, 1 Jun 2015 12:23:51 +0800 Subject: Main export products Content of CCTV cameras Message-ID: <463321320ABAFBDE29ACC69F68FC747889FB764D8@SUNIVISION.COM> Dear Manager, How're you? The attached is the Main export products Content of CCTV cameras from October, 2014 to February, 2015 in China. PS: The data did contain Dahua AND Hikvision. Sinc?rement/Best wishes! Sales Manager Annabelle Zhang Mobile/WhatsApp/Viber/Tango: +86-159-1437-9945 Wechat: Annabelle-Zhang E-mail/Linkedin: sunivision1 at sunivision.com QQ: 2717058125 Alibaba ID: cn1500467641 Skype: sunivision1 Tel: +86-020-28217659 ext 820 Website: http://www.sunivision.com ADDRESS? Floor 3, Building B, Taoyuan Industrial Park, Huangpu East Development Zone, Guangzhou, China Remarks: 1. The sample order is available and all the prices based on FOB Guangzhou. ( DHL, FedEX, EMS, UPS, TNT.) 2. Terms of Payment: L/C, T/T, Western Union, Paypal. 3. Delivery Time: Sample order 2-5days, mass order 3-7days. 4. Warranty: Two-year International Warranty. 5. Neutral packing, color box or brown paper box. -------------- next part -------------- A non-text attachment was scrubbed... Name: CCTV Cameras-Annabelle.pdf Type: application/octet-stream Size: 97877 bytes Desc: not available URL: From lechensales at vip.163.com Tue Jun 2 03:46:33 2015 From: lechensales at vip.163.com (cherry zhang) Date: Tue, 2 Jun 2015 11:32:43 +0800 (CST) Subject: smart home base device Message-ID: <5f9e44bf.1bfac.14db2541075.Coremail.lechensales@vip.163.com> Dear , You will use smart device in your house in the feature ,the PLC (Powerline communication ) will be your best choice for network construction. We are the manufacturer of POE +PLC, which can supply DC 55V,30W to your device without any power unit. ,IEEE802.3 at&af standard both are available.Now we also have DC12V,1A Poe powerline adapter. You also can match with master to construct your own network or supply service to your clients conveniently.Industry MV 1000M powerline adapter (G.hn) and 7450 homeplug AV2 powerline adapters are also available. You can connect network from anywhere you can find a outlet .Our products can be used in family, company, intelligence power grid management, telecom operation, security system, buildings,sea port airport ,ETC ,bank and business places. We can accept OEM/ ODM order of power line communications (PLC) Products : power line adapter, phone line Ethernet Bridge, coaxial Ethernet Bridge, PLC IP camera,VDSL2 . powerline ethernet bridge master , phoneline ethernet bridge master and coaxial cable ethernet bridge master are also our featured products. samples are available after cost. Low MOQ. if you have any requirement, pls contact me freely. More information ,pls view: www.wondertek.com http://wondertek.en.alibaba.com/ B&R Cherry zhang skype:lechentek email:lechensales at vip.163.com TELE:86-512-83670078-1016 -- B&R Cherry Zhang http://www.wondertek.com/ Email:cherry.zhang at wondertek.com lechensales at vip.163.com skype:lechentek TEL:+86-512-83670078-1016 From scaglione.francesco at neuf.fr Tue Jun 2 10:22:52 2015 From: scaglione.francesco at neuf.fr (francesco scaglione) Date: Tue, 2 Jun 2015 12:17:40 +0200 Subject: Upgrading libvpx demands bash Message-ID: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> After a portmaster -L I see that I need to upgrade libvpx, but now that brings in bash: # portmaster libvpx ===>>> The following actions will be taken if you choose to proceed: Upgrade libvpx-1.3.0 to libvpx-1.3.0_1 Install shells/bash I'm using a very small server (FreeBSD 8.4, amd64) and I would like to avoid adding the bash port, if possible. But maybe I cannot avoid it, can I? Thanks, Francesco From alexandre_ml at outlook.fr Tue Jun 2 11:24:33 2015 From: alexandre_ml at outlook.fr (Alexandre Labarre) Date: Tue, 2 Jun 2015 13:23:22 +0200 Subject: Upgrading libvpx demands bash In-Reply-To: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> Message-ID: > Date: Tue, 2 Jun 2015 12:17:40 +0200 > From: scaglione.francesco at neuf.fr > To: freebsd-questions at freebsd.org > Subject: Upgrading libvpx demands bash > > After a portmaster -L I see that I need to upgrade libvpx, but now that > brings in bash: > > # portmaster libvpx > > ===>>> The following actions will be taken if you choose to proceed: > Upgrade libvpx-1.3.0 to libvpx-1.3.0_1 > Install shells/bash > > I'm using a very small server (FreeBSD 8.4, amd64) and I would like to > avoid adding the bash port, if possible. > > But maybe I cannot avoid it, can I? > > Thanks, > Francesco Hi Francesco, shells/bash is required as buid dependencies for libvpx. But why not use PKG (NG) to just install pre-compiled package? Kind regards. Alexandre From alexandre_ml at outlook.fr Tue Jun 2 12:59:26 2015 From: alexandre_ml at outlook.fr (Alexandre Labarre) Date: Tue, 2 Jun 2015 14:58:15 +0200 Subject: Upgrading libvpx demands bash In-Reply-To: <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr>, , <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> Message-ID: > Date: Tue, 2 Jun 2015 13:35:23 +0200 > From: scaglione.francesco at neuf.fr > To: alexandre_ml at outlook.fr > Subject: Re: Upgrading libvpx demands bash > > --- > On Tue, 2 Jun 2015 13:23:22 +0200 > Alexandre Labarre wrote: > > > > > > > > Date: Tue, 2 Jun 2015 12:17:40 +0200 > > > From: scaglione.francesco at neuf.fr > > > To: freebsd-questions at freebsd.org > > > Subject: Upgrading libvpx demands bash > > > > > > After a portmaster -L I see that I need to upgrade libvpx, but now > > > that brings in bash: > > > > > > # portmaster libvpx > > > > > > ===>>> The following actions will be taken if you choose to proceed: > > > Upgrade libvpx-1.3.0 to libvpx-1.3.0_1 > > > Install shells/bash > > > > > > I'm using a very small server (FreeBSD 8.4, amd64) and I would like > > > to avoid adding the bash port, if possible. > > > > > > But maybe I cannot avoid it, can I? > > > > > > Thanks, > > > Francesco > > > > Hi Francesco, > > Hi Alexandre, > > thanks for your reply. > > > shells/bash is required as buid dependencies for libvpx. > > But it was not the case before, since I had libvpx installed but not > bash. > > > But why not use PKG (NG) to just install pre-compiled package? > > Do you mean that using packages instead of ports I wouldn't need > bash? > > I like to use ports because I can keep the server up-to-date very > quickly, whereas it's not yet clear to me how often the packages are > updated. I'm thinking about basic stuff as php5 and nginx, for > example, that should always be in the most recent version for security > reasons. > > Take care, > Francesco Francesco, shell/bash is marked as required for build libvpx. I checked here http://www.freshports.org/multimedia/libvpx/ But it do not seems to be required to run. Packages are built once per week for the moment (every Wednesday if I remember well). This may change in the future. If you have others servers, you can build you own environment build packages with Poudriere https://www.freebsd.org/doc/handbook/ports-poudriere.html Kind regards. Alexandre From jungleboogie0 at gmail.com Tue Jun 2 13:03:54 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Tue, 2 Jun 2015 06:03:53 -0700 Subject: Upgrading libvpx demands bash In-Reply-To: References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> Message-ID: On 2 June 2015 at 05:58, Alexandre Labarre wrote: > Packages are built once per week for the moment (every Wednesday if I remember well). I've always heard the one per week. Do you know if that's only if the port changes or does it build regardless of any update? -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From matthew at freebsd.org Tue Jun 2 13:36:16 2015 From: matthew at freebsd.org (Matthew Seaman) Date: Tue, 02 Jun 2015 14:35:51 +0100 Subject: Upgrading libvpx demands bash In-Reply-To: References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> Message-ID: <556DB137.3090007@freebsd.org> On 06/02/15 14:03, jungle Boogie wrote: > On 2 June 2015 at 05:58, Alexandre Labarre wrote: >> > Packages are built once per week for the moment (every Wednesday if I remember well). > > I've always heard the one per week. Do you know if that's only if the > port changes or does it build regardless of any update? Packages are being built several times a week now. There should be updates something like 3 times a week, although that may be modified if there is some bad security hole or other problem having significant impact. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: OpenPGP digital signature URL: From mfv at bway.net Tue Jun 2 13:51:30 2015 From: mfv at bway.net (mfv) Date: Tue, 2 Jun 2015 09:51:19 -0400 Subject: Upgrading libvpx demands bash In-Reply-To: References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> Message-ID: <20150602095119.30160c09@gecko4> On Tue, 2 Jun 2015 06:03:53 -0700 jungle Boogie wrote: > On 2 June 2015 at 05:58, Alexandre Labarre > wrote: > > Packages are built once per week for the moment (every Wednesday if > > I remember well). > > > I've always heard the one per week. Do you know if that's only if the > port changes or does it build regardless of any update? > > > Hello, The frequency of building packages has increased. Based on my logs for April and May it has been at least 8 times a month with the longest gap being 5 days and the shortest of only 1 day. Cheers ... __o _ \<,_ Marek (+)/ (+) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From scaglione.francesco at neuf.fr Tue Jun 2 15:31:25 2015 From: scaglione.francesco at neuf.fr (francesco scaglione) Date: Tue, 2 Jun 2015 17:31:15 +0200 Subject: Upgrading libvpx demands bash In-Reply-To: <556DB137.3090007@freebsd.org> References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> <556DB137.3090007@freebsd.org> Message-ID: <20150602173115.d3b132732fa17f42e97538e7@neuf.fr> --- On Tue, 02 Jun 2015 14:35:51 +0100 Matthew Seaman wrote: > On 06/02/15 14:03, jungle Boogie wrote: > > On 2 June 2015 at 05:58, Alexandre Labarre > > wrote: > >> > Packages are built once per week for the moment (every Wednesday > >> > if I remember well). > > > > I've always heard the one per week. Do you know if that's only if > > the port changes or does it build regardless of any update? > > Packages are being built several times a week now. There should be > updates something like 3 times a week, although that may be modified > if there is some bad security hole or other problem having > significant impact. > > Cheers, > > Matthew I had never thought that packages were a better option for tiny machines like mines. But that could really be the case, since I always fear the moment my Intel Atom has to update big ports like gcc, which is required by... # pkg info -r gcc gcc-4.8.4_3: libvpx-1.3.0 ouch, libvpx again! So, with packages, no more gcc nor bash, is that right? Thanks for the tip, Francesco From freebsd at edvax.de Wed Jun 3 01:51:01 2015 From: freebsd at edvax.de (Polytropon) Date: Wed, 3 Jun 2015 03:50:50 +0200 Subject: Upgrading libvpx demands bash In-Reply-To: <20150602173115.d3b132732fa17f42e97538e7@neuf.fr> References: <20150602121740.f2af02dcd9be77d4ac18ab41@neuf.fr> <20150602133523.c14287e0faa0884da67f26ef@neuf.fr> <556DB137.3090007@freebsd.org> <20150602173115.d3b132732fa17f42e97538e7@neuf.fr> Message-ID: <20150603035050.e2a61523.freebsd@edvax.de> On Tue, 2 Jun 2015 17:31:15 +0200, francesco scaglione wrote: > So, with packages, no more gcc nor bash, is that right? Yes. Except bash or gcc are needed as a _runtime_ dependency, but in this case, they will be installed from packages as well, so no compiling needed. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ortadur at web.de Wed Jun 3 07:22:48 2015 From: ortadur at web.de (ortadur at web.de) Date: Wed, 3 Jun 2015 09:09:43 +0200 Subject: Many core dumps in pthread_getspecific - how to debug? Message-ID: Hi, I'm new to FreeBSD, and it looks nice so far. There is just one thing which bugs me. I'm getting a lot of core dumps in many different programmes like Xorg, vim, firefox, ... and looking into the backtrace it's always inside pthread_getspecific () from /lib/libthr.so.3. You can imagine that especially Xorg is very annoying. I'm using awesome as a window manager and I'm always up to date with the latest patches. Sometimes it's crashing multiple times a day, sometimes a few days without a core dump. This week I'd just 1 core dump of vim, the last week I'd 11 core dumps from Xorg and also some more from other programmes. I didn't found /lib/libthr.so.3 inside the ports, so I guess it's part of the base system. The typical backtrace looks like this (not always exactly the same, but always ends up at pthread_getspecific): [New Thread 803c07c00 (LWP 100601/Xorg)] [New Thread 803c06400 (LWP 100205/Xorg)] (gdb) bt #0 0x00000008014816a2 in pthread_getspecific () from /lib/libthr.so.3 #1 0x00000008014815ed in pthread_getspecific () from /lib/libthr.so.3 #2 0x0000000801483b01 in pthread_mutex_unlock () from /lib/libthr.so.3 #3 0x000000080266afe8 in sbrk () from /lib/libc.so.7 #4 0x000000080266b251 in sbrk () from /lib/libc.so.7 #5 0x0000000802674264 in realloc () from /lib/libc.so.7 #6 0x000000000059c988 in ReadRequestFromClient () #7 0x00000000004353f9 in UpdateCurrentTimeIf () #8 0x000000000042a007 in _start () #9 0x0000000000429aff in _start () #10 0x0000000800816000 in ?? () #11 0x0000000000000000 in ?? () % uname -a FreeBSD andre 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 It's running on real hardware, it's not a VM. And now the questions: What do I have to do to debug this and get rid of this bug? Whom do I need to send those debug infos? Sincerely yours Andre. From erichsfreebsdlist at alogt.com Wed Jun 3 08:48:09 2015 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Wed, 3 Jun 2015 16:47:56 +0800 Subject: Many core dumps in pthread_getspecific - how to debug? In-Reply-To: References: Message-ID: <20150603164756.06961d69@X220.alogt.com> Hi, On Wed, 3 Jun 2015 09:09:43 +0200 ortadur at web.de wrote: > I'm new to FreeBSD, and it looks nice so far. There is just one welcome! > thing which bugs me. I'm getting a lot of core dumps in many different > programmes like Xorg, vim, firefox, ... and looking into the There must be something else wrong. > FreeBSD andre 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed > May 13 06:54:13 UTC 2015 > root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > Can you get the sources and compile your own FreeBSD? Your description does not match my experience by any standards. The only problem that often leads to crashes are lost devices. With other words, you mount a device via USB and the connection gets lost (unplugged). > It's running on real hardware, it's not a VM. This should not matter. > > And now the questions: > What do I have to do to debug this and get rid of this bug? > Whom do I need to send those debug infos? Try first the source. The best mailing list for this should be 'stable' as it targets only the stable versions like yours. Erich From kraduk at gmail.com Wed Jun 3 08:58:28 2015 From: kraduk at gmail.com (krad) Date: Wed, 3 Jun 2015 09:58:26 +0100 Subject: ZFS in a VM? In-Reply-To: <20150529133653.GA94981@neutralgood.org> References: <20150529092600.GA32731@ozzmosis.com> <20150529133653.GA94981@neutralgood.org> Message-ID: Strictly speaking its the online dedup that is expensive. Depending on your data sets and work patterns you can dedup a pool by doing things intelligently. eg use snap shots and clones where ever possible, if you have any out of hour periods, turn dedup on and rewrite all new data on the pool since the last dedup run (not a scrub). This is all getting off topic though. On 29 May 2015 at 14:36, wrote: > On Fri, May 29, 2015 at 07:26:01PM +1000, andrew clarke wrote: > > On Wed 2015-05-27 13:31:05 UTC-0400, Jaime Kikpole ( > jkikpole at cairodurham.org) wrote: > > > > > Can I run a FreeBSD system in a virtual machine and use ZFS? The VM > > > environment is a commercial system based on Linux's KVM, if that > > > matters. > > > > ZFS works better if it has "raw" access to the hard drive, in terms of > > performance and error detection, but will still work fine without it. > > Either way you'll still get all the usual features ZFS provides, such > > as snapshots, dedup, compression, etc. > > Strictly speaking, error detection itself doesn't work better with raw > disks. Error _correction_ works better with raw disks. Then again, this > is what the "copies=2" or "copies=3" option is for: to be able to correct > errors when ZFS is not handling the RAID or mirroring itself. > > > Keep in mind that large capacity ZFS datasets can require several GBs > > of memory to work well, particularly if you're using dedup, so you'll > > need to adjust your VM guest's memory appropriately. > > Be careful with dedup. The memory requirements are so large that with > large amounts of data is is easy to get into a situation that takes days > to recover from. > > When not using dedup: There are reports that ZFS can be used in as little > as 4GB of memory -- in the i386 FreeBSD at that! I've got a small setup > with 8GB of memory that works well for me, but I'm not using dedup until > I can put a lot more memory in this machine. > -- > "A method for inducing cats to exercise consists of directing a beam of > invisible light produced by a hand-held laser apparatus onto the floor ... > in the vicinity of the cat, then moving the laser ... in an irregular way > fascinating to cats,..." -- US patent 5443036, "Method of exercising a cat" > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From ortadur at web.de Wed Jun 3 11:09:43 2015 From: ortadur at web.de (Andre Meiser) Date: Wed, 3 Jun 2015 13:09:39 +0200 Subject: Aw: Re: Many core dumps in pthread_getspecific - how to debug? In-Reply-To: <20150603164756.06961d69@X220.alogt.com> References: , <20150603164756.06961d69@X220.alogt.com> Message-ID: On Wed, 3 Jun 2015 10:47 +0200 Erich Dollansky wrote: > welcome! thx ;) > Can you get the sources and compile your own FreeBSD? I got the source from here: http://svnweb.freebsd.org/base/releng/10.1/ And in lib/libkse/thread/thr_spec.c line 211-214 I found this: pthread = _get_curthread(); /* Check if there is specific data: */ if (pthread->specific != NULL && (unsigned int)key < PTHREAD_KEYS_MAX) { If pthread is NULL than this will crash with a core dump. So I made a quick grep about the sources and at other places the return value of _get_curthread() is compared with NULL, e.g. thr_kern.c in line 601: if ((crit != NULL) && ((curthread = _get_curthread()) != NULL)) It looks like _get_curthread() may return NULL and than thr_spec.c line 214 has to look like this: if (pthread != NULL && pthread->specific != NULL && (unsigned int)key < PTHREAD_KEYS_MAX) { But I'm new to FreeBSD, so I'm not sure if this will help to fix the problem. And I'm not experienced enough to compile my own FreeBSD, yet. > Try first the source. The best mailing list for this should be > 'stable' as it targets only the stable versions like yours. Ok, thanks, I'll write it there, too. Sincerely yours Andre. From erichsfreebsdlist at alogt.com Wed Jun 3 21:44:24 2015 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Thu, 4 Jun 2015 05:44:17 +0800 Subject: Many core dumps in pthread_getspecific - how to debug? In-Reply-To: References: <20150603164756.06961d69@X220.alogt.com> Message-ID: <20150604054417.5542bcd7@X220.alogt.com> Hi, On Wed, 3 Jun 2015 13:09:39 +0200 "Andre Meiser" wrote: > On Wed, 3 Jun 2015 10:47 +0200 Erich Dollansky wrote: > > Can you get the sources and compile your own FreeBSD? > > I got the source from here: > http://svnweb.freebsd.org/base/releng/10.1/ > this is a good source. > And in lib/libkse/thread/thr_spec.c line 211-214 I found this: > > pthread = _get_curthread(); > > /* Check if there is specific data: */ > if (pthread->specific != NULL && (unsigned int)key < > PTHREAD_KEYS_MAX) { > > If pthread is NULL than this will crash with a core dump. So I made a > quick grep about the sources and at other places the return value of > _get_curthread() is compared with NULL, e.g. thr_kern.c in line 601: > > if ((crit != NULL) && ((curthread = _get_curthread()) != NULL)) > > It looks like _get_curthread() may return NULL and than thr_spec.c > line 214 has to look like this: > > if (pthread != NULL && pthread->specific != NULL && (unsigned > int)key < PTHREAD_KEYS_MAX) { > > But I'm new to FreeBSD, so I'm not sure if this will help to fix the > problem. And I'm not experienced enough to compile my own FreeBSD, > yet. You might be the person with the least experience and the shortest time between start and finding the first error. I would suggest that you file a bug report under: https://bugs.freebsd.org/bugzilla/enter_bug.cgi Include your fix as a diff. Ok, still, I run FreeBSD since decades and never came across this problem. So, you must have another problem on your machine. Erich > > > > Try first the source. The best mailing list for this should be > > 'stable' as it targets only the stable versions like yours. > > Ok, thanks, I'll write it there, too. > > Sincerely yours Andre. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" From joeb1 at a1poweruser.com Wed Jun 3 23:50:10 2015 From: joeb1 at a1poweruser.com (joeb1) Date: Wed, 03 Jun 2015 19:03:02 -0400 Subject: port 53 under attack Message-ID: <556F87A6.8090105@a1poweruser.com> Hello list : My firewall blocks unsolicited inbound traffic on port 53. I realize this is the DNS port. But I am getting over 200K hits per day from ip addresses from all over the world. My host has a dynamic ip address. Is there any valid reason for this to be happening? From jd1008 at gmail.com Wed Jun 3 23:53:51 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 03 Jun 2015 17:53:48 -0600 Subject: port 53 under attack In-Reply-To: <556F87A6.8090105@a1poweruser.com> References: <556F87A6.8090105@a1poweruser.com> Message-ID: <556F938C.2050401@gmail.com> On 06/03/2015 05:03 PM, joeb1 wrote: > Hello list > : > My firewall blocks unsolicited inbound traffic on port 53. I realize > this is the DNS port. But I am getting over 200K hits per day from ip > addresses from all over the world. My host has a dynamic ip address. > Is there any valid reason for this to be happening? > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > Hackers run robots to hack into ip addresses. Their scripts simply keep trying all possible IP addresses. Not difficult to do with programs or scripts. From freebsd at pki2.com Wed Jun 3 23:57:19 2015 From: freebsd at pki2.com (Dennis Glatting) Date: Wed, 03 Jun 2015 16:57:01 -0700 Subject: port 53 under attack In-Reply-To: <556F87A6.8090105@a1poweruser.com> References: <556F87A6.8090105@a1poweruser.com> Message-ID: <1433375821.72071.40.camel@pki2.com> On Wed, 2015-06-03 at 19:03 -0400, joeb1 wrote: > Hello list > : > My firewall blocks unsolicited inbound traffic on port 53. I realize > this is the DNS port. But I am getting over 200K hits per day from ip > addresses from all over the world. My host has a dynamic ip address. Is > there any valid reason for this to be happening? You could be used as a DOS amplifier. From venom at venomslair.com Thu Jun 4 01:05:27 2015 From: venom at venomslair.com (Venom) Date: Wed, 3 Jun 2015 20:05:26 -0500 Subject: FreeBSD 10.1 Periodic Errors Message-ID: Good evening, I reinstalled my 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Tue May 12 19:33:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 computer and now I get the below errors every time periodic daily and weekly runs. I have searched the internet to try and figure this out but I can not find anything that talks about this error. Does anyone know what I need to install or do in order for periodic daily to run correctly. /etc/defaults/periodic.conf: returning: not found /etc/defaults/periodic.conf: status: not found Thank you Aaron From jekillen at prodigy.net Thu Jun 4 01:07:28 2015 From: jekillen at prodigy.net (Jeffry Killen) Date: Wed, 3 Jun 2015 18:04:53 -0700 Subject: port 53 under attack In-Reply-To: <1433375821.72071.40.camel@pki2.com> References: <556F87A6.8090105@a1poweruser.com> <1433375821.72071.40.camel@pki2.com> Message-ID: On Jun 3, 2015, at 4:57 PM, Dennis Glatting wrote: > On Wed, 2015-06-03 at 19:03 -0400, joeb1 wrote: >> Hello list >> : >> My firewall blocks unsolicited inbound traffic on port 53. I realize >> this is the DNS port. But I am getting over 200K hits per day from >> ip >> addresses from all over the world. My host has a dynamic ip >> address. Is >> there any valid reason for this to be happening? > > You could be used as a DOS amplifier. > If you are using bind for dns server, and are familiar with how it is configured check to see if you have anything that would allow dns query forwarding. It may not be you in particular, but your dns server is being used as a proxy to forward requests. I have seen that when I was running servers with static ip addresses. As I recall it was my secondary server that was being used to forward dns queries. I was on a dsl connection to my ISP and it was noticable and annoying. HTH JK From bferrell at baywinds.org Thu Jun 4 01:59:35 2015 From: bferrell at baywinds.org (Bruce Ferrell) Date: Wed, 03 Jun 2015 18:02:52 -0700 Subject: port 53 under attack In-Reply-To: <1433375821.72071.40.camel@pki2.com> References: <556F87A6.8090105@a1poweruser.com> <1433375821.72071.40.camel@pki2.com> Message-ID: <556FA3BC.7010801@baywinds.org> On 06/03/2015 04:57 PM, Dennis Glatting wrote: > On Wed, 2015-06-03 at 19:03 -0400, joeb1 wrote: >> Hello list >> : >> My firewall blocks unsolicited inbound traffic on port 53. I realize >> this is the DNS port. But I am getting over 200K hits per day from ip >> addresses from all over the world. My host has a dynamic ip address. Is >> there any valid reason for this to be happening? > You could be used as a DOS amplifier. > > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > Are you running an open DNS server? From freebsd at edvax.de Thu Jun 4 02:07:45 2015 From: freebsd at edvax.de (Polytropon) Date: Thu, 4 Jun 2015 04:07:34 +0200 Subject: FreeBSD 10.1 Periodic Errors In-Reply-To: References: Message-ID: <20150604040734.db4c8055.freebsd@edvax.de> On Wed, 3 Jun 2015 20:05:26 -0500, Venom wrote: > Good evening, > > I reinstalled my 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Tue May > 12 19:33:13 UTC 2015 > root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > computer and now I get the below errors every time periodic daily and > weekly runs. I have searched the internet to try and figure this out > but I can not find anything that talks about this error. Does anyone > know what I need to install or do in order for periodic daily to run > correctly. > > /etc/defaults/periodic.conf: returning: not found > /etc/defaults/periodic.conf: status: not found It somehow looks like /etc/defaults/periodic.conf is damaged. Have a look at it: It should be a shell script (sh syntax) containing only variable definitions and comments. It will be sourced by other scripts. Now what you're seeing there looks to me like some comments got executed. A missing # could explain this... Check for the words "returning" and "status" in this file and _where_ they appear. Anything suspicious? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From matthew at FreeBSD.org Thu Jun 4 06:39:36 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Thu, 04 Jun 2015 07:39:13 +0100 Subject: port 53 under attack In-Reply-To: <556F87A6.8090105@a1poweruser.com> References: <556F87A6.8090105@a1poweruser.com> Message-ID: <556FF291.7070007@FreeBSD.org> On 04/06/2015 00:03, joeb1 wrote: > My firewall blocks unsolicited inbound traffic on port 53. I realize > this is the DNS port. But I am getting over 200K hits per day from ip > addresses from all over the world. My host has a dynamic ip address. Is > there any valid reason for this to be happening? The usual reason for this sort of traffic is using the DNS as a traffic amplifier. The bad guys can send a small request eg for 'IN NS .' and get a response listing all the root nameservers, which is very much larger. Couple that with the UDP nature of DNS lookups, meaning it is simple to put a fake from address on the DNS packets, and the response is easily directed towards the target of choice. The cure for this is not to run an open resolver. DNS servers come in two different flavours: authoritative: which will respond to queries from anywhere in the net, but only for the zones they hold the data for. recursive: will respond to a limited range of clients for queries about any data in the DNS. Depending on the role your nameserver is performing[*], you'll need different configurations for either of these. You should also control network traffic to port 53 using firewall rules appropriately for either case: for instance, for a recursive resolver handling queries from hosts inside your firewall (probably the most common scenario) you can use a stateful firewall rule that triggers on the first /outgoing/ DNS packet, but that denies query initiation from inside. See: https://www.dns-oarc.net/wiki/mitigating-dns-denial-of-service-attacks for a more in-depth discussion and links to documents showing how to configure either type of resolver securely. Cheers, Matthew [*] It's a really bad idea to try and configure a resolver to do both recursive and authoritative roles. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From m.seaman at infracaninophile.co.uk Thu Jun 4 06:41:29 2015 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu, 04 Jun 2015 07:41:22 +0100 Subject: port 53 under attack In-Reply-To: <556FF291.7070007@FreeBSD.org> References: <556F87A6.8090105@a1poweruser.com> <556FF291.7070007@FreeBSD.org> Message-ID: <556FF312.4050402@infracaninophile.co.uk> On 04/06/2015 07:39, Matthew Seaman wrote: > but that denies query initiation from inside. ... err... from *outside* Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From jerry at seibercom.net Thu Jun 4 07:33:55 2015 From: jerry at seibercom.net (Jerry) Date: Thu, 4 Jun 2015 03:33:42 -0400 Subject: Error Message on Boot up Message-ID: <20150604033342.4451a519@seibercom.net> I just started getting this message every time I reboot my machine: Performing sanity check on sshd configuration. (process:15819): GLib-CRITICAL **: Source ID 4294967295 was not found when attempting to remove it Starting sshd. This is on a FreeBSD 10.1-RELEASE-p10 amd64 machine. -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From joe.shevland at hushmail.com Thu Jun 4 11:12:33 2015 From: joe.shevland at hushmail.com (Joe Shevland) Date: Thu, 04 Jun 2015 20:33:55 +1000 Subject: Error Message on Boot up In-Reply-To: <20150604033342.4451a519@seibercom.net> Message-ID: <20150604103355.AD307A2917@smtp.hushmail.com> On 4/6/2015 at 5:34 PM, "Jerry" wrote: > >I just started getting this message every time I reboot my machine: > >Performing sanity check on sshd configuration. >(process:15819): GLib-CRITICAL **: Source ID 4294967295 was not >found when >attempting to remove it >Starting sshd. > >This is on a FreeBSD 10.1-RELEASE-p10 amd64 machine. Presumably running a Gnome desktop? This discussion talks a little about (ab)use of the g_source_remove() function in GLib: https://bugzilla.gnome.org/show_bug.cgi?id=721369 I was going to guess its gdm but I'm not sure with the "process:15819" there. From eakarsu at gmail.com Thu Jun 4 12:00:19 2015 From: eakarsu at gmail.com (Erol Akarsu) Date: Thu, 4 Jun 2015 07:59:56 -0400 Subject: Disabling Control Key for mouse location Message-ID: I need to disable Control key to show mouse location on Gnome 3 on Freebsd.. Currently, when I press Ctrl key, it shows me the location of mouse that I want to disable. I am searching for this but not able to find a solution I need this Ctrl disabled because I am having difficulty in using Control-C Control-V in VirtualBox installed on latest Freebsd system. How can I do it? Thanks Erol Akarsu From joe.shevland at hushmail.com Thu Jun 4 12:02:35 2015 From: joe.shevland at hushmail.com (Joe Shevland) Date: Thu, 04 Jun 2015 21:28:50 +1000 Subject: Error Message on Boot up In-Reply-To: <20150604033342.4451a519@seibercom.net> Message-ID: <20150604112851.3441AA291B@smtp.hushmail.com> On 4/6/2015 at 5:34 PM, "Jerry" wrote: > >I just started getting this message every time I reboot my machine: > >Performing sanity check on sshd configuration. >(process:15819): GLib-CRITICAL **: Source ID 4294967295 was not >found when >attempting to remove it >Starting sshd. > >This is on a FreeBSD 10.1-RELEASE-p10 amd64 machine. Not much help, but the relevant commit that introduced the warning: https://git.gnome.org/browse/glib/commit/?id=a919be3d39150328874ff647fb2c2be7af3df996 >From what I can tell it's more of a warning than something that will bite you; I haven't seen it on some recently updated 10-stable machines though, but they're all headless. I see it a lot on Linux with various Gnome apps. From eakarsu at gmail.com Thu Jun 4 12:19:05 2015 From: eakarsu at gmail.com (Erol Akarsu) Date: Thu, 4 Jun 2015 08:18:42 -0400 Subject: Disabling Control Key for mouse location In-Reply-To: References: Message-ID: I got solution in here http://askubuntu.com/questions/333773/disable-show-position-of-the-mouse-when-the-control-key-is-pressed-in-13-04 On Thu, Jun 4, 2015 at 7:59 AM, Erol Akarsu wrote: > I need to disable Control key to show mouse location on Gnome 3 on > Freebsd.. Currently, when I press Ctrl key, it shows me the location of > mouse that I want to disable. I am searching for this but not able to find > a solution > > I need this Ctrl disabled because I am having difficulty in using > Control-C Control-V in VirtualBox installed on latest Freebsd system. > > How can I do it? > > Thanks > > Erol Akarsu > > From jerry at seibercom.net Thu Jun 4 12:22:15 2015 From: jerry at seibercom.net (Jerry) Date: Thu, 4 Jun 2015 08:22:05 -0400 Subject: Error Message on Boot up In-Reply-To: <20150604112851.3441AA291B@smtp.hushmail.com> References: <20150604033342.4451a519@seibercom.net> <20150604112851.3441AA291B@smtp.hushmail.com> Message-ID: <20150604082205.4c193321@seibercom.net> On Thu, 04 Jun 2015 21:28:50 +1000, Joe Shevland stated: > On 4/6/2015 at 5:34 PM, "Jerry" wrote: > > > >I just started getting this message every time I reboot my machine: > > > >Performing sanity check on sshd configuration. > >(process:15819): GLib-CRITICAL **: Source ID 4294967295 was not > >found when > >attempting to remove it > >Starting sshd. > > > >This is on a FreeBSD 10.1-RELEASE-p10 amd64 machine. > > Not much help, but the relevant commit that introduced the warning: > > https://git.gnome.org/browse/glib/commit/?id=a919be3d39150328874ff647fb2c2be7af3df996 > > From what I can tell it's more of a warning than something that will bite > you; I haven't seen it on some recently updated 10-stable machines though, > but they're all headless. I see it a lot on Linux with various Gnome apps. This is a KDE machine, no Gnome, at least that I deliberately installed. I am assuming (hoping) that this is just a nonsense warning message. I am sort of assuming that I cannot be the only individual who has experienced this while using FreeBSD though. I could file a PR against it; however, I have no idea what I should file it against. -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From jerry at seibercom.net Thu Jun 4 12:38:08 2015 From: jerry at seibercom.net (Jerry) Date: Thu, 4 Jun 2015 08:37:59 -0400 Subject: Wi-Fi ac support Message-ID: <20150604083759.42203d86@seibercom.net> I am working on a machine that will have an "ASUS Z97 Pro (Wi-Fi AC) Intel Z97 Motherboard". I was told that FreeBSD cannot support the AC protocol yet. I did some checking with Google and found mostly mixed answers. Is Wi-Fi AC supported on FreeBSD and more especially, on this mother board? Wi-Fi AC is now being promoted by both HP and Dell quite aggressively. While not really pertinent to FreeBSD, the new Microsoft Surface 3 is employing Wi-Fi AC. -- Gerard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From freebsd at edvax.de Thu Jun 4 14:35:04 2015 From: freebsd at edvax.de (Polytropon) Date: Thu, 4 Jun 2015 16:34:54 +0200 Subject: Error Message on Boot up In-Reply-To: <20150604082205.4c193321@seibercom.net> References: <20150604033342.4451a519@seibercom.net> <20150604112851.3441AA291B@smtp.hushmail.com> <20150604082205.4c193321@seibercom.net> Message-ID: <20150604163454.afb61cf2.freebsd@edvax.de> On Thu, 4 Jun 2015 08:22:05 -0400, Jerry wrote: > This is a KDE machine, no Gnome, at least that I deliberately installed. It might be a component (or library, something deep down the dependency chain) using Glib. > I am assuming (hoping) that this is just a nonsense warning message. I am > sort of assuming that I cannot be the only individual who has experienced > this while using FreeBSD though. Using Linux apps on FreeBSD teaches you to ignore this kind of messages. :-) It seems that ported Linux programs generate them all the time, with a varying degree of "actual impact". Just a short example (into which your error message would fit just fine): (gimp:3022): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0 (gimp:3022): Gimp-Display-CRITICAL **: render_image_tile_fault: assertion `tile[4] != NULL' failed end from FAM server connection (gimp:3022): Gtk-CRITICAL **: IA__gtk_icon_info_load_icon: assertion `icon_info != NULL' failed (gimp:3022): Gimp-Display-CRITICAL **: render_image_tile_fault: assertion `tile[4] != NULL' failed (gimp:3022): Gimp-Base-WARNING **: tile ref count balance: 20 However, program functionality (in this case: Gimp) doesn't seem to be affected. I don't know what else to say... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From perretcantonim at gmail.com Thu Jun 4 15:22:43 2015 From: perretcantonim at gmail.com (=?UTF-8?Q?Mat=C3=ADas_Perret_Cantoni?=) Date: Thu, 4 Jun 2015 12:22:41 -0300 Subject: Can you tell me something about you development host? Message-ID: Hello everyone! I've been playing around with FreeBSD for about a year now and I'd like to set a "better" development environment. Right now I'm running FreeBSD on VirtualBox on top of Linux Mint. I use Linux Mint because I need a GUI for web browsing and some rich text editing. And I use FreeBSD for building images for ARM boards, and some driver development. But this configuration is sometimes a little uncomfortable. Specially for flashing SD cards, and file exchange between both hosts (Linux and FreeBSD) So, what can you tell me about you development station? What's your setup? Can you make me any recommendation? I also wonder how do you manage your emails, specially the ones from this mailing list. Do you use some text based tool? Or just a GUI one? Thanks in advance. Regards, Matias.- From jungleboogie0 at gmail.com Thu Jun 4 15:31:03 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Thu, 4 Jun 2015 08:31:02 -0700 Subject: Can you tell me something about you development host? In-Reply-To: References: Message-ID: On 4 June 2015 at 08:22, Mat?as Perret Cantoni wrote: > So, what can you tell me about you development station? > What's your setup? > Can you make me any recommendation? Use pcbsd: http://www.pcbsd.org/ PC-BSD? is a user friendly desktop Operating System based on FreeBSD. Known widely for its stability and security in server environments, FreeBSD provides an excellent base on which to build a desktop operating system. PC-BSD uses a host of popular open source window managers and uses a custom-tailored application installer that puts popular applications in easy reach of users. -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From luzar722 at gmail.com Thu Jun 4 15:33:31 2015 From: luzar722 at gmail.com (Ernie Luzar) Date: Thu, 04 Jun 2015 11:33:35 -0400 Subject: port 53 under attack In-Reply-To: <556FF291.7070007@FreeBSD.org> References: <556F87A6.8090105@a1poweruser.com> <556FF291.7070007@FreeBSD.org> Message-ID: <55706FCF.9050904@gmail.com> On 6/4/2015 2:39 AM, Matthew Seaman wrote: > On 04/06/2015 00:03, joeb1 wrote: >> My firewall blocks unsolicited inbound traffic on port 53. I realize >> this is the DNS port. But I am getting over 200K hits per day from ip >> addresses from all over the world. My host has a dynamic ip address. Is >> there any valid reason for this to be happening? > The usual reason for this sort of traffic is using the DNS as a traffic > amplifier. The bad guys can send a small request eg for > > 'IN NS .' > > and get a response listing all the root nameservers, which is very much > larger. Couple that with the UDP nature of DNS lookups, meaning it is > simple to put a fake from address on the DNS packets, and the response > is easily directed towards the target of choice. > > The cure for this is not to run an open resolver. DNS servers come in > two different flavours: > > authoritative: which will respond to queries from anywhere in the > net, but only for the zones they hold the data for. > > recursive: will respond to a limited range of clients for queries > about any data in the DNS. > > Depending on the role your nameserver is performing[*], you'll need > different configurations for either of these. You should also control > network traffic to port 53 using firewall rules appropriately for either > case: for instance, for a recursive resolver handling queries from hosts > inside your firewall (probably the most common scenario) you can use a > stateful firewall rule that triggers on the first /outgoing/ DNS packet, > but that denies query initiation from inside. > > See: > > https://www.dns-oarc.net/wiki/mitigating-dns-denial-of-service-attacks > > for a more in-depth discussion and links to documents showing how to > configure either type of resolver securely. > > Cheers, > > Matthew > > [*] It's a really bad idea to try and configure a resolver to do both > recursive and authoritative roles. > > I am NOT running a dns server. So all these inbound hits on port 53 is just bad guys fishing for a open dns server and blocking them like I am doing is the correct thing to do? From sean at siobud.com Thu Jun 4 15:54:04 2015 From: sean at siobud.com (Sean DuBois) Date: Thu, 4 Jun 2015 10:44:18 -0500 Subject: Can you tell me something about you development host? In-Reply-To: References: Message-ID: <20150604154418.GA16554@3006.local> On Thu, Jun 04, 2015 at 12:22:41PM -0300, Mat?as Perret Cantoni wrote: > Hello everyone! I've been playing around with FreeBSD for about a year > now and I'd like to set a "better" development environment. Right now > I'm running FreeBSD on VirtualBox on top of Linux Mint. > > I use Linux Mint because I need a GUI for web browsing and some rich > text editing. And I use FreeBSD for building images for ARM boards, > and some driver development. > > But this configuration is sometimes a little uncomfortable. Specially for > flashing SD cards, and file exchange between both hosts (Linux and > FreeBSD) > > So, what can you tell me about you development station? > What's your setup? > Can you make me any recommendation? > > I also wonder how do you manage your emails, specially the ones from > this mailing list. Do you use some text based tool? Or just a GUI one? > > > Thanks in advance. > > Regards, Matias.- I use FreeBSD as my day to day desktop, and it works great for me! On a T410 I use * dwm - window manager * vim - text editor * chrome - web browser * mpd - music * mpv - video Most of the time I find myself using ssh into remote hosts, or temporary vagrant instances on my FreeBSD host since I am doing environment specific work. FreeBSD has Libreoffice and Chrome/FireFox or is there a specific program you like to use? My only complaint about FreeBSD laptop right now is the lack of a network manager. I know there is the PCBSD one, but I don't want to pull in a bunch of stuff that I have to worry about keeping up to date. I really would like something like wicd-cli, I should just write it myself. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From ml at netfence.it Thu Jun 4 15:54:22 2015 From: ml at netfence.it (Andrea Venturoli) Date: Thu, 04 Jun 2015 17:53:34 +0200 Subject: Can you tell me something about you development host? In-Reply-To: References: Message-ID: <5570747E.70000@netfence.it> On 06/04/15 17:22, Mat?as Perret Cantoni wrote: > I use Linux Mint because I need a GUI for web browsing and some rich > text editing. What such GUI tools do you use? Just double check they are available on FreeBSD too. > So, what can you tell me about you development station? What do you want to know? :-) > What's your setup? I just use emacs for every editing need and JDK, GCC, CLang, PHP, Python, ... > Can you make me any recommendation? Yes: if you like your Mint tools, try to use those on FreeBSD. > I also wonder how do you manage your emails, specially the ones from > this mailing list. Do you use some text based tool? Or just a GUI one? I use ThunderBird (which again should be no different to what it is on Mint). bye av. From adrian at freebsd.org Thu Jun 4 17:18:10 2015 From: adrian at freebsd.org (Adrian Chadd) Date: Thu, 4 Jun 2015 10:18:09 -0700 Subject: Wi-Fi ac support In-Reply-To: <20150604083759.42203d86@seibercom.net> References: <20150604083759.42203d86@seibercom.net> Message-ID: Hi! There's no active 11ac plans or work going on. We're bringing up the intel 7260 driver chipset family on FreeBSD-HEAD so there'll be at least one 11ac chipset supported. That'll make it easier for me or whoever else wishes to bring up 11ac support. Luckily, 11ac support in net80211 isn't that complicated - the most tricky bit is bringing up the 11ac channel list and IE parameter negotiation. The rest of it looks mostly like 11n. -adrian From freebsd at pki2.com Thu Jun 4 17:33:05 2015 From: freebsd at pki2.com (Dennis Glatting) Date: Thu, 04 Jun 2015 10:32:42 -0700 Subject: port 53 under attack In-Reply-To: <55706FCF.9050904@gmail.com> References: <556F87A6.8090105@a1poweruser.com> <556FF291.7070007@FreeBSD.org> <55706FCF.9050904@gmail.com> Message-ID: <1433439162.48400.0.camel@pki2.com> On Thu, 2015-06-04 at 11:33 -0400, Ernie Luzar wrote: > On 6/4/2015 2:39 AM, Matthew Seaman wrote: > > On 04/06/2015 00:03, joeb1 wrote: > >> My firewall blocks unsolicited inbound traffic on port 53. I realize > >> this is the DNS port. But I am getting over 200K hits per day from ip > >> addresses from all over the world. My host has a dynamic ip address. Is > >> there any valid reason for this to be happening? > > The usual reason for this sort of traffic is using the DNS as a traffic > > amplifier. The bad guys can send a small request eg for > > > > 'IN NS .' > > > > and get a response listing all the root nameservers, which is very much > > larger. Couple that with the UDP nature of DNS lookups, meaning it is > > simple to put a fake from address on the DNS packets, and the response > > is easily directed towards the target of choice. > > > > The cure for this is not to run an open resolver. DNS servers come in > > two different flavours: > > > > authoritative: which will respond to queries from anywhere in the > > net, but only for the zones they hold the data for. > > > > recursive: will respond to a limited range of clients for queries > > about any data in the DNS. > > > > Depending on the role your nameserver is performing[*], you'll need > > different configurations for either of these. You should also control > > network traffic to port 53 using firewall rules appropriately for either > > case: for instance, for a recursive resolver handling queries from hosts > > inside your firewall (probably the most common scenario) you can use a > > stateful firewall rule that triggers on the first /outgoing/ DNS packet, > > but that denies query initiation from inside. > > > > See: > > > > https://www.dns-oarc.net/wiki/mitigating-dns-denial-of-service-attacks > > > > for a more in-depth discussion and links to documents showing how to > > configure either type of resolver securely. > > > > Cheers, > > > > Matthew > > > > [*] It's a really bad idea to try and configure a resolver to do both > > recursive and authoritative roles. > > > > > > I am NOT running a dns server. So all these inbound hits on port 53 is > just bad guys fishing for a open dns server and blocking them like I am > doing is the correct thing to do? > Don't send ICMP failures. Just drop the packets. From m.seaman at infracaninophile.co.uk Thu Jun 4 17:52:21 2015 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu, 04 Jun 2015 18:52:11 +0100 Subject: port 53 under attack In-Reply-To: <1433439162.48400.0.camel@pki2.com> References: <556F87A6.8090105@a1poweruser.com> <556FF291.7070007@FreeBSD.org> <55706FCF.9050904@gmail.com> <1433439162.48400.0.camel@pki2.com> Message-ID: <5570904B.6020606@infracaninophile.co.uk> On 04/06/2015 18:32, Dennis Glatting wrote: >> I am NOT running a dns server. So all these inbound hits on port 53 is >> > just bad guys fishing for a open dns server and blocking them like I am >> > doing is the correct thing to do? > Don't send ICMP failures. Just drop the packets. 200k packets per day to port 53 when there's nothing listening there is quite a lot. You may be unlucky in that your IP is similar to an IP where a DNS server is running and the script kiddies have somehow made a paste-o and got your address. Even though its a bit more than the usual quantity, this is pretty much usual 'background radiation' for the internet. You'll find any number of scoundrel-written bots searching for ssh or ftp servers to try and brute-force and speculative attempts to exploit various web server vulnerabilities (got to love those people that try and use IIS exploits against nginx...) and so forth. None of it is likely to be directed at you specifically. Like Dennis said: just drop it all at your firewall. *Drop* rather than block, so all the traffic just disappears into a black-hole. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From brandon.wandersee at gmail.com Thu Jun 4 19:46:58 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Thu, 04 Jun 2015 14:46:44 -0500 Subject: Can you tell me something about you development host? In-Reply-To: References: Message-ID: <86lhfzfe8r.fsf@WorkBox.Home> Mat?as Perret Cantoni writes: > Hello everyone! I've been playing around with FreeBSD for about a year > now and I'd like to set a "better" development environment. Right now > I'm running FreeBSD on VirtualBox on top of Linux Mint. > > I use Linux Mint because I need a GUI for web browsing and some rich > text editing. And I use FreeBSD for building images for ARM boards, > and some driver development. > > But this configuration is sometimes a little uncomfortable. Specially for > flashing SD cards, and file exchange between both hosts (Linux and > FreeBSD) > > So, what can you tell me about you development station? > What's your setup? > Can you make me any recommendation? > > I also wonder how do you manage your emails, specially the ones from > this mailing list. Do you use some text based tool? Or just a GUI one? > > > Thanks in advance. > > Regards, Matias.- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" These are very general questions that basically warrant three answers: 1) Most (all?) of the software most commonly used by Linux users is available on FreeBSD. 2) Any particular setup one person has certainly won't be the particular sort of setup you want. 3) It's just a fact of software tools (especially in the FOSS world) that you can't really know what you want until you've tried several options. 3a) Asking such general questions is just going to result in people rattling off a long list of every available option, leaving you know closer to a satisfactory answer. The one thing you definitely won't get on FreeBSD is Cinnamon. Other than that, most graphical environments available on Linux are available on FreeBSD. The transition from Linux to FreeBSD is almost certainly going to be easier if you're used to a more minimal environment, and one consisting of more widely used tools, as there's so much less that can go wrong in the transition (your dwm or Emacs or whatever configuration will be the same either way, for example). -- =========================================== :: Brandon Wandersee :: :: brandon.wandersee at zoho.com :: =========================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams =========================================== From rodperson at rodperson.com Thu Jun 4 20:26:15 2015 From: rodperson at rodperson.com (Rod Person) Date: Thu, 4 Jun 2015 16:27:30 -0400 Subject: Can you tell me something about you development host? In-Reply-To: <86lhfzfe8r.fsf@WorkBox.Home> References: <86lhfzfe8r.fsf@WorkBox.Home> Message-ID: <20150604162730.580e19d1@atomizer> On Thu, 04 Jun 2015 14:46:44 -0500 "Brandon J. Wandersee" wrote: > The one thing you definitely won't get on FreeBSD is Cinnamon. https://www.freebsd.org/cgi/ports.cgi?query=Cinnamon&stype=all -- Rod http://www.rodperson.com He who knows himself to be one way and pretends it is another way is a thief who robs his own soul. The Mahabharata Sakuntala 25 From erichsfreebsdlist at alogt.com Thu Jun 4 22:26:01 2015 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Fri, 5 Jun 2015 06:25:48 +0800 Subject: Can you tell me something about you development host? In-Reply-To: References: Message-ID: <20150605062548.02bc490b@B85M-HD3-0.alogt.com> Hi, On Thu, 4 Jun 2015 12:22:41 -0300 Mat?as Perret Cantoni wrote: to the question in the subject line. We use what ever PC based hardware is available and use it directly. As we also develop software for Raspberries, we develop first on the PC hardware and do the final tests only on the Raspberries. > Can you make me any recommendation? Use whatever PC based hardware matches your requirements without any virtual machines. Do not forget that FreeBSD comes with jails. We use them to separate things like web browsing, web servers etc from the host. > > I also wonder how do you manage your emails, specially the ones from > this mailing list. Do you use some text based tool? Or just a GUI one? X plus Claws-Mail and a specific account to have them separated from the normal e-mails. Erich From venom at venomslair.com Fri Jun 5 01:23:38 2015 From: venom at venomslair.com (Venom) Date: Thu, 4 Jun 2015 20:23:17 -0500 Subject: FreeBSD 10.1 Periodic Errors In-Reply-To: <20150604040734.db4c8055.freebsd@edvax.de> References: <20150604040734.db4c8055.freebsd@edvax.de> Message-ID: Sorry the first time I sent this it didn't get to the list. Yes there was something suspicious, part of the comment got on to a new line so it thought it needed to be executed. I have fixed this and I am pretty sure that I have fixed it. I will check on the status of the script tomorrow after it runs. Its always the smallest thing that makes the biggest problem. Thank you for your assistance Aaron ------------------- Need my keys? Head over to http://www.venomslair.com/keys.php to download them On Wed, Jun 3, 2015 at 9:07 PM, Polytropon wrote: > On Wed, 3 Jun 2015 20:05:26 -0500, Venom wrote: >> Good evening, >> >> I reinstalled my 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Tue May >> 12 19:33:13 UTC 2015 >> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >> computer and now I get the below errors every time periodic daily and >> weekly runs. I have searched the internet to try and figure this out >> but I can not find anything that talks about this error. Does anyone >> know what I need to install or do in order for periodic daily to run >> correctly. >> >> /etc/defaults/periodic.conf: returning: not found >> /etc/defaults/periodic.conf: status: not found > > It somehow looks like /etc/defaults/periodic.conf is damaged. > Have a look at it: It should be a shell script (sh syntax) > containing only variable definitions and comments. It will > be sourced by other scripts. Now what you're seeing there > looks to me like some comments got executed. A missing # could > explain this... > > Check for the words "returning" and "status" in this file > and _where_ they appear. Anything suspicious? > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From venom at venomslair.com Fri Jun 5 01:33:17 2015 From: venom at venomslair.com (Venom) Date: Thu, 4 Jun 2015 20:32:56 -0500 Subject: FreeBSD 10.1 Periodic Errors In-Reply-To: References: <20150604040734.db4c8055.freebsd@edvax.de> Message-ID: Sorry about sending another message but I just ran periodic daily and everything is back to the way it should be. Thank again for the assistance ------------------- Need my keys? Head over to http://www.venomslair.com/keys.php to download them On Thu, Jun 4, 2015 at 8:23 PM, Venom wrote: > Sorry the first time I sent this it didn't get to the list. > > Yes there was something suspicious, part of the comment got on to a > new line so it thought it needed to be executed. I have fixed this > and I am pretty sure that I have fixed it. I will check on the status > of the script tomorrow after it runs. Its always the smallest thing > that makes the biggest problem. > > Thank you for your assistance > > Aaron > > ------------------- > Need my keys? Head over to http://www.venomslair.com/keys.php to download them > > > On Wed, Jun 3, 2015 at 9:07 PM, Polytropon wrote: >> On Wed, 3 Jun 2015 20:05:26 -0500, Venom wrote: >>> Good evening, >>> >>> I reinstalled my 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Tue May >>> 12 19:33:13 UTC 2015 >>> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >>> computer and now I get the below errors every time periodic daily and >>> weekly runs. I have searched the internet to try and figure this out >>> but I can not find anything that talks about this error. Does anyone >>> know what I need to install or do in order for periodic daily to run >>> correctly. >>> >>> /etc/defaults/periodic.conf: returning: not found >>> /etc/defaults/periodic.conf: status: not found >> >> It somehow looks like /etc/defaults/periodic.conf is damaged. >> Have a look at it: It should be a shell script (sh syntax) >> containing only variable definitions and comments. It will >> be sourced by other scripts. Now what you're seeing there >> looks to me like some comments got executed. A missing # could >> explain this... >> >> Check for the words "returning" and "status" in this file >> and _where_ they appear. Anything suspicious? >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... From bah at bananmonarki.se Fri Jun 5 11:56:25 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri, 05 Jun 2015 13:33:52 +0200 Subject: To many open files Message-ID: <55718920.3070008@bananmonarki.se> Hello list. I get this error when trying to use pycam To many open files. What file should i change. From brandon.wandersee at gmail.com Fri Jun 5 14:53:40 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Fri, 05 Jun 2015 09:53:34 -0500 Subject: Can you tell me something about you development host? In-Reply-To: <20150604162730.580e19d1@atomizer> References: <86lhfzfe8r.fsf@WorkBox.Home> <20150604162730.580e19d1@atomizer> Message-ID: <86oakumck1.fsf@WorkBox.Home> Rod Person writes: > On Thu, 04 Jun 2015 14:46:44 -0500 > "Brandon J. Wandersee" wrote: >> The one thing you definitely won't get on FreeBSD is Cinnamon. > > https://www.freebsd.org/cgi/ports.cgi?query=Cinnamon&stype=all Huh, seems I'm out of the loop on that one. :P Thanks for correcting me. -- =========================================== :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: =========================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams =========================================== From freebsd at edvax.de Fri Jun 5 18:28:17 2015 From: freebsd at edvax.de (Polytropon) Date: Fri, 5 Jun 2015 20:28:06 +0200 Subject: To many open files In-Reply-To: <55718920.3070008@bananmonarki.se> References: <55718920.3070008@bananmonarki.se> Message-ID: <20150605202806.9883dcf6.freebsd@edvax.de> On Fri, 05 Jun 2015 13:33:52 +0200, Bernt Hansson wrote: > Hello list. > > I get this error when trying to use pycam > > To many open files. > > What file should i change. Check the settings of kern.maxfiles and kern.maxfilesperproc using sysctl. You can set them in /etc/sysctl.conf to be applied at boot time. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bah at bananmonarki.se Sat Jun 6 02:32:44 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Sat, 06 Jun 2015 04:32:36 +0200 Subject: kernel panic! Message-ID: <55725BC4.4030301@bananmonarki.se> Hello list. When i try to boot my 8.4R-p16 system i get a kernel panic with this error: kmem_malloc(-2147483648) kmem_map to small 143360 What do i do to fix it. From ps06756 at gmail.com Sat Jun 6 04:17:02 2015 From: ps06756 at gmail.com (Pratik Singhal) Date: Sat, 6 Jun 2015 09:46:39 +0530 Subject: kernel panic! In-Reply-To: <55725BC4.4030301@bananmonarki.se> References: <55725BC4.4030301@bananmonarki.se> Message-ID: Can you please post the boot log and the full stack trace of the panic, without that information I don't think anybody will be able to help you. From bah at bananmonarki.se Sat Jun 6 09:54:14 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Sat, 06 Jun 2015 11:54:08 +0200 Subject: kernel panic! In-Reply-To: References: <55725BC4.4030301@bananmonarki.se> Message-ID: <5572C340.5030209@bananmonarki.se> On 2015-06-06 06:16, Pratik Singhal wrote: > Can you please post the boot log and the full stack trace of the panic, > without that information I don't think anybody will be able to help you. Here it is. http://www.usenet4all.se/kernel_panic/IMG_0754.JPG From aew.freebsd at wrede.ca Sat Jun 6 18:50:38 2015 From: aew.freebsd at wrede.ca (Andreas Wrede) Date: Sat, 6 Jun 2015 14:50:16 -0400 Subject: Bridge(4) not learning Message-ID: On a FreeBSD 10.1/amd64 system, I have a bridge(4) configured with a tap(4) and igb(4) interface as members: # ifconfig tap0 create up # ifconfig bridge0 create addm tap0 addm igb1 up igb1 is the interface to the local LAN with 192.168.0.1 as the servers IP address, tap0 is used by openvpn. (igb0 is used for the outside pppoe connection via mpd5) # ifconfig igb1 igb1: flags=8943 metric 0 mtu 1500 options=400b8 ether c8:0a:a9:c8:7e:87 inet6 fe80::ca0a:a9ff:fec8:7e87%igb1 prefixlen 64 scopeid 0x2 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active # ifconfig tap0 tap0: flags=8943 metric 0 mtu 1500 options=80000 ether 00:bd:b3:c4:2e:00 inet6 fe80::2bd:b3ff:fec4:2e00%tap0 prefixlen 64 scopeid 0x7 nd6 options=21 media: Ethernet autoselect status: active Opened by PID 16731 # ifconfig bridge0 bridge0: flags=8843 metric 0 mtu 1500 ether 02:b6:bc:d0:88:00 nd6 options=1 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto stp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb1 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 20000 member: tap0 flags=143 ifmaxaddr 0 port 7 priority 128 path cost 2000000 With openvpn configured, I can now connect and ping 192.168.0.1 from a remote host. However no other host on the local LAN (192.168.0.0/24) is reachable! Looking at the addresses the bridge has learned I only see the remote host's address on the tap(4) side: # ifconfig bridge0 addr f6:68:1f:e6:cf:38 Vlan1 tap0 114 flags=0<> # No addresses from the igb1 side of the bridge are ever learned. Pinging a host on the LAN from the remote host produces the expected arp requests and replies on the LAN side but the bridge never learns the address, thus packets are not forwarded back to the remote host. Things I have tried without success: - disabled the pf firewall - entered static mac address (ifconfig bridge0 static igb1 00:13:20:3f:e5:ff) I have the same setup working properly on another FreeBSD 10.1 system. The only difference (besides IP address values) are the network interfaces, the other setup uses a em(4) interface. Is there any other configuration setting I am missing or does bridging just now woke with igb(4)s? -- aew From herbert at oslo.ath.cx Sun Jun 7 07:59:04 2015 From: herbert at oslo.ath.cx (Herbert J. Skuhra) Date: Sun, 7 Jun 2015 09:59:00 +0200 Subject: kernel panic! In-Reply-To: <5572C340.5030209@bananmonarki.se> References: <55725BC4.4030301@bananmonarki.se> <5572C340.5030209@bananmonarki.se> Message-ID: <20150607075900.GA4169@oslo.ath.cx> On Sat, Jun 06, 2015 at 11:54:08AM +0200, Bernt Hansson wrote: > On 2015-06-06 06:16, Pratik Singhal wrote: > > Can you please post the boot log and the full stack trace of the panic, > > without that information I don't think anybody will be able to help you. > > Here it is. > > http://www.usenet4all.se/kernel_panic/IMG_0754.JPG Your system was running fine before? What has changed? Your system has 16 GB RAM, but only ~8 GB is available? Why? Are you tuning some vm sysctls? Are you using ZFS? Have you tried a newer release (9.3 or 10.1)? stable/8 reaches EOL soon (June 30th). -- Herbert From mail at ozzmosis.com Sun Jun 7 08:51:34 2015 From: mail at ozzmosis.com (andrew clarke) Date: Sun, 7 Jun 2015 18:51:30 +1000 Subject: Custom locale to use ISO 8601 date format Message-ID: <20150607085130.GA77300@ozzmosis.com> Here in Australia the general population uses the British DD/MM/YY format for representing dates, eg. today is 07/06/15, and the en_AU.UTF-8 locale in FreeBSD 10.1 honours that: lrwxr-xr-x 1 root wheel 22 17 Feb 2011 /usr/share/locale/en_AU.UTF-8/LC_TIME -> ../en_GB.UTF-8/LC_TIME However I wanted programs to use the ISO 8601 YYYY-MM-DD date format (2015-06-07) instead. To do this in Linux, the general method seems to set LC_TIME=en_DK.utf8, but FreeBSD has no locale by that name. As root, I could modify /usr/share/locale/en_AU.UTF-8/LC_TIME, but that could be overwritten when I upgrade to 10.2 with freebsd-update. After reading locale(1) it turns out users can set PATH_LOCALE=$HOME/locale to use their own custom locales, so I copied /usr/share/locale/ to $HOME/locale/ then modified $HOME/locale/en_AU.UTF-8/LC_TIME: $ diff -u /usr/share/locale/en_AU.UTF-8/LC_TIME $HOME/locale/en_AU.UTF-8/LC_TIME --- /usr/share/locale/en_AU.UTF-8/LC_TIME 2011-02-17 13:19:18.000000000 +1100 +++ /home/ozzmosis/locale/en_AU.UTF-8/LC_TIME 2015-06-07 18:17:57.537156884 +1000 @@ -37,7 +37,7 @@ Friday Saturday %H:%M:%S -%d/%m/%Y +%Y-%m-%d %a %e %b %X %Y am pm Make sure LANG=en_AU.UTF-8 is set in your login, then logout and back in: $ locale LANG=en_AU.UTF-8 LC_CTYPE="en_AU.UTF-8" LC_COLLATE="en_AU.UTF-8" LC_TIME="en_AU.UTF-8" LC_NUMERIC="en_AU.UTF-8" LC_MONETARY="en_AU.UTF-8" LC_MESSAGES="en_AU.UTF-8" LC_ALL= $ date +"%x %X" 2015-06-07 18:42:59 Hopefully others find this useful. Regards Andrew From bah at bananmonarki.se Sun Jun 7 12:22:44 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Sun, 07 Jun 2015 14:22:32 +0200 Subject: kernel panic! In-Reply-To: <20150607075900.GA4169@oslo.ath.cx> References: <55725BC4.4030301@bananmonarki.se> <5572C340.5030209@bananmonarki.se> <20150607075900.GA4169@oslo.ath.cx> Message-ID: <55743788.7010902@bananmonarki.se> On 2015-06-07 09:59, Herbert J. Skuhra wrote: > On Sat, Jun 06, 2015 at 11:54:08AM +0200, Bernt Hansson wrote: >> On 2015-06-06 06:16, Pratik Singhal wrote: >>> Can you please post the boot log and the full stack trace of the panic, >>> without that information I don't think anybody will be able to help you. >> >> Here it is. >> >> http://www.usenet4all.se/kernel_panic/IMG_0754.JPG > > Your system was running fine before? Yes. > What has changed? Loader.conf changed kern.maxfiles from 102400 to 10240000 > Your system has 16 GB RAM, but only ~8 GB is available? > Why? No idea. > Are you tuning some vm sysctls? Not that i know of. > Are you using ZFS? No. > Have you tried a newer release (9.3 or 10.1)? stable/8 reaches EOL soon > (June 30th). I have not tried any newer version on that machine, but we have 9.3-R too. From baho-utot at columbus.rr.com Sun Jun 7 13:55:16 2015 From: baho-utot at columbus.rr.com (Baho Utot) Date: Sun, 07 Jun 2015 09:55:05 -0400 Subject: jails Message-ID: <55744D39.9020409@columbus.rr.com> I have FreeBSD 10.1 and trying to setup a jail according to the handbook: 15.3. Creating and Controlling Jails |#| *|setenv D/|/staorage/jails/crochet|/|* |#| *|mkdir -p $D|* |#| *|cd /usr/src|* |#| *|make buildworld|* |#| *|make installworld DESTDIR=$D|* |#| *|make distribution DESTDIR=$D|* |#| *|mount -t devfs devfs $D/dev|* cat /etc/jail.conf crochet { path = /storage/jails/crochet; mount.devfs; host.hostname = crochet; ip4.addr = 192.168.1.40; interface = re0; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; } jail /storage/jails/crochet crochet.bildanet.com 192.168.1.40 /bin/sh gives jail: Undefined variable. How does one manually start the jail? I would like to start the jail manually not automagically on boot I want to be "in the jail" when it starts to run crochet from there ie a command prompt. OK what did I do incorrectly? From nanoman at nanoman.ca Sun Jun 7 14:51:08 2015 From: nanoman at nanoman.ca (A.J. Kehoe IV (Nanoman)) Date: Sun, 7 Jun 2015 10:42:32 -0400 Subject: Custom locale to use ISO 8601 date format In-Reply-To: <20150607085130.GA77300@ozzmosis.com> References: <20150607085130.GA77300@ozzmosis.com> Message-ID: <20150607144231.GA61785@nanocomputer.nanoman.ca> andrew clarke wrote: >Here in Australia the general population uses the British DD/MM/YY >format for representing dates, eg. today is 07/06/15, and the >en_AU.UTF-8 locale in FreeBSD 10.1 honours that: > >lrwxr-xr-x 1 root wheel 22 17 Feb 2011 /usr/share/locale/en_AU.UTF-8/LC_TIME -> ../en_GB.UTF-8/LC_TIME > >However I wanted programs to use the ISO 8601 YYYY-MM-DD date format >(2015-06-07) instead. To do this in Linux, the general method seems to >set LC_TIME=en_DK.utf8, but FreeBSD has no locale by that name. [...] Thanks for sharing your patch, Andrew! Personally, I wish everybody would adopt ISO 8601, or even ISO 2014, which was standardized twelve years earlier in the year 1976. Canada uses ISO 8601, but this isn't reflected in FreeBSD's en_CA locale, so I submitted this patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200079 After somebody commits this patch (or a patch that does something similar), you could use en_CA instead of having to manually patch every system you maintain. -- A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign Nanoman's Company | \ / - No HTML/RTF in E-mail E-mail: nanoman at nanoman.ca | X - No proprietary attachments WWW: http://www.nanoman.ca/ | / \ - Respect for open standards -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3924 bytes Desc: not available URL: From mail at ozzmosis.com Sun Jun 7 15:31:35 2015 From: mail at ozzmosis.com (andrew clarke) Date: Mon, 8 Jun 2015 01:31:30 +1000 Subject: Custom locale to use ISO 8601 date format In-Reply-To: <20150607144231.GA61785@nanocomputer.nanoman.ca> References: <20150607085130.GA77300@ozzmosis.com> <20150607144231.GA61785@nanocomputer.nanoman.ca> Message-ID: <20150607153130.GA80377@ozzmosis.com> On Sun 2015-06-07 10:42:32 UTC-0400, A.J. Kehoe IV (Nanoman) (nanoman at nanoman.ca) wrote: > >Here in Australia the general population uses the British DD/MM/YY > >format for representing dates, eg. today is 07/06/15, and the > >en_AU.UTF-8 locale in FreeBSD 10.1 honours that: > > > >lrwxr-xr-x 1 root wheel 22 17 Feb 2011 /usr/share/locale/en_AU.UTF-8/LC_TIME -> ../en_GB.UTF-8/LC_TIME > > > >However I wanted programs to use the ISO 8601 YYYY-MM-DD date format > >(2015-06-07) instead. To do this in Linux, the general method seems to > >set LC_TIME=en_DK.utf8, but FreeBSD has no locale by that name. > > [...] > > Thanks for sharing your patch, Andrew! Personally, I wish everybody > would adopt ISO 8601, or even ISO 2014, which was standardized twelve > years earlier in the year 1976. I'd like to see that too, I'm not holding my breath. Maybe after the US moves to metric... ;-) I'm not suggesting en_AU.*/LC_TIME be changed system-wide. The patch just works for me locally and I'm fine with that. > Canada uses ISO 8601, but this isn't reflected in FreeBSD's en_CA > locale, so I submitted this patch: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200079 That's encouraging to hear. I think you'll need to provide a better source than Wikipedia though. Also, obviously what the standards association has adopted and what's actually used by the general public can be two different things. System locales should probably err on the side of what is already being used. Of course what is being used can also be dictated by the system locale, so it's a bit chicken-and-egg really. And all of this assumes the programs you use honour your chosen locale. Some apps blindly ignore it, and some have their own setting for the date/time format, with the pros and cons of doing that. > After somebody commits this patch (or a patch that does something > similar), you could use en_CA instead of having to manually patch > every system you maintain. I could, but I'll be doing the latter since it means I'll always have complete control over my locale. Plus I only maintain a couple of FreeBSD systems where locale really matters to me on a daily basis. A once-off rsync of $HOME/locale/ is no big deal. From che at bein.link Sun Jun 7 15:38:36 2015 From: che at bein.link (Maxim V Filimonov) Date: Sun, 07 Jun 2015 18:38:24 +0300 Subject: jails In-Reply-To: <55744D39.9020409@columbus.rr.com> References: <55744D39.9020409@columbus.rr.com> Message-ID: <1642628.bHssLBXWQh@thinkpad> On Sunday 07 June 2015 09:55:05 Baho Utot wrote: > I have FreeBSD 10.1 and trying to setup a jail according to the handbook: > > > 15.3. Creating and Controlling Jails > > |#| *|setenv D/|/staorage/jails/crochet|/|* > |#| *|mkdir -p $D|* > |#| *|cd /usr/src|* > |#| *|make buildworld|* > |#| *|make installworld DESTDIR=$D|* > |#| *|make distribution DESTDIR=$D|* > |#| *|mount -t devfs devfs $D/dev|* > > cat /etc/jail.conf > crochet { > path = /storage/jails/crochet; > mount.devfs; > host.hostname = crochet; > ip4.addr = 192.168.1.40; > interface = re0; > exec.start = "/bin/sh /etc/rc"; > exec.stop = "/bin/sh /etc/rc.shutdown"; > } > > > jail /storage/jails/crochet crochet.bildanet.com 192.168.1.40 /bin/sh > > gives jail: Undefined variable. > > How does one manually start the jail? > > I would like to start the jail manually not automagically on boot > > I want to be "in the jail" when it starts to run crochet from there ie a > command prompt. > > OK what did I do incorrectly? > To start a jail, type > jail -c crochet To be inside this jail (i.e. to start a shell inside it), type: > jexec crochet /bin/sh -- wbr, Maxim Filimonov From nanoman at nanoman.ca Sun Jun 7 16:29:17 2015 From: nanoman at nanoman.ca (A.J. Kehoe IV (Nanoman)) Date: Sun, 7 Jun 2015 12:29:11 -0400 Subject: Custom locale to use ISO 8601 date format In-Reply-To: <20150607153130.GA80377@ozzmosis.com> References: <20150607085130.GA77300@ozzmosis.com> <20150607144231.GA61785@nanocomputer.nanoman.ca> <20150607153130.GA80377@ozzmosis.com> Message-ID: <20150607162911.GB61785@nanocomputer.nanoman.ca> andrew clarke wrote: >On Sun 2015-06-07 10:42:32 UTC-0400, A.J. Kehoe IV (Nanoman) (nanoman at nanoman.ca) wrote: > >> >Here in Australia the general population uses the British DD/MM/YY >> >format for representing dates, eg. today is 07/06/15, and the >> >en_AU.UTF-8 locale in FreeBSD 10.1 honours that: >> > >> >lrwxr-xr-x 1 root wheel 22 17 Feb 2011 /usr/share/locale/en_AU.UTF-8/LC_TIME -> ../en_GB.UTF-8/LC_TIME >> > >> >However I wanted programs to use the ISO 8601 YYYY-MM-DD date format >> >(2015-06-07) instead. To do this in Linux, the general method seems to >> >set LC_TIME=en_DK.utf8, but FreeBSD has no locale by that name. >> >> [...] >> >> Thanks for sharing your patch, Andrew! Personally, I wish everybody >> would adopt ISO 8601, or even ISO 2014, which was standardized twelve >> years earlier in the year 1976. > >I'd like to see that too, I'm not holding my breath. Maybe after the US >moves to metric... ;-) But then visitors to the United States would feel less like they're visiting a foreign country! And the imperial to metric conversion app on my mobile telephone would become less useful. >I'm not suggesting en_AU.*/LC_TIME be changed system-wide. The patch >just works for me locally and I'm fine with that. My understanding is that the Australian government hasn't adopted ISO 8601, so I wouldn't suggest this either. >> Canada uses ISO 8601, but this isn't reflected in FreeBSD's en_CA >> locale, so I submitted this patch: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200079 > >That's encouraging to hear. I think you'll need to provide a >better source than Wikipedia though. You're right. Canada's official time is defined by National Research Council Canada. They recommend ISO 8601: http://www.nrc-cnrc.gc.ca/eng/services/time/index.html http://www.nrc-cnrc.gc.ca/eng/services/time/faq/#Q8 >Also, obviously what the standards association has adopted and what's >actually used by the general public can be two different things. >System locales should probably err on the side of what is already >being used. Of course what is being used can also be dictated by the >system locale, so it's a bit chicken-and-egg really. > >And all of this assumes the programs you use honour your chosen >locale. Some apps blindly ignore it, and some have their own setting >for the date/time format, with the pros and cons of doing that. I agree. Here's an example that may never be adopted: http://www.ietf.org/rfc/rfc2550.txt >> After somebody commits this patch (or a patch that does something >> similar), you could use en_CA instead of having to manually patch >> every system you maintain. > >I could, but I'll be doing the latter since it means I'll always have >complete control over my locale. Plus I only maintain a couple of FreeBSD >systems where locale really matters to me on a daily basis. A once-off >rsync of $HOME/locale/ is no big deal. Still, it would be nice to be able to change only LC_TIME if you're in a country that doesn't use ISO 8601. Fortunately for me, all the systems I'm responsible for are in Canada, so I wouldn't have to do anything other than get this patch committed. -- A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign Nanoman's Company | \ / - No HTML/RTF in E-mail E-mail: nanoman at nanoman.ca | X - No proprietary attachments WWW: http://www.nanoman.ca/ | / \ - Respect for open standards -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3924 bytes Desc: not available URL: From patrickhess at gmx.net Sun Jun 7 22:29:12 2015 From: patrickhess at gmx.net (Patrick Hess) Date: Mon, 08 Jun 2015 00:29:02 +0200 Subject: Bridge(4) not learning In-Reply-To: References: Message-ID: <15304556.VzR42eXemu@desk8.phess.net> Andreas Wrede via freebsd-questions wrote: > igb1 is the interface to the local LAN with 192.168.0.1 as the servers > IP address Not sure if that's actually related to your issue, but according to the handbook, the IP address should be set on the bridge, not the physical interface. Patrick From patrickhess at gmx.net Sun Jun 7 22:41:53 2015 From: patrickhess at gmx.net (Patrick Hess) Date: Mon, 08 Jun 2015 00:41:43 +0200 Subject: jails In-Reply-To: <55744D39.9020409@columbus.rr.com> References: <55744D39.9020409@columbus.rr.com> Message-ID: <7628381.tKhpq5T4ue@desk8.phess.net> Baho Utot wrote: > I would like to start the jail manually not automagically on boot Unless you haven't edited your /etc/rc.conf to do so, jails won't be started automatically at boot time. Patrick From andreas at wrede.ca Mon Jun 8 12:48:25 2015 From: andreas at wrede.ca (Andreas Wrede) Date: Mon, 8 Jun 2015 08:48:14 -0400 Subject: Bridge(4) not learning In-Reply-To: <15304556.VzR42eXemu@desk8.phess.net> References: <15304556.VzR42eXemu@desk8.phess.net> Message-ID: > On Jun 7, 2015, at 18:29 , Patrick Hess wrote: > > Andreas Wrede via freebsd-questions wrote: >> igb1 is the interface to the local LAN with 192.168.0.1 as the servers >> IP address > > Not sure if that's actually related to your issue, but according to > the handbook, the IP address should be set on the bridge, not the > physical interface. I am not sure either but the working setup also has the IP address on the physical interface. As a test, I created a bridge and added the igb0(4) interface (which connects to the pppoe modem). The mac addresses from that LAN (i.e. the modem's and a second server's) are learned by the bridge! So the bridge learns addresses from igb0 but not from igb1! The igb0/1 are two ports on an Intel 82576: igb0: port 0xdc00-0xdc1f mem 0xdf6e0000-0xdf6fffff,0xdf6c0000-0xdf6dffff,0xdf69c000-0xdf69ffff irq 16 at device 0.0 on pci6 igb0: Using MSIX interrupts with 9 vectors igb0: Ethernet address: c8:0a:a9:c8:7e:86 igb0: Bound queue 0 to cpu 0 igb0: Bound queue 1 to cpu 1 igb0: Bound queue 2 to cpu 2 igb0: Bound queue 3 to cpu 3 igb0: Bound queue 4 to cpu 4 igb0: Bound queue 5 to cpu 5 igb0: Bound queue 6 to cpu 6 igb0: Bound queue 7 to cpu 7 igb1: port 0xd880-0xd89f mem 0xdf620000-0xdf63ffff,0xdf600000-0xdf61ffff,0xdf5dc000-0xdf5dffff irq 17 at device 0.1 on pci6 igb1: Using MSIX interrupts with 9 vectors igb1: Ethernet address: c8:0a:a9:c8:7e:87 igb1: Bound queue 0 to cpu 8 igb1: Bound queue 1 to cpu 9 igb1: Bound queue 2 to cpu 10 igb1: Bound queue 3 to cpu 11 igb1: Bound queue 4 to cpu 12 igb1: Bound queue 5 to cpu 13 igb1: Bound queue 6 to cpu 14 igb1: Bound queue 7 to cpu 15 I won't be able to physically swap the two ports until later this week but now I think this might be a bug somewhere rather than a config issue. -- aew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 670 bytes Desc: Message signed with OpenPGP using GPGMail URL: From frank2 at fjl.co.uk Mon Jun 8 19:16:13 2015 From: frank2 at fjl.co.uk (Frank Leonhardt) Date: Mon, 08 Jun 2015 19:54:20 +0100 Subject: jails In-Reply-To: <55744D39.9020409@columbus.rr.com> References: <55744D39.9020409@columbus.rr.com> Message-ID: <5575E4DC.1060204@fjl.co.uk> On 07/06/2015 14:55, Baho Utot wrote: > > I have FreeBSD 10.1 and trying to setup a jail according to the handbook: > > > 15.3. Creating and Controlling Jails > > |#| *|setenv D/|/staorage/jails/crochet|/|* > |#| *|mkdir -p $D|* > |#| *|cd /usr/src|* > |#| *|make buildworld|* > |#| *|make installworld DESTDIR=$D|* > |#| *|make distribution DESTDIR=$D|* > |#| *|mount -t devfs devfs $D/dev|* > ..... Your question has already been answered, but you might also like to know... The make buildworld stuff isn't strictly necessary, but it's always documented that way for some reason. I believe running buildworld from time to time is somehow good for the soul. In reality you can just copy all the files from a working FreeBSD installation in to the directory of your choice, call it an jail and it will probably run quite happily, assuming its binary compatible. This is fantastically useful. If you do build a "clean" installation as above, tar it before you run it so you can (a) restore it if you make a mess inside the jail; (b) make a extra jail VMs quickly. You can also clone a jail simply by copy the directory and adding an appropriate config file entry. Regards, Frank. From baho-utot at columbus.rr.com Mon Jun 8 19:58:13 2015 From: baho-utot at columbus.rr.com (Baho Utot) Date: Mon, 08 Jun 2015 15:58:05 -0400 Subject: jails In-Reply-To: <5575E4DC.1060204@fjl.co.uk> References: <55744D39.9020409@columbus.rr.com> <5575E4DC.1060204@fjl.co.uk> Message-ID: <5575F3CD.3010204@columbus.rr.com> On 06/08/15 14:54, Frank Leonhardt wrote: > On 07/06/2015 14:55, Baho Utot wrote: >> >> I have FreeBSD 10.1 and trying to setup a jail according to the >> handbook: >> >> >> 15.3. Creating and Controlling Jails >> >> |#| *|setenv D/|/staorage/jails/crochet|/|* >> |#| *|mkdir -p $D|* >> |#| *|cd /usr/src|* >> |#| *|make buildworld|* >> |#| *|make installworld DESTDIR=$D|* >> |#| *|make distribution DESTDIR=$D|* >> |#| *|mount -t devfs devfs $D/dev|* >> > ..... > > tar it before you run it so you can (a) restore it if you make a mess > inside the jail; Making a mess is the only thing I am good at....Just ask my wife. From frank2 at fjl.co.uk Mon Jun 8 20:00:09 2015 From: frank2 at fjl.co.uk (Frank Leonhardt) Date: Mon, 08 Jun 2015 20:59:51 +0100 Subject: best options for a *WORKING* MTA In-Reply-To: References: Message-ID: <5575F437.5010702@fjl.co.uk> On 01/06/2015 17:48, Aryeh Friedman wrote: > I have tried every which way I can find in the handbook and/or on the net > to get a working mail server and the best I can do get the default sendmail > to answer on localhost only (postfix seems to be completely broken). > Where can I find a good *SIMPLE* set of instructions on how to set up a > working mail server to accept mail for my domain? > I've skimmed through this thread, and at the risk of getting mixed up in a long-running holy between MTAs, I have to say that sendmail may be old and clunky, but it chugs along and is standard; you need a reason to deviate from a standard and you haven't articulated one for your requriements. I'm surprised you're having difficult running it because over many years I've always found it to work "out of the box." Rather than going off with other MTAs, no one seems to be wondering why you're getting to it via the loopback interface not the external. Have you considered whether it is able to bind to the external address? For example, are you starting sendmail BEFORE the external address is configured? No address, nothing to bind to and they symptoms you describe. Whatever you problem, it's probably something trivial like this, because sendmail does, most definitely, work. Regards, Frank. From frank2 at fjl.co.uk Mon Jun 8 20:09:09 2015 From: frank2 at fjl.co.uk (Frank Leonhardt) Date: Mon, 08 Jun 2015 21:08:55 +0100 Subject: Swap exhaustion In-Reply-To: <1CD13C1C-5344-4909-A061-F25FBB86AFF9@lafn.org> References: <1CD13C1C-5344-4909-A061-F25FBB86AFF9@lafn.org> Message-ID: <5575F657.1040301@fjl.co.uk> On 28/05/2015 00:49, Doug Hardie wrote: > I have a process that is eating up 6 GB of swap space. At that point, FreeBSD 9.3 terminates a process. However, occasionally its not the one eating up the space. When I manually quit the process then the swap space returns to a few KB used. The system runs fine after that. > > I have very little knowledge of what this process is doing internally but would like to know what might be causing this issue. There are 5 of these processes running (parent plus 4 children). Normally each uses about 90 MB RES/SIZE. However when the problem occurs they are about 2GB RES/SIZE each. The system has 4 GB memory. I thought that a malloc would not be able to grab that much memory, even with swapping as it has to be in memory. Could a malloc cause this growth in process size or need I look elsewhere? > > > Been there and done that :-) While this doesn't directly answer you're question, I wrote some stuff up about it here: http://blog.frankleonhardt.com/2011/large-swap-files-on-freebsd-die-with-mystery-killed-howto-add-lots-of-swap-space/ It was a while ago,and I'm a bit hazy, but I remember debugged the issue by modifying the kernel files I mention in order to tell me what was going on. It's actually very easy to do. Regards, Frank. From che at bein.link Mon Jun 8 21:17:48 2015 From: che at bein.link (Maxim V Filimonov) Date: Tue, 09 Jun 2015 00:17:37 +0300 Subject: jails In-Reply-To: <5575E4DC.1060204@fjl.co.uk> References: <55744D39.9020409@columbus.rr.com> <5575E4DC.1060204@fjl.co.uk> Message-ID: <7987536.PjAn0HZS7E@thinkpad> On Monday 08 June 2015 19:54:20 Frank Leonhardt wrote: > On 07/06/2015 14:55, Baho Utot wrote: > > I have FreeBSD 10.1 and trying to setup a jail according to the handbook: > > 15.3. Creating and Controlling Jails > > | > > |#| *|setenv D/|/staorage/jails/crochet|/|* > > |#| *|mkdir -p $D|* > > |#| *|cd /usr/src|* > > |#| *|make buildworld|* > > |#| *|make installworld DESTDIR=$D|* > > |#| *|make distribution DESTDIR=$D|* > > |#| *|mount -t devfs devfs $D/dev|* > > ..... > > Your question has already been answered, but you might also like to know... > > The make buildworld stuff isn't strictly necessary, but it's always > documented that way for some reason. I believe running buildworld from > time to time is somehow good for the soul. > > In reality you can just copy all the files from a working FreeBSD > installation in to the directory of your choice, call it an jail and it > will probably run quite happily, assuming its binary compatible. This is > fantastically useful. If you do build a "clean" installation as above, > tar it before you run it so you can (a) restore it if you make a mess > inside the jail; (b) make a extra jail VMs quickly. You can also clone a > jail simply by copy the directory and adding an appropriate config file > entry. > > Regards, Frank. > You can also use bsdinstall to install a fresh, clean base system into a jail. -- wbr, Maxim Filimonov From che at bein.link Mon Jun 8 21:22:20 2015 From: che at bein.link (Maxim V Filimonov) Date: Tue, 09 Jun 2015 00:22:18 +0300 Subject: Junk mail on list reply Message-ID: <1647612.8LsUtL0D9u@thinkpad> Recently, I started getting junk emails every time I reply to someone in any of the FreeBSD Mailing Lists. The messages look like the one attached. Can anyone do anything with that? Can I consult anyone to fix that? Why is that happening after all? -- wbr, Maxim Filimonov -------------- next part -------------- An embedded message was scrubbed... From: jzsf at vip.sina.com Subject: ?????Re: jails Date: Tue, 09 Jun 2015 05:18:07 +0800 Size: 1608 URL: From jon at radel.com Mon Jun 8 21:25:30 2015 From: jon at radel.com (Jon Radel) Date: Mon, 08 Jun 2015 17:25:19 -0400 Subject: Junk mail on list reply In-Reply-To: <1647612.8LsUtL0D9u@thinkpad> References: <1647612.8LsUtL0D9u@thinkpad> Message-ID: <5576083F.1080305@radel.com> On 6/8/15 5:22 PM, Maxim V Filimonov wrote: > Recently, I started getting junk emails every time I reply to someone in any > of the FreeBSD Mailing Lists. The messages look like the one attached. Can > anyone do anything with that? Can I consult anyone to fix that? Why is that > happening after all? > Because some people can't be trusted to use auto-responders properly. Not much to do unless the guilty parties are forcibly removed from the mailing list. --Jon Radel jon at radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3870 bytes Desc: S/MIME Cryptographic Signature URL: From jekillen at prodigy.net Mon Jun 8 21:38:01 2015 From: jekillen at prodigy.net (Jeffry Killen) Date: Mon, 8 Jun 2015 14:35:47 -0700 Subject: Junk mail on list reply In-Reply-To: <5576083F.1080305@radel.com> References: <1647612.8LsUtL0D9u@thinkpad> <5576083F.1080305@radel.com> Message-ID: <688927DC-9B09-4B66-B52F-CA7EFE05EF81@prodigy.net> On Jun 8, 2015, at 2:25 PM, Jon Radel wrote: > On 6/8/15 5:22 PM, Maxim V Filimonov wrote: >> Recently, I started getting junk emails every time I reply to >> someone in any >> of the FreeBSD Mailing Lists. The messages look like the one >> attached. Can >> anyone do anything with that? Can I consult anyone to fix that? Why >> is that >> happening after all? >> > Because some people can't be trusted to use auto-responders > properly. Not much to do unless the guilty parties are forcibly > removed from the mailing list. > I have also been getting this spam, originally when I signed up for the list. It is the first response to threads I have started and one was in echo back or reply to another thread. It's not extensive and can be easily ignored, but it is annoying JK From galtsev at kicp.uchicago.edu Mon Jun 8 21:39:58 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Mon, 8 Jun 2015 16:39:50 -0500 (CDT) Subject: Junk mail on list reply In-Reply-To: <1647612.8LsUtL0D9u@thinkpad> References: <1647612.8LsUtL0D9u@thinkpad> Message-ID: <61481.128.135.70.2.1433799590.squirrel@cosmo.uchicago.edu> On Mon, June 8, 2015 4:22 pm, Maxim V Filimonov wrote: > Recently, I started getting junk emails every time I reply to someone in > any > of the FreeBSD Mailing Lists. The messages look like the one attached. Can > anyone do anything with that? Can I consult anyone to fix that? Why is > that > happening after all? Hi Maxim, from what have been discussed earlier about similar events related to posts to this list I can say: 1. these apparently foreign (with respect to the list language) e-mails appear to be auto-replies (by some likely subscribed to this list) 2. domain sina.com is notorious for these things (I for one consider it rudeness to allow any auto-reply sent to mail list, as well as messages in foreign language - at least I would never allow myself to do neither of of these two things) 3. list admin(s) are more likely to be reluctant to block the whole domain sina.com from this list (or their list server); I would respect their decision, even though it is different from what I would do. The best you probably can do is to block all mail from sina.com (including that re-sent through this list) on your end. Good luck! Valeri > -- > wbr, Maxim Filimonov > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From rwmaillists at googlemail.com Mon Jun 8 21:43:54 2015 From: rwmaillists at googlemail.com (RW) Date: Mon, 8 Jun 2015 22:43:49 +0100 Subject: Swap exhaustion In-Reply-To: <5575F657.1040301@fjl.co.uk> References: <1CD13C1C-5344-4909-A061-F25FBB86AFF9@lafn.org> <5575F657.1040301@fjl.co.uk> Message-ID: <20150608224349.14b5ae19@gumby.homeunix.com> On Mon, 08 Jun 2015 21:08:55 +0100 Frank Leonhardt wrote: > On 28/05/2015 00:49, Doug Hardie wrote: > > I have a process that is eating up 6 GB of swap space. .. The > > system has 4 GB memory. > > Been there and done that :-) While this doesn't directly answer > you're question, I wrote some stuff up about it here: > > http://blog.frankleonhardt.com/2011/large-swap-files-on-freebsd-die-with-mystery-killed-howto-add-lots-of-swap-space/ That for high ratios of swap to ram, this is only 1.5X ram. From patrickhess at gmx.net Mon Jun 8 21:46:41 2015 From: patrickhess at gmx.net (Patrick Hess) Date: Mon, 08 Jun 2015 23:46:37 +0200 Subject: jails In-Reply-To: <5575E4DC.1060204@fjl.co.uk> References: <55744D39.9020409@columbus.rr.com> <5575E4DC.1060204@fjl.co.uk> Message-ID: <3311782.n9oG808xge@desk8.phess.net> Frank Leonhardt wrote: > In reality you can just copy all the files from a working FreeBSD > installation in to the directory of your choice, call it an jail and > it will probably run quite happily, assuming its binary compatible. > This is fantastically useful. Indeed, that's also one of my favorite features of jails. Just take anything that even remotely looks like a base system, make a copy of it, and there's your brand new jail. I usually grab myself a base.txz, like those really fresh ones you can find on ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ that still have that nice new car smell to them, extract it to a new directory, and then create a few basic configuration files (rc.conf, resolv.conf, etc.). That's really all there is to it. But there's definitely more than one way to do it, that's the beauty. Just pick the method you feel most comfortable with. Patrick From freebsd at edvax.de Mon Jun 8 22:16:52 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 9 Jun 2015 00:16:42 +0200 Subject: jails In-Reply-To: <7987536.PjAn0HZS7E@thinkpad> References: <55744D39.9020409@columbus.rr.com> <5575E4DC.1060204@fjl.co.uk> <7987536.PjAn0HZS7E@thinkpad> Message-ID: <20150609001642.5c78b067.freebsd@edvax.de> On Tue, 09 Jun 2015 00:17:37 +0300, Maxim V Filimonov wrote: > You can also use bsdinstall to install a fresh, clean base system into a jail. Or extract the distribution archives into the jail (basically what bsdinstall does, but easily via command line). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Jun 8 22:21:07 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 9 Jun 2015 00:21:04 +0200 Subject: Junk mail on list reply In-Reply-To: <5576083F.1080305@radel.com> References: <1647612.8LsUtL0D9u@thinkpad> <5576083F.1080305@radel.com> Message-ID: <20150609002104.49b24192.freebsd@edvax.de> On Mon, 08 Jun 2015 17:25:19 -0400, Jon Radel wrote: > Not much to do unless the guilty parties are forcibly removed from the > mailing list. The problem is that the auto-respond text is sent directly to the list participant who sent a message to the list. It seems that the source of the auto-responder has subscribed to the list and sends his reply when a new message arrives in his inbox - or, he's somehow harvesting new messages from the public list archives (web), in which case nothing can be done by the list admins directly; here, the individual recipients would have to block the auto-replies accordingly. However, just hitting DELETE for those messages fixes the problem. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From che at bein.link Mon Jun 8 22:22:19 2015 From: che at bein.link (Maxim V Filimonov) Date: Tue, 09 Jun 2015 01:22:17 +0300 Subject: Junk mail on list reply In-Reply-To: <61481.128.135.70.2.1433799590.squirrel@cosmo.uchicago.edu> References: <1647612.8LsUtL0D9u@thinkpad> <61481.128.135.70.2.1433799590.squirrel@cosmo.uchicago.edu> Message-ID: <1602809.cR4Y0MRoRF@thinkpad> On Monday 08 June 2015 16:39:50 Valeri Galtsev wrote: > On Mon, June 8, 2015 4:22 pm, Maxim V Filimonov wrote: > > Recently, I started getting junk emails every time I reply to someone in > > any > > of the FreeBSD Mailing Lists. The messages look like the one attached. Can > > anyone do anything with that? Can I consult anyone to fix that? Why is > > that > > happening after all? > > Hi Maxim, > > from what have been discussed earlier about similar events related to > posts to this list I can say: > > 1. these apparently foreign (with respect to the list language) e-mails > appear to be auto-replies (by some likely subscribed to this list) > I tried to translate that using Google Translate, and that was found to be some automatic replies. > 2. domain sina.com is notorious for these things (I for one consider it > rudeness to allow any auto-reply sent to mail list, as well as messages in > foreign language - at least I would never allow myself to do neither of of > these two things) > > 3. list admin(s) are more likely to be reluctant to block the whole domain > sina.com from this list (or their list server); I would respect their > decision, even though it is different from what I would do. > > The best you probably can do is to block all mail from sina.com (including > that re-sent through this list) on your end. > > Good luck! > Valeri Well, that's what I've done in the first place. Thank you for your kind and detailed reply. -- wbr, Maxim Filimonov From jnyhuis at uw.edu Tue Jun 9 00:24:10 2015 From: jnyhuis at uw.edu (John Nyhuis) Date: Mon, 08 Jun 2015 17:23:55 -0700 Subject: FreeBSD 10.1p10 defaultrouter not working Message-ID: <5576321B.3030506@uw.edu> I am trying to set a default route of 140.142.xyz.129 using the documented method of adding the line below to rc.conf: defaultrouter = "140.142.xyz.129" (the .xyz. is to protect the guilty... mainly me). ^_^ After restarting the netif and route services, I still don't see a default route being set. netstat -r shows: Internet: Destination Gateway Flags Netif Expire localhost link#7 UH lo0 140.142.xyz.128/25 link#8 U lagg0 140.142.xyz.141 link#8 UHS lo0 no default route is assigned... No logs of interest show up in messages, security, or dmesg.today The pertinent section of rc.conf looks like: cloned_interfaces="lagg0" defaultrouter="140.142.xyz.129" #create a LACP aggregate interface for the native 1G NICS ifconfig_bce0="up" ifconfig_bce1="up" ifconfig_lagg0="laggproto lacp laggport bce0 laggport bce1 140.142.xyz.141/25" This should all be good according to the FreeBSD handbook, but it does not work. I can manually set the default route using "route add default 140.142.xyz.129", but although the route is now listed, it does not work. If I comment the "ifconfig_lagg0" line, a default route does show up as expected, so this seems to be related to an incompatibility between a aggregate interface and a "defaultrouter" line in rc.conf. Either will work by themselves, but not both in the same rc.conf. Any wisdom you would be willing to share would be much appreciated... -- Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 From erichsfreebsdlist at alogt.com Tue Jun 9 01:26:41 2015 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Tue, 9 Jun 2015 09:26:25 +0800 Subject: Junk mail on list reply In-Reply-To: <1647612.8LsUtL0D9u@thinkpad> References: <1647612.8LsUtL0D9u@thinkpad> Message-ID: <20150609092625.29030b90@B85M-HD3-0.alogt.com> Hi, On Tue, 09 Jun 2015 00:22:18 +0300 Maxim V Filimonov wrote: > Recently, I started getting junk emails every time I reply to someone > in any of the FreeBSD Mailing Lists. The messages look like the one > attached. Can anyone do anything with that? Can I consult anyone to > fix that? Why is that happening after all? it is very easy to filter. For me, all FreeBSD related e-mail not originating from freebsd.org goes directly into spam. It is not only this kind of spam, there is also a lot of harvesting taking place which adds up over time. Erich From pathiaki2 at yahoo.com Tue Jun 9 01:41:43 2015 From: pathiaki2 at yahoo.com (pathiaki2 at yahoo.com) Date: Mon, 08 Jun 2015 21:38:12 -0400 Subject: FreeBSD 10.1p10 defaultrouter not working In-Reply-To: <5576321B.3030506@uw.edu> References: <5576321B.3030506@uw.edu> Message-ID: <55764384.1020606@yahoo.com> It doesn't. Whether it's by design or a flaw, I've noticed this for about 5 years. route add default and everything should be fine. :-) Otherwise, a full reboot will read the /etc/rc.conf file and everything should behave as expected. P. On 06/08/2015 20:23, John Nyhuis wrote: > I am trying to set a default route of 140.142.xyz.129 using the > documented method of adding the line below to rc.conf: > > defaultrouter = "140.142.xyz.129" > > (the .xyz. is to protect the guilty... mainly me). ^_^ > > After restarting the netif and route services, I still don't see a > default route being set. > netstat -r shows: > > Internet: > Destination Gateway Flags Netif Expire > localhost link#7 UH lo0 > 140.142.xyz.128/25 link#8 U lagg0 > 140.142.xyz.141 link#8 UHS lo0 > > no default route is assigned... > No logs of interest show up in messages, security, or dmesg.today > > The pertinent section of rc.conf looks like: > > cloned_interfaces="lagg0" > defaultrouter="140.142.xyz.129" > > #create a LACP aggregate interface for the native 1G NICS > ifconfig_bce0="up" > ifconfig_bce1="up" > ifconfig_lagg0="laggproto lacp laggport bce0 laggport bce1 > 140.142.xyz.141/25" > > > This should all be good according to the FreeBSD handbook, but it does > not work. > > > I can manually set the default route using "route add default > 140.142.xyz.129", but although the route is now listed, it does not work. > > If I comment the "ifconfig_lagg0" line, a default route does show up > as expected, so this seems to be related to an incompatibility between > a aggregate interface and a "defaultrouter" line in rc.conf. Either > will work by themselves, but not both in the same rc.conf. > > > Any wisdom you would be willing to share would be much appreciated... > > > From freebsd at qeng-ho.org Tue Jun 9 07:14:17 2015 From: freebsd at qeng-ho.org (Arthur Chance) Date: Tue, 09 Jun 2015 08:02:41 +0100 Subject: Junk mail on list reply In-Reply-To: <61481.128.135.70.2.1433799590.squirrel@cosmo.uchicago.edu> References: <1647612.8LsUtL0D9u@thinkpad> <61481.128.135.70.2.1433799590.squirrel@cosmo.uchicago.edu> Message-ID: <55768F91.1030604@qeng-ho.org> On 08/06/2015 22:39, Valeri Galtsev wrote: > > On Mon, June 8, 2015 4:22 pm, Maxim V Filimonov wrote: >> Recently, I started getting junk emails every time I reply to someone in >> any >> of the FreeBSD Mailing Lists. The messages look like the one attached. Can >> anyone do anything with that? Can I consult anyone to fix that? Why is >> that >> happening after all? > > Hi Maxim, > > from what have been discussed earlier about similar events related to > posts to this list I can say: > > 1. these apparently foreign (with respect to the list language) e-mails > appear to be auto-replies (by some likely subscribed to this list) > > 2. domain sina.com is notorious for these things (I for one consider it > rudeness to allow any auto-reply sent to mail list, as well as messages in > foreign language - at least I would never allow myself to do neither of of > these two things) > > 3. list admin(s) are more likely to be reluctant to block the whole domain > sina.com from this list (or their list server); I would respect their > decision, even though it is different from what I would do. > > The best you probably can do is to block all mail from sina.com (including > that re-sent through this list) on your end. You can be a little less draconian than that. Set your mail filters to delete any mail from sina.com with a subject line containing "????", which is the common feature of these mails. (Google Translate tells me that's Chinese for "Autoreply".) -- Those who do not learn from computing history are doomed to GOTO 1 From erichsfreebsdlist at alogt.com Tue Jun 9 07:23:39 2015 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Tue, 9 Jun 2015 15:23:32 +0800 Subject: FreeBSD 10.1p10 defaultrouter not working In-Reply-To: <5576321B.3030506@uw.edu> References: <5576321B.3030506@uw.edu> Message-ID: <20150609152332.2b6299e6@B85M-HD3-0.alogt.com> Hi, On Mon, 08 Jun 2015 17:23:55 -0700 John Nyhuis wrote: > I am trying to set a default route of 140.142.xyz.129 using the > documented method of adding the line below to rc.conf: > > defaultrouter = "140.142.xyz.129" > try something like this: defaultrouter="192.168.123.210" It works for me since decades. Erich From mayuresh at kathe.in Tue Jun 9 07:25:26 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Tue, 09 Jun 2015 12:55:19 +0530 Subject: swift under =?UTF-8?Q?freebsd=3F?= Message-ID: <0e0e0498667962e412d607e2f27274d0@kathe.in> hi, in case someone missed it, there's been an announcement that apple's swift will be open sourced soon. they are going pretty much full-out, even the libraries are going to get open sourced along with the compiler. in that case, would freebsd import support for swift within the base system in the near future? ~mayuresh From iam at ardiefox.me Tue Jun 9 07:28:39 2015 From: iam at ardiefox.me (Ardie H. Hwang) Date: Tue, 9 Jun 2015 16:28:31 +0900 Subject: swift under freebsd? In-Reply-To: <0e0e0498667962e412d607e2f27274d0@kathe.in> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> Message-ID: <44B305FD-4EDD-44B2-94FB-3B5B22BF74E3@ardiefox.me> That would be something hard to imagine. Even Perl is in Ports tree, not base system. But it would be surely good to have Swift support in FreeBSD. :) -- Ardie H. Hwang ---------------- email: iam at ardiefox.me mobile: +82-10-I-AM-ARDIE > On Jun 9, 2015, at 16:25, Mayuresh Kathe wrote: > > hi, in case someone missed it, there's been an announcement that apple's swift will be open sourced soon. > they are going pretty much full-out, even the libraries are going to get open sourced along with the compiler. > in that case, would freebsd import support for swift within the base system in the near future? > > ~mayuresh > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6097 bytes Desc: not available URL: From mayuresh at kathe.in Tue Jun 9 07:41:25 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Tue, 09 Jun 2015 13:11:22 +0530 Subject: swift under =?UTF-8?Q?freebsd=3F?= In-Reply-To: <44B305FD-4EDD-44B2-94FB-3B5B22BF74E3@ardiefox.me> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> <44B305FD-4EDD-44B2-94FB-3B5B22BF74E3@ardiefox.me> Message-ID: <1cb1ec31f33e6936aa2ac3991ad6f8a3@kathe.in> not too hard to imagine i would say, especially considering the fact that there's an objective-c compiler already bundled with the base install. :) the libraries could probably be part of the ports tree though. ;) it was fun to play with objective-c, but from the looks of it, swift would be a pleasure to work with. :) ~mayuresh On 2015-06-09 12:58, Ardie H. Hwang wrote: > That would be something hard to imagine. Even Perl is in Ports tree, > not base system. > But it would be surely good to have Swift support in FreeBSD. :) > > -- > Ardie H. Hwang > ---------------- > email: iam at ardiefox.me > mobile: +82-10-I-AM-ARDIE > >> On Jun 9, 2015, at 16:25, Mayuresh Kathe wrote: >> >> hi, in case someone missed it, there's been an announcement that >> apple's swift will be open sourced soon. >> they are going pretty much full-out, even the libraries are going to >> get open sourced along with the compiler. >> in that case, would freebsd import support for swift within the base >> system in the near future? >> >> ~mayuresh >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" From rsk at gsp.org Tue Jun 9 10:39:41 2015 From: rsk at gsp.org (Rich Kulawiec) Date: Tue, 9 Jun 2015 06:12:52 -0400 Subject: Junk mail on list reply In-Reply-To: <1647612.8LsUtL0D9u@thinkpad> References: <1647612.8LsUtL0D9u@thinkpad> Message-ID: <20150609101252.GA18825@gsp.org> On Tue, Jun 09, 2015 at 12:22:18AM +0300, Maxim V Filimonov wrote: > Recently, I started getting junk emails every time I reply to someone in any > of the FreeBSD Mailing Lists. The messages look like the one attached. Can > anyone do anything with that? Can I consult anyone to fix that? Why is that > happening after all? This is happening because someone has a broken auto-responder that (a) responds to bulk traffic, i.e., mailing list traffic and (b) responds back to the person sending traffic to the mailing list. This list's headers indicate that the way to reach the human(s) behind it is to contact: owner-freebsd-questions at freebsd.org This list's main information page indicates that it's: freebsd-questions-owner at freebsd.org (To explain: both variations are common. I support both on the lists that I manage because the first one matches RFC 2142 and the second one is parallel to freebsd-questions-request at freebsd.org, which is the address used to interact with Mailman. The general rule is that -request usually goes to a program while -owner goes to people.) Therefore, I would forward a copy of the response to one of those addresses (probably the latter), with an explanation, and request the removal of the address causing the problem. Most people who run mailing lists will either warn and/or remove subscribed addresses that do this, because it's clearly abusive. ---rsk From mail at ozzmosis.com Tue Jun 9 11:38:38 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 9 Jun 2015 21:38:27 +1000 Subject: swift under freebsd? In-Reply-To: <0e0e0498667962e412d607e2f27274d0@kathe.in> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> Message-ID: <20150609113827.GA80013@ozzmosis.com> On Tue 2015-06-09 12:55:19 UTC+0530, Mayuresh Kathe (mayuresh at kathe.in) wrote: > hi, in case someone missed it, there's been an announcement that apple's > swift will be open sourced soon. > they are going pretty much full-out, even the libraries are going to get > open sourced along with the compiler. > in that case, would freebsd import support for swift within the base > system in the near future? I think it would only end up in the FreeBSD base system if a particular program in base required it. However the general trend over the years has been to remove dependencies from base (Perl, Ruby) rather than add more. ObjC support is in base more by coincidence, because clang is required to build the base system in FreeBSD 10.0 and newer, and clang includes ObjC support. clang will never build Swift apps, though. Given that Swift is built on top of LLVM (which clang uses), it should hopefully be fairly trivial to port to FreeBSD, and I'd expect it to appear in the Ports tree sooner or later. But not in base. From paul at ifdnrg.com Tue Jun 9 19:31:10 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Tue, 09 Jun 2015 20:23:04 +0100 Subject: r220's with serial Message-ID: <55773D18.3060804@ifdnrg.com> has anyone managed to get serial console access working under dell r220's. -All below under bios boot, as opposed to uefi, (which i can't use anyway as usb installer doesn't support ZFS on boot) tried under both ZFS boot and traditional UFS setup. I see: - with bios redirection after boot on (which i have on all other working non r220 prior boxes) -broken boot menu which gets kicked out to an usuable loader prompt, if you catch it quick it'll boot, (i suspect there's some unwanted output from the dell serial output) - when bios redirection after boot is disabled box does boot ok under serial but i can't get a vt100 terminal login with same settings as i have workign on all other boxes. thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From paul at ifdnrg.com Tue Jun 9 19:37:10 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Tue, 09 Jun 2015 20:37:07 +0100 Subject: r220's with serial In-Reply-To: <55773D18.3060804@ifdnrg.com> References: <55773D18.3060804@ifdnrg.com> Message-ID: <55774063.4050306@ifdnrg.com> On 09/06/2015 20:23, Paul Macdonald wrote: > > has anyone managed to get serial console access working under dell > r220's. > > -All below under bios boot, as opposed to uefi, (which i can't use > anyway as usb installer doesn't support ZFS on boot) > > tried under both ZFS boot and traditional UFS setup. > > I see: > - with bios redirection after boot on (which i have on all > other working non r220 prior boxes) > -broken boot menu which gets kicked out to an > usuable loader prompt, if you catch it quick it'll boot, > (i suspect there's some unwanted output from > the dell serial output) > > - when bios redirection after boot is disabled box does boot > ok under serial but i can't get a vt100 terminal login with same > settings as i have workign on all other boxes. > > thanks > Paul. > > given most of the above is fixed by turning off bios redirection after boot, a potentially better question is why do i not get a login prompt after boot? neither: ttyu0 "/usr/libexec/getty std.57600" vt100 onifconsole secure ttyu0 "/usr/libexec/getty std.57600" vt100 on secure give a login prompt. getty on ttyu0 is running root 766 0.0 0.0 14488 2120 - I 10:31PM 0:00.00 /usr/libexec/getty std.57600 ttyu0 root 758 0.0 0.0 14488 1984 v0 Is+ 10:31PM 0:00.00 /usr/libexec/getty Pc ttyv0 Paul. > > -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From paul at ifdnrg.com Tue Jun 9 20:18:41 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Tue, 09 Jun 2015 21:18:34 +0100 Subject: r220's with serial In-Reply-To: <55774063.4050306@ifdnrg.com> References: <55773D18.3060804@ifdnrg.com> <55774063.4050306@ifdnrg.com> Message-ID: <55774A1A.6030600@ifdnrg.com> uart0 not seen in dmesg which i think is def related: /var/log/messages Jun 9 22:59:31 asd getty[796]: open /dev/ttyu0: No such file or directory (tried disabling ttyu0 and only having ttyu1 but no luck) #ttyu0 "/usr/libexec/getty std.57600" vt100 onifconsole secure ttyu1 "/usr/libexec/getty std.57600" vt100 onifconsole secure *dmesg:** * uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 Whereas on a currently working serial system i see uart 0 and 1 ///uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0// // uart0: console (57600,n,8,1)//// // uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0// / is this just a serial port driver issue on com1? (altho i see all serial stuff till login) help! -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From paul at ifdnrg.com Tue Jun 9 20:51:11 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Tue, 09 Jun 2015 21:51:05 +0100 Subject: r220's with serial In-Reply-To: <55774A1A.6030600@ifdnrg.com> References: <55773D18.3060804@ifdnrg.com> <55774063.4050306@ifdnrg.com> <55774A1A.6030600@ifdnrg.com> Message-ID: <557751B9.3080706@ifdnrg.com> On 09/06/2015 21:18, Paul Macdonald wrote: > > uart0 not seen in dmesg which i think is def related: > Is the issue is a lack of a an appropriate serial driver in 10.1 for dell r220's? (serial is fine till OS boot and login should be shown) -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From opendaddy at hushmail.com Wed Jun 10 11:49:58 2015 From: opendaddy at hushmail.com (opendaddy at hushmail.com) Date: Wed, 10 Jun 2015 11:11:35 +0000 Subject: FreeBSD and Docker Message-ID: <20150610111135.C81EE2319B@smtp.hushmail.com> Hi! Attempting to install the Discourse discussion forum (https://github.com/discourse/discourse) on my DigitalOcean FreeBSD VPS. Discourse requires Docker, however nothing happens when I try `wget -qO- https://get.docker.com/ | sh` (https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md). What am I doing wrong? Thanks! O.D. From mayuresh at kathe.in Wed Jun 10 11:59:03 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Wed, 10 Jun 2015 17:28:56 +0530 Subject: FreeBSD and Docker In-Reply-To: <20150610111135.C81EE2319B@smtp.hushmail.com> References: <20150610111135.C81EE2319B@smtp.hushmail.com> Message-ID: <74b05bc6a0e5606ffe29b9a0230b1e86@kathe.in> On 2015-06-10 16:41, opendaddy at hushmail.com wrote: > Hi! > > Attempting to install the Discourse discussion forum > (https://github.com/discourse/discourse) on my DigitalOcean FreeBSD > VPS. Discourse requires Docker, however nothing happens when I try > `wget -qO- https://get.docker.com/ | sh` > (https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md). > > What am I doing wrong? did you try getting that file first? as it is! maybe you could issue; wget https://get.docker.com/ once downloaded, try running the file; sh ~mayuresh From joe.shevland at hushmail.com Wed Jun 10 13:13:26 2015 From: joe.shevland at hushmail.com (Joe Shevland) Date: Wed, 10 Jun 2015 23:13:24 +1000 Subject: FreeBSD and Docker In-Reply-To: <20150610111135.C81EE2319B@smtp.hushmail.com> Message-ID: <20150610131324.E7AD3C04C8@smtp.hushmail.com> Postgres, Redis and Ruby are available though, so I don't think it'd be impossible to get the RoR side of things working for Discourse. On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: > >Hi! > >Attempting to install the Discourse discussion forum >(https://github.com/discourse/discourse) on my DigitalOcean >FreeBSD VPS. Discourse requires Docker, however nothing happens >when I try `wget -qO- https://get.docker.com/ | sh` >(https://github.com/discourse/discourse/blob/master/docs/INSTALL- >cloud.md). > >What am I doing wrong? > >Thanks! > >O.D. > >_______________________________________________ >freebsd-questions at freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions- >unsubscribe at freebsd.org" From joe.shevland at hushmail.com Wed Jun 10 13:39:58 2015 From: joe.shevland at hushmail.com (Joe Shevland) Date: Wed, 10 Jun 2015 23:05:13 +1000 Subject: FreeBSD and Docker In-Reply-To: <20150610111135.C81EE2319B@smtp.hushmail.com> Message-ID: <20150610130513.8723CC0487@smtp.hushmail.com> I'd go for a Linux environment if I was going to use Docker. Aside from that, in general I break it down into steps first when trying to debug a problem. Remove the -q for a start to suppress warnings. The wget fails because of an invalid certificate on the site, try: $ cd /tmp $ wget --no-check-certificate https://get.docker.com -O temp.sh That'll get you the install script in /tmp/temp.sh. But the script deliberately looks for linux variants and will abort when you run it on freebsd... my understanding was Docker relies on Linux kernalisms fairly heavily (I don't know how far you get with linux compat in freebsd). On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: > >Hi! > >Attempting to install the Discourse discussion forum >(https://github.com/discourse/discourse) on my DigitalOcean >FreeBSD VPS. Discourse requires Docker, however nothing happens >when I try `wget -qO- https://get.docker.com/ | sh` >(https://github.com/discourse/discourse/blob/master/docs/INSTALL- >cloud.md). > >What am I doing wrong? > >Thanks! > >O.D. > >_______________________________________________ >freebsd-questions at freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions- >unsubscribe at freebsd.org" From cscoman at gmail.com Wed Jun 10 14:29:10 2015 From: cscoman at gmail.com (Jason Cox) Date: Wed, 10 Jun 2015 07:29:09 -0700 Subject: FreeBSD and Docker In-Reply-To: <20150610111135.C81EE2319B@smtp.hushmail.com> References: <20150610111135.C81EE2319B@smtp.hushmail.com> Message-ID: What are you doing wrong? You are trying to run docker on FreeBSD. Docker is a containerization technology built for Linux. It uses LXC (which is Linux Containers) for older Kernels or docker specific bits which are now part of the modern Linux kernel 3.10+. Docker is basically FreeBSD Jails, with a few more features and a lot more security issues. Stay away from docker for a while till they fix all the security issues in it or look at Rocket from the CoreOS team. I have not looked into Discourse, but any application that requires Docker is not worth using at this point. I am sure there must be a way to install it without using Docker. You can get hints of how someone gets apps working inside a Docker container by looking at the DockerFile if you go looking at https://registry.hub.docker.com. This is a build file for a containers. If you just cannot get Discourse working on FreeBSD, then by all means switch to a Linux install instead. Make sure it is not centos as it will not have the update Kernel drivers for better Docker support. On Wed, Jun 10, 2015 at 4:11 AM, wrote: > Hi! > > Attempting to install the Discourse discussion forum ( > https://github.com/discourse/discourse) on my DigitalOcean FreeBSD VPS. > Discourse requires Docker, however nothing happens when I try `wget -qO- > https://get.docker.com/ | sh` ( > https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md). > > What am I doing wrong? > > Thanks! > > O.D. > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Jason Cox From freebsd at edvax.de Wed Jun 10 14:52:54 2015 From: freebsd at edvax.de (Polytropon) Date: Wed, 10 Jun 2015 16:52:44 +0200 Subject: FreeBSD and Docker In-Reply-To: References: <20150610111135.C81EE2319B@smtp.hushmail.com> Message-ID: <20150610165244.0c6f2ed7.freebsd@edvax.de> On Wed, 10 Jun 2015 07:29:09 -0700, Jason Cox wrote: > What are you doing wrong? You are trying to run docker on FreeBSD. Docker > is a containerization technology built for Linux. It uses LXC (which is > Linux Containers) for older Kernels or docker specific bits which are now > part of the modern Linux kernel 3.10+. It requires too many Linuxisms which aren't part of FreeBSD's Linux ABI, so expecting Docker to work on FreeBSD is somehow wrong. > Docker is basically FreeBSD Jails, > with a few more features and a lot more security issues. It's surely possible to run a "jail equivalent" of the Docker application package in question (here: Discourse). > I have not looked into Discourse, but any application that requires Docker > is not worth using at this point. Discourse is not exactly _requiring_ Docker - there has been a prepackaged Docker "instance" of all the components you need to run Discourse, not more, not less. It should be possible to run Discourse the "traditional" way - using native FreeBSD technology. > If > you just cannot get Discourse working on FreeBSD, then by all means switch > to a Linux install instead. Make sure it is not centos as it will not have > the update Kernel drivers for better Docker support. That is the final advice. :-) Docker is for Linux, Jails is for FreeBSD. It's somewhat comparable to a "pre-packaged VM image", more or less (probably less). Oh, and doing things like # wget http://getsomething.example.com | sudo bash is definitely _not_ the way you want to install software on FreeBSD. It rather seems to be a new Linuxism that has emerged during the recent years. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dweimer at dweimer.net Wed Jun 10 15:42:08 2015 From: dweimer at dweimer.net (dweimer) Date: Wed, 10 Jun 2015 10:30:04 -0500 Subject: Squid 3.5.5 Port Update, with SSL Message-ID: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> Has anyone else tried building the Squid Port since the 3.5.5 Update with SSL option enabled? I have tried with OpenSSL from base and ports, dies with the same error from either option. Making all in mgr Making all in ssl /bin/sh ../libtool --tag=CXX --mode=link c++ -Werror -Qunused-arguments -D_REENTRANT -I/usr/include -I/usr/local/include -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -I/usr/local/include -export-dynamic -dlopen force -L/usr/lib -pthread -Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector -L/usr/local/lib -Wl,-R/usr/local/lib -o squid AclRegs.o AuthReg.o AccessLogEntry.o AsyncEngine.o YesNoNone.o cache_cf.o CacheDigest.o cache_manager.o carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o client_side_reply.o client_side_request.o BodyPipe.o clientStream.o CollapsedForwarding.o CompletionDispatcher.o ConfigOption.o ConfigParser.o CpuAffinity.o CpuAffinityMap.o CpuAffinitySet.o debug.o delay_pools.o DelayId.o DelayBucket.o DelayConfig.o DelayPool.o DelaySpec.o DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o ClientDelayConfig.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o DiskIO/WriteRequest.o dlink.o dns_internal.o DnsLookupDetails.o errorpage.o ETag.o event.o EventLoop.o external_acl.o ExternalACLEntry.o FadingCounter.o fatal.o fd.o fde.o filemap.o fqdncache.o FwdState.o gopher.o helper.o htcp.o http.o HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpParser.o HttpReply.o RequestFlags.o HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o ipc.o ipcache.o SquidList.o main.o MasterXaction.o mem.o mem_node.o MemBuf.o MemObject.o mime.o mime_header.o multicast.o neighbors.o Notes.o Packer.o Parsing.o pconn.o peer_digest.o peer_proxy_negotiate_auth.o peer_select.o peer_sourcehash.o peer_userhash.o PeerPoolMgr.o redirect.o refresh.o RemovalPolicy.o send-announce.o MemBlob.o SBuf.o SBufExceptions.o SBufDetailedStats.o SBufStatsAction.o SquidMath.o SquidNew.o stat.o StatCounters.o StatHist.o String.o StrList.o stmem.o store.o StoreFileSystem.o store_io.o StoreIOState.o store_client.o store_digest.o store_dir.o store_key_md5.o store_log.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o StoreMetaUnpacker.o StoreMeta.o StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o StoreMetaURL.o StoreMetaVary.o StoreStats.o StoreSwapLogData.o SwapDir.o Transients.o MemStore.o time.o tools.o tunnel.o unlinkd.o url.o urn.o wccp.o wccp2.o whois.o wordlist.o LoadableModule.o LoadableModules.o DiskIO/DiskIOModules_gen.o err_type.o err_detail_type.o globals.o hier_code.o icp_opcode.o LogTags.o lookup_t.o repl_modules.o swap_log_op.o auth/libacls.la ident/libident.la acl/libacls.la acl/libstate.la auth/libauth.la libAIO.a libBlocking.a libIpcIo.a libMmapped.a libDiskThreads.a libDiskDaemon.a acl/libapi.la base/libbase.la libsquid.la ip/libip.la fs/libfs.la ssl/libsslsquid.la ssl/libsslutil.la ipc/libipc.la mgr/libmgr.la anyp/libanyp.la comm/libcomm.la eui/libeui.la helper/libhelper.la http/libsquid-http.la icmp/libicmp.la icmp/libicmp-core.la log/liblog.la format/libformat.la clients/libclients.la servers/libservers.la ftp/libftp.la DiskIO/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o DiskIO/IpcIo/IpcIoDiskIOModule.o DiskIO/Mmapped/MmappedDiskIOModule.o DiskIO/DiskThreads/DiskThreadsDiskIOModule.o DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o repl/liblru.a repl/libheap.a -lrt -lnettle -lcrypt parser/libsquid-parser.la ../lib/libmisccontainers.la ../lib/libmiscencoding.la ../lib/libmiscutil.la -L/usr/local/lib -lssl -L/usr/local/lib -lcrypto -L/usr/lib -L/usr/lib -lgssapi -lgssapi_krb5 -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread -L/usr/lib -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread ../compat/libcompat-squid.la -lm -lkrb5 -lgssapi -lgssapi_krb5 -L.. ../libltdl/libltdlc.la libtool: link: rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT libtool: link: (cd .libs && cc -I/usr/include -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -I/usr/local/include -c -fno-builtin "squidS.c") libtool: link: rm -f ".libs/squidS.c" ".libs/squid.nm" ".libs/squid.nmS" ".libs/squid.nmT" libtool: link: c++ -Werror -Qunused-arguments -D_REENTRANT -I/usr/include -I/usr/local/include -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -I/usr/local/include .libs/squidS.o -pthread -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -Wl,-R/usr/local/lib -o squid AclRegs.o AuthReg.o AccessLogEntry.o AsyncEngine.o YesNoNone.o cache_cf.o CacheDigest.o cache_manager.o carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o client_side_reply.o client_side_request.o BodyPipe.o clientStream.o CollapsedForwarding.o CompletionDispatcher.o ConfigOption.o ConfigParser.o CpuAffinity.o CpuAffinityMap.o CpuAffinitySet.o debug.o delay_pools.o DelayId.o DelayBucket.o DelayConfig.o DelayPool.o DelaySpec.o DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o ClientDelayConfig.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o DiskIO/WriteRequest.o dlink.o dns_internal.o DnsLookupDetails.o errorpage.o ETag.o event.o EventLoop.o external_acl.o ExternalACLEntry.o FadingCounter.o fatal.o fd.o fde.o filemap.o fqdncache.o FwdState.o gopher.o helper.o htcp.o http.o HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpParser.o HttpReply.o RequestFlags.o HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o ipc.o ipcache.o SquidList.o main.o MasterXaction.o mem.o mem_node.o MemBuf.o MemObject.o mime.o mime_header.o multicast.o neighbors.o Notes.o Packer.o Parsing.o pconn.o peer_digest.o peer_proxy_negotiate_auth.o peer_select.o peer_sourcehash.o peer_userhash.o PeerPoolMgr.o redirect.o refresh.o RemovalPolicy.o send-announce.o MemBlob.o SBuf.o SBufExceptions.o SBufDetailedStats.o SBufStatsAction.o SquidMath.o SquidNew.o stat.o StatCounters.o StatHist.o String.o StrList.o stmem.o store.o StoreFileSystem.o store_io.o StoreIOState.o store_client.o store_digest.o store_dir.o store_key_md5.o store_log.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o StoreMetaUnpacker.o StoreMeta.o StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o StoreMetaURL.o StoreMetaVary.o StoreStats.o StoreSwapLogData.o SwapDir.o Transients.o MemStore.o time.o tools.o tunnel.o unlinkd.o url.o urn.o wccp.o wccp2.o whois.o wordlist.o LoadableModule.o LoadableModules.o DiskIO/DiskIOModules_gen.o err_type.o err_detail_type.o globals.o hier_code.o icp_opcode.o LogTags.o lookup_t.o repl_modules.o swap_log_op.o DiskIO/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o DiskIO/IpcIo/IpcIoDiskIOModule.o DiskIO/Mmapped/MmappedDiskIOModule.o DiskIO/DiskThreads/DiskThreadsDiskIOModule.o DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o -pthread -pthread -Wl,--export-dynamic /var/ports/usr/ports/www/squid/work/squid-3.5.5/libltdl/./.libs/dlopen.a -L/usr/lib -L/usr/local/lib auth/.libs/libacls.a ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a auth/.libs/libauth.a libAIO.a libBlocking.a libIpcIo.a libMmapped.a libDiskThreads.a libDiskDaemon.a acl/.libs/libapi.a base/.libs/libbase.a ./.libs/libsquid.a ip/.libs/libip.a fs/.libs/libfs.a ssl/.libs/libsslsquid.a ssl/.libs/libsslutil.a ipc/.libs/libipc.a mgr/.libs/libmgr.a anyp/.libs/libanyp.a comm/.libs/libcomm.a eui/.libs/libeui.a helper/.libs/libhelper.a http/.libs/libsquid-http.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a log/.libs/liblog.a format/.libs/libformat.a clients/.libs/libclients.a servers/.libs/libservers.a ftp/.libs/libftp.a repl/liblru.a repl/libheap.a -lrt -lnettle parser/.libs/libsquid-parser.a ../lib/.libs/libmisccontainers.a ../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lssl -lheimntlm -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt ../compat/.libs/libcompat-squid.a -lm -L.. ../libltdl/.libs/libltdlc.a -lkrb5 -lgssapi -lgssapi_krb5 -pthread ssl/.libs/libsslsquid.a(bio.o): In function `Ssl::Bio::sslFeatures::applyToSSL(ssl_st*, Ssl::BumpMode) const': bio.cc:(.text+0x46ca): undefined reference to `SSL_set_alpn_protos' c++: error: linker command failed with exit code 1 (use -v to see invocation) libtool: link: rm -f ".libs/squidS.o" *** Error code 1 Stop. make[5]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5/src *** Error code 1 Stop. make[4]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5/src *** Error code 1 Stop. make[3]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5/src *** Error code 1 Stop. make[2]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5 *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/squid *** Error code 1 Stop. make: stopped in /usr/ports/www/squid -- Thanks, Dean E. Weimer http://www.dweimer.net/ From paul at ifdnrg.com Wed Jun 10 16:23:09 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Wed, 10 Jun 2015 17:23:04 +0100 Subject: r220's with serial In-Reply-To: <557751B9.3080706@ifdnrg.com> References: <55773D18.3060804@ifdnrg.com> <55774063.4050306@ifdnrg.com> <55774A1A.6030600@ifdnrg.com> <557751B9.3080706@ifdnrg.com> Message-ID: <55786468.80408@ifdnrg.com> On 09/06/2015 21:51, Paul Macdonald wrote: > > On 09/06/2015 21:18, Paul Macdonald wrote: >> >> uart0 not seen in dmesg which i think is def related: >> > > Is the issue is a lack of a an appropriate serial driver in 10.1 for > dell r220's? > > (serial is fine till OS boot and login should be shown) > > centOS find's ttyS0 and ttyS1 fine on this box (dell r220) Under FreeBSD 10-1 uart0 is not found (dmesg or under /dev) uart1 is found as per: Jun 10 12:25:14 asd kernel: uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From fbsd at xtaz.co.uk Wed Jun 10 17:45:44 2015 From: fbsd at xtaz.co.uk (Matt Smith) Date: Wed, 10 Jun 2015 18:45:38 +0100 Subject: Squid 3.5.5 Port Update, with SSL In-Reply-To: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> Message-ID: <20150610174538.GE44513@xtaz.uk> On Jun 10 10:30, dweimer wrote: >Has anyone else tried building the Squid Port since the 3.5.5 Update >with SSL option enabled? > >I have tried with OpenSSL from base and ports, dies with the same >error from either option. > >bio.cc:(.text+0x46ca): undefined reference to `SSL_set_alpn_protos' >c++: error: linker command failed with exit code 1 (use -v to see >invocation) >libtool: link: rm -f ".libs/squidS.o" >*** Error code 1 Yes. It worked fine for me. To begin with it errored out instantly telling me that I had to select at least one of the SSL options. So I ran make config and noticed the SSL options at the bottom. Selected OpenSSL and ran the upgrade again. Everything compiled and installed fine and I've been using it since. I'm using FreeBSD 10.1-STABLE r283027 dated from May 17th and I have the OpenSSL 1.0.2 port installed. -- Matt From che at bein.link Wed Jun 10 19:37:30 2015 From: che at bein.link (Maxim V Filimonov) Date: Wed, 10 Jun 2015 22:38:33 +0300 Subject: FreeBSD and Docker In-Reply-To: <20150610165244.0c6f2ed7.freebsd@edvax.de> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> Message-ID: <1507965.zgzlHR604A@thinkpad> On Wednesday 10 June 2015 16:52:44 Polytropon wrote: > On Wed, 10 Jun 2015 07:29:09 -0700, Jason Cox wrote: > > What are you doing wrong? You are trying to run docker on FreeBSD. Docker > > is a containerization technology built for Linux. It uses LXC (which is > > Linux Containers) for older Kernels or docker specific bits which are now > > part of the modern Linux kernel 3.10+. > > It requires too many Linuxisms which aren't part of FreeBSD's > Linux ABI, so expecting Docker to work on FreeBSD is somehow > wrong. Some guy tried to port Docker on FreeBSD, and even got it working IIRC. > > Oh, and doing things like > > # wget http://getsomething.example.com | sudo bash > > is definitely _not_ the way you want to install software on FreeBSD. > It rather seems to be a new Linuxism that has emerged during the > recent years. :-) That's not a Linuxism; in fact, that's a "hipsterism". But that's another question. -- wbr, Maxim Filimonov From dweimer at dweimer.net Wed Jun 10 20:23:25 2015 From: dweimer at dweimer.net (dweimer) Date: Wed, 10 Jun 2015 15:23:21 -0500 Subject: Squid 3.5.5 Port Update, with SSL In-Reply-To: <20150610174538.GE44513@xtaz.uk> References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> <20150610174538.GE44513@xtaz.uk> Message-ID: <4e960c86e2468531d81e371af009e010@dweimer.net> On 06/10/2015 12:45 pm, Matt Smith wrote: > On Jun 10 10:30, dweimer wrote: >> Has anyone else tried building the Squid Port since the 3.5.5 Update >> with SSL option enabled? >> >> I have tried with OpenSSL from base and ports, dies with the same >> error from either option. >> >> bio.cc:(.text+0x46ca): undefined reference to `SSL_set_alpn_protos' >> c++: error: linker command failed with exit code 1 (use -v to see >> invocation) >> libtool: link: rm -f ".libs/squidS.o" >> *** Error code 1 > > Yes. It worked fine for me. To begin with it errored out instantly > telling me that I had to select at least one of the SSL options. So I > ran make config and noticed the SSL options at the bottom. Selected > OpenSSL and ran the upgrade again. Everything compiled and installed > fine and I've been using it since. > > I'm using FreeBSD 10.1-STABLE r283027 dated from May 17th and I have > the OpenSSL 1.0.2 port installed. well this is odd, I have only two options with SSL these have both been available for some time: [x] SSL SSL gatewaying support [ ] SSL_CRTD Use ssl_crtd to handle SSL cert requests It ends with Kerbose authentication options on the make config, no option about using OpenSSL I am trying to build it now on 10.1-RELEASE-p11, built from source just today, ports tree updated today along with a fresh installation of all the other ports. Still have my 10.1-RELEASE-p10 jail running with the old 3.5.3_1 version of the port installed. from Makefile # $FreeBSD: head/www/squid/Makefile 388783 2015-06-07 21:03:25Z flo $ PORTNAME= squid PORTVERSION= 3.5.5 Options File: # This file is auto-generated by 'make config'. # Options for squid-3.5.5 _OPTIONS_READ=squid-3.5.5 _FILE_COMPLETE_OPTIONS_LIST=ARP_ACL AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 KQUEUE LARGEFILE LAX_HTTP NETTLE SNMP SSL SSL_CRTD STACKTRACES TP_IPF TP_IPFW TP_PF VIA_DB WCCP WCCPV2 GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_FILE_UNSET+=ARP_ACL OPTIONS_FILE_UNSET+=AUTH_LDAP OPTIONS_FILE_UNSET+=AUTH_NIS OPTIONS_FILE_UNSET+=AUTH_SASL OPTIONS_FILE_UNSET+=AUTH_SMB OPTIONS_FILE_UNSET+=AUTH_SQL OPTIONS_FILE_SET+=CACHE_DIGESTS OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_SET+=DELAY_POOLS OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_UNSET+=ECAP OPTIONS_FILE_UNSET+=ESI OPTIONS_FILE_SET+=EXAMPLES OPTIONS_FILE_SET+=FOLLOW_XFF OPTIONS_FILE_SET+=FS_AUFS OPTIONS_FILE_SET+=FS_DISKD OPTIONS_FILE_UNSET+=FS_ROCK OPTIONS_FILE_SET+=HTCP OPTIONS_FILE_UNSET+=ICAP OPTIONS_FILE_SET+=ICMP OPTIONS_FILE_SET+=IDENT OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_SET+=KQUEUE OPTIONS_FILE_SET+=LARGEFILE OPTIONS_FILE_SET+=LAX_HTTP OPTIONS_FILE_SET+=NETTLE OPTIONS_FILE_UNSET+=SNMP OPTIONS_FILE_SET+=SSL OPTIONS_FILE_SET+=SSL_CRTD OPTIONS_FILE_UNSET+=STACKTRACES OPTIONS_FILE_UNSET+=TP_IPF OPTIONS_FILE_UNSET+=TP_IPFW OPTIONS_FILE_UNSET+=TP_PF OPTIONS_FILE_SET+=VIA_DB OPTIONS_FILE_SET+=WCCP OPTIONS_FILE_SET+=WCCPV2 OPTIONS_FILE_UNSET+=GSSAPI_NONE OPTIONS_FILE_SET+=GSSAPI_BASE OPTIONS_FILE_UNSET+=GSSAPI_HEIMDAL OPTIONS_FILE_UNSET+=GSSAPI_MIT -- Thanks, Dean E. Weimer http://www.dweimer.net/ From fbsd at xtaz.co.uk Wed Jun 10 20:55:35 2015 From: fbsd at xtaz.co.uk (Matt Smith) Date: Wed, 10 Jun 2015 21:55:30 +0100 Subject: Squid 3.5.5 Port Update, with SSL In-Reply-To: <4e960c86e2468531d81e371af009e010@dweimer.net> References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> <20150610174538.GE44513@xtaz.uk> <4e960c86e2468531d81e371af009e010@dweimer.net> Message-ID: <20150610205530.GG44513@xtaz.uk> On Jun 10 15:23, dweimer wrote: >well this is odd, I have only two options with SSL these have both been >available for some time: > [x] SSL SSL gatewaying support > [ ] SSL_CRTD Use ssl_crtd to handle SSL cert requests > >It ends with Kerbose authentication options on the make config, no >option about using OpenSSL Oops my bad. It was actually the ffmpeg port that gave me that error about SSL where I had to run make config and select one. I upgraded that at the same time as squid so I mixed the two up. So in that case I don't know what the issue could be I'm afraid. -- Matt From chris at vindaloo.com Wed Jun 10 21:12:37 2015 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Wed, 10 Jun 2015 17:12:26 -0400 Subject: pf block policy for IPv6 and IPv4 Message-ID: <20150610211226.GA35372@kessel.vindaloo.com> Good afternoon and thank you in advance. I'm running FreeBSD 9.3-STABLE: FreeBSD anza.example.com 9.3-STABLE \ FreeBSD 9.3-STABLE #0 r269627: Wed Aug 6 13:48:46 EDT 2014 \ root at dagobah:/usr/obj/amd64/usr/src/sys/GENERIC amd64 on my imap mailserver. It's dual homed and has both A and AAAA records in DNS: $ host anza.example.com anza.example.com has address 10.17.53.96 anza.example.com has IPv6 address fe80::aaaa:bbbb:60:0 My pf.conf seems to be pretty standard... ext_if="em0" int_if="em1" set skip on { lo $int_if } table persist const { em0:network } table persist file "/etc/pf/table/friends" table persist scrub in no-df ## Block inbound packets by default. Use return rather than drop ## to make debugging easier as this server is currently internal ## only. block return log block drop log quick from pass out antispoof quick for { lo $int_if } ## Pass ssh but treat jerks and a*holes accordingly. pass in on $ext_if proto tcp from to ($ext_if) port ssh \ keep state pass in on $ext_if proto tcp from ! to ($ext_if) port ssh \ keep state \ (max-src-conn 5, max-src-conn-rate 5/30, \ overload flush global) ... Last night as I was testing the configuration of the imap server, I tripped over some unexpected behaviour. *** The issue was that I had forgotten to add rules for imap to my pf.conf. Testing failed because the service was firewalled off. This was simple to fix and is only ancilliary to my question. *** Here's what I got when I used telnet to connect directly to the service across my network: $ telnet anza.example.com 143 Trying 10.17.53.96... telnet: connect to address 10.17.53.96: Connection refused Trying fe80::aaaa:bbbb:60:0... telnet: connect to address fe80::aaaa:bbbb:60:0: Operation timed out telnet: Unable to connect to remote host The IPv4 connection died immediatly with "Connection refused". That's consistent with my firewall rules which say to return a TCP RST for unopened services. However, I expected the IPv6 connection attempt to do the same thing and it didn't. To be clear, I expected: block return log To return a TCP RST across both IPv4 and IPv6 connect attempts to firewalled ports. If I'm missing something simple here please feel free to pass the cluebat. Thanks again -- Chris From lumiwa at gmail.com Wed Jun 10 22:08:30 2015 From: lumiwa at gmail.com (ajtiM) Date: Wed, 10 Jun 2015 18:08:27 -0400 Subject: opal rebuild Message-ID: <1433974107.30250.1.camel@gmail.com> Hi! I try to rebuild net/opal on FreeBSD 10.1 Release (amd64)and I got: gmake[4]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/IMA_ADPCM' gmake[4]: Entering directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/celt' mkdir -p /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/audio install /usr/ports/net/opal/work/opal-3.10.10/plugins/../lib_FreeBSD_amd64/plugins/celt/celt_ptplugin.so /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/audio gmake[4]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/celt' gmake[4]: Entering directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/SILK' gmake[5]: Entering directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/SILK/SILK_SDK' gmake[5]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/SILK/SILK_SDK' mkdir -p /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/audio install /usr/ports/net/opal/work/opal-3.10.10/plugins/../lib_FreeBSD_amd64/plugins/silk/silk_ptplugin.so /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/audio gmake[4]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/audio/SILK' gmake[4]: Entering directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/video/H.261-vic' mkdir -p /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/video install /usr/ports/net/opal/work/opal-3.10.10/plugins/../lib_FreeBSD_amd64/plugins/h261_vic/h261_vic_ptplugin.so /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/video gmake[4]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/video/H.261-vic' gmake[4]: Entering directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/LID/VPB' mkdir -p /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/lid install /usr/ports/net/opal/work/opal-3.10.10/plugins/../lib_FreeBSD_amd64/plugins/vpb/vpb_ptplugin.so /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/lid gmake[4]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/LID/VPB' gmake[4]: Entering directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/fax/fax_spandsp' mkdir -p /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/fax install /usr/ports/net/opal/work/opal-3.10.10/plugins/../lib_FreeBSD_amd64/plugins/spandsp/spandsp_ptplugin.so /usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/fax gmake[4]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins/fax/fax_spandsp' gmake[3]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10/plugins' gmake[2]: Leaving directory '/usr/ports/net/opal/work/opal-3.10.10' /bin/ln -sf libopal.so.3.10.10 /usr/ports/net/opal/work/stage/usr/local/lib/libopal.so.3 /bin/ln -sf libopal.so.3.10.10 /usr/ports/net/opal/work/stage/usr/local/lib/libopal.so.3.10 /usr/bin/strip: '/usr/ports/net/opal/work/stage/usr/local/lib/opal-3.10.10/codecs/video/h264_video_pwplugin_helper': No such file *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/opal *** Error code 1 Stop. make: stopped in /usr/ports/net/opal ===>>> make stage failed for net/opal ===>>> Aborting update Thank you. From opendaddy at hushmail.com Wed Jun 10 23:47:46 2015 From: opendaddy at hushmail.com (opendaddy at hushmail.com) Date: Wed, 10 Jun 2015 23:47:43 +0000 Subject: FreeBSD and Docker In-Reply-To: <20150610165244.0c6f2ed7.freebsd@edvax.de> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> Message-ID: <20150610234743.6A722C0487@smtp.hushmail.com> Hello everyone! Thanks a lot for your input. Any chance I could use something like overlayfs / zfs like the author claims? https://meta.discourse.org/t/is-there-any-way-to-install-discourse-without-docker/16977 Do sign up and give your feedback. There used to be a FreeBSD thread @ meta.discourse.org but it just got deleted. Many thanks! O.D. On 10. juni 2015 at 2:52 PM, "Polytropon" wrote: > >On Wed, 10 Jun 2015 07:29:09 -0700, Jason Cox wrote: >> What are you doing wrong? You are trying to run docker on >FreeBSD. Docker >> is a containerization technology built for Linux. It uses LXC >(which is >> Linux Containers) for older Kernels or docker specific bits >which are now >> part of the modern Linux kernel 3.10+. > >It requires too many Linuxisms which aren't part of FreeBSD's >Linux ABI, so expecting Docker to work on FreeBSD is somehow >wrong. > > > >> Docker is basically FreeBSD Jails, >> with a few more features and a lot more security issues. > >It's surely possible to run a "jail equivalent" of the Docker >application package in question (here: Discourse). > > > >> I have not looked into Discourse, but any application that >requires Docker >> is not worth using at this point. > >Discourse is not exactly _requiring_ Docker - there has been >a prepackaged Docker "instance" of all the components you need >to run Discourse, not more, not less. It should be possible to >run Discourse the "traditional" way - using native FreeBSD >technology. > > > >> If >> you just cannot get Discourse working on FreeBSD, then by all >means switch >> to a Linux install instead. Make sure it is not centos as it >will not have >> the update Kernel drivers for better Docker support. > >That is the final advice. :-) > >Docker is for Linux, Jails is for FreeBSD. It's somewhat comparable >to a "pre-packaged VM image", more or less (probably less). > >Oh, and doing things like > > # wget http://getsomething.example.com | sudo bash > >is definitely _not_ the way you want to install software on >FreeBSD. >It rather seems to be a new Linuxism that has emerged during the >recent years. :-) > > > >-- >Polytropon >Magdeburg, Germany >Happy FreeBSD user since 4.0 >Andra moi ennepe, Mousa, ... From outbackdingo at gmail.com Wed Jun 10 23:51:20 2015 From: outbackdingo at gmail.com (Outback Dingo) Date: Thu, 11 Jun 2015 09:51:19 +1000 Subject: FreeBSD and Docker In-Reply-To: <20150610234743.6A722C0487@smtp.hushmail.com> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <20150610234743.6A722C0487@smtp.hushmail.com> Message-ID: On Thu, Jun 11, 2015 at 9:47 AM, wrote: > Hello everyone! > > Thanks a lot for your input. > > Any chance I could use something like overlayfs / zfs like the author > claims? > > > https://meta.discourse.org/t/is-there-any-way-to-install-discourse-without-docker/16977 > > Do sign up and give your feedback. There used to be a FreeBSD thread @ > meta.discourse.org but it just got deleted. > > Many thanks! > > You might want to look at iocage, or jetpack https://github.com/3ofcoins/jetpack https://github.com/iocage/iocage https://github.com/pr1ntf/iohyve > O.D. > > On 10. juni 2015 at 2:52 PM, "Polytropon" wrote: > > > >On Wed, 10 Jun 2015 07:29:09 -0700, Jason Cox wrote: > >> What are you doing wrong? You are trying to run docker on > >FreeBSD. Docker > >> is a containerization technology built for Linux. It uses LXC > >(which is > >> Linux Containers) for older Kernels or docker specific bits > >which are now > >> part of the modern Linux kernel 3.10+. > > > >It requires too many Linuxisms which aren't part of FreeBSD's > >Linux ABI, so expecting Docker to work on FreeBSD is somehow > >wrong. > > > > > > > >> Docker is basically FreeBSD Jails, > >> with a few more features and a lot more security issues. > > > >It's surely possible to run a "jail equivalent" of the Docker > >application package in question (here: Discourse). > > > > > > > >> I have not looked into Discourse, but any application that > >requires Docker > >> is not worth using at this point. > > > >Discourse is not exactly _requiring_ Docker - there has been > >a prepackaged Docker "instance" of all the components you need > >to run Discourse, not more, not less. It should be possible to > >run Discourse the "traditional" way - using native FreeBSD > >technology. > > > > > > > >> If > >> you just cannot get Discourse working on FreeBSD, then by all > >means switch > >> to a Linux install instead. Make sure it is not centos as it > >will not have > >> the update Kernel drivers for better Docker support. > > > >That is the final advice. :-) > > > >Docker is for Linux, Jails is for FreeBSD. It's somewhat comparable > >to a "pre-packaged VM image", more or less (probably less). > > > >Oh, and doing things like > > > > # wget http://getsomething.example.com | sudo bash > > > >is definitely _not_ the way you want to install software on > >FreeBSD. > >It rather seems to be a new Linuxism that has emerged during the > >recent years. :-) > > > > > > > >-- > >Polytropon > >Magdeburg, Germany > >Happy FreeBSD user since 4.0 > >Andra moi ennepe, Mousa, ... > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From FreeBSD at ShaneWare.Biz Thu Jun 11 03:15:43 2015 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Thu, 11 Jun 2015 12:40:27 +0930 Subject: FreeBSD and Docker In-Reply-To: References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <20150610234743.6A722C0487@smtp.hushmail.com> Message-ID: <5578FC23.4040108@ShaneWare.Biz> On 11/06/2015 09:21, Outback Dingo wrote: > On Thu, Jun 11, 2015 at 9:47 AM, wrote: > >> Hello everyone! >> >> Thanks a lot for your input. >> >> Any chance I could use something like overlayfs / zfs like the author >> claims? >> >> >> https://meta.discourse.org/t/is-there-any-way-to-install-discourse-without-docker/16977 >> >> Do sign up and give your feedback. There used to be a FreeBSD thread @ >> meta.discourse.org but it just got deleted. >> >> Many thanks! >> >> > You might want to look at iocage, or jetpack > > https://github.com/3ofcoins/jetpack > https://github.com/iocage/iocage > https://github.com/pr1ntf/iohyve I haven't looked at those but zocker is an attempt at a docker style functionality on freebsd - https://github.com/toddnni/zocker I would start with the discourse source and create a port for it https://github.com/discourse/discourse -- FreeBSD - the place to B...Software Developing Shane Ambler From timp87 at gmail.com Thu Jun 11 08:13:32 2015 From: timp87 at gmail.com (timp) Date: Thu, 11 Jun 2015 01:04:26 -0700 (MST) Subject: Squid 3.5.5 Port Update, with SSL In-Reply-To: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> Message-ID: <1434009866089-6017811.post@n5.nabble.com> Hi! You could create a bug report at least ;) -- View this message in context: http://freebsd.1045724.n5.nabble.com/Squid-3-5-5-Port-Update-with-SSL-tp6017657p6017811.html Sent from the freebsd-questions mailing list archive at Nabble.com. From timp87 at gmail.com Thu Jun 11 08:22:26 2015 From: timp87 at gmail.com (timp) Date: Thu, 11 Jun 2015 01:22:26 -0700 (MST) Subject: Squid 3.5.5 Port Update, with SSL In-Reply-To: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> Message-ID: <1434010946089-6017812.post@n5.nabble.com> Uninstall your openssl from ports and try again. Looks like squid takes parts of openssl from base, and parts of it from ports version if it's installed. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Squid-3-5-5-Port-Update-with-SSL-tp6017657p6017812.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mail at ozzmosis.com Thu Jun 11 09:33:15 2015 From: mail at ozzmosis.com (andrew clarke) Date: Thu, 11 Jun 2015 19:33:06 +1000 Subject: swift under freebsd? In-Reply-To: <20150609113827.GA80013@ozzmosis.com> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> <20150609113827.GA80013@ozzmosis.com> Message-ID: <20150611093306.GA44454@ozzmosis.com> On Tue 2015-06-09 21:38:27 UTC+1000, andrew clarke (mail at ozzmosis.com) wrote: > > hi, in case someone missed it, there's been an announcement that apple's > > swift will be open sourced soon. > > they are going pretty much full-out, even the libraries are going to get > > open sourced along with the compiler. > > in that case, would freebsd import support for swift within the base > > system in the near future? > > I think it would only end up in the FreeBSD base system if a > particular program in base required it. However the general trend over > the years has been to remove dependencies from base (Perl, Ruby) > rather than add more. > > ObjC support is in base more by coincidence, because clang is required > to build the base system in FreeBSD 10.0 and newer, and clang includes > ObjC support. clang will never build Swift apps, though. Actually on further investigation, while Clang might support the ObjC syntax, none of the ObjC libraries are available in FreeBSD base. From paul at ifdnrg.com Thu Jun 11 09:35:03 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Thu, 11 Jun 2015 10:34:50 +0100 Subject: r220's with serial In-Reply-To: <55786468.80408@ifdnrg.com> References: <55773D18.3060804@ifdnrg.com> <55774063.4050306@ifdnrg.com> <55774A1A.6030600@ifdnrg.com> <557751B9.3080706@ifdnrg.com> <55786468.80408@ifdnrg.com> Message-ID: <5579563A.4000105@ifdnrg.com> On 10/06/2015 17:23, Paul Macdonald wrote: > > > On 09/06/2015 21:51, Paul Macdonald wrote: >> >> On 09/06/2015 21:18, Paul Macdonald wrote: >>> >>> uart0 not seen in dmesg which i think is def related: >>> >> >> Is the issue is a lack of a an appropriate serial driver in 10.1 for >> dell r220's? >> >> (serial is fine till OS boot and login should be shown) >> >> > > centOS find's ttyS0 and ttyS1 fine on this box (dell r220) > > Under FreeBSD 10-1 uart0 is not found (dmesg or under /dev) > > uart1 is found as per: > > Jun 10 12:25:14 asd kernel: uart1: <16550 or compatible> port > 0x2f8-0x2ff irq 3 on acpi0 > > Paul. > > with boot_verbose =YES i see the following uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: fast interrupt uart: uart1 already exists; skipping it uart0 failed to probe at port 0x3f8 irq 4 on isa0 Full dmesg Table 'FACP' at 0x95ff7000 Table 'UEFI' at 0x95ffd000 Table 'UEFI' at 0x95ffc000 Table 'ASF!' at 0x95ffb000 Table 'ASPT' at 0x95ffa000 Table 'BOOT' at 0x95ff9000 Table 'DBGP' at 0x95ff8000 Table 'HPET' at 0x95ff6000 Table 'APIC' at 0x95ff5000 APIC: Found table at 0x95ff5000 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 2: enabled SMP: Added CPU 1 (AP) MADT: Found CPU APIC ID 2 ACPI ID 3: enabled SMP: Added CPU 2 (AP) MADT: Found CPU APIC ID 3 ACPI ID 4: enabled SMP: Added CPU 3 (AP) MADT: Found CPU APIC ID 4 ACPI ID 5: enabled SMP: Added CPU 4 (AP) MADT: Found CPU APIC ID 5 ACPI ID 6: enabled SMP: Added CPU 5 (AP) MADT: Found CPU APIC ID 6 ACPI ID 7: enabled SMP: Added CPU 6 (AP) MADT: Found CPU APIC ID 7 ACPI ID 8: enabled SMP: Added CPU 7 (AP) Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff81a34000. Preloaded elf obj module "/boot/kernel/zfs.ko" at 0xffffffff81a34d38. Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0xffffffff81a35460. Calibrating TSC clock ... TSC clock: 3491986424 Hz CPU: Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz (3491.99-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306c3 Family = 0x6 Model = 0x3c Stepping = 3 Features=0xbfebfbff Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Standard Extended Features=0x27ab TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) Physical memory chunk(s): 0x0000000000010000 - 0x000000000009afff, 569344 bytes (139 pages) 0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages) 0x0000000001a5b000 - 0x000000009573efff, 2479767552 bytes (605412 pages) 0x0000000095fff000 - 0x0000000095ffffff, 4096 bytes (1 pages) 0x0000000100000000 - 0x0000000443790fff, 14016909312 bytes (3422097 pages) avail memory = 16395362304 (15635 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: INTR: Adding local APIC 1 as a target INTR: Adding local APIC 2 as a target INTR: Adding local APIC 3 as a target INTR: Adding local APIC 4 as a target INTR: Adding local APIC 5 as a target INTR: Adding local APIC 6 as a target INTR: Adding local APIC 7 as a target FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 APIC: CPU 0 has ACPI ID 1 APIC: CPU 1 has ACPI ID 2 APIC: CPU 2 has ACPI ID 3 APIC: CPU 3 has ACPI ID 4 APIC: CPU 4 has ACPI ID 5 APIC: CPU 5 has ACPI ID 6 APIC: CPU 6 has ACPI ID 7 APIC: CPU 7 has ACPI ID 8 XEN: CPU 0 has VCPU ID 1 XEN: CPU 1 has VCPU ID 2 XEN: CPU 2 has VCPU ID 3 XEN: CPU 3 has VCPU ID 4 XEN: CPU 4 has VCPU ID 5 XEN: CPU 5 has VCPU ID 6 XEN: CPU 6 has VCPU ID 7 XEN: CPU 7 has VCPU ID 8 lapic0: CMCI unmasked x86bios: IVT 0x000000-0x0004ff at 0xfffff80000000000 x86bios: SSEG 0x09a000-0x09afff at 0xfffffe044b596000 x86bios: EBDA 0x09f000-0x09ffff at 0xfffff8000009f000 x86bios: ROM 0x0a0000-0x0fefff at 0xfffff800000a0000 ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 ULE: setup cpu 4 ULE: setup cpu 5 ULE: setup cpu 6 ULE: setup cpu 7 ACPI: RSDP 0xfe020 00024 (v02 DELL ) ACPI: XSDT 0x95fcf188 000E4 (v01 DELL PE_SC3 00000001 01000013) ACPI: FACP 0x95ff7000 0010C (v05 DELL PE_SC3 00000001 DELL 00040000) ACPI: DSDT 0x95fdf000 12335 (v01 DELL PE_SC3 00000000 DELL 00040000) ACPI: FACS 0x95fbd000 00040 ACPI: UEFI 0x95ffd000 00236 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: UEFI 0x95ffc000 00042 (v01 DELL PE_SC3 00000000 DELL 00040000) ACPI: ASF! 0x95ffb000 000A5 (v32 DELL PE_SC3 00000001 DELL 00040000) ACPI: ASPT 0x95ffa000 00034 (v07 DELL PE_SC3 00000001 DELL 00040000) ACPI: BOOT 0x95ff9000 00028 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: DBGP 0x95ff8000 00034 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: HPET 0x95ff6000 00038 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: APIC 0x95ff5000 00092 (v03 DELL PE_SC3 00000001 DELL 00040000) ACPI: MCFG 0x95ff4000 0003C (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: SLIC 0x95ff3000 00176 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: SSDT 0x95fdc000 02028 (v01 DELL PE_SC3 00001000 DELL 00040000) ACPI: SPMI 0x95fda000 00040 (v05 DELL PE_SC3 00000001 DELL 00040000) ACPI: SSDT 0x95fd9000 00533 (v01 DELL PE_SC3 00003000 DELL 00040000) ACPI: SSDT 0x95fd8000 00ACE (v01 DELL PE_SC3 00003000 DELL 00040000) ACPI: SSDT 0x95fd4000 03492 (v01 DELL PE_SC3 00003000 DELL 00040000) ACPI: SPCR 0x95ff2000 00050 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: DMAR 0x95fd3000 00080 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: SSDT 0x95fd2000 00514 (v01 DELL PE_SC3 00001000 DELL 00040000) ACPI: FPDT 0x95fd1000 00044 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: HEST 0x95fd0000 000A8 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: ERST 0x95fce000 00230 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: BERT 0x95fcd000 00030 (v01 DELL PE_SC3 00000001 DELL 00040000) ACPI: EINJ 0x95fcc000 00150 (v01 DELL PE_SC3 00000001 DELL 00040000) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 ioapic0: Routing external 8259A's -> intpin 0 MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level lapic: Routing NMI -> LINT1 lapic: LINT1 trigger: edge lapic: LINT1 polarity: high ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 wlan: <802.11 Link Layer> snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024] feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25 Hardware, VIA Nehemiah Padlock RNG: VIA Padlock RNG not present null: nfslock: pseudo-device Falling back to random adaptor random: initialized VESA: INT 0x10 vector 0xc000:0x0b60 VESA: information block 0000 56 45 53 41 00 03 c6 57 00 c0 01 00 00 00 31 54 0010 00 c0 00 01 09 03 db 57 00 c0 e2 57 00 c0 eb 57 0020 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0100 4d 61 74 72 6f 78 00 4d 47 41 2d 47 32 30 30 00 0110 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 VESA: 22 mode(s) found VESA: v3.0, 16384k memory, flags:0x1, mode table:0xfffff800000c5431 (c0005431) VESA: Matrox Graphics Inc. VESA: Matrox MGA-G200 00 io: VMBUS: load kbd: new array size 4 kbd1 at kbdmux0 mem: hptnr: R750/DC7280 controller driver v1.0 hpt27xx: RocketRAID 27xx controller driver v1.1 hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 acpi0: on motherboard ACPI: All ACPI Tables successfully acquired PCIe: Memory Mapped configuration base @ 0xf0000000 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 ACPI: Executed 1 blocks of module-level executable AML code acpi0: Power Button (fixed) cpu0: Processor \134_PR_.CPU0 (ACPI ID 1) -> APIC ID 0 cpu0: on acpi0 ACPI: SSDT 0x95aaac18 003D3 (v01 PmRef Cpu0Cst 00003001 INTL 20120816) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 003D3 (v01 PmRef Cpu0Cst 00003001 INTL 20120816) cpu1: Processor \134_PR_.CPU1 (ACPI ID 2) -> APIC ID 1 cpu1: on acpi0 ACPI: SSDT 0x95aaa618 005AA (v01 PmRef ApIst 00003000 INTL 20120816) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 005AA (v01 PmRef ApIst 00003000 INTL 20120816) ACPI: SSDT 0x95aa9d98 00119 (v01 PmRef ApCst 00003000 INTL 20120816) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 00119 (v01 PmRef ApCst 00003000 INTL 20120816) cpu2: Processor \134_PR_.CPU2 (ACPI ID 3) -> APIC ID 2 cpu2: on acpi0 cpu3: Processor \134_PR_.CPU3 (ACPI ID 4) -> APIC ID 3 cpu3: on acpi0 cpu4: Processor \134_PR_.CPU4 (ACPI ID 5) -> APIC ID 4 cpu4: on acpi0 cpu5: Processor \134_PR_.CPU5 (ACPI ID 6) -> APIC ID 5 cpu5: on acpi0 cpu6: Processor \134_PR_.CPU6 (ACPI ID 7) -> APIC ID 6 cpu6: on acpi0 cpu7: Processor \134_PR_.CPU7 (ACPI ID 8) -> APIC ID 7 cpu7: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 hpet0: vendor 0x8086, rev 0x1, 14318180Hz 64bit, 8 timers, legacy route hpet0: t0: irqs 0x00f00000 (0), MSI, 64bit, periodic hpet0: t1: irqs 0x00f00000 (0), MSI hpet0: t2: irqs 0x00f00800 (0), MSI hpet0: t3: irqs 0x00f01000 (0), MSI hpet0: t4: irqs 0x00000000 (0), MSI hpet0: t5: irqs 0x00000000 (0), MSI hpet0: t6: irqs 0x00000000 (0), MSI hpet0: t7: irqs 0x00000000 (0), MSI Timecounter "HPET" frequency 14318180 Hz quality 950 msi: routing MSI-X IRQ 256 to local APIC 0 vector 49 msi: routing MSI-X IRQ 257 to local APIC 0 vector 50 msi: routing MSI-X IRQ 258 to local APIC 0 vector 51 msi: routing MSI-X IRQ 259 to local APIC 0 vector 52 msi: routing MSI-X IRQ 260 to local APIC 0 vector 53 msi: routing MSI-X IRQ 261 to local APIC 0 vector 54 msi: routing MSI-X IRQ 262 to local APIC 0 vector 55 msi: routing MSI-X IRQ 263 to local APIC 0 vector 56 Event timer "HPET" frequency 14318180 Hz quality 550 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s) ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 57 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 58 Event timer "i8254" frequency 1193182 Hz quality 100 ACPI timer: 1/1 1/1 1/2 1/2 1/2 1/1 1/1 1/1 1/1 1/1 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 6 10 11 12 14 15 Validation 0 10 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 6 10 11 12 14 15 Validation 0 11 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link2: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 6 10 11 12 14 15 Validation 0 10 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link3: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 6 10 11 12 14 15 Validation 0 10 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link4: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 6 10 11 12 14 15 Validation 0 255 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link5: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 6 10 11 12 14 15 Validation 0 255 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link6: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 6 10 11 12 14 15 Validation 0 255 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pci_link7: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 6 10 11 12 14 15 Validation 0 11 N 0 3 4 5 6 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 10 11 12 14 15 pcib0: port 0xcf8-0xcff on acpi0 pcib0: decoding 4 range 0-0xcf7 pcib0: decoding 4 range 0xd00-0xffff pcib0: decoding 3 range 0xa0000-0xbffff pcib0: decoding 3 range 0xa0000000-0xfeafffff pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x8086, dev=0x0c08, revid=0x06 domain=0, bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x8c31, revid=0x05 domain=0, bus=0, slot=20, func=0 class=0c-03-30, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0xa2b00000, size 16, enabled pcib0: allocated type 3 (0xa2b00000-0xa2b0ffff) for rid 10 of pci0:0:20:0 pcib0: matched entry for 0.20.INTA pcib0: slot 20 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x8c2d, revid=0x05 domain=0, bus=0, slot=26, func=0 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xa2b12000, size 10, enabled pcib0: allocated type 3 (0xa2b12000-0xa2b123ff) for rid 10 of pci0:0:26:0 pcib0: matched entry for 0.26.INTA pcib0: slot 26 INTA hardwired to IRQ 16 ehci early: SMM active, request owner change found-> vendor=0x8086, dev=0x8c10, revid=0xd5 domain=0, bus=0, slot=28, func=0 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 3 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTA pcib0: slot 28 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x8c14, revid=0xd5 domain=0, bus=0, slot=28, func=2 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x0b (2750 ns), maxlat=0x00 (0 ns) intpin=c, irq=10 powerspec 3 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTC pcib0: slot 28 INTC hardwired to IRQ 18 found-> vendor=0x8086, dev=0x8c26, revid=0x05 domain=0, bus=0, slot=29, func=0 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xa2b11000, size 10, enabled pcib0: allocated type 3 (0xa2b11000-0xa2b113ff) for rid 10 of pci0:0:29:0 pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 23 ehci early: SMM active, request owner change found-> vendor=0x8086, dev=0x8c52, revid=0x05 domain=0, bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x8c02, revid=0x05 domain=0, bus=0, slot=31, func=2 class=01-06-01, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 powerspec 3 supports D0 D3 current D0 MSI supports 1 message map[10]: type I/O Port, range 32, base 0x3048, size 3, enabled pcib0: allocated type 4 (0x3048-0x304f) for rid 10 of pci0:0:31:2 map[14]: type I/O Port, range 32, base 0x3054, size 2, enabled pcib0: allocated type 4 (0x3054-0x3057) for rid 14 of pci0:0:31:2 map[18]: type I/O Port, range 32, base 0x3040, size 3, enabled pcib0: allocated type 4 (0x3040-0x3047) for rid 18 of pci0:0:31:2 map[1c]: type I/O Port, range 32, base 0x3050, size 2, enabled pcib0: allocated type 4 (0x3050-0x3053) for rid 1c of pci0:0:31:2 map[20]: type I/O Port, range 32, base 0x3020, size 5, enabled pcib0: allocated type 4 (0x3020-0x303f) for rid 20 of pci0:0:31:2 map[24]: type Memory, range 32, base 0xa2b10000, size 11, enabled pcib0: allocated type 3 (0xa2b10000-0xa2b107ff) for rid 24 of pci0:0:31:2 pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 19 found-> vendor=0x8086, dev=0x8c22, revid=0x05 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=10 map[10]: type Memory, range 64, base 0xa2b13000, size 8, enabled pcib0: allocated type 3 (0xa2b13000-0xa2b130ff) for rid 10 of pci0:0:31:3 map[20]: type I/O Port, range 32, base 0x3000, size 5, enabled pcib0: allocated type 4 (0x3000-0x301f) for rid 20 of pci0:0:31:3 pcib0: matched entry for 0.31.INTC pcib0: slot 31 INTC hardwired to IRQ 18 xhci0: mem 0xa2b00000-0xa2b0ffff irq 16 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 264 to local APIC 0 vector 59 xhci0: using IRQ 264 for MSI xhci0: MSI enabled usbus0: waiting for BIOS to give up control xhci0: 32 byte context size. xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 xhci0: usbpf: Attached ehci0: mem 0xa2b12000-0xa2b123ff irq 16 at device 26.0 on pci0 ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 60 usbus1: EHCI version 1.0 usbus1 on ehci0 ehci0: usbpf: Attached pcib1: irq 16 at device 28.0 on pci0 pcib0: allocated type 3 (0xa2a00000-0xa2afffff) for rid 24 of pcib1 pcib1: domain 0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: prefetched decode 0xa2a00000-0xa2afffff pci1: on pcib1 pci1: domain=0, physical bus=1 found-> vendor=0x14e4, dev=0x165f, revid=0x00 domain=0, bus=1, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit MSI-X supports 17 messages in map 0x20 map[10]: type Prefetchable Memory, range 64, base 0xa2a30000, size 16, enabled pcib1: allocated prefetch range (0xa2a30000-0xa2a3ffff) for rid 10 of pci0:1:0:0 map[18]: type Prefetchable Memory, range 64, base 0xa2a40000, size 16, enabled pcib1: allocated prefetch range (0xa2a40000-0xa2a4ffff) for rid 18 of pci0:1:0:0 map[20]: type Prefetchable Memory, range 64, base 0xa2a50000, size 16, enabled pcib1: allocated prefetch range (0xa2a50000-0xa2a5ffff) for rid 20 of pci0:1:0:0 pcib1: matched entry for 1.0.INTA pcib1: slot 0 INTA hardwired to IRQ 16 found-> vendor=0x14e4, dev=0x165f, revid=0x00 domain=0, bus=1, slot=0, func=1 class=02-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit MSI-X supports 17 messages in map 0x20 map[10]: type Prefetchable Memory, range 64, base 0xa2a00000, size 16, enabled pcib1: allocated prefetch range (0xa2a00000-0xa2a0ffff) for rid 10 of pci0:1:0:1 map[18]: type Prefetchable Memory, range 64, base 0xa2a10000, size 16, enabled pcib1: allocated prefetch range (0xa2a10000-0xa2a1ffff) for rid 18 of pci0:1:0:1 map[20]: type Prefetchable Memory, range 64, base 0xa2a20000, size 16, enabled pcib1: allocated prefetch range (0xa2a20000-0xa2a2ffff) for rid 20 of pci0:1:0:1 pcib1: matched entry for 1.0.INTB pcib1: slot 0 INTB hardwired to IRQ 17 bge0: mem 0xa2a30000-0xa2a3ffff,0xa2a40000-0xa2a4ffff,0xa2a50000-0xa2a5ffff irq 16 at device 0.0 on pci1 bge0: APE FW version: NCSI v1.3.7.0 bge0: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 265 to local APIC 0 vector 61 bge0: using IRQ 265 for MSI bge0: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E bge0: Disabling fastboot miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: OUI 0x001be9, model 0x0036, rev. 0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: bpf attached bge0: Ethernet address: 54:9f:35:23:a9:8a bge1: mem 0xa2a00000-0xa2a0ffff,0xa2a10000-0xa2a1ffff,0xa2a20000-0xa2a2ffff irq 17 at device 0.1 on pci1 bge1: APE FW version: NCSI v1.3.7.0 bge1: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 266 to local APIC 0 vector 62 bge1: using IRQ 266 for MSI bge1: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E bge1: Disabling fastboot miibus1: on bge1 brgphy1: PHY 2 on miibus1 brgphy1: OUI 0x001be9, model 0x0036, rev. 0 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: bpf attached bge1: Ethernet address: 54:9f:35:23:a9:8c pcib2: irq 18 at device 28.2 on pci0 pcib0: allocated type 3 (0xa2000000-0xa29fffff) for rid 20 of pcib2 pcib0: allocated type 3 (0xa1000000-0xa1ffffff) for rid 24 of pcib2 pcib2: domain 0 pcib2: secondary bus 2 pcib2: subordinate bus 6 pcib2: memory decode 0xa2000000-0xa29fffff pcib2: prefetched decode 0xa1000000-0xa1ffffff pcib2: special decode VGA pci2: on pcib2 pci2: domain=0, physical bus=2 found-> vendor=0x1912, dev=0x0013, revid=0x00 domain=0, bus=2, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x0b (2750 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit pcib3: at device 0.0 on pci2 pcib2: allocated memory range (0xa2000000-0xa29fffff) for rid 20 of pcib3 pcib2: allocated prefetch range (0xa1000000-0xa1ffffff) for rid 24 of pcib3 pcib3: domain 0 pcib3: secondary bus 3 pcib3: subordinate bus 6 pcib3: memory decode 0xa2000000-0xa29fffff pcib3: prefetched decode 0xa1000000-0xa1ffffff pcib3: special decode VGA pcib3: could not get PCI interrupt routing table for \134_SB_.PCI0.RP03.PXSX - AE_NOT_FOUND pci3: on pcib3 pci3: domain=0, physical bus=3 found-> vendor=0x1912, dev=0x0013, revid=0x00 domain=0, bus=3, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x0b (2750 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit found-> vendor=0x1912, dev=0x0013, revid=0x00 domain=0, bus=3, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit pcib4: at device 0.0 on pci3 pcib3: allocated memory range (0xa2000000-0xa28fffff) for rid 20 of pcib4 pcib3: allocated prefetch range (0xa1000000-0xa1ffffff) for rid 24 of pcib4 pcib4: domain 0 pcib4: secondary bus 4 pcib4: subordinate bus 5 pcib4: memory decode 0xa2000000-0xa28fffff pcib4: prefetched decode 0xa1000000-0xa1ffffff pcib4: special decode VGA pci4: on pcib4 pci4: domain=0, physical bus=4 found-> vendor=0x1912, dev=0x0012, revid=0x00 domain=0, bus=4, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x0b (2750 ns), maxlat=0x00 (0 ns) powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit pcib5: at device 0.0 on pci4 pcib4: allocated memory range (0xa2000000-0xa28fffff) for rid 20 of pcib5 pcib4: allocated prefetch range (0xa1000000-0xa1ffffff) for rid 24 of pcib5 pcib5: domain 0 pcib5: secondary bus 5 pcib5: subordinate bus 5 pcib5: memory decode 0xa2000000-0xa28fffff pcib5: prefetched decode 0xa1000000-0xa1ffffff pcib5: special decode VGA pci5: on pcib5 pci5: domain=0, physical bus=5 found-> vendor=0x102b, dev=0x0534, revid=0x00 domain=0, bus=5, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0290, cachelnsz=16 (dwords) lattimer=0x20 (960 ns), mingnt=0x10 (4000 ns), maxlat=0x20 (8000 ns) intpin=a, irq=10 powerspec 1 supports D0 D3 current D0 map[10]: type Prefetchable Memory, range 32, base 0xa1000000, size 24, enabled pcib5: allocated prefetch range (0xa1000000-0xa1ffffff) for rid 10 of pci0:5:0:0 map[14]: type Memory, range 32, base 0xa2800000, size 14, enabled pcib5: allocated memory range (0xa2800000-0xa2803fff) for rid 14 of pci0:5:0:0 map[18]: type Memory, range 32, base 0xa2000000, size 23, enabled pcib5: allocated memory range (0xa2000000-0xa27fffff) for rid 18 of pci0:5:0:0 pcib2: matched entry for 2.0.INTA pcib2: slot 0 INTA hardwired to IRQ 18 pcib3: slot 0 INTA is routed to irq 18 pcib4: slot 0 INTA is routed to irq 18 pcib5: slot 0 INTA is routed to irq 18 vgapci0: mem 0xa1000000-0xa1ffffff,0xa2800000-0xa2803fff,0xa2000000-0xa27fffff irq 18 at device 0.0 on pci5 vgapci0: Boot video device pcib6: at device 1.0 on pci3 pcib3: allocated memory range (0xa2900000-0xa29fffff) for rid 20 of pcib6 pcib6: domain 0 pcib6: secondary bus 6 pcib6: subordinate bus 6 pcib6: memory decode 0xa2900000-0xa29fffff pci6: on pcib6 pci6: domain=0, physical bus=6 found-> vendor=0x1912, dev=0x0011, revid=0x00 domain=0, bus=6, slot=0, func=0 class=05-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 3 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xa2901000, size 12, enabled pcib6: allocated memory range (0xa2901000-0xa2901fff) for rid 10 of pci0:6:0:0 map[14]: type Memory, range 32, base 0xa2900000, size 7, enabled pcib6: allocated memory range (0xa2900000-0xa290007f) for rid 14 of pci0:6:0:0 pcib2: matched entry for 2.0.INTB pcib2: slot 0 INTB hardwired to IRQ 19 pcib3: slot 1 INTA is routed to irq 19 pcib6: slot 0 INTA is routed to irq 19 pci6: at device 0.0 (no driver attached) ehci1: mem 0xa2b11000-0xa2b113ff irq 23 at device 29.0 on pci0 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 63 usbus2: EHCI version 1.0 usbus2 on ehci1 ehci1: usbpf: Attached isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x3048-0x304f,0x3054-0x3057,0x3040-0x3047,0x3050-0x3053,0x3020-0x303f mem 0xa2b10000-0xa2b107ff irq 19 at device 31.2 on pci0 ahci0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 267 to local APIC 0 vector 64 ahci0: using IRQ 267 for MSI ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahci0: Caps: 64bit NCQ SS AL CLO 6Gbps PMD SSC PSC 32cmd EM eSATA 6ports ahci0: Caps2: APST ahcich0: at channel 0 on ahci0 ahcich0: Caps: ahcich1: not probed (disabled) ahcich2: not probed (disabled) ahcich3: not probed (disabled) ahcich4: at channel 4 on ahci0 ahcich4: Caps: ahcich5: at channel 5 on ahci0 ahcich5: Caps: ESP ahciem0: on ahci0 ahciem0: Caps: ALHD XMT SMB LED pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 acpi_tz1: on acpi0 battery0: on acpi0 battery1: on acpi0 battery2: on acpi0 ppc1: cannot reserve I/O port range uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 0 vector 65 uart1: fast interrupt ACPI: Enabled 7 GPEs in block 00 to 3F acpi0: wakeup code va 0xfffffe045d873000 pa 0x90000 ahc_isa_identify 0: ioport 0xc00 alloc failed ahc_isa_identify 1: ioport 0x1c00 alloc failed ahc_isa_identify 2: ioport 0x2c00 alloc failed ahc_isa_identify 3: ioport 0x3c00 alloc failed ahc_isa_identify 4: ioport 0x4c00 alloc failed ahc_isa_identify 5: ioport 0x5c00 alloc failed ahc_isa_identify 6: ioport 0x6c00 alloc failed ahc_isa_identify 7: ioport 0x7c00 alloc failed ahc_isa_identify 8: ioport 0x8c00 alloc failed ahc_isa_identify 9: ioport 0x9c00 alloc failed ahc_isa_identify 10: ioport 0xac00 alloc failed ahc_isa_identify 11: ioport 0xbc00 alloc failed ahc_isa_identify 12: ioport 0xcc00 alloc failed ahc_isa_identify 13: ioport 0xdc00 alloc failed ahc_isa_identify 14: ioport 0xec00 alloc failed ex_isa_identify() pcib0: allocated type 3 (0xa0000-0xa07ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa0800-0xa0fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa1000-0xa17ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa1800-0xa1fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa2000-0xa27ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa2800-0xa2fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa3000-0xa37ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa3800-0xa3fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa4000-0xa47ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa4800-0xa4fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa5000-0xa57ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa5800-0xa5fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa6000-0xa67ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa6800-0xa6fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa7000-0xa77ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa7800-0xa7fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa8000-0xa87ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa8800-0xa8fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa9000-0xa97ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa9800-0xa9fff) for rid 0 of orm0 pcib0: allocated type 3 (0xaa000-0xaa7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xaa800-0xaafff) for rid 0 of orm0 pcib0: allocated type 3 (0xab000-0xab7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xab800-0xabfff) for rid 0 of orm0 pcib0: allocated type 3 (0xac000-0xac7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xac800-0xacfff) for rid 0 of orm0 pcib0: allocated type 3 (0xad000-0xad7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xad800-0xadfff) for rid 0 of orm0 pcib0: allocated type 3 (0xae000-0xae7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xae800-0xaefff) for rid 0 of orm0 pcib0: allocated type 3 (0xaf000-0xaf7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xaf800-0xaffff) for rid 0 of orm0 pcib0: allocated type 3 (0xb0000-0xb07ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb0800-0xb0fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb1000-0xb17ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb1800-0xb1fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb2000-0xb27ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb2800-0xb2fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb3000-0xb37ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb3800-0xb3fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb4000-0xb47ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb4800-0xb4fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb5000-0xb57ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb5800-0xb5fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb6000-0xb67ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb6800-0xb6fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb7000-0xb77ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb7800-0xb7fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb8000-0xb87ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb8800-0xb8fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb9000-0xb97ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb9800-0xb9fff) for rid 0 of orm0 pcib0: allocated type 3 (0xba000-0xba7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xba800-0xbafff) for rid 0 of orm0 pcib0: allocated type 3 (0xbb000-0xbb7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbb800-0xbbfff) for rid 0 of orm0 pcib0: allocated type 3 (0xbc000-0xbc7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbc800-0xbcfff) for rid 0 of orm0 pcib0: allocated type 3 (0xbd000-0xbd7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbd800-0xbdfff) for rid 0 of orm0 pcib0: allocated type 3 (0xbe000-0xbe7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbe800-0xbefff) for rid 0 of orm0 pcib0: allocated type 3 (0xbf000-0xbf7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbf800-0xbffff) for rid 0 of orm0 isa_probe_children: disabling PnP devices atrtc: atrtc0 already exists; skipping it attimer: attimer0 already exists; skipping it sc: sc0 already exists; skipping it uart: uart1 already exists; skipping it isa_probe_children: probing non-PnP devices orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: scteken (teken terminal) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 pcib0: allocated type 4 (0x3c0-0x3df) for rid 0 of vga0 pcib0: allocated type 3 (0xa0000-0xbffff) for rid 0 of vga0 pcib0: allocated type 4 (0x60-0x60) for rid 0 of atkbdc0 pcib0: allocated type 4 (0x64-0x64) for rid 1 of atkbdc0 atkbdc0: AT keyboard controller not found atkbdc0 failed to probe at port 0x60,0x64 on isa0 pcib0: allocated type 4 (0x3f0-0x3f5) for rid 0 of fdc0 pcib0: allocated type 4 (0x3f7-0x3f7) for rid 1 of fdc0 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ppc0: cannot reserve I/O port range ppc0 failed to probe at irq 7 on isa0 uart0 failed to probe at port 0x3f8 irq 4 on isa0 wbwd0 failed to probe on isa0 isa_probe_children: probing PnP devices est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 est4: on cpu4 p4tcc4: on cpu4 est5: on cpu5 p4tcc5: on cpu5 est6: on cpu6 p4tcc6: on cpu6 est7: on cpu7 p4tcc7: on cpu7 Device configuration finished. procfs registered ZFS filesystem version: 5 ZFS storage pool version: features support (5000) lapic: Divisor 2, Frequency 49885523 Hz Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining tcp_init: net.inet.tcp.tcbhashsize auto tuned to 131072 lo0: bpf attached hptnr: no controller detected. hpt27xx: no controller detected. hptrr: no controller detected. random: unblocking device. usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 480Mbps High Speed USB v2.0 acpi_tz0: switched from NONE to _AC2: 27.8C ahcich0: AHCI reset... ahcich0: SATA connect time=100us status=00000133 ahcich0: AHCI reset: device found ahcich4: AHCI reset... ahcich4: SATA connect time=1000us status=00000113 ahcich4: AHCI reset: device found ahcich4: AHCI reset: device ready after 0ms ugen0.1: <0x8086> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen2.1: at usbus2 uhub1: on usbus2 ugen1.1: at usbus1 uhub2: on usbus1 ahcich5: AHCI reset... ahcich4: SNTF 0x0001 ahcich5: SATA connect timeout time=10000us status=00000000 ahcich5: AHCI reset: device not found battery0: battery initialization start battery1: battery initialization start battery2: battery initialization start ahcich4: SNTF 0x0001 ahcich0: AHCI reset: device ready after 100ms (aprobe0:ahcich0:0:0:0): SETFEATURES ENABLE SATA FEATURE. ACB: ef 10 00 00 00 40 00 00 00 00 05 00 (aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error (aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 05 00 (aprobe0:ahcich0:0:0:0): Retrying command (aprobe0:ahcich0:0:0:0): SETFEATURES ENABLE SATA FEATURE. ACB: ef 10 00 00 00 40 00 00 00 00 05 00 (aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error (aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 05 00 (aprobe0:ahcich0:0:0:0): Error 5, Retries exhausted ses0 at ahciem0 bus 0 scbus3 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device pass0 at ahcich0 bus 0 scbus0 target 0 lun 0 pass0: ATA-9 SATA 3.x device pass0: Serial Number 14270C821763 pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) pass0: Command Queueing enabled pass1 at ahcich4 bus 0 scbus1 target 0 lun 0 pass1: Removable CD-ROM SCSI-0 device pass1: Serial Number MTT6M7363953J63RGA01 pass1: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) pass2 at ahciem0 bus 0 scbus3 target 0 lun 0 pass2: SEMB S-E-S 2.00 device ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-9 SATA 3.x device ada0: Serial Number 14270C821763 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 457862MB (937703088 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ses0: Generation Code 0x0 has 1 SubEnclosures ses0: SubEnclosure ID 0, 1 Types With this ID, Descriptor Length 36, offset 8 ses0: WWN: 0 ses0: Type Desc[0]: Type 0x17, MaxElt 6, In Subenc 0, Text Length 0: GEOM: new disk ada0 GEOM: new disk cd0 cd0 at ahcich4 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: Serial Number MTT6M7363953J63RGA01 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray open ahcich4: SNTF 0x0001 Netvsc initializing... lapic6: CMCI unmasked lapic7: CMCI unmasked lapic5: CMCI unmasked lapic4: CMCI unmasked lapic3: CMCI unmasked lapic2: CMCI unmasked SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x01000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000100f2 SMP: AP CPU #5 Launched! cpu5 AP: ID: 0x05000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 SMP: AP CPU #2 Launched! cpu2 AP: ID: 0x02000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 SMP: AP CPU #4 Launched! cpu4 AP: ID: 0x04000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 SMP: AP CPU #3 Launched! cpu3 AP: ID: 0x03000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 SMP: AP CPU #6 Launched! cpu6 AP: ID: 0x06000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 SMP: AP CPU #7 Launched! cpu7 AP: ID: 0x07000000 VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000000f2 ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 1 vector 48 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 2 vector 48 ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 3 vector 48 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 4 vector 48 msi: Assigning MSI-X IRQ 257 to local APIC 1 vector 49 msi: Assigning MSI-X IRQ 258 to local APIC 2 vector 49 msi: Assigning MSI-X IRQ 259 to local APIC 3 vector 49 msi: Assigning MSI-X IRQ 260 to local APIC 4 vector 49 msi: Assigning MSI-X IRQ 261 to local APIC 5 vector 48 msi: Assigning MSI-X IRQ 262 to local APIC 6 vector 48 msi: Assigning MSI-X IRQ 263 to local APIC 7 vector 48 msi: Assigning MSI IRQ 264 to local APIC 5 vector 49 msi: Assigning MSI IRQ 265 to local APIC 6 vector 49 msi: Assigning MSI IRQ 266 to local APIC 7 vector 49 SMP: passed TSC synchronization test TSC timecounter discards lower 1 bit(s) Timecounter "TSC-low" frequency 1745993212 Hz quality 1000 Root mount waiting for: usbus2 usbus1 usbus0 uhub0: 17 ports with 17 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered Root mount waiting for: usbus2 usbus1 usbus0 xhci0: Port routing mask set to 0x00000000 usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device ugen2.2: at usbus2 uhub3: on usbus2 ugen1.2: at usbus1 uhub4: on usbus1 uhub4: 4 ports with 4 removable, self powered uhub3: 6 ports with 6 removable, self powered Root mount waiting for: usbus2 usbus1 ugen2.3: at usbus2 ukbd0: on usbus2 kbd0 at ukbd0 kbd0: ukbd0, generic (0), config:0x0, flags:0x3d0000 ugen1.3: at usbus1 ugen2.4: at usbus2 uhub5: on usbus2 Root mount waiting for: usbus2 usbus1 uhub5: 6 ports with 6 removable, self powered ugen1.4: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x4100 umass0:4:0:-1: Attached to scbus4 pass3 at umass-sim0 bus 0 scbus4 target 0 lun 0 pass3: Removable Direct Access SCSI-4 device pass3: Serial Number 20140111083412156E5A pass3: 40.000MB/s transfers GEOM: new disk da0 da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: Serial Number 20140111083412156E5A da0: 40.000MB/s transfers da0: 29926MB (61288448 512 byte sectors: 255H 63S/T 3815C) da0: quirks=0x2 da0: Delete methods: (da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL not supported. ugen2.5: at usbus2 ukbd1: on usbus2 kbd2 at ukbd1 kbd2: ukbd1, generic (0), config:0x0, flags:0x3d0000 Trying to mount root from zfs:zroot/ROOT/default []... start_init: trying /sbin/init bge0: Disabling fastboot bge0: Disabling fastboot ums0: on usbus2 ums1: on usbus1 ums0: 3 buttons and [Z] coordinates ID=0 ums2: on usbus2 ums2: 3 buttons and [XYZ] coordinates ID=0 ums1: 3 buttons and [XYZ] coordinates ID=0 > > -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From iam at ardiefox.me Thu Jun 11 09:39:07 2015 From: iam at ardiefox.me (Ardie H. Hwang) Date: Thu, 11 Jun 2015 18:38:55 +0900 Subject: swift under freebsd? In-Reply-To: <20150611093306.GA44454@ozzmosis.com> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> <20150609113827.GA80013@ozzmosis.com> <20150611093306.GA44454@ozzmosis.com> Message-ID: <13DC6BF2-F4D6-4EEC-9614-52068381A7FD@ardiefox.me> One can use devel/gnustep port if needed; not 100% compatible with latest Cocoa framework, but is quite mature AFAIK. Also notable: http://cocotron.org/ -- Ardie H. Hwang ---------------- email: iam at ardiefox.me mobile: +82-10-I-AM-ARDIE > On Jun 11, 2015, at 18:33, andrew clarke wrote: > > On Tue 2015-06-09 21:38:27 UTC+1000, andrew clarke (mail at ozzmosis.com) wrote: > >>> hi, in case someone missed it, there's been an announcement that apple's >>> swift will be open sourced soon. >>> they are going pretty much full-out, even the libraries are going to get >>> open sourced along with the compiler. >>> in that case, would freebsd import support for swift within the base >>> system in the near future? >> >> I think it would only end up in the FreeBSD base system if a >> particular program in base required it. However the general trend over >> the years has been to remove dependencies from base (Perl, Ruby) >> rather than add more. >> >> ObjC support is in base more by coincidence, because clang is required >> to build the base system in FreeBSD 10.0 and newer, and clang includes >> ObjC support. clang will never build Swift apps, though. > > Actually on further investigation, while Clang might support the ObjC > syntax, none of the ObjC libraries are available in FreeBSD base. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4100 bytes Desc: not available URL: From mayuresh at kathe.in Thu Jun 11 10:07:15 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Thu, 11 Jun 2015 15:37:11 +0530 Subject: swift under freebsd? In-Reply-To: <20150611093306.GA44454@ozzmosis.com> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> <20150609113827.GA80013@ozzmosis.com> <20150611093306.GA44454@ozzmosis.com> Message-ID: On 2015-06-11 15:03, andrew clarke wrote: > On Tue 2015-06-09 21:38:27 UTC+1000, andrew clarke (mail at ozzmosis.com) > wrote: > >> > hi, in case someone missed it, there's been an announcement that apple's >> > swift will be open sourced soon. >> > they are going pretty much full-out, even the libraries are going to get >> > open sourced along with the compiler. >> > in that case, would freebsd import support for swift within the base >> > system in the near future? >> >> I think it would only end up in the FreeBSD base system if a >> particular program in base required it. However the general trend over >> the years has been to remove dependencies from base (Perl, Ruby) >> rather than add more. >> >> ObjC support is in base more by coincidence, because clang is required >> to build the base system in FreeBSD 10.0 and newer, and clang includes >> ObjC support. clang will never build Swift apps, though. > > Actually on further investigation, while Clang might support the ObjC > syntax, none of the ObjC libraries are available in FreeBSD base. yes, i know. had played with objective-c under freebsd a while back, and getting things to work was difficult as the packages would somehow keep breaking. ~mayuresh From mayuresh at kathe.in Thu Jun 11 10:11:10 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Thu, 11 Jun 2015 15:41:02 +0530 Subject: swift under freebsd? In-Reply-To: <13DC6BF2-F4D6-4EEC-9614-52068381A7FD@ardiefox.me> References: <0e0e0498667962e412d607e2f27274d0@kathe.in> <20150609113827.GA80013@ozzmosis.com> <20150611093306.GA44454@ozzmosis.com> <13DC6BF2-F4D6-4EEC-9614-52068381A7FD@ardiefox.me> Message-ID: yeah, that compatibility situation probably won't occur in the case of swift as apple has decided to also release their libraries in the open (along with the compiler + 'repl'). the only problem i see is that the swift libraries might somehow be dependent on cocoa's objective-c framework; in that case, things are going to get extremely painful while importing support for swift under freebsd, or for that matter any platform other than apple's. ~mayuresh On 2015-06-11 15:08, Ardie H. Hwang wrote: > One can use devel/gnustep port if needed; not 100% compatible with > latest Cocoa framework, but is quite mature AFAIK. > > Also notable: http://cocotron.org/ > > -- > Ardie H. Hwang > ---------------- > email: iam at ardiefox.me > mobile: +82-10-I-AM-ARDIE > >> On Jun 11, 2015, at 18:33, andrew clarke wrote: >> >> On Tue 2015-06-09 21:38:27 UTC+1000, andrew clarke (mail at ozzmosis.com) >> wrote: >> >>>> hi, in case someone missed it, there's been an announcement that >>>> apple's >>>> swift will be open sourced soon. >>>> they are going pretty much full-out, even the libraries are going to >>>> get >>>> open sourced along with the compiler. >>>> in that case, would freebsd import support for swift within the base >>>> system in the near future? >>> >>> I think it would only end up in the FreeBSD base system if a >>> particular program in base required it. However the general trend >>> over >>> the years has been to remove dependencies from base (Perl, Ruby) >>> rather than add more. >>> >>> ObjC support is in base more by coincidence, because clang is >>> required >>> to build the base system in FreeBSD 10.0 and newer, and clang >>> includes >>> ObjC support. clang will never build Swift apps, though. >> >> Actually on further investigation, while Clang might support the ObjC >> syntax, none of the ObjC libraries are available in FreeBSD base. From mayuresh at kathe.in Thu Jun 11 10:52:18 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Thu, 11 Jun 2015 16:22:15 +0530 Subject: randall hyde's high level assembly! Message-ID: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> has anyone been successful at working with randall hyde's high level assembly toolkit under freebsd 10.x? http://www.plantation-productions.com/Webster/ claims to have a pre-built archive, but one that fails to assemble the binaries. :( ~mayuresh From freebsd at edvax.de Thu Jun 11 10:54:19 2015 From: freebsd at edvax.de (Polytropon) Date: Thu, 11 Jun 2015 12:54:14 +0200 Subject: FreeBSD and Docker In-Reply-To: <1507965.zgzlHR604A@thinkpad> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <1507965.zgzlHR604A@thinkpad> Message-ID: <20150611125414.6ec3c597.freebsd@edvax.de> On Wed, 10 Jun 2015 22:38:33 +0300, Maxim V Filimonov wrote: > On Wednesday 10 June 2015 16:52:44 Polytropon wrote: > > On Wed, 10 Jun 2015 07:29:09 -0700, Jason Cox wrote: > > > What are you doing wrong? You are trying to run docker on FreeBSD. Docker > > > is a containerization technology built for Linux. It uses LXC (which is > > > Linux Containers) for older Kernels or docker specific bits which are now > > > part of the modern Linux kernel 3.10+. > > > > It requires too many Linuxisms which aren't part of FreeBSD's > > Linux ABI, so expecting Docker to work on FreeBSD is somehow > > wrong. > > Some guy tried to port Docker on FreeBSD, and even got it working IIRC. Well, I wouldn't say it's entirely impossible to get a Docker implementation running on FreeBSD, but probably it won't work 1:1 with all imaginable software - I conclude this from the concept of being able to run Linux applications on FreeBSD using our Linux ABI, which works for _many_ applications, but not for _all_ of them, especially not for those relying on Linux kernel mechanisms that the ABI doesn't provide a proper "translation" for. In those cases it's probably easier to use native FreeBSD solutions: install the ported application into a Jail. Yes, I know, Docker is much more than Jail in terms of functionality... Maybe related: Erich Schubert: The sad state of sysadmin in the age of containers http://www.vitavonni.de/blog/201503/2015031201-the-sad-state-of-sysadmin-in-the-age-of-containers.html > > Oh, and doing things like > > > > # wget http://getsomething.example.com | sudo bash > > > > is definitely _not_ the way you want to install software on FreeBSD. > > It rather seems to be a new Linuxism that has emerged during the > > recent years. :-) > > That's not a Linuxism; in fact, that's a "hipsterism". Oh, that's why I see this on Mac OS X related software so often! :-) > But that's another > question. Where the only answer is "more beer". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dweimer at dweimer.net Thu Jun 11 11:38:57 2015 From: dweimer at dweimer.net (dweimer) Date: Thu, 11 Jun 2015 06:38:54 -0500 Subject: Squid 3.5.5 Port Update, with SSL In-Reply-To: <1434010946089-6017812.post@n5.nabble.com> References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> <1434010946089-6017812.post@n5.nabble.com> Message-ID: On 06/11/2015 3:22 am, timp wrote: > Uninstall your openssl from ports and try again. > > Looks like squid takes parts of openssl from base, and parts of it from > ports version if it's installed. > > > > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/Squid-3-5-5-Port-Update-with-SSL-tp6017657p6017812.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" Just trying to see if I was missing something simple on my system before filing the bug report. Already did a fresh build of all the ports on the system including OpenSSL. After the update form FreeBSD 10.1-RELEASE-p10 to p11. Removed them all and verified /usr/local/lib, /usr/local/libdata, /usr/local/share, /usr/local/bin, and /usr/local/sbin, were all empty. Then reinstalled, back to same error. I will get captures of full build output and file a bug report with them and the make.conf settings in the next couple of hours. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From wam at hiwaay.net Thu Jun 11 13:14:17 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 11 Jun 2015 08:17:03 -0453 Subject: FreeBSD and Docker In-Reply-To: <20150611125414.6ec3c597.freebsd@edvax.de> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <1507965.zgzlHR604A@thinkpad> <20150611125414.6ec3c597.freebsd@edvax.de> Message-ID: <557988D8.6020108@hiwaay.net> On 06/11/15 06:00, Polytropon wrote: > Well, I wouldn't say it's entirely impossible to get a Docker > implementation running on FreeBSD, but probably it won't work > 1:1 with all imaginable software - I conclude this from the > concept of being able to run Linux applications on FreeBSD > using our Linux ABI, which works for_many_ applications, but > not for_all_ of them, especially not for those relying on > Linux kernel mechanisms that the ABI doesn't provide a proper > "translation" for. In those cases it's probably easier to use > native FreeBSD solutions: install the ported application into > a Jail. Yes, I know, Docker is much more than Jail in terms > of functionality... > > Maybe related: > > Erich Schubert: > The sad state of sysadmin in the age of containers > > http://www.vitavonni.de/blog/201503/2015031201-the-sad-state-of-sysadmin-in-the-age-of-containers.html Hmmmmm .... interesting read. One of the reasons I am migrating to *BSD is the presumed absence of malevolent gov't involvement (*cough* SELinux *cough*), I thought the BSD's were mostly/entirely free from such, no ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From matthew at FreeBSD.org Thu Jun 11 14:03:49 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Thu, 11 Jun 2015 10:03:36 -0400 Subject: FreeBSD and Docker In-Reply-To: <557988D8.6020108@hiwaay.net> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <1507965.zgzlHR604A@thinkpad> <20150611125414.6ec3c597.freebsd@edvax.de> <557988D8.6020108@hiwaay.net> Message-ID: <55799538.2000009@FreeBSD.org> On 11/06/2015 09:10, William A. Mahaffey III wrote: > Hmmmmm .... interesting read. One of the reasons I am migrating to *BSD > is the presumed absence of malevolent gov't involvement (*cough* SELinux > *cough*), I thought the BSD's were mostly/entirely free from such, no ? Pretty sure that there aren't any NSA agents in deep cover who have managed to become FreeBSD committers -- not that I have any way of telling for sure of course. Certainly FreeBSD relies on openness as the best guarantee that the OS we're shipping is free from backdoors, trojans and the like. You've got access to the source code and the build system so you can (in principle) review everything you build and dyke out anything you don't like. Of course, it's a tall order to expect everyone to have the skills to be able to do that. Consequently, internally we're strongly advocating a culture of routine code-review before making any commits, but particularly to any sensitive areas of the kernel. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From galtsev at kicp.uchicago.edu Thu Jun 11 14:19:10 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Thu, 11 Jun 2015 09:19:04 -0500 (CDT) Subject: FreeBSD and Docker In-Reply-To: <55799538.2000009@FreeBSD.org> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <1507965.zgzlHR604A@thinkpad> <20150611125414.6ec3c597.freebsd@edvax.de> <557988D8.6020108@hiwaay.net> <55799538.2000009@FreeBSD.org> Message-ID: <33315.128.135.70.2.1434032344.squirrel@cosmo.uchicago.edu> On Thu, June 11, 2015 9:03 am, Matthew Seaman wrote: > On 11/06/2015 09:10, William A. Mahaffey III wrote: >> Hmmmmm .... interesting read. One of the reasons I am migrating to *BSD >> is the presumed absence of malevolent gov't involvement (*cough* SELinux >> *cough*), I thought the BSD's were mostly/entirely free from such, no ? > > Pretty sure that there aren't any NSA agents in deep cover who have > managed to become FreeBSD committers -- not that I have any way of > telling for sure of course. To the contrary to OpenBSD which allegedly had that sort of trouble: http://slashdot.org/story/10/12/15/004235/FBI-Alleged-To-Have-Backdoored-OpenBSDs-IPSEC-Stack Well, I didn't say had, I said allegedly had... Valeri > > Certainly FreeBSD relies on openness as the best guarantee that the OS > we're shipping is free from backdoors, trojans and the like. You've got > access to the source code and the build system so you can (in principle) > review everything you build and dyke out anything you don't like. Of > course, it's a tall order to expect everyone to have the skills to be > able to do that. Consequently, internally we're strongly advocating a > culture of routine code-review before making any commits, but > particularly to any sensitive areas of the kernel. > > Cheers, > > Matthew > > > > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From csprajeeth at gmail.com Thu Jun 11 18:13:17 2015 From: csprajeeth at gmail.com (Sai Prajeeth) Date: Thu, 11 Jun 2015 23:43:16 +0530 Subject: pmcstat profiles kernel Message-ID: Hi, I am not sure if this is the list that addresses this question but here it goes. I would like to count hardware events such as instructions retired / unhalted-core-cycles for all the systems for BOTH OS and APPLICATION. I am aware that pmcstat has a system wide monitoring mode that counts events across all the CPUs for all processes. I want to know whether the statistics for kernel code are collected as well ? (which I dont think so). Thanks! From matthew at FreeBSD.org Thu Jun 11 20:01:13 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Thu, 11 Jun 2015 16:00:59 -0400 Subject: pmcstat profiles kernel In-Reply-To: References: Message-ID: <5579E8FB.1000602@FreeBSD.org> On 11/06/2015 14:13, Sai Prajeeth wrote: > I am not sure if this is the list that addresses this question but here it > goes. I would like to count hardware events such as instructions retired / > unhalted-core-cycles for all the systems for BOTH OS and APPLICATION. I am > aware that pmcstat has a system wide monitoring mode that counts events > across all the CPUs for all processes. I want to know whether the > statistics for kernel code are collected as well ? (which I dont think so). This sounds more like a question for freebsd-performance at ... or, failing that, freebsd-hackers at ... which is the list for technical questions that don't fit into any of the lists for more specific topics. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From scrappy at hub.org Thu Jun 11 20:12:16 2015 From: scrappy at hub.org (Marc Fournier) Date: Thu, 11 Jun 2015 13:04:15 -0700 Subject: Softlayer VPS: Loading FreeBSD Message-ID: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> I need to load FreeBSD 10.x onto VPSs over at Softlayer, and, since its ?not supported? by them, its like banging head against a wall ? The easiest, I think, would be to create a image in VirtualBox, and then I need to someone translate from VirtualBox -> ISO so that I can upload it to them to have it loaded ? what is eluding me is how to convert from VirtualBox -> ISO ? there is no ?export ISO? option ? has anyone had any experience with Softlayer and loading a FreeBSD VPS there? And, if not, can someone suggest a good tool that will allow me to create an ISO from a VirtualBox build? Or, if this makes any sense, of building an ISO from a running FreeBSD system, irrelevant of VirtualBox? Thx ? Marc G Fournier Owner, Hub.Org Hosting Solutions S.A. From jungleboogie0 at gmail.com Thu Jun 11 20:25:38 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Thu, 11 Jun 2015 13:25:37 -0700 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> Message-ID: Hi Marc, On 11 June 2015 at 13:04, Marc Fournier wrote: > I need to load FreeBSD 10.x onto VPSs over at Softlayer, and, since its ?not supported? by them, its like banging head against a wall ? If they give you over the internet console access via ipmi or something, you can upload the iso directly. Do you know if they give you that access? VPS provider https://www.vultr.com/ gives you that access and they have freeBSD images. Good luck with the head banging! -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From scrappy at hub.org Thu Jun 11 22:07:18 2015 From: scrappy at hub.org (Marc Fournier) Date: Thu, 11 Jun 2015 15:07:11 -0700 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> Message-ID: <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> Marc G Fournier Owner, Hub.Org Hosting Solutions S.A. > On Jun 11, 2015, at 13:25, jungle Boogie wrote: > > Hi Marc, > On 11 June 2015 at 13:04, Marc Fournier wrote: >> I need to load FreeBSD 10.x onto VPSs over at Softlayer, and, since its ?not supported? by them, its like banging head against a wall ? > > If they give you over the internet console access via ipmi or > something, you can upload the iso directly. Do you know if they give > you that access? That gave us IPMI access for the Bare Metal server we put in place, but no KVM access for VPS ? for VPS, I need to create an ISO of my install, upload that and then they effectively ?dd? it to the VPS, which is cool, but I need to figure out how to create an image based on a VirtualBox build on a Mac OS X system :) From ch at sysconfig.org.uk Thu Jun 11 22:27:56 2015 From: ch at sysconfig.org.uk (Carsten Heesch) Date: Thu, 11 Jun 2015 23:27:48 +0100 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> Message-ID: <557A0B64.9050808@sysconfig.org.uk> > That gave us IPMI access for the Bare Metal server we put in place, > but no KVM access for VPS ? for VPS, I need to create an ISO of my > install, upload that and then they effectively ?dd? it to the VPS, > which is cool, but I need to figure out how to create an image based > on a VirtualBox build on a Mac OS X system :) If they really just "dd" it, then a RAW image of your Virtualbox instance should work, shouldn't it? Choose QCOW as the disk format in VirtualBox, and then use "qemu-img convert" to make a raw image. qemu-img apparently understands other formats like VDI and VDMK too, but I have only ever used QCOW-to-RAW myself for similar situations with other providers. I haven't got any OSX devices available at the moment, but apparently Qemu is available in Macports and should contain qemu-img. Cheers Carsten From scrappy at hub.org Thu Jun 11 23:00:37 2015 From: scrappy at hub.org (Marc Fournier) Date: Thu, 11 Jun 2015 16:00:32 -0700 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <557A0B64.9050808@sysconfig.org.uk> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> Message-ID: Marc G Fournier Owner, Hub.Org Hosting Solutions S.A. > On Jun 11, 2015, at 15:27, Carsten Heesch wrote: > > >> That gave us IPMI access for the Bare Metal server we put in place, >> but no KVM access for VPS ? for VPS, I need to create an ISO of my >> install, upload that and then they effectively ?dd? it to the VPS, >> which is cool, but I need to figure out how to create an image based >> on a VirtualBox build on a Mac OS X system :) > > If they really just "dd" it, then a RAW image of your Virtualbox > instance should work, shouldn't it? I knew when I typed this that I shouldn?t have .. :) I don?t know what they do exactly, getting info out of htem is like pulling teeth ? so far, I?m not even sure what I should be setting for ethernet configuration, although I?m suspecting ?DHCP?, else I?d have to load a new ISO for each VPS I?m setting up ? > Choose QCOW as the disk format in VirtualBox, and then use "qemu-img > convert" to make a raw image. I have several FreeBSD boxes, so if there is a method of converting from ?XYZ -> ISO? using FreeBSD, that is cool too ? I can make / configure the image on my desktop, upload to my server and do the conversion there ? I can use qemu-img to pretty much convert to any format (except ISO) ? but how do I get to that final step? Thinking this through ? ppl make livecd?s, so this is obviously possible ? does it make sense that that is all I need to do? Although I?ve never done it, mind you, but if I were to upload a regular liveCD, and they installed / booted that, that should be it ? or am I overlookign something? From lacey.leanne at gmail.com Fri Jun 12 00:13:22 2015 From: lacey.leanne at gmail.com (Lacey Powers) Date: Thu, 11 Jun 2015 17:13:17 -0700 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> Message-ID: <557A241D.5090307@gmail.com> On 06/11/2015 16:00, Marc Fournier wrote: > Marc G Fournier > Owner, Hub.Org Hosting Solutions S.A. > >> On Jun 11, 2015, at 15:27, Carsten Heesch wrote: >> >> >>> That gave us IPMI access for the Bare Metal server we put in place, >>> but no KVM access for VPS ? for VPS, I need to create an ISO of my >>> install, upload that and then they effectively ?dd? it to the VPS, >>> which is cool, but I need to figure out how to create an image based >>> on a VirtualBox build on a Mac OS X system :) >> If they really just "dd" it, then a RAW image of your Virtualbox >> instance should work, shouldn't it? > I knew when I typed this that I shouldn?t have .. :) I don?t know what they do exactly, getting info out of htem is like pulling teeth ? so far, I?m not even sure what I should be setting for ethernet configuration, although I?m suspecting ?DHCP?, else I?d have to load a new ISO for each VPS I?m setting up ? > >> Choose QCOW as the disk format in VirtualBox, and then use "qemu-img >> convert" to make a raw image. > I have several FreeBSD boxes, so if there is a method of converting from ?XYZ -> ISO? using FreeBSD, that is cool too ? I can make / configure the image on my desktop, upload to my server and do the conversion there ? > > I can use qemu-img to pretty much convert to any format (except ISO) ? but how do I get to that final step? > > Thinking this through ? ppl make livecd?s, so this is obviously possible ? does it make sense that that is all I need to do? Although I?ve never done it, mind you, but if I were to upload a regular liveCD, and they installed / booted that, that should be it ? or am I overlookign something? > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Hello Marc, Sounds like the last thing you need is to mount the image, and use mkisofs to make your own iso There are examples here, https://www.freebsd.org/doc/handbook/creating-cds.html and there are also tools for making releases or custom releases in /usr/src/releaseoutlined in man 7 release Which might be easier to use and customize than coercing a VirtualBox image into something useful. But, the basic command for making an ISO is something like this: |# mkisofs -R -o /tmp/FreeBSD-Custom.iso /path/to/my/mounted/disk/image| You might need to change the options to suit your needs, though. It's been awhile since I last made custom CDs. Hope that helps.=) Regards, Lacey From scrappy at hub.org Fri Jun 12 00:28:52 2015 From: scrappy at hub.org (Marc Fournier) Date: Thu, 11 Jun 2015 17:28:46 -0700 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <557A241D.5090307@gmail.com> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> <557A241D.5090307@gmail.com> Message-ID: <3D2FF45C-9C83-4504-8051-4A409E06F8BE@hub.org> Marc G Fournier Owner, Hub.Org Hosting Solutions S.A. > On Jun 11, 2015, at 17:13, Lacey Powers wrote: > > > > On 06/11/2015 16:00, Marc Fournier wrote: >> Marc G Fournier >> Owner, Hub.Org Hosting Solutions S.A. >> >>> On Jun 11, 2015, at 15:27, Carsten Heesch wrote: >>> >>> >>>> That gave us IPMI access for the Bare Metal server we put in place, >>>> but no KVM access for VPS ? for VPS, I need to create an ISO of my >>>> install, upload that and then they effectively ?dd? it to the VPS, >>>> which is cool, but I need to figure out how to create an image based >>>> on a VirtualBox build on a Mac OS X system :) >>> If they really just "dd" it, then a RAW image of your Virtualbox >>> instance should work, shouldn't it? >> I knew when I typed this that I shouldn?t have .. :) I don?t know what they do exactly, getting info out of htem is like pulling teeth ? so far, I?m not even sure what I should be setting for ethernet configuration, although I?m suspecting ?DHCP?, else I?d have to load a new ISO for each VPS I?m setting up ? >> >>> Choose QCOW as the disk format in VirtualBox, and then use "qemu-img >>> convert" to make a raw image. >> I have several FreeBSD boxes, so if there is a method of converting from ?XYZ -> ISO? using FreeBSD, that is cool too ? I can make / configure the image on my desktop, upload to my server and do the conversion there ? >> >> I can use qemu-img to pretty much convert to any format (except ISO) ? but how do I get to that final step? >> >> Thinking this through ? ppl make livecd?s, so this is obviously possible ? does it make sense that that is all I need to do? Although I?ve never done it, mind you, but if I were to upload a regular liveCD, and they installed / booted that, that should be it ? or am I overlookign something? >> >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > > Hello Marc, > > Sounds like the last thing you need is to mount the image, and use mkisofs to make your own iso > > There are examples here, > > https://www.freebsd.org/doc/handbook/creating-cds.html > > and there are also tools for making releases or custom releases in /usr/src/releaseoutlined in > > man 7 release > > Which might be easier to use and customize than coercing a VirtualBox image into something useful. > > But, the basic command for making an ISO is something like this: > > |# mkisofs -R -o /tmp/FreeBSD-Custom.iso /path/to/my/mounted/disk/image| > > You might need to change the options to suit your needs, though. > > It's been awhile since I last made custom CDs. > > Hope that helps.=) Thanks .. .we?ll see how helpful, but I?m almost ready to drop these guys and go to Backspace ? there website explicitly states ?FreeBSD? http://www.softlayer.com/software ? yet nobody there seems to be much help in getting it installed ? From dan at buildingonline.com Fri Jun 12 00:50:42 2015 From: dan at buildingonline.com (Dan Busarow) Date: Thu, 11 Jun 2015 18:44:15 -0600 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <3D2FF45C-9C83-4504-8051-4A409E06F8BE@hub.org> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> <557A241D.5090307@gmail.com> <3D2FF45C-9C83-4504-8051-4A409E06F8BE@hub.org> Message-ID: <557A2B5F.4010603@buildingonline.com> Marc, Checkout rootbsd.net I have 10 VPS and 1 dedicated server there. Excellent BSD support as you might gather from the name. Dan -- Dan Busarow BuildingOnline.com http://www.BuildingOnline.net/ 888-496-6648 ext 218 On 6/11/15 6:28 PM, Marc Fournier wrote: > > Marc G Fournier > Owner, Hub.Org Hosting Solutions S.A. > >> On Jun 11, 2015, at 17:13, Lacey Powers wrote: >> >> >> >> On 06/11/2015 16:00, Marc Fournier wrote: >>> Marc G Fournier >>> Owner, Hub.Org Hosting Solutions S.A. >>> >>>> On Jun 11, 2015, at 15:27, Carsten Heesch wrote: >>>> >>>> >>>>> That gave us IPMI access for the Bare Metal server we put in place, >>>>> but no KVM access for VPS ? for VPS, I need to create an ISO of my >>>>> install, upload that and then they effectively ?dd? it to the VPS, >>>>> which is cool, but I need to figure out how to create an image based >>>>> on a VirtualBox build on a Mac OS X system :) >>>> If they really just "dd" it, then a RAW image of your Virtualbox >>>> instance should work, shouldn't it? >>> I knew when I typed this that I shouldn?t have .. :) I don?t know what they do exactly, getting info out of htem is like pulling teeth ? so far, I?m not even sure what I should be setting for ethernet configuration, although I?m suspecting ?DHCP?, else I?d have to load a new ISO for each VPS I?m setting up ? >>> >>>> Choose QCOW as the disk format in VirtualBox, and then use "qemu-img >>>> convert" to make a raw image. >>> I have several FreeBSD boxes, so if there is a method of converting from ?XYZ -> ISO? using FreeBSD, that is cool too ? I can make / configure the image on my desktop, upload to my server and do the conversion there ? >>> >>> I can use qemu-img to pretty much convert to any format (except ISO) ? but how do I get to that final step? >>> >>> Thinking this through ? ppl make livecd?s, so this is obviously possible ? does it make sense that that is all I need to do? Although I?ve never done it, mind you, but if I were to upload a regular liveCD, and they installed / booted that, that should be it ? or am I overlookign something? >>> >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" >> >> Hello Marc, >> >> Sounds like the last thing you need is to mount the image, and use mkisofs to make your own iso >> >> There are examples here, >> >> https://www.freebsd.org/doc/handbook/creating-cds.html >> >> and there are also tools for making releases or custom releases in /usr/src/releaseoutlined in >> >> man 7 release >> >> Which might be easier to use and customize than coercing a VirtualBox image into something useful. >> >> But, the basic command for making an ISO is something like this: >> >> |# mkisofs -R -o /tmp/FreeBSD-Custom.iso /path/to/my/mounted/disk/image| >> >> You might need to change the options to suit your needs, though. >> >> It's been awhile since I last made custom CDs. >> >> Hope that helps.=) > > Thanks .. .we?ll see how helpful, but I?m almost ready to drop these guys and go to Backspace ? there website explicitly states ?FreeBSD? http://www.softlayer.com/software ? yet nobody there seems to be much help in getting it installed ? > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From hybrid120 at gmail.com Fri Jun 12 03:56:19 2015 From: hybrid120 at gmail.com (Matthew Pherigo) Date: Thu, 11 Jun 2015 22:56:15 -0500 Subject: randall hyde's high level assembly! In-Reply-To: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> Message-ID: <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> Hey Mayuresh, There's actually a port in the tree already! 'pkg install hla' --Matt > On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe wrote: > > has anyone been successful at working with randall hyde's high level assembly toolkit under freebsd 10.x? > http://www.plantation-productions.com/Webster/ claims to have a pre-built archive, but one that fails to assemble the binaries. :( > > ~mayuresh > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From mayuresh at kathe.in Fri Jun 12 04:29:37 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Fri, 12 Jun 2015 09:59:32 +0530 Subject: randall hyde's high level assembly! In-Reply-To: <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> Message-ID: <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> hi matthew, no luck, I got the following message; root at www:~ # pkg install hla Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. pkg: No packages available to install matching 'hla' have been found in the repositories `uname -a` gives me the following; FreeBSD www.kathe.in 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 `freebsd-version` gives me the following; 10.1-RELEASE-p11 anything i might be doing wrong? ~mayuresh On 2015-06-12 09:26, Matthew Pherigo wrote: > Hey Mayuresh, > > There's actually a port in the tree already! 'pkg install hla' > > --Matt > >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe wrote: >> >> has anyone been successful at working with randall hyde's high level >> assembly toolkit under freebsd 10.x? >> http://www.plantation-productions.com/Webster/ claims to have a >> pre-built archive, but one that fails to assemble the binaries. :( >> >> ~mayuresh >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" From scrappy at hub.org Fri Jun 12 05:29:29 2015 From: scrappy at hub.org (Marc Fournier) Date: Thu, 11 Jun 2015 22:29:22 -0700 Subject: Any iSCSI experts out there ... ? Message-ID: <2CC9ADB0-8F26-4405-9CB5-A04F79E35BF5@hub.org> Softlayer (hosting) provides a block device, but the instructions they have are for Windows or Linux ? the linux ones (http://knowledgelayer.softlayer.com/procedure/accessing-block-storage-linux ) don?t quite match FreeBSD (do they ever?) ? specifically, it takes about a multipath daemon and such ? I found ?gmultipath?, but not daemon ? I did the iscsid end of things, and started up iscsid ? and all iscsictl gives me is: Target name Target portal State iqn.2005-05.com.softlayer:SL01SU570747-1 10.2.174.102 Disconnected or Target name Target portal State iqn.2005-05.com.softlayer:SL01SU570747-1 10.2.174.102 Operation timed out so its trying to connect, just isn?t ? which either means the multi path stuff is critical -or- I?m missing something ? Never tried this before, the handbook makes it look straightforward ? Can someone take a quick peak at the Linux docs I link to above and let me know what I may be missing ? I?m going to try and push them to writing a FreeBSD doc, so that other clients wishing to use FreeBSD won?t be left in the dark from their knowledgebase ? thx Marc G Fournier Owner, Hub.Org Hosting Solutions S.A. From m.e.sanliturk at gmail.com Fri Jun 12 05:34:08 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Thu, 11 Jun 2015 22:34:07 -0700 Subject: randall hyde's high level assembly! In-Reply-To: <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> Message-ID: On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe wrote: > hi matthew, > > no luck, I got the following message; > root at www:~ # pkg install hla > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > pkg: No packages available to install matching 'hla' have been found in > the repositories > > `uname -a` gives me the following; > FreeBSD www.kathe.in 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed > May 13 06:54:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > `freebsd-version` gives me the following; > 10.1-RELEASE-p11 > > anything i might be doing wrong? > > ~mayuresh > > > On 2015-06-12 09:26, Matthew Pherigo wrote: > >> Hey Mayuresh, >> >> There's actually a port in the tree already! 'pkg install hla' >> >> --Matt >> >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe wrote: >>> >>> has anyone been successful at working with randall hyde's high level >>> assembly toolkit under freebsd 10.x? >>> http://www.plantation-productions.com/Webster/ claims to have a >>> pre-built archive, but one that fails to assemble the binaries. :( >>> >>> ~mayuresh >>> >>> _______________________________________________ >>> >>> Is hla able to generate 64-bit machine code for amd64 ? It seems that it is for 32-bits , i.e. i386 . Thank you very much . Mehmet Erol Sanliturk From mayuresh at kathe.in Fri Jun 12 05:45:07 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Fri, 12 Jun 2015 11:15:02 +0530 Subject: randall hyde's high level assembly! In-Reply-To: References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> Message-ID: <6ee4e8712a7499dd3d703e540f46059b@kathe.in> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: > On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe > wrote: > >> hi matthew, >> >> no luck, I got the following message; >> root at www:~ # pkg install hla >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> pkg: No packages available to install matching 'hla' have been >> found in the repositories >> >> `uname -a` gives me the following; >> FreeBSD www.kathe.in [1] 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 >> #0: Wed May 13 06:54:13 UTC 2015 >> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> `freebsd-version` gives me the following; >> 10.1-RELEASE-p11 >> >> anything i might be doing wrong? >> >> ~mayuresh >> >> On 2015-06-12 09:26, Matthew Pherigo wrote: >> Hey Mayuresh, >> >> There's actually a port in the tree already! 'pkg install hla' >> >> --Matt >> >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >> wrote: >> >> has anyone been successful at working with randall hyde's high >> level assembly toolkit under freebsd 10.x? >> http://www.plantation-productions.com/Webster/ [2] claims to have a >> pre-built archive, but one that fails to assemble the binaries. :( >> >> ~mayuresh >> >> _______________________________________________ > > Is hla able to generate 64-bit machine code for amd64 ? > > It seems that it is for 32-bits , i.e. i386 . i have been able to run and test 'hla' under amd64 systems running ubuntu. any particular reason why it will not run under freebsd 64-bit? one of the things that could be a problem might be the "assembler" itself, i couldn't find "gas" or an equivalent under freebsd. ~mayuresh From m.e.sanliturk at gmail.com Fri Jun 12 05:54:24 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Thu, 11 Jun 2015 22:54:23 -0700 Subject: randall hyde's high level assembly! In-Reply-To: <6ee4e8712a7499dd3d703e540f46059b@kathe.in> References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> Message-ID: On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe wrote: > On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: > >> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >> wrote: >> >> hi matthew, >>> >>> no luck, I got the following message; >>> root at www:~ # pkg install hla >>> Updating FreeBSD repository catalogue... >>> FreeBSD repository is up-to-date. >>> All repositories are up-to-date. >>> pkg: No packages available to install matching 'hla' have been >>> found in the repositories >>> >>> `uname -a` gives me the following; >>> FreeBSD www.kathe.in [1] 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 >>> #0: Wed May 13 06:54:13 UTC 2015 >>> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>> amd64 >>> >>> `freebsd-version` gives me the following; >>> 10.1-RELEASE-p11 >>> >>> anything i might be doing wrong? >>> >>> ~mayuresh >>> >>> On 2015-06-12 09:26, Matthew Pherigo wrote: >>> Hey Mayuresh, >>> >>> There's actually a port in the tree already! 'pkg install hla' >>> >>> --Matt >>> >>> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >>> wrote: >>> >>> has anyone been successful at working with randall hyde's high >>> level assembly toolkit under freebsd 10.x? >>> http://www.plantation-productions.com/Webster/ [2] claims to have a >>> pre-built archive, but one that fails to assemble the binaries. :( >>> >>> ~mayuresh >>> >>> _______________________________________________ >>> >> >> Is hla able to generate 64-bit machine code for amd64 ? >> >> It seems that it is for 32-bits , i.e. i386 . >> > > i have been able to run and test 'hla' under amd64 systems running ubuntu. > any particular reason why it will not run under freebsd 64-bit? > one of the things that could be a problem might be the "assembler" itself, > i couldn't find "gas" or an equivalent under freebsd. > > ~mayuresh > > Can you use Nasm ? *cd /usr/ports/devel/nasm**make install* http://forum.nasm.us/index.php?topic=1283.0 Thank you very much . Mehmet Erol Sanliturk From mayuresh at kathe.in Fri Jun 12 06:37:55 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Fri, 12 Jun 2015 12:07:48 +0530 Subject: randall hyde's high level assembly! In-Reply-To: References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> Message-ID: <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: > On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe > wrote: > >> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >> wrote: >> >> hi matthew, >> >> no luck, I got the following message; >> root at www:~ # pkg install hla >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> pkg: No packages available to install matching 'hla' have been >> found in the repositories >> >> `uname -a` gives me the following; >> FreeBSD www.kathe.in [1] [1] 10.1-RELEASE-p10 FreeBSD >> 10.1-RELEASE-p10 >> #0: Wed May 13 06:54:13 UTC 2015 >> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> `freebsd-version` gives me the following; >> 10.1-RELEASE-p11 >> >> anything i might be doing wrong? >> >> ~mayuresh >> >> On 2015-06-12 09:26, Matthew Pherigo wrote: >> Hey Mayuresh, >> >> There's actually a port in the tree already! 'pkg install hla' >> >> --Matt >> >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >> wrote: >> >> has anyone been successful at working with randall hyde's high >> level assembly toolkit under freebsd 10.x? >> http://www.plantation-productions.com/Webster/ [2] [2] claims to >> have a >> pre-built archive, but one that fails to assemble the binaries. :( >> >> ~mayuresh >> >> _______________________________________________ >> >> Is hla able to generate 64-bit machine code for amd64 ? >> >> It seems that it is for 32-bits , i.e. i386 . > > i have been able to run and test 'hla' under amd64 systems running > ubuntu. > any particular reason why it will not run under freebsd 64-bit? > one of the things that could be a problem might be the "assembler" > itself, i couldn't find "gas" or an equivalent under freebsd. > > ~mayuresh > > Can you use Nasm ? > > CD /USR/PORTS/DEVEL/NASM > MAKE INSTALL > > http://forum.nasm.us/index.php?topic=1283.0 [3] thanks for that tip mehmet, much appreciate it. i hadn't known about "nasm", looking it up led me to a book on assembly language programming by jeff duntemann, which seems to be a lot more realistic than the one by randall hyde. again, thanks a million mehmet. :) ~mayuresh From ml at netfence.it Fri Jun 12 06:55:22 2015 From: ml at netfence.it (Andrea Venturoli) Date: Fri, 12 Jun 2015 08:55:12 +0200 Subject: Half OT: controlling TimeMachine Message-ID: <557A8250.1080405@netfence.it> Hello. I understand this is half OT, but, on the other hand, the "manager" would be a FreeBSD box :) I've got a network with several Macs, all of which are doing backups with TimeMachine to USB disks and/or NASes. Does anyone know of any way to "centralize" TM management? By "centralize" I mean: get reports, control scheduling, possibly fine tune retention, ecc... Right now I've put up some quick&dirty scripts which partially achieve this, but the way to go is long... I'm thinking about starting an open-source project with this, in case anyone is interested and want to help, but of course, if any suitable thing (which I did not find) already exists, this would be pointless. bye & Thanks av. From m.e.sanliturk at gmail.com Fri Jun 12 09:41:57 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Fri, 12 Jun 2015 02:41:55 -0700 Subject: randall hyde's high level assembly! In-Reply-To: <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> Message-ID: On Thu, Jun 11, 2015 at 11:37 PM, Mayuresh Kathe wrote: > On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: > >> On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe >> wrote: >> >> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >>> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >>> wrote: >>> >>> hi matthew, >>> >>> no luck, I got the following message; >>> root at www:~ # pkg install hla >>> Updating FreeBSD repository catalogue... >>> FreeBSD repository is up-to-date. >>> All repositories are up-to-date. >>> pkg: No packages available to install matching 'hla' have been >>> found in the repositories >>> >>> `uname -a` gives me the following; >>> FreeBSD www.kathe.in [1] [1] 10.1-RELEASE-p10 FreeBSD >>> 10.1-RELEASE-p10 >>> #0: Wed May 13 06:54:13 UTC 2015 >>> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>> amd64 >>> >>> `freebsd-version` gives me the following; >>> 10.1-RELEASE-p11 >>> >>> anything i might be doing wrong? >>> >>> ~mayuresh >>> >>> On 2015-06-12 09:26, Matthew Pherigo wrote: >>> Hey Mayuresh, >>> >>> There's actually a port in the tree already! 'pkg install hla' >>> >>> --Matt >>> >>> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >>> wrote: >>> >>> has anyone been successful at working with randall hyde's high >>> level assembly toolkit under freebsd 10.x? >>> http://www.plantation-productions.com/Webster/ [2] [2] claims to >>> have a >>> pre-built archive, but one that fails to assemble the binaries. :( >>> >>> ~mayuresh >>> >>> _______________________________________________ >>> >>> Is hla able to generate 64-bit machine code for amd64 ? >>> >>> It seems that it is for 32-bits , i.e. i386 . >>> >> >> i have been able to run and test 'hla' under amd64 systems running >> ubuntu. >> any particular reason why it will not run under freebsd 64-bit? >> one of the things that could be a problem might be the "assembler" >> itself, i couldn't find "gas" or an equivalent under freebsd. >> >> ~mayuresh >> >> Can you use Nasm ? >> >> CD /USR/PORTS/DEVEL/NASM >> MAKE INSTALL >> >> http://forum.nasm.us/index.php?topic=1283.0 [3] >> > > thanks for that tip mehmet, much appreciate it. > > i hadn't known about "nasm", looking it up led me to a book on assembly > language programming by jeff duntemann, which seems to be a lot more > realistic than the one by randall hyde. > > again, thanks a million mehmet. :) > > ~mayuresh > > 64 bits operating systems are different from 32 bits operating systems . During working with assemblers , it is necessary to distinguish this feature . In a 64 bits operating system , if 32 bits programs will be used , it is necessary to have 32 bits libraries and support by the operating system . This means that you can not execute 32 bits programs in a 64 bits operating system without such support . In the following page : http://www.duntemann.com/assembly.html read "If You Have a 64-Bit PC..." the especially . "64-Bit PC" is misleading : It should be "64-Bit Operating System" . Both Intel and AMD x86 processors mainly support both 32 and 64 bit operating systems : They are able to execute 32 and 64 bit instructions . Therefore , important points are bit size of ( 32 or 64 ) operating system , and handling capability of this feature by compilers and availability of libraries , and support by the operating system . It is necessary to have information about 64 bit assembly programming in an 64 bit operating system . http://www.amazon.com/Introduction-Intel-Assembly-Language-Programming/dp/1478119209/ref=pd_sim_14_1?ie=UTF8&refRID=15NZ1SBWCZAMH1X6KPZG Introduction to 64 Bit Intel Assembly Language Programming for Linux: Second Edition Paperback ? June 23, 2012 by Benjamin Ray Seyfarth (Author) Thank you very much . Mehmet Erol Sanliturk From mayuresh at kathe.in Fri Jun 12 10:02:32 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Fri, 12 Jun 2015 15:32:28 +0530 Subject: randall hyde's high level assembly! In-Reply-To: References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> Message-ID: <6228039c427b13187bfdf347b1771b10@kathe.in> On 2015-06-12 15:11, Mehmet Erol Sanliturk wrote: > On Thu, Jun 11, 2015 at 11:37 PM, Mayuresh Kathe > wrote: > >> On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe >> >> wrote: >> >> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >> wrote: >> >> hi matthew, >> >> no luck, I got the following message; >> root at www:~ # pkg install hla >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> pkg: No packages available to install matching 'hla' have been >> found in the repositories >> >> `uname -a` gives me the following; >> FreeBSD www.kathe.in [1] [1] [1] 10.1-RELEASE-p10 FreeBSD >> 10.1-RELEASE-p10 >> #0: Wed May 13 06:54:13 UTC 2015 >> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> `freebsd-version` gives me the following; >> 10.1-RELEASE-p11 >> >> anything i might be doing wrong? >> >> ~mayuresh >> >> On 2015-06-12 09:26, Matthew Pherigo wrote: >> Hey Mayuresh, >> >> There's actually a port in the tree already! 'pkg install hla' >> >> --Matt >> >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >> wrote: >> >> has anyone been successful at working with randall hyde's high >> level assembly toolkit under freebsd 10.x? >> http://www.plantation-productions.com/Webster/ [2] [2] [2] claims >> to >> have a >> pre-built archive, but one that fails to assemble the binaries. :( >> >> ~mayuresh >> >> _______________________________________________ >> >> Is hla able to generate 64-bit machine code for amd64 ? >> >> It seems that it is for 32-bits , i.e. i386 . >> >> i have been able to run and test 'hla' under amd64 systems running >> ubuntu. >> any particular reason why it will not run under freebsd 64-bit? >> one of the things that could be a problem might be the "assembler" >> itself, i couldn't find "gas" or an equivalent under freebsd. >> >> ~mayuresh >> >> Can you use Nasm ? >> >> CD /USR/PORTS/DEVEL/NASM >> MAKE INSTALL >> >> http://forum.nasm.us/index.php?topic=1283.0 [3] [3] > > thanks for that tip mehmet, much appreciate it. > > i hadn't known about "nasm", looking it up led me to a book on > assembly language programming by jeff duntemann, which seems to be a > lot more realistic than the one by randall hyde. > > again, thanks a million mehmet. :) > > ~mayuresh > > 64 bits operating systems are different from 32 bits operating systems > . > > During working with assemblers , it is necessary to distinguish this > feature . > > In a 64 bits operating system , if 32 bits programs will be used , it > is necessary to have 32 bits libraries and support by the operating > system . > > This means that you can not execute 32 bits programs in a 64 bits > operating system without such support . > > In the following page : > > http://www.duntemann.com/assembly.html [4] > > read > > "If You Have a 64-Bit PC..." > > the especially . > > "64-Bit PC" is misleading : It should be "64-Bit Operating System" . > > Both Intel and AMD x86 processors mainly support both 32 and 64 bit > operating systems : They are able to execute 32 and 64 bit > instructions . > > Therefore , important points are bit size of ( 32 or 64 ) operating > system , and handling capability of this feature by compilers and > availability of libraries , and support by the operating system . > > It is necessary to have information about 64 bit assembly programming > in an 64 bit operating system . > > http://www.amazon.com/Introduction-Intel-Assembly-Language-Programming/dp/1478119209/ref=pd_sim_14_1?ie=UTF8&refRID=15NZ1SBWCZAMH1X6KPZG > [5] > > Introduction to 64 Bit Intel Assembly Language Programming for Linux: > Second Edition Paperback ? June 23, 2012 > by Benjamin Ray Seyfarth (Author) mehmet, thanks for the link to that book by benjamin ray seyfarth. my objective for learning assembly was to understand the inner workings of the machine, but i guess that could get accomplished with a good understanding of "machine organization". randall hyde's "write great code (vol 1)" is an excellent book on "machine organization", just that one of the languages used for example code is 'hla' and hence my inquiry into support for running 'hla' under freebsd. best, ~mayuresh From m.e.sanliturk at gmail.com Fri Jun 12 10:14:02 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Fri, 12 Jun 2015 03:14:01 -0700 Subject: randall hyde's high level assembly! In-Reply-To: <6228039c427b13187bfdf347b1771b10@kathe.in> References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> <6228039c427b13187bfdf347b1771b10@kathe.in> Message-ID: On Fri, Jun 12, 2015 at 3:02 AM, Mayuresh Kathe wrote: > On 2015-06-12 15:11, Mehmet Erol Sanliturk wrote: > >> On Thu, Jun 11, 2015 at 11:37 PM, Mayuresh Kathe >> wrote: >> >> On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: >>> On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe >>> >>> wrote: >>> >>> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >>> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >>> wrote: >>> >>> hi matthew, >>> >>> no luck, I got the following message; >>> root at www:~ # pkg install hla >>> Updating FreeBSD repository catalogue... >>> FreeBSD repository is up-to-date. >>> All repositories are up-to-date. >>> pkg: No packages available to install matching 'hla' have been >>> found in the repositories >>> >>> `uname -a` gives me the following; >>> FreeBSD www.kathe.in [1] [1] [1] 10.1-RELEASE-p10 FreeBSD >>> 10.1-RELEASE-p10 >>> #0: Wed May 13 06:54:13 UTC 2015 >>> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>> amd64 >>> >>> `freebsd-version` gives me the following; >>> 10.1-RELEASE-p11 >>> >>> anything i might be doing wrong? >>> >>> ~mayuresh >>> >>> On 2015-06-12 09:26, Matthew Pherigo wrote: >>> Hey Mayuresh, >>> >>> There's actually a port in the tree already! 'pkg install hla' >>> >>> --Matt >>> >>> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >>> wrote: >>> >>> has anyone been successful at working with randall hyde's high >>> level assembly toolkit under freebsd 10.x? >>> http://www.plantation-productions.com/Webster/ [2] [2] [2] claims >>> to >>> have a >>> pre-built archive, but one that fails to assemble the binaries. :( >>> >>> ~mayuresh >>> >>> _______________________________________________ >>> >>> Is hla able to generate 64-bit machine code for amd64 ? >>> >>> It seems that it is for 32-bits , i.e. i386 . >>> >>> i have been able to run and test 'hla' under amd64 systems running >>> ubuntu. >>> any particular reason why it will not run under freebsd 64-bit? >>> one of the things that could be a problem might be the "assembler" >>> itself, i couldn't find "gas" or an equivalent under freebsd. >>> >>> ~mayuresh >>> >>> Can you use Nasm ? >>> >>> CD /USR/PORTS/DEVEL/NASM >>> MAKE INSTALL >>> >>> http://forum.nasm.us/index.php?topic=1283.0 [3] [3] >>> >> >> thanks for that tip mehmet, much appreciate it. >> >> i hadn't known about "nasm", looking it up led me to a book on >> assembly language programming by jeff duntemann, which seems to be a >> lot more realistic than the one by randall hyde. >> >> again, thanks a million mehmet. :) >> >> ~mayuresh >> >> 64 bits operating systems are different from 32 bits operating systems >> . >> >> During working with assemblers , it is necessary to distinguish this >> feature . >> >> In a 64 bits operating system , if 32 bits programs will be used , it >> is necessary to have 32 bits libraries and support by the operating >> system . >> >> This means that you can not execute 32 bits programs in a 64 bits >> operating system without such support . >> >> In the following page : >> >> http://www.duntemann.com/assembly.html [4] >> >> read >> >> "If You Have a 64-Bit PC..." >> >> the especially . >> >> "64-Bit PC" is misleading : It should be "64-Bit Operating System" . >> >> Both Intel and AMD x86 processors mainly support both 32 and 64 bit >> operating systems : They are able to execute 32 and 64 bit >> instructions . >> >> Therefore , important points are bit size of ( 32 or 64 ) operating >> system , and handling capability of this feature by compilers and >> availability of libraries , and support by the operating system . >> >> It is necessary to have information about 64 bit assembly programming >> in an 64 bit operating system . >> >> >> http://www.amazon.com/Introduction-Intel-Assembly-Language-Programming/dp/1478119209/ref=pd_sim_14_1?ie=UTF8&refRID=15NZ1SBWCZAMH1X6KPZG >> [5] >> >> Introduction to 64 Bit Intel Assembly Language Programming for Linux: >> Second Edition Paperback ? June 23, 2012 >> by Benjamin Ray Seyfarth (Author) >> > > mehmet, thanks for the link to that book by benjamin ray seyfarth. > > my objective for learning assembly was to understand the inner workings of > the machine, but i guess that could get accomplished with a good > understanding of "machine organization". > > randall hyde's "write great code (vol 1)" is an excellent book on "machine > organization", just that one of the languages used for example code is > 'hla' and hence my inquiry into support for running 'hla' under freebsd. > > best, > > ~mayuresh > > Using a widely adopted and supported by a community assembler such as "nasm" is much better than using a special purpose assembler ( for me with very useless statement kinds ) such as "hla" is a better approach when portability and maintainability of written sources over time is considered . I have look at the "hla" many times and come to a conclusion "never use it" . If a high level language is required , "C" may be used . Thank you very much . Mehmet Erol Sanliturk From mayuresh at kathe.in Fri Jun 12 10:28:01 2015 From: mayuresh at kathe.in (Mayuresh Kathe) Date: Fri, 12 Jun 2015 15:57:56 +0530 Subject: randall hyde's high level assembly! In-Reply-To: References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> <6228039c427b13187bfdf347b1771b10@kathe.in> Message-ID: On 2015-06-12 15:44, Mehmet Erol Sanliturk wrote: > On Fri, Jun 12, 2015 at 3:02 AM, Mayuresh Kathe > wrote: > >> On 2015-06-12 15:11, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 11:37 PM, Mayuresh Kathe >> >> wrote: >> >> On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe >> >> wrote: >> >> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >> wrote: >> >> hi matthew, >> >> no luck, I got the following message; >> root at www:~ # pkg install hla >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> pkg: No packages available to install matching 'hla' have been >> found in the repositories >> >> `uname -a` gives me the following; >> FreeBSD www.kathe.in [1] [1] [1] [1] 10.1-RELEASE-p10 FreeBSD >> 10.1-RELEASE-p10 >> #0: Wed May 13 06:54:13 UTC 2015 >> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> `freebsd-version` gives me the following; >> 10.1-RELEASE-p11 >> >> anything i might be doing wrong? >> >> ~mayuresh >> >> On 2015-06-12 09:26, Matthew Pherigo wrote: >> Hey Mayuresh, >> >> There's actually a port in the tree already! 'pkg install hla' >> >> --Matt >> >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >> wrote: >> >> has anyone been successful at working with randall hyde's high >> level assembly toolkit under freebsd 10.x? >> http://www.plantation-productions.com/Webster/ [2] [2] [2] [2] >> claims >> to >> have a >> pre-built archive, but one that fails to assemble the binaries. :( >> >> ~mayuresh >> >> _______________________________________________ >> >> Is hla able to generate 64-bit machine code for amd64 ? >> >> It seems that it is for 32-bits , i.e. i386 . >> >> i have been able to run and test 'hla' under amd64 systems running >> ubuntu. >> any particular reason why it will not run under freebsd 64-bit? >> one of the things that could be a problem might be the "assembler" >> itself, i couldn't find "gas" or an equivalent under freebsd. >> >> ~mayuresh >> >> Can you use Nasm ? >> >> CD /USR/PORTS/DEVEL/NASM >> MAKE INSTALL >> >> http://forum.nasm.us/index.php?topic=1283.0 [3] [3] [3] >> >> thanks for that tip mehmet, much appreciate it. >> >> i hadn't known about "nasm", looking it up led me to a book on >> assembly language programming by jeff duntemann, which seems to be >> a >> lot more realistic than the one by randall hyde. >> >> again, thanks a million mehmet. :) >> >> ~mayuresh >> >> 64 bits operating systems are different from 32 bits operating >> systems >> . >> >> During working with assemblers , it is necessary to distinguish >> this >> feature . >> >> In a 64 bits operating system , if 32 bits programs will be used , >> it >> is necessary to have 32 bits libraries and support by the operating >> system . >> >> This means that you can not execute 32 bits programs in a 64 bits >> operating system without such support . >> >> In the following page : >> >> http://www.duntemann.com/assembly.html [4] [4] >> >> read >> >> "If You Have a 64-Bit PC..." >> >> the especially . >> >> "64-Bit PC" is misleading : It should be "64-Bit Operating System" >> . >> >> Both Intel and AMD x86 processors mainly support both 32 and 64 bit >> operating systems : They are able to execute 32 and 64 bit >> instructions . >> >> Therefore , important points are bit size of ( 32 or 64 ) operating >> system , and handling capability of this feature by compilers and >> availability of libraries , and support by the operating system . >> >> It is necessary to have information about 64 bit assembly >> programming >> in an 64 bit operating system . >> >> > http://www.amazon.com/Introduction-Intel-Assembly-Language-Programming/dp/1478119209/ref=pd_sim_14_1?ie=UTF8&refRID=15NZ1SBWCZAMH1X6KPZG >> [5] >> [5] >> >> Introduction to 64 Bit Intel Assembly Language Programming for >> Linux: >> Second Edition Paperback ? June 23, 2012 >> by Benjamin Ray Seyfarth (Author) > > mehmet, thanks for the link to that book by benjamin ray seyfarth. > > my objective for learning assembly was to understand the inner > workings of the machine, but i guess that could get accomplished with > a good understanding of "machine organization". > > randall hyde's "write great code (vol 1)" is an excellent book on > "machine organization", just that one of the languages used for > example code is 'hla' and hence my inquiry into support for running > 'hla' under freebsd. > > best, > > ~mayuresh > > Using a widely adopted and supported by a community assembler such as > "nasm" is much better than using a special purpose assembler ( for me > with very useless statement kinds ) such as "hla" is a better approach > when portability and maintainability of written sources over time is > considered . > > I have look at the "hla" many times and come to a conclusion "never > use it" . > > If a high level language is required , "C" may be used . yes, agreed about the impractical nature of 'hla', but for me, it's an educational tool, just like scheme. i am yet to see a lot of large industrial grade software applications written in scheme, except perhaps "emacs". ;) btw, how did you get 'hla' to work under freebsd? was it under the 10.x series? ~mayuresh From m.e.sanliturk at gmail.com Fri Jun 12 10:44:43 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Fri, 12 Jun 2015 03:44:42 -0700 Subject: randall hyde's high level assembly! In-Reply-To: References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> <6228039c427b13187bfdf347b1771b10@kathe.in> Message-ID: On Fri, Jun 12, 2015 at 3:27 AM, Mayuresh Kathe wrote: > On 2015-06-12 15:44, Mehmet Erol Sanliturk wrote: > >> On Fri, Jun 12, 2015 at 3:02 AM, Mayuresh Kathe >> wrote: >> >> On 2015-06-12 15:11, Mehmet Erol Sanliturk wrote: >>> On Thu, Jun 11, 2015 at 11:37 PM, Mayuresh Kathe >>> >>> wrote: >>> >>> On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: >>> On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe >>> >>> wrote: >>> >>> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >>> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >>> wrote: >>> >>> hi matthew, >>> >>> no luck, I got the following message; >>> root at www:~ # pkg install hla >>> Updating FreeBSD repository catalogue... >>> FreeBSD repository is up-to-date. >>> All repositories are up-to-date. >>> pkg: No packages available to install matching 'hla' have been >>> found in the repositories >>> >>> `uname -a` gives me the following; >>> FreeBSD www.kathe.in [1] [1] [1] [1] 10.1-RELEASE-p10 FreeBSD >>> 10.1-RELEASE-p10 >>> #0: Wed May 13 06:54:13 UTC 2015 >>> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>> amd64 >>> >>> `freebsd-version` gives me the following; >>> 10.1-RELEASE-p11 >>> >>> anything i might be doing wrong? >>> >>> ~mayuresh >>> >>> On 2015-06-12 09:26, Matthew Pherigo wrote: >>> Hey Mayuresh, >>> >>> There's actually a port in the tree already! 'pkg install hla' >>> >>> --Matt >>> >>> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >>> wrote: >>> >>> has anyone been successful at working with randall hyde's high >>> level assembly toolkit under freebsd 10.x? >>> http://www.plantation-productions.com/Webster/ [2] [2] [2] [2] >>> claims >>> to >>> have a >>> pre-built archive, but one that fails to assemble the binaries. :( >>> >>> ~mayuresh >>> >>> _______________________________________________ >>> >>> Is hla able to generate 64-bit machine code for amd64 ? >>> >>> It seems that it is for 32-bits , i.e. i386 . >>> >>> i have been able to run and test 'hla' under amd64 systems running >>> ubuntu. >>> any particular reason why it will not run under freebsd 64-bit? >>> one of the things that could be a problem might be the "assembler" >>> itself, i couldn't find "gas" or an equivalent under freebsd. >>> >>> ~mayuresh >>> >>> Can you use Nasm ? >>> >>> CD /USR/PORTS/DEVEL/NASM >>> MAKE INSTALL >>> >>> http://forum.nasm.us/index.php?topic=1283.0 [3] [3] [3] >>> >>> thanks for that tip mehmet, much appreciate it. >>> >>> i hadn't known about "nasm", looking it up led me to a book on >>> assembly language programming by jeff duntemann, which seems to be >>> a >>> lot more realistic than the one by randall hyde. >>> >>> again, thanks a million mehmet. :) >>> >>> ~mayuresh >>> >>> 64 bits operating systems are different from 32 bits operating >>> systems >>> . >>> >>> During working with assemblers , it is necessary to distinguish >>> this >>> feature . >>> >>> In a 64 bits operating system , if 32 bits programs will be used , >>> it >>> is necessary to have 32 bits libraries and support by the operating >>> system . >>> >>> This means that you can not execute 32 bits programs in a 64 bits >>> operating system without such support . >>> >>> In the following page : >>> >>> http://www.duntemann.com/assembly.html [4] [4] >>> >>> read >>> >>> "If You Have a 64-Bit PC..." >>> >>> the especially . >>> >>> "64-Bit PC" is misleading : It should be "64-Bit Operating System" >>> . >>> >>> Both Intel and AMD x86 processors mainly support both 32 and 64 bit >>> operating systems : They are able to execute 32 and 64 bit >>> instructions . >>> >>> Therefore , important points are bit size of ( 32 or 64 ) operating >>> system , and handling capability of this feature by compilers and >>> availability of libraries , and support by the operating system . >>> >>> It is necessary to have information about 64 bit assembly >>> programming >>> in an 64 bit operating system . >>> >>> >>> >> http://www.amazon.com/Introduction-Intel-Assembly-Language-Programming/dp/1478119209/ref=pd_sim_14_1?ie=UTF8&refRID=15NZ1SBWCZAMH1X6KPZG >> >>> [5] >>> [5] >>> >>> Introduction to 64 Bit Intel Assembly Language Programming for >>> Linux: >>> Second Edition Paperback ? June 23, 2012 >>> by Benjamin Ray Seyfarth (Author) >>> >> >> mehmet, thanks for the link to that book by benjamin ray seyfarth. >> >> my objective for learning assembly was to understand the inner >> workings of the machine, but i guess that could get accomplished with >> a good understanding of "machine organization". >> >> randall hyde's "write great code (vol 1)" is an excellent book on >> "machine organization", just that one of the languages used for >> example code is 'hla' and hence my inquiry into support for running >> 'hla' under freebsd. >> >> best, >> >> ~mayuresh >> >> Using a widely adopted and supported by a community assembler such as >> "nasm" is much better than using a special purpose assembler ( for me >> with very useless statement kinds ) such as "hla" is a better approach >> when portability and maintainability of written sources over time is >> considered . >> >> I have look at the "hla" many times and come to a conclusion "never >> use it" . >> >> If a high level language is required , "C" may be used . >> > > yes, agreed about the impractical nature of 'hla', but for me, it's an > educational tool, just like scheme. > i am yet to see a lot of large industrial grade software applications > written in scheme, except perhaps "emacs". ;) > btw, how did you get 'hla' to work under freebsd? was it under the 10.x > series? > > ~mayuresh > > I never use assembly programming . For a 64 bit code generation program I will use "nasm" . Even as an educational tool , do not waste your time and efforts by using "hla" . Select "nasm" if you need to use an assembler exactly and use "C" as much as possible for low level hardware programming . Always use "Standard" definitions for programming languages , avoid "extensions" and "modifications" just like escaping from a very dangerous poisonous snake . Over time , all of such "extensions" will be a very difficult to rescue yourself "nightmare" . Thank you very much . Mehmet Erol Sanliturk From ana5.bestschools at gmail.com Fri Jun 12 14:34:59 2015 From: ana5.bestschools at gmail.com (Ana Berjuega) Date: Wed, 10 Jun 2015 22:56:36 +0000 Subject: Wyoming Students and Parents Education Resources Message-ID: <5D.4B.18083.C59EA755@rs-ord-mta01-1.smtp.com> Hi there, I was hoping you would be able to point me in the right direction, I have been researching on your site http://www.pl.freebsd.org/gallery/npgallery.html for college education and related resources that are available for students and had a few questions. Are you the right person to speak with or is there someone else you would recommend? Thank you, Ana Berjuega From matthew at FreeBSD.org Fri Jun 12 15:35:28 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri, 12 Jun 2015 11:35:04 -0400 Subject: Wyoming Students and Parents Education Resources In-Reply-To: <5D.4B.18083.C59EA755@rs-ord-mta01-1.smtp.com> References: <5D.4B.18083.C59EA755@rs-ord-mta01-1.smtp.com> Message-ID: <557AFC28.9040209@FreeBSD.org> On 10/06/2015 18:56, Ana Berjuega wrote: > I was hoping you would be able to point me in the right direction, I > have been researching on your site > http://www.pl.freebsd.org/gallery/npgallery.html for college > education and related resources that are available for students and > had a few questions. > > Are you the right person to speak with or is there someone else you > would recommend? Hmmm... I think you're looking at an old page on the Polish localized version of the FreeBSD site, which might possibly not be completely synched up with the primary site yet. Anyhow, you should contact the FreeBSD Foundation: https://www.freebsdfoundation.org/ because they are literally in the process of rolling out a range of teaching resources including material suitable for middle/high-school level students upto undergraduate level. There will be material available at http://teachbsd.org/ but it's still in quite an early stage of development right now. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From us.navy at outlook.com Fri Jun 12 23:54:31 2015 From: us.navy at outlook.com (Lt. Commander) Date: Fri, 12 Jun 2015 18:53:25 -0500 Subject: Script question Message-ID: Am running fbsd-9.3 and sendmail-8.15 plus spamassassin. I would like to be able to scan the daily maillog with a script at midnight to extract a list by selecting spam recognized and contained using the constant "score=(greater than x) and from that a list of just the IPs which will be placed in a spam file as part of a spam system here. Am tired of some getting past spamass even though it exceeds a reasonable tag level. I do know how to extract just the IP from a line in the log, but not sure what the syntax should be to first ID the "score= References: Message-ID: Jason, > I would like to be able to scan the daily maillog with a script at midnight to extract a list by selecting spam recognized and contained using the constant "score=(greater than x) and from that a list of just the IPs which will be placed in a spam file as part of a spam system here. Am tired of some getting past spamass even though it exceeds a reasonable tag level. > > I do know how to extract just the IP from a line in the log, but not sure what the syntax should be to first ID the "score= > I hope this has been presented clear enough to gather some help on this task. > > Thanks, > Jason > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From freebsd at edvax.de Sat Jun 13 00:36:42 2015 From: freebsd at edvax.de (Polytropon) Date: Sat, 13 Jun 2015 02:36:31 +0200 Subject: Script question In-Reply-To: References: Message-ID: <20150613023631.db821f0c.freebsd@edvax.de> On Fri, 12 Jun 2015 18:53:25 -0500, Lt. Commander wrote: > Am running fbsd-9.3 and sendmail-8.15 plus spamassassin. > > I would like to be able to scan the daily maillog with a script > at midnight to extract a list by selecting spam recognized and > contained using the constant "score=(greater than x) and from > that a list of just the IPs which will be placed in a spam file > as part of a spam system here. Am tired of some getting past > spamass even though it exceeds a reasonable tag level. What you're describing here sounds like the typical functionality of a spam filter. None of the present solutions fits your needs? > I do know how to extract just the IP from a line in the log, > but not sure what the syntax should be to first ID the "score= in a simple sh shell script. If you can provide an anonymized example from such a log line, you might get a direct suggestion. At this point, if you have to use sh tools (sh, sed, awk, cut, grep et al.), you can probably do this the easiest using awk, with a pattern that matches the spam score criteria, and then trim the line down to the information (here: IP) you need. Surely you can also do this with a "grep | sed | cut pipeline", but awk can probably do this alone. Anyway, also consider perl which is "the typical tool" for the task of "log distillation". :-) > I hope this has been presented clear enough to gather some help on this task. It is. An example of your input and desired output would have been nice. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jd1008 at gmail.com Sat Jun 13 00:40:11 2015 From: jd1008 at gmail.com (jd1008) Date: Fri, 12 Jun 2015 18:39:41 -0600 Subject: Script question In-Reply-To: References: Message-ID: <557B7BCD.2050908@gmail.com> On 06/12/2015 05:53 PM, Lt. Commander wrote: > Am running fbsd-9.3 and sendmail-8.15 plus spamassassin. > > I would like to be able to scan the daily maillog with a script at midnight to extract a list by selecting spam recognized and contained using the constant "score=(greater than x) and from that a list of just the IPs which will be placed in a spam file as part of a spam system here. Am tired of some getting past spamass even though it exceeds a reasonable tag level. > > I do know how to extract just the IP from a line in the log, but not sure what the syntax should be to first ID the "score= > I hope this has been presented clear enough to gather some help on this task. > > Thanks, > Jason Copy and paste a sample email header in your reply to this list. From listmgr at antennex.com Sat Jun 13 00:31:05 2015 From: listmgr at antennex.com (Lt. Commander) Date: Fri, 12 Jun 2015 19:29:56 -0500 Subject: Script question In-Reply-To: References: Message-ID: -----Original Message----- From: olivier2553 at gmail.com [mailto:olivier2553 at gmail.com] On Behalf Of Olivier Nicole Sent: Friday, June 12, 2015 7:19 PM To: Lt. Commander Cc: freebsd-questions at freebsd.org Subject: Re: Script question Jason, > I would like to be able to scan the daily maillog with a script at midnight to extract a list by selecting spam recognized and contained using the constant "score=(greater than x) and from that a list of just the IPs which will be placed in a spam file as part of a spam system here. Am tired of some getting past spamass even though it exceeds a reasonable tag level. > > I do know how to extract just the IP from a line in the log, but not sure what the syntax should be to first ID the "score= > I hope this has been presented clear enough to gather some help on this task. > > Thanks, > Jason Oliver: This is a typical line in the log. You see it has the info needed: ----------------------------------------------------------------------------------------------- un 12 08:56:42 myhost.com milter-spamc[58732]: 01937 t5CDueuM006830: spam=YES score=110.90 required=6.00 client_addr=117.62.50.137 client_name=[117.62.50.137] subject='Re: I won't tell this secrect to anyone else...' mail= rcpts= ----------------------------------------------------------------------------------------------- Thanks, Jason From jd1008 at gmail.com Sat Jun 13 01:17:22 2015 From: jd1008 at gmail.com (jd1008) Date: Fri, 12 Jun 2015 19:16:52 -0600 Subject: Script question In-Reply-To: References: Message-ID: <557B8484.9060405@gmail.com> On 06/12/2015 06:29 PM, Lt. Commander wrote: > -----Original Message----- > From: olivier2553 at gmail.com [mailto:olivier2553 at gmail.com] On Behalf Of Olivier Nicole > Sent: Friday, June 12, 2015 7:19 PM > To: Lt. Commander > Cc: freebsd-questions at freebsd.org > Subject: Re: Script question > > Jason, > >> I would like to be able to scan the daily maillog with a script at midnight to extract a list by selecting spam recognized and contained using the constant "score=(greater than x) and from that a list of just the IPs which will be placed in a spam file as part of a spam system here. Am tired of some getting past spamass even though it exceeds a reasonable tag level. >> >> I do know how to extract just the IP from a line in the log, but not sure what the syntax should be to first ID the "score= What would be the typical lines from the log? > > I;d use Perl rather than sh. > > Olivier > > >> I hope this has been presented clear enough to gather some help on this task. >> >> Thanks, >> Jason > Oliver: > > This is a typical line in the log. You see it has the info needed: > > ----------------------------------------------------------------------------------------------- > un 12 08:56:42 myhost.com milter-spamc[58732]: 01937 t5CDueuM006830: spam=YES score=110.90 required=6.00 client_addr=117.62.50.137 client_name=[117.62.50.137] subject='Re: I won't tell this secrect to anyone else...' mail= rcpts= > ----------------------------------------------------------------------------------------------- > > Thanks, > Jason > Hi Jason, Does the log consist of one liners as you show above? In otherwords, is each one line entry for one message? Are there more than 1 line per message in the log? From fortezza at mechanicalism.net Sat Jun 13 01:51:29 2015 From: fortezza at mechanicalism.net (Jason Fortezzo) Date: Fri, 12 Jun 2015 20:43:56 -0500 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <557A2B5F.4010603@buildingonline.com> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> <557A241D.5090307@gmail.com> <3D2FF45C-9C83-4504-8051-4A409E06F8BE@hub.org> <557A2B5F.4010603@buildingonline.com> Message-ID: <20150613014356.GA86762@alderaan.mechanicalism.net> On Thu, Jun 11, 2015 at 06:44:15PM -0600, Dan Busarow wrote: > Checkout rootbsd.net > > I have 10 VPS and 1 dedicated server there. Excellent BSD support as > you might gather from the name. I've had a different experience with rootbsd.net. I've had a VPS for 2 years with them and the service has just been "OK". - They have a local SVN mirror but it's either out of date or broken - They don't keep their VNC proxy or backup FreeBSD server patched. - No local NTP servers. - I was recently moved to a new Xen VPS which has made PF unusable. I've since moved to a new provider running directly on bare metal for just a little more $$$ a month. -- Jason Fortezzo fortezza at mechanicalism.net From hartzell at alerce.com Sat Jun 13 01:53:58 2015 From: hartzell at alerce.com (George Hartzell) Date: Fri, 12 Jun 2015 18:47:57 -0700 Subject: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start @0xfff...." Message-ID: <21883.35789.822027.413019@alacrity.local> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running FreeBSD for years via MBR partitioned disks. When the Mac sees the MBR partition it kicks in a bunch of bios emulation, which lets freebsd run. I've recently been inspired to try the EFI booting stuff. It has the attraction of enabling the two extra SATA ports on the motherboard (or more accurately, not disabling them as the BIOS emulation appears to...). I've tried both a USB stick of 10.1 and an SSD with -CURRENT. Both use EFI booting and work on my Minnowboard. Booting either way exhibits the same symptom. /boot/loader.efi runskoads the kernel and stuff but when it boots it prints Booting... Start @0xffffffff802e7000 ... _ (that's the address when booted from the SSD, the address for the 10.1 USB stick is 0xffffffff802df060) and then hangs. Thinking that maybe the console was pointing off somewhere, I tried setting it at the forth/OK prompt, it was already set to "efi", which seems like the best choice. It'd be nice to get it booting via EFI. Any suggestions for what to try next? Thanks, g. From iamnickhil at live.com Sat Jun 13 08:52:03 2015 From: iamnickhil at live.com (Nikhil Chavan) Date: Sat, 13 Jun 2015 14:20:53 +0530 Subject: AHCI and Gigabyte GA-G31M-ES2L Message-ID: Amigos, I owns a GA-G31M-ES2L & want to upgrade my BIOS as I don't have AHCI Options in my BIOS. If you have update patch / files than kindly consider this as a request & forward me. If you guys have any other options exceept this than also let me know. Regards,NicKhil From will.lee at connecmax.com Sat Jun 13 12:12:29 2015 From: will.lee at connecmax.com (will.lee at connecmax.com) Date: Sat, 13 Jun 2015 19:57:40 +0800 Subject: SCSI Cable, do you have Message-ID: <2015061315051406572437@connecmax.com> Dear Friend, We produce all kinds of SCSI cable with good performance. Certificates of SGS have achieved. We have own logistics company to save your cost . And OEM is supported. All the Wire is Bare Copper. Here are the SCSI cables we produce, if the items you interested, pls inquiry us. SCSI Lead Ultra 68 male to Ultra 68 male (VHDCI) SCSI cable SCSI Cable HD68M to HD68M cable SCSI-3 CABLE MALE TO MALE HD 68 PINS cable SCSI-5 (VHDCI) 0.8mm to SCSI-3 (HPDB68) 68-Pin Male/Male Cable SCSI Lead 50 Centronic male to 50 Centronic Male SCSI cable SCSI Lead Half Pitch 50 male to 50 Centronic male cable SCSI HPDB50 Male to Cen50 Male External Drive Cable SCSI HPDB50 Male to VHDCI68 Male Cable Waiting for your inquiry. Best regards! Will Lee Connecmax Group Co.,Ltd Shenzhen Prime Technology Co.,Ltd TEL: 86 183 0666 7469 Skype:connecmax7 WEB:http://www.globalsources.com/szconnecmax.co Add:South, 3FL, Block E, Dakan Technology Park, Dakan Village, Xili Town, Nanshan Dist, Shenzhen, GD, China From listmgr at antennex.com Sat Jun 13 12:59:28 2015 From: listmgr at antennex.com (Lt. Commander) Date: Sat, 13 Jun 2015 07:58:21 -0500 Subject: Script question In-Reply-To: <557B8484.9060405@gmail.com> References: , , , <557B8484.9060405@gmail.com> Message-ID: > Date: Fri, 12 Jun 2015 19:16:52 -0600 > From: jd1008 at gmail.com > To: freebsd-questions at freebsd.org > Subject: Re: Script question Here is a short shell script: #!/bin/sh while read line; do score=`echo $line | grep ' score=.. '` scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` IP=`echo $address | sed 's/client_addr=//'` if [ $scoreValue -ge 12 ]; then ??????? echo $score ??????? echo $IP ??????? echo ==================== fi done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin filter? ---------------------------------------- > Date: Fri, 12 Jun 2015 19:16:52 -0600 > From: jd1008 at gmail.com > To: freebsd-questions at freebsd.org > Subject: Re: Script question > That's a very interesting shell script and will give it a try. But, does the script only pickup spam with a "12" tag level or does it pick up 12 and above which is what I need? (sorry, my scripting is not strong). Jason From opendaddy at hushmail.com Sat Jun 13 13:41:36 2015 From: opendaddy at hushmail.com (opendaddy at hushmail.com) Date: Sat, 13 Jun 2015 13:01:44 +0000 Subject: FreeBSD and Docker In-Reply-To: <20150610131324.E7AD3C04C8@smtp.hushmail.com> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610131324.E7AD3C04C8@smtp.hushmail.com> Message-ID: <20150613130144.E94E5E076D@smtp.hushmail.com> Hi! On 10. juni 2015 at 1:13 PM, "Joe Shevland" wrote: > >Postgres, Redis and Ruby are available though, so I don't think >it'd be impossible to get the RoR side of things working for >Discourse. True that. I managed to install the bundle but now during migration https://github.com/discourse/discourse/blob/master/db/migrate/20120921162512_add_meta_data_to_forum_threads.rb gives me: == 20120921162512 AddMetaDataToForumThreads: migrating ======================== -- execute("CREATE EXTENSION IF NOT EXISTS hstore") rake aborted! StandardError: An error has occurred, this and all later migrations canceled: PG::InvalidParameterValue: ERROR: version to install must be specified : CREATE EXTENSION IF NOT EXISTS hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `async_exec' /usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `block in execute' Docker or not, it's still odd that the migration should fail like this. I'm using PostgreSQL 9.4. O.D. > >On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: >> >>Hi! >> >>Attempting to install the Discourse discussion forum >>(https://github.com/discourse/discourse) on my DigitalOcean >>FreeBSD VPS. Discourse requires Docker, however nothing happens >>when I try `wget -qO- https://get.docker.com/ | sh` >>(https://github.com/discourse/discourse/blob/master/docs/INSTALL- >>cloud.md). >> >>What am I doing wrong? >> >>Thanks! >> >>O.D. >> >>_______________________________________________ >>freebsd-questions at freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions- >>unsubscribe at freebsd.org" > >_______________________________________________ >freebsd-questions at freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions- >unsubscribe at freebsd.org" From opendaddy at hushmail.com Sat Jun 13 14:04:32 2015 From: opendaddy at hushmail.com (opendaddy at hushmail.com) Date: Sat, 13 Jun 2015 14:04:26 +0000 Subject: FreeBSD and Docker In-Reply-To: <20150613130144.E94E5E076D@smtp.hushmail.com> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610131324.E7AD3C04C8@smtp.hushmail.com> <20150613130144.E94E5E076D@smtp.hushmail.com> Message-ID: <20150613140426.37B17E04E1@smtp.hushmail.com> Hello again, Thanks to Edho Arief from the OpenBSD mailinglists it appears I was simply missing the postgresql-contrib package. Many thanks! O.D. On 13. juni 2015 at 1:41 PM, opendaddy at hushmail.com wrote: > >Hi! > >On 10. juni 2015 at 1:13 PM, "Joe Shevland" > wrote: >> >>Postgres, Redis and Ruby are available though, so I don't think >>it'd be impossible to get the RoR side of things working for >>Discourse. > >True that. I managed to install the bundle but now during >migration >https://github.com/discourse/discourse/blob/master/db/migrate/20120 >921162512_add_meta_data_to_forum_threads.rb gives me: > >== 20120921162512 AddMetaDataToForumThreads: migrating >======================== >-- execute("CREATE EXTENSION IF NOT EXISTS hstore") >rake aborted! >StandardError: An error has occurred, this and all later >migrations canceled: > >PG::InvalidParameterValue: ERROR: version to install must be >specified >: CREATE EXTENSION IF NOT EXISTS >hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecor >d- >4.1.10/lib/active_record/connection_adapters/postgresql/database_st >atements.rb:128:in `async_exec' >/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord- >4.1.10/lib/active_record/connection_adapters/postgresql/database_st >atements.rb:128:in `block in execute' > >Docker or not, it's still odd that the migration should fail like >this. I'm using PostgreSQL 9.4. > >O.D. > >> >>On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: >>> >>>Hi! >>> >>>Attempting to install the Discourse discussion forum >>>(https://github.com/discourse/discourse) on my DigitalOcean >>>FreeBSD VPS. Discourse requires Docker, however nothing happens >>>when I try `wget -qO- https://get.docker.com/ | sh` >>>(https://github.com/discourse/discourse/blob/master/docs/INSTALL- >>>cloud.md). >>> >>>What am I doing wrong? >>> >>>Thanks! >>> >>>O.D. >>> >>>_______________________________________________ >>>freebsd-questions at freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>To unsubscribe, send any mail to "freebsd-questions- >>>unsubscribe at freebsd.org" >> >>_______________________________________________ >>freebsd-questions at freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions- >>unsubscribe at freebsd.org" > >_______________________________________________ >freebsd-questions at freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions- >unsubscribe at freebsd.org" From aew.freebsd at wrede.ca Sat Jun 13 15:00:16 2015 From: aew.freebsd at wrede.ca (Andreas Wrede) Date: Sat, 13 Jun 2015 10:53:39 -0400 Subject: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start @0xfff...." In-Reply-To: <21883.35789.822027.413019@alacrity.local> References: <21883.35789.822027.413019@alacrity.local> Message-ID: <79D327FB-3310-4642-8B16-6361AC26BAE2@wrede.ca> > On Jun 12, 2015, at 21:47 , George Hartzell wrote: > > > I have a 2008 Mac Pro (NOT a MacBook) that's been happily running > FreeBSD for years via MBR partitioned disks. When the Mac sees the > MBR partition it kicks in a bunch of bios emulation, which lets > freebsd run. > > I've recently been inspired to try the EFI booting stuff. It has the > attraction of enabling the two extra SATA ports on the motherboard (or > more accurately, not disabling them as the BIOS emulation appears > to...). > > I've tried both a USB stick of 10.1 and an SSD with -CURRENT. Both > use EFI booting and work on my Minnowboard. > > Booting either way exhibits the same symptom. /boot/loader.efi > runskoads the kernel and stuff but when it boots it prints > > Booting... > Start @0xffffffff802e7000 ... > _ > > (that's the address when booted from the SSD, the address for the 10.1 > USB stick is 0xffffffff802df060) > > and then hangs. > > Thinking that maybe the console was pointing off somewhere, I tried > setting it at the forth/OK prompt, it was already set to "efi", which > seems like the best choice. > > It'd be nice to get it booting via EFI. Any suggestions for what to > try next? My experience with a Mac Pro (2009) is similar. I tried to boot from CD and USB with FreeBSD 10.1 and a -current snapshot from about 2 weeks ago. A MacBook Pro (2010) booted without a problem with the both the 10.1 and -current USB images. The MacPro will be available for more testing in a week or two. -- aew From jd1008 at gmail.com Sat Jun 13 17:53:18 2015 From: jd1008 at gmail.com (jd1008) Date: Sat, 13 Jun 2015 11:52:45 -0600 Subject: Script question In-Reply-To: References: , , , <557B8484.9060405@gmail.com> Message-ID: <557C6DED.9070105@gmail.com> On 06/13/2015 06:58 AM, Lt. Commander wrote: >> Date: Fri, 12 Jun 2015 19:16:52 -0600 >> From: jd1008 at gmail.com >> To: freebsd-questions at freebsd.org >> Subject: Re: Script question > Here is a short shell script: > > #!/bin/sh > > while read line; do > score=`echo $line | grep ' score=.. '` > scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` > address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` > IP=`echo $address | sed 's/client_addr=//'` > > if [ $scoreValue -ge 12 ]; then > echo $score > echo $IP > echo ==================== > fi > done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin filter > > ---------------------------------------- >> Date: Fri, 12 Jun 2015 19:16:52 -0600 >> From: jd1008 at gmail.com >> To: freebsd-questions at freebsd.org >> Subject: Re: Script question >> > That's a very interesting shell script and will give it a try. > > But, does the script only pickup spam with a "12" tag level or does it pick up 12 and above which is what I need? (sorry, my scripting is not strong). > > Jason The boolean -ge in the if test. Greater than or equal to So it grabs all 12 or greater values. > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From web at 3dresearch.com Sat Jun 13 19:31:31 2015 From: web at 3dresearch.com (Janos Dohanics) Date: Sat, 13 Jun 2015 15:21:36 -0400 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <557A2B5F.4010603@buildingonline.com> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> <557A241D.5090307@gmail.com> <3D2FF45C-9C83-4504-8051-4A409E06F8BE@hub.org> <557A2B5F.4010603@buildingonline.com> Message-ID: <20150613152136.1beb58c637f27d88a4215a0c@3dresearch.com> On Thu, 11 Jun 2015 18:44:15 -0600 Dan Busarow wrote: > Marc, > > Checkout rootbsd.net > > I have 10 VPS and 1 dedicated server there. Excellent BSD support as > you might gather from the name. > > Dan > -- > Dan Busarow > BuildingOnline.com > http://www.BuildingOnline.net/ > 888-496-6648 ext 218 I second that. Their service has been reliable, and their support is prompt and knowledgeable. -- Janos Dohanics From hartzell at alerce.com Sun Jun 14 02:29:32 2015 From: hartzell at alerce.com (George Hartzell) Date: Sat, 13 Jun 2015 19:29:23 -0700 Subject: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start @0xfff...." In-Reply-To: <79D327FB-3310-4642-8B16-6361AC26BAE2@wrede.ca> References: <21883.35789.822027.413019@alacrity.local> <79D327FB-3310-4642-8B16-6361AC26BAE2@wrede.ca> Message-ID: <21884.59139.951381.344884@alacrity.local> Andreas Wrede writes: > > > On Jun 12, 2015, at 21:47 , George Hartzell wrote: > > > > I have a 2008 Mac Pro (NOT a MacBook) that's been happily running > > FreeBSD for years via MBR partitioned disks. > > [...] > > I've recently been inspired to try the EFI booting stuff. > > [...] > > Booting either way exhibits the same symptom. /boot/loader.efi > > runskoads the kernel and stuff but when it boots it prints > > > > Booting... > > Start @0xffffffff802e7000 ... > > _ > > > > (that's the address when booted from the SSD, the address for the 10.1 > > USB stick is 0xffffffff802df060) > > > > and then hangs. > > [...] > > My experience with a Mac Pro (2009) is similar. I tried to boot > from CD and USB with FreeBSD 10.1 and a -current snapshot from > about 2 weeks ago. A MacBook Pro (2010) booted without a problem > with the both the 10.1 and -current USB images. The MacPro will be > available for more testing in a week or two. The Mac Pro will boot the 10.1 DVD. I tried the EFI DVD and it shows the same symptoms as described above. BUT I noticed that even after the "Start @0xfff..." message displayed and the system appeared to hang the DVD ground away for another minute or two. Nothing else appeared on the console, but it sounded as if something was happening. Perhaps the problem is "just" with the console setup. g. From zagazaw2004 at gmail.com Sun Jun 14 04:32:01 2015 From: zagazaw2004 at gmail.com (Yass Amed) Date: Sat, 13 Jun 2015 23:31:56 -0500 Subject: AHCI and Gigabyte GA-G31M-ES2L In-Reply-To: References: Message-ID: <557D03BC.9050802@gmail.com> Quote:>>> Amigos, I owns a GA-G31M-ES2L & want to upgrade my BIOS as I don't have AHCI Options in my BIOS. If you have update patch / files than kindly consider this as a request & forward me. If you guys have any other options exceept this than also let me know. Regards,NicKhil <<< Nickhil, Give this link a tryhttp://www.gigabyte.com/products/product-page.aspx?pid=3485#bios Regards, Yass -- From woodsb02 at gmail.com Sun Jun 14 07:15:06 2015 From: woodsb02 at gmail.com (Ben Woods) Date: Sun, 14 Jun 2015 15:15:04 +0800 Subject: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start @0xfff...." In-Reply-To: <21884.59139.951381.344884@alacrity.local> References: <21883.35789.822027.413019@alacrity.local> <79D327FB-3310-4642-8B16-6361AC26BAE2@wrede.ca> <21884.59139.951381.344884@alacrity.local> Message-ID: On Sunday, June 14, 2015, George Hartzell wrote: > Andreas Wrede writes: > > > > > On Jun 12, 2015, at 21:47 , George Hartzell > wrote: > > > > > > I have a 2008 Mac Pro (NOT a MacBook) that's been happily running > > > FreeBSD for years via MBR partitioned disks. > > > [...] > > > I've recently been inspired to try the EFI booting stuff. > > > [...] > > > Booting either way exhibits the same symptom. /boot/loader.efi > > > runskoads the kernel and stuff but when it boots it prints > > > > > > Booting... > > > Start @0xffffffff802e7000 ... > > > _ > > > > > > (that's the address when booted from the SSD, the address for the 10.1 > > > USB stick is 0xffffffff802df060) > > > > > > and then hangs. > > > [...] > > > > My experience with a Mac Pro (2009) is similar. I tried to boot > > from CD and USB with FreeBSD 10.1 and a -current snapshot from > > about 2 weeks ago. A MacBook Pro (2010) booted without a problem > > with the both the 10.1 and -current USB images. The MacPro will be > > available for more testing in a week or two. > > The Mac Pro will boot the 10.1 DVD. > > I tried the EFI DVD and it shows the same symptoms as described above. > > BUT I noticed that even after the "Start @0xfff..." message displayed > and the system appeared to hang the DVD ground away for another minute > or two. Nothing else appeared on the console, but it sounded as if > something was happening. Perhaps the problem is "just" with the > console setup. > > g. > That sounds like you are experiencing this bug, which unfortunately has not been fixed yet: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193745 Unfortunately the new uefi boot does not work on some (or all?) macbooks. Regards, Ben -- -- From: Benjamin Woods woodsb02 at gmail.com From tak.official at gmail.com Sun Jun 14 08:55:21 2015 From: tak.official at gmail.com (takCoder) Date: Sun, 14 Jun 2015 13:24:59 +0430 Subject: reload kernel without reboot? Message-ID: Hi there, I have a task on freebsd 9.2 in which I need to apply changes to kernel and recompile it serveral times. I use buildkernel with my custom kernel. my question is: Is there a way to reload freebsd kernel in which i don't need to restart to apply the changes? Thank you all, takcoder From terje at elde.net Sun Jun 14 10:27:57 2015 From: terje at elde.net (Terje Elde) Date: Sun, 14 Jun 2015 12:18:26 +0200 Subject: reload kernel without reboot? In-Reply-To: References: Message-ID: <38506EF2-D060-4642-8B8B-6774232F9B01@elde.net> > On 14 Jun 2015, at 10:54, takCoder wrote: > > I have a task on freebsd 9.2 in which I need to apply changes to kernel and > recompile it serveral times. I use buildkernel with my custom kernel. I?m curious, could you explain a bit more about what you?re trying to do? I can?t really think of many typical use cases where you?d want or need to recompile the kernel over and over again. > my question is: Is there a way to reload freebsd kernel in which i don't > need to restart to apply the changes? Not really, no. You can recompile modules though, and unload old, load new. Terje -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 524 bytes Desc: Message signed with OpenPGP using GPGMail URL: From gregory.orange at calorieking.com Sun Jun 14 14:08:43 2015 From: gregory.orange at calorieking.com (Gregory Orange) Date: Sun, 14 Jun 2015 22:00:16 +0800 Subject: Softlayer VPS: Loading FreeBSD In-Reply-To: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> References: <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> Message-ID: <557D88F0.8070008@calorieking.com> On 12/06/15 04:04, Marc Fournier wrote: > has anyone had any experience with Softlayer and loading a FreeBSD VPS there? And, if not, can someone suggest a good tool that will allow me to create an ISO from a VirtualBox build? Or, if this makes any sense, of building an ISO from a running FreeBSD system, irrelevant of VirtualBox? I happened to be in Dallas late last year and arranged a site visit and meeting with our SoftLayer contacts. We discussed this precise issue, and they had a suggestion for loading a custom ISO. We haven't yet explored the issue because so far we only use physical machines for FreeBSD, but here are some links they gave me: http://knowledgelayer.softlayer.com/procedure/import-image http://knowledgelayer.softlayer.com/articles/access-and-securely-store-isos http://knowledgelayer.softlayer.com/procedure/mount-iso-ipmiview-0 I'm looking forward to trying it out when we get to it. Overall, we have had excellent service from SoftLayer - both technical and account-related. HTH, Greg. From freebsd at edvax.de Sun Jun 14 16:30:37 2015 From: freebsd at edvax.de (Polytropon) Date: Sun, 14 Jun 2015 18:24:18 +0200 Subject: reload kernel without reboot? In-Reply-To: References: Message-ID: <20150614182418.56857acc.freebsd@edvax.de> On Sun, 14 Jun 2015 13:24:59 +0430, takCoder wrote: > my question is: Is there a way to reload freebsd kernel in which i don't > need to restart to apply the changes? Probably not, because the kernel is the first thing the OS boot mechanism will load, and this is required at the earliest stage of OS booting for the kernel to work as intended. What you would need is to change the kernel binary content (after source change and compile run) both on disk and in memory, with all its location references and dependency resolutions so the result parts will work consistently again. I'd say that's a very hard task, nearly impossible. However, if you are able to move the things you want to "dynamically load and unload" into kernel modules - there might be a solution for you. Kernel modules can be dealt with easily using kldload and kldunload. However, the kernel itself cannot be unloaded and reloaded with those tools. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From zagazaw2004 at gmail.com Sun Jun 14 17:04:53 2015 From: zagazaw2004 at gmail.com (Yass Amed) Date: Sun, 14 Jun 2015 17:04:50 +0000 Subject: freebsd-questions generated spams! Message-ID: Hello, I replied to a topic on this mailing list and immediately started getting Chinese spam emails. Is there a breach in the server? Does the server (un)intentionally forward mail? I'm puzzled?! Thanks, Yass On Jun 14, 2015 7:00 AM, wrote: > Send freebsd-questions mailing list submissions to > freebsd-questions at freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > or, via email, send a message with subject or body 'help' to > freebsd-questions-request at freebsd.org > > You can reach the person managing the list at > freebsd-questions-owner at freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." > > > Today's Topics: > > 1. SCSI Cable, do you have (will.lee at connecmax.com) > 2. RE: Script question (Lt. Commander) > 3. Re: FreeBSD and Docker (opendaddy at hushmail.com) > 4. Re: FreeBSD and Docker (opendaddy at hushmail.com) > 5. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start > @0xfff...." (Andreas Wrede) > 6. Re: Script question (jd1008) > 7. Re: Softlayer VPS: Loading FreeBSD (Janos Dohanics) > 8. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start > @0xfff...." (George Hartzell) > 9. Re: AHCI and Gigabyte GA-G31M-ES2L (Yass Amed) > 10. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start > @0xfff...." (Ben Woods) > 11. reload kernel without reboot? (takCoder) > 12. Re: reload kernel without reboot? (Terje Elde) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 13 Jun 2015 19:57:40 +0800 > From: "will.lee at connecmax.com" > To: questions > Subject: SCSI Cable, do you have > Message-ID: <2015061315051406572437 at connecmax.com> > Content-Type: text/plain; charset="utf-8" > > Dear Friend, > > We produce all kinds of SCSI cable with good performance. Certificates of > SGS have achieved. We have own logistics company to save your cost . And > OEM is supported. > > All the Wire is Bare Copper. Here are the SCSI cables we produce, if the > items you interested, pls inquiry us. > SCSI Lead Ultra 68 male to Ultra 68 male (VHDCI) SCSI cable > SCSI Cable HD68M to HD68M cable > SCSI-3 CABLE MALE TO MALE HD 68 PINS cable > SCSI-5 (VHDCI) 0.8mm to SCSI-3 (HPDB68) 68-Pin Male/Male Cable > SCSI Lead 50 Centronic male to 50 Centronic Male SCSI cable > SCSI Lead Half Pitch 50 male to 50 Centronic male cable > SCSI HPDB50 Male to Cen50 Male External Drive Cable > SCSI HPDB50 Male to VHDCI68 Male Cable > > Waiting for your inquiry. > > Best regards! > > > Will Lee > > Connecmax Group Co.,Ltd > Shenzhen Prime Technology Co.,Ltd > TEL: 86 183 0666 7469 Skype:connecmax7 > WEB:http://www.globalsources.com/szconnecmax.co > Add:South, 3FL, Block E, Dakan Technology Park, Dakan Village, Xili > Town, Nanshan Dist, Shenzhen, GD, China > > ------------------------------ > > Message: 2 > Date: Sat, 13 Jun 2015 07:58:21 -0500 > From: "Lt. Commander" > To: "freebsd-questions at freebsd.org" > Subject: RE: Script question > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > > Date: Fri, 12 Jun 2015 19:16:52 -0600 > > From: jd1008 at gmail.com > > To: freebsd-questions at freebsd.org > > Subject: Re: Script question > > Here is a short shell script: > > #!/bin/sh > > while read line; do > score=`echo $line | grep ' score=.. '` > scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` > address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` > IP=`echo $address | sed 's/client_addr=//'` > > if [ $scoreValue -ge 12 ]; then > ??????? echo $score > ??????? echo $IP > ??????? echo ==================== > fi > done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin > filter? > > ---------------------------------------- > > Date: Fri, 12 Jun 2015 19:16:52 -0600 > > From: jd1008 at gmail.com > > To: freebsd-questions at freebsd.org > > Subject: Re: Script question > > > > That's a very interesting shell script and will give it a try. > > But, does the script only pickup spam with a "12" tag level or does it > pick up 12 and above which is what I need? (sorry, my scripting is not > strong). > > Jason > > ------------------------------ > > Message: 3 > Date: Sat, 13 Jun 2015 13:01:44 +0000 > From: opendaddy at hushmail.com > To: "Joe Shevland" , > freebsd-questions at freebsd.org > Subject: Re: FreeBSD and Docker > Message-ID: <20150613130144.E94E5E076D at smtp.hushmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hi! > > On 10. juni 2015 at 1:13 PM, "Joe Shevland" > wrote: > > > >Postgres, Redis and Ruby are available though, so I don't think > >it'd be impossible to get the RoR side of things working for > >Discourse. > > True that. I managed to install the bundle but now during migration > https://github.com/discourse/discourse/blob/master/db/migrate/20120921162512_add_meta_data_to_forum_threads.rb > gives me: > > == 20120921162512 AddMetaDataToForumThreads: migrating > ======================== > -- execute("CREATE EXTENSION IF NOT EXISTS hstore") > rake aborted! > StandardError: An error has occurred, this and all later migrations > canceled: > > PG::InvalidParameterValue: ERROR: version to install must be specified > : CREATE EXTENSION IF NOT EXISTS > hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in > `async_exec' > /usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in > `block in execute' > > Docker or not, it's still odd that the migration should fail like this. > I'm using PostgreSQL 9.4. > > O.D. > > > > >On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: > >> > >>Hi! > >> > >>Attempting to install the Discourse discussion forum > >>(https://github.com/discourse/discourse) on my DigitalOcean > >>FreeBSD VPS. Discourse requires Docker, however nothing happens > >>when I try `wget -qO- https://get.docker.com/ | sh` > >>(https://github.com/discourse/discourse/blob/master/docs/INSTALL- > >>cloud.md). > >> > >>What am I doing wrong? > >> > >>Thanks! > >> > >>O.D. > >> > >>_______________________________________________ > >>freebsd-questions at freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to "freebsd-questions- > >>unsubscribe at freebsd.org" > > > >_______________________________________________ > >freebsd-questions at freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions- > >unsubscribe at freebsd.org" > > > > ------------------------------ > > Message: 4 > Date: Sat, 13 Jun 2015 14:04:26 +0000 > From: opendaddy at hushmail.com > To: "Joe Shevland" , > freebsd-questions at freebsd.org > Subject: Re: FreeBSD and Docker > Message-ID: <20150613140426.37B17E04E1 at smtp.hushmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hello again, > > Thanks to Edho Arief from the OpenBSD mailinglists it appears I was simply > missing the postgresql-contrib package. > > Many thanks! > > O.D. > > On 13. juni 2015 at 1:41 PM, opendaddy at hushmail.com wrote: > > > >Hi! > > > >On 10. juni 2015 at 1:13 PM, "Joe Shevland" > > wrote: > >> > >>Postgres, Redis and Ruby are available though, so I don't think > >>it'd be impossible to get the RoR side of things working for > >>Discourse. > > > >True that. I managed to install the bundle but now during > >migration > >https://github.com/discourse/discourse/blob/master/db/migrate/20120 > >921162512_add_meta_data_to_forum_threads.rb gives me: > > > >== 20120921162512 AddMetaDataToForumThreads: migrating > >======================== > >-- execute("CREATE EXTENSION IF NOT EXISTS hstore") > >rake aborted! > >StandardError: An error has occurred, this and all later > >migrations canceled: > > > >PG::InvalidParameterValue: ERROR: version to install must be > >specified > >: CREATE EXTENSION IF NOT EXISTS > >hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecor > >d- > >4.1.10/lib/active_record/connection_adapters/postgresql/database_st > >atements.rb:128:in `async_exec' > >/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord- > >4.1.10/lib/active_record/connection_adapters/postgresql/database_st > >atements.rb:128:in `block in execute' > > > >Docker or not, it's still odd that the migration should fail like > >this. I'm using PostgreSQL 9.4. > > > >O.D. > > > >> > >>On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: > >>> > >>>Hi! > >>> > >>>Attempting to install the Discourse discussion forum > >>>(https://github.com/discourse/discourse) on my DigitalOcean > >>>FreeBSD VPS. Discourse requires Docker, however nothing happens > >>>when I try `wget -qO- https://get.docker.com/ | sh` > >>>(https://github.com/discourse/discourse/blob/master/docs/INSTALL- > >>>cloud.md). > >>> > >>>What am I doing wrong? > >>> > >>>Thanks! > >>> > >>>O.D. > >>> > >>>_______________________________________________ > >>>freebsd-questions at freebsd.org mailing list > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>To unsubscribe, send any mail to "freebsd-questions- > >>>unsubscribe at freebsd.org" > >> > >>_______________________________________________ > >>freebsd-questions at freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to "freebsd-questions- > >>unsubscribe at freebsd.org" > > > >_______________________________________________ > >freebsd-questions at freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions- > >unsubscribe at freebsd.org" > > > > ------------------------------ > > Message: 5 > Date: Sat, 13 Jun 2015 10:53:39 -0400 > From: Andreas Wrede > To: hartzell at alerce.com > Cc: FreeBSD Questions > Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start > @0xfff...." > Message-ID: <79D327FB-3310-4642-8B16-6361AC26BAE2 at wrede.ca> > Content-Type: text/plain; charset=us-ascii > > > > On Jun 12, 2015, at 21:47 , George Hartzell wrote: > > > > > > I have a 2008 Mac Pro (NOT a MacBook) that's been happily running > > FreeBSD for years via MBR partitioned disks. When the Mac sees the > > MBR partition it kicks in a bunch of bios emulation, which lets > > freebsd run. > > > > I've recently been inspired to try the EFI booting stuff. It has the > > attraction of enabling the two extra SATA ports on the motherboard (or > > more accurately, not disabling them as the BIOS emulation appears > > to...). > > > > I've tried both a USB stick of 10.1 and an SSD with -CURRENT. Both > > use EFI booting and work on my Minnowboard. > > > > Booting either way exhibits the same symptom. /boot/loader.efi > > runskoads the kernel and stuff but when it boots it prints > > > > Booting... > > Start @0xffffffff802e7000 ... > > _ > > > > (that's the address when booted from the SSD, the address for the 10.1 > > USB stick is 0xffffffff802df060) > > > > and then hangs. > > > > Thinking that maybe the console was pointing off somewhere, I tried > > setting it at the forth/OK prompt, it was already set to "efi", which > > seems like the best choice. > > > > It'd be nice to get it booting via EFI. Any suggestions for what to > > try next? > > My experience with a Mac Pro (2009) is similar. I tried to boot from CD > and USB with FreeBSD 10.1 and a -current snapshot from about 2 weeks ago. A > MacBook Pro (2010) booted without a problem with the both the 10.1 and > -current USB images. The MacPro will be available for more testing in a > week or two. > > > -- > aew > > > > ------------------------------ > > Message: 6 > Date: Sat, 13 Jun 2015 11:52:45 -0600 > From: jd1008 > To: freebsd-questions at freebsd.org > Subject: Re: Script question > Message-ID: <557C6DED.9070105 at gmail.com> > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > On 06/13/2015 06:58 AM, Lt. Commander wrote: > >> Date: Fri, 12 Jun 2015 19:16:52 -0600 > >> From: jd1008 at gmail.com > >> To: freebsd-questions at freebsd.org > >> Subject: Re: Script question > > Here is a short shell script: > > > > #!/bin/sh > > > > while read line; do > > score=`echo $line | grep ' score=.. '` > > scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` > > address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` > > IP=`echo $address | sed 's/client_addr=//'` > > > > if [ $scoreValue -ge 12 ]; then > > echo $score > > echo $IP > > echo ==================== > > fi > > done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin > filter > > > > ---------------------------------------- > >> Date: Fri, 12 Jun 2015 19:16:52 -0600 > >> From: jd1008 at gmail.com > >> To: freebsd-questions at freebsd.org > >> Subject: Re: Script question > >> > > That's a very interesting shell script and will give it a try. > > > > But, does the script only pickup spam with a "12" tag level or does it > pick up 12 and above which is what I need? (sorry, my scripting is not > strong). > > > > Jason > The boolean -ge in the if test. > Greater than or equal to > So it grabs all 12 or greater values. > > > > > > _______________________________________________ > > freebsd-questions at freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > > > > > > ------------------------------ > > Message: 7 > Date: Sat, 13 Jun 2015 15:21:36 -0400 > From: Janos Dohanics > To: FreeBSD Questions > Subject: Re: Softlayer VPS: Loading FreeBSD > Message-ID: <20150613152136.1beb58c637f27d88a4215a0c at 3dresearch.com> > Content-Type: text/plain; charset=US-ASCII > > On Thu, 11 Jun 2015 18:44:15 -0600 > Dan Busarow wrote: > > > Marc, > > > > Checkout rootbsd.net > > > > I have 10 VPS and 1 dedicated server there. Excellent BSD support as > > you might gather from the name. > > > > Dan > > -- > > Dan Busarow > > BuildingOnline.com > > http://www.BuildingOnline.net/ > > 888-496-6648 ext 218 > > I second that. Their service has been reliable, and their support is > prompt and knowledgeable. > > -- > Janos Dohanics > > > ------------------------------ > > Message: 8 > Date: Sat, 13 Jun 2015 19:29:23 -0700 > From: George Hartzell > To: Andreas Wrede > Cc: FreeBSD Questions > Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start > @0xfff...." > Message-ID: <21884.59139.951381.344884 at alacrity.local> > Content-Type: text/plain; charset=us-ascii > > Andreas Wrede writes: > > > > > On Jun 12, 2015, at 21:47 , George Hartzell > wrote: > > > > > > I have a 2008 Mac Pro (NOT a MacBook) that's been happily running > > > FreeBSD for years via MBR partitioned disks. > > > [...] > > > I've recently been inspired to try the EFI booting stuff. > > > [...] > > > Booting either way exhibits the same symptom. /boot/loader.efi > > > runskoads the kernel and stuff but when it boots it prints > > > > > > Booting... > > > Start @0xffffffff802e7000 ... > > > _ > > > > > > (that's the address when booted from the SSD, the address for the 10.1 > > > USB stick is 0xffffffff802df060) > > > > > > and then hangs. > > > [...] > > > > My experience with a Mac Pro (2009) is similar. I tried to boot > > from CD and USB with FreeBSD 10.1 and a -current snapshot from > > about 2 weeks ago. A MacBook Pro (2010) booted without a problem > > with the both the 10.1 and -current USB images. The MacPro will be > > available for more testing in a week or two. > > The Mac Pro will boot the 10.1 DVD. > > I tried the EFI DVD and it shows the same symptoms as described above. > > BUT I noticed that even after the "Start @0xfff..." message displayed > and the system appeared to hang the DVD ground away for another minute > or two. Nothing else appeared on the console, but it sounded as if > something was happening. Perhaps the problem is "just" with the > console setup. > > g. > > > ------------------------------ > > Message: 9 > Date: Sat, 13 Jun 2015 23:31:56 -0500 > From: Yass Amed > To: freebsd-questions at freebsd.org > Subject: Re: AHCI and Gigabyte GA-G31M-ES2L > Message-ID: <557D03BC.9050802 at gmail.com> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Quote:>>> > Amigos, > I owns a GA-G31M-ES2L & want to upgrade my BIOS as I don't have AHCI > Options in my BIOS. If you have update patch / files than kindly consider > this as a request & forward me. If you guys have any other options exceept > this than also let me know. > Regards,NicKhil > <<< > > Nickhil, > > Give this link a tryhttp:// > www.gigabyte.com/products/product-page.aspx?pid=3485#bios > > > Regards, > Yass > > -- > > > > > ------------------------------ > > Message: 10 > Date: Sun, 14 Jun 2015 15:15:04 +0800 > From: Ben Woods > To: "hartzell at alerce.com" > Cc: Andreas Wrede , FreeBSD Questions > > Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start > @0xfff...." > Message-ID: > QBFzA57xAGrRrVwP4kAvNC-KVZQNoHa9CLfs+w at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Sunday, June 14, 2015, George Hartzell wrote: > > > Andreas Wrede writes: > > > > > > > On Jun 12, 2015, at 21:47 , George Hartzell > > wrote: > > > > > > > > I have a 2008 Mac Pro (NOT a MacBook) that's been happily running > > > > FreeBSD for years via MBR partitioned disks. > > > > [...] > > > > I've recently been inspired to try the EFI booting stuff. > > > > [...] > > > > Booting either way exhibits the same symptom. /boot/loader.efi > > > > runskoads the kernel and stuff but when it boots it prints > > > > > > > > Booting... > > > > Start @0xffffffff802e7000 ... > > > > _ > > > > > > > > (that's the address when booted from the SSD, the address for the > 10.1 > > > > USB stick is 0xffffffff802df060) > > > > > > > > and then hangs. > > > > [...] > > > > > > My experience with a Mac Pro (2009) is similar. I tried to boot > > > from CD and USB with FreeBSD 10.1 and a -current snapshot from > > > about 2 weeks ago. A MacBook Pro (2010) booted without a problem > > > with the both the 10.1 and -current USB images. The MacPro will be > > > available for more testing in a week or two. > > > > The Mac Pro will boot the 10.1 DVD. > > > > I tried the EFI DVD and it shows the same symptoms as described above. > > > > BUT I noticed that even after the "Start @0xfff..." message displayed > > and the system appeared to hang the DVD ground away for another minute > > or two. Nothing else appeared on the console, but it sounded as if > > something was happening. Perhaps the problem is "just" with the > > console setup. > > > > g. > > > > That sounds like you are experiencing this bug, which unfortunately has not > been fixed yet: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193745 > > Unfortunately the new uefi boot does not work on some (or all?) macbooks. > > Regards, > Ben > > > -- > > -- > From: Benjamin Woods > woodsb02 at gmail.com > > > ------------------------------ > > Message: 11 > Date: Sun, 14 Jun 2015 13:24:59 +0430 > From: takCoder > To: FreeBSD Questions > Subject: reload kernel without reboot? > Message-ID: > < > CAPkyVLwy_cW9fuY4CLgGtXKcLb7qeLNk9VdiHQA3OYy-rbq6ew at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi there, > > I have a task on freebsd 9.2 in which I need to apply changes to kernel and > recompile it serveral times. I use buildkernel with my custom kernel. > > my question is: Is there a way to reload freebsd kernel in which i don't > need to restart to apply the changes? > > Thank you all, > takcoder > > > ------------------------------ > > Message: 12 > Date: Sun, 14 Jun 2015 12:18:26 +0200 > From: Terje Elde > To: tak.official at gmail.com > Cc: FreeBSD Questions > Subject: Re: reload kernel without reboot? > Message-ID: <38506EF2-D060-4642-8B8B-6774232F9B01 at elde.net> > Content-Type: text/plain; charset="utf-8" > > > > On 14 Jun 2015, at 10:54, takCoder wrote: > > > > I have a task on freebsd 9.2 in which I need to apply changes to kernel > and > > recompile it serveral times. I use buildkernel with my custom kernel. > > I?m curious, could you explain a bit more about what you?re trying to do? > I can?t really think of many typical use cases where you?d want or need to > recompile the kernel over and over again. > > > my question is: Is there a way to reload freebsd kernel in which i don't > > need to restart to apply the changes? > > Not really, no. > > You can recompile modules though, and unload old, load new. > > > Terje > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 524 bytes > Desc: Message signed with OpenPGP using GPGMail > URL: < > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150614/9a779417/attachment-0001.sig > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > > ------------------------------ > > End of freebsd-questions Digest, Vol 575, Issue 7 > ************************************************* > From iam at ardiefox.me Sun Jun 14 17:12:17 2015 From: iam at ardiefox.me (Ardie H. Hwang) Date: Mon, 15 Jun 2015 02:12:10 +0900 Subject: freebsd-questions generated spams! In-Reply-To: References: Message-ID: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> There was a discussion[1] already, that the conclusion is those ?spams? are just a mis-configured auto replies. Some guys must have set their ?vacation leave? features set, while still subscribed to this list. You can safely delete those messages, though very annoying. [1]: https://lists.freebsd.org/pipermail/freebsd-questions/2015-June/266196.html -- Ardie H. Hwang ---------------- email: iam at ardiefox.me mobile: +82-10-I-AM-ARDIE > On Jun 15, 2015, at 02:04, Yass Amed wrote: > > Hello, > > I replied to a topic on this mailing list and immediately started getting > Chinese spam emails. Is there a breach in the server? Does the server > (un)intentionally forward mail? I'm puzzled?! > > Thanks, > Yass > On Jun 14, 2015 7:00 AM, wrote: > >> Send freebsd-questions mailing list submissions to >> freebsd-questions at freebsd.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> or, via email, send a message with subject or body 'help' to >> freebsd-questions-request at freebsd.org >> >> You can reach the person managing the list at >> freebsd-questions-owner at freebsd.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of freebsd-questions digest..." >> >> >> Today's Topics: >> >> 1. SCSI Cable, do you have (will.lee at connecmax.com) >> 2. RE: Script question (Lt. Commander) >> 3. Re: FreeBSD and Docker (opendaddy at hushmail.com) >> 4. Re: FreeBSD and Docker (opendaddy at hushmail.com) >> 5. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >> @0xfff...." (Andreas Wrede) >> 6. Re: Script question (jd1008) >> 7. Re: Softlayer VPS: Loading FreeBSD (Janos Dohanics) >> 8. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >> @0xfff...." (George Hartzell) >> 9. Re: AHCI and Gigabyte GA-G31M-ES2L (Yass Amed) >> 10. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >> @0xfff...." (Ben Woods) >> 11. reload kernel without reboot? (takCoder) >> 12. Re: reload kernel without reboot? (Terje Elde) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sat, 13 Jun 2015 19:57:40 +0800 >> From: "will.lee at connecmax.com" >> To: questions >> Subject: SCSI Cable, do you have >> Message-ID: <2015061315051406572437 at connecmax.com> >> Content-Type: text/plain; charset="utf-8" >> >> Dear Friend, >> >> We produce all kinds of SCSI cable with good performance. Certificates of >> SGS have achieved. We have own logistics company to save your cost . And >> OEM is supported. >> >> All the Wire is Bare Copper. Here are the SCSI cables we produce, if the >> items you interested, pls inquiry us. >> SCSI Lead Ultra 68 male to Ultra 68 male (VHDCI) SCSI cable >> SCSI Cable HD68M to HD68M cable >> SCSI-3 CABLE MALE TO MALE HD 68 PINS cable >> SCSI-5 (VHDCI) 0.8mm to SCSI-3 (HPDB68) 68-Pin Male/Male Cable >> SCSI Lead 50 Centronic male to 50 Centronic Male SCSI cable >> SCSI Lead Half Pitch 50 male to 50 Centronic male cable >> SCSI HPDB50 Male to Cen50 Male External Drive Cable >> SCSI HPDB50 Male to VHDCI68 Male Cable >> >> Waiting for your inquiry. >> >> Best regards! >> >> >> Will Lee >> >> Connecmax Group Co.,Ltd >> Shenzhen Prime Technology Co.,Ltd >> TEL: 86 183 0666 7469 Skype:connecmax7 >> WEB:http://www.globalsources.com/szconnecmax.co >> Add:South, 3FL, Block E, Dakan Technology Park, Dakan Village, Xili >> Town, Nanshan Dist, Shenzhen, GD, China >> >> ------------------------------ >> >> Message: 2 >> Date: Sat, 13 Jun 2015 07:58:21 -0500 >> From: "Lt. Commander" >> To: "freebsd-questions at freebsd.org" >> Subject: RE: Script question >> Message-ID: >> Content-Type: text/plain; charset="iso-8859-1" >> >>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>> From: jd1008 at gmail.com >>> To: freebsd-questions at freebsd.org >>> Subject: Re: Script question >> >> Here is a short shell script: >> >> #!/bin/sh >> >> while read line; do >> score=`echo $line | grep ' score=.. '` >> scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` >> address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` >> IP=`echo $address | sed 's/client_addr=//'` >> >> if [ $scoreValue -ge 12 ]; then >> ??????? echo $score >> ??????? echo $IP >> ??????? echo ==================== >> fi >> done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin >> filter? >> >> ---------------------------------------- >>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>> From: jd1008 at gmail.com >>> To: freebsd-questions at freebsd.org >>> Subject: Re: Script question >>> >> >> That's a very interesting shell script and will give it a try. >> >> But, does the script only pickup spam with a "12" tag level or does it >> pick up 12 and above which is what I need? (sorry, my scripting is not >> strong). >> >> Jason >> >> ------------------------------ >> >> Message: 3 >> Date: Sat, 13 Jun 2015 13:01:44 +0000 >> From: opendaddy at hushmail.com >> To: "Joe Shevland" , >> freebsd-questions at freebsd.org >> Subject: Re: FreeBSD and Docker >> Message-ID: <20150613130144.E94E5E076D at smtp.hushmail.com> >> Content-Type: text/plain; charset="UTF-8" >> >> Hi! >> >> On 10. juni 2015 at 1:13 PM, "Joe Shevland" >> wrote: >>> >>> Postgres, Redis and Ruby are available though, so I don't think >>> it'd be impossible to get the RoR side of things working for >>> Discourse. >> >> True that. I managed to install the bundle but now during migration >> https://github.com/discourse/discourse/blob/master/db/migrate/20120921162512_add_meta_data_to_forum_threads.rb >> gives me: >> >> == 20120921162512 AddMetaDataToForumThreads: migrating >> ======================== >> -- execute("CREATE EXTENSION IF NOT EXISTS hstore") >> rake aborted! >> StandardError: An error has occurred, this and all later migrations >> canceled: >> >> PG::InvalidParameterValue: ERROR: version to install must be specified >> : CREATE EXTENSION IF NOT EXISTS >> hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in >> `async_exec' >> /usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in >> `block in execute' >> >> Docker or not, it's still odd that the migration should fail like this. >> I'm using PostgreSQL 9.4. >> >> O.D. >> >>> >>> On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: >>>> >>>> Hi! >>>> >>>> Attempting to install the Discourse discussion forum >>>> (https://github.com/discourse/discourse) on my DigitalOcean >>>> FreeBSD VPS. Discourse requires Docker, however nothing happens >>>> when I try `wget -qO- https://get.docker.com/ | sh` >>>> (https://github.com/discourse/discourse/blob/master/docs/INSTALL- >>>> cloud.md). >>>> >>>> What am I doing wrong? >>>> >>>> Thanks! >>>> >>>> O.D. >>>> >>>> _______________________________________________ >>>> freebsd-questions at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions- >>>> unsubscribe at freebsd.org" >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions- >>> unsubscribe at freebsd.org" >> >> >> >> ------------------------------ >> >> Message: 4 >> Date: Sat, 13 Jun 2015 14:04:26 +0000 >> From: opendaddy at hushmail.com >> To: "Joe Shevland" , >> freebsd-questions at freebsd.org >> Subject: Re: FreeBSD and Docker >> Message-ID: <20150613140426.37B17E04E1 at smtp.hushmail.com> >> Content-Type: text/plain; charset="UTF-8" >> >> Hello again, >> >> Thanks to Edho Arief from the OpenBSD mailinglists it appears I was simply >> missing the postgresql-contrib package. >> >> Many thanks! >> >> O.D. >> >> On 13. juni 2015 at 1:41 PM, opendaddy at hushmail.com wrote: >>> >>> Hi! >>> >>> On 10. juni 2015 at 1:13 PM, "Joe Shevland" >>> wrote: >>>> >>>> Postgres, Redis and Ruby are available though, so I don't think >>>> it'd be impossible to get the RoR side of things working for >>>> Discourse. >>> >>> True that. I managed to install the bundle but now during >>> migration >>> https://github.com/discourse/discourse/blob/master/db/migrate/20120 >>> 921162512_add_meta_data_to_forum_threads.rb gives me: >>> >>> == 20120921162512 AddMetaDataToForumThreads: migrating >>> ======================== >>> -- execute("CREATE EXTENSION IF NOT EXISTS hstore") >>> rake aborted! >>> StandardError: An error has occurred, this and all later >>> migrations canceled: >>> >>> PG::InvalidParameterValue: ERROR: version to install must be >>> specified >>> : CREATE EXTENSION IF NOT EXISTS >>> hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecor >>> d- >>> 4.1.10/lib/active_record/connection_adapters/postgresql/database_st >>> atements.rb:128:in `async_exec' >>> /usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord- >>> 4.1.10/lib/active_record/connection_adapters/postgresql/database_st >>> atements.rb:128:in `block in execute' >>> >>> Docker or not, it's still odd that the migration should fail like >>> this. I'm using PostgreSQL 9.4. >>> >>> O.D. >>> >>>> >>>> On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: >>>>> >>>>> Hi! >>>>> >>>>> Attempting to install the Discourse discussion forum >>>>> (https://github.com/discourse/discourse) on my DigitalOcean >>>>> FreeBSD VPS. Discourse requires Docker, however nothing happens >>>>> when I try `wget -qO- https://get.docker.com/ | sh` >>>>> (https://github.com/discourse/discourse/blob/master/docs/INSTALL- >>>>> cloud.md). >>>>> >>>>> What am I doing wrong? >>>>> >>>>> Thanks! >>>>> >>>>> O.D. >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions at freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to "freebsd-questions- >>>>> unsubscribe at freebsd.org" >>>> >>>> _______________________________________________ >>>> freebsd-questions at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions- >>>> unsubscribe at freebsd.org" >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions- >>> unsubscribe at freebsd.org" >> >> >> >> ------------------------------ >> >> Message: 5 >> Date: Sat, 13 Jun 2015 10:53:39 -0400 >> From: Andreas Wrede >> To: hartzell at alerce.com >> Cc: FreeBSD Questions >> Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >> @0xfff...." >> Message-ID: <79D327FB-3310-4642-8B16-6361AC26BAE2 at wrede.ca> >> Content-Type: text/plain; charset=us-ascii >> >> >>> On Jun 12, 2015, at 21:47 , George Hartzell wrote: >>> >>> >>> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running >>> FreeBSD for years via MBR partitioned disks. When the Mac sees the >>> MBR partition it kicks in a bunch of bios emulation, which lets >>> freebsd run. >>> >>> I've recently been inspired to try the EFI booting stuff. It has the >>> attraction of enabling the two extra SATA ports on the motherboard (or >>> more accurately, not disabling them as the BIOS emulation appears >>> to...). >>> >>> I've tried both a USB stick of 10.1 and an SSD with -CURRENT. Both >>> use EFI booting and work on my Minnowboard. >>> >>> Booting either way exhibits the same symptom. /boot/loader.efi >>> runskoads the kernel and stuff but when it boots it prints >>> >>> Booting... >>> Start @0xffffffff802e7000 ... >>> _ >>> >>> (that's the address when booted from the SSD, the address for the 10.1 >>> USB stick is 0xffffffff802df060) >>> >>> and then hangs. >>> >>> Thinking that maybe the console was pointing off somewhere, I tried >>> setting it at the forth/OK prompt, it was already set to "efi", which >>> seems like the best choice. >>> >>> It'd be nice to get it booting via EFI. Any suggestions for what to >>> try next? >> >> My experience with a Mac Pro (2009) is similar. I tried to boot from CD >> and USB with FreeBSD 10.1 and a -current snapshot from about 2 weeks ago. A >> MacBook Pro (2010) booted without a problem with the both the 10.1 and >> -current USB images. The MacPro will be available for more testing in a >> week or two. >> >> >> -- >> aew >> >> >> >> ------------------------------ >> >> Message: 6 >> Date: Sat, 13 Jun 2015 11:52:45 -0600 >> From: jd1008 >> To: freebsd-questions at freebsd.org >> Subject: Re: Script question >> Message-ID: <557C6DED.9070105 at gmail.com> >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> >> >> On 06/13/2015 06:58 AM, Lt. Commander wrote: >>>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>>> From: jd1008 at gmail.com >>>> To: freebsd-questions at freebsd.org >>>> Subject: Re: Script question >>> Here is a short shell script: >>> >>> #!/bin/sh >>> >>> while read line; do >>> score=`echo $line | grep ' score=.. '` >>> scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` >>> address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` >>> IP=`echo $address | sed 's/client_addr=//'` >>> >>> if [ $scoreValue -ge 12 ]; then >>> echo $score >>> echo $IP >>> echo ==================== >>> fi >>> done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin >> filter >>> >>> ---------------------------------------- >>>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>>> From: jd1008 at gmail.com >>>> To: freebsd-questions at freebsd.org >>>> Subject: Re: Script question >>>> >>> That's a very interesting shell script and will give it a try. >>> >>> But, does the script only pickup spam with a "12" tag level or does it >> pick up 12 and above which is what I need? (sorry, my scripting is not >> strong). >>> >>> Jason >> The boolean -ge in the if test. >> Greater than or equal to >> So it grabs all 12 or greater values. >> >> >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe at freebsd.org" >>> >> >> >> >> ------------------------------ >> >> Message: 7 >> Date: Sat, 13 Jun 2015 15:21:36 -0400 >> From: Janos Dohanics >> To: FreeBSD Questions >> Subject: Re: Softlayer VPS: Loading FreeBSD >> Message-ID: <20150613152136.1beb58c637f27d88a4215a0c at 3dresearch.com> >> Content-Type: text/plain; charset=US-ASCII >> >> On Thu, 11 Jun 2015 18:44:15 -0600 >> Dan Busarow wrote: >> >>> Marc, >>> >>> Checkout rootbsd.net >>> >>> I have 10 VPS and 1 dedicated server there. Excellent BSD support as >>> you might gather from the name. >>> >>> Dan >>> -- >>> Dan Busarow >>> BuildingOnline.com >>> http://www.BuildingOnline.net/ >>> 888-496-6648 ext 218 >> >> I second that. Their service has been reliable, and their support is >> prompt and knowledgeable. >> >> -- >> Janos Dohanics >> >> >> ------------------------------ >> >> Message: 8 >> Date: Sat, 13 Jun 2015 19:29:23 -0700 >> From: George Hartzell >> To: Andreas Wrede >> Cc: FreeBSD Questions >> Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >> @0xfff...." >> Message-ID: <21884.59139.951381.344884 at alacrity.local> >> Content-Type: text/plain; charset=us-ascii >> >> Andreas Wrede writes: >>> >>>> On Jun 12, 2015, at 21:47 , George Hartzell >> wrote: >>>> >>>> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running >>>> FreeBSD for years via MBR partitioned disks. >>>> [...] >>>> I've recently been inspired to try the EFI booting stuff. >>>> [...] >>>> Booting either way exhibits the same symptom. /boot/loader.efi >>>> runskoads the kernel and stuff but when it boots it prints >>>> >>>> Booting... >>>> Start @0xffffffff802e7000 ... >>>> _ >>>> >>>> (that's the address when booted from the SSD, the address for the 10.1 >>>> USB stick is 0xffffffff802df060) >>>> >>>> and then hangs. >>>> [...] >>> >>> My experience with a Mac Pro (2009) is similar. I tried to boot >>> from CD and USB with FreeBSD 10.1 and a -current snapshot from >>> about 2 weeks ago. A MacBook Pro (2010) booted without a problem >>> with the both the 10.1 and -current USB images. The MacPro will be >>> available for more testing in a week or two. >> >> The Mac Pro will boot the 10.1 DVD. >> >> I tried the EFI DVD and it shows the same symptoms as described above. >> >> BUT I noticed that even after the "Start @0xfff..." message displayed >> and the system appeared to hang the DVD ground away for another minute >> or two. Nothing else appeared on the console, but it sounded as if >> something was happening. Perhaps the problem is "just" with the >> console setup. >> >> g. >> >> >> ------------------------------ >> >> Message: 9 >> Date: Sat, 13 Jun 2015 23:31:56 -0500 >> From: Yass Amed >> To: freebsd-questions at freebsd.org >> Subject: Re: AHCI and Gigabyte GA-G31M-ES2L >> Message-ID: <557D03BC.9050802 at gmail.com> >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> Quote:>>> >> Amigos, >> I owns a GA-G31M-ES2L & want to upgrade my BIOS as I don't have AHCI >> Options in my BIOS. If you have update patch / files than kindly consider >> this as a request & forward me. If you guys have any other options exceept >> this than also let me know. >> Regards,NicKhil >> <<< >> >> Nickhil, >> >> Give this link a tryhttp:// >> www.gigabyte.com/products/product-page.aspx?pid=3485#bios >> >> >> Regards, >> Yass >> >> -- >> >> >> >> >> ------------------------------ >> >> Message: 10 >> Date: Sun, 14 Jun 2015 15:15:04 +0800 >> From: Ben Woods >> To: "hartzell at alerce.com" >> Cc: Andreas Wrede , FreeBSD Questions >> >> Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >> @0xfff...." >> Message-ID: >> > QBFzA57xAGrRrVwP4kAvNC-KVZQNoHa9CLfs+w at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> On Sunday, June 14, 2015, George Hartzell wrote: >> >>> Andreas Wrede writes: >>>> >>>>> On Jun 12, 2015, at 21:47 , George Hartzell >> > wrote: >>>>> >>>>> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running >>>>> FreeBSD for years via MBR partitioned disks. >>>>> [...] >>>>> I've recently been inspired to try the EFI booting stuff. >>>>> [...] >>>>> Booting either way exhibits the same symptom. /boot/loader.efi >>>>> runskoads the kernel and stuff but when it boots it prints >>>>> >>>>> Booting... >>>>> Start @0xffffffff802e7000 ... >>>>> _ >>>>> >>>>> (that's the address when booted from the SSD, the address for the >> 10.1 >>>>> USB stick is 0xffffffff802df060) >>>>> >>>>> and then hangs. >>>>> [...] >>>> >>>> My experience with a Mac Pro (2009) is similar. I tried to boot >>>> from CD and USB with FreeBSD 10.1 and a -current snapshot from >>>> about 2 weeks ago. A MacBook Pro (2010) booted without a problem >>>> with the both the 10.1 and -current USB images. The MacPro will be >>>> available for more testing in a week or two. >>> >>> The Mac Pro will boot the 10.1 DVD. >>> >>> I tried the EFI DVD and it shows the same symptoms as described above. >>> >>> BUT I noticed that even after the "Start @0xfff..." message displayed >>> and the system appeared to hang the DVD ground away for another minute >>> or two. Nothing else appeared on the console, but it sounded as if >>> something was happening. Perhaps the problem is "just" with the >>> console setup. >>> >>> g. >>> >> >> That sounds like you are experiencing this bug, which unfortunately has not >> been fixed yet: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193745 >> >> Unfortunately the new uefi boot does not work on some (or all?) macbooks. >> >> Regards, >> Ben >> >> >> -- >> >> -- >> From: Benjamin Woods >> woodsb02 at gmail.com >> >> >> ------------------------------ >> >> Message: 11 >> Date: Sun, 14 Jun 2015 13:24:59 +0430 >> From: takCoder >> To: FreeBSD Questions >> Subject: reload kernel without reboot? >> Message-ID: >> < >> CAPkyVLwy_cW9fuY4CLgGtXKcLb7qeLNk9VdiHQA3OYy-rbq6ew at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Hi there, >> >> I have a task on freebsd 9.2 in which I need to apply changes to kernel and >> recompile it serveral times. I use buildkernel with my custom kernel. >> >> my question is: Is there a way to reload freebsd kernel in which i don't >> need to restart to apply the changes? >> >> Thank you all, >> takcoder >> >> >> ------------------------------ >> >> Message: 12 >> Date: Sun, 14 Jun 2015 12:18:26 +0200 >> From: Terje Elde >> To: tak.official at gmail.com >> Cc: FreeBSD Questions >> Subject: Re: reload kernel without reboot? >> Message-ID: <38506EF2-D060-4642-8B8B-6774232F9B01 at elde.net> >> Content-Type: text/plain; charset="utf-8" >> >> >>> On 14 Jun 2015, at 10:54, takCoder wrote: >>> >>> I have a task on freebsd 9.2 in which I need to apply changes to kernel >> and >>> recompile it serveral times. I use buildkernel with my custom kernel. >> >> I?m curious, could you explain a bit more about what you?re trying to do? >> I can?t really think of many typical use cases where you?d want or need to >> recompile the kernel over and over again. >> >>> my question is: Is there a way to reload freebsd kernel in which i don't >>> need to restart to apply the changes? >> >> Not really, no. >> >> You can recompile modules though, and unload old, load new. >> >> >> Terje >> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: signature.asc >> Type: application/pgp-signature >> Size: 524 bytes >> Desc: Message signed with OpenPGP using GPGMail >> URL: < >> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150614/9a779417/attachment-0001.sig >>> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe at freebsd.org" >> >> ------------------------------ >> >> End of freebsd-questions Digest, Vol 575, Issue 7 >> ************************************************* >> > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4100 bytes Desc: not available URL: From hartzell at alerce.com Sun Jun 14 17:43:01 2015 From: hartzell at alerce.com (George Hartzell) Date: Sun, 14 Jun 2015 10:42:58 -0700 Subject: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start @0xfff...." In-Reply-To: References: <21883.35789.822027.413019@alacrity.local> <79D327FB-3310-4642-8B16-6361AC26BAE2@wrede.ca> <21884.59139.951381.344884@alacrity.local> Message-ID: <21885.48418.796272.687509@alacrity.local> Ben Woods writes: > [...] > That sounds like you are experiencing this bug, which unfortunately has not > been fixed yet: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193745 > > Unfortunately the new uefi boot does not work on some (or all?) macbooks. Yep, that sounds like the thing. I've added a comment. Doesn't seem like there's been much activity. g. From jason.unovitch at gmail.com Sun Jun 14 19:48:21 2015 From: jason.unovitch at gmail.com (Jason Unovitch) Date: Sun, 14 Jun 2015 15:48:19 -0400 Subject: reload kernel without reboot? In-Reply-To: <20150614182418.56857acc.freebsd@edvax.de> References: <20150614182418.56857acc.freebsd@edvax.de> Message-ID: On Jun 14, 2015 12:30 PM, "Polytropon" wrote: > > On Sun, 14 Jun 2015 13:24:59 +0430, takCoder wrote: > > my question is: Is there a way to reload freebsd kernel in which i don't > > need to restart to apply the changes? > > Probably not, because the kernel is the first thing the > OS boot mechanism will load, and this is required at the > earliest stage of OS booting for the kernel to work as > intended. What you would need is to change the kernel > binary content (after source change and compile run) > both on disk and in memory, with all its location references > and dependency resolutions so the result parts will work > consistently again. I'd say that's a very hard task, nearly > impossible. > > However, if you are able to move the things you want to > "dynamically load and unload" into kernel modules - there > might be a solution for you. Kernel modules can be dealt > with easily using kldload and kldunload. However, the > kernel itself cannot be unloaded and reloaded with those > tools. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ https://wiki.freebsd.org/Kload That is worth a read. I'm sure if it were easy it would have been implemented by now. Jason From jd1008 at gmail.com Sun Jun 14 19:55:56 2015 From: jd1008 at gmail.com (jd1008) Date: Sun, 14 Jun 2015 13:55:28 -0600 Subject: reload kernel without reboot? In-Reply-To: References: Message-ID: <557DDC30.1000902@gmail.com> On 06/14/2015 02:54 AM, takCoder wrote: > Hi there, > > I have a task on freebsd 9.2 in which I need to apply changes to kernel and > recompile it serveral times. I use buildkernel with my custom kernel. > > my question is: Is there a way to reload freebsd kernel in which i don't > need to restart to apply the changes? > > Thank you all, > takcoder > Some kernels are compiled with the kexec facility where you can have the current kernel be replaced with another. I have never used myself, as I do not wish to possibly corrupt my filesystems :) From listmgr at antennex.com Sun Jun 14 20:07:27 2015 From: listmgr at antennex.com (Lt. Commander) Date: Sun, 14 Jun 2015 15:07:18 -0500 Subject: Script question In-Reply-To: <557C6DED.9070105@gmail.com> References: , , , <557B8484.9060405@gmail.com> <557C6DED.9070105@gmail.com> Message-ID: On 06/13/2015 06:58 AM, Lt. Commander wrote: >> Date: Fri, 12 Jun 2015 19:16:52 -0600 >> From: jd1008 at gmail.com >> To: freebsd-questions at freebsd.org >> Subject: Re: Script question > Here is a short shell script: > > #!/bin/sh > > while read line; do > score=`echo $line | grep ' score=.. '` scoreValue=`echo $score | sed > -e 's/score=//' -e 's/ *//'` address=`echo $line | grep > 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` IP=`echo $address | sed > 's/client_addr=//'` > > if [ $scoreValue -ge 12 ]; then > echo $score > echo $IP > echo ==================== > fi > done < your-log-file-name> > some-file-to-use-to-construct-the-spamassasin filter > > ---------------------------------------- >> Date: Fri, 12 Jun 2015 19:16:52 -0600 >> From: jd1008 at gmail.com >> To: freebsd-questions at freebsd.org >> Subject: Re: Script question >> > That's a very interesting shell script and will give it a try. > > But, does the script only pickup spam with a "12" tag level or does it pick up 12 and above which is what I need? (sorry, my scripting is not strong). > > Jason The boolean -ge in the if test. Greater than or equal to So it grabs all 12 or greater values. --------------------------------------------------------------- I understood the -ge had some purpose but FBSD didn't like it, at least where it was placed, so that script didn't work. However, later that night, I took a different approach and patched together a script that gives me what I wanted. For the list here it is if you use a spam filter that consistently tags spam that can be latched onto: I know it's ugly..... but places a list of the IPs in a file plus sends me a message with the same list. The file can be pumped into the /etc/mail/access file to block those IPs. #!/bin/sh cd /var/log grep -i spam=YES maillog > spam.tmp && \ awk '{print $11}' spam.tmp | sort | uniq > spam-hi && \ sed -e 's/^.*=//' spam-hi > spam-ip && \ cat spam-ip >> /usr/samba/mail/envelope cat spam-ip | mail -s "SPAM IPs...." us.navy at outlook.com From chrisstankevitz at gmail.com Sun Jun 14 21:39:08 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Sun, 14 Jun 2015 14:39:06 -0700 Subject: Offline air-gapped "freebsd-update fetch" Message-ID: How can I perform/simulate a "freebsd-update fetch" on an air-gapped disconnected offline computer running FreeBSD-10.1-RELEASE? === I tried (from some advice given 7 years ago): 1. "freebsd-update fetch" from an online machine running 10.1-RELEASE-p12. FYI the command responded with "No updates needed to update system to 10.1-RELEASE-p12." 2. cp -r /var/db/freebsd-update to a USB drive 3. from the air-gapped machine cp -r the files to /var/db/freebsd-update 4. from the air-gapped machine issue "freebsd-update install". This command responded with "no update are available to install, run 'freebsd-update fetch' first" Man page didn't help help. Google suggested the above steps. I perused the source of freebsd-install and I suspect that between the rollbacks and hashes of local system information, that I cannot just simply copy /var/db/freebsd-update. Thank you, Chris From steve at sliderule.demon.co.uk Sun Jun 14 21:53:20 2015 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Sun, 14 Jun 2015 22:46:49 +0100 Subject: freebsd-questions generated spams! In-Reply-To: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> References: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> Message-ID: <557DF649.5030407@sliderule.demon.co.uk> On 14/06/2015 18:12, Ardie H. Hwang wrote: > There was a discussion[1] already, that the conclusion is those ?spams? are just a mis-configured auto replies. > Some guys must have set their ?vacation leave? features set, while still subscribed to this list. > > You can safely delete those messages, though very annoying. > > > [1]: https://lists.freebsd.org/pipermail/freebsd-questions/2015-June/266196.html > > -- > Ardie H. Hwang > ---------------- > email: iam at ardiefox.me > mobile: +82-10-I-AM-ARDIE > >> On Jun 15, 2015, at 02:04, Yass Amed wrote: >> >> Hello, >> >> I replied to a topic on this mailing list and immediately started getting >> Chinese spam emails. Is there a breach in the server? Does the server >> (un)intentionally forward mail? I'm puzzled?! >> >> Thanks, >> Yass >> On Jun 14, 2015 7:00 AM, wrote: >> >>> Send freebsd-questions mailing list submissions to >>> freebsd-questions at freebsd.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> or, via email, send a message with subject or body 'help' to >>> freebsd-questions-request at freebsd.org >>> >>> You can reach the person managing the list at >>> freebsd-questions-owner at freebsd.org >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of freebsd-questions digest..." >>> >>> >>> Today's Topics: >>> >>> 1. SCSI Cable, do you have (will.lee at connecmax.com) >>> 2. RE: Script question (Lt. Commander) >>> 3. Re: FreeBSD and Docker (opendaddy at hushmail.com) >>> 4. Re: FreeBSD and Docker (opendaddy at hushmail.com) >>> 5. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >>> @0xfff...." (Andreas Wrede) >>> 6. Re: Script question (jd1008) >>> 7. Re: Softlayer VPS: Loading FreeBSD (Janos Dohanics) >>> 8. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >>> @0xfff...." (George Hartzell) >>> 9. Re: AHCI and Gigabyte GA-G31M-ES2L (Yass Amed) >>> 10. Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >>> @0xfff...." (Ben Woods) >>> 11. reload kernel without reboot? (takCoder) >>> 12. Re: reload kernel without reboot? (Terje Elde) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Sat, 13 Jun 2015 19:57:40 +0800 >>> From: "will.lee at connecmax.com" >>> To: questions >>> Subject: SCSI Cable, do you have >>> Message-ID: <2015061315051406572437 at connecmax.com> >>> Content-Type: text/plain; charset="utf-8" >>> >>> Dear Friend, >>> >>> We produce all kinds of SCSI cable with good performance. Certificates of >>> SGS have achieved. We have own logistics company to save your cost . And >>> OEM is supported. >>> >>> All the Wire is Bare Copper. Here are the SCSI cables we produce, if the >>> items you interested, pls inquiry us. >>> SCSI Lead Ultra 68 male to Ultra 68 male (VHDCI) SCSI cable >>> SCSI Cable HD68M to HD68M cable >>> SCSI-3 CABLE MALE TO MALE HD 68 PINS cable >>> SCSI-5 (VHDCI) 0.8mm to SCSI-3 (HPDB68) 68-Pin Male/Male Cable >>> SCSI Lead 50 Centronic male to 50 Centronic Male SCSI cable >>> SCSI Lead Half Pitch 50 male to 50 Centronic male cable >>> SCSI HPDB50 Male to Cen50 Male External Drive Cable >>> SCSI HPDB50 Male to VHDCI68 Male Cable >>> >>> Waiting for your inquiry. >>> >>> Best regards! >>> >>> >>> Will Lee >>> >>> Connecmax Group Co.,Ltd >>> Shenzhen Prime Technology Co.,Ltd >>> TEL: 86 183 0666 7469 Skype:connecmax7 >>> WEB:http://www.globalsources.com/szconnecmax.co >>> Add:South, 3FL, Block E, Dakan Technology Park, Dakan Village, Xili >>> Town, Nanshan Dist, Shenzhen, GD, China >>> >>> ------------------------------ >>> >>> Message: 2 >>> Date: Sat, 13 Jun 2015 07:58:21 -0500 >>> From: "Lt. Commander" >>> To: "freebsd-questions at freebsd.org" >>> Subject: RE: Script question >>> Message-ID: >>> Content-Type: text/plain; charset="iso-8859-1" >>> >>>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>>> From: jd1008 at gmail.com >>>> To: freebsd-questions at freebsd.org >>>> Subject: Re: Script question >>> Here is a short shell script: >>> >>> #!/bin/sh >>> >>> while read line; do >>> score=`echo $line | grep ' score=.. '` >>> scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` >>> address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` >>> IP=`echo $address | sed 's/client_addr=//'` >>> >>> if [ $scoreValue -ge 12 ]; then >>> ??????? echo $score >>> ??????? echo $IP >>> ??????? echo ==================== >>> fi >>> done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin >>> filter? >>> >>> ---------------------------------------- >>>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>>> From: jd1008 at gmail.com >>>> To: freebsd-questions at freebsd.org >>>> Subject: Re: Script question >>>> >>> That's a very interesting shell script and will give it a try. >>> >>> But, does the script only pickup spam with a "12" tag level or does it >>> pick up 12 and above which is what I need? (sorry, my scripting is not >>> strong). >>> >>> Jason >>> >>> ------------------------------ >>> >>> Message: 3 >>> Date: Sat, 13 Jun 2015 13:01:44 +0000 >>> From: opendaddy at hushmail.com >>> To: "Joe Shevland" , >>> freebsd-questions at freebsd.org >>> Subject: Re: FreeBSD and Docker >>> Message-ID: <20150613130144.E94E5E076D at smtp.hushmail.com> >>> Content-Type: text/plain; charset="UTF-8" >>> >>> Hi! >>> >>> On 10. juni 2015 at 1:13 PM, "Joe Shevland" >>> wrote: >>>> Postgres, Redis and Ruby are available though, so I don't think >>>> it'd be impossible to get the RoR side of things working for >>>> Discourse. >>> True that. I managed to install the bundle but now during migration >>> https://github.com/discourse/discourse/blob/master/db/migrate/20120921162512_add_meta_data_to_forum_threads.rb >>> gives me: >>> >>> == 20120921162512 AddMetaDataToForumThreads: migrating >>> ======================== >>> -- execute("CREATE EXTENSION IF NOT EXISTS hstore") >>> rake aborted! >>> StandardError: An error has occurred, this and all later migrations >>> canceled: >>> >>> PG::InvalidParameterValue: ERROR: version to install must be specified >>> : CREATE EXTENSION IF NOT EXISTS >>> hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in >>> `async_exec' >>> /usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in >>> `block in execute' >>> >>> Docker or not, it's still odd that the migration should fail like this. >>> I'm using PostgreSQL 9.4. >>> >>> O.D. >>> >>>> On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: >>>>> Hi! >>>>> >>>>> Attempting to install the Discourse discussion forum >>>>> (https://github.com/discourse/discourse) on my DigitalOcean >>>>> FreeBSD VPS. Discourse requires Docker, however nothing happens >>>>> when I try `wget -qO- https://get.docker.com/ | sh` >>>>> (https://github.com/discourse/discourse/blob/master/docs/INSTALL- >>>>> cloud.md). >>>>> >>>>> What am I doing wrong? >>>>> >>>>> Thanks! >>>>> >>>>> O.D. >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions at freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to "freebsd-questions- >>>>> unsubscribe at freebsd.org" >>>> _______________________________________________ >>>> freebsd-questions at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions- >>>> unsubscribe at freebsd.org" >>> >>> >>> ------------------------------ >>> >>> Message: 4 >>> Date: Sat, 13 Jun 2015 14:04:26 +0000 >>> From: opendaddy at hushmail.com >>> To: "Joe Shevland" , >>> freebsd-questions at freebsd.org >>> Subject: Re: FreeBSD and Docker >>> Message-ID: <20150613140426.37B17E04E1 at smtp.hushmail.com> >>> Content-Type: text/plain; charset="UTF-8" >>> >>> Hello again, >>> >>> Thanks to Edho Arief from the OpenBSD mailinglists it appears I was simply >>> missing the postgresql-contrib package. >>> >>> Many thanks! >>> >>> O.D. >>> >>> On 13. juni 2015 at 1:41 PM, opendaddy at hushmail.com wrote: >>>> Hi! >>>> >>>> On 10. juni 2015 at 1:13 PM, "Joe Shevland" >>>> wrote: >>>>> Postgres, Redis and Ruby are available though, so I don't think >>>>> it'd be impossible to get the RoR side of things working for >>>>> Discourse. >>>> True that. I managed to install the bundle but now during >>>> migration >>>> https://github.com/discourse/discourse/blob/master/db/migrate/20120 >>>> 921162512_add_meta_data_to_forum_threads.rb gives me: >>>> >>>> == 20120921162512 AddMetaDataToForumThreads: migrating >>>> ======================== >>>> -- execute("CREATE EXTENSION IF NOT EXISTS hstore") >>>> rake aborted! >>>> StandardError: An error has occurred, this and all later >>>> migrations canceled: >>>> >>>> PG::InvalidParameterValue: ERROR: version to install must be >>>> specified >>>> : CREATE EXTENSION IF NOT EXISTS >>>> hstore/usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecor >>>> d- >>>> 4.1.10/lib/active_record/connection_adapters/postgresql/database_st >>>> atements.rb:128:in `async_exec' >>>> /usr/home/www/myapp/vendor/bundle/ruby/2.2.0/gems/activerecord- >>>> 4.1.10/lib/active_record/connection_adapters/postgresql/database_st >>>> atements.rb:128:in `block in execute' >>>> >>>> Docker or not, it's still odd that the migration should fail like >>>> this. I'm using PostgreSQL 9.4. >>>> >>>> O.D. >>>> >>>>> On 10/6/2015 at 9:50 PM, opendaddy at hushmail.com wrote: >>>>>> Hi! >>>>>> >>>>>> Attempting to install the Discourse discussion forum >>>>>> (https://github.com/discourse/discourse) on my DigitalOcean >>>>>> FreeBSD VPS. Discourse requires Docker, however nothing happens >>>>>> when I try `wget -qO- https://get.docker.com/ | sh` >>>>>> (https://github.com/discourse/discourse/blob/master/docs/INSTALL- >>>>>> cloud.md). >>>>>> >>>>>> What am I doing wrong? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> O.D. >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-questions at freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to "freebsd-questions- >>>>>> unsubscribe at freebsd.org" >>>>> _______________________________________________ >>>>> freebsd-questions at freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to "freebsd-questions- >>>>> unsubscribe at freebsd.org" >>>> _______________________________________________ >>>> freebsd-questions at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions- >>>> unsubscribe at freebsd.org" >>> >>> >>> ------------------------------ >>> >>> Message: 5 >>> Date: Sat, 13 Jun 2015 10:53:39 -0400 >>> From: Andreas Wrede >>> To: hartzell at alerce.com >>> Cc: FreeBSD Questions >>> Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >>> @0xfff...." >>> Message-ID: <79D327FB-3310-4642-8B16-6361AC26BAE2 at wrede.ca> >>> Content-Type: text/plain; charset=us-ascii >>> >>> >>>> On Jun 12, 2015, at 21:47 , George Hartzell wrote: >>>> >>>> >>>> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running >>>> FreeBSD for years via MBR partitioned disks. When the Mac sees the >>>> MBR partition it kicks in a bunch of bios emulation, which lets >>>> freebsd run. >>>> >>>> I've recently been inspired to try the EFI booting stuff. It has the >>>> attraction of enabling the two extra SATA ports on the motherboard (or >>>> more accurately, not disabling them as the BIOS emulation appears >>>> to...). >>>> >>>> I've tried both a USB stick of 10.1 and an SSD with -CURRENT. Both >>>> use EFI booting and work on my Minnowboard. >>>> >>>> Booting either way exhibits the same symptom. /boot/loader.efi >>>> runskoads the kernel and stuff but when it boots it prints >>>> >>>> Booting... >>>> Start @0xffffffff802e7000 ... >>>> _ >>>> >>>> (that's the address when booted from the SSD, the address for the 10.1 >>>> USB stick is 0xffffffff802df060) >>>> >>>> and then hangs. >>>> >>>> Thinking that maybe the console was pointing off somewhere, I tried >>>> setting it at the forth/OK prompt, it was already set to "efi", which >>>> seems like the best choice. >>>> >>>> It'd be nice to get it booting via EFI. Any suggestions for what to >>>> try next? >>> My experience with a Mac Pro (2009) is similar. I tried to boot from CD >>> and USB with FreeBSD 10.1 and a -current snapshot from about 2 weeks ago. A >>> MacBook Pro (2010) booted without a problem with the both the 10.1 and >>> -current USB images. The MacPro will be available for more testing in a >>> week or two. >>> >>> >>> -- >>> aew >>> >>> >>> >>> ------------------------------ >>> >>> Message: 6 >>> Date: Sat, 13 Jun 2015 11:52:45 -0600 >>> From: jd1008 >>> To: freebsd-questions at freebsd.org >>> Subject: Re: Script question >>> Message-ID: <557C6DED.9070105 at gmail.com> >>> Content-Type: text/plain; charset=windows-1252; format=flowed >>> >>> >>> >>> On 06/13/2015 06:58 AM, Lt. Commander wrote: >>>>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>>>> From: jd1008 at gmail.com >>>>> To: freebsd-questions at freebsd.org >>>>> Subject: Re: Script question >>>> Here is a short shell script: >>>> >>>> #!/bin/sh >>>> >>>> while read line; do >>>> score=`echo $line | grep ' score=.. '` >>>> scoreValue=`echo $score | sed -e 's/score=//' -e 's/ *//'` >>>> address=`echo $line | grep 'client_addr=[0-9]*\.[0-9]*\.[0-9]*.[0-9]* '` >>>> IP=`echo $address | sed 's/client_addr=//'` >>>> >>>> if [ $scoreValue -ge 12 ]; then >>>> echo $score >>>> echo $IP >>>> echo ==================== >>>> fi >>>> done < your-log-file-name> some-file-to-use-to-construct-the-spamassasin >>> filter >>>> ---------------------------------------- >>>>> Date: Fri, 12 Jun 2015 19:16:52 -0600 >>>>> From: jd1008 at gmail.com >>>>> To: freebsd-questions at freebsd.org >>>>> Subject: Re: Script question >>>>> >>>> That's a very interesting shell script and will give it a try. >>>> >>>> But, does the script only pickup spam with a "12" tag level or does it >>> pick up 12 and above which is what I need? (sorry, my scripting is not >>> strong). >>>> Jason >>> The boolean -ge in the if test. >>> Greater than or equal to >>> So it grabs all 12 or greater values. >>> >>> >>>> _______________________________________________ >>>> freebsd-questions at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe at freebsd.org" >>> >>> >>> ------------------------------ >>> >>> Message: 7 >>> Date: Sat, 13 Jun 2015 15:21:36 -0400 >>> From: Janos Dohanics >>> To: FreeBSD Questions >>> Subject: Re: Softlayer VPS: Loading FreeBSD >>> Message-ID: <20150613152136.1beb58c637f27d88a4215a0c at 3dresearch.com> >>> Content-Type: text/plain; charset=US-ASCII >>> >>> On Thu, 11 Jun 2015 18:44:15 -0600 >>> Dan Busarow wrote: >>> >>>> Marc, >>>> >>>> Checkout rootbsd.net >>>> >>>> I have 10 VPS and 1 dedicated server there. Excellent BSD support as >>>> you might gather from the name. >>>> >>>> Dan >>>> -- >>>> Dan Busarow >>>> BuildingOnline.com >>>> http://www.BuildingOnline.net/ >>>> 888-496-6648 ext 218 >>> I second that. Their service has been reliable, and their support is >>> prompt and knowledgeable. >>> >>> -- >>> Janos Dohanics >>> >>> >>> ------------------------------ >>> >>> Message: 8 >>> Date: Sat, 13 Jun 2015 19:29:23 -0700 >>> From: George Hartzell >>> To: Andreas Wrede >>> Cc: FreeBSD Questions >>> Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >>> @0xfff...." >>> Message-ID: <21884.59139.951381.344884 at alacrity.local> >>> Content-Type: text/plain; charset=us-ascii >>> >>> Andreas Wrede writes: >>>>> On Jun 12, 2015, at 21:47 , George Hartzell >>> wrote: >>>>> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running >>>>> FreeBSD for years via MBR partitioned disks. >>>>> [...] >>>>> I've recently been inspired to try the EFI booting stuff. >>>>> [...] >>>>> Booting either way exhibits the same symptom. /boot/loader.efi >>>>> runskoads the kernel and stuff but when it boots it prints >>>>> >>>>> Booting... >>>>> Start @0xffffffff802e7000 ... >>>>> _ >>>>> >>>>> (that's the address when booted from the SSD, the address for the 10.1 >>>>> USB stick is 0xffffffff802df060) >>>>> >>>>> and then hangs. >>>>> [...] >>>> My experience with a Mac Pro (2009) is similar. I tried to boot >>>> from CD and USB with FreeBSD 10.1 and a -current snapshot from >>>> about 2 weeks ago. A MacBook Pro (2010) booted without a problem >>>> with the both the 10.1 and -current USB images. The MacPro will be >>>> available for more testing in a week or two. >>> The Mac Pro will boot the 10.1 DVD. >>> >>> I tried the EFI DVD and it shows the same symptoms as described above. >>> >>> BUT I noticed that even after the "Start @0xfff..." message displayed >>> and the system appeared to hang the DVD ground away for another minute >>> or two. Nothing else appeared on the console, but it sounded as if >>> something was happening. Perhaps the problem is "just" with the >>> console setup. >>> >>> g. >>> >>> >>> ------------------------------ >>> >>> Message: 9 >>> Date: Sat, 13 Jun 2015 23:31:56 -0500 >>> From: Yass Amed >>> To: freebsd-questions at freebsd.org >>> Subject: Re: AHCI and Gigabyte GA-G31M-ES2L >>> Message-ID: <557D03BC.9050802 at gmail.com> >>> Content-Type: text/plain; charset=windows-1252; format=flowed >>> >>> Quote:>>> >>> Amigos, >>> I owns a GA-G31M-ES2L & want to upgrade my BIOS as I don't have AHCI >>> Options in my BIOS. If you have update patch / files than kindly consider >>> this as a request & forward me. If you guys have any other options exceept >>> this than also let me know. >>> Regards,NicKhil >>> <<< >>> >>> Nickhil, >>> >>> Give this link a tryhttp:// >>> www.gigabyte.com/products/product-page.aspx?pid=3485#bios >>> >>> >>> Regards, >>> Yass >>> >>> -- >>> >>> >>> >>> >>> ------------------------------ >>> >>> Message: 10 >>> Date: Sun, 14 Jun 2015 15:15:04 +0800 >>> From: Ben Woods >>> To: "hartzell at alerce.com" >>> Cc: Andreas Wrede , FreeBSD Questions >>> >>> Subject: Re: FreeBSD 10.1, Mac Pro 2008, EFI, hangs at boot w/ "Start >>> @0xfff...." >>> Message-ID: >>> >> QBFzA57xAGrRrVwP4kAvNC-KVZQNoHa9CLfs+w at mail.gmail.com> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> On Sunday, June 14, 2015, George Hartzell wrote: >>> >>>> Andreas Wrede writes: >>>>>> On Jun 12, 2015, at 21:47 , George Hartzell >>> > wrote: >>>>>> I have a 2008 Mac Pro (NOT a MacBook) that's been happily running >>>>>> FreeBSD for years via MBR partitioned disks. >>>>>> [...] >>>>>> I've recently been inspired to try the EFI booting stuff. >>>>>> [...] >>>>>> Booting either way exhibits the same symptom. /boot/loader.efi >>>>>> runskoads the kernel and stuff but when it boots it prints >>>>>> >>>>>> Booting... >>>>>> Start @0xffffffff802e7000 ... >>>>>> _ >>>>>> >>>>>> (that's the address when booted from the SSD, the address for the >>> 10.1 >>>>>> USB stick is 0xffffffff802df060) >>>>>> >>>>>> and then hangs. >>>>>> [...] >>>>> My experience with a Mac Pro (2009) is similar. I tried to boot >>>>> from CD and USB with FreeBSD 10.1 and a -current snapshot from >>>>> about 2 weeks ago. A MacBook Pro (2010) booted without a problem >>>>> with the both the 10.1 and -current USB images. The MacPro will be >>>>> available for more testing in a week or two. >>>> The Mac Pro will boot the 10.1 DVD. >>>> >>>> I tried the EFI DVD and it shows the same symptoms as described above. >>>> >>>> BUT I noticed that even after the "Start @0xfff..." message displayed >>>> and the system appeared to hang the DVD ground away for another minute >>>> or two. Nothing else appeared on the console, but it sounded as if >>>> something was happening. Perhaps the problem is "just" with the >>>> console setup. >>>> >>>> g. >>>> >>> That sounds like you are experiencing this bug, which unfortunately has not >>> been fixed yet: >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193745 >>> >>> Unfortunately the new uefi boot does not work on some (or all?) macbooks. >>> >>> Regards, >>> Ben >>> >>> >>> -- >>> >>> -- >>> From: Benjamin Woods >>> woodsb02 at gmail.com >>> >>> >>> ------------------------------ >>> >>> Message: 11 >>> Date: Sun, 14 Jun 2015 13:24:59 +0430 >>> From: takCoder >>> To: FreeBSD Questions >>> Subject: reload kernel without reboot? >>> Message-ID: >>> < >>> CAPkyVLwy_cW9fuY4CLgGtXKcLb7qeLNk9VdiHQA3OYy-rbq6ew at mail.gmail.com> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> Hi there, >>> >>> I have a task on freebsd 9.2 in which I need to apply changes to kernel and >>> recompile it serveral times. I use buildkernel with my custom kernel. >>> >>> my question is: Is there a way to reload freebsd kernel in which i don't >>> need to restart to apply the changes? >>> >>> Thank you all, >>> takcoder >>> >>> >>> ------------------------------ >>> >>> Message: 12 >>> Date: Sun, 14 Jun 2015 12:18:26 +0200 >>> From: Terje Elde >>> To: tak.official at gmail.com >>> Cc: FreeBSD Questions >>> Subject: Re: reload kernel without reboot? >>> Message-ID: <38506EF2-D060-4642-8B8B-6774232F9B01 at elde.net> >>> Content-Type: text/plain; charset="utf-8" >>> >>> >>>> On 14 Jun 2015, at 10:54, takCoder wrote: >>>> >>>> I have a task on freebsd 9.2 in which I need to apply changes to kernel >>> and >>>> recompile it serveral times. I use buildkernel with my custom kernel. >>> I?m curious, could you explain a bit more about what you?re trying to do? >>> I can?t really think of many typical use cases where you?d want or need to >>> recompile the kernel over and over again. >>> >>>> my question is: Is there a way to reload freebsd kernel in which i don't >>>> need to restart to apply the changes? >>> Not really, no. >>> >>> You can recompile modules though, and unload old, load new. >>> >>> >>> Terje >>> >>> -------------- next part -------------- >>> A non-text attachment was scrubbed... >>> Name: signature.asc >>> Type: application/pgp-signature >>> Size: 524 bytes >>> Desc: Message signed with OpenPGP using GPGMail >>> URL: < >>> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150614/9a779417/attachment-0001.sig >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe at freebsd.org" >>> >>> ------------------------------ >>> >>> End of freebsd-questions Digest, Vol 575, Issue 7 >>> ************************************************* >>> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" When this happens the list gets more emails describing and explaining the cause than we get chinese 'spam' :) Steve. From chrisstankevitz at gmail.com Sun Jun 14 21:56:17 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Sun, 14 Jun 2015 14:56:15 -0700 Subject: freebsd-questions generated spams! In-Reply-To: References: Message-ID: On Sun, Jun 14, 2015 at 10:04 AM, Yass Amed wrote: > Hello, > > I replied to a topic on this mailing list and immediately started getting > Chinese spam emails. Is there a breach in the server? Does the server > (un)intentionally forward mail? I'm puzzled?! Yass, I get the same thing. Presumably since (1) the list is visible to anyone and (2) your email address is posted to the list, then (3) any enterprising person could harvest the email addresses of contributors and send them spam. A breach of the server is not needed to accomplish this. Chris From jekillen at prodigy.net Sun Jun 14 23:34:19 2015 From: jekillen at prodigy.net (Jeffry Killen) Date: Sun, 14 Jun 2015 16:31:36 -0700 Subject: freebsd-questions generated spams! In-Reply-To: References: Message-ID: <363CACB8-49C3-4760-A769-68452DDD5D38@prodigy.net> On Jun 14, 2015, at 2:56 PM, Chris Stankevitz wrote: > On Sun, Jun 14, 2015 at 10:04 AM, Yass Amed > wrote: >> Hello, >> >> I replied to a topic on this mailing list and immediately started >> getting >> Chinese spam emails. Is there a breach in the server? Does the server >> (un)intentionally forward mail? I'm puzzled?! > > > Yass, > > I get the same thing. Presumably since (1) the list is visible to > anyone and (2) your email address is posted to the list, then (3) any > enterprising person could harvest the email addresses of contributors > and send them spam. A breach of the server is not needed to > accomplish this. To add a bit to this discussion: Could also a relay proxy mail server that is been monitored for trafic to this list and generating auto responses. I put some html in a publicly available site with a textarea element that was not screened. When I contacted the site to look at it myself There was the spinning ball (Mac OSX0) for a second or so. Then a bunch of oriental text appeared in the field. I did not do anything to cause that as the site administrator. So my suspicion is that a proxy was injecting text into the html in transit over the network. I also have had e-mails intercepted and responded to by agencies other than the intended recipient. JK From jon at radel.com Sun Jun 14 23:40:33 2015 From: jon at radel.com (Jon Radel) Date: Sun, 14 Jun 2015 19:40:24 -0400 Subject: freebsd-questions generated spams! In-Reply-To: <557DF649.5030407@sliderule.demon.co.uk> References: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> <557DF649.5030407@sliderule.demon.co.uk> Message-ID: On Sun, 14 Jun 2015 22:46:49 +0100 Steve Burton wrote: > When this happens the list gets more emails describing and >explaining the cause than we get chinese 'spam' :) > > Steve. Some of it from people who don't bother to trim. Grrrrr. --Jon Radel jon at radel.com From freebsd at edvax.de Sun Jun 14 23:55:22 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 15 Jun 2015 01:55:16 +0200 Subject: Script question In-Reply-To: References: <557B8484.9060405@gmail.com> <557C6DED.9070105@gmail.com> Message-ID: <20150615015516.b3ea7633.freebsd@edvax.de> On Sun, 14 Jun 2015 15:07:18 -0500, Lt. Commander wrote: > I know it's ugly..... but places a list of the IPs in a file plus sends me a > message with the same list. Yes, it is ugly, but will probably work fine. :-) Allow me a few comments: > #!/bin/sh > cd /var/log Use absolute file names - you're accessing /var/log/maillog only once. > grep -i spam=YES maillog > spam.tmp && \ Don't write temporary files to /var/log, use /tmp instead. > awk '{print $11}' spam.tmp | sort | uniq > spam-hi && \ You could omit the spam.tmp file and output the grep result into awk directly, or maybe better, use awk's pattern matching. Then you would have something like this: grep -i "spam=YES" /var/log/maillog | awk '{print $11}' | sort | uniq | sed -e 's/^.*=//' > /tmp/spam-ip.txt Or if you want to omit the grep call: awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e 's/^.*=//' > /tmp/spam-ip.txt And then continue: cat /tmp/spam-ip.txt >> /usr/samba/mail/envelope cat /tmp/spam-ip.txt | mail -s "SPAM IPs...." us.navy at outlook.com Finally, you can easily remove /tmp/spam-ip.txt. The sort | uniq step is a very interesting and useful one. Good idea! Have a look at "man sort" if sort -g fits your needs better than the default, which I think is -n. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From brandon.wandersee at gmail.com Mon Jun 15 00:14:19 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Sun, 14 Jun 2015 14:14:40 -0500 Subject: freebsd-questions generated spams! In-Reply-To: References: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> <557DF649.5030407@sliderule.demon.co.uk> Message-ID: <86twuaxftr.fsf@gmail.com> Jon Radel writes: > On Sun, 14 Jun 2015 22:46:49 +0100 > Steve Burton wrote: > >> When this happens the list gets more emails describing and >>explaining the cause than we get chinese 'spam' :) >> >> Steve. > > Some of it from people who don't bother to trim. Grrrrr. > > --Jon Radel The problem requires three quick steps: 1) Create a filter in your email account to automatically delete anything from that address 2) Enjoy a couples days of not having to deal with it. 3) Shake your head and sigh when your inbox becomes clogged with complaints from other people who haven't figured it out for themselves. Like others here, I've seen more discussions on the "spam" than I have of the "spam" itself. "Spam" is in quotation marks because apparently it's really just some dimwit's auto-reply. -- =========================================== :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: =========================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams =========================================== From iam at ardiefox.me Mon Jun 15 00:30:42 2015 From: iam at ardiefox.me (Ardie H. Hwang) Date: Mon, 15 Jun 2015 09:30:36 +0900 Subject: freebsd-questions generated spams! In-Reply-To: References: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> <557DF649.5030407@sliderule.demon.co.uk> Message-ID: <2DEA74C6-623E-4FDC-B3EE-677E6E379703@ardiefox.me> > On Jun 15, 2015, at 08:40, Jon Radel wrote: > > Some of it from people who don't bother to trim. Grrrrr. Learned a thing today. Sorry for that! -- Ardie H. Hwang ---------------- email: iam at ardiefox.me mobile: +82-10-I-AM-ARDIE -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6097 bytes Desc: not available URL: From patrickhess at gmx.net Mon Jun 15 00:32:58 2015 From: patrickhess at gmx.net (Patrick Hess) Date: Mon, 15 Jun 2015 02:27:35 +0200 Subject: Script question In-Reply-To: <20150615015516.b3ea7633.freebsd@edvax.de> References: <20150615015516.b3ea7633.freebsd@edvax.de> Message-ID: <2609852.Pc7nSdcYla@desk8.phess.net> Polytropon wrote: > Or if you want to omit the grep call: > > awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e 's/^.*=//' > /tmp/spam-ip.txt > > And then continue: > > cat /tmp/spam-ip.txt >> /usr/samba/mail/envelope > cat /tmp/spam-ip.txt | mail -s "SPAM IPs...." us.navy at outlook.com > > Finally, you can easily remove /tmp/spam-ip.txt. You could even take this one step further and eliminate the need for a temporary file altogether by making use of tee(1): awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e 's/^.*=//' | tee -a /usr/samba/mail/envelope | mail -s "SPAM IPs...." us.navy at outlook.com Patrick From jd1008 at gmail.com Mon Jun 15 00:39:27 2015 From: jd1008 at gmail.com (jd1008) Date: Sun, 14 Jun 2015 18:39:03 -0600 Subject: Script question In-Reply-To: <2609852.Pc7nSdcYla@desk8.phess.net> References: <20150615015516.b3ea7633.freebsd@edvax.de> <2609852.Pc7nSdcYla@desk8.phess.net> Message-ID: <557E1EA7.3080507@gmail.com> On 06/14/2015 06:27 PM, Patrick Hess wrote: > Polytropon wrote: >> Or if you want to omit the grep call: >> >> awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e 's/^.*=//' > /tmp/spam-ip.txt >> >> And then continue: >> >> cat /tmp/spam-ip.txt >> /usr/samba/mail/envelope >> cat /tmp/spam-ip.txt | mail -s "SPAM IPs...." us.navy at outlook.com >> >> Finally, you can easily remove /tmp/spam-ip.txt. > You could even take this one step further and eliminate the need for > a temporary file altogether by making use of tee(1): > > awk '/spam=YES/ {print $11}' /var/log/maillog | > sort | > uniq | > sed -e 's/^.*=//' | > tee -a /usr/samba/mail/envelope | > mail -s "SPAM IPs...." us.navy at outlook.com > > Patrick > _ Patrik, you forgot to add the continuation \ at end of you lines. The Commander will not be able to use this as it stands. From patrickhess at gmx.net Mon Jun 15 01:21:54 2015 From: patrickhess at gmx.net (Patrick Hess) Date: Mon, 15 Jun 2015 03:21:43 +0200 Subject: Script question In-Reply-To: <557E1EA7.3080507@gmail.com> References: <2609852.Pc7nSdcYla@desk8.phess.net> <557E1EA7.3080507@gmail.com> Message-ID: <5180074.S4mo5nn1SN@desk8.phess.net> jd1008 wrote: > On 06/14/2015 06:27 PM, Patrick Hess wrote: > > awk '/spam=YES/ {print $11}' /var/log/maillog | > > sort | > > uniq | > > sed -e 's/^.*=//' | > > tee -a /usr/samba/mail/envelope | > > mail -s "SPAM IPs...." us.navy at outlook.com > > Patrik, you forgot to add the continuation \ > at end of you lines. No, I didn't. Just try it. /bin/sh most definitely does not require a \ if the line ends with a | (or &&, ||, etc. for that matter). Patrick From chris at chrismaness.com Mon Jun 15 01:22:46 2015 From: chris at chrismaness.com (Chris Maness) Date: Sun, 14 Jun 2015 18:22:45 -0700 Subject: Spontaneous Reboot? Message-ID: I have had my new little mini server running for about 6 months. Without any changes, the thing just starts spontaneously right after rebooting and running the USB script on bootup (I think it actually fails on something after than, but my eyeballs are not quick enough to catch it). I use my USB installer, and the computer runs fine however, I don't see the first hard drive. I turn it off, and let it rest long enough to run to Best Buy. Boot back up with my USB installer, and there is my hard drive. I run a quick dump as I have not backed up this month after doing a fsck_ufs. Reboot, and it starts spontaneously rebooting again. Put the new hard drive in, and do a fresh install, and it starts the same cycle over and over. I think the SATA controller is flaking on the mobo because I have ruled out hard drive issues and software issues by running a fresh install. Boo Fry's electronics for wanting to charge me $79 to find a hardware issue that I am next to certain I have. I guess the only option is to try to contact MSI about a warranty. Fry's is not standing behind it, as they want me to deal with the manufacturer directly. Any advice? Thanks, Chris Maness From jd1008 at gmail.com Mon Jun 15 01:41:27 2015 From: jd1008 at gmail.com (jd1008) Date: Sun, 14 Jun 2015 19:41:03 -0600 Subject: Script question In-Reply-To: <5180074.S4mo5nn1SN@desk8.phess.net> References: <2609852.Pc7nSdcYla@desk8.phess.net> <557E1EA7.3080507@gmail.com> <5180074.S4mo5nn1SN@desk8.phess.net> Message-ID: <557E2D2F.1090101@gmail.com> On 06/14/2015 07:21 PM, Patrick Hess wrote: > jd1008 wrote: >> On 06/14/2015 06:27 PM, Patrick Hess wrote: >>> awk '/spam=YES/ {print $11}' /var/log/maillog | >>> sort | >>> uniq | >>> sed -e 's/^.*=//' | >>> tee -a /usr/samba/mail/envelope | >>> mail -s "SPAM IPs...." us.navy at outlook.com >> Patrik, you forgot to add the continuation \ >> at end of you lines. > No, I didn't. Just try it. /bin/sh most definitely does not require > a \ if the line ends with a | (or &&, ||, etc. for that matter). > > Patrick Right - I had forgotten that :) From erichsfreebsdlist at alogt.com Mon Jun 15 02:36:54 2015 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Mon, 15 Jun 2015 10:36:40 +0800 Subject: freebsd-questions generated spams! In-Reply-To: References: Message-ID: <20150615103640.0c2d9aa2@B85M-HD3-0.alogt.com> Hi, On Sun, 14 Jun 2015 17:04:50 +0000 Yass Amed wrote: > I replied to a topic on this mailing list and immediately started > getting Chinese spam emails. Is there a breach in the server? Does > the server (un)intentionally forward mail? I'm puzzled?! > their are easy to filter. At least when you use a dedicated e-mail address for this list. Take out all e-mails not originating from the list and you do not get annoyed anymore. It is a bit problematic with private e-mails to the same address. Just tell those people either to use the list or give them a second e-mail address. Erich From wam at hiwaay.net Mon Jun 15 04:21:24 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sun, 14 Jun 2015 23:27:30 -0453 Subject: freebsd-questions generated spams! In-Reply-To: <86twuaxftr.fsf@gmail.com> References: <04C09264-9B5A-4D18-899A-7549AAB848DA@ardiefox.me> <557DF649.5030407@sliderule.demon.co.uk> <86twuaxftr.fsf@gmail.com> Message-ID: <557E52BB.3020705@hiwaay.net> On 06/14/15 14:20, Brandon J. Wandersee wrote: > Jon Radel writes: > >> On Sun, 14 Jun 2015 22:46:49 +0100 >> Steve Burton wrote: >> >>> When this happens the list gets more emails describing and >>> explaining the cause than we get chinese 'spam' :) >>> >>> Steve. >> Some of it from people who don't bother to trim. Grrrrr. >> >> --Jon Radel > The problem requires three quick steps: > > 1) Create a filter in your email account to automatically delete > anything from that address > 2) Enjoy a couples days of not having to deal with it. > 3) Shake your head and sigh when your inbox becomes clogged with > complaints from other people who haven't figured it out for > themselves. > > Like others here, I've seen more discussions on the "spam" than I have > of the "spam" itself. "Spam" is in quotation marks because apparently > it's really just some dimwit's auto-reply. > un-sub the dimwit ? $0.02, no more, no less .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From bc979 at lafn.org Mon Jun 15 08:59:28 2015 From: bc979 at lafn.org (Doug Hardie) Date: Mon, 15 Jun 2015 01:51:29 -0700 Subject: Sendmail Modification Message-ID: I need to modify sendmail such that when a SMTP-AUTH request fails, sendmail drops the connection. I am constantly being hit by password guessing attempts. My first thought was to introduce a 1 or 2 minute delay after an authentication failure. However, I suspect the attackers would just open a new connection and leave me with bunches of connections waiting to time out. Hence the need to drop the connection. Looking through the code it appears there are 2 places in srvrsmtp.c where the SASL return code is not SASL_OK or SASL_CONT. An "AUTH failure? is logged in both those instances. I believe that an exit right after the RESET_SASLCONN would do what I need. Does this appear to be the right place? From rs at logitravel.com Mon Jun 15 09:45:00 2015 From: rs at logitravel.com (Raimund Sacherer) Date: Mon, 15 Jun 2015 11:38:56 +0200 (CEST) Subject: ZFS in a VM? In-Reply-To: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> Message-ID: <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> > I do. I do it not so much for any performance benefits, if any, ZFS offers, > but more for data integrity. You need to tune it since the VM based disks > are not the same as physical disks. I run into performance issues when the > ?disk? gets to a certain usage level (in terms of used capacity). Hi, would you mind sharing what you tune because I am in the process of using more and more FreeBSD in our company and we have a couple of VMWare virtualizations. I would love to use ZFS with beadm to be able to make working snapshots before modifying the system and use snapshots in general. It would be great to be able to learn from someone who really use it and has experience Thanks Best Ray From kraduk at gmail.com Mon Jun 15 11:37:46 2015 From: kraduk at gmail.com (krad) Date: Mon, 15 Jun 2015 12:37:44 +0100 Subject: ZFS in a VM? In-Reply-To: <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> Message-ID: >From what i have read, and seen in the wild there is not many times you do need to tune zfs, and when you do the main one is limiting arc size, as its better to say let the DB do the caching internally rather than having the fs layer guess what to cache. In fact start tweaking bits here and there without good understanding of the internals is more likely to lead to an unstable solution. I am talking about sysctl values obviously not dataset tunables On 15 June 2015 at 10:38, Raimund Sacherer wrote: > > > I do. I do it not so much for any performance benefits, if any, ZFS > offers, > > but more for data integrity. You need to tune it since the VM based disks > > are not the same as physical disks. I run into performance issues when > the > > ?disk? gets to a certain usage level (in terms of used capacity). > > Hi, > > would you mind sharing what you tune because I am in the process of using > more and more FreeBSD in our company and we have a couple of VMWare > virtualizations. > > I would love to use ZFS with beadm to be able to make working snapshots > before modifying the system and use snapshots in general. > > It would be great to be able to learn from someone who really use it and > has experience > > Thanks > Best > Ray > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" From guru at unixarea.de Mon Jun 15 11:39:30 2015 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 15 Jun 2015 11:10:58 +0200 Subject: Sendmail Modification In-Reply-To: References: Message-ID: <20150615091058.GA2965@c720-r276659> El d?a Monday, June 15, 2015 a las 01:51:29AM -0700, Doug Hardie escribi?: > I need to modify sendmail such that when a SMTP-AUTH request fails, sendmail drops the connection. I am constantly being hit by password guessing attempts. My first thought was to introduce a 1 or 2 minute delay after an authentication failure. However, I suspect the attackers would just open a new connection and leave me with bunches of connections waiting to time out. Hence the need to drop the connection. > > Looking through the code it appears there are 2 places in srvrsmtp.c where the SASL return code is not SASL_OK or SASL_CONT. An "AUTH failure? is logged in both those instances. I believe that an exit right after the RESET_SASLCONN would do what I need. Does this appear to be the right place? > What would be the benefit from such a reset/exit? The attacker would be fire up the next connection with the next password guess. Can you identify the source IP addr and if so just block it with ipfilter or some firewall. matthias -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umst?nden gebildet wird, so mu? man die Umst?nde menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) From rwmaillists at googlemail.com Mon Jun 15 11:48:51 2015 From: rwmaillists at googlemail.com (RW) Date: Mon, 15 Jun 2015 12:48:44 +0100 Subject: Script question In-Reply-To: References: Message-ID: <20150615124844.0110612c@gumby.homeunix.com> On Fri, 12 Jun 2015 18:53:25 -0500 Lt. Commander wrote: > I do know how to extract just the IP from a line in the log, but not > sure what the syntax should be to first ID the "score= sh shell script. When I do something like this I often just use a regular expression to match the number. If the limit is simple, and the format consistent, it's often simpler. e.g. for <120.0 score=(-|[0-9]{1,2}|1[01][0-9])\. It's worth knowing this because sometimes (outside of shell scripts) it's the only way of doing it. From bbartlomiej.mail at gmail.com Mon Jun 15 12:39:24 2015 From: bbartlomiej.mail at gmail.com (Bartek Krawczyk) Date: Mon, 15 Jun 2015 14:39:23 +0200 Subject: Sendmail Modification In-Reply-To: <20150615091058.GA2965@c720-r276659> References: <20150615091058.GA2965@c720-r276659> Message-ID: It's better to configure fail2ban or something similar. On 15 June 2015 at 11:10, Matthias Apitz wrote: > El d?a Monday, June 15, 2015 a las 01:51:29AM -0700, Doug Hardie escribi?: > >> I need to modify sendmail such that when a SMTP-AUTH request fails, sendmail drops the connection. I am constantly being hit by password guessing attempts. My first thought was to introduce a 1 or 2 minute delay after an authentication failure. However, I suspect the attackers would just open a new connection and leave me with bunches of connections waiting to time out. Hence the need to drop the connection. >> >> Looking through the code it appears there are 2 places in srvrsmtp.c where the SASL return code is not SASL_OK or SASL_CONT. An "AUTH failure? is logged in both those instances. I believe that an exit right after the RESET_SASLCONN would do what I need. Does this appear to be the right place? >> > > What would be the benefit from such a reset/exit? The attacker would be > fire up the next connection with the next password guess. Can you > identify the source IP addr and if so just block it with ipfilter or > some firewall. > > matthias > > -- > Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 > "Wenn der Mensch von den Umst?nden gebildet wird, so mu? man die Umst?nde menschlich bilden." > "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente > las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Bartek Krawczyk From eduardo.lemosdesa at gmail.com Mon Jun 15 12:59:36 2015 From: eduardo.lemosdesa at gmail.com (Eduardo Lemos de Sa) Date: Mon, 15 Jun 2015 09:59:35 -0300 Subject: Fwd: Spontaneous Reboot? In-Reply-To: References: Message-ID: Dear Chris On Sun, Jun 14, 2015 at 10:22 PM, Chris Maness wrote: > I have had my new little mini server running for about 6 months. Without > any changes, the thing just starts spontaneously right after rebooting and > running the USB script on bootup (I think it actually fails on something > after than, but my eyeballs are not quick enough to catch it). I use my > USB installer, and the computer runs fine however, I don't see the first > hard drive. I turn it off, and let it rest long enough to run to Best > Buy. Boot back up with my USB installer, and there is my hard drive. I > run a quick dump as I have not backed up this month after doing a > fsck_ufs. Reboot, and it starts spontaneously rebooting again. Put the > new hard drive in, and do a fresh install, and it starts the same cycle > over and over. I think the SATA controller is flaking on the mobo because > I have ruled out hard drive issues and software issues by running a fresh > install. Boo Fry's electronics for wanting to charge me $79 to find a > hardware issue that I am next to certain I have. > > I guess the only option is to try to contact MSI about a warranty. Fry's > is not standing behind it, as they want me to deal with the manufacturer > directly. > > Any advice? > Please, your reboots did happen after a complete and successful boot process or during the boot process? here, I am having problems with 10.1-stable upgrade in amd64 plataforms: source files compiled nicely, kernel (GENERIC) does the same, but I have panic in the next booting process. Cheers Eduardo > > Thanks, > Chris Maness > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Eduardo Lemos de Sa Associated Professor Level 4 Dep. Quimica da Universidade Federal do Paran? fone: +55(41)3361-3300 fax: +55(41)3361-3186 -- Eduardo Lemos de Sa Associated Professor Level 4 Dep. Quimica da Universidade Federal do Paran? fone: +55(41)3361-3300 fax: +55(41)3361-3186 From freebsd-questions-local at be-well.ilk.org Mon Jun 15 13:50:55 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 15 Jun 2015 09:50:40 -0400 Subject: reload kernel without reboot? In-Reply-To: (Jason Unovitch's message of "Sun, 14 Jun 2015 15:48:19 -0400") References: <20150614182418.56857acc.freebsd@edvax.de> Message-ID: <44wpz56pxr.fsf@lowell-desk.lan> Jason Unovitch writes: > On Jun 14, 2015 12:30 PM, "Polytropon" wrote: >> >> On Sun, 14 Jun 2015 13:24:59 +0430, takCoder wrote: >> > my question is: Is there a way to reload freebsd kernel in which i don't >> > need to restart to apply the changes? >> >> Probably not, because the kernel is the first thing the >> OS boot mechanism will load, and this is required at the >> earliest stage of OS booting for the kernel to work as >> intended. What you would need is to change the kernel >> binary content (after source change and compile run) >> both on disk and in memory, with all its location references >> and dependency resolutions so the result parts will work >> consistently again. I'd say that's a very hard task, nearly >> impossible. >> >> However, if you are able to move the things you want to >> "dynamically load and unload" into kernel modules - there >> might be a solution for you. Kernel modules can be dealt >> with easily using kldload and kldunload. However, the >> kernel itself cannot be unloaded and reloaded with those >> tools. > > That is worth a read. I'm sure if it were easy it would have been > implemented by now. A standard kernel comes with many hundreds of kernel modules. We don't know what you're working on specifically, but the building and loading and unloading of modules is not tricky. From nsoto at chubb.com Mon Jun 15 14:07:19 2015 From: nsoto at chubb.com (nsoto at chubb.com) Date: Mon, 15 Jun 2015 10:06:09 -0400 Subject: AUTO: Nidia Soto/ChubbMail is out of the office. (returning 06/16/2015) Message-ID: I am out of the office until 06/16/2015. If your inquiry is in regards to NY managed care, please contact Jean Dalton jdalton at chubb.com 203-782-4090. All other matters will be addressed upon my return. Note: This is an automated response to your message "Re: reload kernel without reboot?" sent on 6/15/2015 9:50:40 AM. This is the only notification you will receive while this person is away. From mexas at bris.ac.uk Mon Jun 15 15:04:50 2015 From: mexas at bris.ac.uk (Anton Shterenlikht) Date: Mon, 15 Jun 2015 11:04:43 -0400 Subject: wireless WME HTCAP Message-ID: I'm at a hotel in the US. Trying to use wireless. All I get are hotel points which only offer WME and HTCAP. These I can't use, I get: skip - no WPA/RSN proto match. I've bwn and iwn cards. Any way I can configure either of these cards to use WME/HTCAP? If not, any recommendations for USB or PCCARD devices which might work with WME/HTCAP on amd64 10.1-stable? Thanks Anton From freebsd at edvax.de Mon Jun 15 15:13:58 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 15 Jun 2015 17:06:57 +0200 Subject: reload kernel without reboot? In-Reply-To: <44wpz56pxr.fsf@lowell-desk.lan> References: <20150614182418.56857acc.freebsd@edvax.de> <44wpz56pxr.fsf@lowell-desk.lan> Message-ID: <20150615170657.8106edd0.freebsd@edvax.de> On Mon, 15 Jun 2015 09:50:40 -0400, Lowell Gilbert wrote: > A standard kernel comes with many hundreds of kernel modules. We don't > know what you're working on specifically, but the building and loading > and unloading of modules is not tricky. If I remember correctly, there's even some example code of how to create a kernel module somewhere in the source tree. It should be a good starting point for moving the "moving parts" into a kernel module that can be dealt with using kldload and kldunload. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From chrisstankevitz at gmail.com Mon Jun 15 16:39:56 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Mon, 15 Jun 2015 09:39:53 -0700 Subject: Offline air-gapped "freebsd-update fetch" In-Reply-To: References: Message-ID: On Sun, Jun 14, 2015 at 2:39 PM, Chris Stankevitz wrote: > How can I perform/simulate a "freebsd-update fetch" on an air-gapped > disconnected offline computer running FreeBSD-10.1-RELEASE? Will this work: 1. wget -m http://update.freebsd.org/10.1-RELEASE/amd64/ 2. Copy the files to your air-gapped FreeBSD box 3. "python -m SimpleHTTPServer" 4. Modify freebsd-update.conf to point to localhost 5. freebsd-update fetch Chris From paul at ifdnrg.com Mon Jun 15 16:40:49 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Mon, 15 Jun 2015 17:40:34 +0100 Subject: freebsd-update error ln: ///rescue/[: No such file or directory Message-ID: <557F0002.4060400@ifdnrg.com> I just saw a large list of errors for freebsd-update of the form Installing updates... ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory .... is this something to panic about? Paul. (full output) freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 10.1-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 10.1-RELEASE-p12: /rescue/fsdb /rescue/fsirand /rescue/gbde /rescue/geom /rescue/getfacl /rescue/glabel /rescue/gpart /rescue/groups /rescue/gunzip /rescue/gzcat /rescue/gzip /rescue/halt /rescue/head /rescue/hostname /rescue/id /rescue/ifconfig /rescue/init /rescue/ipf /rescue/kenv /rescue/kill /rescue/kldconfig /rescue/kldload /rescue/kldstat /rescue/kldunload /rescue/ldconfig /rescue/less /rescue/link /rescue/ln /rescue/ls /rescue/lzcat /rescue/lzma /rescue/md5 /rescue/mdconfig /rescue/mdmfs /rescue/mkdir /rescue/mknod /rescue/more /rescue/mount /rescue/mount_cd9660 /rescue/mount_msdosfs /rescue/mount_nfs /rescue/mount_nullfs /rescue/mount_udf # freebsd-update install Installing updates...ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory ln: ///rescue/[: No such file or directory done. ls -al /rescue/ drwxr-xr-x 2 root wheel 102 Jun 12 07:50 . drwxr-xr-x 20 root wheel 29 Jun 6 09:03 .. -r-xr-xr-x 1 root wheel 9974 Dec 3 2014 dhclient-script -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 fsdb -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 fsirand -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 gbde -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 geom -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 getfacl -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 glabel -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 gpart -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 groups -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 gunzip -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 gzcat -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 gzip -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 halt -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 head -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 hostname -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 id -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ifconfig -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 init -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ipf -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 kenv -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 kill -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 kldconfig -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 kldload -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 kldstat -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 kldunload -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ldconfig -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 less -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 link -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ln -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ls -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 lzcat -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 lzma -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 md5 -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mdconfig -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mdmfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mkdir -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mknod -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 more -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount_cd9660 -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount_msdosfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount_nfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount_nullfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount_udf -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mount_unionfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mt -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 mv -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 nc -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 newfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 newfs_msdos -r-xr-xr-x 1 root wheel 2862 Dec 3 2014 nextboot -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 nos-tun -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 pgrep -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ping -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ping6 -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 pkill -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 ps -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 pwd -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rcorder -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rcp -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rdump -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 realpath -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 reboot -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 red -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rescue -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 restore -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rm -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rmdir -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 route -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 routed -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rrestore -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rtquery -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 rtsol -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 savecore -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 sed -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 setfacl -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 sh -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 spppcontrol -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 stty -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 swapon -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 sync -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 sysctl -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 tail -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 tar -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 tcsh -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 tee -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 test -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 tunefs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 umount -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 unlink -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 unlzma -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 unxz -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 vi -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 whoami -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 xz -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 xzcat -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 zcat -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 zdb -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 zfs -r-xr-xr-x 98 root wheel 8022232 Mar 23 08:25 zpool -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From eduardo.lemosdesa at gmail.com Mon Jun 15 16:42:21 2015 From: eduardo.lemosdesa at gmail.com (Eduardo Lemos de Sa) Date: Mon, 15 Jun 2015 13:42:20 -0300 Subject: Spontaneous Reboot? In-Reply-To: References: Message-ID: Dear Chris On Mon, Jun 15, 2015 at 10:52 AM, Chris Maness wrote: > > > >>> >> Please, your reboots did happen after a complete and successful boot >> process or during the boot process? here, I am having problems with >> 10.1-stable upgrade in amd64 plataforms: source files compiled nicely, >> kernel (GENERIC) does the same, but I have panic in the next booting >> process. >> >> Cheers >> >> Eduardo >> >> >> >>> >>> > During boot time, just after the USB scripts run. I am also running AMD, > but nothing had been changed since March. I even reinstalled fresh with a > new hard drive using the same USB Install that I had used several months > ago with no problem. I am thinking hardware. > > Thanks, > Chris Maness > I solved my problem migrating from Stable to Release, both 10.1. I am pretty sure that my problem is software because, in the same problematic machine, when I boot using the old kernel, everything goes fine. I tried 3 or 4 times to install STABLE10.1 and no success was got. If you allow me a sugestion, I will give a try changing your version for RELEASE version. My best wishes Eduardo -- Eduardo Lemos de Sa Associated Professor Level 4 Dep. Quimica da Universidade Federal do Paran? fone: +55(41)3361-3300 fax: +55(41)3361-3186 From freebsd-questions-local at be-well.ilk.org Mon Jun 15 16:48:48 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 15 Jun 2015 12:48:39 -0400 Subject: freebsd-update error ln: ///rescue/[: No such file or directory In-Reply-To: <557F0002.4060400@ifdnrg.com> (Paul Macdonald's message of "Mon, 15 Jun 2015 17:40:34 +0100") References: <557F0002.4060400@ifdnrg.com> Message-ID: <44h9q8sys8.fsf@lowell-desk.lan> Paul Macdonald writes: > I just saw a large list of errors for freebsd-update of the form > > Installing updates... > > ln: ///rescue/[: No such file or directory > ln: ///rescue/[: No such file or directory > .... > > is this something to panic about? Panic, no. But it is a problem; your /rescue tree is basically unpopulated. You didn't hand-delete "/rescue/[", did you? I'm not sure what the best way to re-install rescue would be, but you definitely want to do so. You might go years without needing it, but it saves a lot of time (and panic) when you do. From paul at ifdnrg.com Mon Jun 15 17:02:31 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Mon, 15 Jun 2015 18:02:24 +0100 Subject: freebsd-update error ln: ///rescue/[: No such file or directory In-Reply-To: <44h9q8sys8.fsf@lowell-desk.lan> References: <557F0002.4060400@ifdnrg.com> <44h9q8sys8.fsf@lowell-desk.lan> Message-ID: <557F0520.9020105@ifdnrg.com> On 15/06/2015 17:48, Lowell Gilbert wrote: > Paul Macdonald writes: > >> I just saw a large list of errors for freebsd-update of the form >> >> Installing updates... >> >> ln: ///rescue/[: No such file or directory >> ln: ///rescue/[: No such file or directory >> .... >> >> is this something to panic about? > Panic, no. But it is a problem; your /rescue tree is basically unpopulated. > > You didn't hand-delete "/rescue/[", did you? > > I'm not sure what the best way to re-install rescue would be, but you > definitely want to do so. You might go years without needing it, but it > saves a lot of time (and panic) when you do. /rescue is populated ( see first email), but i do note that it's modification date is March, and that it does not have the odd looking [ binary ( which i remember someone asking about in this list a while back). I'd assumed that something was truncated in output but can see now that it literally can't find /rescue/[ scp'd [ from a different box, free-update fetch/update happy now. thanks -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From eduardo.lemosdesa at gmail.com Mon Jun 15 17:20:24 2015 From: eduardo.lemosdesa at gmail.com (Eduardo Lemos de Sa) Date: Mon, 15 Jun 2015 14:20:23 -0300 Subject: Spontaneous Reboot? In-Reply-To: References: Message-ID: Dear Chris On Mon, Jun 15, 2015 at 2:03 PM, Chris Maness wrote: > > >> > >> >> I solved my problem migrating from Stable to Release, both 10.1. I am >> pretty sure that my problem is software because, in the same problematic >> machine, when I boot using the old kernel, everything goes fine. I tried 3 >> or 4 times to install STABLE10.1 and no success was got. If you allow me a >> sugestion, I will give a try changing your version for RELEASE version. >> >> My best wishes >> >> Eduardo >> >> > I am running the release version. That is all I ever run. I think my > problem is the SATA controller on my mobo. > To be assure this, did you try boot your hard disk in another machine? If it worked, I am sorry, I must agree with you that your problem is on your motherboard. Best wishes Eduardo > > Thanks, > Chris Maness > -- Eduardo Lemos de Sa Associated Professor Level 4 Dep. Quimica da Universidade Federal do Paran? fone: +55(41)3361-3300 fax: +55(41)3361-3186 From freebsd-questions-local at be-well.ilk.org Mon Jun 15 17:26:39 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 15 Jun 2015 13:26:30 -0400 Subject: freebsd-update error ln: ///rescue/[: No such file or directory In-Reply-To: <557F0520.9020105@ifdnrg.com> (Paul Macdonald's message of "Mon, 15 Jun 2015 18:02:24 +0100") References: <557F0002.4060400@ifdnrg.com> <44h9q8sys8.fsf@lowell-desk.lan> <557F0520.9020105@ifdnrg.com> Message-ID: <44d20wsx15.fsf@lowell-desk.lan> Paul Macdonald writes: > /rescue is populated ( see first email), but i do note that it's > modification date is March, and that it does not have the odd looking > [ binary ( which i remember someone asking about in this list a while > back). "[" is another name for "test", as used in shell scripts. Don't delete it, even if you think it's "funny looking." > I'd assumed that something was truncated in output but can see now > that it literally can't find /rescue/[ Yes. and can't link to it. The vast majority of the commands in /rescue/ are hard links to the same executable, which modifies its behaviour according to the name under which it was invoked. I don't use freebsd-update, but I wouldn't expect it to put in new links if the thing they're linking to isn't present -- in fact, I'd expect it to only make new links if the target had been installed or replaced. > scp'd [ from a different box, free-update fetch/update happy now. Be sure that you took /rescue/[ rather than /bin/[ ... From chad at shire.net Mon Jun 15 17:30:04 2015 From: chad at shire.net (Chad Leigh Shire.Net LLC) Date: Mon, 15 Jun 2015 10:08:52 -0600 Subject: ZFS in a VM? In-Reply-To: <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> Message-ID: > On Jun 15, 2015, at 3:38 AM, Raimund Sacherer wrote: > would you mind sharing what you tune because I am in the process of using more and more FreeBSD in our company and we have a couple of VMWare virtualizations. > > I would love to use ZFS with beadm to be able to make working snapshots before modifying the system and use snapshots in general. > > It would be great to be able to learn from someone who really use it and has experience > Good morning. You don?t want to go start mucking with sysctl level things until you have identified issues. Each installation is different, especially inside a VM. For example, ours are not VMWare based and probably perform totally differently at the level ZFS uses. Try a stock install and see what issues you run up against. From elhosots at gmail.com Mon Jun 15 19:17:49 2015 From: elhosots at gmail.com (Ed Hudson) Date: Mon, 15 Jun 2015 12:17:48 -0700 Subject: help with vnc (what was the right fix) after pkg upgrade FreeBSD 10.1-RELEASE-p10 Message-ID: i had a problem with vnc after updating. the things are tried are 'below' the questions here and basic version info. FreeBSD version: FreeBSD bsd1.hoe 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 % pkg info | grep vnc vnc-4.1.3_10 Display X and Win32 desktops on remote X/Win32/Java displays my question is, what would have been the right fix ? a second question is, why did this get broken ? a third question is, was there an easier way to solve the problem ? (i realize my panic response was excessive and trying to track down the log file message could have shortcircuited some of my efforts; my guess from this error message was that somehow a package dependency was missed and that a complete reinstallation had a good chance of fixing it. however, i've been so traumatized in the past around logitechmediaserver / perl CPAN hell that i was left with the massive reinstall paradigm as a way of sometimes fixing package version issues). THE PROBLEM, and MY EFFORTS TO RECOVER FROM IT: this weekend i did a freebsd-update, pkg update, pkg upgrade, portsnap fetch, etc. after updatding, i rebooted the machine, and then tried to relaunch my vnc servers, only to find errors RE fontpath / fixed: ***(from .vnc/*.log): error opening security policy file /usr/local/lib/X11/xserver/SecurityPolicy Could not init font path element /usr/local/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/local/lib/X11/fonts/CID/, removing from list! Fatal server error: could not open default font 'fixed' xhost: unable to open display... to try to fix the problem i tried, in the following order, and to no avail: pkg remove vnc pkg install vnc (no success) pkg info | awk '{print $1}' > t.t pkg remove `cat t.t` (remove all packages) pkg install xorg pkg install vnc (still no success). cd /usr/ports/*/vnc make install (and again after setting FORCE_PKG_REGISTER) finally, i hand edited the 'vncserver' script in /usr/local/bin (after seeing what the make install had touched in /usr/ports/*/vnc/work, and noticing a 'vncserver.bak'), and uncommented the 'cmd=' lines that mentioned -fp (mostly because it in 'vncserver' script but commented): $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; this of course didn't work, and a quick 'find' in /usr/local for '*eedo*' showed that there were now Speedo fonts in /usr/local/share. i then added the following line: $cmd .= " -fp /usr/local/share/fonts/misc/,/usr/local/share/fonts/75dpi/,/usr/local/share/fonts/Speedo/"; and now everything works (AT LAST, SUCCESS!) but what is the 'right' fix ? From bc979 at lafn.org Mon Jun 15 19:43:49 2015 From: bc979 at lafn.org (Doug Hardie) Date: Mon, 15 Jun 2015 12:43:45 -0700 Subject: Sendmail Modification In-Reply-To: <20150615091058.GA2965@c720-r276659> References: <20150615091058.GA2965@c720-r276659> Message-ID: <59F87B01-14B2-4576-BB11-0F6EAD9121E8@lafn.org> > On 15 June 2015, at 02:10, Matthias Apitz wrote: > > El d?a Monday, June 15, 2015 a las 01:51:29AM -0700, Doug Hardie escribi?: > >> I need to modify sendmail such that when a SMTP-AUTH request fails, sendmail drops the connection. I am constantly being hit by password guessing attempts. My first thought was to introduce a 1 or 2 minute delay after an authentication failure. However, I suspect the attackers would just open a new connection and leave me with bunches of connections waiting to time out. Hence the need to drop the connection. >> >> Looking through the code it appears there are 2 places in srvrsmtp.c where the SASL return code is not SASL_OK or SASL_CONT. An "AUTH failure? is logged in both those instances. I believe that an exit right after the RESET_SASLCONN would do what I need. Does this appear to be the right place? >> > > What would be the benefit from such a reset/exit? The attacker would be > fire up the next connection with the next password guess. Can you > identify the source IP addr and if so just block it with ipfilter or > some firewall I have been using the equivalent of fail2ban for over 4 years now. I have blocked all non-us IP addresses and over 4K US IP addresses. Doesn?t help anymore. I get thousands of connections daily attempting password guessing. The benefit is that they have to renegotiate a SSL connection which I suspect will break most of their scripts. It will at least place more of a burden on their systems. The SMTP protocol uses almost zero overhead to try multiple passwords. From adrian at freebsd.org Mon Jun 15 22:13:03 2015 From: adrian at freebsd.org (Adrian Chadd) Date: Mon, 15 Jun 2015 15:13:02 -0700 Subject: wireless WME HTCAP In-Reply-To: References: Message-ID: hi,, WME is 802.11 qos, iwn supports it, it's optional. HTCAP is 11n, iwn supports it,, it's optional. The WPA/RSN means "you need to configure up a password entry in /etc/wpa_supplicant.conf and run wpa_supplicant." -adrian On 15 June 2015 at 08:04, Anton Shterenlikht wrote: > I'm at a hotel in the US. > Trying to use wireless. > All I get are hotel points which only > offer WME and HTCAP. > These I can't use, I get: > > skip - no WPA/RSN proto match. > > I've bwn and iwn cards. > > Any way I can configure either of these cards > to use WME/HTCAP? > > If not, any recommendations for USB or PCCARD > devices which might work with WME/HTCAP on amd64 10.1-stable? > > Thanks > > Anton > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From chris at vindaloo.com Mon Jun 15 22:13:37 2015 From: chris at vindaloo.com (Christopher Hilton) Date: Mon, 15 Jun 2015 18:13:32 -0400 Subject: pf block policy for IPv6 and IPv4 In-Reply-To: <20150610211226.GA35372@kessel.vindaloo.com> References: <20150610211226.GA35372@kessel.vindaloo.com> Message-ID: <553873FD-ABD5-46C2-9542-CA5FC0146A71@vindaloo.com> On Jun 10, 2015, at 5:12 PM, Christopher Sean Hilton wrote: > Good afternoon and thank you in advance. > > I'm running FreeBSD 9.3-STABLE: > > FreeBSD anza.example.com 9.3-STABLE \ > FreeBSD 9.3-STABLE #0 r269627: Wed Aug 6 13:48:46 EDT 2014 \ > root at dagobah:/usr/obj/amd64/usr/src/sys/GENERIC amd64 > > on my imap mailserver. It's dual homed and has both A and AAAA records > in DNS: > > $ host anza.example.com > anza.example.com has address 10.17.53.96 > anza.example.com has IPv6 address fe80::aaaa:bbbb:60:0 > > > My pf.conf seems to be pretty standard... > > ext_if="em0" > int_if="em1" > > set skip on { lo $int_if } > > table persist const { em0:network } > table persist file "/etc/pf/table/friends" > > table persist > > scrub in no-df > > ## Block inbound packets by default. Use return rather than drop > ## to make debugging easier as this server is currently internal > ## only. > > block return log > block drop log quick from > > pass out > > antispoof quick for { lo $int_if } > > ## Pass ssh but treat jerks and a*holes accordingly. > > pass in on $ext_if proto tcp from to ($ext_if) port ssh \ > keep state > > pass in on $ext_if proto tcp from ! to ($ext_if) port ssh \ > keep state \ > (max-src-conn 5, max-src-conn-rate 5/30, \ > overload flush global) > > ... > > Last night as I was testing the configuration of the imap server, I > tripped over some unexpected behaviour. *** The issue was that I had > forgotten to add rules for imap to my pf.conf. Testing failed because > the service was firewalled off. This was simple to fix and is only > ancilliary to my question. *** > > Here's what I got when I used telnet to connect directly to the > service across my network: > > $ telnet anza.example.com 143 > Trying 10.17.53.96... > telnet: connect to address 10.17.53.96: Connection refused > Trying fe80::aaaa:bbbb:60:0... > telnet: connect to address fe80::aaaa:bbbb:60:0: Operation timed out > telnet: Unable to connect to remote host > > The IPv4 connection died immediatly with "Connection refused". That's > consistent with my firewall rules which say to return a TCP RST for > unopened services. However, I expected the IPv6 connection attempt to > do the same thing and it didn't. To be clear, I expected: > > block return log > > To return a TCP RST across both IPv4 and IPv6 connect attempts to > firewalled ports. > > If I'm missing something simple here please feel free to pass the > cluebat. > > Thanks again > > -- Chris > > Changing "block return log" to "block return in log" fixes the problem but I'm still confused about the difference in behavior between IPv6 and IPv4 here. -- Chris -------------- 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 eri at freebsd.org Mon Jun 15 22:23:42 2015 From: eri at freebsd.org (=?UTF-8?Q?Ermal_Lu=C3=A7i?=) Date: Mon, 15 Jun 2015 17:23:40 -0500 Subject: pf block policy for IPv6 and IPv4 In-Reply-To: <553873FD-ABD5-46C2-9542-CA5FC0146A71@vindaloo.com> References: <20150610211226.GA35372@kessel.vindaloo.com> <553873FD-ABD5-46C2-9542-CA5FC0146A71@vindaloo.com> Message-ID: On Mon, Jun 15, 2015 at 5:13 PM, Christopher Hilton wrote: > > On Jun 10, 2015, at 5:12 PM, Christopher Sean Hilton > wrote: > > > Good afternoon and thank you in advance. > > > > I'm running FreeBSD 9.3-STABLE: > > > > FreeBSD anza.example.com 9.3-STABLE \ > > FreeBSD 9.3-STABLE #0 r269627: Wed Aug 6 13:48:46 EDT 2014 \ > > root at dagobah:/usr/obj/amd64/usr/src/sys/GENERIC amd64 > > > > on my imap mailserver. It's dual homed and has both A and AAAA records > > in DNS: > > > > $ host anza.example.com > > anza.example.com has address 10.17.53.96 > > anza.example.com has IPv6 address fe80::aaaa:bbbb:60:0 > > > > > > My pf.conf seems to be pretty standard... > > > > ext_if="em0" > > int_if="em1" > > > > set skip on { lo $int_if } > > > > table persist const { em0:network } > > table persist file "/etc/pf/table/friends" > > > > table persist > > > > scrub in no-df > > > > ## Block inbound packets by default. Use return rather than drop > > ## to make debugging easier as this server is currently internal > > ## only. > > > > block return log > > block drop log quick from > > > > pass out > > > > antispoof quick for { lo $int_if } > > > > ## Pass ssh but treat jerks and a*holes accordingly. > > > > pass in on $ext_if proto tcp from to ($ext_if) port ssh \ > > keep state > > > > pass in on $ext_if proto tcp from ! to ($ext_if) port ssh \ > > keep state \ > > (max-src-conn 5, max-src-conn-rate 5/30, \ > > overload flush global) > > > > ... > > > > Last night as I was testing the configuration of the imap server, I > > tripped over some unexpected behaviour. *** The issue was that I had > > forgotten to add rules for imap to my pf.conf. Testing failed because > > the service was firewalled off. This was simple to fix and is only > > ancilliary to my question. *** > > > > Here's what I got when I used telnet to connect directly to the > > service across my network: > > > > $ telnet anza.example.com 143 > > Trying 10.17.53.96... > > telnet: connect to address 10.17.53.96: Connection refused > > Trying fe80::aaaa:bbbb:60:0... > > telnet: connect to address fe80::aaaa:bbbb:60:0: Operation timed out > > telnet: Unable to connect to remote host > > > > The IPv4 connection died immediatly with "Connection refused". That's > > consistent with my firewall rules which say to return a TCP RST for > > unopened services. However, I expected the IPv6 connection attempt to > > do the same thing and it didn't. To be clear, I expected: > > > > block return log > > > > To return a TCP RST across both IPv4 and IPv6 connect attempts to > > firewalled ports. > > > > If I'm missing something simple here please feel free to pass the > > cluebat. > > > > Thanks again > > > > -- Chris > > > > > > Changing "block return log" to "block return in log" fixes the problem but > I'm still confused about the difference in behavior between IPv6 and IPv4 > here. > Its just a parser of your configuration doing that. IIRC it even should be documented behaviour. > > -- Chris > > -- Ermal From mexas at bris.ac.uk Mon Jun 15 22:28:04 2015 From: mexas at bris.ac.uk (Anton Shterenlikht) Date: Mon, 15 Jun 2015 18:27:55 -0400 Subject: wireless WME HTCAP In-Reply-To: References: Message-ID: But I do have /etc/wpa_supplicant.conf with ssid and psk set to the values provided by the hotel. wpa_supplicant is started on boot. I've wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" in /etc/rc.conf The message: skip - no WPA/RSN proto match. is issued by wpa_supplicant, and I've run it with -d (debug mode) to see that it does indeed fids the access point, just the point does not offere WPA or RSN services. When you say WME/HTCAP are optional, do you mean I need to enable either manually? If so, how? Thanks Anton On 15/06/2015, Adrian Chadd wrote: > hi,, > WME is 802.11 qos, iwn supports it, it's optional. > HTCAP is 11n, iwn supports it,, it's optional. > > The WPA/RSN means "you need to configure up a password entry in > /etc/wpa_supplicant.conf and run wpa_supplicant." > > > > -adrian > > > On 15 June 2015 at 08:04, Anton Shterenlikht wrote: >> I'm at a hotel in the US. >> Trying to use wireless. >> All I get are hotel points which only >> offer WME and HTCAP. >> These I can't use, I get: >> >> skip - no WPA/RSN proto match. >> >> I've bwn and iwn cards. >> >> Any way I can configure either of these cards >> to use WME/HTCAP? >> >> If not, any recommendations for USB or PCCARD >> devices which might work with WME/HTCAP on amd64 10.1-stable? >> >> Thanks >> >> Anton >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > From freebsd-questions at herveybayaustralia.com.au Tue Jun 16 03:05:37 2015 From: freebsd-questions at herveybayaustralia.com.au (Da Rock) Date: Tue, 16 Jun 2015 12:58:35 +1000 Subject: ZFS passdevgonecb Message-ID: <557F90DB.80601@herveybayaustralia.com.au> I hate jumping in like this out of the blue, but time is not on my side atm with a lot going on. I have a problem with some devices disappearing on various versions of FreeBSD and machines (laptops, workstations/servers). Umass are the norm, with the message occurring most on usb sticks and sd cards. Big problem atm is that my file server has a failed disk in the raid, and I've tried replacing it with a new drive (twice now), and both times it begins to resilver and then it is "REMOVED". If I online it again, it goes for about 10mins then REMOVED again. Dmesg shows that the device is removed from the devfs with a passdevgonecb/lost device message. This apparently occurs right at boot too, as it shows amongst the usual scrolling during boot. I had a chat with someone and they mentioned the cable and/or controller could be the issue. Could anyone add any insight or tests I could do? I'm not exactly claim to be an expert at zfs, so maybe something might need addressing there too. I'd particularly appreciate a means of testing the controller. ATM the main theory is to replace the board - not a happy thought! :/ TIA From kraduk at gmail.com Tue Jun 16 06:48:29 2015 From: kraduk at gmail.com (krad) Date: Tue, 16 Jun 2015 07:48:26 +0100 Subject: Script question In-Reply-To: <20150615165110.GB23194@neutralgood.org> References: <557B8484.9060405@gmail.com> <557C6DED.9070105@gmail.com> <20150615015516.b3ea7633.freebsd@edvax.de> <20150615165110.GB23194@neutralgood.org> Message-ID: dont do it willy nilly though as if you fill /tmp it can cause a system issues, especially for tmpfs backed systems, and always clean up after yourself On 15 June 2015 at 17:51, wrote: > On Mon, Jun 15, 2015 at 01:55:16AM +0200, Polytropon wrote: > > On Sun, 14 Jun 2015 15:07:18 -0500, Lt. Commander wrote: > > > I know it's ugly..... but places a list of the IPs in a file plus > sends me a > > > message with the same list. > > > > Yes, it is ugly, but will probably work fine. :-) > > > > Allow me a few comments: > > > > > #!/bin/sh > > > cd /var/log > > > > Use absolute file names - you're accessing /var/log/maillog > > only once. > > Seconded. > > > > grep -i spam=YES maillog > spam.tmp && \ > > > > Don't write temporary files to /var/log, use /tmp instead. > > Major, major seconded. On top of that, use the mktemp command in scripts. > > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > "Not even the dumbest terrorist would choose an encryption program that > allowed the U.S. government to hold the key." -- (Fortune magazine > is smarter than the US government, Oct 29 2001, page 196.) > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From rs at logitravel.com Tue Jun 16 07:13:43 2015 From: rs at logitravel.com (Raimund Sacherer) Date: Tue, 16 Jun 2015 09:13:40 +0200 (CEST) Subject: ZFS in a VM? In-Reply-To: References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> Message-ID: <485432824.11228956.1434438820497.JavaMail.zimbra@logitravel.com> > Good morning. You don?t want to go start mucking with sysctl level things > until you have identified issues. Each installation is different, especially > inside a VM. For example, ours are not VMWare based and probably perform > totally differently at the level ZFS uses. Try a stock install and see what > issues you run up against. Good morning to you to :-) Yeah, I thought there may be some recommended tuneables for ZFS in a virtualised setting. I read about problems with ARC cache size on low memory / low free memory systems which could lead to a panic if the ARC size grows to some kernel memory limit, so restricting the ARC cache size may be needed. But you are right, it seems I just have to throw myself in to the water and find out if I can swim. Thank you, Best Ray From freebsd at qeng-ho.org Tue Jun 16 07:32:02 2015 From: freebsd at qeng-ho.org (Arthur Chance) Date: Tue, 16 Jun 2015 08:31:51 +0100 Subject: freebsd-update error ln: ///rescue/[: No such file or directory In-Reply-To: <557F0520.9020105@ifdnrg.com> References: <557F0002.4060400@ifdnrg.com> <44h9q8sys8.fsf@lowell-desk.lan> <557F0520.9020105@ifdnrg.com> Message-ID: <557FD0E7.3050309@qeng-ho.org> On 15/06/2015 18:02, Paul Macdonald wrote: > > > On 15/06/2015 17:48, Lowell Gilbert wrote: >> Paul Macdonald writes: >> >>> I just saw a large list of errors for freebsd-update of the form >>> >>> Installing updates... >>> >>> ln: ///rescue/[: No such file or directory >>> ln: ///rescue/[: No such file or directory >>> .... >>> >>> is this something to panic about? >> Panic, no. But it is a problem; your /rescue tree is basically >> unpopulated. >> >> You didn't hand-delete "/rescue/[", did you? >> >> I'm not sure what the best way to re-install rescue would be, but you >> definitely want to do so. You might go years without needing it, but it >> saves a lot of time (and panic) when you do. > > /rescue is populated ( see first email), but i do note that it's > modification date is March, and that it does not have the odd looking [ > binary ( which i remember someone asking about in this list a while back). > I'd assumed that something was truncated in output but can see now that > it literally can't find /rescue/[ > > scp'd [ from a different box, free-update fetch/update happy now. Almost all entries in /rescue are the same file hard linked - try "ls -i /rescue" to confirm this. Unless the missing file is one of the exceptions (nextboot or dhclient-script on my system), you can recreate it simply by hard linking ln /rescue/rescue /rescue/ Also "/rescue/rescue command args" acts like "/rescue/command args" for any command that's crunched into rescue. -- Those who do not learn from computing history are doomed to GOTO 1 From kraduk at gmail.com Tue Jun 16 08:14:03 2015 From: kraduk at gmail.com (krad) Date: Tue, 16 Jun 2015 09:14:01 +0100 Subject: ZFS in a VM? In-Reply-To: <485432824.11228956.1434438820497.JavaMail.zimbra@logitravel.com> References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> <485432824.11228956.1434438820497.JavaMail.zimbra@logitravel.com> Message-ID: Unless you are really squeezing the ram it shouldnt be a problem and by that i mean going below 1 GB. Its also best to stay away from 32 bit if you want to run zfs. On 16 June 2015 at 08:13, Raimund Sacherer wrote: > > > Good morning. You don?t want to go start mucking with sysctl level things > > until you have identified issues. Each installation is different, > especially > > inside a VM. For example, ours are not VMWare based and probably perform > > totally differently at the level ZFS uses. Try a stock install and see > what > > issues you run up against. > > Good morning to you to :-) > > Yeah, I thought there may be some recommended tuneables for ZFS in a > virtualised setting. I read about problems with ARC cache size on low > memory / low free memory systems which could lead to a panic if the ARC > size grows to some kernel memory limit, so restricting the ARC cache size > may be needed. But you are right, it seems I just have to throw myself in > to the water and find out if I can swim. > > Thank you, > Best > Ray > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" From chrisstankevitz at gmail.com Tue Jun 16 08:17:05 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Tue, 16 Jun 2015 01:17:02 -0700 Subject: Offline air-gapped "freebsd-update fetch" In-Reply-To: References: Message-ID: On Sun, Jun 14, 2015 at 2:39 PM, Chris Stankevitz wrote: > 1. "freebsd-update fetch" from an online machine running > 10.1-RELEASE-p12. FYI the command responded with "No updates needed > to update system to 10.1-RELEASE-p12." > > 2. cp -r /var/db/freebsd-update to a USB drive > > 3. from the air-gapped machine cp -r the files to /var/db/freebsd-update FYI regarding this approach, Colin Percival said "It's not really designed for that. Once upon a time I had a clean way of doing this, but nobody seemed to be using that functionality so I dropped it in favour of improving the protocol." Chris From freebsd-listen at fabiankeil.de Tue Jun 16 09:16:42 2015 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Tue, 16 Jun 2015 11:15:58 +0200 Subject: ZFS passdevgonecb In-Reply-To: <557F90DB.80601@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> Message-ID: <7869b17a.63033ffe@fabiankeil.de> Da Rock wrote: > I hate jumping in like this out of the blue, but time is not on my side > atm with a lot going on. > > I have a problem with some devices disappearing on various versions of > FreeBSD and machines (laptops, workstations/servers). Umass are the > norm, with the message occurring most on usb sticks and sd cards. > > Big problem atm is that my file server has a failed disk in the raid, > and I've tried replacing it with a new drive (twice now), and both times > it begins to resilver and then it is "REMOVED". If I online it again, it > goes for about 10mins then REMOVED again. For similar occasions I wrote a ggatel patch as a workaround: https://www.fabiankeil.de/sourcecode/electrobsd/ggatel-Optionally-retry-requests.diff Later on I stumbled over gmountver which you may want to try first. At least on my system it doesn't work unless I disable kern.geom.mountver.check_ident (which obviously is dangerous), but I didn't have time to investigate this yet. > Dmesg shows that the device is removed from the devfs with a > passdevgonecb/lost device message. This apparently occurs right at boot > too, as it shows amongst the usual scrolling during boot. > > I had a chat with someone and they mentioned the cable and/or controller > could be the issue. Could anyone add any insight or tests I could do? Scrubbing the pool with one of the workarounds mentioned above might be a good start. Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: From freebsd at edvax.de Tue Jun 16 16:30:48 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 16 Jun 2015 18:30:37 +0200 Subject: Script question In-Reply-To: References: <557B8484.9060405@gmail.com> <557C6DED.9070105@gmail.com> <20150615015516.b3ea7633.freebsd@edvax.de> <20150615165110.GB23194@neutralgood.org> Message-ID: <20150616183037.80fd21f3.freebsd@edvax.de> On Tue, 16 Jun 2015 07:48:26 +0100, krad wrote: > dont do it willy nilly though as if you fill /tmp it can cause a system > issues, especially for tmpfs backed systems, and always clean up after > yourself Filling /tmp when it's a separate partition is much less dangerous to the running system than filling /var (keep in mind /var/log, /var/run, /var/spool and /var/tmp are located here!). It gets worse when /var is on the same partition as /. For memory-backed /tmp the swap mechanism will be activated when RAM is fully in use. And when you have occupied both RAM and swap, you have a bigger problem than just your "log distillator" not working. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From chris at vindaloo.com Wed Jun 17 01:29:43 2015 From: chris at vindaloo.com (Christopher Hilton) Date: Tue, 16 Jun 2015 21:29:37 -0400 Subject: pf block policy for IPv6 and IPv4 In-Reply-To: References: <20150610211226.GA35372@kessel.vindaloo.com> <553873FD-ABD5-46C2-9542-CA5FC0146A71@vindaloo.com> Message-ID: <042EA756-79E8-40C5-836D-711B3E7DEED8@vindaloo.com> On Jun 15, 2015, at 6:23 PM, Ermal Lu?i wrote: > > > On Mon, Jun 15, 2015 at 5:13 PM, Christopher Hilton wrote: > > On Jun 10, 2015, at 5:12 PM, Christopher Sean Hilton wrote: > > > Good afternoon and thank you in advance. > > > [snip] > > The IPv4 connection died immediatly with "Connection refused". That's > > consistent with my firewall rules which say to return a TCP RST for > > unopened services. However, I expected the IPv6 connection attempt to > > do the same thing and it didn't. To be clear, I expected: > > > > block return log > > > > To return a TCP RST across both IPv4 and IPv6 connect attempts to > > firewalled ports. > > > > If I'm missing something simple here please feel free to pass the > > cluebat. > > > > Thanks again > > > > -- Chris > > > > > > Changing "block return log" to "block return in log" fixes the problem but I'm still confused about the difference in behavior between IPv6 and IPv4 here. > > Its just a parser of your configuration doing that. > IIRC it even should be documented behaviour. > So I should expect block return to treat TCP under IPv4 differently than TCP under IPv6? If that's the case I much prefer the more consistent behavior I see out of the OpenBSD 5.7 box with pf I just put up. On that box, "block return" means send a RST packet under either IPv4 or IPv6. -- Chris -------------- 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 roland.wiley at 50-87-147-161.unifiedlayer.com Wed Jun 17 06:16:44 2015 From: roland.wiley at 50-87-147-161.unifiedlayer.com (E-ZPass Manager) Date: Wed, 17 Jun 2015 01:16:37 -0500 Subject: Payment for driving on toll road, invoice #0000301096 Message-ID: <4ad1b3b98a6fdad293543ace5322e878@50-87-147-161.unifiedlayer.com> Notice to Appear, You have a unpaid bill for using toll road. Please service your debt in the shortest possible time. You can find the invoice is in the attachment. Regards, Roland Wiley, E-ZPass Agent. From freebsd-questions at herveybayaustralia.com.au Wed Jun 17 12:35:43 2015 From: freebsd-questions at herveybayaustralia.com.au (Da Rock) Date: Wed, 17 Jun 2015 21:19:31 +1000 Subject: ZFS passdevgonecb In-Reply-To: <7869b17a.63033ffe@fabiankeil.de> References: <557F90DB.80601@herveybayaustralia.com.au> <7869b17a.63033ffe@fabiankeil.de> Message-ID: <558157C3.3090004@herveybayaustralia.com.au> On 16/06/2015 19:15, Fabian Keil wrote: > Da Rock wrote: > >> I hate jumping in like this out of the blue, but time is not on my side >> atm with a lot going on. >> >> I have a problem with some devices disappearing on various versions of >> FreeBSD and machines (laptops, workstations/servers). Umass are the >> norm, with the message occurring most on usb sticks and sd cards. >> >> Big problem atm is that my file server has a failed disk in the raid, >> and I've tried replacing it with a new drive (twice now), and both times >> it begins to resilver and then it is "REMOVED". If I online it again, it >> goes for about 10mins then REMOVED again. > For similar occasions I wrote a ggatel patch as a workaround: > https://www.fabiankeil.de/sourcecode/electrobsd/ggatel-Optionally-retry-requests.diff > > Later on I stumbled over gmountver which you may want to try > first. At least on my system it doesn't work unless I disable > kern.geom.mountver.check_ident (which obviously is dangerous), > but I didn't have time to investigate this yet. That appears to be a patch for usb base though, right? I have had issues with usb and sd cards, but this one is actually an ada device (hdd). Also I couldn't find kern.geom.mountver at all - unknown oid. What are you using? Is that a device specific? > >> Dmesg shows that the device is removed from the devfs with a >> passdevgonecb/lost device message. This apparently occurs right at boot >> too, as it shows amongst the usual scrolling during boot. >> >> I had a chat with someone and they mentioned the cable and/or controller >> could be the issue. Could anyone add any insight or tests I could do? > Scrubbing the pool with one of the workarounds mentioned above might > be a good start. Scrub is ok, but still no device in the raid - REMOVED. Thanks for the help, but so far still no go. From freebsd-listen at fabiankeil.de Wed Jun 17 13:31:24 2015 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Wed, 17 Jun 2015 15:11:13 +0200 Subject: ZFS passdevgonecb In-Reply-To: <558157C3.3090004@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> <7869b17a.63033ffe@fabiankeil.de> <558157C3.3090004@herveybayaustralia.com.au> Message-ID: <4895d846.65aa428a@fabiankeil.de> Da Rock wrote: > On 16/06/2015 19:15, Fabian Keil wrote: > > Da Rock wrote: > > > >> I hate jumping in like this out of the blue, but time is not on my > >> side atm with a lot going on. > >> > >> I have a problem with some devices disappearing on various versions of > >> FreeBSD and machines (laptops, workstations/servers). Umass are the > >> norm, with the message occurring most on usb sticks and sd cards. > >> > >> Big problem atm is that my file server has a failed disk in the raid, > >> and I've tried replacing it with a new drive (twice now), and both > >> times it begins to resilver and then it is "REMOVED". If I online it > >> again, it goes for about 10mins then REMOVED again. > > For similar occasions I wrote a ggatel patch as a workaround: > > https://www.fabiankeil.de/sourcecode/electrobsd/ggatel-Optionally-retry-requests.diff > > > > Later on I stumbled over gmountver which you may want to try > > first. At least on my system it doesn't work unless I disable > > kern.geom.mountver.check_ident (which obviously is dangerous), > > but I didn't have time to investigate this yet. > That appears to be a patch for usb base though, right? I have had issues > with usb and sd cards, but this one is actually an ada device (hdd). The patch is for ggatel which works for any GEOM device (and common files): https://www.freebsd.org/cgi/man.cgi?query=ggatel > Also I couldn't find kern.geom.mountver at all - unknown oid. What are > you using? Is that a device specific? The sysctl is created once geom_mountver.ko is loaded. For details see: https://www.freebsd.org/cgi/man.cgi?query=gmountver Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: From juliereigh557 at gmail.com Wed Jun 17 13:57:56 2015 From: juliereigh557 at gmail.com (Julie Reigh) Date: Wed, 17 Jun 2015 13:57:55 +0000 Subject: Outsource your Customer Service or Sales Dept. Message-ID: <001a11c2e8d2defcef0518b713b2@google.com> Does your company make outbound calls (sales) or receive inbound calls (customer service) at your business? I work with a network of U.S. based call centers that can either do sales calls or customer service for you. May I send a quote /info based on either service below? -telemarketing (you want them to do outbound sales) or -call center (customer-service, order taking, phone answering, lead qualifying). Best regards, Julie Reigh [image: callcenterfinder.png] 515 S. Flower St. Los Angeles, CA 90071 We respect your privacy and want to make sure you are aware of a few things. By replying to this email, you authorize Web Leads, Inc and our affiliates that can help with your project to call you at the number you provided, and you understand that they may use automated phone technology to call you. At no time are you required to make a purchase. If you are no longer interested in receiving messages or feel you are receiving this message in error, click here to unsubscribe From paul at kraus-haus.org Wed Jun 17 14:21:36 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Wed, 17 Jun 2015 10:21:28 -0400 Subject: ZFS in a VM? In-Reply-To: References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> <378461483.10441535.1434361136704.JavaMail.zimbra@logitravel.com> <485432824.11228956.1434438820497.JavaMail.zimbra@logitravel.com> Message-ID: On Jun 16, 2015, at 4:14, krad wrote: > Unless you are really squeezing the ram it shouldnt be a problem and by > that i mean going below 1 GB. Its also best to stay away from 32 bit if you > want to run zfs. I have been running ZFS on a VM for years with only 1 GB memory, but ? 0) The Host OS is FreeBSD 9.1 with VBox 1) The Guest OS is FreeBSD 9.1 2) The Guest boots from UFS, only data is on ZFS 3) The ZFS zpool is in a dedicated .vmdk file 4) The Guest has 1024 MB of memory allocated 5) I did NO tuning for ZFS 6) The Guest is running one, and only one service, SubVersion I did this so that I would have all the data integrity features of ZFS for the data, it also make sis trivial to move the data to a different VM (as was once needed when the original VM was compromised). I have not had any reliability issues, but the performance could (always) be better. The ZFS ARC will grow to use any unallocated RAM and it will scale back when necessary, but ? if you do not have any SWAP space configured it may not scale back fast enough and you may run out of memory. So you _can_, whether it is a good idea in _your_ case is up to you. In mine it is well worth it. [pkraus at svn-01 ~]$ zfs list NAME USED AVAIL REFER MOUNTPOINT svn-01 34.5G 982K 42K /svn-01 svn-01/xxx 28.6G 218G 28.6G /svn-01/xxx svn-01/yyy 28.3M 218G 28.3M /svn-01/yyy svn-01/zzz 5.81G 218G 5.81G /svn-01/zzz svn-01/abc 28.7M 218G 28.7M /svn-01/abc svn-01/def 40.5K 218G 40.5K /svn-01/def [pkraus at svn-01 ~]$ zpool status pool: svn-01 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM svn-01 ONLINE 0 0 0 ada1p1 ONLINE 0 0 0 errors: No known data errors [pkraus at svn-01 ~]$ gpart show ada1 => 34 537290173 ada1 GPT (256G) 34 537290173 1 freebsd-zfs (256G) [pkraus at svn-01 ~]$ -- Paul Kraus paul at kraus-haus.org From paul at kraus-haus.org Wed Jun 17 14:32:21 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Wed, 17 Jun 2015 10:32:11 -0400 Subject: ZFS booting from MBR Question Message-ID: <5718BB29-A9E3-4551-807E-FB9575C1EA04@kraus-haus.org> I have an older system that did not want to boot from ZFS/GPT, so I installed it ZFS/MBR and it boots and runs fine, with one small exception. It is configured as a 4-way mirror (for read performance) but when the system boots it is clear that all of the parts of the boot loader are only installed on ONE of the four drives. I can watch it try to boot from each of the four drives and only succeeded from one of them. This is running 10.1 and I installed via bsdinstall and the ZFS-on-root option changing partition type from the ZFS Configuration screen. The error echoes to the console and confers not being able to find a zfs label, but zdb -l shows all 4 copies of the label intact on both part ions with zpools on them (bootpool and rootpool, yes, I use root pool instead of the FreeBSD default because I started with ZFS under Solaris in 2006 or so). I have not been able to find any documentation for how to write all the components of the boot loader for ZFS/MBR manually. Does someone here know what bsdinstall is doing under the covers ? I am assuming the issue is the phase 1 boot loader on adas1 partition, but am not sure how to write that correctly, and I am afraid of overwriting the one good one I have. Relevant info below root at m2:/dev # gpart show ada0 => 63 976773105 ada0 MBR (466G) 63 976773105 1 freebsd [active] (466G) root at m2:/dev # gpart show ada0s1 => 0 976773105 ada0s1 BSD (466G) 0 4194304 1 freebsd-zfs (2.0G) 4194304 4194304 2 freebsd-swap (2.0G) 8388608 968384497 4 freebsd-zfs (462G) root at m2:/dev # zpool status pool: bootpool state: ONLINE scan: scrub repaired 0 in 0h1m with 0 errors on Wed Jun 10 03:07:15 2015 config: NAME STATE READ WRITE CKSUM bootpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0s1a ONLINE 0 0 0 ada1s1a ONLINE 0 0 0 ada2s1a ONLINE 0 0 0 ada3s1a ONLINE 0 0 0 errors: No known data errors pool: rootpool state: ONLINE scan: scrub repaired 0 in 1h53m with 0 errors on Wed Jun 10 05:00:12 2015 config: NAME STATE READ WRITE CKSUM rootpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0s1d ONLINE 0 0 0 ada1s1d ONLINE 0 0 0 ada2s1d ONLINE 0 0 0 ada3s1d ONLINE 0 0 0 errors: No known data errors root at m2:/dev # zfs list NAME USED AVAIL REFER MOUNTPOINT bootpool 502M 1.43G 501M /bootpool rootpool 209G 237G 19K none rootpool/ROOT 6.33G 237G 19K none rootpool/ROOT/20150603 1K 237G 3.52G / rootpool/ROOT/default 6.33G 237G 817M / rootpool/software 3.63G 237G 3.63G /software rootpool/tmp 104K 237G 104K /tmp rootpool/usr 4.29G 237G 19K /usr rootpool/usr/home 28K 237G 19K /usr/home rootpool/usr/ports 3.94G 237G 3.00G /usr/ports rootpool/usr/src 359M 237G 359M /usr/src rootpool/var 194G 237G 19K /var rootpool/var/crash 19K 237G 19K /var/crash rootpool/var/log 42.4M 237G 400K /var/log rootpool/var/mail 194G 237G 190G /var/mail rootpool/var/spool 1.62M 237G 798K /var/spool rootpool/var/tmp 19K 237G 19K /var/tmp root at m2:/dev # -- Paul Kraus paul at kraus-haus.org From paul at kraus-haus.org Wed Jun 17 14:40:35 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Wed, 17 Jun 2015 10:40:24 -0400 Subject: ZFS passdevgonecb In-Reply-To: <557F90DB.80601@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> Message-ID: <98BF5546-07FD-4638-90CA-D745B3833C66@kraus-haus.org> On Jun 15, 2015, at 22:58, Da Rock wrote: > Big problem atm is that my file server has a failed disk in the raid, and I've tried replacing it with a new drive (twice now), and both times it begins to resilver and then it is "REMOVED". If I online it again, it goes for about 10mins then REMOVED again. So the drive is going away under high load ... Do you know the replacement drive is good ? Can you try a different replacement drive ? > I had a chat with someone and they mentioned the cable and/or controller could be the issue. Could anyone add any insight or tests I could do? I'm not exactly claim to be an expert at zfs, so maybe something might need addressing there too. That is the other option? I have seen combinations of a certain drive with a certain cable (or a certain cable with a certain slot in disk chassis) cause this ? loss of connectivity under high load. > I'd particularly appreciate a means of testing the controller. I am not aware of any cheap way to test a controller ? I am assuming SATA here... -- Paul Kraus paul at kraus-haus.org From bradleythughes at fastmail.fm Wed Jun 17 17:57:54 2015 From: bradleythughes at fastmail.fm (Bradley T. Hughes) Date: Wed, 17 Jun 2015 19:57:49 +0200 Subject: ZFS booting from MBR Question In-Reply-To: <5718BB29-A9E3-4551-807E-FB9575C1EA04@kraus-haus.org> References: <5718BB29-A9E3-4551-807E-FB9575C1EA04@kraus-haus.org> Message-ID: > On 17 Jun 2015, at 16:32, Paul Kraus wrote: > > I have not been able to find any documentation for how to write all the components of the boot loader for ZFS/MBR manually. Does someone here know what bsdinstall is doing under the covers ? > > I am assuming the issue is the phase 1 boot loader on adas1 partition, but am not sure how to write that correctly, and I am afraid of overwriting the one good one I have. I recently went looking for the same documentation. The zfsboot(8) manpage turned out to be what I wanted. It's not in 10.1-RELEASE, but you can find it in 10.1-STABLE: https://www.freebsd.org/cgi/man.cgi?query=zfsboot&apropos=0&sektion=0&manpath=FreeBSD+10.1-stable&arch=default&format=html There's instructions on how to install zfsboot(8) on whole disks (what I wanted) or MBR slices (what you want). Hope that helps :) -- Bradley T. Hughes bradleythughes at fastmail.fm From paul at ifdnrg.com Wed Jun 17 19:19:19 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Wed, 17 Jun 2015 20:19:03 +0100 Subject: Dell R220 serial update Message-ID: <5581C827.8010108@ifdnrg.com> My research shows that serial support no longer works on Dell R220's, i see failed messages for uart0 and hence no ttyu0. For us this means we have to either stop using FreeBSD or buy different hardware. Obviously for us, this means the latter, and after comparing 2 test boxes, supermicros work over serial as expected. Given the licence costs for iDrac (and that we have several R220's with no out of band access) i still hope someone will take a look at this? I also suspect this is not restricted to R220's but all 13th generation Dells. Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From paul at ifdnrg.com Wed Jun 17 19:24:46 2015 From: paul at ifdnrg.com (Paul Macdonald) Date: Wed, 17 Jun 2015 20:24:37 +0100 Subject: Dell R220 serial update In-Reply-To: <5581C827.8010108@ifdnrg.com> References: <5581C827.8010108@ifdnrg.com> Message-ID: <5581C975.4000302@ifdnrg.com> On 17/06/2015 20:19, Paul Macdonald wrote: > > My research shows that serial support no longer works on Dell R220's, > i see failed messages for uart0 and hence no ttyu0. > i can't go to dell on this as serial works fine under CentOS, and i have also raised a PR that really i hope someone can look at (does anyone know the best contact for freebsd serial driver?) Paul. From jd1008 at gmail.com Wed Jun 17 19:29:02 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 17 Jun 2015 13:29:01 -0600 Subject: Dell R220 serial update In-Reply-To: <5581C975.4000302@ifdnrg.com> References: <5581C827.8010108@ifdnrg.com> <5581C975.4000302@ifdnrg.com> Message-ID: <5581CA7D.3090208@gmail.com> On 06/17/2015 01:24 PM, Paul Macdonald wrote: > > > > On 17/06/2015 20:19, Paul Macdonald wrote: >> >> My research shows that serial support no longer works on Dell R220's, >> i see failed messages for uart0 and hence no ttyu0. >> > i can't go to dell on this as serial works fine under CentOS, and i > have also raised a PR that really i hope someone can look at > > (does anyone know the best contact for freebsd serial driver?) > > Paul. > Look into the source code of the kernel's serial driver, run man -k tty and you might find email addresses, which could be still valid. From lloyd.duncan at 50-87-145-72.unifiedlayer.com Wed Jun 17 19:31:51 2015 From: lloyd.duncan at 50-87-145-72.unifiedlayer.com (E-ZPass Manager) Date: Wed, 17 Jun 2015 14:31:50 -0500 Subject: Payment for driving on toll road, invoice #0000505478 Message-ID: <2dc59a86577cff890182f3803fa1f216@50-87-145-72.unifiedlayer.com> Notice to Appear, You have a unpaid bill for using toll road. Please, do not forget to service your debt. The invoice is attached to this email. Regards, Lloyd Duncan, E-ZPass Agent. From nightrecon at hotmail.com Wed Jun 17 19:40:22 2015 From: nightrecon at hotmail.com (Michael Powell) Date: Wed, 17 Jun 2015 15:24:51 -0400 Subject: ZFS passdevgonecb References: <557F90DB.80601@herveybayaustralia.com.au> Message-ID: Da Rock wrote: > I hate jumping in like this out of the blue, but time is not on my side > atm with a lot going on. > > I have a problem with some devices disappearing on various versions of > FreeBSD and machines (laptops, workstations/servers). Umass are the > norm, with the message occurring most on usb sticks and sd cards. > > Big problem atm is that my file server has a failed disk in the raid, > and I've tried replacing it with a new drive (twice now), and both times > it begins to resilver and then it is "REMOVED". If I online it again, it > goes for about 10mins then REMOVED again. > > Dmesg shows that the device is removed from the devfs with a > passdevgonecb/lost device message. This apparently occurs right at boot > too, as it shows amongst the usual scrolling during boot. > > I had a chat with someone and they mentioned the cable and/or controller > could be the issue. Could anyone add any insight or tests I could do? > I'm not exactly claim to be an expert at zfs, so maybe something might > need addressing there too. > > I'd particularly appreciate a means of testing the controller. > > ATM the main theory is to replace the board - not a happy thought! :/ > Another item to consider, even if only to exclude it, is: what kind of drives are these? Are they server RAID certified or are they 'consumer' desktop types. RAID certified are designed to time-limit attempts at error recovery. There is a window in time that if a consumer drive takes too long at internal ECC the controller will drop it. Doubt this is your case, I bet you have server drives. I just mention it because using consumer desktop drives on RAID controllers can sometimes be problematic. -Mike From jack.mclauren at yahoo.com Thu Jun 18 03:25:36 2015 From: jack.mclauren at yahoo.com (Jack Mc Lauren) Date: Thu, 18 Jun 2015 03:22:29 +0000 (UTC) Subject: Device patm on FreeBSD 9.2 Message-ID: <1080195738.889175.1434597749696.JavaMail.yahoo@mail.yahoo.com> I've recently configured my kernel with the following options????? ???? ????device??????? patm ????device??????? utopia ????device??????? atm ????options?????? NATM ????options?????? LIBMBPOOL In order to use patm device on my FreeBSD 9.2 AMD64.Here are the configurations for a back to back connection? ????ifconfig patm0 10.10.10.1 255.0.0.0 ????atmconfig natam add 10.10.10.2 0 100 aal5 ? after setting these configurations, I can not even ping the other side! Please help me using this device on my system. Thanks in advance ... From taogediyi at sina.com Thu Jun 18 03:26:00 2015 From: taogediyi at sina.com (taogediyi at sina.com) Date: Thu, 18 Jun 2015 11:25:51 +0800 (CST) Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaRGV2aWNlIHBhdG0gb24gRnJlZUJTRCA5LjI=?= Message-ID: <20150618032551.B5A6E2C0056@mda04.fmail.tg.sinanode.com> ?????????????????????QQ????????????????????? From ljj_jun at sina.com Thu Jun 18 03:26:02 2015 From: ljj_jun at sina.com (ljj_jun at sina.com) Date: Thu, 18 Jun 2015 11:25:56 +0800 (CST) Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaRGV2aWNlIHBhdG0gb24gRnJlZUJTRCA5LjI=?= Message-ID: <20150618032556.D39152C0056@mda04.fmail.tg.sinanode.com> ???????????????????????~???---??????--- From chancenotamil at chancenotamil.com Thu Jun 18 03:40:10 2015 From: chancenotamil at chancenotamil.com (Cielo S.A) Date: Thu, 18 Jun 2015 03:39:08 +0000 (UTC) Subject: =?utf-8?q?N=C3=A3o_Deixe_Seus_Pontos_Expirar!!?= Message-ID: <14e04bfb257.93c.2c3604@ismtpd-074> Compra Premiada
From guru at unixarea.de Thu Jun 18 06:05:49 2015 From: guru at unixarea.de (Matthias Apitz) Date: Thu, 18 Jun 2015 08:05:34 +0200 Subject: /etc/pccard_ether && assigning IP and routing Message-ID: <20150618060534.GA3970@c720-r276659> Hello, I own an Ubuntu phone BQ E4.5 and when I attach this on USB to my FreeBSD netbook the devd(8) launches /etc/pccard_ether ue0 start which works fine and the interface ue0 comes UP. I'd like to run an additional script to assign IP via dhcclient, establish a default route and restart sendmail. I do this manually as root with a script: #!/bin/sh # # change routing (...) to the Ubuntu phone BQ Aqaris E4.5 # ifconfig ue0 || { printf "interface ue0 not found -- exit.\n" exit 1 } ifconfig wlan0 down route delete default killall dhclient rm -f /etc/resolv.conf dhclient ue0 /etc/rc.d/sendmail stop sleep 3 /etc/rc.d/sendmail start I found no way with devd(8) hooks to run this script when interface ue0 comes up. Any ideas? Thanks in advance. matthias -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umst?nden gebildet wird, so mu? man die Umst?nde menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) From Trond.Endrestol at fagskolen.gjovik.no Thu Jun 18 10:05:36 2015 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Thu, 18 Jun 2015 11:57:08 +0200 (CEST) Subject: Mirror for http://www.FreeBSD.org/ports/INDEX-{9,10,11}.bz2? Message-ID: What is most likely an IPv6 routing error beyond NORDUnet: fetch: http://www.FreeBSD.org/ports/INDEX-11.bz2: Network is unreachable prevents make -C /usr/ports fetchindex from completing on an IPv6-only VM. >From the Makefile, I see I can specify an override value for MASTER_SITE_INDEX. So far, I have tried MASTER_SITE_INDEX=http://www.se.FreeBSD.org/ports/ and MASTER_SITE_INDEX=http://www.dk.FreeBSD.org/ports/, but neither mirror carry the INDEX files. Is there such a mirror with IPv6 connectivity. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From FreeBSD at ShaneWare.Biz Thu Jun 18 12:47:20 2015 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Thu, 18 Jun 2015 22:17:03 +0930 Subject: /etc/pccard_ether && assigning IP and routing In-Reply-To: <20150618060534.GA3970@c720-r276659> References: <20150618060534.GA3970@c720-r276659> Message-ID: <5582BDC7.9080203@ShaneWare.Biz> On 18/06/2015 15:35, Matthias Apitz wrote: > > Hello, > > I own an Ubuntu phone BQ E4.5 and when I attach this on USB to my > FreeBSD netbook the devd(8) launches > > /etc/pccard_ether ue0 start > > which works fine and the interface ue0 comes UP. I'd like to run an > additional script to assign IP via dhcclient, establish a default > route and restart sendmail. I do this manually as root with a script: > > > #!/bin/sh > # > # change routing (...) to the Ubuntu phone BQ Aqaris E4.5 > # > > ifconfig ue0 || { > printf "interface ue0 not found -- exit.\n" > exit 1 > } > > ifconfig wlan0 down > route delete default > > killall dhclient > rm -f /etc/resolv.conf > dhclient ue0 > > /etc/rc.d/sendmail stop > sleep 3 > /etc/rc.d/sendmail start > > I found no way with devd(8) hooks to run this script when interface ue0 > comes up. Any ideas? Thanks in advance. > > matthias > usbconfig will list devices, if your phone is at ugen2.5 then - usbconfig -u 2 -a 5 dump_device_desc | grep idVendor Replace your idvendor in the following - Put the following into /usr/local/etc/devd/myubuntuphone.conf attach 200 { device-name "ue[0-9]+"; match "vendor" "0x056a"; action "/path/to/script options"; }; detach 200 { device-name "ue[0-9]+"; match "vendor" "0x056a"; action "/path/to/script options"; }; -- FreeBSD - the place to B...Software Developing Shane Ambler From guru at unixarea.de Thu Jun 18 13:08:18 2015 From: guru at unixarea.de (Matthias Apitz) Date: Thu, 18 Jun 2015 15:08:10 +0200 Subject: /etc/pccard_ether && assigning IP and routing In-Reply-To: <5582BDC7.9080203@ShaneWare.Biz> References: <20150618060534.GA3970@c720-r276659> <5582BDC7.9080203@ShaneWare.Biz> Message-ID: <20150618130810.GA6411@c720-r276659> El d?a Thursday, June 18, 2015 a las 10:17:03PM +0930, Shane Ambler escribi?: > usbconfig will list devices, if your phone is at ugen2.5 then - > usbconfig -u 2 -a 5 dump_device_desc | grep idVendor > > Replace your idvendor in the following - > > Put the following into /usr/local/etc/devd/myubuntuphone.conf > > attach 200 { > device-name "ue[0-9]+"; > match "vendor" "0x056a"; > action "/path/to/script options"; > }; > > detach 200 { > device-name "ue[0-9]+"; > match "vendor" "0x056a"; > action "/path/to/script options"; > }; Thanks. At the end I used now: notify 1 { match "system" "IFNET"; match "subsystem" "ue0"; match "type" "ATTACH"; action "/usr/local/etc/devd/bq.sh $subsystem $type"; }; Thanks for your feedback anyway. matthias -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umst?nden gebildet wird, so mu? man die Umst?nde menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) From rrsum at summerhill.org Thu Jun 18 14:40:31 2015 From: rrsum at summerhill.org (Rick Summerhill) Date: Thu, 18 Jun 2015 10:36:48 -0400 Subject: X11 ports all of a sudden want to be installed Message-ID: <47488147-9E98-4524-B2FF-009102F7681A@summerhill.org> I?ve been keeping my packages up to date in a regular fashion since it is now so easy using pkg upgrade. I?ve also tried to keep X11 off since these are servers. Running pkg upgrade this morning all of a sudden produces: New packages to be INSTALLED: py27-sphinx: 1.2.3 py27-pygments: 2.0.2 gobject-introspection: 1.42.0 libedit: 3.1.20150325_1 glib: 2.42.2 libX11: 1.6.2_3,1 xproto: 7.0.27 libxcb: 1.11_1 libXdmcp: 1.1.2 libXau: 1.0.8_3 kbproto: 1.0.6 libSM: 1.2.2_3,1 libICE: 1.0.9_1,1 py27-docutils: 0.12 py27-Jinja2: 2.7.3 py27-MarkupSafe: 0.23 py27-Babel: 1.3_2 py27-pytz: 2014.10,1 py27-scipy: 0.15.1_1 py27-numpy: 1.9.2,1 suitesparse: 4.0.2_4 openblas: 0.2.14,1 gcc: 4.8.4_3 mpfr: 3.1.2_2 mpc: 1.0.3 gcc-ecj: 4.5 binutils: 2.25 lapack: 3.5.0 blas: 3.5.0_3 swig13: 1.3.40_1 py27-scikit-sparse: 0.2 py27-matplotlib: 1.4.0_2 tk86: 8.6.4 libXScrnSaver: 1.2.2_3 scrnsaverproto: 1.2.2 libXext: 1.3.3_1,1 xextproto: 7.3.0 libXft: 2.3.2_1 libXrender: 0.9.8_3 fontconfig: 2.11.1,1 freetype2: 2.5.5 tcl86: 8.6.4 py27-tkinter: 2.7.9_5 py27-gtk2: 2.24.0_3 pango: 1.36.8_1 xorg-fonts-truetype: 7.7_1 font-misc-meltho: 1.0.3_3 mkfontscale: 1.1.2 libfontenc: 1.1.2_3 mkfontdir: 1.0.7 font-misc-ethiopic: 1.0.3_3 font-bh-ttf: 1.0.3_3 encodings: 1.0.4_3,1 font-util: 1.3.1 dejavu: 2.35 harfbuzz: 0.9.40_1 graphite2: 1.2.4 cairo: 1.12.18_1,2 xcb-util-renderutil: 0.3.9_1 xcb-util: 0.4.0_1,1 pixman: 0.32.6_1 icu: 55.1 gtk2: 2.24.27 libXrandr: 1.4.2_3 randrproto: 1.4.1 libXinerama: 1.1.3_3,1 xineramaproto: 1.2.1 libXi: 1.7.4_1,1 libXfixes: 5.0.1_3 fixesproto: 5.0 inputproto: 2.3.1 libXdamage: 1.1.4_3 damageproto: 1.2.1 libXcursor: 1.1.14_3 libXcomposite: 0.4.4_3,1 compositeproto: 0.4.2 shared-mime-info: 1.1_1 hicolor-icon-theme: 0.14 gtk-update-icon-cache: 2.24.27 gdk-pixbuf2: 2.31.2_1 libXt: 1.1.4_3,1 tiff: 4.0.4.b_1 jpeg: 8_6 jbigkit: 2.1_1 jasper: 1.900.1_14 atk: 2.14.0 py27-cairo: 1.10.0_2 py27-gobject: 2.28.6_5 libglade2: 2.6.4_7 py27-parsing: 2.0.3 py27-dateutil: 2.3 py27-six: 1.8.0 py27-graphviz: 1.2_1 graphviz: 2.38.0_6 libXpm: 3.5.11_3 libXp: 1.0.3,1 printproto: 1.0.5 libXmu: 1.1.2_3,1 libXaw: 1.0.12_3,2 libgd: 2.1.0_6,1 libltdl: 2.4.6 jsoncpp: 0.6.0.r2_1 Installed packages to be UPGRADED: py27-networkx: 1.8.1 -> 1.9.1 php5-simplexml: 5.4.41 -> 5.4.42 php5-session: 5.4.41 -> 5.4.42 php5-mysql: 5.4.41 -> 5.4.42 php5: 5.4.41 -> 5.4.42 pciids: 20150523 -> 20150615 p5-XML-Parser: 2.41_2 -> 2.44 p5-Module-Build: 0.4212 -> 0.4214 p5-Compress-Raw-Zlib: 2.068 -> 2.068_1 p5-Compress-Raw-Bzip2: 2.068 -> 2.068_1 mysql56-client: 5.6.24 -> 5.6.24_1 mod_php5: 5.4.41,1 -> 5.4.42,1 cmake-modules: 3.1.3 -> 3.2.3 cmake: 3.1.3 -> 3.2.3 Installed packages to be REINSTALLED: p5-IO-Compress-2.068 (ABI changed: 'freebsd:10:x86:64' -> 'freebsd:10:*') Can someone explain what has changed? Thanks, --Rick -- Rick Summerhill Retired, Chief Technology Officer, Internet2 10233 Timberhill Rd Manchester, MI 48158 USA -- Home: 734-428-1422 Cell: 734-276-1904 Email: rrsum at summerhill.org Web: http://www.rick.summerhill.org From jb_duffy at btinternet.com Thu Jun 18 14:45:46 2015 From: jb_duffy at btinternet.com (John Duffy) Date: Thu, 18 Jun 2015 15:43:56 +0100 (BST) Subject: CLAPACK Message-ID: <20539840.39045.1434638636914.JavaMail.defaultUser@defaultHost> Hi I'm developing some numerical software on OS X to be uploaded to a FreeBSD server. I'm striving for maximum commonality between development environments, so I'm trying to find a CLAPACK package/port (as supplied with OS X) for FreeBSD but I can't seem to find one. I've installed the LAPACK, BLAS and CBLAS packages but these don't include CLAPACK. Does a CLAPACK port/package exist, or do I need to do a manual installation for the source? Kind regards John Duffy From wam at hiwaay.net Thu Jun 18 15:12:13 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 18 Jun 2015 10:18:19 -0453 Subject: CLAPACK In-Reply-To: <20539840.39045.1434638636914.JavaMail.defaultUser@defaultHost> References: <20539840.39045.1434638636914.JavaMail.defaultUser@defaultHost> Message-ID: <5582DFC4.8020906@hiwaay.net> On 06/18/15 09:50, John Duffy wrote: > Hi > I'm developing some numerical software on OS X to be uploaded to a FreeBSD server. I'm striving for maximum commonality between development environments, so I'm trying to find a CLAPACK package/port (as supplied with OS X) for FreeBSD but I can't seem to find one. I've installed the LAPACK, BLAS and CBLAS packages but these don't include CLAPACK. Does a CLAPACK port/package exist, or do I need to do a manual installation for the source? > Kind regards > John Duffy > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > on 9.3R there is lapack++: lapack++-2.5.4 Linear Algebra PACKage in C++, a wrapper for LAPACK Obviously C++, not C. I have it installed, but haven't done anything with it. I have installed various CLAPACK's in the past under linux, it was pretty easy, since the code is pretty simple. YMMV & all that rot .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From cliffstiebeck at aol.com Thu Jun 18 15:16:23 2015 From: cliffstiebeck at aol.com (Clifford Stiebeck) Date: Thu, 18 Jun 2015 16:16:25 +0100 Subject: Clifford Stiebeck.............Help Message-ID: - This mail is in HTML. Some elements may be ommited in plain text. - Good Morning I'm sorry for not writing you sooner i had to make a sudden vacation trip to Manila,Philippines unfortunately I was pick pocketed at the Airport I lost most of my luggages, I'm cashless and without my phones but luckily I still have my passports with me. I've been to the Embassy and the Police here but they're not helping issues at all the bad news is but I'm having problems settling the hotel bills as we are cash strapped. We had to use some of valuables as collateral. we are freaked out at the moment! we need your help, I need you to loan me some money to get things in order right now I need 2,550 USD or anything you can afford, I promise to refund you in full as soon as I return hopefully tomorrow or next. write back now to let me know what you can do.keep checking your email because it's the only way i can get intouch with you. Thanks Clifford From wam at hiwaay.net Thu Jun 18 15:19:24 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 18 Jun 2015 10:25:37 -0453 Subject: Clifford Stiebeck.............Help In-Reply-To: <20150618151627.22298D1C@hub.freebsd.org> References: <20150618151627.22298D1C@hub.freebsd.org> Message-ID: <5582E17A.1070306@hiwaay.net> On 06/18/15 10:22, Clifford Stiebeck via freebsd-questions wrote: > - This mail is in HTML. Some elements may be ommited in plain text. - > > Good Morning > I'm sorry for not writing you sooner i had to make a sudden vacation trip to Manila,Philippines unfortunately I was pick pocketed at the Airport I lost most of my luggages, I'm cashless and without my phones but luckily I still have my passports with me. > > I've been to the Embassy and the Police here but they're not helping issues at all the bad news is but I'm having problems settling the hotel bills as we are cash strapped. We had to use some of valuables as collateral. we are freaked out at the moment! we need your help, I need you to loan me some money to get things in order right now I need 2,550 USD or anything you can afford, I promise to refund you in full as soon as I return hopefully tomorrow or next. write back now to let me know what you can do.keep checking your email because it's the only way i can get intouch with you. > Thanks > Clifford > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > Can't we unsub some of these clowns :-) ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From carlj at peak.org Thu Jun 18 15:58:14 2015 From: carlj at peak.org (Carl Johnson) Date: Thu, 18 Jun 2015 08:54:46 -0700 Subject: CLAPACK In-Reply-To: <20539840.39045.1434638636914.JavaMail.defaultUser@defaultHost> (John Duffy's message of "Thu, 18 Jun 2015 15:43:56 +0100 (BST)") References: <20539840.39045.1434638636914.JavaMail.defaultUser@defaultHost> Message-ID: <87mvzxm2pl.fsf@elk.localnet> John Duffy writes: > I'm developing some numerical software on OS X to be uploaded to a > FreeBSD server. I'm striving for maximum commonality between > development environments, so I'm trying to find a CLAPACK package/port > (as supplied with OS X) for FreeBSD but I can't seem to find one. I've > installed the LAPACK, BLAS and CBLAS packages but these don't include > CLAPACK. Does a CLAPACK port/package exist, or do I need to do a > manual installation for the source? A search for lapack shows a lapacke package that might work: math/lapacke Standard C language APIs for LAPACK -- Carl Johnson carlj at peak.org From brandon.wandersee at gmail.com Thu Jun 18 16:10:17 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Thu, 18 Jun 2015 11:10:07 -0500 Subject: X11 ports all of a sudden want to be installed In-Reply-To: <47488147-9E98-4524-B2FF-009102F7681A@summerhill.org> References: <47488147-9E98-4524-B2FF-009102F7681A@summerhill.org> Message-ID: <868ubh2e1s.fsf@WorkBox.Home> Rick Summerhill writes: > Can someone explain what has changed? Thanks, I would guess the default options for a package have changed to include X11 support, though that really is just a guess. You can use the following strings to see if the X11 option is set for any root-level packages installed on the system, and get a list of all root-level packages, respectively: $ pkg query -e '%#r = 0' %Ok | grep X11 $ pkg query -e '%#r = 0' %o See pkg-query(8) for more information on that. I'm still a bit new to it myself, hence my admittedly weak suggestions. In the long run though, the only way to ensure that certain classes of software *never* get installed is to build directly from ports, or use ports-mgmt/poudriere to build your own packages. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From chris at monochrome.org Thu Jun 18 17:53:12 2015 From: chris at monochrome.org (Chris Hill) Date: Thu, 18 Jun 2015 13:50:28 -0400 (EDT) Subject: Clifford Stiebeck.............Help In-Reply-To: <5582E17A.1070306@hiwaay.net> References: <20150618151627.22298D1C@hub.freebsd.org> <5582E17A.1070306@hiwaay.net> Message-ID: On Thu, 18 Jun 2015, William A. Mahaffey III wrote: > On 06/18/15 10:22, Clifford Stiebeck via freebsd-questions wrote: >> [ obvious scam attempt ] >> > > Can't we unsub some of these clowns :-) ? Not really. This has been discussed to death many times over the years. -- Chris Hill chris at monochrome.org ** [ Busy Expunging ] From wam at hiwaay.net Thu Jun 18 19:23:05 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 18 Jun 2015 14:29:17 -0453 Subject: Clifford Stiebeck.............Help In-Reply-To: References: <20150618151627.22298D1C@hub.freebsd.org> <5582E17A.1070306@hiwaay.net> Message-ID: <55831A96.8000705@hiwaay.net> On 06/18/15 12:56, Chris Hill wrote: > On Thu, 18 Jun 2015, William A. Mahaffey III wrote: > >> On 06/18/15 10:22, Clifford Stiebeck via freebsd-questions wrote: > >>> [ obvious scam attempt ] >>> >> >> Can't we unsub some of these clowns :-) ? > > Not really. This has been discussed to death many times over the years. > > I know, just whining, don't mind me ;-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From freebsd-questions at herveybayaustralia.com.au Fri Jun 19 08:41:45 2015 From: freebsd-questions at herveybayaustralia.com.au (Da Rock) Date: Fri, 19 Jun 2015 18:41:34 +1000 Subject: ZFS passdevgonecb In-Reply-To: References: <557F90DB.80601@herveybayaustralia.com.au> Message-ID: <5583D5BE.7050508@herveybayaustralia.com.au> Ok, top posting as a summary really - numerous threads of thought going on now. First, that ggatel and mountver workaround - how does zfs take that? Is it possible zfs will have a dummy spit if this is between it writing to the drive? I'd assume not given it can use a md device as a vnode, but doesn't hurt to ask. Second, I've tried another drive and still the same issue; also.swapped cable, and still errors. So a controller test would be ideal - or a new system is in order :) Third, that consumer/raid drive difference seems a bit dodgy doesn't it? :) Appears they're basically forcing you to pay up for the privilege... wouldn't surprise me! Regardless, though, how does that stack up in an ordinary situation? I doubt you'd have a raid certified drive in a desktop to play games or edit home movies, and in that scenario it would spak out as the only drive in the system and probably crash, wouldn't it? Or am I not thinking it through properly? Possible given the amount of sleep I've had lately... Thanks for the brainstorming help guys. On 06/18/15 05:24, Michael Powell wrote: > Da Rock wrote: > >> I hate jumping in like this out of the blue, but time is not on my side >> atm with a lot going on. >> >> I have a problem with some devices disappearing on various versions of >> FreeBSD and machines (laptops, workstations/servers). Umass are the >> norm, with the message occurring most on usb sticks and sd cards. >> >> Big problem atm is that my file server has a failed disk in the raid, >> and I've tried replacing it with a new drive (twice now), and both times >> it begins to resilver and then it is "REMOVED". If I online it again, it >> goes for about 10mins then REMOVED again. >> >> Dmesg shows that the device is removed from the devfs with a >> passdevgonecb/lost device message. This apparently occurs right at boot >> too, as it shows amongst the usual scrolling during boot. >> >> I had a chat with someone and they mentioned the cable and/or controller >> could be the issue. Could anyone add any insight or tests I could do? >> I'm not exactly claim to be an expert at zfs, so maybe something might >> need addressing there too. >> >> I'd particularly appreciate a means of testing the controller. >> >> ATM the main theory is to replace the board - not a happy thought! :/ >> > Another item to consider, even if only to exclude it, is: what kind of > drives are these? Are they server RAID certified or are they 'consumer' > desktop types. RAID certified are designed to time-limit attempts at error > recovery. There is a window in time that if a consumer drive takes too long > at internal ECC the controller will drop it. Doubt this is your case, I bet > you have server drives. I just mention it because using consumer desktop > drives on RAID controllers can sometimes be problematic. > > -Mike > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From ike at michaeleichorn.com Fri Jun 19 15:08:34 2015 From: ike at michaeleichorn.com (Michael B. Eichorn) Date: Fri, 19 Jun 2015 11:02:21 -0400 Subject: ZFS passdevgonecb In-Reply-To: <5583D5BE.7050508@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> <5583D5BE.7050508@herveybayaustralia.com.au> Message-ID: <1434726141.6154.34.camel@michaeleichorn.com> On Fri, 2015-06-19 at 18:41 +1000, Da Rock wrote: > Ok, top posting as a summary really - numerous threads of thought going > on now. > > First, that ggatel and mountver workaround - how does zfs take that? Is > it possible zfs will have a dummy spit if this is between it writing to > the drive? I'd assume not given it can use a md device as a vnode, but > doesn't hurt to ask. Zfs really expects to talk to real disks. It is possible to mess with it but you are probably risking your data. I wouldn't go for it. > > Second, I've tried another drive and still the same issue; also.swapped > cable, and still errors. So a controller test would be ideal - or a new > system is in order :) From what I hear most problems are the controllers unless you have a disk trying to power-save without being told (see next). > > Third, that consumer/raid drive difference seems a bit dodgy doesn't it? > :) Appears they're basically forcing you to pay up for the privilege... > wouldn't surprise me! Regardless, though, how does that stack up in an > ordinary situation? I doubt you'd have a raid certified drive in a > desktop to play games or edit home movies, and in that scenario it would > spak out as the only drive in the system and probably crash, wouldn't > it? Or am I not thinking it through properly? Possible given the amount > of sleep I've had lately... There are a few levels of drives these days. There are the enterprise grade drives that can take a bit more heat and have a longer mean time to failure. These drive have tighter manufacturing tolerances and cost lots more. Then there are NAS/RAID consumer drives that are made to about the same tolerances as a desktop drive but have a few modifications for a 24/7 workload. Typical desktop drives are not actually designed for 24/7 operation. Then there is the firmware, some drives designed for 'green-ness' try to spin down and do other things to save power, with a typical Windows desktop this is probably good. However zfs (and most raids) expect the drive to do nothing without being told since zfs knows more than any firmware could. Frankly for most small-business and home loads WD Red Drives + zfs is enough for servers. I don't even put spinning rust in desktops anymore SSD + a network drive is enough for non-workstation tasks. But anyway if you are still haveing problems go get in touch with allanjude@ he just co-authored "FreeBSD Mastery: ZFS" with Michael Lucas and is right NOW looking for case studies in fixing ZFS problems for the second volume. > Thanks for the brainstorming help guys. > > > On 06/18/15 05:24, Michael Powell wrote: > > Da Rock wrote: > > > > > I hate jumping in like this out of the blue, but time is not on my side > > > atm with a lot going on. > > > > > > I have a problem with some devices disappearing on various versions of > > > FreeBSD and machines (laptops, workstations/servers). Umass are the > > > norm, with the message occurring most on usb sticks and sd cards. > > > > > > Big problem atm is that my file server has a failed disk in the raid, > > > and I've tried replacing it with a new drive (twice now), and both times > > > it begins to resilver and then it is "REMOVED". If I online it again, it > > > goes for about 10mins then REMOVED again. > > > > > > Dmesg shows that the device is removed from the devfs with a > > > passdevgonecb/lost device message. This apparently occurs right at boot > > > too, as it shows amongst the usual scrolling during boot. > > > > > > I had a chat with someone and they mentioned the cable and/or controller > > > could be the issue. Could anyone add any insight or tests I could do? > > > I'm not exactly claim to be an expert at zfs, so maybe something might > > > need addressing there too. > > > > > > I'd particularly appreciate a means of testing the controller. > > > > > > ATM the main theory is to replace the board - not a happy thought! :/ > > > > > Another item to consider, even if only to exclude it, is: what kind of > > drives are these? Are they server RAID certified or are they 'consumer' > > desktop types. RAID certified are designed to time-limit attempts at error > > recovery. There is a window in time that if a consumer drive takes too long > > at internal ECC the controller will drop it. Doubt this is your case, I bet > > you have server drives. I just mention it because using consumer desktop > > drives on RAID controllers can sometimes be problematic. > > > > -Mike > > > > > > > > _______________________________________________ > > freebsd-questions at freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5761 bytes Desc: not available URL: From galtsev at kicp.uchicago.edu Fri Jun 19 15:37:45 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Fri, 19 Jun 2015 10:37:38 -0500 (CDT) Subject: ZFS passdevgonecb In-Reply-To: <1434726141.6154.34.camel@michaeleichorn.com> References: <557F90DB.80601@herveybayaustralia.com.au> <5583D5BE.7050508@herveybayaustralia.com.au> <1434726141.6154.34.camel@michaeleichorn.com> Message-ID: <44429.128.135.70.2.1434728258.squirrel@cosmo.uchicago.edu> On Fri, June 19, 2015 10:02 am, Michael B. Eichorn wrote: > > On Fri, 2015-06-19 at 18:41 +1000, Da Rock wrote: >> Ok, top posting as a summary really - numerous threads of thought going >> on now. > There are a few levels of drives these days. There are the enterprise > grade > drives that can take a bit more heat and have a longer mean time to > failure. > These drive have tighter manufacturing tolerances and cost lots more. Then > there > are NAS/RAID consumer drives that are made to about the same tolerances as > a > desktop drive but have a few modifications for a 24/7 workload. Typical > desktop > drives are not actually designed for 24/7 operation. > > Then there is the firmware, some drives designed for 'green-ness' try to > spin > down and do other things to save power, with a typical Windows desktop > this is > probably good. However zfs (and most raids) expect the drive to do > nothing > without being told since zfs knows more than any firmware could. > > Frankly for most small-business and home loads WD Red Drives + zfs is > enough for > servers. I don't even put spinning rust in desktops anymore SSD + a > network > drive is enough for non-workstation tasks. > I would endorse all you said about drives. I will just mention the "consumer" grade drives I happily use in RAIDs that proven to be very reliable: Hitachi (these days HGST) SATA 7200 rpm. (And as it was already mentioned, stay away from "green" "spin-down" and low 5400 rpm 3.5 inch drives). Just my $0.02. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From emre at gundogan.us Fri Jun 19 16:01:49 2015 From: emre at gundogan.us (Emre Gundogan) Date: Fri, 19 Jun 2015 12:01:53 -0400 Subject: Expanding zfs+geli pool Message-ID: <55843CF1.1070709@gundogan.us> Hi all, I have a 4-disk (2TB each) striped mirrored zfs pool consisting of geli vdevs in the following configuration: pool: mirror1: disk1 (2TB) disk2 (2TB) mirror2 disk3 (2TB) disk4 (2TB) I'd like to replace those disks with 4TB ones to essentially double the capacity of the pool. What's the recommended order of disks to 'zpool offline/replace/resilver (automatic)' in this case? In sequence, or can I replace them in the following order: disk1 -> disk3 -> disk2 -> disk4 ? Considering that two of the 4TB disks I am thinking of using in the grown pool are few months older than the others, I thought putting the older ones in separate mirrors would reduce the risk of pool becoming unavailable when they fail (possibly both together at the same time). Does this make sense, and is it possible to replace them in the odd order I described? Just a note: I only have 4 SATA ports available on this machine, and therefore can't have both old and replacement disk plugged in at the same time. Thank you, Emre. From luzar722 at gmail.com Fri Jun 19 16:14:37 2015 From: luzar722 at gmail.com (Ernie Luzar) Date: Fri, 19 Jun 2015 12:14:45 -0400 Subject: dovecot require client to send cert Message-ID: <55843FF5.5050205@gmail.com> Hello List; I have dovecot installed and configured as pop3 server requiring ssl/tls which is working. I want to tighten security even more by requiring my Thunderbird client to present a access certificate when accessing the dovecot pop3 server. It's documented here http://wiki2.dovecot.org/SSL/DovecotConfiguration section titled "Client certificate verification/authentication". Client certificate verification/authentication If you want to require clients to present a valid SSL certificate, you'll need these settings: ssl_ca = References: <55843CF1.1070709@gundogan.us> Message-ID: <5584405F.7020407@infracaninophile.co.uk> On 06/19/15 17:01, Emre Gundogan wrote: > I have a 4-disk (2TB each) striped mirrored zfs pool consisting of geli > vdevs in the following configuration: > > pool: > mirror1: > disk1 (2TB) > disk2 (2TB) > mirror2 > disk3 (2TB) > disk4 (2TB) > > I'd like to replace those disks with 4TB ones to essentially double the > capacity of the pool. What's the recommended order of disks to 'zpool > offline/replace/resilver (automatic)' in this case? In sequence, or can > I replace them in the following order: disk1 -> disk3 -> disk2 -> disk4 > ? Considering that two of the 4TB disks I am thinking of using in the > grown pool are few months older than the others, I thought putting the > older ones in separate mirrors would reduce the risk of pool becoming > unavailable when they fail (possibly both together at the same time). > Does this make sense, and is it possible to replace them in the odd > order I described? Just a note: I only have 4 SATA ports available on > this machine, and therefore can't have both old and replacement disk > plugged in at the same time. So long as you ensure that only one drive out of each vdev is replaced at a time, and that resilvering has completed before you replace the other one, then, subject to those constraints, the ordering doesn't matter. The order you describe would work fine. Ideally, yes, adding the new drives to the mirror before removing the old ones would be better, but as your hardware doesn't support that, you're going to have to accept a period of lower resilience while all of the resilvering goes on. Yes, making each mirrored vdev contain on new and one older drive would be sensible. Check the setting of the 'autoexpand' property on the zpool before you begin. I your shoes I'd set autoexpand=off and then issue an explicit zpool online -e pool disk1 disk2 disk3 disk4 after all the resilvering is done so that you're in control of when the expanded space becomes available. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: OpenPGP digital signature URL: From athanasioskostopoulos at gmail.com Fri Jun 19 16:54:07 2015 From: athanasioskostopoulos at gmail.com (Athanasios Kostopoulos) Date: Fri, 19 Jun 2015 18:54:04 +0200 Subject: Realtek 892 recognized but no sound? Message-ID: uname -a Code: FreeBSD marquis 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 cat /dev/sndstat Code: Installed devices: pcm0: (play) pcm1: (play) pcm2: (play) pcm3: (play/rec) default pcm4: (play/rec) pcm5: (play) pcm6: (play) # dmesg | grep -i hdaa1 Code: hdaa1: at nid 1 on hdacc1 pcm3: at nid 20,22,21,23 and 24,26 on hdaa1 pcm4: at nid 27 and 25 on hdaa1 pcm5: at nid 30 on hdaa1 pcm6: at nid 17 on hdaa1 yet no sound from Firefox, audacious, mpg123. What additional information is needed for you to help me troubleshoot my issue? Tell me, and I will be happy to provide it. Thanks in advance for helping From freebsd at edvax.de Fri Jun 19 18:12:42 2015 From: freebsd at edvax.de (Polytropon) Date: Fri, 19 Jun 2015 20:12:31 +0200 Subject: Realtek 892 recognized but no sound? In-Reply-To: References: Message-ID: <20150619201231.2c34fb86.freebsd@edvax.de> On Fri, 19 Jun 2015 18:54:04 +0200, Athanasios Kostopoulos wrote: > yet no sound from Firefox, audacious, mpg123. > > What additional information is needed for you to help me troubleshoot my > issue? Tell me, and I will be happy to provide it. Just to be sure: What are the mixer settings, which output is enabled? Check the output of the mixer(s) with # mixer -f /dev/mixer0 (and for mixer1, mixer2 and so on, as available), and # sysctl hw.snd.default_unit so you are sure you're outputting to the unit you have your headphones or amplifier equipment connected to. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at johnea.net Fri Jun 19 18:36:56 2015 From: freebsd at johnea.net (freebsd at johnea.net) Date: Fri, 19 Jun 2015 11:26:30 -0700 Subject: is the forum down? In-Reply-To: References: <555F3C13.7010306@jrscorp.com> <555F4060.1020007@freebsd.org> Message-ID: <55845EEF.8030702@johnea.net> On 2015-05-28 21:48, AnthonyL wrote: > On Fri, 22 May 2015 15:42:40 +0100, Matthew Seaman wrote: >> On 05/22/15 15:24, J2R2 P wrote: >>> I have not been able to see any pages in the forum since yesterday >>> whether I click a link from a search engine of navigating directly to >>> the forum from within freebsd.org website. >> >> Seems fine to me. The did recently update the TLS configuration of the >> web server so it now scores 'A+' on the Qualys test site -- which >> however means that some older browsers or mobile platforms may have >> problems. Try again with a recent version of FireFox or Chrome. >> >> Cheers > > > I was also having some trouble lat week. It seems to be working fine now. > It's still broken for me. I'm getting: Data Transfer Interrupted The connection to forums.freebsd.org has terminated unexpectedly. Some data may have been transferred. This is probably the TLS upgrade mentioned above. On another machine with an updated browser, the forums are rendered correctly for me. (on the broken machine, I have other reasons for not wanting to update) I don't understand why https is enforced on the freebsd.org server. If I attempt to surf to http://forums.freebsd.org/ I'm redirected to the https site. I don't really care if my forum surfing is unencrypted and would prefer an http connection. johnea From chuck at mantis.biz Fri Jun 19 18:57:31 2015 From: chuck at mantis.biz (Chuck @ Mantis) Date: Fri, 19 Jun 2015 14:57:29 -0400 Subject: sendmail slow after upgrading to 10-RELEASE Message-ID: <55846619.60305@mantis.biz> mail -v -s "test from web1" test at test.com . EOT test at test.com... Connecting to [127.0.0.1] via relay... ***the above line takes 5 seconds then the rest of the output is quick and sends the e-mail fine*** 220 web1.ctest.net ESMTP Sendmail 8.14.9/8.14.9; Fri, 19 Jun 2015 14:50:52 -0400 (EDT) >>> EHLO web1.ctest.net 250-web1.ctest.net Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-STARTTLS 250-DELIVERBY 250 HELP >>> STARTTLS 220 2.0.0 Ready to start TLS >>> EHLO web1.ctest.net 250-web1.ctest.net Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From: SIZE=42 250 2.1.0 ... Sender ok >>> RCPT To: >>> DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 t5JIoqOn021612 Message accepted for delivery test at test.com... Sent (t5JIoqOn021612 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 web1.ctest.net closing connection From emre at gundogan.us Fri Jun 19 19:30:55 2015 From: emre at gundogan.us (Emre Gundogan) Date: Fri, 19 Jun 2015 15:30:51 -0400 Subject: Expanding zfs+geli pool In-Reply-To: <55843CF1.1070709@gundogan.us> References: <55843CF1.1070709@gundogan.us> Message-ID: <55846DEB.6040905@gundogan.us> Thanks a lot, Matthew.I was able to replace two of the disks (disk2 and disk4) with that method successfully, so I had the pool in the following state: pool: mirror1: disk1 (2TB) disk2 (4TB) mirror2 disk3 (2TB) disk4 (4TB) Then, I scrubbed the pool (no errors) and replaced 'disk1'. That's when the whole pool became 'UNAVAIL' when I brought the machine back up. In fact regardless of which of the remaining 2TB disks I replaced (disk1 or disk3) at that point resulted in pool becoming 'UNAVAIL'. I wish I could tell why, maybe, it's got something to do with the GELI layer, or the fact that the new disks are 4K advanced format while the old ones are 512-byte logical/physical (although mixed vdevs should be OK from what I understand), the pool was correctly marked as ashift=12 based on the output from zdb. Given that I can only afford a limited downtime on this pool, I went to Plan-B to 'zfs send' the pool snapshot to another machine, re-create the pool with the 4TB disks, and 'zfs receive' from the backup machine.So I am back to the state I mentioned above (half 2TB, half 4TB), the pool is 'ONLINE', and the 'zfs send' is going on for few hours... Thanks again, Emre. > So long as you ensure that only one drive out of each vdev is replaced > at a time, and that resilvering has completed before you replace the > other one, then, subject to those constraints, the ordering doesn't > matter. The order you describe would work fine. > > Ideally, yes, adding the new drives to the mirror before removing the > old ones would be better, but as your hardware doesn't support that, > you're going to have to accept a period of lower resilience while all of > the resilvering goes on. > > Yes, making each mirrored vdev contain on new and one older drive would > be sensible. > > Check the setting of the 'autoexpand' property on the zpool before you > begin. I your shoes I'd set autoexpand=off and then issue an explicit > > zpool online -e pool disk1 disk2 disk3 disk4 > > after all the resilvering is done so that you're in control of when the > expanded space becomes available. From luzar722 at gmail.com Fri Jun 19 20:06:05 2015 From: luzar722 at gmail.com (Ernie Luzar) Date: Fri, 19 Jun 2015 16:06:23 -0400 Subject: daily cron emails Message-ID: <5584763F.6060701@gmail.com> I added this line to /etc/crontab on a Tuesday 15 1 * * * root sa-update && service sa-spamd restart and got the normal daily 2 security emails. But with the weekly security emails I also got a separate email about the new command I added. From that point on, I am also getting that email on a daily bases. Is this normal behavior? From luzar722 at gmail.com Fri Jun 19 20:26:14 2015 From: luzar722 at gmail.com (Ernie Luzar) Date: Fri, 19 Jun 2015 16:26:33 -0400 Subject: non-routeable traffic from 10.0.0.0/8 Message-ID: <55847AF9.7010201@gmail.com> Hello List; In my firewall log I see log entries showing inbound traffic being blocked from ip addresses in the 10.0.0.0/8 range. My question is what purpose can this be used for by a hacker? From jd1008 at gmail.com Fri Jun 19 20:29:57 2015 From: jd1008 at gmail.com (jd1008) Date: Fri, 19 Jun 2015 14:30:02 -0600 Subject: non-routeable traffic from 10.0.0.0/8 In-Reply-To: <55847AF9.7010201@gmail.com> References: <55847AF9.7010201@gmail.com> Message-ID: <55847BCA.8000607@gmail.com> On 06/19/2015 02:26 PM, Ernie Luzar wrote: > Hello List; > > In my firewall log I see log entries showing inbound traffic being > blocked from ip addresses in the 10.0.0.0/8 range. > > My question is what purpose can this be used for by a hacker? Well, for one thing, since these are local lan addresses, it can block your 10.x.x.x network in the specified (lowest octet) range from talking to each other. From chrisstankevitz at gmail.com Fri Jun 19 20:35:53 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Fri, 19 Jun 2015 13:35:50 -0700 Subject: hot swap: removing hard drives Message-ID: Hello, My hardware, caddies, BIOS, OS, etc etc etc all support hot swapping drives. My drives are used only by ZFS. The zpool on these drives is not needed for the system to run. There are no swap partitions or anything else on these drives. These are /dev/daX drives. How do I safely remove the hard drives that make up this zpool? 1. zpool export (of course) 2. camcontrol stop (is this needed?) 3. camcontrol eject (is this needed?) 4. [some other commands?] 5. verify that /dev/daX is not longer listed (is this needed?) 6. Yank the drive My guess is that only steps (1) and (6) are needed. Steps (2) through (5) can be omitted. Thank you, Chris From matthew at FreeBSD.org Fri Jun 19 20:43:53 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri, 19 Jun 2015 21:43:36 +0100 Subject: daily cron emails In-Reply-To: <5584763F.6060701@gmail.com> References: <5584763F.6060701@gmail.com> Message-ID: <55847EF8.60907@FreeBSD.org> On 19/06/2015 21:06, Ernie Luzar wrote: > I added this line to /etc/crontab on a Tuesday > > 15 1 * * * root sa-update && service sa-spamd restart > > and got the normal daily 2 security emails. But with the weekly security > emails I also got a separate email about the new command I added. From > that point on, I am also getting that email on a daily bases. > > Is this normal behavior? Yeah. You're not meant to futz with /etc/crontab. Instead, as root run: crontab -u root -e and then enter the line: 15 1 * * * sa-update && service sa-spamd restart (note: no 'root' as the 6th field). Or you could just install the mail/sa-utils port which gets you a periodic job to run sa-update along with all the other periodic stuff. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From jd1008 at gmail.com Fri Jun 19 20:47:08 2015 From: jd1008 at gmail.com (jd1008) Date: Fri, 19 Jun 2015 14:47:04 -0600 Subject: hot swap: removing hard drives In-Reply-To: References: Message-ID: <55847FC8.80106@gmail.com> On 06/19/2015 02:35 PM, Chris Stankevitz wrote: > Hello, > > My hardware, caddies, BIOS, OS, etc etc etc all support hot swapping > drives. My drives are used only by ZFS. The zpool on these drives is > not needed for the system to run. There are no swap partitions or > anything else on these drives. These are /dev/daX drives. > > How do I safely remove the hard drives that make up this zpool? > > 1. zpool export (of course) > > 2. camcontrol stop (is this needed?) > > 3. camcontrol eject (is this needed?) > > 4. [some other commands?] > > 5. verify that /dev/daX is not longer listed (is this needed?) > > 6. Yank the drive > > > My guess is that only steps (1) and (6) are needed. Steps (2) through > (5) can be omitted. > > Thank you, > > Chris I had seen a disk farm where each drive external caddy face had a button. To hot remove, one had to push that button, wait for the green light and the lock/latch would unlock and the operator could then pull the drive out. Perhaps FBSD and (all BSD variants and all *nux'es) are not yet equipped with such sensor reader. From kwoody at citywest.ca Fri Jun 19 21:15:27 2015 From: kwoody at citywest.ca (Keith) Date: Fri, 19 Jun 2015 14:08:45 -0700 Subject: hot swap: removing hard drives In-Reply-To: References: Message-ID: <52126574-1F3E-4B55-A187-8C39023FFF1B@citywest.ca> We have some old dell 1950 and 2950s with fbsd 6.x 9..x and a 10 machine. The 6 and 9's when a drive fails i just walk up to it pull the drive caddy swap in a new drive to the caddy and add it back. Drive starts a rebuild. These have old perc 5 controllers. Only time i had to do any messing about was when a 500gb drive took over for a failed 36 gb drive. Didnt realize the 500 was set for global hot spare. Had to manually fail the drive and make it hot spare dedicated only for a raid 5 partition. > On Jun 19, 2015, at 13:35, Chris Stankevitz wrote: > > Hello, > > My hardware, caddies, BIOS, OS, etc etc etc all support hot swapping > drives. My drives are used only by ZFS. The zpool on these drives is > not needed for the system to run. There are no swap partitions or > anything else on these drives. These are /dev/daX drives. > > How do I safely remove the hard drives that make up this zpool? > > 1. zpool export (of course) > > 2. camcontrol stop (is this needed?) > > 3. camcontrol eject (is this needed?) > > 4. [some other commands?] > > 5. verify that /dev/daX is not longer listed (is this needed?) > > 6. Yank the drive > > > My guess is that only steps (1) and (6) are needed. Steps (2) through > (5) can be omitted. > > Thank you, > > Chris > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From cswiger at mac.com Fri Jun 19 21:27:02 2015 From: cswiger at mac.com (Charles Swiger) Date: Fri, 19 Jun 2015 14:27:00 -0700 Subject: sendmail slow after upgrading to 10-RELEASE In-Reply-To: <55846619.60305@mantis.biz> References: <55846619.60305@mantis.biz> Message-ID: On Jun 19, 2015, at 11:57 AM, Chuck @ Mantis wrote: > test at test.com... Connecting to [127.0.0.1] via relay... > > ***the above line takes 5 seconds then the rest of the output is quick and sends the e-mail fine*** That implies you don't have an PTR record for 127.0.0.1 in your DNS. "dig -x 127.0.0.1" should return something like: ;; QUESTION SECTION: ;1.0.0.127.in-addr.arpa. IN PTR ;; ANSWER SECTION: 1.0.0.127.in-addr.arpa. 3600 IN PTR localhost. Regards, -- -Chuck From chuck at mantis.biz Fri Jun 19 21:34:04 2015 From: chuck at mantis.biz (Chuck @ Mantis) Date: Fri, 19 Jun 2015 17:34:02 -0400 Subject: sendmail slow after upgrading to 10-RELEASE In-Reply-To: References: <55846619.60305@mantis.biz> Message-ID: <55848ACA.8030300@mantis.biz> On 6/19/2015 5:27 PM, Charles Swiger wrote: > On Jun 19, 2015, at 11:57 AM, Chuck @ Mantis wrote: >> test at test.com... Connecting to [127.0.0.1] via relay... >> >> ***the above line takes 5 seconds then the rest of the output is quick and sends the e-mail fine*** > That implies you don't have an PTR record for 127.0.0.1 in your DNS. > "dig -x 127.0.0.1" should return something like: > > ;; QUESTION SECTION: > ;1.0.0.127.in-addr.arpa. IN PTR > > ;; ANSWER SECTION: > 1.0.0.127.in-addr.arpa. 3600 IN PTR localhost. > > Regards, [root at web1 /etc/mail/certs]# dig -x 127.0.0.1 ; <<>> DiG 9.10.2 <<>> -x 127.0.0.1 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5054 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;1.0.0.127.in-addr.arpa. IN PTR ;; ANSWER SECTION: 1.0.0.127.in-addr.arpa. 1800 IN PTR localhost. ;; Query time: 0 msec ;; SERVER: 10.1.1.2#53(10.1.1.2) ;; WHEN: Fri Jun 19 17:32:00 EDT 2015 ;; MSG SIZE rcvd: 63 [root at web1 /etc/mail/certs]# cat /etc/hosts # $FreeBSD: releng/10.1/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ ::1 localhost localhost.mydomain.net 127.0.0.1 localhost localhost.mydomain.net 10.1.1.39 web1.mydomain.net web1 10.1.1.39 web1.mydomain.net. From stdedjub at googlemail.com Fri Jun 19 22:48:46 2015 From: stdedjub at googlemail.com (Denis D) Date: Sat, 20 Jun 2015 00:48:27 +0200 Subject: No Sound with Realtek ALC269 Message-ID: <20150619224827.GB6377@Mugin.fritz.box> Hello, somehow i couldn't get my Realtek ALC269 to work. 2 Years ago someone had the same problem with the same soundcard. Here is the link https://lists.freebsd.org/pipermail/freebsd-questions/2012-October/245919.html. . So now to my system information: ~ uname -a FreeBSD Notebook 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #6 r283366: Mon May 25 17:14:37 CEST 2015 ~ cat /dev/sndstat : FreeBSD Audio Driver (64bit 2009061500/amd64) Installed devices: pcm0: on hdaa0 (1p:1v/0r:0v) default pcm1: on hdaa1 (1p:1v/1r:1v) pcm2: on hdaa1 (0p:0v/1r:1v) ~ sysctl hw.snd.default_unit hw.snd.default_unit: 1 I have tried to play the sound with: cdcontrol play 4 mplayer *.wav mpg123 test.mp3 But nothing worked. Only mpg123 give me the following error : [audio.c:614] error: Error in writing audio (Invalid argument?)! [mpg123.c:681] error: Deep trouble! Cannot flush to my output anymore! My pindump: hdaa1: Dumping AFG pins: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 18 90a60940 4 0 Mic Fixed Digital Internal Unknown 9 hdaa1: Caps: IN hdaa1: 20 90170110 1 0 Speaker Fixed Analog Internal Unknown 1 hdaa1: Caps: OUT EAPD Sense: 0x00000000 (disconnected) hdaa1: 21 0421101f 1 15 Headphones Jack 1/8 Right Black 0 hdaa1: Caps: OUT HP EAPD Sense: 0x00000000 (disconnected) hdaa1: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: Caps: OUT hdaa1: 24 04a11830 3 0 Mic Jack 1/8 Right Black 8 hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected) hdaa1: 25 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected) hdaa1: 26 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: Caps: IN OUT HP VREF Sense: 0x00000000 (disconnected) hdaa1: 27 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected) hdaa1: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: Caps: OUT hdaa1: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdaa1: GPIO0: disabled hdaa1: GPIO1: disabled Following i have tested in /etc/sysctl.conf hint.hdacc.1.cad0.nid21.config="as=1 seq=15 device=Headphones" hint.hdacc.1.cad0.nid20.config="as=1 seq=0 device=Speaker" _________ and hint.hdac.1.cad0.nid21.config="as=1 seq=15 device=Headphones" hint.hdac.1.cad0.nid20.config="as=1 seq=0 device=Speaker" _________ and hint.hdaa.1.cad0.nid20.config="as=1 seq=0 device=Speaker hint.hdaa.1.cad0.nid21.config="as=1 seq=15 device=Headphones i know, some of them were wrong, but i was near desperation ;) Hope someone could help me. From taogediyi at sina.com Fri Jun 19 22:49:10 2015 From: taogediyi at sina.com (taogediyi at sina.com) Date: Sat, 20 Jun 2015 06:49:01 +0800 (CST) Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaTm8gU291bmQgd2l0aCBSZWFsdGVrIEFMQzI2OQ==?= Message-ID: <20150619224901.C8E93D8815E@mda01.fmail.tg.sinanode.com> ?????????????????????QQ????????????????????? From ljj_jun at sina.com Fri Jun 19 22:49:08 2015 From: ljj_jun at sina.com (ljj_jun at sina.com) Date: Sat, 20 Jun 2015 06:48:59 +0800 (CST) Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaTm8gU291bmQgd2l0aCBSZWFsdGVrIEFMQzI2OQ==?= Message-ID: <20150619224900.0A938D8815E@mda01.fmail.tg.sinanode.com> ???????????????????????~???---??????--- From jerry at seibercom.net Fri Jun 19 23:49:11 2015 From: jerry at seibercom.net (Jerry) Date: Fri, 19 Jun 2015 19:49:00 -0400 Subject: No Sound with Realtek ALC269 In-Reply-To: <20150619224827.GB6377@Mugin.fritz.box> References: <20150619224827.GB6377@Mugin.fritz.box> Message-ID: <20150619194900.071293a4@seibercom.net> On Sat, 20 Jun 2015 00:48:27 +0200, Denis D via freebsd-questions stated: > Hello, > > somehow i couldn't get my Realtek ALC269 to work. > > 2 Years ago someone had the same problem with the same soundcard. > Here is the link > https://lists.freebsd.org/pipermail/freebsd-questions/2012-October/245919.html. > . > > So now to my system information: > > ~ uname -a > FreeBSD Notebook 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #6 r283366: Mon > May 25 17:14:37 CEST 2015 > > ~ cat /dev/sndstat : > > FreeBSD Audio Driver (64bit 2009061500/amd64) > Installed devices: > pcm0: on hdaa0 (1p:1v/0r:0v) default > pcm1: on hdaa1 (1p:1v/1r:1v) > pcm2: on hdaa1 (0p:0v/1r:1v) > > > ~ sysctl hw.snd.default_unit > > hw.snd.default_unit: 1 > > > > I have tried to play the sound with: > > cdcontrol play 4 > mplayer *.wav > mpg123 test.mp3 > > But nothing worked. > Only mpg123 give me the following error : > > [audio.c:614] error: Error in writing audio (Invalid argument?)! > > [mpg123.c:681] error: Deep trouble! Cannot flush to my output anymore! > > > My pindump: > > hdaa1: Dumping AFG pins: > hdaa1: nid 0x as seq device conn jack loc color > misc hdaa1: 18 90a60940 4 0 Mic Fixed Digital Internal > Unknown 9 hdaa1: Caps: IN > hdaa1: 20 90170110 1 0 Speaker Fixed Analog Internal Unknown 1 > hdaa1: Caps: OUT EAPD Sense: 0x00000000 (disconnected) > hdaa1: 21 0421101f 1 15 Headphones Jack 1/8 Right Black 0 > hdaa1: Caps: OUT HP EAPD Sense: 0x00000000 (disconnected) > hdaa1: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 > DISA hdaa1: Caps: OUT > hdaa1: 24 04a11830 3 0 Mic Jack 1/8 Right Black 8 > hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected) > hdaa1: 25 411111f0 15 0 Speaker None 1/8 Rear Black 1 > DISA hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected) > hdaa1: 26 411111f0 15 0 Speaker None 1/8 Rear Black 1 > DISA hdaa1: Caps: IN OUT HP VREF Sense: 0x00000000 (disconnected) > hdaa1: 27 411111f0 15 0 Speaker None 1/8 Rear Black 1 > DISA hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected) > hdaa1: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 > DISA hdaa1: Caps: OUT > hdaa1: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 > hdaa1: GPIO0: disabled > hdaa1: GPIO1: disabled > > Following i have tested in /etc/sysctl.conf > > hint.hdacc.1.cad0.nid21.config="as=1 seq=15 device=Headphones" > hint.hdacc.1.cad0.nid20.config="as=1 seq=0 device=Speaker" > _________ > and > > > hint.hdac.1.cad0.nid21.config="as=1 seq=15 device=Headphones" > hint.hdac.1.cad0.nid20.config="as=1 seq=0 device=Speaker" > _________ > and > > hint.hdaa.1.cad0.nid20.config="as=1 seq=0 device=Speaker > hint.hdaa.1.cad0.nid21.config="as=1 seq=15 device=Headphones > > i know, some of them were wrong, but i was near desperation ;) > > Hope someone could help me. See if this makes any difference. /etc/sysctl.conf hw.snd.default_unit=4 hw.snd.maxautovchans=4 dev.pcm.0.play.vchans=4 -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: From freebsd-questions at herveybayaustralia.com.au Sat Jun 20 03:50:06 2015 From: freebsd-questions at herveybayaustralia.com.au (Da Rock) Date: Sat, 20 Jun 2015 13:49:57 +1000 Subject: ZFS passdevgonecb In-Reply-To: <5583D5BE.7050508@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> <5583D5BE.7050508@herveybayaustralia.com.au> Message-ID: <5584E2E5.3000203@herveybayaustralia.com.au> On 19/06/2015 18:41, Da Rock wrote: > Ok, top posting as a summary really - numerous threads of thought > going on now. > > First, that ggatel and mountver workaround - how does zfs take that? > Is it possible zfs will have a dummy spit if this is between it > writing to the drive? I'd assume not given it can use a md device as a > vnode, but doesn't hurt to ask. > > Second, I've tried another drive and still the same issue; > also.swapped cable, and still errors. So a controller test would be > ideal - or a new system is in order :) > > Third, that consumer/raid drive difference seems a bit dodgy doesn't > it? :) Appears they're basically forcing you to pay up for the > privilege... wouldn't surprise me! Regardless, though, how does that > stack up in an ordinary situation? I doubt you'd have a raid certified > drive in a desktop to play games or edit home movies, and in that > scenario it would spak out as the only drive in the system and > probably crash, wouldn't it? Or am I not thinking it through properly? > Possible given the amount of sleep I've had lately... > > Thanks for the brainstorming help guys. Something to add to this conundrum - pity it couldn't tell me this earlier... cam_periph_alloc: attempt to re-allocate valid device pass1 rejected flags 0x18 refcount 1 passasync: Unable to attach new device due to status 0x6: CCB request was invalid Searching these terms (last one I see a lot with umass myself) it seems this is quite common for most, so why is this mostly ignored? Or so it seems... I also can't seem to grasp the precise meaning of the particular errors - the flags and error codes that is. This appears to be more than a zfs spit either as you can see - this affecting smartd as well, and seems to be low level. FWIW there is no noticeable difference in firmware either. > > > On 06/18/15 05:24, Michael Powell wrote: >> Da Rock wrote: >> >>> I hate jumping in like this out of the blue, but time is not on my side >>> atm with a lot going on. >>> >>> I have a problem with some devices disappearing on various versions of >>> FreeBSD and machines (laptops, workstations/servers). Umass are the >>> norm, with the message occurring most on usb sticks and sd cards. >>> >>> Big problem atm is that my file server has a failed disk in the raid, >>> and I've tried replacing it with a new drive (twice now), and both >>> times >>> it begins to resilver and then it is "REMOVED". If I online it >>> again, it >>> goes for about 10mins then REMOVED again. >>> >>> Dmesg shows that the device is removed from the devfs with a >>> passdevgonecb/lost device message. This apparently occurs right at boot >>> too, as it shows amongst the usual scrolling during boot. >>> >>> I had a chat with someone and they mentioned the cable and/or >>> controller >>> could be the issue. Could anyone add any insight or tests I could do? >>> I'm not exactly claim to be an expert at zfs, so maybe something might >>> need addressing there too. >>> >>> I'd particularly appreciate a means of testing the controller. >>> >>> ATM the main theory is to replace the board - not a happy thought! :/ >>> >> Another item to consider, even if only to exclude it, is: what kind of >> drives are these? Are they server RAID certified or are they 'consumer' >> desktop types. RAID certified are designed to time-limit attempts at >> error >> recovery. There is a window in time that if a consumer drive takes >> too long >> at internal ECC the controller will drop it. Doubt this is your case, >> I bet >> you have server drives. I just mention it because using consumer desktop >> drives on RAID controllers can sometimes be problematic. >> >> -Mike >> >> >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" From ps06756 at gmail.com Sat Jun 20 07:19:52 2015 From: ps06756 at gmail.com (Pratik Singhal) Date: Sat, 20 Jun 2015 12:49:29 +0530 Subject: How to test for memory corruption ? Message-ID: Hello, I have written code for adding support for DMA transfers for Allwinner A10 SoC (Cubieboard 1) in MMC driver/ I have tried transferring files to/from mmc card and verified that files are copied fine. Although, many times the kernel panics suddenly, after I transfer files. This does not happen If I use PIO to transfer data (PIO's code is tested and already committed to ~HEAD). Panics don't occur in the statements written for DMA transfer. I am suspecting that the problem is that the DMA transfer apart from writing where it is required, is overwriting other parts of the memory also. Is there any way, I can verify that this is/this is not the case ? Thank you, Pratik Singhal From luzar722 at gmail.com Sat Jun 20 10:36:56 2015 From: luzar722 at gmail.com (Ernie Luzar) Date: Sat, 20 Jun 2015 06:36:55 -0400 Subject: daily cron emails In-Reply-To: <55847EF8.60907@FreeBSD.org> References: <5584763F.6060701@gmail.com> <55847EF8.60907@FreeBSD.org> Message-ID: <55854247.9040900@gmail.com> Matthew Seaman wrote: On 19/06/2015 21:06, Ernie Luzar wrote: I added this line to /etc/crontab on a Tuesday 15 1 * * * root sa-update && service sa-spamd restart and got the normal daily 2 security emails. But with the weekly security emails I also got a separate email about the new command I added. From that point on, I am also getting that email on a daily bases. Is this normal behavior? Yeah. You're not meant to futz with /etc/crontab. Instead, as root run: crontab -u root -e and then enter the line: 15 1 * * * sa-update && service sa-spamd restart (note: no 'root' as the 6th field). Or you could just install the mail/sa-utils port which gets you a periodic job to run sa-update along with all the other periodic stuff. Cheers, Matthew Did "crontab -u root -e" and don't see the stuff I added being added to /etc/crontab file. Where is the crontab file additions stored / saved? From jholland at vin-dit.org Sat Jun 20 11:40:30 2015 From: jholland at vin-dit.org (John Holland) Date: Sat, 20 Jun 2015 07:34:50 -0400 Subject: denyhosts/pfctl to block repeated logins? Message-ID: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> What is the best tool to use to block repeated login attempts from unauthorized hosts? And for deny hosts, how you unblock someone who is legitimate? From matthew at FreeBSD.org Sat Jun 20 11:43:36 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Sat, 20 Jun 2015 12:43:16 +0100 Subject: daily cron emails In-Reply-To: <55854247.9040900@gmail.com> References: <5584763F.6060701@gmail.com> <55847EF8.60907@FreeBSD.org> <55854247.9040900@gmail.com> Message-ID: <558551D4.4040908@FreeBSD.org> On 2015/06/20 11:36, Ernie Luzar wrote: > Did "crontab -u root -e" and don't see the stuff I added being added to > /etc/crontab file. > Where is the crontab file additions stored / saved? /var/cron/tabs/root Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 972 bytes Desc: OpenPGP digital signature URL: From mail at ozzmosis.com Sat Jun 20 11:55:54 2015 From: mail at ozzmosis.com (andrew clarke) Date: Sat, 20 Jun 2015 21:55:44 +1000 Subject: denyhosts/pfctl to block repeated logins? In-Reply-To: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> References: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> Message-ID: <20150620115544.GA77489@ozzmosis.com> On Sat 2015-06-20 07:34:50 UTC-0400, John Holland (jholland at vin-dit.org) wrote: > What is the best tool to use to block repeated login attempts from > unauthorized hosts? And for deny hosts, how you unblock someone who > is legitimate? "Best tool" is difficult to answer since it depends on your exact requirements. Also once an admin finds an IP blocker that works for them, they may tend to stick with it rather than try all the alternatives. For blocking unsuccessful ssh logins, sshguard-ipfw works for me. http://www.sshguard.net/docs/faqs/ From athanasioskostopoulos at gmail.com Sat Jun 20 12:04:04 2015 From: athanasioskostopoulos at gmail.com (Athanasios Kostopoulos) Date: Sat, 20 Jun 2015 14:04:01 +0200 Subject: Realtek 892 recognized but no sound? In-Reply-To: <20150619201231.2c34fb86.freebsd@edvax.de> References: <20150619201231.2c34fb86.freebsd@edvax.de> Message-ID: Hi thanks for the quick reply. Mixer(s) look normal. I have played around with the snd.default_unit - no luck root at marquis:~ # sysctl hw.snd.default_unit hw.snd.default_unit: 3 On Fri, Jun 19, 2015 at 8:12 PM, Polytropon wrote: > On Fri, 19 Jun 2015 18:54:04 +0200, Athanasios Kostopoulos wrote: > > yet no sound from Firefox, audacious, mpg123. > > > > What additional information is needed for you to help me troubleshoot my > > issue? Tell me, and I will be happy to provide it. > > Just to be sure: What are the mixer settings, which output > is enabled? > > Check the output of the mixer(s) with > > # mixer -f /dev/mixer0 > > (and for mixer1, mixer2 and so on, as available), and > > # sysctl hw.snd.default_unit > > so you are sure you're outputting to the unit you have your > headphones or amplifier equipment connected to. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From freebsd-listen at fabiankeil.de Sat Jun 20 12:07:05 2015 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Sat, 20 Jun 2015 14:06:20 +0200 Subject: ZFS passdevgonecb In-Reply-To: <5583D5BE.7050508@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> <5583D5BE.7050508@herveybayaustralia.com.au> Message-ID: <1eed7432.7767d020@fabiankeil.de> Da Rock wrote: > First, that ggatel and mountver workaround - how does zfs take that? If the workaround works, inflight requests will be delayed but other than that ZFS shouldn't notice the temporary device loss. > Is > it possible zfs will have a dummy spit if this is between it writing to > the drive? I'd assume not given it can use a md device as a vnode, but > doesn't hurt to ask. If gmountver does not accept the reappearing device and you do not disable the ident checking as a (somewhat risky) workaround, this should eventually trigger a "stalled ZFS I/O" panic unless you set vfs.zfs.deadman_enabled=0 for testing or reboot the system before the expiration time. In my experience ZFS has lots of strange and surprising failure modes if devices act up, so I wouldn't completely rule out any other behaviour either ... Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: From ike at michaeleichorn.com Sat Jun 20 12:31:51 2015 From: ike at michaeleichorn.com (Michael B. Eichorn) Date: Sat, 20 Jun 2015 08:32:18 -0400 Subject: denyhosts/pfctl to block repeated logins? In-Reply-To: <20150620115544.GA77489@ozzmosis.com> References: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> <20150620115544.GA77489@ozzmosis.com> Message-ID: <1434803538.13005.19.camel@michaeleichorn.com> On Sat, 2015-06-20 at 21:55 +1000, andrew clarke wrote: > On Sat 2015-06-20 07:34:50 UTC-0400, John Holland (jholland at vin-dit.org > ) wrote: > > > What is the best tool to use to block repeated login attempts from > > unauthorized hosts? And for deny hosts, how you unblock someone who > > is legitimate? > > "Best tool" is difficult to answer since it depends on your exact > requirements. > > Also once an admin finds an IP blocker that works for them, they may > tend to stick with it rather than try all the alternatives. > > For blocking unsuccessful ssh logins, sshguard-ipfw works for me. > > http://www.sshguard.net/docs/faqs/ > I will second sshguard as an excellent automated blocker. But since the OP mentions pfctl in the subject line, they probably want sshguard-pf. There is also a no-firewall version for running in jails. I prefer sshguard as it is a daemon like C program whereas denyhosts is a python script. So I get a few less dependencies and a bit more speed. SSHguard can handle more than just ssh logins, but sendmail, dovecot, and other servers as well. Unblocking no matter what you are using best consists of 2 steps: 1) Remove the blocked address from the firewall table, hosts.deny, etc. 2) If possible whitelist the hostname(s)/address(es)/subnet(s) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5761 bytes Desc: not available URL: From SPAM_TRAP_gmane at jonz.net Sat Jun 20 13:46:34 2015 From: SPAM_TRAP_gmane at jonz.net (Jonesy) Date: Sat, 20 Jun 2015 13:46:06 +0000 (UTC) Subject: denyhosts/pfctl to block repeated logins? References: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> <20150620115544.GA77489@ozzmosis.com> <1434803538.13005.19.camel@michaeleichorn.com> Message-ID: On Sat, 20 Jun 2015 08:32:18 -0400, Michael B. Eichorn wrote: > On Sat, 2015-06-20 at 21:55 +1000, andrew clarke wrote: >> On Sat 2015-06-20 07:34:50 UTC-0400, John Holland wrote: >> >> > What is the best tool to use to block repeated login attempts from >> > unauthorized hosts? And for deny hosts, how you unblock someone who >> > is legitimate? >> >> "Best tool" is difficult to answer since it depends on your exact >> requirements. >> >> Also once an admin finds an IP blocker that works for them, they may >> tend to stick with it rather than try all the alternatives. >> >> For blocking unsuccessful ssh logins, sshguard-ipfw works for me. >> >> http://www.sshguard.net/docs/faqs/ > > I will second sshguard as an excellent automated blocker. But since the > OP mentions pfctl in the subject line, they probably want sshguard-pf. > There is also a no-firewall version for running in jails. +2 :-) After adding sshguard I still was annoyed by all the attempts -- even tho' they were successfully blocked. Next I moved my ssh port on my VPS box and _that_ eliminated 99% of the attempts. I found a lot of chatter on the interweb claiming that changing the ssh port was mostly ineffective. But, for me it made a BIG difference. Of course, if you have a lot of users on the box, it would be a pain to instruct all of them on using other than the default port. hth, Jonesy -- Marvin L Jones | Marvin | W3DHJ | linux 38.238N 104.547W | @ jonz.net | Jonesy | OS/2 * Killfiling google & XXXXbanter.com: jonz.net/ng.htm From wam at hiwaay.net Sat Jun 20 15:07:30 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sat, 20 Jun 2015 10:13:36 -0453 Subject: fdisk question Message-ID: <558581A9.7010309@hiwaay.net> .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 GB USB drive. When I mount it, it shows 101% full, w/ about 717 MB of stuff. The NetBSD folks often (for Raspberry Pi, for example) recommend & provide examples of how to mess with the partition table after dd'ing to restore 'full' USB drive capacity as noted by df w/o messing up any of the other data in the stick. Is this feasible under FreeBSD ? If so, has anyone tried/done it ? How did it go :-) ? Care to post your commands that worked :-) ? TIA & have a good one .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From wam at hiwaay.net Sat Jun 20 15:10:52 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sat, 20 Jun 2015 10:17:04 -0453 Subject: fdisk question In-Reply-To: <558581A9.7010309@hiwaay.net> References: <558581A9.7010309@hiwaay.net> Message-ID: <55858279.8050406@hiwaay.net> On 06/20/15 10:12, William A. Mahaffey III wrote: > > > .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 GB > USB drive. When I mount it, it shows 101% full, w/ about 717 MB of > stuff. The NetBSD folks often (for Raspberry Pi, for example) > recommend & provide examples of how to mess with the partition table > after dd'ing to restore 'full' USB drive capacity as noted by df w/o > messing up any of the other data in the stick. Is this feasible under > FreeBSD ? If so, has anyone tried/done it ? How did it go :-) ? Care > to post your commands that worked :-) ? TIA & have a good one .... > > Sorry, should have added: [root at kabini1, /etc, 10:15:12am] 630 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr 7 03:01:12 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root at kabini1, /etc, 10:15:15am] 631 % & a link to the NetBSD page describing how to 'recover' lost mem-stick capacity: https://wiki.netbsd.org/ports/evbarm/raspberry_pi/#index1h1 -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From emre at gundogan.us Sat Jun 20 15:22:29 2015 From: emre at gundogan.us (Emre Gundogan) Date: Sat, 20 Jun 2015 11:22:31 -0400 Subject: denyhosts/pfctl to block repeated logins? In-Reply-To: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> References: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> Message-ID: <55858537.2070509@gundogan.us> You can also check out fail2ban (http://www.fail2ban.org/wiki/index.php/Main_Page) , which is a python daemon that monitors various logs for suspicious activity and allows you to define actions (one of which is to add firewall rules). It's available in FreeBSD ports. Emre. On 06/20/2015 07:34 AM, John Holland wrote: > What is the best tool to use to block repeated login attempts from unauthorized hosts? And for deny hosts, how you unblock someone who is legitimate? > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From wam at hiwaay.net Sat Jun 20 15:25:01 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sat, 20 Jun 2015 10:31:14 -0453 Subject: GCC question Message-ID: <558585CB.4070607@hiwaay.net> I have gcc 4.8 installed on this system. I notice a slight newer version available, specifically referencing AMD64, which this box is: [root at kabini1, /etc, 10:15:12am] 630 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr 7 03:01:12 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root at kabini1, /etc, 10:15:15am] 631 % grep -i gcc LIST.installed.txt gcc-4.8.4_3 GNU Compiler Collection 4.8 gcc-ecj-4.5 Eclipse Java Compiler used to build GCC Java [root at kabini1, /etc, 10:19:39am] 632 % grep -i gcc LIST.available.txt amd64-gcc-4.9.2_1 amd64-xtoolchain-gcc-0.1 I only use ports for the flash library, however I am wondering if there might be any performance improvement in recompiling some stuff locally, possibly with a compiler tuned/optimized for AMD64. Is that amd64-gcc-4.9.2.1 such an animal ? Is it stable/solid/fully tested & functional, or an alpha or beta version ? Binary compatible w/ packages from pkg ? I normally maintain *everything* on this box (except for flash support) using pkg (old Convex/SGI habits die hard, plus *much* quicker updates), however I am sporadically curious if there might be any performance to be picked up in locally compiling stuff, possibly including the kernel. This box is a quad-core jaguar-kabini based CPU & is not (yet) supported for acceleration under X11, but maybe other stuff might speed up some, who knows. TIA & have a good one .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From jd1008 at gmail.com Sat Jun 20 15:47:59 2015 From: jd1008 at gmail.com (jd1008) Date: Sat, 20 Jun 2015 09:47:56 -0600 Subject: fdisk question In-Reply-To: <558581A9.7010309@hiwaay.net> References: <558581A9.7010309@hiwaay.net> Message-ID: <55858B2C.4080004@gmail.com> On 06/20/2015 09:06 AM, William A. Mahaffey III wrote: > > > .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 GB > USB drive. When I mount it, it shows 101% full, w/ about 717 MB of > stuff. The NetBSD folks often (for Raspberry Pi, for example) > recommend & provide examples of how to mess with the partition table > after dd'ing to restore 'full' USB drive capacity as noted by df w/o > messing up any of the other data in the stick. Is this feasible under > FreeBSD ? If so, has anyone tried/done it ? How did it go :-) ? Care > to post your commands that worked :-) ? TIA & have a good one .... > > Hi Bill, what is the size of the memstick image? From jholland at vin-dit.org Sat Jun 20 16:11:16 2015 From: jholland at vin-dit.org (John Holland) Date: Sat, 20 Jun 2015 12:11:04 -0400 Subject: denyhosts/pfctl to block repeated logins? In-Reply-To: <1434803538.13005.19.camel@michaeleichorn.com> References: <99DC5CD3-1D40-4A6B-B553-DA2619E942EF@vin-dit.org> <20150620115544.GA77489@ozzmosis.com> <1434803538.13005.19.camel@michaeleichorn.com> Message-ID: <509516A2-09F5-42C1-8441-492A8B938A8D@vin-dit.org> Thanks for all this information. I had used deny hosts before on Linux. I tried using something involving pf rules and a shell script monitoring auth.log, This was not working well. At the moment I?ve got denyhosts working and it seems OK but I may switch to sshguard-pf based on your recommendation. John > On Jun 20, 2015, at 8:32 AM, Michael B. Eichorn > wrote: > > On Sat, 2015-06-20 at 21:55 +1000, andrew clarke wrote: >> On Sat 2015-06-20 07:34:50 UTC-0400, John Holland (jholland at vin-dit.org >> ) wrote: >> >>> What is the best tool to use to block repeated login attempts from >>> unauthorized hosts? And for deny hosts, how you unblock someone who >>> is legitimate? >> >> "Best tool" is difficult to answer since it depends on your exact >> requirements. >> >> Also once an admin finds an IP blocker that works for them, they may >> tend to stick with it rather than try all the alternatives. >> >> For blocking unsuccessful ssh logins, sshguard-ipfw works for me. >> >> http://www.sshguard.net/docs/faqs/ >> > > I will second sshguard as an excellent automated blocker. But since the > OP mentions pfctl in the subject line, they probably want sshguard-pf. > There is also a no-firewall version for running in jails. > > I prefer sshguard as it is a daemon like C program whereas denyhosts is a > python script. So I get a few less dependencies and a bit more speed. > > SSHguard can handle more than just ssh logins, but sendmail, dovecot, and > other servers as well. > > Unblocking no matter what you are using best consists of 2 steps: > 1) Remove the blocked address from the firewall table, hosts.deny, etc. > 2) If possible whitelist the hostname(s)/address(es)/subnet(s) From herbert at oslo.ath.cx Sat Jun 20 19:40:50 2015 From: herbert at oslo.ath.cx (Herbert J. Skuhra) Date: Sat, 20 Jun 2015 21:40:46 +0200 Subject: fdisk question In-Reply-To: <558581A9.7010309@hiwaay.net> References: <558581A9.7010309@hiwaay.net> Message-ID: <20150620194046.GB35588@oslo.ath.cx> On Sat, Jun 20, 2015 at 10:13:36AM -0453, William A. Mahaffey III wrote: > > > .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 GB USB > drive. When I mount it, it shows 101% full, w/ about 717 MB of stuff. > The NetBSD folks often (for Raspberry Pi, for example) recommend & > provide examples of how to mess with the partition table after dd'ing to > restore 'full' USB drive capacity as noted by df w/o messing up any of > the other data in the stick. Is this feasible under FreeBSD ? If so, has > anyone tried/done it ? How did it go :-) ? Care to post your commands > that worked :-) ? TIA & have a good one .... You can use 'gpart resize' and growfs. But why do you want to do this with the memstick image? It's for installing FreeBSD, no? # mdconfig -t vnode -a -f FreeBSD-11.0-CURRENT-amd64-20150618-r284544-memstick.img md0 # gpart show md0 => 3 1470064 md0 GPT (718M) 3 1600 1 efi (800K) 1603 32 2 freebsd-boot (16K) 1635 1466384 3 freebsd-ufs (716M) 1468019 2048 4 freebsd-swap (1.0M) In this case you first have to remove the swap at the end. -- Herbert From wam at hiwaay.net Sat Jun 20 20:50:05 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sat, 20 Jun 2015 15:56:15 -0453 Subject: fdisk question In-Reply-To: <55858B2C.4080004@gmail.com> References: <558581A9.7010309@hiwaay.net> <55858B2C.4080004@gmail.com> Message-ID: <5585D1F8.6050006@hiwaay.net> On 06/20/15 10:54, jd1008 wrote: > > > On 06/20/2015 09:06 AM, William A. Mahaffey III wrote: >> >> >> .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 GB >> USB drive. When I mount it, it shows 101% full, w/ about 717 MB of >> stuff. The NetBSD folks often (for Raspberry Pi, for example) >> recommend & provide examples of how to mess with the partition table >> after dd'ing to restore 'full' USB drive capacity as noted by df w/o >> messing up any of the other data in the stick. Is this feasible under >> FreeBSD ? If so, has anyone tried/done it ? How did it go :-) ? Care >> to post your commands that worked :-) ? TIA & have a good one .... >> >> > Hi Bill, > what is the size of the memstick image? > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > A touch over 700 MB .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From jd1008 at gmail.com Sat Jun 20 20:56:30 2015 From: jd1008 at gmail.com (jd1008) Date: Sat, 20 Jun 2015 14:56:27 -0600 Subject: fdisk question In-Reply-To: <5585D1F8.6050006@hiwaay.net> References: <558581A9.7010309@hiwaay.net> <55858B2C.4080004@gmail.com> <5585D1F8.6050006@hiwaay.net> Message-ID: <5585D37B.2000303@gmail.com> On 06/20/2015 02:49 PM, William A. Mahaffey III wrote: > On 06/20/15 10:54, jd1008 wrote: >> >> >> On 06/20/2015 09:06 AM, William A. Mahaffey III wrote: >>> >>> >>> .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 GB >>> USB drive. When I mount it, it shows 101% full, w/ about 717 MB of >>> stuff. The NetBSD folks often (for Raspberry Pi, for example) >>> recommend & provide examples of how to mess with the partition table >>> after dd'ing to restore 'full' USB drive capacity as noted by df w/o >>> messing up any of the other data in the stick. Is this feasible >>> under FreeBSD ? If so, has anyone tried/done it ? How did it go :-) >>> ? Care to post your commands that worked :-) ? TIA & have a good one >>> .... >>> >>> >> Hi Bill, >> what is the size of the memstick image? >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" >> > > A touch over 700 MB .... > I have experienced this problem before myself. Basically, I had to manually take a look at the partition sizes of source and partition the destination the same way. The caveat was also that the source partition table area was not the same as the destination's :( So that wreaked havoc with what the firmware of the destination thought was the partitioning scheme AFTER the dd from src to dest. Someone showed me how to use the binary editor to fix the destination's partition information. Unfortunately, I lost much email after drive crash and replacement. From stdedjub at googlemail.com Sun Jun 21 00:01:49 2015 From: stdedjub at googlemail.com (Denis D) Date: Sun, 21 Jun 2015 02:01:23 +0200 Subject: No Sound with Realtek ALC269 Message-ID: <5585FED3.8070608@googlemail.com> Thanks for the Reply, but it doesn't help, also the following setting is wrong hw.snd.default_unit=4 I don't have a pcm4 On Sat, 20 Jun 2015 00:48:27 +0200, Denis D via freebsd-questions stated: /> > /> >See if this makes any difference. > >/etc/sysctl.conf > > hw.snd.default_unit=4 > hw.snd.maxautovchans=4 > dev.pcm.0.play.vchans=4 > >-- >Jerry From leventelist at gmail.com Sun Jun 21 10:43:58 2015 From: leventelist at gmail.com (Lev) Date: Sun, 21 Jun 2015 12:43:45 +0200 Subject: security patch vs. binary upgrade Message-ID: <20150621124345.1a09b8f6@jive> Hello List, I installed FreeBSD 10.1 on my home server, and it runs as expected. I don't really understand one thing: What is the difference between pkg update/upgrade and freebsd-update fetch freebsd-update install If I patch my sustem with security patches, and then upgrade the binary packages will the patches lost? Btw... freebsd-update install writes this: Installing updates...install: ///usr/src/contrib/file/magic/Magdir/kerberos: No such file or directory install: ///usr/src/contrib/file/magic/Magdir/meteorological: No such file or directory install: ///usr/src/contrib/file/magic/Magdir/qt: No such file or directory install: ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory Is this okay? Thanks, Lev -- 73 de HA5OGL Op.: Levente From ike at michaeleichorn.com Sun Jun 21 12:55:52 2015 From: ike at michaeleichorn.com (Michael B. Eichorn) Date: Sun, 21 Jun 2015 08:56:16 -0400 Subject: security patch vs. binary upgrade In-Reply-To: <20150621124345.1a09b8f6@jive> References: <20150621124345.1a09b8f6@jive> Message-ID: <1434891376.1433.15.camel@michaeleichorn.com> On Sun, 2015-06-21 at 12:43 +0200, Lev wrote: > Hello List, > > > I installed FreeBSD 10.1 on my home server, and it runs as expected. > > I don't really understand one thing: > > What is the difference between > > pkg update/upgrade pkg is the binary update system (binaries here are often refered to as packages) for the ports tree. It contains all of the ports that can be distributed as binaries with default options. It is not recommended at this time to mix binary packages with source installed ports. If you want to use packages but want non-default options you can use poudriere and host your own repository pretty easily. > > freebsd-update fetch > freebsd-update install freebsd-update is the binary update system for the parts of the system maintained by the FreeBSD developers. This provides updates for the kernel and base system (the default install). FreeBSD can also be updated from source, in fact if you move to -STABLE or -CURRENT source updates are the only option. > > If I patch my sustem with security patches, and then upgrade the binary > packages will the patches lost? Binary upgrades contain all FreeBSD provided security patches. > > Btw... freebsd-update install writes this: > > Installing > updates...install: ///usr/src/contrib/file/magic/Magdir/kerberos: No > such file or directory > install: ///usr/src/contrib/file/magic/Magdir/meteorological: No such > file or directory install: ///usr/src/contrib/file/magic/Magdir/qt: No > such file or directory > install: ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or > directory IIRC this is the result of a glitch in the 10-RELEASE installer or media. It didn't install the source code for the base system in /usr/src. If you want the source code download it from svn and put it in /usr/src. If you dont need it you can tell freebsd-update not to update the source code by removing src from the components list in /etc/freebsd-update.conf. > > Is this okay? > > Thanks, > Lev > > -- > 73 de HA5OGL > Op.: Levente -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5761 bytes Desc: not available URL: From wam at hiwaay.net Sun Jun 21 13:15:56 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sun, 21 Jun 2015 08:22:08 -0453 Subject: fdisk question In-Reply-To: <5585D37B.2000303@gmail.com> References: <558581A9.7010309@hiwaay.net> <55858B2C.4080004@gmail.com> <5585D1F8.6050006@hiwaay.net> <5585D37B.2000303@gmail.com> Message-ID: <5586B909.2000700@hiwaay.net> On 06/20/15 16:02, jd1008 wrote: > > > On 06/20/2015 02:49 PM, William A. Mahaffey III wrote: >> On 06/20/15 10:54, jd1008 wrote: >>> >>> >>> On 06/20/2015 09:06 AM, William A. Mahaffey III wrote: >>>> >>>> >>>> .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 >>>> GB USB drive. When I mount it, it shows 101% full, w/ about 717 MB >>>> of stuff. The NetBSD folks often (for Raspberry Pi, for example) >>>> recommend & provide examples of how to mess with the partition >>>> table after dd'ing to restore 'full' USB drive capacity as noted by >>>> df w/o messing up any of the other data in the stick. Is this >>>> feasible under FreeBSD ? If so, has anyone tried/done it ? How did >>>> it go :-) ? Care to post your commands that worked :-) ? TIA & have >>>> a good one .... >>>> >>>> >>> Hi Bill, >>> what is the size of the memstick image? >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe at freebsd.org" >>> >> >> A touch over 700 MB .... >> > I have experienced this problem before myself. > Basically, I had to manually take a look at the partition sizes > of source and partition the destination the same way. > The caveat was also that the source partition table area was not > the same as the destination's :( > So that wreaked havoc with what the firmware of the destination > thought was the partitioning scheme AFTER the dd from src to dest. > Someone showed me how to use the binary editor to fix the destination's > partition information. Unfortunately, I lost much email after drive crash > and replacement. > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > No problema, it is easy enough to just dd a new install image if I want it, I was thinking of keeping this USB drive as a FreeBSD installer exclusively, & just updating the files on it when required, but it's not necessary. The disk booted & did what I wanted, so all is well. Thanks :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From jmc-freebsd2 at milibyte.co.uk Sun Jun 21 14:35:17 2015 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sun, 21 Jun 2015 15:32:00 +0100 Subject: security patch vs. binary upgrade In-Reply-To: <20150621124345.1a09b8f6@jive> References: <20150621124345.1a09b8f6@jive> Message-ID: <20150621153200.559aa68f@curlew.lan> On Sun, 21 Jun 2015 12:43:45 +0200 Lev wrote: > If I patch my sustem with security patches, and then upgrade the binary > packages will the patches lost? No problem, freebsd-update only makes changes to the base system. Packages are not part of the base system and will not be affected by freebsd-update, they are upgraded by using pkg upgrade or by building from source using ports. -- Mike Clarke From mark.tinka at seacom.mu Sun Jun 21 14:41:18 2015 From: mark.tinka at seacom.mu (Mark Tinka) Date: Sun, 21 Jun 2015 16:38:37 +0200 Subject: security patch vs. binary upgrade In-Reply-To: <20150621153200.559aa68f@curlew.lan> References: <20150621124345.1a09b8f6@jive> <20150621153200.559aa68f@curlew.lan> Message-ID: <5586CC6D.9080901@seacom.mu> On 21/Jun/15 16:32, Mike Clarke wrote: > No problem, freebsd-update only makes changes to the base system. > > Packages are not part of the base system and will not be affected by > freebsd-update, they are upgraded by using pkg upgrade or by building > from source using ports. Except, of course, if you're using freebsd-update to move the system between major versions, e.g., 10.x to 11.x. Then there is some work to be done with the userland ports. Otherwise, a simple freebsd-update fetch|install should be fine, as Mike has said. Mark. From leventelist at gmail.com Sun Jun 21 14:48:53 2015 From: leventelist at gmail.com (Lev) Date: Sun, 21 Jun 2015 16:40:12 +0200 Subject: security patch vs. binary upgrade In-Reply-To: <20150621153200.559aa68f@curlew.lan> References: <20150621124345.1a09b8f6@jive> <20150621153200.559aa68f@curlew.lan> Message-ID: <20150621164012.180cb8f5@jive> Okay. Thanks for the answer. Lev -- 73 de HA5OGL Op.: Levente From freebsd at edvax.de Mon Jun 22 00:52:53 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 22 Jun 2015 00:24:23 +0200 Subject: security patch vs. binary upgrade In-Reply-To: <20150621124345.1a09b8f6@jive> References: <20150621124345.1a09b8f6@jive> Message-ID: <20150622002423.99c5b318.freebsd@edvax.de> On Sun, 21 Jun 2015 12:43:45 +0200, Lev wrote: > Hello List, > > > I installed FreeBSD 10.1 on my home server, and it runs as expected. > > I don't really understand one thing: > > What is the difference between > > pkg update/upgrade > > and > > freebsd-update fetch > freebsd-update install > > If I patch my sustem with security patches, and then upgrade the binary > packages will the patches lost? FreeBSD has an important differentiation between the operating system (FreeBSD itself) and the applications which are installed. Those packages, "everything else", are managed by the ports tree, or in your case, more precisely, the pkg interface to the precompiled binary packages. So what you're seeing here is that: 1. freebsd-update updates your OS, and 2. pkg updates your installed applications. Both are not (directly) connected to each other. For example, you could remove all your installed packages, and then _still_ have a fully functional OS. This is, by the way, a common idea when moving from one major OS version to another, which usually involves the re-installation of all application software. You're probably coming from Linux land where the OS itself is an arbitrary compilation of packages, and even the OS kernel is considered a package. Linux distributions does not have a concept of "just the OS" directly implemented, and the distribution maintainers decide what their "OS" consists of. Different compilations, and even different package management tools are therefore common. On FreeBSD, you can update the OS and keep the versions of the installed applications, or keep the OS version but update the installed applications only. It's your choice. In order to achieve this goal, two different tools are provided for the two different subjects. > Btw... freebsd-update install writes this: > > Installing > updates...install: ///usr/src/contrib/file/magic/Magdir/kerberos: No such file or directory > install: ///usr/src/contrib/file/magic/Magdir/meteorological: No such file or directory install: ///usr/src/contrib/file/magic/Magdir/qt: No > such file or directory > install: ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory > > Is this okay? Not _that_ okay. :-) The installer expects the /usr/src subtree to be present. The easiest way to deal with that is to install it from the installation media or via Internet. The source distribution src.txz for the version you're running needs to be extracted to /usr/src, so the installer will find the files it's refering to. Once /usr/src is there, freebsd-update will keep the sources up to date if the "src" component is enabled in its setup file, /etc/freebsd-update.conf; see "Components" entry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From listmgr at antennex.com Mon Jun 22 00:56:28 2015 From: listmgr at antennex.com (Lt. Commander) Date: Sun, 21 Jun 2015 16:32:04 -0500 Subject: Script question In-Reply-To: <2609852.Pc7nSdcYla@desk8.phess.net> References: <20150615015516.b3ea7633.freebsd@edvax.de> <2609852.Pc7nSdcYla@desk8.phess.net> Message-ID: To: freebsd-questions at freebsd.org Subject: Re: Script question Polytropon wrote: > Or if you want to omit the grep call: > > awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e > 's/^.*=//' > /tmp/spam-ip.txt > > And then continue: > > cat /tmp/spam-ip.txt >> /usr/samba/mail/envelope cat /tmp/spam-ip.txt > | mail -s "SPAM IPs...." us.navy at outlook.com > > Finally, you can easily remove /tmp/spam-ip.txt. You could even take this one step further and eliminate the need for a temporary file altogether by making use of tee(1): awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e 's/^.*=//' | tee -a /usr/samba/mail/envelope | mail -s "SPAM IPs...." us.navy at outlook.com Patrick _______________________________________________ Hi list! The script guys were very helpful in smoothing out my sh shell script and it with other script calls are doing the job I needed. BUT! I took the snippet below to use as an "yes/no" intro to one of the calls. It must have aged as is because it complains about badly placed "()s" right near the top of the intro and I suspect it won't agree with another line further down either. Perhaps a hint from the experts as to how to change the problem? Thank you! Jason From listmgr at antennex.com Mon Jun 22 00:57:30 2015 From: listmgr at antennex.com (Lt. Commander) Date: Sun, 21 Jun 2015 16:36:36 -0500 Subject: Script question In-Reply-To: References: <20150615015516.b3ea7633.freebsd@edvax.de> <2609852.Pc7nSdcYla@desk8.phess.net> Message-ID: Sheesh! Here's the script: #get_yes_no() { while true do echo -n "$1 (Y/N) ? " read -t 30 a if [ $? != 0 ]; then a="No"; return; fi case $a in [Yy]) a="Yes"; return;; [Nn]) a="No"; return;; *);; esac done #} get_yes_no "Do you want to continue......" [ $a = 'No' ] && exit 1 ______________________________________________ Hi list! The script guys were very helpful in smoothing out my sh shell script and it with other script calls are doing the job I needed. BUT! I took the snippet below to use as an "yes/no" intro to one of the calls. It must have aged as is because it complains about badly placed "()s" right near the top of the intro and I suspect it won't agree with another line further down either. Perhaps a hint from the experts as to how to change the problem? Thank you! Jason From freebsd at edvax.de Mon Jun 22 01:10:48 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 22 Jun 2015 03:10:37 +0200 Subject: Script question In-Reply-To: References: <20150615015516.b3ea7633.freebsd@edvax.de> <2609852.Pc7nSdcYla@desk8.phess.net> Message-ID: <20150622031037.420a1db0.freebsd@edvax.de> On Sun, 21 Jun 2015 16:32:04 -0500, Lt. Commander wrote: > To: freebsd-questions at freebsd.org > Subject: Re: Script question > > Polytropon wrote: > > Or if you want to omit the grep call: > > > > awk '/spam=YES/ {print $11}' /var/log/maillog | sort | uniq | sed -e > > 's/^.*=//' > /tmp/spam-ip.txt > > > > And then continue: > > > > cat /tmp/spam-ip.txt >> /usr/samba/mail/envelope cat /tmp/spam-ip.txt > > | mail -s "SPAM IPs...." us.navy at outlook.com > > > > Finally, you can easily remove /tmp/spam-ip.txt. > > You could even take this one step further and eliminate the need for a > temporary file altogether by making use of tee(1): > > awk '/spam=YES/ {print $11}' /var/log/maillog | > sort | > uniq | > sed -e 's/^.*=//' | > tee -a /usr/samba/mail/envelope | > mail -s "SPAM IPs...." us.navy at outlook.com > > Patrick > _______________________________________________ > > Hi list! > > The script guys were very helpful in smoothing out my sh shell script and it > with other script calls are doing the job I needed. > > BUT! I took the snippet below to use as an "yes/no" intro to one of the > calls. It must have aged as is because it complains about badly placed "()s" > right near the top of the intro and I suspect it won't agree with another > line further down either. > > Perhaps a hint from the experts as to how to change the problem? To be honest, I don't see any ( or ) in the whole script. Can you post your _current_ version, just to be sure we're looking at the same code? Every other attempt probably is just guesswork... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Jun 22 01:30:40 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 22 Jun 2015 03:30:37 +0200 Subject: Script question In-Reply-To: References: <20150615015516.b3ea7633.freebsd@edvax.de> <2609852.Pc7nSdcYla@desk8.phess.net> Message-ID: <20150622033037.6cfd270d.freebsd@edvax.de> On Sun, 21 Jun 2015 16:36:36 -0500, Lt. Commander wrote: > Sheesh! Here's the script: > #get_yes_no() { > while true > do > echo -n "$1 (Y/N) ? " > read -t 30 a > if [ $? != 0 ]; then > a="No"; > return; > fi > case $a in > [Yy]) a="Yes"; > return;; > [Nn]) a="No"; > return;; > *);; > esac > done > #} > > get_yes_no "Do you want to continue......" > > [ $a = 'No' ] && exit 1 I did a little re-formatting for readability, so you can spot the mistake easier. The following code works as intended. For the test cases: [ (or "test") uses -eq and ! -eq (or -ne) for numerical values, but = and != for strings. See "man test" for details. Also note the removal of the ; after commands. Shell != C. :-) You will see the following cases now (as expected): Do you want to continue (Y/N) ? y Continuing! and Do you want to continue (Y/N) ? n and the program exits with exit code 1. It accepts y, Y, n and N as valid inputs, defaulting to the result "No" after 30 seconds. Every other input causes the input loop to repeat. Here's the code now: #!/bin/sh get_yes_no() { while true; do echo -n "$1 (Y/N) ? " read -t 30 REPLY if [ ! $? -eq 0 ]; then ANSWER="No" return fi case "$REPLY" in [Yy]) ANSWER="Yes" return ;; [Nn]) ANSWER="No" return ;; *) ;; esac done } get_yes_no "Do you want to continue" [ $ANSWER = "No" ] && exit 1 echo "Continuing!" -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From listmgr at antennex.com Mon Jun 22 02:01:48 2015 From: listmgr at antennex.com (Lt. Commander) Date: Sun, 21 Jun 2015 21:00:39 -0500 Subject: Script question In-Reply-To: <20150622033037.6cfd270d.freebsd@edvax.de> References: <20150615015516.b3ea7633.freebsd@edvax.de> <2609852.Pc7nSdcYla@desk8.phess.net> <20150622033037.6cfd270d.freebsd@edvax.de> Message-ID: From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Polytropon Sent: Sunday, June 21, 2015 8:31 PM To: Lt. Commander Cc: freebsd-questions at freebsd.org Subject: Re: Script question On Sun, 21 Jun 2015 16:36:36 -0500, Lt. Commander wrote: > Sheesh! Here's the script: > #get_yes_no() { > while true > do > echo -n "$1 (Y/N) ? " > read -t 30 a > if [ $? != 0 ]; then > a="No"; > return; > fi > case $a in > [Yy]) a="Yes"; > return;; > [Nn]) a="No"; > return;; > *);; > esac > done > #} > > get_yes_no "Do you want to continue......" > > [ $a = 'No' ] && exit 1 I did a little re-formatting for readability, so you can spot the mistake easier. The following code works as intended. For the test cases: [ (or "test") uses -eq and ! -eq (or -ne) for numerical values, but = and != for strings. See "man test" for details. Also note the removal of the ; after commands. Shell != C. :-) You will see the following cases now (as expected): Do you want to continue (Y/N) ? y Continuing! and Do you want to continue (Y/N) ? n and the program exits with exit code 1. It accepts y, Y, n and N as valid inputs, defaulting to the result "No" after 30 seconds. Every other input causes the input loop to repeat. Here's the code now: #!/bin/sh get_yes_no() { while true; do echo -n "$1 (Y/N) ? " read -t 30 REPLY if [ ! $? -eq 0 ]; then ANSWER="No" return fi case "$REPLY" in [Yy]) ANSWER="Yes" return ;; [Nn]) ANSWER="No" return ;; *) ;; esac done } get_yes_no "Do you want to continue" [ $ANSWER = "No" ] && exit 1 echo "Continuing!" ------------------------------------------------------- Bingo! You got it. Works fine. Funny tho, I have used that little sh shell intro for years to lead into various scripts. This is the first time it didn't work as I had it. Oh, well... now it's fixed and that's all that counts. Once again many thanks for the help!! --Jason -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From quartz at sneakertech.com Mon Jun 22 02:41:54 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 21 Jun 2015 22:41:52 -0400 Subject: Current state of firewire support? Message-ID: <558775F0.4040405@sneakertech.com> From what I understand, FreeBSD "dropped support" for firewire at some point in the past couple years, but I'm having trouble finding detailed information on what exactly changed. Assuming 10.1-release, is there any easy way to get an old firewire drive mounted? Is there a config file that will load something at boot? A package I can install? Do I have to patch the kernel? Or is firewire just totally gone for good? From quartz at sneakertech.com Mon Jun 22 02:55:20 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 21 Jun 2015 22:55:18 -0400 Subject: Current state of firewire support? In-Reply-To: <558775F0.4040405@sneakertech.com> References: <558775F0.4040405@sneakertech.com> Message-ID: <55877916.9070100@sneakertech.com> >Assuming 10.1-release, More specifically: FreeBSD-10.1-RELEASE-amd64 From tak.official at gmail.com Mon Jun 22 05:24:00 2015 From: tak.official at gmail.com (takCoder) Date: Mon, 22 Jun 2015 09:53:39 +0430 Subject: reload kernel without reboot? In-Reply-To: <20150615170657.8106edd0.freebsd@edvax.de> References: <20150614182418.56857acc.freebsd@edvax.de> <44wpz56pxr.fsf@lowell-desk.lan> <20150615170657.8106edd0.freebsd@edvax.de> Message-ID: Hi all, Thank you all for the hints and notes there. Actually I decided to use MODULES_OVERRIDE in make.conf and -DKERNFAST for fast kernel compile to save time during my task and let the reboot happen as not doing so seems to be that tricky. Thank you takcoder On Mon, Jun 15, 2015 at 7:36 PM, Polytropon wrote: > On Mon, 15 Jun 2015 09:50:40 -0400, Lowell Gilbert wrote: > > A standard kernel comes with many hundreds of kernel modules. We don't > > know what you're working on specifically, but the building and loading > > and unloading of modules is not tricky. > > If I remember correctly, there's even some example code of > how to create a kernel module somewhere in the source tree. > It should be a good starting point for moving the "moving > parts" into a kernel module that can be dealt with using > kldload and kldunload. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From terje at elde.net Mon Jun 22 05:42:54 2015 From: terje at elde.net (Terje Elde) Date: Mon, 22 Jun 2015 07:34:09 +0200 Subject: reload kernel without reboot? In-Reply-To: References: <20150614182418.56857acc.freebsd@edvax.de> <44wpz56pxr.fsf@lowell-desk.lan> <20150615170657.8106edd0.freebsd@edvax.de> Message-ID: <7DF6F3BF-C833-4CF6-875C-242147FAA9C7@elde.net> On 22. juni 2015, at 07:23, takCoder wrote: > Actually I decided to use > MODULES_OVERRIDE in make.conf and -DKERNFAST for fast kernel compile to > save time during my task and let the reboot happen as not doing so seems to > be that tricky. Not sure if it's obvious, so just mentioning that KERNFAST could give you some issues, depending on what you change between builds. Just keep it in mind if you run into any kind of trouble, and try a fresh normal build. Also, if it's module development you're looking at, you could recompile and un/load just the module you're poking and prodding, sidestepping the kernel build entirely. Terje (pre-coffee, please forgive if I'm just stating the obvious, or missed anything already covered in the thread) From leventelist at gmail.com Mon Jun 22 07:53:55 2015 From: leventelist at gmail.com (Levente) Date: Mon, 22 Jun 2015 09:53:54 +0200 Subject: security patch vs. binary upgrade In-Reply-To: <20150622002423.99c5b318.freebsd@edvax.de> References: <20150621124345.1a09b8f6@jive> <20150622002423.99c5b318.freebsd@edvax.de> Message-ID: Indeed, I am coming from the Linux world... sorry for my ignorance. Thanks from leading me out from darkness to the light. :-) Lev From tuchalia at gmail.com Mon Jun 22 08:10:23 2015 From: tuchalia at gmail.com (Daniel Peyrolon) Date: Mon, 22 Jun 2015 08:10:10 +0000 Subject: How to test for memory corruption ? In-Reply-To: References: Message-ID: Hi, I have absolutely no idea, but maybe you can use DTrace for this? You could also print the location for each memory write. El s?b., 20 de junio de 2015 9:20, Pratik Singhal escribi?: > Hello, I have written code for adding support for DMA transfers for > Allwinner A10 SoC (Cubieboard 1) in MMC driver/ > > I have tried transferring files to/from mmc card and verified that files > are copied fine. > Although, many times the kernel panics suddenly, after I transfer files. > This does not happen If I use PIO to transfer data (PIO's code is tested > and already committed to ~HEAD). Panics don't occur in the statements > written for DMA transfer. > > I am suspecting that the problem is that the DMA transfer apart from > writing where it is required, is overwriting other parts of the memory > also. > > Is there any way, I can verify that this is/this is not the case ? > > Thank you, > Pratik Singhal > _______________________________________________ > freebsd-hackers at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org" > -- Daniel From kuku at physik.rwth-aachen.de Mon Jun 22 10:21:28 2015 From: kuku at physik.rwth-aachen.de (Christoph Kukulies) Date: Mon, 22 Jun 2015 12:20:08 +0200 Subject: getting ports updated on an older FreeBSD (5.1) Message-ID: <5587E158.2020702@physik.rwth-aachen.de> I'm running a somewhat come into age server under FreeBSD 5.1 at the moment and I'm in need to update to php5. Trying to install php-5.0.0 in ports results in an error message fetch: http://www.t.ring.gr.jp/archives/net/www/php/distributions/php-5.0.0.tar.bz2: Not Found >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/php-5.0.0.tar.bz2: File unavailable (e.g., file not found, no access) >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/lang/php5. *** Error code 1 Stop in /usr/ports/lang/php5. I then tried an SVN checkout which ended up in: >> Attempting to fetch from ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/kuriyama/. fetch: ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/kuriyama/apr-APR_0_9_BRANCH_20040113112838.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/kuriyama/. fetch: ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/kuriyama/apr-APR_0_9_BRANCH_20040113112838.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/apr-APR_0_9_BRANCH_20040113112838.tar.gz: File unavailable (e.g., file not found, no access) >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/devel/apr-svn. *** Error code 1 Stop in /usr/ports/devel/subversion. forum# Any clues? -- Christoph Kukulies From kraduk at gmail.com Mon Jun 22 11:43:02 2015 From: kraduk at gmail.com (krad) Date: Mon, 22 Jun 2015 12:43:00 +0100 Subject: Current state of firewire support? In-Reply-To: <55877916.9070100@sneakertech.com> References: <558775F0.4040405@sneakertech.com> <55877916.9070100@sneakertech.com> Message-ID: crack it out of the case and wire it directly into a sata/ide port, or mount it in a usb caddy? On 22 June 2015 at 03:55, Quartz wrote: > Assuming 10.1-release, >> > > More specifically: FreeBSD-10.1-RELEASE-amd64 > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From kuku at kukulies.org Mon Jun 22 13:28:12 2015 From: kuku at kukulies.org (Christoph P.U. Kukulies) Date: Mon, 22 Jun 2015 15:21:59 +0200 Subject: how to use FreeBSD-10.1-RELEASE-i386.vmdk under vmware Message-ID: <55880BF7.3040106@kukulies.org> I downloaded a FreeBSD 10.1 vmware image FreeBSD-10.1-RELEASE-i386.vmdk and would like to run it using VMWARE Workstation 9.x. When starting the vmdk it says that it canot be run, I should use the .vmx configuration file instead. Anyone knowing how to proceed from here? -- Christoph From oscar.hodgson at gmail.com Mon Jun 22 15:37:00 2015 From: oscar.hodgson at gmail.com (Oscar Hodgson) Date: Mon, 22 Jun 2015 11:36:46 -0400 Subject: yum on freebsd 9: No module named sqlite Message-ID: <60AFD209-581B-41B6-80D5-0119389BC447@gmail.com> Hi folks, Is anyone running yum successfully on release 9? I am trying to get a yum repository running on FreeBSD 9-RELEASE-p17 in order to replace a Linux machine. /usr/ports is current. sysutils/yum (3.4.3_2) builds cleanly, ?yum? fails to start with the above error. Yum is essentially 100% python. /usr/ports/databases/py-sqlite3 is installed. There is no ?py-sqlite? package in ports. This error extends to various yum components (i.e. import sqlitesack, import sqlutils, and so forth). I am stymied. Going through the ports code has not been enlightening. Any suggestions? Oscar From mail at ozzmosis.com Mon Jun 22 15:45:55 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 23 Jun 2015 01:45:45 +1000 Subject: GCC question In-Reply-To: <558585CB.4070607@hiwaay.net> References: <558585CB.4070607@hiwaay.net> Message-ID: <20150622154545.GA92373@ozzmosis.com> On Sat 2015-06-20 10:31:14 UTC-0453, William A. Mahaffey III (wam at hiwaay.net) wrote: > I have gcc 4.8 installed on this system. I notice a slight newer version > available, specifically referencing AMD64, which this box is: > > [root at kabini1, /etc, 10:15:12am] 630 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue > Apr 7 03:01:12 UTC 2015 > root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root at kabini1, /etc, 10:15:15am] 631 % grep -i gcc LIST.installed.txt > gcc-4.8.4_3 GNU Compiler Collection 4.8 > gcc-ecj-4.5 Eclipse Java Compiler used to build GCC Java > [root at kabini1, /etc, 10:19:39am] 632 % grep -i gcc LIST.available.txt > amd64-gcc-4.9.2_1 > amd64-xtoolchain-gcc-0.1 I suspect these are for cross-compiling to amd64 from non-amd64 hosts. > I only use ports for the flash library, however I am wondering if there > might be any performance improvement in recompiling some stuff locally, > possibly with a compiler tuned/optimized for AMD64. The regular gcc in base is already tuned to amd64. You could use clang instead of gcc. It is the default C/C++ compiler in FreeBSD 10. Performance benefits are likely to be marginal, though. From mail at ozzmosis.com Mon Jun 22 15:48:38 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 23 Jun 2015 01:48:34 +1000 Subject: how to use FreeBSD-10.1-RELEASE-i386.vmdk under vmware In-Reply-To: <55880BF7.3040106@kukulies.org> References: <55880BF7.3040106@kukulies.org> Message-ID: <20150622154834.GB92373@ozzmosis.com> On Mon 2015-06-22 15:21:59 UTC+0200, Christoph P.U. Kukulies (kuku at kukulies.org) wrote: > I downloaded a FreeBSD 10.1 vmware image FreeBSD-10.1-RELEASE-i386.vmdk > and would like to run it using > VMWARE Workstation 9.x. When starting the vmdk it says that it canot be > run, I should use the .vmx configuration file instead. > > Anyone knowing how to proceed from here? The vmdk file is a disk image. You need to create a VM first in VMware, then attach the vmdk as a hard drive. From wam at hiwaay.net Mon Jun 22 16:01:46 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Mon, 22 Jun 2015 11:07:53 -0453 Subject: GCC question In-Reply-To: <20150622154545.GA92373@ozzmosis.com> References: <558585CB.4070607@hiwaay.net> <20150622154545.GA92373@ozzmosis.com> Message-ID: <55883162.8050501@hiwaay.net> On 06/22/15 10:52, andrew clarke wrote: > On Sat 2015-06-20 10:31:14 UTC-0453, William A. Mahaffey III (wam at hiwaay.net) wrote: > >> I have gcc 4.8 installed on this system. I notice a slight newer version >> available, specifically referencing AMD64, which this box is: >> >> [root at kabini1, /etc, 10:15:12am] 630 % uname -a >> FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue >> Apr 7 03:01:12 UTC 2015 >> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [root at kabini1, /etc, 10:15:15am] 631 % grep -i gcc LIST.installed.txt >> gcc-4.8.4_3 GNU Compiler Collection 4.8 >> gcc-ecj-4.5 Eclipse Java Compiler used to build GCC Java >> [root at kabini1, /etc, 10:19:39am] 632 % grep -i gcc LIST.available.txt >> amd64-gcc-4.9.2_1 >> amd64-xtoolchain-gcc-0.1 > I suspect these are for cross-compiling to amd64 from non-amd64 hosts. > >> I only use ports for the flash library, however I am wondering if there >> might be any performance improvement in recompiling some stuff locally, >> possibly with a compiler tuned/optimized for AMD64. > The regular gcc in base is already tuned to amd64. > > You could use clang instead of gcc. It is the default C/C++ compiler > in FreeBSD 10. Performance benefits are likely to be marginal, > though. I found some sources online last summer when I built this box that said clang produced worse code than gcc, that's most of the reason I went w/ 9.3R rather than 10.n, which are clang based, as I understand things. I guess I am good to go now, then, thanks :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From mail at ozzmosis.com Mon Jun 22 16:09:33 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 23 Jun 2015 02:09:29 +1000 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <5587E158.2020702@physik.rwth-aachen.de> References: <5587E158.2020702@physik.rwth-aachen.de> Message-ID: <20150622160929.GC92373@ozzmosis.com> On Mon 2015-06-22 12:20:08 UTC+0200, Christoph Kukulies (kuku at physik.rwth-aachen.de) wrote: > I'm running a somewhat come into age server under FreeBSD 5.1 at the > moment and I'm in need to update to php5. Trying to install php-5.0.0 > in ports results in an error message > > fetch: > http://www.t.ring.gr.jp/archives/net/www/php/distributions/php-5.0.0.tar.bz2: > Not Found You'll probably need to download php-5.0.0.tar.bz2 manually and move it to /usr/ports/distfiles/. I imagine you're using the ports tree supplied with FreeBSD 5.1, which would be very old, so you'll encounter missing distfiles like the above. You could update your ports tree, however the ports tree in 2015 is no longer compatible with FreeBSD 5.1. I suspect PHP 5.0.0 is EOL upstream and has security issues and other bugs. I wouldn't recommend using it. Upgrading your server to a modern version of FreeBSD would allow you to install current supported versions of PHP, etc. From chrisstankevitz at gmail.com Mon Jun 22 16:17:26 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Mon, 22 Jun 2015 09:17:23 -0700 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. Message-ID: I updated to 10.1-RELEASE-p12 and my outgoing emails stopped working due to FreeBSD-EN-15:08.sendmail. I've never installed any ports and I have as default a setup as one can imagine. This leads me to believe that the documentation is wrong or that cosmic rays have corrupted my system. I have never touched a sendmail conf file. "mail root" fails with "dh key too small" in /var/log/maillog, both after -p12 and -p13. I tried following the errata to solve my problem, but got stuck at just about every step: - freebsd-update freebsd-update succeeded. I am now at 10.1-RELEASE-p13. But I still have the same problem (sendmail reports DH key too small). I did not reboot my machine (and it will be a pain for me to do so). Perhaps I should try the workaround? Perhaps I must reboot. - workaround Should I try the workaround? My preference is to find "root cause" for why freebsd-update failed to solve my problem. The workaround reports many steps, but already at step 1 I am stumped: 1. Edit /etc/mail/`hostname`.mc That file doesn't exist. I have a freebsd.mc though. I'll use that. 2. If a setting for confDH_PARAMETERS does not exist or exists and is set to a string beginning with '5', replace it with '1' for 1024-bit or '2' for 2048-bit. I have confDH_PARAMETERS defined to CERT_DIR/dh.param. /etc/mail/certs/dh.param doesn't exist. 3. If a setting for confDH_PARAMETERS exists and is set to a file path, create a new file with: openssl dhparam -out /path/to/file 2048 for 2048-bit or: openssl dhparam -out /path/to/file 1024 for 1024-bit. I could try this. But I would have expected freebsd-upate to 10.1-RELEASE-p13 to handle this. 4. If you have modified your MSP submission configuration file to enable STARTTLS (not enabled by default), repeat the above steps for /etc/mail/`hostname`.submit.mc. Definitely have not done that (or anything else for that matter). 5. Rebuild the .cf file(s): cd /etc/mail/; make; make install I could do that... 6. Restart sendmail: cd /etc/mail/; make restart I could do that... Thank you, Chris From chrisstankevitz at gmail.com Mon Jun 22 16:23:21 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Mon, 22 Jun 2015 09:23:18 -0700 Subject: hot swap: removing hard drives In-Reply-To: <52126574-1F3E-4B55-A187-8C39023FFF1B@citywest.ca> References: <52126574-1F3E-4B55-A187-8C39023FFF1B@citywest.ca> Message-ID: On Fri, Jun 19, 2015 at 2:08 PM, Keith wrote: > We have some old dell 1950 and 2950s with fbsd 6.x 9..x and a 10 machine. Thanks Keith. What I'm trying to understand is what camcontrol command (if any) I must issue before hot-swap removing a healthy drive with no mounted filesystems. Chris From mail at ozzmosis.com Mon Jun 22 16:36:04 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 23 Jun 2015 02:36:00 +1000 Subject: GCC question In-Reply-To: <55883162.8050501@hiwaay.net> References: <558585CB.4070607@hiwaay.net> <20150622154545.GA92373@ozzmosis.com> <55883162.8050501@hiwaay.net> Message-ID: <20150622163600.GD92373@ozzmosis.com> On Mon 2015-06-22 11:07:53 UTC-0453, William A. Mahaffey III (wam at hiwaay.net) wrote: > I found some sources online last summer when I built this box that said > clang produced worse code than gcc, that's most of the reason I went w/ > 9.3R rather than 10.n, which are clang based, as I understand things. I > guess I am good to go now, then, thanks :-) .... I think you'll find 10.x is no slower than 9.x. Otherwise nobody would use 10.x. Whatever you read probably applied to a much older version of clang. "Last summer" is ambiguous btw. Earth has two hemispheres. Where I live it's winter. Incidentally your email program's time zone is very odd. UTC-0453? From kwoody at citywest.ca Mon Jun 22 17:43:27 2015 From: kwoody at citywest.ca (Keith) Date: Mon, 22 Jun 2015 10:43:19 -0700 Subject: hot swap: removing hard drives In-Reply-To: References: <52126574-1F3E-4B55-A187-8C39023FFF1B@citywest.ca> Message-ID: <9AE88DDC-2005-4A42-9C8F-16E154201510@citywest.ca> I dont use camcontrol, i use the mfiutil for the perc 5 controller. When i pulled a healthy drive from one of our old dells i would use mfiutil to fail the good drive before removing it. But that was just in the lab for testing as i have no need to remove a healthy drive from a system. Have not used camcontrol for a while now. Sorry dont know the answer to that. Keith > On Jun 22, 2015, at 09:23, Chris Stankevitz wrote: > >> On Fri, Jun 19, 2015 at 2:08 PM, Keith wrote: >> We have some old dell 1950 and 2950s with fbsd 6.x 9..x and a 10 machine. > > Thanks Keith. What I'm trying to understand is what camcontrol > command (if any) I must issue before hot-swap removing a healthy drive > with no mounted filesystems. > > Chris From chuck at mantis.biz Mon Jun 22 17:43:53 2015 From: chuck at mantis.biz (Chuck @ Mantis) Date: Mon, 22 Jun 2015 13:43:46 -0400 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. In-Reply-To: References: Message-ID: <55884952.8060005@mantis.biz> On 6/22/2015 12:17 PM, Chris Stankevitz wrote: > I updated to 10.1-RELEASE-p12 and my outgoing emails stopped working > due to FreeBSD-EN-15:08.sendmail. I've never installed any ports and > I have as default a setup as one can imagine. This leads me to > believe that the documentation is wrong or that cosmic rays have > corrupted my system. I have never touched a sendmail conf file. > > "mail root" fails with "dh key too small" in /var/log/maillog, both > after -p12 and -p13. > > I tried following the errata to solve my problem, but got stuck at > just about every step: > > - freebsd-update > > freebsd-update succeeded. I am now at 10.1-RELEASE-p13. But I still > have the same problem (sendmail reports DH key too small). I did not > reboot my machine (and it will be a pain for me to do so). Perhaps I > should try the workaround? Perhaps I must reboot. > > - workaround > > Should I try the workaround? My preference is to find "root cause" > for why freebsd-update failed to solve my problem. The workaround > reports many steps, but already at step 1 I am stumped: > > 1. Edit /etc/mail/`hostname`.mc > > That file doesn't exist. I have a freebsd.mc though. I'll use that. > > 2. If a setting for confDH_PARAMETERS does not exist or > exists and is set to a string beginning with '5', > replace it with '1' for 1024-bit or '2' for 2048-bit. > > I have confDH_PARAMETERS defined to CERT_DIR/dh.param. > /etc/mail/certs/dh.param doesn't exist. > > 3. If a setting for confDH_PARAMETERS exists and is set to > a file path, create a new file with: > openssl dhparam -out /path/to/file 2048 > for 2048-bit or: > openssl dhparam -out /path/to/file 1024 > for 1024-bit. > > I could try this. But I would have expected freebsd-upate to > 10.1-RELEASE-p13 to handle this. > > 4. If you have modified your MSP submission configuration > file to enable STARTTLS (not enabled by default), repeat > the above steps for /etc/mail/`hostname`.submit.mc. > > Definitely have not done that (or anything else for that matter). > > 5. Rebuild the .cf file(s): > cd /etc/mail/; make; make install > > I could do that... > > 6. Restart sendmail: > cd /etc/mail/; make restart > > I could do that... > > Thank you, > > Chris > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" I've been dealing with this issue as well. cd /etc/mail/certs openssl dhparam -out dh.param 2048 service sendmail restart From jd1008 at gmail.com Mon Jun 22 17:51:53 2015 From: jd1008 at gmail.com (jd1008) Date: Mon, 22 Jun 2015 11:51:50 -0600 Subject: How to test for memory corruption ? In-Reply-To: References: Message-ID: <55884B36.8000007@gmail.com> On 06/22/2015 02:10 AM, Daniel Peyrolon wrote: > Hi, > > I have absolutely no idea, but maybe you can use DTrace for this? > > You could also print the location for each memory write. > > El s?b., 20 de junio de 2015 9:20, Pratik Singhal > escribi?: > >> Hello, I have written code for adding support for DMA transfers for >> Allwinner A10 SoC (Cubieboard 1) in MMC driver/ >> >> I have tried transferring files to/from mmc card and verified that files >> are copied fine. >> Although, many times the kernel panics suddenly, after I transfer files. >> This does not happen If I use PIO to transfer data (PIO's code is tested >> and already committed to ~HEAD). Panics don't occur in the statements >> written for DMA transfer. >> >> I am suspecting that the problem is that the DMA transfer apart from >> writing where it is required, is overwriting other parts of the memory >> also. >> >> Is there any way, I can verify that this is/this is not the case ? >> >> Thank you, >> Pratik Singhal It would be helpful to the devs if you post a link to the source code of your dma support code and all the mods you made in support thereof. From chrisstankevitz at gmail.com Mon Jun 22 18:28:21 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Mon, 22 Jun 2015 11:28:19 -0700 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. In-Reply-To: <55884952.8060005@mantis.biz> References: <55884952.8060005@mantis.biz> Message-ID: On Mon, Jun 22, 2015 at 10:43 AM, Chuck @ Mantis wrote: > On 6/22/2015 12:17 PM, Chris Stankevitz wrote: >> freebsd-update succeeded. I am now at 10.1-RELEASE-p13. But I still >> have the same problem (sendmail reports DH key too small). I did not >> reboot my machine (and it will be a pain for me to do so). Perhaps I >> should try the workaround? Perhaps I must reboot. > > I've been dealing with this issue as well. > > cd /etc/mail/certs > > openssl dhparam -out dh.param 2048 > > service sendmail restart That worked, thank you. If anyone can give me a hint as to why the upgrading to 10.1-RELEASE-p13 apparently did not do this, please let me know. Chris From john.haraden at yahoo.com Mon Jun 22 20:13:03 2015 From: john.haraden at yahoo.com (john.haraden at yahoo.com) Date: Mon, 22 Jun 2015 13:12:58 -0700 Subject: pkg Message-ID: (1). I have a work station with two Xeon processors. (2) I have installed FreeBSD 10.1 (3). I have no internet connection. (4) When I tried to use pkg to make my system fully functional, the system declared pkg was not in the base system, I would need to fetch it over the Internet. That is impossible since I do not have internet capability. (5) Is there some other way for me to get pkg? (6) Why was something as basic as pkg not included in the base system? After all, the system is supposed to be self-contained? (7) I tried to install my old version 5.3, but the hardware would not accept it. (8) Do I have any alternative to discarding the new hardware and FreeBSD? Sent from my iPhone From wam at hiwaay.net Mon Jun 22 20:14:06 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Mon, 22 Jun 2015 15:20:19 -0453 Subject: GCC question In-Reply-To: <20150622163600.GD92373@ozzmosis.com> References: <558585CB.4070607@hiwaay.net> <20150622154545.GA92373@ozzmosis.com> <55883162.8050501@hiwaay.net> <20150622163600.GD92373@ozzmosis.com> Message-ID: <55886C8C.4040306@hiwaay.net> On 06/22/15 11:42, andrew clarke wrote: > On Mon 2015-06-22 11:07:53 UTC-0453, William A. Mahaffey III (wam at hiwaay.net) wrote: > >> I found some sources online last summer when I built this box that said >> clang produced worse code than gcc, that's most of the reason I went w/ >> 9.3R rather than 10.n, which are clang based, as I understand things. I >> guess I am good to go now, then, thanks :-) .... > I think you'll find 10.x is no slower than 9.x. Otherwise nobody would > use 10.x. > > Whatever you read probably applied to a much older version of clang. Nope, it specifically referred to FreeBSD 10.n .... > "Last summer" is ambiguous btw. Earth has two hemispheres. Where I > live it's winter. Northern Hemisphere, (late) last summer was Aug/Sep 2014 :-) .... > Incidentally your email program's time zone is very odd. UTC-0453? > Yeah, I like my computers to report the same time I set my clocks to, which is about 6 min. fast, so I made up an oddball TZ to reflect that. It was discussed on the NetBSD-arm list, in case you want all the gory details ;-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From cswiger at mac.com Mon Jun 22 20:48:31 2015 From: cswiger at mac.com (Charles Swiger) Date: Mon, 22 Jun 2015 13:48:28 -0700 Subject: pkg In-Reply-To: References: Message-ID: On Jun 22, 2015, at 1:12 PM, john.haraden--- via freebsd-questions wrote: > (1). I have a work station with two Xeon processors. > (2) I have installed FreeBSD 10.1 > (3). I have no internet connection. > (4) When I tried to use pkg to make my system fully functional, the system declared pkg was not in the base system, I would need to fetch it over the Internet. That is impossible since I do not have internet capability. You get a fully functioning FreeBSD system from the .iso images. If you want to install external / third-party software, then using ports or pkg via the Internet is a good solution, but it is not the only option. > (5) Is there some other way for me to get pkg? Sure. You can download pkg and the packages you want to have it install onto a USB drive, burn them to a CD/DVD, etc. Note that the FreeBSD project provides a larger image with some common packages included as a DVD image, ie: FreeBSD-10.1-RELEASE-amd64-dvd1.iso > (6) Why was something as basic as pkg not included in the base system? Packages and ports are not part of the base system by definition. I've got production firewalls based upon FreeBSD still running at clients which never needed or had any additional third-party software installed on them, for example.... > After all, the system is supposed to be self-contained? It is. FreeBSD is self-hosting and can be bootstrapped from source via the included compiler toolchain. > (7) I tried to install my old version 5.3, but the hardware would not accept it. Good. You'd be missing a decade worth of security fixes, if nothing else. > (8) Do I have any alternative to discarding the new hardware and FreeBSD? You have many alternatives, but feel free to select the most melodramatic option if doing so pleases you. Regards, -- -Chuck From quartz at sneakertech.com Mon Jun 22 21:28:06 2015 From: quartz at sneakertech.com (Quartz) Date: Mon, 22 Jun 2015 17:28:04 -0400 Subject: Current state of firewire support? In-Reply-To: <201506221439.t5MEddYe026712@sdf.org> References: <201506221439.t5MEddYe026712@sdf.org> Message-ID: <55887DE4.3070207@sneakertech.com> >> crack it out of the case and wire it directly into a sata/ide port, or >> mount it in a usb caddy? If it was my personal drive, sure... other people don't tend to like it when you hack apart their stuff though :/ > Oh, nonsense. Quartz just read it wrong. That is perfectly possible. I haven't messed with firewire for a while and wasn't familiar with what freebsd used to offer, so I'm confused about what was changed. >Firewire support works > fine. Support for firewire was only removed from the GENERIC kernel > configuration file, so all he needs to do is put those lines into his > kernel configuration file and rebuild his kernel. > Also nonsense all he needs to do is > > kldload /boot/kernel/firewire.ko > or > echo 'firewire_load="YES"' >> /boot/loader.conf > and reboot Ok awesome, so I can add a line to loader.conf or if for some weird reason that fails just recompile the kernel? From quartz at sneakertech.com Mon Jun 22 22:09:09 2015 From: quartz at sneakertech.com (Quartz) Date: Mon, 22 Jun 2015 18:09:07 -0400 Subject: pkg In-Reply-To: References: Message-ID: <55888783.7080202@sneakertech.com> > (4) When I tried to use pkg to make my system fully functional, the > system declared pkg was not in the base system, I would need to fetch > it over the Internet. >Why was something as basic as pkg not included in the base > system? After all, the system is supposed to be self-contained? Are you saying that the packages you wanted to install were not included, or the pkg command line utilities themselves were not included? Which image did you install from? From mail at ozzmosis.com Mon Jun 22 22:24:40 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 23 Jun 2015 08:24:36 +1000 Subject: pkg In-Reply-To: References: Message-ID: <20150622222436.GA11918@ozzmosis.com> On Mon 2015-06-22 13:12:58 UTC-0700, john.haraden--- via freebsd-questions (freebsd-questions at freebsd.org) wrote: > (1). I have a work station with two Xeon processors. > (2) I have installed FreeBSD 10.1 > (3). I have no internet connection. > (4) When I tried to use pkg to make my system fully functional, the > system declared pkg was not in the base system, I would need to fetch > it over the Internet. That is impossible since I do not have internet > capability. > (5) Is there some other way for me to get pkg? pkg should be in the "packages" directory on your FreeBSD install DVD. You can install it with something along the lines of: mount /cdrom cd /cdrom/packages/*/All/ pkg add pkg-*.txz > (6) Why was something as basic as pkg not included in the base system? > After all, the system is supposed to be self-contained? pkg needs to be "bootstrapped" to be able to install other packages. See https://www.freebsd.org/doc/handbook/pkgng-intro.html From nightrecon at hotmail.com Mon Jun 22 22:42:21 2015 From: nightrecon at hotmail.com (Michael Powell) Date: Mon, 22 Jun 2015 18:41:47 -0400 Subject: pkg References: Message-ID: john.haraden--- via freebsd-questions wrote: > (1). I have a work station with two Xeon processors. > (2) I have installed FreeBSD 10.1 > (3). I have no internet connection. > (4) When I tried to use pkg to make my system fully functional, the > system declared pkg was not in the base system, I would need to fetch it > over the Internet. That is impossible since I do not have internet > capability. [snip] > > Sent from my iPhone Not trying to sound rude here, but can you utilize your iPhone to read the appropriate sections of the Handbook that deal with network configuration? If not, possibly we may be able to help - depending upon circumstantial variables. pkg is not needed to configure networking within the base system, with the possible exceptions being some ndis wrapper stuff and other firmwares. iirc there is even a place during the installation which allows for most basic networking configuration. Whether or not there is support in the base system will depend upon what hardware you are trying to use. If your hardware is not supported by FreeBSD at all installing pkg will not fix that. Bottom line is you more than likely *can* have Internet connectivity with what you have currently installed; it just needs to be configured. Then you can move on to whatever. -Mike From freebsd at edvax.de Mon Jun 22 22:54:37 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 23 Jun 2015 00:54:33 +0200 Subject: Current state of firewire support? In-Reply-To: <55887DE4.3070207@sneakertech.com> References: <201506221439.t5MEddYe026712@sdf.org> <55887DE4.3070207@sneakertech.com> Message-ID: <20150623005433.a999ebee.freebsd@edvax.de> On Mon, 22 Jun 2015 17:28:04 -0400, Quartz wrote: > > Also nonsense all he needs to do is > > > > kldload /boot/kernel/firewire.ko > > or > > echo 'firewire_load="YES"' >> /boot/loader.conf > > and reboot > > Ok awesome, so I can add a line to loader.conf or if for some weird > reason that fails just recompile the kernel? Kernel options: # FireWire support device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) device fwip # IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons The kernel has several FireWire settings you could apply. However, using kernel modules is easier and works in most cases out of the box. That's often a better approach than dealing with a custom (!) kernel. Just re-compiling GENERIC usually won't change anything. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From quartz at sneakertech.com Mon Jun 22 22:54:54 2015 From: quartz at sneakertech.com (Quartz) Date: Mon, 22 Jun 2015 18:54:51 -0400 Subject: Current state of firewire support? In-Reply-To: <55887DE4.3070207@sneakertech.com> References: <201506221439.t5MEddYe026712@sdf.org> <55887DE4.3070207@sneakertech.com> Message-ID: <5588923B.8050409@sneakertech.com> >> Firewire support works >> fine. Support for firewire was only removed from the GENERIC kernel >> configuration file, so all he needs to do is put those lines into his >> kernel configuration file and rebuild his kernel. > >> Also nonsense all he needs to do is >> >> kldload /boot/kernel/firewire.ko >> or >> echo 'firewire_load="YES"' >> /boot/loader.conf >> and reboot Also: is fw800 support included here as well, or do I have to do something special for that? From mail at ozzmosis.com Mon Jun 22 22:58:29 2015 From: mail at ozzmosis.com (andrew clarke) Date: Tue, 23 Jun 2015 08:58:25 +1000 Subject: pkg In-Reply-To: References: Message-ID: <20150622225825.GA12323@ozzmosis.com> On Mon 2015-06-22 13:12:58 UTC-0700, john.haraden--- via freebsd-questions (freebsd-questions at freebsd.org) wrote: > (1). I have a work station with two Xeon processors. > (2) I have installed FreeBSD 10.1 > (3). I have no internet connection. > (4) When I tried to use pkg to make my system fully functional, the > system declared pkg was not in the base system, I would need to fetch > it over the Internet. That is impossible since I do not have internet > capability. I forgot to mention in my last reply: You aren't clear whether you deliberately have no internet connection, or whether your aim is to connect to the internet by way of installing pkg. Because pkg won't actually help you connect to the Internet. Also, for all intents and purposes, once the base system is properly installed from CD, it is "fully functional". Installing software using pkg means you are installing software that is not part of FreeBSD. By the way, it's been some time since I did it, so my memory is foggy, but the FreeBSD installer itself should've given you the opportunity to install packages from the installation DVD, which would've installed pkg. From diewolfsschanze at yahoo.com Tue Jun 23 03:46:29 2015 From: diewolfsschanze at yahoo.com (John Drake) Date: Mon, 22 Jun 2015 20:38:29 -0700 Subject: Installation dvd Message-ID: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> For version 10.1, how do I install packages directly from the installation DVD? Sent from my iPhone From quartz at sneakertech.com Tue Jun 23 05:54:47 2015 From: quartz at sneakertech.com (Quartz) Date: Tue, 23 Jun 2015 01:54:44 -0400 Subject: pkg In-Reply-To: <9D082AF4-E80A-4674-92A5-9D4828944357@yahoo.com> References: <55888783.7080202@sneakertech.com> <9D082AF4-E80A-4674-92A5-9D4828944357@yahoo.com> Message-ID: <5588F4A4.2020500@sneakertech.com> > I installed from an installation disk. Err, define "installation disk". You purchased a cd/dvd? Or you burned dvd1.iso? Imaged memstick.img to a usb drive? Something else? >The packages are on the disk > but not the package utilities. Ok, so the only image that contains any packages would be the dvd1.iso, (which only contains a handful of super common stuff). Have you gone though the pkg pages in the docs? https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html From kuku at physik.rwth-aachen.de Tue Jun 23 07:59:30 2015 From: kuku at physik.rwth-aachen.de (Christoph Kukulies) Date: Tue, 23 Jun 2015 09:59:15 +0200 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <20150622160929.GC92373@ozzmosis.com> References: <5587E158.2020702@physik.rwth-aachen.de> <20150622160929.GC92373@ozzmosis.com> Message-ID: <558911D3.4030109@physik.rwth-aachen.de> Am 22.06.2015 um 18:09 schrieb andrew clarke: > On Mon 2015-06-22 12:20:08 UTC+0200, Christoph Kukulies (kuku at physik.rwth-aachen.de) wrote: > >> I'm running a somewhat come into age server under FreeBSD 5.1 at the >> moment and I'm in need to update to php5. Trying to install php-5.0.0 >> in ports results in an error message >> >> fetch: >> http://www.t.ring.gr.jp/archives/net/www/php/distributions/php-5.0.0.tar.bz2: >> Not Found > You'll probably need to download php-5.0.0.tar.bz2 manually and move > it to /usr/ports/distfiles/. Although you may be right with regard to obsoleteness of 5.0.0 and my 5.1 version in general, I'm wondering whether it would be possible to run a 10.1 executable under 5.1 (possible link it statically?). At the moment I'm urgently in need to update an intranet forum (pbpBB3) to a 3.1.5 version and this requires a newer (>= 5.3.3) version of php. -- Christoph > > I imagine you're using the ports tree supplied with FreeBSD 5.1, which > would be very old, so you'll encounter missing distfiles like the > above. > > You could update your ports tree, however the ports tree in 2015 is no > longer compatible with FreeBSD 5.1. > > I suspect PHP 5.0.0 is EOL upstream and has security issues and other > bugs. I wouldn't recommend using it. > > Upgrading your server to a modern version of FreeBSD would allow you > to install current supported versions of PHP, etc. > From kuku at physik.rwth-aachen.de Tue Jun 23 08:06:02 2015 From: kuku at physik.rwth-aachen.de (Christoph Kukulies) Date: Tue, 23 Jun 2015 10:05:56 +0200 Subject: chinese back posts to the list resp. to me when posting Message-ID: <55891364.10205@physik.rwth-aachen.de> I'm always getting replies from some chines email adresses: ljj_... at sina.com and jz.. at vip.sina.com when posting sth. to freebsd-questions. I assume these aren't just "vacation"-replies? Can these be filtered out? -- Christoph From freebsd at edvax.de Tue Jun 23 08:14:03 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 23 Jun 2015 10:13:53 +0200 Subject: chinese back posts to the list resp. to me when posting In-Reply-To: <55891364.10205@physik.rwth-aachen.de> References: <55891364.10205@physik.rwth-aachen.de> Message-ID: <20150623101353.f731368b.freebsd@edvax.de> On Tue, 23 Jun 2015 10:05:56 +0200, Christoph Kukulies wrote: > I'm always getting replies from some chines email adresses: > ljj_... at sina.com and jz.. at vip.sina.com when posting sth. to > freebsd-questions. > I assume these aren't just "vacation"-replies? As far as it has been explained (and partially translated) in several discussion threads already: yes, they are. :-) > Can these be filtered out? Not by the list maintainers, but _you_ can do it. Either define a filter rule in your MUA / MDA, or just press on the (relatively few) messages when they appear - at least that's what I do, because I'm far too lazy to write a simple filter when a simpler keypress is simplerer. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From matthew at freebsd.org Tue Jun 23 08:25:00 2015 From: matthew at freebsd.org (Matthew Seaman) Date: Tue, 23 Jun 2015 09:24:28 +0100 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <558911D3.4030109@physik.rwth-aachen.de> References: <5587E158.2020702@physik.rwth-aachen.de> <20150622160929.GC92373@ozzmosis.com> <558911D3.4030109@physik.rwth-aachen.de> Message-ID: <558917BC.30804@freebsd.org> On 06/23/15 08:59, Christoph Kukulies wrote: > Although you may be right with regard to obsoleteness of 5.0.0 and my > 5.1 version in general, > I'm wondering whether it would be possible to > run a 10.1 executable under 5.1 (possible link it statically?). 5.1 Release happened during a particularly difficult period for FreeBSD development. As I recall, it was quite quickly superseded by 5.2 release due to technical inadequacies, and it wasn't until the 6.x series that FreeBSD really got back on track. > At the moment I'm urgently in need to update an intranet forum (pbpBB3) to > a 3.1.5 version and this requires a newer (>= 5.3.3) version of php. Your quickest and most reliable way forward is to upgrade your FreeBSD box to something supported. Given you're starting from such an old base, the way I'd approach this is to buy a new hard drive, install it in parallel with your old drive (if possible) and then create a new install of FreeBSD 10.1, install all the software you need and migrate over the configurations, passwd file etc. from the old system. Although 5.1 release is so old now, you much have trouble getting hold of disks compatible with your hardware -- I think that pre-dates the common availability of both SAS and SATA... Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: OpenPGP digital signature URL: From freebsd at edvax.de Tue Jun 23 09:16:15 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 23 Jun 2015 11:16:11 +0200 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <5587E158.2020702@physik.rwth-aachen.de> References: <5587E158.2020702@physik.rwth-aachen.de> Message-ID: <20150623111611.9f567f0d.freebsd@edvax.de> On Mon, 22 Jun 2015 12:20:08 +0200, Christoph Kukulies wrote: > I'm running a somewhat come into age server under FreeBSD 5.1 at the > moment and I'm in need to > update to php5. You'll face too many problems that it's probably easier to install a supported version of FreeBSD (typically 10.1) and then build all the software you need, followed by "migration of data" (configuration, user accounts, user data, forum data and so on). You could try to build a current PHP on a current OS version and then try to install it on the old system, but that won't work because so many things have changed. The default package format and compression is different, and the old pkg_* tools are deprecated. Building from source would be the only option, but again, the toolchain has changed and the current sources probably won't compile. Running FreeBSD 5 in a trusted (!) intranet typically is not a problem. I have a file server running FreeBSD 4.4, and I do not plan to replace it (because it works too well). Of course I also do not plan to update any software it's running, because that would be impossible. :-) In your case, you will have more success with a new install, for sure. Do it in parallel (new machine, or at least new disk during scheduled downtime) so you can quickly switch over to the new system after you have verified everything works as you expect. Good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From FreeBSD at ShaneWare.Biz Tue Jun 23 09:29:14 2015 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Tue, 23 Jun 2015 18:59:04 +0930 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <558911D3.4030109@physik.rwth-aachen.de> References: <5587E158.2020702@physik.rwth-aachen.de> <20150622160929.GC92373@ozzmosis.com> <558911D3.4030109@physik.rwth-aachen.de> Message-ID: <558926E0.1030808@ShaneWare.Biz> On 23/06/2015 17:29, Christoph Kukulies wrote: > Am 22.06.2015 um 18:09 schrieb andrew clarke: >> On Mon 2015-06-22 12:20:08 UTC+0200, Christoph Kukulies >> (kuku at physik.rwth-aachen.de) wrote: >> >>> I'm running a somewhat come into age server under FreeBSD 5.1 at the >>> moment and I'm in need to update to php5. Trying to install php-5.0.0 >>> in ports results in an error message >>> >>> fetch: >>> http://www.t.ring.gr.jp/archives/net/www/php/distributions/php-5.0.0.tar.bz2: >>> >>> Not Found >> You'll probably need to download php-5.0.0.tar.bz2 manually and move >> it to /usr/ports/distfiles/. > > Although you may be right with regard to obsoleteness of 5.0.0 and my > 5.1 version in general, > I'm wondering whether it would be possible to > run a 10.1 executable under 5.1 (possible link it statically?). No. The other way works, newer systems have compatibility layers to support old binaries but an old system won't run a new binary. > At the moment I'm urgently in need to update an intranet forum (pbpBB3) to > a 3.1.5 version and this requires a newer (>= 5.3.3) version of php. Well FBSD 5.1 was released in June 2003 and 5.5 in May 2006 so ports support for the 5.x branch could have stopped as early as the middle of 2008 If you go to http://svnweb.freebsd.org/ports and set the sticky revision you can look through what was available at that time. A couple of quick svn searches shows that rev 21000 was in march 2008 but I'm not sure of the versions, both www/mod_php4 and mod_php5 use distfiles of php-4.0b2 Pick a revision around that time that has a versions you want, checkout a copy and try building, as url's change you may need to manually download the files you need, you should find the main sites have older versions that mirrors no longer keep. -- FreeBSD - the place to B...Software Developing Shane Ambler From kuku at physik.rwth-aachen.de Tue Jun 23 09:43:01 2015 From: kuku at physik.rwth-aachen.de (Christoph Kukulies) Date: Tue, 23 Jun 2015 11:42:54 +0200 Subject: pkg conflict (perl5-5.20.2_4 with perl5.20-5.20.0_3) install subversion Message-ID: <55892A1E.2090005@physik.rwth-aachen.de> I'm trying to install vmwaretools for FreeBSD 10.1 and in the course of that I'll have to build a patched kernel. I'm advised to do pkg install subversion to get the kernel sources. Doing this I'm getting a conflict: [9/15] Installing perl5-5.20.2_4... pkg: perl5-5.20.2_4 conflicts with perl5.20-5.20.0_3 (installs files into the same place). Problematic file: /usr/local/bin/a2p and bails out, what to do? -- Christoph From quartz at sneakertech.com Tue Jun 23 09:54:43 2015 From: quartz at sneakertech.com (Quartz) Date: Tue, 23 Jun 2015 05:54:40 -0400 Subject: chinese back posts to the list resp. to me when posting In-Reply-To: <55891364.10205@physik.rwth-aachen.de> References: <55891364.10205@physik.rwth-aachen.de> Message-ID: <55892CE0.1000200@sneakertech.com> > ljj_... at sina.com and jz.. at vip.sina.com when posting sth. to > freebsd-questions. I assume these aren't just "vacation"-replies? According to google translate: "We have received your letter! THX!" Looks like someone set a global autoreply without thinking. > Can these be filtered out? It looks like an innocent mistake and it's probably temporary, so pulling them off the list is likely bad form. Just set up a quick kill filter in your client or something. From nick-shaw at hotmail.com Tue Jun 23 10:25:36 2015 From: nick-shaw at hotmail.com (Nick Shaw) Date: Tue, 23 Jun 2015 11:24:25 +0100 Subject: FreeBSD community member engaging in online harassment Message-ID: Hi there, I was browsing reddit today and saw an example on the front page of online bullying. In this instance, a girl who identifies herself as "freebsdgirl" is on twitter harassing and being extremely abusive towards another freebsd community member. She referred to him as a rape apologist, creepy abuser and creepy uncle. From what I could see he simply retweeted something by someone she didn't like. The victim's name is Johannes Meixner and the harasser's name is Randi Harper. I was then led via reddit to a facebook post wherein he expresses his feelings, discusses his mental illnesses etc. She again hounds him. https://www.facebook.com/johannes.jost.meixner/posts/839246119483473 She is announcing via twitter that your group will soon be taking decisive action against the guy, despite the fact he hasn't actually done anything except seemingly piss off an internet troll/harasser. It's worrying that she's using her relative twitter popularity to engage in witchhunts like these. Here is their private chat log (which they're both spreading over reddit) - https://archive.is/9KGyX - as you can see her behaviour is simply appalling and she's an ill mannered troll. I work in tech myself and had been thinking about getting involved in open source, but I have zero time for people like her who wish to defame innocent people (especially with the extreme things she's coming off with) and I hope she is informed that this kind of bullying, vicious, nasty behaviour is unacceptable and deeply not in the spirit of togetherness. This isn't the first time I've seen this character harassing people who disagree with her, calling them disgusting names and setting twitter mobs on them. Just thought I'd bring it to your attention. She's still inciting her mob on twitter towards the guy and spreading lies about him right this minute. I'm sorry I couldn't come to you with better news, but I hate this kind of online bullying. The guy does not deserve to have his name dragged through the mud by this troll. Best, Nick From sameetkumarseo at gmail.com Tue Jun 23 12:08:33 2015 From: sameetkumarseo at gmail.com (Sameet kumar) Date: Tue, 23 Jun 2015 17:37:33 +0530 Subject: #Re- Web Design, PHP development Message-ID: freebsd-questions at freebsd.org Hi, Good Morning!!! I just want to confirm that did you receive my last mail? Haven't heard back from you, just wondering if you interested in our services. Please do let us know if you are interested, I will be more than happy to send you the quotation for Web Design And Web Development Packages. For you reference we will also share our current Projects, clients Testimonials and Methodology. I am looking forward to a positive response. Kind Regards, Sameet kumar ____________________________________________________________________________ ____________________________________________________________________________ _____________ From: Sameet kumar Sent: Friday, June 05, 2015 5:49 PM To: freebsd-questions at freebsd.org Subject: #Re- Web Design, PHP development Hi, I am Sameet kumar, a Web Development Company in Noida (India) and I work with 200+experienced IT professionals who are into: 1. Web Site Design, Web Site Development, Flash Design 2. Multimedia presentations, Trade/Slideshow Multimedia 3. Banner Ads, Brochures, Illustrations, Custom Design 4. Internet Marketing, Search Engine Optimization (SEO), PPC, SMO. 5. E-Commerce Solutions, any type of website Development. Let me know if you're interested & looking forward to any of these above services. Share your requirements with us, I'll be happy to share the further details with you. Your prompt response will be highly appreciated!! Thanks & Regards, Sameet kumar, Web Development Company Note: we are not spammers and are against spamming of any kind. If you are not interested .then you can reply with a simple \"no\",we will never contact you again From sophia at mobile-site-development.us Tue Jun 23 12:50:38 2015 From: sophia at mobile-site-development.us (Sophia Williams) Date: Tue, 23 Jun 2015 18:17:42 +0530 Subject: Pay only when we rank your keywords on top... Message-ID: <54cb01d0adb3$30d21550$92763ff0$@mobile-site-development.us> Greetings, Is your business on the first page of Google results? If no, we can help you get there! ResultFirst, a Digital Marketing Agency, driven by a team of 200+ technology specialists, has enabled thousands of clients to gain a prominent presence on Google and other leading search engines. The agency is credible for engineering the widely popular Performance Based - Digital Marketing model. Plus we provide FREE Website Analysis Report The Road to Success: . Keyword Analysis . Competitor Analysis . SEO Analysis . Website Architecture Optimization . Adding landing pages, if required . Social Media Optimization . Off page Optimization . Content Development . Reputation Management Sounds Intriguing? Simply email us a few search terms relevant to your line of business along with your contact details and we will get back to you shortly for further discussion. Warm Regards, Sophia Williams Marketing Manager Head Office: San Jose, CA In case you are NOT INTERESTED, reply with "UNSUBSCRIBE" and you will be removed from our database within 2 business days, don't worry! From wam at hiwaay.net Tue Jun 23 13:49:20 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Tue, 23 Jun 2015 08:55:32 -0453 Subject: Oddball text output Message-ID: <558963DD.8030002@hiwaay.net> .... I am getting sporadic (about once daily occurences of the following text output to terminal shells logged in as root: 1434986460323 addons.update-checker WARN Update manifest for {972ce4c6-7e08-4474-a285-3208198ce6fd} did not contain an updates property This box is a desktop running 9.3R-p13, w/ no explicit console (I suspect this is intended to be console output, but that is definitely speculation). I seems to be harmless, but is noticable & persistent. Any ideas what is causing it ? TIA & have a good one. [root at kabini1, /etc, 8:51:31am] 647 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr 7 03:01:12 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root at kabini1, /etc, 8:54:47am] 648 % grep pkg LIST.installed.txt pkg-1.5.4 Package manager pkgconf-0.9.10 Utility to help to configure compiler and linker flags [root at kabini1, /etc, 8:54:55am] 649 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From wam at hiwaay.net Tue Jun 23 14:58:42 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Tue, 23 Jun 2015 10:04:53 -0453 Subject: [OT] hopefully easy question Message-ID: <5589741E.30108@hiwaay.net> I am looking on Ebay for a battery for an older laptop I have. I used the following search, assembled in their search bar: http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&_sop=15&_nkw=compaq+presario+v5000+battery&_ipg=200&rt=nc This turned up a bunch of chargers 1st, which I don't want. Is there a way to add a 'negate' to the search string ? I tried adding '+(!charger)' to the URL text-string & got *only* chargers. FWIW, I am doing this under FBSD 9.3R, XFCE desktop, firefox, all FreeBSD, just to make it peripherially on topic :-) .... TIA for any (quick, don't bang any heads on walls over this) clues. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From brian at brianwhalen.net Tue Jun 23 15:08:52 2015 From: brian at brianwhalen.net (Brian W.) Date: Tue, 23 Jun 2015 08:02:42 -0700 Subject: [OT] hopefully easy question In-Reply-To: <5589741E.30108@hiwaay.net> References: <5589741E.30108@hiwaay.net> Message-ID: Doesn't the Google tactic of -negatestring work? On Jun 23, 2015 7:58 AM, "William A. Mahaffey III" wrote: > > > I am looking on Ebay for a battery for an older laptop I have. I used the > following search, assembled in their search bar: > > > > http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&_sop=15&_nkw=compaq+presario+v5000+battery&_ipg=200&rt=nc > > > This turned up a bunch of chargers 1st, which I don't want. Is there a way > to add a 'negate' to the search string ? I tried adding '+(!charger)' to > the URL text-string & got *only* chargers. FWIW, I am doing this under FBSD > 9.3R, XFCE desktop, firefox, all FreeBSD, just to make it peripherially on > topic :-) .... TIA for any (quick, don't bang any heads on walls over this) > clues. > > > -- > > William A. Mahaffey III > > ---------------------------------------------------------------------- > > "The M1 Garand is without doubt the finest implement of war > ever devised by man." > -- Gen. George S. Patton Jr. > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From wam at hiwaay.net Tue Jun 23 15:09:28 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Tue, 23 Jun 2015 10:15:41 -0453 Subject: [OT] hopefully easy question In-Reply-To: References: <5589741E.30108@hiwaay.net> Message-ID: <558976A6.50400@hiwaay.net> On 06/23/15 10:08, Brian W. wrote: > > Doesn't the Google tactic of -negatestring work? > > On Jun 23, 2015 7:58 AM, "William A. Mahaffey III" > wrote: > > > > I am looking on Ebay for a battery for an older laptop I have. I > used the following search, assembled in their search bar: > > > http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&_sop=15&_nkw=compaq+presario+v5000+battery&_ipg=200&rt=nc > > > This turned up a bunch of chargers 1st, which I don't want. Is > there a way to add a 'negate' to the search string ? I tried > adding '+(!charger)' to the URL text-string & got *only* chargers. > FWIW, I am doing this under FBSD 9.3R, XFCE desktop, firefox, all > FreeBSD, just to make it peripherially on topic :-) .... TIA for > any (quick, don't bang any heads on walls over this) clues. > > > -- > > William A. Mahaffey III > > ---------------------------------------------------------------------- > > "The M1 Garand is without doubt the finest implement of war > ever devised by man." > -- Gen. George S. Patton Jr. > > _______________________________________________ > freebsd-questions at freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org > " > I never heard of that Google tactic, sorry :-/ .... Is that in the search bar or the URL string ? TIA & thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From andrewlylegould at gmail.com Tue Jun 23 15:12:17 2015 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue, 23 Jun 2015 10:12:14 -0500 Subject: [OT] hopefully easy question In-Reply-To: <5589741E.30108@hiwaay.net> References: <5589741E.30108@hiwaay.net> Message-ID: The url below has 2 battery options (Compaq Presario v5000): http://www.batteriesplus.com/products/548-0/6673-Notebook-Laptop-Batteries/133203-Compaq/Presario-V5000/2735-2969-Presario-V5000-Series/1.aspx I'm not promoting Batteries Plus (nor am I speaking against them). If you find what you want, you could try searching eBay using the specific battery model number. Good luck, Andrew On Tue, Jun 23, 2015 at 9:57 AM, William A. Mahaffey III wrote: > > > I am looking on Ebay for a battery for an older laptop I have. I used the > following search, assembled in their search bar: > > > > http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&_sop=15&_nkw=compaq+presario+v5000+battery&_ipg=200&rt=nc > > > This turned up a bunch of chargers 1st, which I don't want. Is there a way > to add a 'negate' to the search string ? I tried adding '+(!charger)' to > the URL text-string & got *only* chargers. FWIW, I am doing this under FBSD > 9.3R, XFCE desktop, firefox, all FreeBSD, just to make it peripherially on > topic :-) .... TIA for any (quick, don't bang any heads on walls over this) > clues. > > > -- > > William A. Mahaffey III > > ---------------------------------------------------------------------- > > "The M1 Garand is without doubt the finest implement of war > ever devised by man." > -- Gen. George S. Patton Jr. > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From wblock at wonkity.com Tue Jun 23 15:49:01 2015 From: wblock at wonkity.com (Warren Block) Date: Tue, 23 Jun 2015 09:48:58 -0600 (MDT) Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <558917BC.30804@freebsd.org> References: <5587E158.2020702@physik.rwth-aachen.de> <20150622160929.GC92373@ozzmosis.com> <558911D3.4030109@physik.rwth-aachen.de> <558917BC.30804@freebsd.org> Message-ID: On Tue, 23 Jun 2015, Matthew Seaman wrote: > On 06/23/15 08:59, Christoph Kukulies wrote: >> Although you may be right with regard to obsoleteness of 5.0.0 and my >> 5.1 version in general, >> I'm wondering whether it would be possible to >> run a 10.1 executable under 5.1 (possible link it statically?). > > 5.1 Release happened during a particularly difficult period for FreeBSD > development. As I recall, it was quite quickly superseded by 5.2 release > due to technical inadequacies, and it wasn't until the 6.x series that > FreeBSD really got back on track. > >> At the moment I'm urgently in need to update an intranet forum (pbpBB3) to >> a 3.1.5 version and this requires a newer (>= 5.3.3) version of php. > > Your quickest and most reliable way forward is to upgrade your FreeBSD > box to something supported. Given you're starting from such an old > base, the way I'd approach this is to buy a new hard drive, install it > in parallel with your old drive (if possible) and then create a new > install of FreeBSD 10.1, install all the software you need and migrate > over the configurations, passwd file etc. from the old system. Agreed, except I would suggest a completely separate computer for the new install. Old stuff that has been running for years can be fragile. Moving a cable that has been motionless for years can make it fail, and it's somehow a given that these systems are never backed up. Given the age of the 5.1 system, replacement hardware is probably easily available (free), or a VM can be used. The old system can be imaged onto a second drive or partition on the new system for convenience of copying configurations, or just copy them from the live old system with rsync or scp. From server at iinet.net.au Tue Jun 23 16:38:00 2015 From: server at iinet.net.au ( PayPal) Date: Wed, 24 Jun 2015 00:37:52 +0800 Subject: Receipt for your PayPal payment to Apple Store Australia Message-ID: - This mail is in HTML. Some elements may be ommited in plain text. - 23 June 2015 23:54:32 (UTC+10) Transaction ID: TH0FU294620100A Dear , You sent a payment of $125.95 AUD to Apple Store Australia ( support @apple.com.au ) Thanks for using PayPal. To see all the transaction details, log in to your PayPal account. It may take a few moments for this transaction to appear in your account. Seller Apple Online Store Limited. support @apple.com.au Note to seller You haven't included a note. Delivery address ? confirmed Dispatch details The seller hasn?t provided any dispatch details yet. Description Unit price Qty Amount OIloclip Photo Lens for iPhone 6 and 6 Plus Item Number 20029-59274 A$119.95 1 A$119.95 Postage and packaging A$6.00 Insurance - not offered ---- Total A$125.95 Payment A$125.95 Payment sent to store at apple.com.au Issues with this transaction? You have 180 days from the date of the transaction to open a dispute in the Resolution Centre. If you haven't authorized this charge ,click the link below to dispute transaction and get full refund Dispute transaction ( Encrypted Link ) Questions? Go to the Help Centre at: www.paypal.com/au/help .. Please do not reply to this email. This mailbox is not monitored and you will not receive a response. For assistance, log in to your PayPal account and click Help in the top right corner of any PayPal page. You can choose to receive plain text emails instead of HTML emails. To change your Notifications preferences, log in to your PayPal account at http://_ www.paypal.com.au , go to your Profile and click My account settings .. Copyright ? 1999-2015 PayPal. All rights reserved. PayPal (Europe) S.? r.l. et Cie, S.C.A. Soci?t? en Commandite par Actions Registered Office: 5th Floor 22-24 Boulevard Royal L-2449, Luxembourg RCS Luxembourg B 118 349 PayPal Email ID PP152-7832trcxcy09832 From carlj at peak.org Tue Jun 23 17:40:49 2015 From: carlj at peak.org (Carl Johnson) Date: Tue, 23 Jun 2015 10:37:12 -0700 Subject: chinese back posts to the list resp. to me when posting In-Reply-To: <20150623101353.f731368b.freebsd@edvax.de> (Polytropon's message of "Tue, 23 Jun 2015 10:13:53 +0200") References: <55891364.10205@physik.rwth-aachen.de> <20150623101353.f731368b.freebsd@edvax.de> Message-ID: <87zj3ql41j.fsf@elk.localnet> Polytropon writes: > On Tue, 23 Jun 2015 10:05:56 +0200, Christoph Kukulies wrote: >> I'm always getting replies from some chines email adresses: >> ljj_... at sina.com and jz.. at vip.sina.com when posting sth. to >> freebsd-questions. >> I assume these aren't just "vacation"-replies? > > As far as it has been explained (and partially translated) > in several discussion threads already: yes, they are. :-) I did a grep for sina.com and found several spams with a Reply-To for .sina.com, so I now consider them a spam site. I now filter out anything from them or with a Reply-To for them. >> Can these be filtered out? > > Not by the list maintainers, but _you_ can do it. Either > define a filter rule in your MUA / MDA, or just press > on the (relatively few) messages when they appear - at least > that's what I do, because I'm far too lazy to write a simple > filter when a simpler keypress is simplerer. :-) -- Carl Johnson carlj at peak.org From chrisstankevitz at gmail.com Tue Jun 23 18:43:14 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Tue, 23 Jun 2015 11:43:12 -0700 Subject: chown silently fails to respect NSS Message-ID: Hi, Why is chown is silently failing to chown a file to a winbind user that is listed in 'getent passwd'? I can chown to other users on the system. I can also chown to arbitrary numbers as long as they do not match those from winbind. My guess: "uid == (uid_t)-1" which causes chown to silently fail. Perhaps getpwnam doesn't work with NSS? Thank you, Chris === root at zinc:~/temp # ls -l total 0 root at zinc:~/temp # pwd /root/temp root at zinc:~/temp # getent passwd MYDOMAIN\\cstankevitz MYDOMAIN\cstankevitz:*:4294967295:4294967295:Chris Stankevitz:/home/MYDOMAIN/cstankevitz:/bin/false root at zinc:~/temp # touch file.txt root at zinc:~/temp # ls -l total 1 -rw-r--r-- 1 root wheel 0 Jun 23 11:34 file.txt root at zinc:~/temp # chown -v -v MYDOMAIN\\cstankevitz file.txt root at zinc:~/temp # ls -l total 1 -rw-r--r-- 1 root wheel 0 Jun 23 11:34 file.txt From cary at SDF.org Tue Jun 23 18:44:17 2015 From: cary at SDF.org (Cary) Date: Tue, 23 Jun 2015 11:38:46 -0700 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: (message from Warren Block on Tue, 23 Jun 2015 09:48:58 -0600 (MDT)) Message-ID: <86oak6p8w9.fsf@bsdstb.Belkin> Warren Block writes: > On Tue, 23 Jun 2015, Matthew Seaman wrote: > >> On 06/23/15 08:59, Christoph Kukulies wrote: >>> Although you may be right with regard to obsoleteness of 5.0.0 and my >>> 5.1 version in general, >>> I'm wondering whether it would be possible to >>> run a 10.1 executable under 5.1 (possible link it statically?). >> >> 5.1 Release happened during a particularly difficult period for FreeBSD >> development. As I recall, it was quite quickly superseded by 5.2 release >> >> Your quickest and most reliable way forward is to upgrade your FreeBSD >> box to something supported. Given you're starting from such an old > Agreed, except I would suggest a completely separate computer for the > new install. Old stuff that has been running for years can be fragile. > Moving a cable that has been motionless for years can make it fail, and > it's somehow a given that these systems are never backed up. > Were that the case, could there be any risk running a 10.1 executable on such a system? ---------------------------------------------------------------------- freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From rsmith at xs4all.nl Tue Jun 23 20:23:22 2015 From: rsmith at xs4all.nl (Roland Smith) Date: Tue, 23 Jun 2015 22:22:07 +0200 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <558911D3.4030109@physik.rwth-aachen.de> References: <5587E158.2020702@physik.rwth-aachen.de> <20150622160929.GC92373@ozzmosis.com> <558911D3.4030109@physik.rwth-aachen.de> Message-ID: <20150623202207.GA41880@slackbox.erewhon.home> On Tue, Jun 23, 2015 at 09:59:15AM +0200, Christoph Kukulies wrote: > Am 22.06.2015 um 18:09 schrieb andrew clarke: > > On Mon 2015-06-22 12:20:08 UTC+0200, Christoph Kukulies (kuku at physik.rwth-aachen.de) wrote: > > > >> I'm running a somewhat come into age server under FreeBSD 5.1 at the > >> moment and I'm in need to update to php5. Trying to install php-5.0.0 > >> in ports results in an error message > >> > >> fetch: > >> http://www.t.ring.gr.jp/archives/net/www/php/distributions/php-5.0.0.tar.bz2: > >> Not Found > > You'll probably need to download php-5.0.0.tar.bz2 manually and move > > it to /usr/ports/distfiles/. > > Although you may be right with regard to obsoleteness of 5.0.0 and my > 5.1 version in general, > I'm wondering whether it would be possible to > run a 10.1 executable under 5.1 (possible link it statically?). A dynamically linked version from 10.1 will not run; the major version of libc and other system libraries has changed from 5.x. (Interestingly, a binary from 7.2 will still run on 10.1; the shared library versions haven't changed) A statically linked version might run, unless it relies on system calls that were added after 5.1. > At the moment I'm urgently in need to update an intranet forum (pbpBB3) to > a 3.1.5 version and this requires a newer (>= 5.3.3) version of php. Whatever you do, make a backup first. :-) FreeBSD 5.1 was released in 2003. So the hardware you're running it on can be up to 12 years old. It's time to replace it before it dies on you at an inopportune moment. Get a new server and put 10.1 on it. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 801 bytes Desc: not available URL: From peo at intersonic.se Tue Jun 23 22:04:47 2015 From: peo at intersonic.se (Per olof Ljungmark) Date: Tue, 23 Jun 2015 23:56:36 +0200 Subject: Installation dvd In-Reply-To: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> Message-ID: <5589D614.8060702@intersonic.se> On 2015-06-23 05:38, John Drake via freebsd-questions wrote: > For version 10.1, how do I install packages directly from the installation DVD? > > Sent from my iPhone If I'm not mistaken you need to learn pkg(8). I do not use packages myself but my guess is that you need to mount the DVD and then use "pkg add" from the proper directory on the mounted filesystem. The Handbook has a chapter on this, and assuming you've got an Internet connection it may be better to install from the online repository. https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Cheers, //per From wblock at wonkity.com Tue Jun 23 22:09:15 2015 From: wblock at wonkity.com (Warren Block) Date: Tue, 23 Jun 2015 16:09:12 -0600 (MDT) Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <86oak6p8w9.fsf@bsdstb.Belkin> References: <86oak6p8w9.fsf@bsdstb.Belkin> Message-ID: On Tue, 23 Jun 2015, Cary wrote: > Warren Block writes: > >> On Tue, 23 Jun 2015, Matthew Seaman wrote: >> >>> On 06/23/15 08:59, Christoph Kukulies wrote: >>>> Although you may be right with regard to obsoleteness of 5.0.0 and my >>>> 5.1 version in general, >>>> I'm wondering whether it would be possible to >>>> run a 10.1 executable under 5.1 (possible link it statically?). >>> >>> 5.1 Release happened during a particularly difficult period for FreeBSD >>> development. As I recall, it was quite quickly superseded by 5.2 release >>> >>> Your quickest and most reliable way forward is to upgrade your FreeBSD >>> box to something supported. Given you're starting from such an old > > >> Agreed, except I would suggest a completely separate computer for the >> new install. Old stuff that has been running for years can be fragile. >> Moving a cable that has been motionless for years can make it fail, and >> it's somehow a given that these systems are never backed up. >> > > Were that the case, could there be any risk running a 10.1 executable > on such a system? I would be surprised if a 10.1 executable would run on a 5.1 system. But that misses the point. Do not try to run modern binaries on an ancient system. Set up a new 10.1 system, install new versions of the same software, and copy configuration and data files from the old one. Trying to update a 5.1 system in-place or run newer binaries on it is unlikely to work. If it does work, it's probably going to be shaky. If it doesn't work, trying to get it to work will almost certainly take more time than setting up a new 10.1 system and configuring it with modern versions of the same applications, then copying data and configuration. Look at it this way: trying to do anything with a FreeBSD 5.1 system is pretty much file recovery. Many, many things have changed since then. From jd1008 at gmail.com Tue Jun 23 22:51:40 2015 From: jd1008 at gmail.com (jd1008) Date: Tue, 23 Jun 2015 16:51:37 -0600 Subject: hard drive problem Message-ID: <5589E2F9.3070604@gmail.com> does anyone have a way to unlock the master pword in a recent WD 2TB 2.5" drive? From cary at SDF.org Tue Jun 23 23:38:24 2015 From: cary at SDF.org (Cary) Date: Tue, 23 Jun 2015 16:38:21 -0700 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: (message from Warren Block on Tue, 23 Jun 2015 16:09:12 -0600 (MDT)) Message-ID: <86k2uuov0y.fsf@bsdstb.Belkin> Warren Block writes: > On Tue, 23 Jun 2015, Cary wrote: > >> Warren Block writes: >> >>> On Tue, 23 Jun 2015, Matthew Seaman wrote: >>> >>>> On 06/23/15 08:59, Christoph Kukulies wrote: >>>>> I'm wondering whether it would be possible to >>>>> run a 10.1 executable under 5.1 (possible link it statically?). >>>> >>>> Your quickest and most reliable way forward is to upgrade your FreeBSD >>>> box to something supported. Given you're starting from such an old >> >> >>> Agreed, except I would suggest a completely separate computer for the >>> new install. Old stuff that has been running for years can be fragile. >>> Moving a cable that has been motionless for years can make it fail, and >>> it's somehow a given that these systems are never backed up. >>> >> >> Were that the case, could there be any risk running a 10.1 executable >> on such a system? > > I would be surprised if a 10.1 executable would run on a 5.1 system. > But that misses the point. Do not try to run modern binaries on an > ancient system. Set up a new 10.1 system, install new versions of the > same software, and copy configuration and data files from the old one. > Trying to update a 5.1 system in-place or run newer binaries on it is > unlikely to work. If it does work, it's probably going to be shaky. > If it doesn't work, trying to get it to work will almost certainly take > more time than setting up a new 10.1 system and configuring it with > modern versions of the same applications, then copying data and > configuration. > > Look at it this way: trying to do anything with a FreeBSD 5.1 system is > pretty much file recovery. Many, many things have changed since then. Yes, what you recommend is also what I would do. Upgrading is the OP's best option. Changes since 5.1 could be why he has not installed a recent version of FreeBSD. Copying over the old configuration he has been using may appear difficult also. From sophia at mobile-site-development.us Wed Jun 24 00:28:03 2015 From: sophia at mobile-site-development.us (Sophia Williams) Date: Wed, 24 Jun 2015 05:51:49 +0530 Subject: Pay only when we rank your keywords on top... Message-ID: <274c101d0ae14$9ebb2c30$dc318490$@mobile-site-development.us> Greetings, Is your business on the first page of Google results? If no, we can help you get there! ResultFirst, a Digital Marketing Agency, driven by a team of 200+ technology specialists, has enabled thousands of clients to gain a prominent presence on Google and other leading search engines. The agency is credible for engineering the widely popular Performance Based - Digital Marketing model. Plus we provide FREE Website Analysis Report The Road to Success: . Keyword Analysis . Competitor Analysis . SEO Analysis . Website Architecture Optimization . Adding landing pages, if required . Social Media Optimization . Off page Optimization . Content Development . Reputation Management Sounds Intriguing? Simply email us a few search terms relevant to your line of business along with your contact details and we will get back to you shortly for further discussion. Warm Regards, Sophia Williams Marketing Manager Head Office: San Jose, CA In case you are NOT INTERESTED, reply with "UNSUBSCRIBE" and you will be removed from our database within 2 business days, don't worry! From lists at gooch.io Wed Jun 24 02:18:12 2015 From: lists at gooch.io (Jesse Gooch) Date: Tue, 23 Jun 2015 19:17:56 -0700 Subject: Installation dvd In-Reply-To: <5589D614.8060702@intersonic.se> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> <5589D614.8060702@intersonic.se> Message-ID: <558A1354.7080006@gooch.io> If I'm not mistaken I don't think the installation DVD actually contains any software other than base. It does include the ports tree, but I don't think it contains any distfiles. I would recommend just using portsnap or svn if you want to use ports rather than packages as the ports tree on the DVD can be rather old. The handbook page you linked is very good information. From brandon.wandersee at gmail.com Wed Jun 24 02:43:46 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Tue, 23 Jun 2015 21:43:42 -0500 Subject: FreeBSD community member engaging in online harassment In-Reply-To: References: Message-ID: <864mlx9675.fsf@WorkBox.Home> Nick Shaw writes: > I have zero time for people like her who wish to defame innocent people Neither do I. Nor does any decent human being with better things to do with this short, precious life. This doesn't belong here, and some lone jackass on the Internet being a jackass on the Internet is inconsequential. Bringing this here does nothing but risk spreading this garbage from the dregs of Twitter to our nice, civil little haven. Keep petty squabbles unrelated to this community out of here, please. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From jesse at gooch.io Wed Jun 24 02:52:32 2015 From: jesse at gooch.io (Jesse Gooch) Date: Tue, 23 Jun 2015 19:52:22 -0700 Subject: Installation dvd In-Reply-To: <558A1354.7080006@gooch.io> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> <5589D614.8060702@intersonic.se> <558A1354.7080006@gooch.io> Message-ID: <558A1B66.9050100@gooch.io> Jesse Gooch Actually I think the DVD may contain some software. It's the CD that only contains base. Sorry for the bad info. On 6/23/2015 7:17 PM, Jesse Gooch wrote: > If I'm not mistaken I don't think the installation DVD actually contains > any software other than base. It does include the ports tree, but I > don't think it contains any distfiles. > > I would recommend just using portsnap or svn if you want to use ports > rather than packages as the ports tree on the DVD can be rather old. The > handbook page you linked is very good information. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From stoa at gmx.us Wed Jun 24 02:55:44 2015 From: stoa at gmx.us (Dutch Ingraham) Date: Tue, 23 Jun 2015 21:55:24 -0500 Subject: FreeBSD community member engaging in online harassment In-Reply-To: <864mlx9675.fsf@WorkBox.Home> References: <864mlx9675.fsf@WorkBox.Home> Message-ID: <20150624025523.GA11319@puffyzz.attlocal.net> On Tue, Jun 23, 2015 at 09:43:42PM -0500, Brandon J. Wandersee wrote: > > Nick Shaw writes: > > > I have zero time for people like her who wish to defame innocent people > > Neither do I. Nor does any decent human being with better things to do > with this short, precious life. This doesn't belong here, and some lone > jackass on the Internet being a jackass on the Internet is > inconsequential. > > Bringing this here does nothing but risk spreading this garbage from the > dregs of Twitter to our nice, civil little haven. Keep petty squabbles > unrelated to this community out of here, please. What might be relevant on this list is her claim to be a current FreeBSD committer.[1] A check of the developer's page, though, does not appear to list her as a dev.[2] [1]https://www.linkedin.com/in/freebsdgirl [2]https://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/ staff-committers.html From lists at gooch.io Wed Jun 24 03:04:41 2015 From: lists at gooch.io (Jesse Gooch) Date: Tue, 23 Jun 2015 20:04:32 -0700 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. In-Reply-To: References: <55884952.8060005@mantis.biz> Message-ID: <558A1E40.8080406@gooch.io> I recommend reading /usr/src/UPDATING and any relevant Errata Notices and/or Security Advisories BEFORE updating your system so you don't get bit like this again. https://www.freebsd.org/security/advisories/FreeBSD-EN-15:08.sendmail.asc On 6/22/2015 11:28 AM, Chris Stankevitz wrote: > On Mon, Jun 22, 2015 at 10:43 AM, Chuck @ Mantis wrote: >> On 6/22/2015 12:17 PM, Chris Stankevitz wrote: >>> freebsd-update succeeded. I am now at 10.1-RELEASE-p13. But I still >>> have the same problem (sendmail reports DH key too small). I did not >>> reboot my machine (and it will be a pain for me to do so). Perhaps I >>> should try the workaround? Perhaps I must reboot. >> >> I've been dealing with this issue as well. >> >> cd /etc/mail/certs >> >> openssl dhparam -out dh.param 2048 >> >> service sendmail restart > > That worked, thank you. If anyone can give me a hint as to why the > upgrading to 10.1-RELEASE-p13 apparently did not do this, please let > me know. > > Chris > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From rbyrnes at gmail.com Wed Jun 24 03:57:32 2015 From: rbyrnes at gmail.com (Rob Byrnes) Date: Wed, 24 Jun 2015 13:57:10 +1000 Subject: FreeBSD community member engaging in online harassment In-Reply-To: <20150624025523.GA11319@puffyzz.attlocal.net> References: <864mlx9675.fsf@WorkBox.Home> <20150624025523.GA11319@puffyzz.attlocal.net> Message-ID: Whether she is or isn't, that's a matter for core@, not the questions mailing list. On 24 June 2015 at 12:55, Dutch Ingraham wrote: > On Tue, Jun 23, 2015 at 09:43:42PM -0500, Brandon J. Wandersee wrote: > > > > Nick Shaw writes: > > > > > I have zero time for people like her who wish to defame innocent people > > > > Neither do I. Nor does any decent human being with better things to do > > with this short, precious life. This doesn't belong here, and some lone > > jackass on the Internet being a jackass on the Internet is > > inconsequential. > > > > Bringing this here does nothing but risk spreading this garbage from the > > dregs of Twitter to our nice, civil little haven. Keep petty squabbles > > unrelated to this community out of here, please. > > What might be relevant on this list is her claim to be a current FreeBSD > committer.[1] A check of the developer's page, though, does not appear > to list her as a dev.[2] > > [1]https://www.linkedin.com/in/freebsdgirl > [2]https://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/ > staff-committers.html > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Idiot : A member of a large and powerful tribe whose influence in human affairs has always been dominant and controlling. (Ambrose Bierce - The Devils Dictionary) From freebsd at edvax.de Wed Jun 24 04:03:22 2015 From: freebsd at edvax.de (Polytropon) Date: Wed, 24 Jun 2015 06:03:17 +0200 Subject: Installation dvd In-Reply-To: <558A1B66.9050100@gooch.io> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> <5589D614.8060702@intersonic.se> <558A1354.7080006@gooch.io> <558A1B66.9050100@gooch.io> Message-ID: <20150624060317.52a5ea96.freebsd@edvax.de> On Tue, 23 Jun 2015 19:52:22 -0700, Jesse Gooch wrote: > Actually I think the DVD may contain some software. It's the CD that > only contains base. Sorry for the bad info. The installation CD just contains a very narrow set of additional applications. It's basically the OS parts and assorted software. The main purpose of this media is to get the OS running, setup network connection, and start installing via Internet. The DVD contains more software as precompiled packages, to be installed with pkg. Of course that software has the versions that have been "freezed" prior to RELEASE. If you need something more recent, having Internet directly available for updates (or at least a machine to fetch binary packages for further transfer and installation) is recommended. The distfiles (sources for the ports collection) are usually fetched from Internet as well, so if you're going to build from source, Internet is what you need. If that is _not_ an option, just mount the installation DVD and use pkg to install the software you need by pointing at the correct package location. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wam at hiwaay.net Wed Jun 24 04:10:54 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Tue, 23 Jun 2015 23:17:00 -0453 Subject: Installation dvd In-Reply-To: <20150624060317.52a5ea96.freebsd@edvax.de> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> <5589D614.8060702@intersonic.se> <558A1354.7080006@gooch.io> <558A1B66.9050100@gooch.io> <20150624060317.52a5ea96.freebsd@edvax.de> Message-ID: <558A2DC5.8040401@hiwaay.net> On 06/23/15 23:09, Polytropon wrote: > On Tue, 23 Jun 2015 19:52:22 -0700, Jesse Gooch wrote: >> Actually I think the DVD may contain some software. It's the CD that >> only contains base. Sorry for the bad info. > The installation CD just contains a very narrow set of additional > applications. It's basically the OS parts and assorted software. > The main purpose of this media is to get the OS running, setup > network connection, and start installing via Internet. > > The DVD contains more software as precompiled packages, to be > installed with pkg. Of course that software has the versions > that have been "freezed" prior to RELEASE. If you need something "frozen" (sorry, couldn't resist :-) ) > more recent, having Internet directly available for updates (or > at least a machine to fetch binary packages for further transfer > and installation) is recommended. The distfiles (sources for the > ports collection) are usually fetched from Internet as well, so > if you're going to build from source, Internet is what you need. > > If that is _not_ an option, just mount the installation DVD and > use pkg to install the software you need by pointing at the correct > package location. > > > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From envios at creatunewsletter.com Wed Jun 24 06:37:59 2015 From: envios at creatunewsletter.com (Envios de News) Date: Wed, 24 Jun 2015 03:37:58 -0300 Subject: =?ISO-8859-1?Q?Queres_vender_m=E1s!!!_Tenemos_la_Soluci=F3n?= Message-ID: <03dbc89e434898bdab26d5b93850d761@localhost> NO RESPONDA ESTE MAIL Captar Nuevos Clientes??? Te ofrecemos una Campa?a Mensual para que Vendas todos los dias 5.000 mails diarios, 20 d?as h?biles al Mes = 100.000 contactos a enviar, por solo $ 700 10.000 mails diarios, 20 d?as h?biles al Mes = 200.000 contactos a enviar, por solo $ 1250 20.000 mails diarios, 20 d?as h?biles al Mes = 400.000 contactos a enviar, por solo $ 1890 La cantidad de contactos a enviar se pueden adaptar a tu necesidad Envios a Mayor Cantidad de Contactos**OFERTA MES JUNIO** 600.000 por solo $ 2.790 800.000 por solo $ 3.490 1 MILLON por solo $ 4.290 Sistema con Reportes, Graficos, Aperturas, etc Nuevas Bases Vip, Premium y Especiales Tenemos bases verificadas, seleccionadas, aperturas, leidos, clicks, interesados, etc plataformas y servicio de envios con servidores dedicados, dominios e ips rotativos, etc Formas de Pago: Transferencia o Deposito Bancario, Pago Facil y Rapi Pago M?s informes a: Este mail Enviado por creatunewsletter , sistema de email marketing y publicidad,si desea promocionar su producto cont?ctemos en este enlaceEste news es enviado en forma legal Ley 26.032, libre de virus y contiene informaci?n de interes com?n. Para desuscripci?n, Click Aqu? Si no desea continuar recibiendo este correo haga click aqu?. From service at 139.com Wed Jun 24 07:13:11 2015 From: service at 139.com (=?utf-8?B?MTM56YKu566x5oqA5pyv5pSv5pKR5Lit5b+D?=) Date: Wed, 24 Jun 2015 15:12:56 +0800 (CST) Subject: =?UTF-8?B?5YWz5LqO5oKo5Li+5oql5Z6D5Zy+6YKu5Lu255qE5Y+N6aaI?= Message-ID: <2b04558a2db2f5e-0004f.Richmail.00003080204086390599@139.com> ???139????? ??? ???????????????139????????????????????139???????????????????????????????????139???????????????????????????????139???????????????????????????????? ????139??????????????????????? 139?????????125????? ????????????????--????????????mail-139 ????139??????????? 2015?06?24? ??? From chrisstankevitz at gmail.com Wed Jun 24 05:32:07 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Tue, 23 Jun 2015 22:00:05 -0700 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. In-Reply-To: <558A1E40.8080406@gooch.io> References: <55884952.8060005@mantis.biz> <558A1E40.8080406@gooch.io> Message-ID: On Tue, Jun 23, 2015 at 8:04 PM, Jesse Gooch wrote: > I recommend reading /usr/src/UPDATING and any relevant Errata Notices > and/or Security Advisories BEFORE updating your system so you don't get > bit like this again. > > https://www.freebsd.org/security/advisories/FreeBSD-EN-15:08.sendmail.asc Hi Jesse, The whole point of my OP was to say that I read the errata. I was surprised that the update did not fix the problem. I tried the "workaround" (why I need to "work around" it if there was an update is not clear) but as I followed the steps I got stumped. Then I gave specific examples of where I got stumped following the errata. Why is it that I don't get it, but everyone else does? I'm certain the documentation is good. I have a good command of the english language. Nevertheless I don't get it... Chris From wam at hiwaay.net Wed Jun 24 05:32:07 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Tue, 23 Jun 2015 23:31:17 -0453 Subject: Installation dvd In-Reply-To: <20150624062258.333244de.freebsd@edvax.de> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> <5589D614.8060702@intersonic.se> <558A1354.7080006@gooch.io> <558A1B66.9050100@gooch.io> <20150624060317.52a5ea96.freebsd@edvax.de> <558A2DC5.8040401@hiwaay.net> <20150624062258.333244de.freebsd@edvax.de> Message-ID: <558A311E.5080401@hiwaay.net> On 06/23/15 23:29, Polytropon wrote: > On Tue, 23 Jun 2015 23:17:00 -0453, William A. Mahaffey III wrote: >> On 06/23/15 23:09, Polytropon wrote: >>> On Tue, 23 Jun 2015 19:52:22 -0700, Jesse Gooch wrote: >>>> Actually I think the DVD may contain some software. It's the CD that >>>> only contains base. Sorry for the bad info. >>> The installation CD just contains a very narrow set of additional >>> applications. It's basically the OS parts and assorted software. >>> The main purpose of this media is to get the OS running, setup >>> network connection, and start installing via Internet. >>> >>> The DVD contains more software as precompiled packages, to be >>> installed with pkg. Of course that software has the versions >>> that have been "freezed" prior to RELEASE. If you need something >> "frozen" (sorry, couldn't resist :-) ) > Hey, that's artistic newspeak freedom! :-) > > being freezed: from "freeze" (as in "code freeze"): code in > the state of being closed to any further alteration; usually > used with quotation marks > > consult ns dict 10 ed p 404 > :-) I stand duly spanked :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From freebsd at edvax.de Wed Jun 24 05:32:07 2015 From: freebsd at edvax.de (Polytropon) Date: Wed, 24 Jun 2015 06:22:58 +0200 Subject: Installation dvd In-Reply-To: <558A2DC5.8040401@hiwaay.net> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> <5589D614.8060702@intersonic.se> <558A1354.7080006@gooch.io> <558A1B66.9050100@gooch.io> <20150624060317.52a5ea96.freebsd@edvax.de> <558A2DC5.8040401@hiwaay.net> Message-ID: <20150624062258.333244de.freebsd@edvax.de> On Tue, 23 Jun 2015 23:17:00 -0453, William A. Mahaffey III wrote: > On 06/23/15 23:09, Polytropon wrote: > > On Tue, 23 Jun 2015 19:52:22 -0700, Jesse Gooch wrote: > >> Actually I think the DVD may contain some software. It's the CD that > >> only contains base. Sorry for the bad info. > > The installation CD just contains a very narrow set of additional > > applications. It's basically the OS parts and assorted software. > > The main purpose of this media is to get the OS running, setup > > network connection, and start installing via Internet. > > > > The DVD contains more software as precompiled packages, to be > > installed with pkg. Of course that software has the versions > > that have been "freezed" prior to RELEASE. If you need something > > "frozen" (sorry, couldn't resist :-) ) Hey, that's artistic newspeak freedom! :-) being freezed: from "freeze" (as in "code freeze"): code in the state of being closed to any further alteration; usually used with quotation marks consult ns dict 10 ed p 404 :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From envios at creatunewsletter.com Wed Jun 24 05:34:25 2015 From: envios at creatunewsletter.com (Envios de News) Date: Wed, 24 Jun 2015 02:34:24 -0300 Subject: =?ISO-8859-1?Q?Queres_vender_m=E1s!!!_Tenemos_la_Soluci=F3n?= Message-ID: NO RESPONDA ESTE MAIL Captar Nuevos Clientes??? Te ofrecemos una Campa?a Mensual para que Vendas todos los dias 5.000 mails diarios, 20 d?as h?biles al Mes = 100.000 contactos a enviar, por solo $ 700 10.000 mails diarios, 20 d?as h?biles al Mes = 200.000 contactos a enviar, por solo $ 1250 20.000 mails diarios, 20 d?as h?biles al Mes = 400.000 contactos a enviar, por solo $ 1890 La cantidad de contactos a enviar se pueden adaptar a tu necesidad Envios a Mayor Cantidad de Contactos**OFERTA MES JUNIO** 600.000 por solo $ 2.790 800.000 por solo $ 3.490 1 MILLON por solo $ 4.290 Sistema con Reportes, Graficos, Aperturas, etc Nuevas Bases Vip, Premium y Especiales Tenemos bases verificadas, seleccionadas, aperturas, leidos, clicks, interesados, etc plataformas y servicio de envios con servidores dedicados, dominios e ips rotativos, etc Formas de Pago: Transferencia o Deposito Bancario, Pago Facil y Rapi Pago M?s informes a: Este mail Enviado por creatunewsletter , sistema de email marketing y publicidad,si desea promocionar su producto cont?ctemos en este enlaceEste news es enviado en forma legal Ley 26.032, libre de virus y contiene informaci?n de interes com?n. Para desuscripci?n, Click Aqu? Si no desea continuar recibiendo este correo haga click aqu?. From tina at seomagic.org Wed Jun 24 08:38:36 2015 From: tina at seomagic.org (Tina Sullivan) Date: Wed, 24 Jun 2015 14:07:01 +0530 Subject: Google Ranking Message-ID: <763c01d0ae59$19530d20$4bf92760$@org> Hi, Hope this email finds you well. I am Tina Sullivan, an Online Marketing Consultant. I went through your website and checked it for a few keywords on Google. Unfortunately, it was not ranking on any of those. It was not ranking on any of the search engines as per the keywords pertaining to your domain. As per the trends in your industry ? over 80% of people search for your products/services online and buy the same. These rankings also influence other channels of sales as well. It is simple maths?the more people who come to your website, the more potential customers you attract. Don?t wait another moment to drive more traffic, increase sales, and improve your visual appearance. - If you are willing to have more business online and more Return on Investment (ROI) we are just an Email /Phone away. - We can increase the number of visitors to your website, and get you on the top searches of all the search engines. - Affordable way to market website and get online business. I shall look forward to hear from you soon. I'd be happy to send you our package, pricing and past work details, if you'd like to assess our work. Feel free to discuss any other any queries. Best Regards, Tina Sullivan Online Marketing Consultant Disclaimer: Thank you for reading this. In the event that you do not wish me to contact you again, simply send an email with unsubscribe as a subject line. From matthew at freebsd.org Wed Jun 24 09:10:46 2015 From: matthew at freebsd.org (Matthew Seaman) Date: Wed, 24 Jun 2015 10:10:15 +0100 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. In-Reply-To: References: <55884952.8060005@mantis.biz> <558A1E40.8080406@gooch.io> Message-ID: <558A73F7.6020809@freebsd.org> On 06/24/15 06:00, Chris Stankevitz wrote: > On Tue, Jun 23, 2015 at 8:04 PM, Jesse Gooch wrote: >> I recommend reading /usr/src/UPDATING and any relevant Errata Notices >> and/or Security Advisories BEFORE updating your system so you don't get >> bit like this again. >> >> https://www.freebsd.org/security/advisories/FreeBSD-EN-15:08.sendmail.asc > > Hi Jesse, > > The whole point of my OP was to say that I read the errata. I was > surprised that the update did not fix the problem. I tried the > "workaround" (why I need to "work around" it if there was an update is > not clear) but as I followed the steps I got stumped. Then I gave > specific examples of where I got stumped following the errata. > > Why is it that I don't get it, but everyone else does? I'm certain > the documentation is good. I have a good command of the english > language. Nevertheless I don't get it... Hi, Chris, You are correct -- the OS update didn't fix the problem. FreeBSD Security Advisories and Errata Notices are usually very reliable in terms of accurately describing how to solve the problems they address, but they aren't infallible. This was a rare case where things went pear-shaped. However, the work-around given in the errata notice was in fact the missing piece that did solve the problem. Or at least, the core of the given instructions was. Now, the EN was written by Greg Shapiro, who is the maintainer for sendmail in the FreeBSD base system. He explains here how things went wrong: https://lists.freebsd.org/pipermail/freebsd-stable/2015-June/082547.html but essentially he was confused by an update to the sendmail standard config and startup scripts that had added autogeneration of TLS certificates but not all the other parameters that could be used with TLS. I think this led to the work-around instructions being overly complicated. As you saw, it could be condensed down to: openssl dhparam -out /etc/mail/certs/dh.param 2048 service sendmail restart I could work that out for myself from what was written in the errata notice, but that's because I've been dealing with sendmail config in FreeBSD for years. I think that summary, or commands pretty much like them, got posted to various mailing lists fairly soon after the EN came out. There will probably be a revision to the EN fairly soon. It will likely be released as a bundle with other SA's or EN's when those are ready to go, to prevent excessive churn for people tracking release branches. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: OpenPGP digital signature URL: From mueller6724 at bellsouth.net Wed Jun 24 10:13:23 2015 From: mueller6724 at bellsouth.net (Thomas Mueller) Date: Wed, 24 Jun 2015 10:10:03 +0000 Subject: getting ports updated on an older FreeBSD (5.1) References: <86oak6p8w9.fsf@bsdstb.Belkin> Message-ID: <833145.91368.bm@smtp118.sbc.mail.ne1.yahoo.com> I don't really know what to quote here, but another consideration is that a new FreeBSD will want or need more RAM and hard-disk space than was prevalent at the time of FreeBSD 5.1. That means a new computer. There are adapters, IDE <-> SATA and USB -> IDE, to transfer data from old IDE hard drives to a newer computer that has SATA and no IDE on motherboard. Also possibly NFS. Other changes are MBR -> GPT and old static device nodes with MAKEDEV (such as NetBSD and OpenBSD still have) to devfs. I was thinking about the possibility of building/upgrading the base FreeBSD from source by steps, such as 5.1 -> final 6-stable -> final 8-stable -> 10.1 or possibly FreeBSD-current. Or maybe shorter steps? Might be possible, but would likely be easier to download 10.1 or a snapshot of 10.1-STABLE or 11-current and install that. Use bsdinstall? In any case the ports would need to be rebuilt on new system. Tom From brandon.wandersee at gmail.com Wed Jun 24 13:57:25 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Wed, 24 Jun 2015 08:57:20 -0500 Subject: hard drive problem In-Reply-To: <5589E2F9.3070604@gmail.com> References: <5589E2F9.3070604@gmail.com> Message-ID: <861th1tdj3.fsf@WorkBox.Home> jd1008 writes: > does anyone have a way to unlock the master pword in > a recent WD 2TB 2.5" drive? "Master pword?" Is this a firmware-level encrypted drive? If so, no. A "reset" feature would defeat the purpose of having encryption in the first place. If the drive is self-encrypting you don't know the password, the drive's a brick. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From galtsev at kicp.uchicago.edu Wed Jun 24 15:41:25 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Wed, 24 Jun 2015 10:41:17 -0500 (CDT) Subject: hard drive problem In-Reply-To: <20150624153643.GB43640@neutralgood.org> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> Message-ID: <46363.128.135.70.2.1435160477.squirrel@cosmo.uchicago.edu> On Wed, June 24, 2015 10:36 am, kpneal at pobox.com wrote: > On Wed, Jun 24, 2015 at 08:57:20AM -0500, Brandon J. Wandersee wrote: >> >> jd1008 writes: >> >> > does anyone have a way to unlock the master pword in >> > a recent WD 2TB 2.5" drive? >> >> "Master pword?" Is this a firmware-level encrypted drive? If so, no. A >> "reset" feature would defeat the purpose of having encryption in the >> first place. If the drive is self-encrypting you don't know the >> password, the drive's a brick. > > My guess is that you can tell the drive to use a new password, but the > contents of the drive are lost. That's assuming a firmware-level > encryption. > > BTW, are there really 2TB _2.5"_ drives on the market? It may be an enclosure with two 1TB 2.5" drives either concatenated, or RAID0 thus presenting itself as 2 TB. Just a wild guess. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From wam at hiwaay.net Wed Jun 24 15:52:38 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Wed, 24 Jun 2015 10:58:49 -0453 Subject: hard drive problem In-Reply-To: <20150624153643.GB43640@neutralgood.org> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> Message-ID: <558AD242.8070009@hiwaay.net> On 06/24/15 10:42, kpneal at pobox.com wrote: > On Wed, Jun 24, 2015 at 08:57:20AM -0500, Brandon J. Wandersee wrote: >> jd1008 writes: >> >>> does anyone have a way to unlock the master pword in >>> a recent WD 2TB 2.5" drive? >> "Master pword?" Is this a firmware-level encrypted drive? If so, no. A >> "reset" feature would defeat the purpose of having encryption in the >> first place. If the drive is self-encrypting you don't know the >> password, the drive's a brick. > My guess is that you can tell the drive to use a new password, but the > contents of the drive are lost. That's assuming a firmware-level > encryption. > > BTW, are there really 2TB _2.5"_ drives on the market? Yup, see: http://www.newegg.com/Product/ProductList.aspx?Submit=Property&Subcategory=380&N=100007605%20600358494&IsNodeId=1&IsPowerSearch=1&OEMMark=0,N,1 -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From steve at sohara.org Wed Jun 24 16:07:26 2015 From: steve at sohara.org (Steve O'Hara-Smith) Date: Wed, 24 Jun 2015 16:55:37 +0100 Subject: hard drive problem In-Reply-To: <20150624153643.GB43640@neutralgood.org> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> Message-ID: <20150624165537.f3e7cdc7e18ce42107c56ec3@sohara.org> On Wed, 24 Jun 2015 11:36:43 -0400 kpneal at pobox.com wrote: > BTW, are there really 2TB _2.5"_ drives on the market? Seagate STDA4000200 is a 4TB 2.5" external drive (possibly containing two drives), there are at least three 2TB 2.5" internal drives on the market Samsung M9T and Toshiba MQ01ABB200, Western Digital WD20NPVX. -- Steve O'Hara-Smith From joshua at joshualokken.com Wed Jun 24 16:09:41 2015 From: joshua at joshualokken.com (Joshua Lokken) Date: Wed, 24 Jun 2015 09:10:14 -0700 Subject: hard drive problem In-Reply-To: <5589E2F9.3070604@gmail.com> References: <5589E2F9.3070604@gmail.com> Message-ID: <20150624161014.GC29635@satellite.workgroup.local> On Jun/23 04:51PM, jd1008 wrote: > does anyone have a way to unlock the master pword in > a recent WD 2TB 2.5" drive? Unfortunately, I know of only Windoze tools to do this: hddunlock.com Or you can try WD's tool, WD Security. -- Joshua -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: not available URL: From newhank6 at ymail.com Wed Jun 24 16:56:00 2015 From: newhank6 at ymail.com (Henri) Date: Wed, 24 Jun 2015 12:52:20 -0400 Subject: Hi! i am online now - for all your graphic needs. Message-ID: From chrisstankevitz at gmail.com Wed Jun 24 17:15:05 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Wed, 24 Jun 2015 10:15:03 -0700 Subject: 10.1-RELEASE-p12 broke sendmail. 10.1-RELEASE-p13 didn't fix sendmail. In-Reply-To: <558A73F7.6020809@freebsd.org> References: <55884952.8060005@mantis.biz> <558A1E40.8080406@gooch.io> <558A73F7.6020809@freebsd.org> Message-ID: On Wed, Jun 24, 2015 at 2:10 AM, Matthew Seaman wrote: > He explains here how things went > wrong: > > https://lists.freebsd.org/pipermail/freebsd-stable/2015-June/082547.html Matthew, Thank you. I can't tell you how much I appreciate the "root cause" understanding. I can't stand "while(broken) try_random_fix_from_internet()". It sounds like I should be reading freebsd-stable. Thanks again, Chris From jd1008 at gmail.com Wed Jun 24 17:52:33 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 11:52:30 -0600 Subject: hard drive problem In-Reply-To: <861th1tdj3.fsf@WorkBox.Home> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> Message-ID: <558AEE5E.2040906@gmail.com> On 06/24/2015 07:57 AM, Brandon J. Wandersee wrote: > jd1008 writes: > >> does anyone have a way to unlock the master pword in >> a recent WD 2TB 2.5" drive? > "Master pword?" Is this a firmware-level encrypted drive? If so, no. A > "reset" feature would defeat the purpose of having encryption in the > first place. If the drive is self-encrypting you don't know the > password, the drive's a brick. > It is not for encryption. It is used only to allow running the built-in secure erase function. From jd1008 at gmail.com Wed Jun 24 17:57:07 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 11:57:04 -0600 Subject: hard drive problem In-Reply-To: <20150624153643.GB43640@neutralgood.org> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> Message-ID: <558AEF70.50501@gmail.com> On 06/24/2015 09:36 AM, kpneal at pobox.com wrote: > On Wed, Jun 24, 2015 at 08:57:20AM -0500, Brandon J. Wandersee wrote: >> jd1008 writes: >> >>> does anyone have a way to unlock the master pword in >>> a recent WD 2TB 2.5" drive? >> "Master pword?" Is this a firmware-level encrypted drive? If so, no. A >> "reset" feature would defeat the purpose of having encryption in the >> first place. If the drive is self-encrypting you don't know the >> password, the drive's a brick. > My guess is that you can tell the drive to use a new password, but the > contents of the drive are lost. That's assuming a firmware-level > encryption. > > BTW, are there really 2TB _2.5"_ drives on the market? Of course there are. In fact, Seagate has a 4TB 2.5" external drive, selling anywhere from 200 to 600 bucks. They are available on Ebay. The password is not for encryption, and the drive is not Self Encrypting Drive. The pAssWord is only for permitting the secure erase function and for changing other drive parameters. From jd1008 at gmail.com Wed Jun 24 18:00:44 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 12:00:42 -0600 Subject: hard drive problem In-Reply-To: <46363.128.135.70.2.1435160477.squirrel@cosmo.uchicago.edu> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> <46363.128.135.70.2.1435160477.squirrel@cosmo.uchicago.edu> Message-ID: <558AF04A.8090206@gmail.com> On 06/24/2015 09:41 AM, Valeri Galtsev wrote: > On Wed, June 24, 2015 10:36 am, kpneal at pobox.com wrote: >> On Wed, Jun 24, 2015 at 08:57:20AM -0500, Brandon J. Wandersee wrote: >>> jd1008 writes: >>> >>>> does anyone have a way to unlock the master pword in >>>> a recent WD 2TB 2.5" drive? >>> "Master pword?" Is this a firmware-level encrypted drive? If so, no. A >>> "reset" feature would defeat the purpose of having encryption in the >>> first place. If the drive is self-encrypting you don't know the >>> password, the drive's a brick. >> My guess is that you can tell the drive to use a new password, but the >> contents of the drive are lost. That's assuming a firmware-level >> encryption. >> >> BTW, are there really 2TB _2.5"_ drives on the market? > It may be an enclosure with two 1TB 2.5" drives either concatenated, or > RAID0 thus presenting itself as 2 TB. Just a wild guess. > > Valeri This one is actually a 4 platter drive, thus rather thick (15mm). Goodby to 7.5mm 2.5" drives. Areal density has not reached the quantum level yet :) But from the technologists I know who are and have worked at HD companies, I hear that mechanical drives are totally on the way out as the the RAM and FLASH electronics get every tinier and faster, and much more reliable and long lasting. From jd1008 at gmail.com Wed Jun 24 18:04:35 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 12:04:32 -0600 Subject: hard drive problem In-Reply-To: <20150624161014.GC29635@satellite.workgroup.local> References: <5589E2F9.3070604@gmail.com> <20150624161014.GC29635@satellite.workgroup.local> Message-ID: <558AF130.3060705@gmail.com> On 06/24/2015 10:10 AM, Joshua Lokken wrote: > On Jun/23 04:51PM, jd1008 wrote: >> does anyone have a way to unlock the master pword in >> a recent WD 2TB 2.5" drive? > Unfortunately, I know of only Windoze tools to do this: > > hddunlock.com > > Or you can try WD's tool, WD Security. > > hddunlock unfortunately does not supprt the drive model at hand and is expensive - not worth buying :) As I said in another reply, drives are getting cheaper and cheaper per terabyte. Actually it is the smaller legacy drives that are now rising in price because they are no longer manufactured, and many laptop owners' computers cannot host the new larger capacity drives. From galtsev at kicp.uchicago.edu Wed Jun 24 18:12:03 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Wed, 24 Jun 2015 13:12:02 -0500 (CDT) Subject: hard drive problem In-Reply-To: <558AF04A.8090206@gmail.com> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> <46363.128.135.70.2.1435160477.squirrel@cosmo.uchicago.edu> <558AF04A.8090206@gmail.com> Message-ID: <34851.128.135.70.2.1435169522.squirrel@cosmo.uchicago.edu> On Wed, June 24, 2015 1:00 pm, jd1008 wrote: > > > On 06/24/2015 09:41 AM, Valeri Galtsev wrote: >> On Wed, June 24, 2015 10:36 am, kpneal at pobox.com wrote: >>> On Wed, Jun 24, 2015 at 08:57:20AM -0500, Brandon J. Wandersee wrote: >>>> jd1008 writes: >>>> >>>>> does anyone have a way to unlock the master pword in >>>>> a recent WD 2TB 2.5" drive? >>>> "Master pword?" Is this a firmware-level encrypted drive? If so, no. A >>>> "reset" feature would defeat the purpose of having encryption in the >>>> first place. If the drive is self-encrypting you don't know the >>>> password, the drive's a brick. >>> My guess is that you can tell the drive to use a new password, but the >>> contents of the drive are lost. That's assuming a firmware-level >>> encryption. >>> >>> BTW, are there really 2TB _2.5"_ drives on the market? >> It may be an enclosure with two 1TB 2.5" drives either concatenated, or >> RAID0 thus presenting itself as 2 TB. Just a wild guess. >> >> Valeri > This one is actually a 4 platter drive, thus rather thick (15mm). > Goodby to 7.5mm 2.5" drives. Areal density has not reached the > quantum level yet :) Cool note! With magnetic domains in will not be quantum level though: it will be at least about a hundred of individual atoms involved into each individual magnetic domain. Bu I really like your comment! Oh, boy, I seemed to overestimate macroscopicity of physics here (IBM managed it on 12 atoms...): http://www.ibm.com/smarterplanet/us/en/smarter_computing/article/atomic_scale_memory.html > But from the technologists I know who are > and have worked at HD companies, I hear that mechanical drives > are totally on the way out as the the RAM and FLASH electronics > get every tinier and faster, and much more reliable and long lasting. > Holography, one might think, could be most dense way of packing information (of what we know today). Thanks for your brilliant comment! It made my day! Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From jd1008 at gmail.com Wed Jun 24 18:19:31 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 12:19:28 -0600 Subject: hard drive problem In-Reply-To: <34851.128.135.70.2.1435169522.squirrel@cosmo.uchicago.edu> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> <46363.128.135.70.2.1435160477.squirrel@cosmo.uchicago.edu> <558AF04A.8090206@gmail.com> <34851.128.135.70.2.1435169522.squirrel@cosmo.uchicago.edu> Message-ID: <558AF4B0.6030209@gmail.com> On 06/24/2015 12:12 PM, Valeri Galtsev wrote: > On Wed, June 24, 2015 1:00 pm, jd1008 wrote: >> >> On 06/24/2015 09:41 AM, Valeri Galtsev wrote: >>> On Wed, June 24, 2015 10:36 am, kpneal at pobox.com wrote: >>>> On Wed, Jun 24, 2015 at 08:57:20AM -0500, Brandon J. Wandersee wrote: >>>>> jd1008 writes: >>>>> >>>>>> does anyone have a way to unlock the master pword in >>>>>> a recent WD 2TB 2.5" drive? >>>>> "Master pword?" Is this a firmware-level encrypted drive? If so, no. A >>>>> "reset" feature would defeat the purpose of having encryption in the >>>>> first place. If the drive is self-encrypting you don't know the >>>>> password, the drive's a brick. >>>> My guess is that you can tell the drive to use a new password, but the >>>> contents of the drive are lost. That's assuming a firmware-level >>>> encryption. >>>> >>>> BTW, are there really 2TB _2.5"_ drives on the market? >>> It may be an enclosure with two 1TB 2.5" drives either concatenated, or >>> RAID0 thus presenting itself as 2 TB. Just a wild guess. >>> >>> Valeri >> This one is actually a 4 platter drive, thus rather thick (15mm). >> Goodby to 7.5mm 2.5" drives. Areal density has not reached the >> quantum level yet :) > Cool note! With magnetic domains in will not be quantum level though: it > will be at least about a hundred of individual atoms involved into each > individual magnetic domain. Bu I really like your comment! > > Oh, boy, I seemed to overestimate macroscopicity of physics here (IBM > managed it on 12 atoms...): > > http://www.ibm.com/smarterplanet/us/en/smarter_computing/article/atomic_scale_memory.html > >> But from the technologists I know who are >> and have worked at HD companies, I hear that mechanical drives >> are totally on the way out as the the RAM and FLASH electronics >> get every tinier and faster, and much more reliable and long lasting. >> > Holography, one might think, could be most dense way of packing > information (of what we know today). > > Thanks for your brilliant comment! It made my day! > > Valeri > Back in the 80's, scientists at the Univerwsity of California, Irvine created a cube made of a polymer that could be encoded 3 dimmentionally by lasers, with promise of holding tens of exabytes of data. A japanese company (do not recall the name), bought the rights and patents for it. I have not heard about that invention again since that time. Re: speed of electronics: The absolute speed limit of electronics is the speed at which an electron will jump from one shell to the next. We are so so far from that, I do not think that it is achievable. The circuits themselves are not at the level of one atom size, even if you consider the largest, non-radioactive atom. From wam at hiwaay.net Wed Jun 24 20:56:52 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Wed, 24 Jun 2015 16:03:04 -0453 Subject: How do I add arbitrary stuff to XFCE tool bar ? Message-ID: <558B1991.6070607@hiwaay.net> xfce-4.12_1, FreeBSD 9.3R-p13 ? WHen I right click on the tool bar, I get only a (very) limited list of things to activate. TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From chuck at mantis.biz Wed Jun 24 21:04:49 2015 From: chuck at mantis.biz (Chuck @ Mantis) Date: Wed, 24 Jun 2015 17:04:45 -0400 Subject: binary upgrades and /usr/src/UPDATING Message-ID: <558B1B6D.4000303@mantis.biz> In past versions of BSD I've complied my own updates from source but now that I've started using the binary upgrade 'freebsd-update' where can I read /usr/src/UPDATING before updating things? I used to do it after a cvs/svn update From matthew at FreeBSD.org Wed Jun 24 22:03:31 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed, 24 Jun 2015 23:03:17 +0100 Subject: binary upgrades and /usr/src/UPDATING In-Reply-To: <558B1B6D.4000303@mantis.biz> References: <558B1B6D.4000303@mantis.biz> Message-ID: <558B2925.2060408@FreeBSD.org> On 24/06/2015 22:04, Chuck @ Mantis wrote: > In past versions of BSD I've complied my own updates from source but now > that I've started using the binary upgrade 'freebsd-update' where can I > read /usr/src/UPDATING before updating things? I used to do it after a > cvs/svn update Here: https://svnweb.freebsd.org/base/releng/10.1/UPDATING?view=log Obviusly, adjust the path if you're tracking a release branch other than 10.1-RELEASE. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From freebsd at edvax.de Wed Jun 24 22:44:52 2015 From: freebsd at edvax.de (Polytropon) Date: Thu, 25 Jun 2015 00:44:41 +0200 Subject: binary upgrades and /usr/src/UPDATING In-Reply-To: <558B1B6D.4000303@mantis.biz> References: <558B1B6D.4000303@mantis.biz> Message-ID: <20150625004441.5d292dbb.freebsd@edvax.de> On Wed, 24 Jun 2015 17:04:45 -0400, Chuck @ Mantis wrote: > In past versions of BSD I've complied my own updates from source but now > that I've started using the binary upgrade 'freebsd-update' where can I > read /usr/src/UPDATING before updating things? I used to do it after a > cvs/svn update If your /etc/freebsd-update.conf contains the "src" component, the /usr/src subtree will be subject to updates. You can at first run "freebsd-update fetch" to obtain the compressed update and look for the file that would become /usr/src/UPDATING (and can be found in /var/db/freebsd-update) when you apply the update with "freebsd-update install". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From zarniwhoop at ntlworld.com Wed Jun 24 22:46:16 2015 From: zarniwhoop at ntlworld.com (Ken Moffat) Date: Wed, 24 Jun 2015 23:46:06 +0100 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <558B1991.6070607@hiwaay.net> References: <558B1991.6070607@hiwaay.net> Message-ID: <20150624224606.GA28606@milliways> On Wed, Jun 24, 2015 at 04:03:04PM -0453, William A. Mahaffey III wrote: > > > xfce-4.12_1, FreeBSD 9.3R-p13 ? WHen I right click on the tool bar, I get > only a (very) limited list of things to activate. TIA & have a good one. > I know nothing about that version of FreeBSD, much less which binary packages are available, but ISTR you said you were compiling things yourself ? If that is so, you can probably find whichever plugins you require at http://archive.xfce.org/src/panel-plugins/ ?en, currently on a netbook running an old (approx 9 months, xfce-4.10.something) linux install where I have about 15 options available (not all are plugins, that includes things like the separator) - and I ignored most of the plugins at that URL after doing some initial exploration on a desktop. -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. From brandon.wandersee at gmail.com Wed Jun 24 23:26:17 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Wed, 24 Jun 2015 18:26:07 -0500 Subject: hard drive problem In-Reply-To: <558AD242.8070009@hiwaay.net> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> <558AD242.8070009@hiwaay.net> Message-ID: <86ioacpu28.fsf@WorkBox.Home> William A. Mahaffey III writes: > On 06/24/15 10:42, kpneal at pobox.com wrote: >> BTW, are there really 2TB _2.5"_ drives on the market? > > Yup, see: > > http://www.newegg.com/Product/ProductList.aspx?Submit=Property&Subcategory=380&N=100007605%20600358494&IsNodeId=1&IsPowerSearch=1&OEMMark=0,N,1 I have one of those Samsung disks myself. Not much in the way of performance, but I just use it for backups anyway. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From quartz at sneakertech.com Wed Jun 24 23:38:16 2015 From: quartz at sneakertech.com (Quartz) Date: Wed, 24 Jun 2015 19:38:08 -0400 Subject: Any utils worth installing a GUI on a server for? Message-ID: <558B3F60.7060809@sneakertech.com> Traditionally I have always run fileservers headless, with any administration being done through ssh. However, I'm currently working with a system that's somewhat overpowered for its job and I'm considering throwing a window manager on there just to have access to more stuff. Are there any utilities out there that require or really benefit from a window manager that are worth installing one for? The system's main function is a sort of NAS that can have usb drives plugged directly into it, so I'm only really interested in stuff that would relate to that: for example disk partitioning/repair programs or fancy shells for messing with samba/nfs/zfs, etc. (Also: forgive me in advance if this is a stupid question. I'm not familiar with using freebsd in anything resembling a workstation role, so I'm not sure to what extent the GUI software selection differs from linux). From jd1008 at gmail.com Wed Jun 24 23:47:49 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 17:47:47 -0600 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B3F60.7060809@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> Message-ID: <558B41A3.1050506@gmail.com> On 06/24/2015 05:38 PM, Quartz wrote: > Traditionally I have always run fileservers headless, with any > administration being done through ssh. However, I'm currently working > with a system that's somewhat overpowered for its job and I'm > considering throwing a window manager on there just to have access to > more stuff. Are there any utilities out there that require or really > benefit from a window manager that are worth installing one for? The > system's main function is a sort of NAS that can have usb drives > plugged directly into it, so I'm only really interested in stuff that > would relate to that: for example disk partitioning/repair programs or > fancy shells for messing with samba/nfs/zfs, etc. > > (Also: forgive me in advance if this is a stupid question. I'm not > familiar with using freebsd in anything resembling a workstation role, > so I'm not sure to what extent the GUI software selection differs from > linux). > _______ Yes. If the storage on the server, then a gui tool to manage the storage (drive replacement, raid reconfiguration, drive additions .... etc. It could make such tasks a lot easier. From quartz at sneakertech.com Thu Jun 25 00:05:23 2015 From: quartz at sneakertech.com (Quartz) Date: Wed, 24 Jun 2015 20:05:21 -0400 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B41A3.1050506@gmail.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> Message-ID: <558B45C1.3040101@sneakertech.com> > Yes. > If the storage on the server, then a gui tool > to manage the storage (drive replacement, > raid reconfiguration, drive additions .... etc. > It could make such tasks a lot easier. Well, is there such a thing for zfs? From jd1008 at gmail.com Thu Jun 25 00:09:58 2015 From: jd1008 at gmail.com (jd1008) Date: Wed, 24 Jun 2015 18:09:56 -0600 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B45C1.3040101@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> Message-ID: <558B46D4.90505@gmail.com> On 06/24/2015 06:05 PM, Quartz wrote: >> Yes. >> If the storage on the server, then a gui tool >> to manage the storage (drive replacement, >> raid reconfiguration, drive additions .... etc. >> It could make such tasks a lot easier. > > Well, is there such a thing for zfs? > :) You said for server. A raid has nothing to do with the FS type, be it ext[N], NTFS, fat32, UFS, HFS+, ...etc. From freebsd-questions-local at be-well.ilk.org Thu Jun 25 00:53:15 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed, 24 Jun 2015 20:53:05 -0400 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <558B1991.6070607@hiwaay.net> (William A. Mahaffey, III's message of "Wed, 24 Jun 2015 16:03:04 -0453") References: <558B1991.6070607@hiwaay.net> Message-ID: <44oak4vcb2.fsf@lowell-desk.lan> "William A. Mahaffey III" writes: > xfce-4.12_1, FreeBSD 9.3R-p13 ? WHen I right click on the tool bar, I > get only a (very) limited list of things to activate. TIA & have a > good one. One of that "limited" list is "launcher", which lets you add anything that can be invoked from a command line. From brandon.wandersee at gmail.com Thu Jun 25 01:11:22 2015 From: brandon.wandersee at gmail.com (Brandon J. Wandersee) Date: Wed, 24 Jun 2015 20:11:16 -0500 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B45C1.3040101@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> Message-ID: <86h9pwpp6z.fsf@WorkBox.Home> Have you given any thought to FreeNAS? http://www.freenas.org/ -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee at gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From Support at apple-id.com Thu Jun 25 01:54:09 2015 From: Support at apple-id.com (PayPal) Date: Thu, 25 Jun 2015 00:40:05 +0300 Subject: Account Notification Message-ID: From asherhiggs at cox.net Thu Jun 25 02:00:15 2015 From: asherhiggs at cox.net (asherhiggs at cox.net) Date: Wed, 24 Jun 2015 18:59:53 -0700 Subject: [iscsictl] Return discovered targets without login Message-ID: <20150624215953.XUCYD.24297.imail@eastrmwml108> With the old iscsi initiator, it was possible to do a SendTargets discovery session only and have discovered targets displayed: "iscontrol -dt ". AFAICT the new initiator lacks similar functionality and can only do a discovery followed by a login to all discovered targets. Am I missing something? If not, is there any plan to implement such functionality? From wblock at wonkity.com Thu Jun 25 03:18:30 2015 From: wblock at wonkity.com (Warren Block) Date: Wed, 24 Jun 2015 21:18:26 -0600 (MDT) Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <20150625014331.GB51828@neutralgood.org> References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> Message-ID: On Wed, 24 Jun 2015, kpneal at pobox.com wrote: > On Wed, Jun 24, 2015 at 07:38:08PM -0400, Quartz wrote: >> Traditionally I have always run fileservers headless, with any >> administration being done through ssh. However, I'm currently working >> with a system that's somewhat overpowered for its job and I'm >> considering throwing a window manager on there just to have access to >> more stuff. Are there any utilities out there that require or really >> benefit from a window manager that are worth installing one for? The >> system's main function is a sort of NAS that can have usb drives plugged >> directly into it, so I'm only really interested in stuff that would >> relate to that: for example disk partitioning/repair programs or fancy >> shells for messing with samba/nfs/zfs, etc. > > Would you benefit from having multiple xterms open? You know, a couple > of command lines for your use, a couple for showing the status of the > machine, etc. All on screen at the same time. tmux can do that without X. :) No, I don't use it that way, but it can split the screen into multiple consoles. > If you run just an X server plus twm plus xterms then I guarantee that > no user will ever notice. True, but there are some pretty big security implications with X. If the utilities and X can be kept on a client machine, it makes things easier. From quartz at sneakertech.com Thu Jun 25 03:49:51 2015 From: quartz at sneakertech.com (Quartz) Date: Wed, 24 Jun 2015 23:49:48 -0400 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <86h9pwpp6z.fsf@WorkBox.Home> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <86h9pwpp6z.fsf@WorkBox.Home> Message-ID: <558B7A5C.80504@sneakertech.com> > Have you given any thought to FreeNAS? I need to do more than what freenas can offer in this case. > Would you benefit from having multiple xterms open? You know, a couple > of command lines for your use, a couple for showing the status of the > machine, etc. All on screen at the same time. Needing multiple windows isn't my issue. I frequently have multiple ssh sessions/terms open to a given machine when I'm messing with it, and if for some reason that's not an option I'll just use screen or tmux. There's no way I'd install an entire window manager just for that. I'm mainly looking for anything cool or useful that either can't be run through a terminal or otherwise benefits from having some sort of GUI. Stuff like GParted or gnome-disk-utility or something (although I don't think either of those are awesome enough in themselves to justify installing a whole WM). It doesn't have to be gnome/kde/xfce or even X based really, I have no restrictions, I'm just curious what's out there. From quartz at sneakertech.com Thu Jun 25 03:53:06 2015 From: quartz at sneakertech.com (Quartz) Date: Wed, 24 Jun 2015 23:53:04 -0400 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <20150625014331.GB51828@neutralgood.org> References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> Message-ID: <558B7B20.1010705@sneakertech.com> > If you run just an X server plus twm plus xterms then I guarantee that > no user will ever notice. I could probably run a protein folder on this thing and nobody would notice. It's a side project that's not going to be used anywhere near full capability, which is why I can afford to mess around a little. From wam at hiwaay.net Thu Jun 25 05:48:13 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 25 Jun 2015 00:54:20 -0453 Subject: hard drive problem In-Reply-To: <86ioacpu28.fsf@WorkBox.Home> References: <5589E2F9.3070604@gmail.com> <861th1tdj3.fsf@WorkBox.Home> <20150624153643.GB43640@neutralgood.org> <558AD242.8070009@hiwaay.net> <86ioacpu28.fsf@WorkBox.Home> Message-ID: <558B9615.7080001@hiwaay.net> On 06/24/15 18:32, Brandon J. Wandersee wrote: > William A. Mahaffey III writes: > >> On 06/24/15 10:42, kpneal at pobox.com wrote: >>> BTW, are there really 2TB _2.5"_ drives on the market? >> Yup, see: >> >> http://www.newegg.com/Product/ProductList.aspx?Submit=Property&Subcategory=380&N=100007605%20600358494&IsNodeId=1&IsPowerSearch=1&OEMMark=0,N,1 > I have one of those Samsung disks myself. Not much in the way of > performance, but I just use it for backups anyway. Yeah, but put a few of them in a RAID, nice performance, *and* nice storage density .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From wam at hiwaay.net Thu Jun 25 05:52:32 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 25 Jun 2015 00:58:45 -0453 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <44oak4vcb2.fsf@lowell-desk.lan> References: <558B1991.6070607@hiwaay.net> <44oak4vcb2.fsf@lowell-desk.lan> Message-ID: <558B971E.9000009@hiwaay.net> On 06/24/15 19:59, Lowell Gilbert wrote: > "William A. Mahaffey III" writes: > >> xfce-4.12_1, FreeBSD 9.3R-p13 ? WHen I right click on the tool bar, I >> get only a (very) limited list of things to activate. TIA & have a >> good one. > One of that "limited" list is "launcher", which lets you add anything > that can be invoked from a command line. True, but it requires typing, i.e. leaving the mouse to type, a no-no for smooth GUI performance .... No biggie, I'm surviving now, but having to resort to the kbd in a gfx environment is just .... *wrong* .... That's why I ask .... TIA (again) & have a good one .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From steve at sohara.org Thu Jun 25 05:57:33 2015 From: steve at sohara.org (Steve O'Hara-Smith) Date: Thu, 25 Jun 2015 06:57:27 +0100 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B46D4.90505@gmail.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> Message-ID: <20150625065727.e728118a09a939f408ec8526@sohara.org> On Wed, 24 Jun 2015 18:09:56 -0600 jd1008 wrote: > > > On 06/24/2015 06:05 PM, Quartz wrote: > >> Yes. > >> If the storage on the server, then a gui tool > >> to manage the storage (drive replacement, > >> raid reconfiguration, drive additions .... etc. > >> It could make such tasks a lot easier. > > > > Well, is there such a thing for zfs? > > > :) > You said for server. > A raid has nothing to do with the FS type, > be it ext[N], NTFS, fat32, UFS, HFS+, ...etc. ZFS combines filesystem and storage management and is best used directly on drives or partitions and not on top of a RAID controller or other software RAID, so in this case the FS type does have a lot to do with the storage management. -- Steve O'Hara-Smith From moritz at schmi.tt Thu Jun 25 07:44:06 2015 From: moritz at schmi.tt (Moritz Schmitt) Date: Thu, 25 Jun 2015 09:43:57 +0200 Subject: Remove installed port without /usr/ports directory Message-ID: <20150625074357.GA25606@serving.schmi.tt> Dear all, Some time ago I installed the port security/py-backports.ssl_match_hostname. Today I updated the ports tree by running portsnap fetch update and then executed portmaster to update all ports. This didn't work, however, and portmaster stopped with the following error: ===>>> The security/py-backports.ssl_match_hostname port has been deleted: This functionality was backported to python 2.7.9 ===>>> Aborting update Now I would like to delete security/py-backports.ssl_match_hostname but there is no such port in the ports tree anymore. Is there any other way to delete this port apart from checking out an old version of the port tree that still has this port in it, then delete it, and only then update? Moritz From kraduk at gmail.com Thu Jun 25 07:48:56 2015 From: kraduk at gmail.com (krad) Date: Thu, 25 Jun 2015 08:48:54 +0100 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> Message-ID: Do you do most of the admin via the local console? If not dont run an xserver on the box itself. Sure have what ever X gui admin apps you want need on the server, but just ssh in and tunnel the X server from your local workstation. If you are windows based, something like mobaterm makes things very easy. Remember the X server runs on the box that you sit at that has the monitor connected to it, not the remote server. I common misconception On 25 June 2015 at 04:18, Warren Block wrote: > On Wed, 24 Jun 2015, kpneal at pobox.com wrote: > > On Wed, Jun 24, 2015 at 07:38:08PM -0400, Quartz wrote: >> >>> Traditionally I have always run fileservers headless, with any >>> administration being done through ssh. However, I'm currently working >>> with a system that's somewhat overpowered for its job and I'm >>> considering throwing a window manager on there just to have access to >>> more stuff. Are there any utilities out there that require or really >>> benefit from a window manager that are worth installing one for? The >>> system's main function is a sort of NAS that can have usb drives plugged >>> directly into it, so I'm only really interested in stuff that would >>> relate to that: for example disk partitioning/repair programs or fancy >>> shells for messing with samba/nfs/zfs, etc. >>> >> >> Would you benefit from having multiple xterms open? You know, a couple >> of command lines for your use, a couple for showing the status of the >> machine, etc. All on screen at the same time. >> > > tmux can do that without X. :) No, I don't use it that way, but it can > split the screen into multiple consoles. > > If you run just an X server plus twm plus xterms then I guarantee that >> no user will ever notice. >> > > True, but there are some pretty big security implications with X. If the > utilities and X can be kept on a client machine, it makes things easier. > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From freebsd at qeng-ho.org Thu Jun 25 07:59:28 2015 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu, 25 Jun 2015 08:34:27 +0100 Subject: binary upgrades and /usr/src/UPDATING In-Reply-To: <20150625004441.5d292dbb.freebsd@edvax.de> References: <558B1B6D.4000303@mantis.biz> <20150625004441.5d292dbb.freebsd@edvax.de> Message-ID: <558BAF03.7030402@qeng-ho.org> On 24/06/2015 23:44, Polytropon wrote: > On Wed, 24 Jun 2015 17:04:45 -0400, Chuck @ Mantis wrote: >> In past versions of BSD I've complied my own updates from source but now >> that I've started using the binary upgrade 'freebsd-update' where can I >> read /usr/src/UPDATING before updating things? I used to do it after a >> cvs/svn update > > If your /etc/freebsd-update.conf contains the "src" component, > the /usr/src subtree will be subject to updates. You can at first > run "freebsd-update fetch" to obtain the compressed update and > look for the file that would become /usr/src/UPDATING (and can > be found in /var/db/freebsd-update) when you apply the update > with "freebsd-update install". I know that's the theory, but I've just noticed it doesn't seem to work in practice. On the one machine I have that has /usr/src I switched to using freebsd-update in late 2014. In freebsd-update.conf I have > grep ^Components /etc/freebsd-update.conf Components src world/base kernel > freebsd-version -ku 10.1-RELEASE-p10 10.1-RELEASE-p13 > ls -lt /usr/src | head -10 total 771 drwxr-xr-x 14 root wheel 19 27 Nov 2014 release drwxr-xr-x 25 root wheel 94 27 Nov 2014 etc -rw-r--r-- 1 root wheel 287030 24 Oct 2014 ObsoleteFiles.inc drwxr-xr-x 215 root wheel 224 5 Oct 2014 usr.sbin drwxr-xr-x 257 root wheel 265 5 Oct 2014 usr.bin drwxr-xr-x 13 root wheel 17 5 Oct 2014 tools drwxr-xr-x 4 root wheel 7 5 Oct 2014 tests drwxr-xr-x 57 root wheel 58 5 Oct 2014 sys drwxr-xr-x 29 root wheel 31 5 Oct 2014 share I.e. my source hasn't updated in well over a year, although the various bin and lib directories show updates from this month. Could this be due to this message # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 10.1-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files are affected by updates, but no changes have been downloaded because the files have been modified locally: /var/db/mergemaster.mtree No updates needed to update system to 10.1-RELEASE-p13. and is there any way to fix it? Yes, I know I can get the source from svn but as I'm using freebsd-update it shouldn't be necessary. -- Those who do not learn from computing history are doomed to GOTO 1 From guru at unixarea.de Thu Jun 25 08:02:17 2015 From: guru at unixarea.de (Matthias Apitz) Date: Thu, 25 Jun 2015 10:02:00 +0200 Subject: libosmscout Message-ID: <20150625080200.GA2397@c720-r276659> Hello, While we have some OSM tools in our ports: $ ls -dC1 ports/*/*osm*/pkg-descr ports/astro/josm/pkg-descr ports/astro/libosmpbf/pkg-descr ports/astro/osmium/pkg-descr ports/astro/osmosis/pkg-descr ports/comms/gr-osmosdr/pkg-descr ports/converters/osm2mp/pkg-descr ports/converters/osm2pgsql/pkg-descr ports/deskutils/osmo/pkg-descr ports/devel/libosmo-abis/pkg-descr ports/devel/libosmo-sccp/pkg-descr ports/devel/libosmocore/pkg-descr ports/games/cosmo/pkg-descr ports/games/cosmosmash/pkg-descr ports/games/xosmulti/pkg-descr ports/graphics/cosmoplayer/pkg-descr ports/graphics/glosm/pkg-descr ports/graphics/libosmesa/pkg-descr There seems to be no implementation of the tools described here: http://wiki.openstreetmap.org/wiki/Libosmscout for rendering of OSM data for offline usage, or am I wrong? Has anybody tried to port this to FreeBSD? I have an Ubuntu based phone and there is an app which needs the files for offline map routing, details see here: https://github.com/fransschreuder/OSMScout-ubuntu Thanks matthias -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045 askubuntu.com says to me: You've earned the "Tumbleweed" badge (Asked a question with zero score, no answers, no comments, and low views for a week) for "BQ E4.5 r22: setup an alarm from a script run by user phablet or its cron job". From fransschreuder at gmail.com Thu Jun 25 08:10:26 2015 From: fransschreuder at gmail.com (Frans Schreuder) Date: Thu, 25 Jun 2015 10:10:23 +0200 Subject: libosmscout In-Reply-To: <20150625080200.GA2397@c720-r276659> References: <20150625080200.GA2397@c720-r276659> Message-ID: <558BB76F.90602@gmail.com> Hello Matthias, If you download the tools from https://github.com/fransschreuder/OSMScout-ubuntu, you can compile the following tools: git clone https://github.com/fransschreuder/OSMScout-ubuntu.git cd OSMScout-ubuntu/OSMScout/libosmscout/ ./autogen.sh ./configure --prefix=/usr make sudo make install sudo ldconfig cd OSMScout-ubuntu/OSMScout/libosmscout-import/ ./autogen.sh ./configure --prefix=/usr make sudo make install sudo ldconfig cd OSMScout-ubuntu/OSMScout/Import/ ./autogen.sh ./configure --prefix=/usr make sudo make install osmscout-import Don't use the upstream map converter tools from http://wiki.openstreetmap.org/wiki/Libosmscout, as the map format changes very often and is already ahead of OSMScout for Ubuntu phone. Frans On 06/25/2015 10:02 AM, Matthias Apitz wrote: > Hello, > > While we have some OSM tools in our ports: > > $ ls -dC1 ports/*/*osm*/pkg-descr > ports/astro/josm/pkg-descr > ports/astro/libosmpbf/pkg-descr > ports/astro/osmium/pkg-descr > ports/astro/osmosis/pkg-descr > ports/comms/gr-osmosdr/pkg-descr > ports/converters/osm2mp/pkg-descr > ports/converters/osm2pgsql/pkg-descr > ports/deskutils/osmo/pkg-descr > ports/devel/libosmo-abis/pkg-descr > ports/devel/libosmo-sccp/pkg-descr > ports/devel/libosmocore/pkg-descr > ports/games/cosmo/pkg-descr > ports/games/cosmosmash/pkg-descr > ports/games/xosmulti/pkg-descr > ports/graphics/cosmoplayer/pkg-descr > ports/graphics/glosm/pkg-descr > ports/graphics/libosmesa/pkg-descr > > There seems to be no implementation of the tools described here: > > http://wiki.openstreetmap.org/wiki/Libosmscout > > for rendering of OSM data for offline usage, or am I wrong? > Has anybody tried to port this to FreeBSD? > > I have an Ubuntu based phone and there is an app which needs the files > for offline map routing, details see here: > > https://github.com/fransschreuder/OSMScout-ubuntu > > Thanks > > matthias -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: From quartz at sneakertech.com Thu Jun 25 09:13:22 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 05:13:19 -0400 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> Message-ID: <558BC62F.5090805@sneakertech.com> >Remember the X server runs on the box that you > sit at that has the monitor connected to it, not the remote server. Oh that's right, I always forget X can do that. Good tip. Either way though, I'm still curious what's out there for programs. From guru at unixarea.de Thu Jun 25 09:23:51 2015 From: guru at unixarea.de (Matthias Apitz) Date: Thu, 25 Jun 2015 11:23:41 +0200 Subject: libosmscout In-Reply-To: <558BB76F.90602@gmail.com> References: <20150625080200.GA2397@c720-r276659> <558BB76F.90602@gmail.com> Message-ID: <20150625092341.GA16994@c720-r276659> Hello Frans, Thanks for the recipie; I have had to make the following small changes: the normal --prefix is in FreeBSD /usr/local El d?a Thursday, June 25, 2015 a las 10:10:23AM +0200, Frans Schreuder escribi?: > Hello Matthias, > > If you download the tools from > https://github.com/fransschreuder/OSMScout-ubuntu, you can compile the > following tools: > > git clone https://github.com/fransschreuder/OSMScout-ubuntu.git > > cd OSMScout-ubuntu/OSMScout/libosmscout/ > ./autogen.sh > ./configure --prefix=/usr > make > sudo make install > sudo ldconfig > in FreeBSD one must set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ as env; > cd OSMScout-ubuntu/OSMScout/libosmscout-import/ > ./autogen.sh > ./configure --prefix=/usr > make > sudo make install > sudo ldconfig > > cd OSMScout-ubuntu/OSMScout/Import/ > ./autogen.sh > ./configure --prefix=/usr > make > sudo make install > > osmscout-import the tool 'osmscout-import' uses /bin/sh (which is in Linux a bash), I have had to modify the shebang to /usr/local/bin/bash will test how it works, later. matthias -- Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045 askubuntu.com says to me: You've earned the "Tumbleweed" badge (Asked a question with zero score, no answers, no comments, and low views for a week) for "BQ E4.5 r22: setup an alarm from a script run by user phablet or its cron job". From infoemail at causa.com.pe Thu Jun 25 14:23:21 2015 From: infoemail at causa.com.pe (Bradesco S.A.) Date: Thu, 25 Jun 2015 11:23:07 -0300 Subject: Recadastramento do cartao chave de seguranca Message-ID: Bradesco Prezado Cliente É com grande satisfação que a equipe da central de segurança, envia este e-mail. O motivo pelo qual enviamos este e-mail para você é para informar que seu cartão chave de segurança encontra-se expirado em nosso sistema, e por motivos de segurança e integridade que temos com o nossos clientes pedimos com urgência a atualização cadastral, pois se a mesma não for realizada teremos que fazer o bloqueio imediato de seu nome no sistema bancário por razões de segurança e integridade moral. Para que a atualização de seus dados seja efetivada, o Banco do Bradesco disponibilizou um portal totalmente seguro e íntegro, para que seu nome seja preservado com a máxima segurança e eficiência. O contato por e-mail por nossa equipe não é comum, vez que só contatamos nossos clientes por e-mail quando não conseguimos contato, por telefone. A atualização de seus dados nas próximas horas é fundamental, Caso o mesmo não for efetuado nossa equipe tomará as seguintes precauções. - Usuário suspenso do acesso ao Internet Banking. - Impossivel realizar saques, pagamentos e transfêrencias - Bloqueio imediato do cartão (Débito e Crédito) O desbloqueio só poderá ser efetuado com a atualização de seus dados, caso deseje realizar a atualização de outra forma, sugerimos para que compareça a sua agência onde é cadastrado. O Banco trabalha continuamente para manter o mais alto nível de segurança.  Clique aqui para atualizar seus dados cadastrais. From rwmaillists at googlemail.com Thu Jun 25 18:06:17 2015 From: rwmaillists at googlemail.com (RW) Date: Thu, 25 Jun 2015 19:06:07 +0100 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B46D4.90505@gmail.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> Message-ID: <20150625190607.37f501e0@gumby.homeunix.com> On Wed, 24 Jun 2015 18:09:56 -0600 jd1008 wrote: > > > On 06/24/2015 06:05 PM, Quartz wrote: > >> Yes. > >> If the storage on the server, then a gui tool > >> to manage the storage (drive replacement, > >> raid reconfiguration, drive additions .... etc. > >> It could make such tasks a lot easier. > > > > Well, is there such a thing for zfs? > > > :) > You said for server. > A raid has nothing to do with the FS type, > be it ext[N], NTFS, fat32, UFS, HFS+, ...etc. zfs has its own raidz implementation. From wfdudley at gmail.com Thu Jun 25 18:11:03 2015 From: wfdudley at gmail.com (wfdudley) Date: Thu, 25 Jun 2015 11:11:02 -0700 (MST) Subject: freebsd-update from 8.4 to 9.3 causes gmirror to disappear -- HELP! Message-ID: <1435255862253-6020737.post@n5.nabble.com> I've been running 8.4 STABLE for a while, but decided to try to use freebsd-update to move to 9.3 I have a pair of 2TB drives in a gmirror. Works fine. I used svn to pull the 8.4 RELEASE source, and built myself an 8.4 RELEASE system. Then, I followed the instructions here: https://www.freebsd.org/releases/9.3R/installation.html And after the first reboot in to the 9.3 kernel, my gmirror is GONE. This is ALL MY DATA, and the freebsd-update database (/var/db/freebsd-update). After discovering that the mirror was GONE, I did this: sysctl kern.geom.debugflags=17 gmirror label -vb round-robin gm0 /dev/ad14 Which is how I configured the mirror initially (from this http://www.iprobot.net/linux-tutorial/how-to-setup-sofware-raid-in-freebsd/ post). I'm afraid to do anything more. I'm rebuilding 8.4 RELEASE and am going to try to boot into that to see if that works, but then I guess I can't use freebsd-update because it causes my mirror to disappear. What's wrong? How can i get my mirror back? Thanks, Bill Dudley wfdudley at gmail.com P.S. the "subscribe to the mailing list" feature of this web forum appears broken, in that it doesn't cause an email to be sent to me inviting me to confirm my subscription. -- View this message in context: http://freebsd.1045724.n5.nabble.com/freebsd-update-from-8-4-to-9-3-causes-gmirror-to-disappear-HELP-tp6020737.html Sent from the freebsd-questions mailing list archive at Nabble.com. From taogediyi at sina.com Thu Jun 25 18:21:17 2015 From: taogediyi at sina.com (taogediyi at sina.com) Date: Fri, 26 Jun 2015 02:21:09 +0800 (CST) Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaUmU6IEFueSB1dGlscyB3b3J0aCBpbnN0YWxsaW5nIGEgR1VJIG9uIGEgc2VydmVyIGZvcj8=?= Message-ID: <20150625182109.0EF802C0051@mda04.fmail.tg.sinanode.com> ?????????????????????QQ????????????????????? From kraduk at gmail.com Thu Jun 25 18:20:56 2015 From: kraduk at gmail.com (krad) Date: Thu, 25 Jun 2015 19:20:53 +0100 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558BC62F.5090805@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> <558BC62F.5090805@sneakertech.com> Message-ID: I wouldn't just free as either as its an appliance so basically a weird version of freebsd. Fine for some but restricting if you like to play. You could look at zfsguru though as that's a dropin gui for zfs so should sit on top of vanilla freebsd fine On 25 Jun 2015 19:12, "Quartz" wrote: > > Remember the X server runs on the box that you >> sit at that has the monitor connected to it, not the remote server. >> > > Oh that's right, I always forget X can do that. Good tip. > > Either way though, I'm still curious what's out there for programs. > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From jd1008 at gmail.com Thu Jun 25 18:24:48 2015 From: jd1008 at gmail.com (jd1008) Date: Thu, 25 Jun 2015 12:24:22 -0600 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <20150625065727.e728118a09a939f408ec8526@sohara.org> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> <20150625065727.e728118a09a939f408ec8526@sohara.org> Message-ID: <558C4756.1030805@gmail.com> On 06/24/2015 11:57 PM, Steve O'Hara-Smith wrote: > On Wed, 24 Jun 2015 18:09:56 -0600 > jd1008 wrote: > >> >> On 06/24/2015 06:05 PM, Quartz wrote: >>>> Yes. >>>> If the storage on the server, then a gui tool >>>> to manage the storage (drive replacement, >>>> raid reconfiguration, drive additions .... etc. >>>> It could make such tasks a lot easier. >>> Well, is there such a thing for zfs? >>> >> :) >> You said for server. >> A raid has nothing to do with the FS type, >> be it ext[N], NTFS, fat32, UFS, HFS+, ...etc. > ZFS combines filesystem and storage management and is best used > directly on drives or partitions and not on top of a RAID controller or > other software RAID, so in this case the FS type does have a lot to do with > the storage management. > I have not used Sun's ZFS, so was not familiar with it. Found an interesting evaluation of it at http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/ From chuck at mantis.biz Thu Jun 25 18:20:55 2015 From: chuck at mantis.biz (Chuck @ Mantis) Date: Thu, 25 Jun 2015 14:20:52 -0400 Subject: binary upgrades and /usr/src/UPDATING In-Reply-To: <20150625004441.5d292dbb.freebsd@edvax.de> References: <558B1B6D.4000303@mantis.biz> <20150625004441.5d292dbb.freebsd@edvax.de> Message-ID: <558C4684.1010906@mantis.biz> On 6/24/2015 6:44 PM, Polytropon wrote: > On Wed, 24 Jun 2015 17:04:45 -0400, Chuck @ Mantis wrote: >> In past versions of BSD I've complied my own updates from source but now >> that I've started using the binary upgrade 'freebsd-update' where can I >> read /usr/src/UPDATING before updating things? I used to do it after a >> cvs/svn update > If your /etc/freebsd-update.conf contains the "src" component, > the /usr/src subtree will be subject to updates. You can at first > run "freebsd-update fetch" to obtain the compressed update and > look for the file that would become /usr/src/UPDATING (and can > be found in /var/db/freebsd-update) when you apply the update > with "freebsd-update install". > > > hmmm, I didn't find that file... /etc/freebsd-update.conf : Components src world kernel freebsd-update fetch # ls -l /var/db/freebsd-update/ total 216 lrwxr-xr-x 1 root wheel 14 Jun 25 14:17 f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-install -> install.aeuhCT lrwxr-xr-x 1 root wheel 14 Jun 16 15:13 f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-rollback -> install.HaNqXj drwxr-xr-x 2 root wheel 174592 Jun 25 14:17 files drwx------ 2 root wheel 512 Jun 10 11:58 install.CzxtRv drwx------ 2 root wheel 512 Jun 12 13:29 install.DgHyxo drwx------ 2 root wheel 512 Jun 16 15:19 install.HaNqXj drwx------ 2 root wheel 512 Jun 25 14:17 install.aeuhCT drwx------ 2 root wheel 512 Jun 11 15:29 install.m4Vech -rw-r--r-- 1 root wheel 800 Jun 9 18:12 pub.ssl -rw-r--r-- 1 root wheel 124 Jun 25 14:16 serverlist -rw-r--r-- 1 root wheel 124 Jun 25 14:16 serverlist_full -rw-r--r-- 1 root wheel 25 Jun 25 14:16 serverlist_tried -rw-r--r-- 1 root wheel 150 Jun 25 14:16 tINDEX.present -rw-r--r-- 1 root wheel 113 Jun 25 14:16 tag From ljj_jun at sina.com Thu Jun 25 18:21:18 2015 From: ljj_jun at sina.com (ljj_jun at sina.com) Date: Fri, 26 Jun 2015 02:21:14 +0800 (CST) Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaUmU6IEFueSB1dGlscyB3b3J0aCBpbnN0YWxsaW5nIGEgR1VJIG9uIGEgc2VydmVyIGZvcj8=?= Message-ID: <20150625182114.68A1BD8815B@mda01.fmail.tg.sinanode.com> ???????????????????????~???---??????--- From chrisstankevitz at gmail.com Thu Jun 25 18:25:19 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Thu, 25 Jun 2015 11:25:17 -0700 Subject: chown silently fails to respect NSS In-Reply-To: References: Message-ID: On Tue, Jun 23, 2015 at 11:43 AM, Chris Stankevitz wrote: > Why is chown is silently failing to chown a file to a winbind user > that is listed in 'getent passwd'? > root at zinc:~/temp # getent passwd MYDOMAIN\\cstankevitz > MYDOMAIN\cstankevitz:*:4294967295:4294967295:Chris > Stankevitz:/home/MYDOMAIN/cstankevitz:/bin/false > > root at zinc:~/temp # chown -v -v MYDOMAIN\\cstankevitz file.txt > > root at zinc:~/temp # ls -l > total 1 > -rw-r--r-- 1 root wheel 0 Jun 23 11:34 file.txt - chown silently fails when you pass the ridiculous UID 4294967295 (2^32-1) - winbind was populating UID 4294967295 because I failed to supply an idmap backend/range for the default domain. This is apparently needed to capture a special pseudo-domain called BUILTIN. Chris From brian at brianwhalen.net Thu Jun 25 18:22:08 2015 From: brian at brianwhalen.net (Brian W.) Date: Thu, 25 Jun 2015 11:16:16 -0700 Subject: Remove installed port without /usr/ports directory In-Reply-To: <20150625074357.GA25606@serving.schmi.tt> References: <20150625074357.GA25606@serving.schmi.tt> Message-ID: A package should've been created as part of that. Perhaps try listing installed packages and then deleting the displayed match. On Jun 25, 2015 11:11 AM, "Moritz Schmitt" wrote: > Dear all, > > Some time ago I installed the port > > security/py-backports.ssl_match_hostname. > > Today I updated the ports tree by running > > portsnap fetch update > > and then executed portmaster to update all ports. This didn't work, > however, > and portmaster stopped with the following error: > > ===>>> The security/py-backports.ssl_match_hostname port has been > deleted: This functionality was backported to python 2.7.9 > ===>>> Aborting update > > Now I would like to delete security/py-backports.ssl_match_hostname but > there > is no such port in the ports tree anymore. > > Is there any other way to delete this port apart from checking out an old > version of the port tree that still has this port in it, then delete it, > and > only then update? > > Moritz > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From m.e.sanliturk at gmail.com Thu Jun 25 18:31:54 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Thu, 25 Jun 2015 11:31:53 -0700 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558BC62F.5090805@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> <558BC62F.5090805@sneakertech.com> Message-ID: On Thu, Jun 25, 2015 at 2:13 AM, Quartz wrote: > > Remember the X server runs on the box that you >> sit at that has the monitor connected to it, not the remote server. >> > > Oh that's right, I always forget X can do that. Good tip. > > Either way though, I'm still curious what's out there for programs. > > > > _______________________________________________ > > > mc ( Midnight Commander ) may be useful in a server with its two panes . Mehmet Erol Sanliturk From rwmaillists at googlemail.com Thu Jun 25 18:31:56 2015 From: rwmaillists at googlemail.com (RW) Date: Thu, 25 Jun 2015 19:31:41 +0100 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <558B971E.9000009@hiwaay.net> References: <558B1991.6070607@hiwaay.net> <44oak4vcb2.fsf@lowell-desk.lan> <558B971E.9000009@hiwaay.net> Message-ID: <20150625193141.250db9f0@gumby.homeunix.com> On Thu, 25 Jun 2015 00:58:45 -0453 William A. Mahaffey III wrote: > On 06/24/15 19:59, Lowell Gilbert wrote: > > "William A. Mahaffey III" writes: > > > >> xfce-4.12_1, FreeBSD 9.3R-p13 ? WHen I right click on the tool > >> bar, I get only a (very) limited list of things to activate. TIA & > >> have a good one. > > One of that "limited" list is "launcher", which lets you add > > anything that can be invoked from a command line. > > > True, but it requires typing, i.e. leaving the mouse to type, a no-no > for smooth GUI performance .... No biggie, I'm surviving now, It must be hell. > but > having to resort to the kbd in a gfx environment is just .... > *wrong* .... That's why I ask .... TIA (again) & have a good one .... You can select the application from a menu after you've added the launcher. IIRC you can also create a launcher automatically on a panel by dragging a menu item from the main menu, or an icon from the desktop. From mail at ozzmosis.com Thu Jun 25 18:51:07 2015 From: mail at ozzmosis.com (andrew clarke) Date: Fri, 26 Jun 2015 04:50:58 +1000 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558B3F60.7060809@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> Message-ID: <20150625185058.GA73500@ozzmosis.com> On Wed 2015-06-24 19:38:08 UTC-0400, Quartz (quartz at sneakertech.com) wrote: > Traditionally I have always run fileservers headless, with any > administration being done through ssh. However, I'm currently working > with a system that's somewhat overpowered for its job and I'm > considering throwing a window manager on there just to have access to > more stuff. Are there any utilities out there that require or really > benefit from a window manager that are worth installing one for? The > system's main function is a sort of NAS that can have usb drives plugged > directly into it, so I'm only really interested in stuff that would > relate to that: for example disk partitioning/repair programs or fancy > shells for messing with samba/nfs/zfs, etc. You can still run GUI apps headless using SSH X11 forwarding. There's SWAT for Samba which has been around for years, but IIRC it's web based. You could connect a browser to localhost and use it that way I suppose, but it seems overkill when you can just edit smbd.conf directly though. Likewise NFS and ZFS are simple enough to use as to not need a GUI, and I honestly don't think you'd gain much from one. Replacing a ZFS drive is only about half a dozen commands, and half of those involve partitioning with gpart. GPartEd is nice but I'm not sure if it can be used in place of gpart for setting up ZFS drives. I think you still need to use gpart to install the ZFS bootcode. A GUI app for monitoring the health & usage of ZFS pools wouldn't be a bad idea but I don't know of anything. A web app would probably be better, for remote access. Overpowered servers can make good virtual machine hosts, if you feel like tinkering with other OSes on top of VirtualBox or QEMU etc. Those can be remote controlled too, though... > (Also: forgive me in advance if this is a stupid question. I'm not > familiar with using freebsd in anything resembling a workstation role, > so I'm not sure to what extent the GUI software selection differs from > linux). I think it's a good question! From mail at ozzmosis.com Thu Jun 25 19:00:41 2015 From: mail at ozzmosis.com (andrew clarke) Date: Fri, 26 Jun 2015 05:00:36 +1000 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> <558BC62F.5090805@sneakertech.com> Message-ID: <20150625190036.GB73500@ozzmosis.com> On Thu 2015-06-25 11:31:53 UTC-0700, Mehmet Erol Sanliturk (m.e.sanliturk at gmail.com) wrote: > mc ( Midnight Commander ) may be useful in a server with its two panes . I'm not sure how much that relates to the OP's question. In any case, Midnight Commander is a text app though, not GUI. Look at GNOME Commander if you want a two pane GUI file manager. From m.e.sanliturk at gmail.com Thu Jun 25 19:01:58 2015 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Thu, 25 Jun 2015 12:01:57 -0700 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <20150625190036.GB73500@ozzmosis.com> References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> <558BC62F.5090805@sneakertech.com> <20150625190036.GB73500@ozzmosis.com> Message-ID: On Thu, Jun 25, 2015 at 12:00 PM, andrew clarke wrote: > On Thu 2015-06-25 11:31:53 UTC-0700, Mehmet Erol Sanliturk ( > m.e.sanliturk at gmail.com) wrote: > > > mc ( Midnight Commander ) may be useful in a server with its two panes . > > I'm not sure how much that relates to the OP's question. > > In any case, Midnight Commander is a text app though, not GUI. > > Look at GNOME Commander if you want a two pane GUI file manager. > If GUI is not found useful , mc is a good replacement . Mehmet Erol Sanliturk From rwmaillists at googlemail.com Thu Jun 25 19:28:42 2015 From: rwmaillists at googlemail.com (RW) Date: Thu, 25 Jun 2015 20:28:35 +0100 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558C4756.1030805@gmail.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> <20150625065727.e728118a09a939f408ec8526@sohara.org> <558C4756.1030805@gmail.com> Message-ID: <20150625202835.62d37aed@gumby.homeunix.com> On Thu, 25 Jun 2015 12:24:22 -0600 jd1008 wrote: > I have not used Sun's ZFS, so was not familiar with it. > Found an interesting evaluation of it at > http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/ FWIW ZFS has been a mainstream FreeBSD feature for some time now. It's licence allowed the SUN code to run in the FreeBSD kernel whereas Linux had to recreate it, or adapt the original version to run in userland. From wam at hiwaay.net Thu Jun 25 19:47:20 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 25 Jun 2015 14:53:31 -0453 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <20150625193141.250db9f0@gumby.homeunix.com> References: <558B1991.6070607@hiwaay.net> <44oak4vcb2.fsf@lowell-desk.lan> <558B971E.9000009@hiwaay.net> <20150625193141.250db9f0@gumby.homeunix.com> Message-ID: <558C5AC4.1080800@hiwaay.net> On 06/25/15 13:37, RW via freebsd-questions wrote: > On Thu, 25 Jun 2015 00:58:45 -0453 > William A. Mahaffey III wrote: > >> On 06/24/15 19:59, Lowell Gilbert wrote: >>> "William A. Mahaffey III" writes: >>> >>>> xfce-4.12_1, FreeBSD 9.3R-p13 ? WHen I right click on the tool >>>> bar, I get only a (very) limited list of things to activate. TIA & >>>> have a good one. >>> One of that "limited" list is "launcher", which lets you add >>> anything that can be invoked from a command line. >> >> True, but it requires typing, i.e. leaving the mouse to type, a no-no >> for smooth GUI performance .... No biggie, I'm surviving now, > It must be hell. 1 day at a time ;-) .... > >> but >> having to resort to the kbd in a gfx environment is just .... >> *wrong* .... That's why I ask .... TIA (again) & have a good one .... > You can select the application from a menu after you've added > the launcher. IIRC you can also create a launcher automatically on a > panel by dragging a menu item from the main menu, or an icon from the > desktop. Problem is, the app I want (xcalc) isn't on the main menu ('Applications' button on my bottom tool bar/panel/whatever they call it) .... I'll try the 'add an empty launcher & then pick the app' & see how that goes. Thanks. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From freebsd-questions-local at be-well.ilk.org Thu Jun 25 19:56:00 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu, 25 Jun 2015 15:55:47 -0400 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <558C5AC4.1080800@hiwaay.net> (William A. Mahaffey, III's message of "Thu, 25 Jun 2015 14:53:31 -0453") References: <558B1991.6070607@hiwaay.net> <44oak4vcb2.fsf@lowell-desk.lan> <558B971E.9000009@hiwaay.net> <20150625193141.250db9f0@gumby.homeunix.com> <558C5AC4.1080800@hiwaay.net> Message-ID: <44k2urimv0.fsf@lowell-desk.lan> "William A. Mahaffey III" writes: > Problem is, the app I want (xcalc) isn't on the main menu > ('Applications' button on my bottom tool bar/panel/whatever they call > it) .... I'll try the 'add an empty launcher & then pick the app' & > see how that goes. Thanks. I'm sure you can handle it. [3001] (lowell at hog) ~> cat Desktop/xcalc.desktop [Desktop Entry] Name=XCalc GenericName=Scientific Calculator Comment=Scientific Calculator X11 Client Exec=xcalc -rpn Terminal=false Type=Application Categories=Utility; Icon=/usr/share/icons/mate/48x48/apps/kcalc.png [3002] (lowell at hog) ~> From wam at hiwaay.net Thu Jun 25 19:56:26 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 25 Jun 2015 15:02:39 -0453 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <558C5AC4.1080800@hiwaay.net> References: <558B1991.6070607@hiwaay.net> <44oak4vcb2.fsf@lowell-desk.lan> <558B971E.9000009@hiwaay.net> <20150625193141.250db9f0@gumby.homeunix.com> <558C5AC4.1080800@hiwaay.net> Message-ID: <558C5CE8.1010809@hiwaay.net> On 06/25/15 14:52, William A. Mahaffey III wrote: >> You can select the application from a menu after you've added >> the launcher. IIRC you can also create a launcher automatically on a >> panel by dragging a menu item from the main menu, or an icon from the >> desktop. > > > Problem is, the app I want (xcalc) isn't on the main menu > ('Applications' button on my bottom tool bar/panel/whatever they call > it) .... I'll try the 'add an empty launcher & then pick the app' & > see how that goes. Thanks. .... & that worked. A bit tedious, but doesn't happen often, & I presume it will survive reboots/logouts .... *Hoooooray* !!!! -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From wam at hiwaay.net Thu Jun 25 20:04:42 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 25 Jun 2015 15:10:55 -0453 Subject: How do I add arbitrary stuff to XFCE tool bar ? In-Reply-To: <44k2urimv0.fsf@lowell-desk.lan> References: <558B1991.6070607@hiwaay.net> <44oak4vcb2.fsf@lowell-desk.lan> <558B971E.9000009@hiwaay.net> <20150625193141.250db9f0@gumby.homeunix.com> <558C5AC4.1080800@hiwaay.net> <44k2urimv0.fsf@lowell-desk.lan> Message-ID: <558C5ED8.2020800@hiwaay.net> On 06/25/15 15:02, Lowell Gilbert wrote: > "William A. Mahaffey III" writes: > >> Problem is, the app I want (xcalc) isn't on the main menu >> ('Applications' button on my bottom tool bar/panel/whatever they call >> it) .... I'll try the 'add an empty launcher & then pick the app' & >> see how that goes. Thanks. > I'm sure you can handle it. > > > [3001] (lowell at hog) ~> cat Desktop/xcalc.desktop > [Desktop Entry] > Name=XCalc > GenericName=Scientific Calculator > Comment=Scientific Calculator X11 Client > Exec=xcalc -rpn > Terminal=false > Type=Application > Categories=Utility; > Icon=/usr/share/icons/mate/48x48/apps/kcalc.png > [3002] (lowell at hog) ~> > > Your confidence is gratifying ;-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From jd1008 at gmail.com Thu Jun 25 20:05:57 2015 From: jd1008 at gmail.com (jd1008) Date: Thu, 25 Jun 2015 14:05:55 -0600 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <20150625202835.62d37aed@gumby.homeunix.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> <20150625065727.e728118a09a939f408ec8526@sohara.org> <558C4756.1030805@gmail.com> <20150625202835.62d37aed@gumby.homeunix.com> Message-ID: <558C5F23.2070001@gmail.com> On 06/25/2015 01:28 PM, RW via freebsd-questions wrote: > On Thu, 25 Jun 2015 12:24:22 -0600 > jd1008 wrote: > >> I have not used Sun's ZFS, so was not familiar with it. >> Found an interesting evaluation of it at >> http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/ > FWIW ZFS has been a mainstream FreeBSD feature for some time now. It's > licence allowed the SUN code to run in the FreeBSD kernel whereas > Linux had to recreate it, or adapt the original version to run in > userland. Yes - the 'fuse' land. I would love to see io performance differences between the FreeBSD implementation vs the linux implementation. I gamble that running zfs in the kernel might provide faster i/o but not sure how much faster. From mail at ozzmosis.com Thu Jun 25 20:37:42 2015 From: mail at ozzmosis.com (andrew clarke) Date: Fri, 26 Jun 2015 06:37:38 +1000 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558C5F23.2070001@gmail.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> <20150625065727.e728118a09a939f408ec8526@sohara.org> <558C4756.1030805@gmail.com> <20150625202835.62d37aed@gumby.homeunix.com> <558C5F23.2070001@gmail.com> Message-ID: <20150625203738.GA75991@ozzmosis.com> On Thu 2015-06-25 14:05:55 UTC-0600, jd1008 (jd1008 at gmail.com) wrote: > > FWIW ZFS has been a mainstream FreeBSD feature for some time now. It's > > licence allowed the SUN code to run in the FreeBSD kernel whereas > > Linux had to recreate it, or adapt the original version to run in > > userland. > > Yes - the 'fuse' land. > I would love to see io performance differences between the > FreeBSD implementation vs the linux implementation. > I gamble that running zfs in the kernel might provide faster i/o > but not sure how much faster. There's also a kernel version of ZFS for Linux, in addition to ZFS on FUSE. http://zfsonlinux.org/ From list_freebsd at bluerosetech.com Thu Jun 25 20:49:19 2015 From: list_freebsd at bluerosetech.com (Mel Pilgrim) Date: Thu, 25 Jun 2015 13:48:57 -0700 Subject: getting ports updated on an older FreeBSD (5.1) In-Reply-To: <833145.91368.bm@smtp118.sbc.mail.ne1.yahoo.com> References: <86oak6p8w9.fsf@bsdstb.Belkin> <833145.91368.bm@smtp118.sbc.mail.ne1.yahoo.com> Message-ID: <558C6939.3070700@bluerosetech.com> On 2015-06-24 03:10, Thomas Mueller wrote: > I was thinking about the possibility of building/upgrading the base > FreeBSD from source by steps, such as 5.1 -> final 6-stable -> final > 8-stable -> 10.1 or possibly FreeBSD-current. The introduction of KSE happened in 5.x and IIRC a related ABI break starting with 5.4 means the only upgrade path from prior versions is a full reinstall because you can't cross-run kernel and userland. From oscar.hodgson at gmail.com Thu Jun 25 20:53:49 2015 From: oscar.hodgson at gmail.com (Oscar Hodgson) Date: Thu, 25 Jun 2015 16:53:45 -0400 Subject: yum on freebsd 9: No module named sqlite In-Reply-To: <60AFD209-581B-41B6-80D5-0119389BC447@gmail.com> References: <60AFD209-581B-41B6-80D5-0119389BC447@gmail.com> Message-ID: <78268FF8-212C-4259-879E-F9864F06CE1E@gmail.com> Update: yum & createrepo builds / works on 10.1 (with current portsnap). This added 85 new packages (it?s a pretty clean machine). Is there anyway to instruct port builds to ?just build all dependencies with the default options and let me know if it doesn?t work out?? Oscar On Jun 22, 2015, at 11:36 AM, Oscar Hodgson wrote: Hi folks, Is anyone running yum successfully on release 9? I am trying to get a yum repository running on FreeBSD 9-RELEASE-p17 in order to replace a Linux machine. /usr/ports is current. sysutils/yum (3.4.3_2) builds cleanly, ?yum? fails to start with the above error. Yum is essentially 100% python. /usr/ports/databases/py-sqlite3 is installed. There is no ?py-sqlite? package in ports. This error extends to various yum components (i.e. import sqlitesack, import sqlutils, and so forth). I am stymied. Going through the ports code has not been enlightening. Any suggestions? Oscar From guru at unixarea.de Thu Jun 25 20:55:19 2015 From: guru at unixarea.de (Matthias Apitz) Date: Thu, 25 Jun 2015 22:55:05 +0200 Subject: libosmscout In-Reply-To: <558BB76F.90602@gmail.com> References: <20150625080200.GA2397@c720-r276659> <558BB76F.90602@gmail.com> Message-ID: El jueves, 25 de junio de 2015 10:10:23 (CEST), Frans Schreuder escribi?: > .... > > osmscout-import > I read in the OSM wiki, that I should grab some files of my area and convert them with this command; to which dir I should SCP the files (all?) into the phone? Thanks matthias -- Sent from my Ubuntu phone http://www.unixarea.de/ From fransschreuder at gmail.com Thu Jun 25 20:59:04 2015 From: fransschreuder at gmail.com (Frans Schreuder) Date: Thu, 25 Jun 2015 22:58:59 +0200 Subject: libosmscout In-Reply-To: References: <20150625080200.GA2397@c720-r276659> <558BB76F.90602@gmail.com> Message-ID: <558C6B93.9080403@gmail.com> Depends, if you are using the app from the official store, you have to use the directory /home/phablet/.local/share/osmscout.fransschreuder/Maps//* If you take the map from the "open store" (open.uappexplorer.com) you can also put them in your sd card under Maps//* You can also download a map from within the app and see where they end up... the path is shown in the download dialog. Frans On 06/25/2015 10:55 PM, Matthias Apitz wrote: > El jueves, 25 de junio de 2015 10:10:23 (CEST), Frans Schreuder escribi?: >> .... >> >> osmscout-import >> > > I read in the OSM wiki, that I should grab some files of my area and > convert them with this command; to which dir I should SCP the files > (all?) into the phone? > > Thanks > > matthias > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: From jd1008 at gmail.com Thu Jun 25 21:16:20 2015 From: jd1008 at gmail.com (jd1008) Date: Thu, 25 Jun 2015 15:16:18 -0600 Subject: yum on freebsd 9: No module named sqlite In-Reply-To: <78268FF8-212C-4259-879E-F9864F06CE1E@gmail.com> References: <60AFD209-581B-41B6-80D5-0119389BC447@gmail.com> <78268FF8-212C-4259-879E-F9864F06CE1E@gmail.com> Message-ID: <558C6FA2.7070509@gmail.com> On 06/25/2015 02:53 PM, Oscar Hodgson wrote: > Update: yum & createrepo builds / works on 10.1 (with current portsnap). This added 85 new packages (it?s a pretty clean machine). > > Is there anyway to instruct port builds to ?just build all dependencies with the default options and let me know if it doesn?t work out?? > > Oscar > > On Jun 22, 2015, at 11:36 AM, Oscar Hodgson wrote: > > Hi folks, > > Is anyone running yum successfully on release 9? > > I am trying to get a yum repository running on FreeBSD 9-RELEASE-p17 in order to replace a Linux machine. /usr/ports is current. sysutils/yum (3.4.3_2) builds cleanly, ?yum? fails to start with the above error. Yum is essentially 100% python. > > /usr/ports/databases/py-sqlite3 is installed. There is no ?py-sqlite? package in ports. This error extends to various yum components (i.e. import sqlitesack, import sqlutils, and so forth). > > I am stymied. Going through the ports code has not been enlightening. Any suggestions? > > Oscar > As much as I like yum, the thing about dependencies could really frustrate some or a lot of users when they try to install some favorite package/s of theirs, and the dependencies will clash with the existing installations. Perhaps it is a bullet every will have to bite ? :) :) This will be especially true of older, no longer supported packages, or packages from other BSD clones. From wfdudley at gmail.com Thu Jun 25 21:17:14 2015 From: wfdudley at gmail.com (wfdudley) Date: Thu, 25 Jun 2015 14:17:13 -0700 (MST) Subject: freebsd-update from 8.4 to 9.3 causes gmirror to disappear -- HELP! In-Reply-To: <1435255862253-6020737.post@n5.nabble.com> References: <1435255862253-6020737.post@n5.nabble.com> Message-ID: Update: I reverted to 8.4 RELEASE and my mirror is back. So, how the heck do I use freebsd-update to get to 9.3 ? Do I have to un-mirror my disks? Thanks, Bill Dudley This email is free of malware because I run Linux. On Thu, Jun 25, 2015 at 2:11 PM, wfdudley [via FreeBSD] < ml-node+s1045724n6020737h71 at n5.nabble.com> wrote: > I've been running 8.4 STABLE for a while, but decided to try to use > freebsd-update to move to 9.3 > I have a pair of 2TB drives in a gmirror. Works fine. > > I used svn to pull the 8.4 RELEASE source, and built myself an 8.4 RELEASE > system. > > Then, I followed the instructions here: > https://www.freebsd.org/releases/9.3R/installation.html > > And after the first reboot in to the 9.3 kernel, my gmirror is GONE. > This is ALL MY DATA, and the freebsd-update database > (/var/db/freebsd-update). > > After discovering that the mirror was GONE, I did this: > > sysctl kern.geom.debugflags=17 > gmirror label -vb round-robin gm0 /dev/ad14 > > Which is how I configured the mirror initially (from this > http://www.iprobot.net/linux-tutorial/how-to-setup-sofware-raid-in-freebsd/ post). > > > I'm afraid to do anything more. I'm rebuilding 8.4 RELEASE and am going > to try to boot > into that to see if that works, but then I guess I can't use > freebsd-update because it > causes my mirror to disappear. > > What's wrong? > > How can i get my mirror back? > > Thanks, > Bill Dudley > wfdudley at gmail.com > > P.S. the "subscribe to the mailing list" feature of this web forum appears > broken, in > that it doesn't cause an email to be sent to me inviting me to confirm my > subscription. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://freebsd.1045724.n5.nabble.com/freebsd-update-from-8-4-to-9-3-causes-gmirror-to-disappear-HELP-tp6020737.html > This email was sent by wfdudley > > (via Nabble) > To receive all replies by email, subscribe to this discussion > > -- View this message in context: http://freebsd.1045724.n5.nabble.com/freebsd-update-from-8-4-to-9-3-causes-gmirror-to-disappear-HELP-tp6020737p6020922.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jd1008 at gmail.com Thu Jun 25 21:20:14 2015 From: jd1008 at gmail.com (jd1008) Date: Thu, 25 Jun 2015 15:20:11 -0600 Subject: latest install DVD Message-ID: <558C708B.4020405@gmail.com> A friend asks if the latest fbsd installation DVD will also install multiple Destops (like Gnome, Mate, lxde, ...etc) for him to try out, along with the gui apps like thunderbird, firefox, smplayer , .... etc. From dalescott at shaw.ca Thu Jun 25 22:02:12 2015 From: dalescott at shaw.ca (Dale Scott) Date: Thu, 25 Jun 2015 16:02:04 -0600 Subject: latest install DVD In-Reply-To: <558C708B.4020405@gmail.com> References: <558C708B.4020405@gmail.com> Message-ID: <00e401d0af92$92e9b460$b8bd1d20$@shaw.ca> > -----Original Message----- > From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd- > questions at freebsd.org] On Behalf Of jd1008 > Sent: June 25, 2015 3:20 PM > To: FreeBSD Users > Subject: latest install DVD > > A friend asks if the latest fbsd installation DVD will also install multiple > Destops (like Gnome, Mate, lxde, ...etc) for him to try out, along with the gui > apps like thunderbird, firefox, smplayer , .... etc. Your friend might want to consider the PC-BSD "distribution" of FreeBSD. The PC-BSD gang concentrate on a solid desktop experience, and the apps in their app store generally just work (but make sure your system hardware is supported by FreeBSD though, especially laptops). An potential chicken&egg issue is that you may have to install PC-BSD first in order to browse the available apps (in the PC-BSD "AppCafe(R)"). Good luck! Dale From quartz at sneakertech.com Thu Jun 25 22:10:05 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 18:09:59 -0400 Subject: Is there something wrong with forums.freebsd.org? Message-ID: <558C7C37.6060505@sneakertech.com> I have not been able to connect to it for some time. Doesn't matter where I try to connect from, what computer I'm using, or what software (even curl fails). From jungleboogie0 at gmail.com Thu Jun 25 22:22:23 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Thu, 25 Jun 2015 15:22:22 -0700 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C7C37.6060505@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> Message-ID: On 25 June 2015 at 15:09, Quartz wrote: > I have not been able to connect to it for some time. Doesn't matter where I > try to connect from, what computer I'm using, or what software (even curl > fails). check your OS and browser version, they recently updated SSL. % opensopenssl s_client -connect forums.freebsd.org:443 -CAfile /etc/ssl/cert.pem CONNECTED(00000003) depth=3 C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root verify return:1 depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority verify return:1 depth=1 C = FR, ST = Paris, L = Paris, O = Gandi, CN = Gandi Standard SSL CA 2 verify return:1 depth=0 OU = Domain Control Validated, OU = Gandi Standard SSL, CN = forums.freebsd.org verify return:1 --- Certificate chain 0 s:/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=forums.freebsd.org i:/C=FR/ST=Paris/L=Paris/O=Gandi/CN=Gandi Standard SSL CA 2 1 s:/C=FR/ST=Paris/L=Paris/O=Gandi/CN=Gandi Standard SSL CA 2 i:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority 2 s:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root --- Server certificate -----BEGIN CERTIFICATE----- MIIGBjCCBO6gAwIBAgIRAIb7wfIGcH2c3bY0pjwwBTYwDQYJKoZIhvcNAQELBQAw XzELMAkGA1UEBhMCRlIxDjAMBgNVBAgTBVBhcmlzMQ4wDAYDVQQHEwVQYXJpczEO MAwGA1UEChMFR2FuZGkxIDAeBgNVBAMTF0dhbmRpIFN0YW5kYXJkIFNTTCBDQSAy MB4XDTE1MDUxMjAwMDAwMFoXDTE2MDUxNzIzNTk1OVowXTEhMB8GA1UECxMYRG9t YWluIENvbnRyb2wgVmFsaWRhdGVkMRswGQYDVQQLExJHYW5kaSBTdGFuZGFyZCBT U0wxGzAZBgNVBAMTEmZvcnVtcy5mcmVlYnNkLm9yZzCCAiIwDQYJKoZIhvcNAQEB BQADggIPADCCAgoCggIBANSWjCMt337JJApXg9M8KnErAMAjh3EQ1AqVaAAesAUV BfOYzC2C1wMEVVaoxp+8Qb4Tha0hrrmk1A25ue8PrxByq/b7IQLIxLu6V1GO7L0o VUqZ/ct7eNEQQ791m/1Z30bGRoaI4Y5DtMIcr0QE0eX7ASITuByEFFuZmY8k/XJn i5a2bKflMASeeZhLEZfayRBKEOkQvULb68oRSlO9gRcHagpTVjzpUeT3m/4K+sus dOV97UlovrKAxHpfbjfDBCoTSqcGGYGMRcRtq2EBtA0SDcqTeMJAmYl8pGoY5kBy b2fL9fgYLCiBex9ruf+agQ9K5GkzDK2D0BpOdr8TQZb8SO8V9DdJI1FcSCwCo/Ha 4AgZKio6PY+rswJBMmQUBhc2Vtv8DDLizDWVMNjy6uul5D17dOAPveTVtosQ8Hy3 9tmf7HcKC+BA+4mESbe/56XP1HzQwQ29hP+TyvSx+XO3Lx8RDIUqOAeOv/ws96bV 7uRSlGLPTYLlk0kBzsb+exKNPLWadifxrZwUUY2vwzKY48GeWgxv9zOI/ztCl/US IBlc4eiSnMvglv4LUmQJO2AqTd1qc6yOKNvYBu3fFLmpLFanEf2+dwxJP/OrCQJW E0pEnBEzC7/hApwCwJQW2SZAZ83R0w6zGTW+2XktAwO4eeqJdewbX8g8IUgldEL1 AgMBAAGjggG9MIIBuTAfBgNVHSMEGDAWgBSzkKfYya9OzWE8n3ytXX9B/Wkw6jAd BgNVHQ4EFgQUpfM5Sh3UVmbXUg8GSk8x6QSOqcQwDgYDVR0PAQH/BAQDAgWgMAwG A1UdEwEB/wQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMEsGA1Ud IAREMEIwNgYLKwYBBAGyMQECAhowJzAlBggrBgEFBQcCARYZaHR0cHM6Ly9jcHMu dXNlcnRydXN0LmNvbTAIBgZngQwBAgEwQQYDVR0fBDowODA2oDSgMoYwaHR0cDov L2NybC51c2VydHJ1c3QuY29tL0dhbmRpU3RhbmRhcmRTU0xDQTIuY3JsMHMGCCsG AQUFBwEBBGcwZTA8BggrBgEFBQcwAoYwaHR0cDovL2NydC51c2VydHJ1c3QuY29t L0dhbmRpU3RhbmRhcmRTU0xDQTIuY3J0MCUGCCsGAQUFBzABhhlodHRwOi8vb2Nz cC51c2VydHJ1c3QuY29tMDUGA1UdEQQuMCyCEmZvcnVtcy5mcmVlYnNkLm9yZ4IW d3d3LmZvcnVtcy5mcmVlYnNkLm9yZzANBgkqhkiG9w0BAQsFAAOCAQEARB7/lCRL 6SXj6FKMoYIGYyT5RCnLMgcgND2DXNIMvW0rfP4ACt7aQ516+5D3S+hqQAkTdJWE HLIW0yCqxHqXYUR1CaIV6uzVPGCK5faK6eSzyOj9RwpQ5KO47mWcjnoS7pOuzqCE EHm3GPXWLf8TsFSBlwx1Rwsm6El6yJfTm8dTREZfo77XRYg7C3ZuE7BafH2B3e+b TUC447FG+rR/vOdlkVe9ucbSkd10+5tD57SG1LJsZ5KNuuCjPUqWLZCzBI2fNEae xodFtE+PAx6AUHqwTO/GB/Pk26w3fePkB83rAII1YDP78mcxCHhwHMLFiwgcvMaL U1vRqK6quxBljQ== -----END CERTIFICATE----- subject=/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=forums.freebsd.org issuer=/C=FR/ST=Paris/L=Paris/O=Gandi/CN=Gandi Standard SSL CA 2 --- No client certificate CA names sent --- SSL handshake has read 5414 bytes and written 446 bytes --- New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256 Server public key is 4096 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.2 Cipher : ECDHE-RSA-AES128-GCM-SHA256 Session-ID: 920A76CE1009594F05A3FA25865AB4BC2B7D11AF2ABA771F55545BEB17CBE4D7 Session-ID-ctx: Master-Key: E6E0C529EE8204A422F33E359D62D83F85D7B9BC1F90B97EC9797B0CFBE4255BC5BEF667A3857509B0075CB61D78087B TLS session ticket lifetime hint: 300 (seconds) TLS session ticket: 0000 - 66 82 0d 54 e9 fa 58 24-05 e1 6b dc e7 06 28 15 f..T..X$..k...(. 0010 - 40 0a 53 15 bb 4c ea b7-81 30 c5 a0 17 5d 8f 6c @.S..L...0...].l 0020 - ac 0d f7 fd bb b7 f1 89-3c 07 7e a3 c7 c7 33 30 ........<.~...30 0030 - d1 37 1d 49 0f 45 85 83-99 2a a4 6f f8 6b c1 fc .7.I.E...*.o.k.. 0040 - 33 ac 10 bf ae 00 cf 3f-28 33 8c 41 0f 9f 76 85 3......?(3.A..v. 0050 - 16 4d 02 d3 d1 7a f0 46-4c b3 40 44 22 93 85 b1 .M...z.FL. at D"... 0060 - 9d 58 21 c2 e1 fd 40 5f-68 b6 08 7c f4 e8 dc 1d .X!... at _h..|.... 0070 - 5d 90 36 c8 74 7e 82 f0-f0 57 ad b6 8d b3 da f3 ].6.t~...W...... 0080 - bb 72 95 f1 1d 9e 3c 11-c0 a3 6c 25 7b 38 cb b2 .r....<...l%{8.. 0090 - 3f 35 1d d9 5e 09 bd d5-58 4c f0 59 ee e5 58 45 ?5..^...XL.Y..XE 00a0 - 65 ed 2d 41 5e 59 a6 34-c3 16 d9 06 3a 79 83 5c e.-A^Y.4....:y.\ 00b0 - a9 af 65 84 53 cb 4a c8-d2 09 e0 fa 01 3b a4 8c ..e.S.J......;.. Start Time: 1435270897 Timeout : 300 (sec) Verify return code: 0 (ok) -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From wblock at wonkity.com Thu Jun 25 22:33:05 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 16:33:02 -0600 (MDT) Subject: freebsd-update from 8.4 to 9.3 causes gmirror to disappear -- HELP! In-Reply-To: <1435255862253-6020737.post@n5.nabble.com> References: <1435255862253-6020737.post@n5.nabble.com> Message-ID: On Thu, 25 Jun 2015, wfdudley wrote: > I've been running 8.4 STABLE for a while, but decided to try to use > freebsd-update to move to 9.3 > I have a pair of 2TB drives in a gmirror. Works fine. > > I used svn to pull the 8.4 RELEASE source, and built myself an 8.4 RELEASE > system. > > Then, I followed the instructions here: > https://www.freebsd.org/releases/9.3R/installation.html > > And after the first reboot in to the 9.3 kernel, my gmirror is GONE. > This is ALL MY DATA, and the freebsd-update database > (/var/db/freebsd-update). > > After discovering that the mirror was GONE, I did this: > > sysctl kern.geom.debugflags=17 > gmirror label -vb round-robin gm0 /dev/ad14 That turns off the safety and creates (writes) a new mirror on one drive. Please stop writing to those drives and check your backups. If you are lucky, the data is still present on the second drive. > Which is how I configured the mirror initially (from this > http://www.iprobot.net/linux-tutorial/how-to-setup-sofware-raid-in-freebsd/ > post). The Handbook has a full section on creating mirrors, but that is not what is needed. Instead, the existing mirror just needs to be mounted. The problem might be this: https://www.freebsd.org/releases/9.0R/relnotes-detailed.html#AEN1277 You do not mention what you mean by the mirror being "gone". Was there an error message? It might be as simple as editing /etc/fstab. From wblock at wonkity.com Thu Jun 25 22:34:45 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 16:34:43 -0600 (MDT) Subject: freebsd-update from 8.4 to 9.3 causes gmirror to disappear -- HELP! In-Reply-To: References: <1435255862253-6020737.post@n5.nabble.com> Message-ID: On Thu, 25 Jun 2015, wfdudley wrote: > Update: I reverted to 8.4 RELEASE and my mirror is back. > > So, how the heck do I use freebsd-update to get to 9.3 ? Do I have to > un-mirror my disks? Step 1. Make a full backup somewhere else, not on the mirror. Step 2. Verify the data on that full backup. Only after steps 1 and 2, see https://www.freebsd.org/releases/9.0R/relnotes-detailed.html#AEN1277 Then watch for error messages and proceed from there. From quartz at sneakertech.com Thu Jun 25 22:37:55 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 18:37:53 -0400 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: References: <558C7C37.6060505@sneakertech.com> Message-ID: <558C82C1.103@sneakertech.com> > check your OS and browser version, they recently updated SSL. It doesn't matter what OS or browser I'm using, this happens on every machine and even curl. From quartz at sneakertech.com Thu Jun 25 22:46:59 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 18:46:54 -0400 Subject: latest install DVD In-Reply-To: <558C708B.4020405@gmail.com> References: <558C708B.4020405@gmail.com> Message-ID: <558C84DE.7000107@sneakertech.com> > A friend asks if the latest fbsd installation DVD will > also install multiple Destops (like Gnome, Mate, lxde, ...etc) > for him to try out, along with the gui apps like > thunderbird, firefox, smplayer , .... etc. Not really. Assuming I'm reading the package manifests correctly, dvd1.iso appears to have gnome (and its children, like evolution), kde (and its children), firefox, and webkit. The dvd is only 2.5gb and mainly comes with a whole bunch of libraries/languages/utilities, rather than full programs. I'd suggest he look at PC-BSD instead; it's a distribution of freebsd meant for desktops and workstations and includes a lot more of that stuff by default. From quartz at sneakertech.com Thu Jun 25 22:59:32 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 18:59:30 -0400 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C82C1.103@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> Message-ID: <558C87D2.5030104@sneakertech.com> >> check your OS and browser version, they recently updated SSL. > > It doesn't matter what OS or browser I'm using, this happens on every > machine and even curl. I should point out that I can ping them fine, and if I use curl to connect to port 80 I get the standard: HTTP/1.1 301 Moved Permanently Date: Thu, 25 Jun 2015 22:52:49 GMT Server: Apache/2.4.12 (FreeBSD) OpenSSL/1.0.1l-freebsd PHP/5.4.40 Location: https://forums.freebsd.org/ Content-Length: 235 Content-Type: text/html; charset=iso-8859-1 But connecting via 443 just gives me protocol and/or handshake errors. From wfdudley at gmail.com Thu Jun 25 23:08:02 2015 From: wfdudley at gmail.com (William Dudley) Date: Thu, 25 Jun 2015 19:08:01 -0400 Subject: freebsd-update from 8.4 to 9.3 causes gmirror to disappear -- HELP! In-Reply-To: References: <1435255862253-6020737.post@n5.nabble.com> Message-ID: Warren, Thanks for your reply. I think the problem was that the partition failed the "check the integrity of partition metadata". The symptom was that /dev/mirrors/gm0 existed, but none of the partitions I had defined on there. I reverted to 8.4 RELEASE and for now I have my data back. I will have to back it up to a non-mirrored disk and then go through the freebsd-upgrade process again to get to 9.3. I have temporarily put kern.geom.part.check_integrity="0" in my /boot/loader.conf so that I should have my mirror when i boot into 9.3. Then I need to figure out how to "fix" the partition table (I didn't know there was anything wrong with it) so I can turn the integrity check back on. Man, I hate when my computer scares the crap out of me. Bill Dudley This email is free of malware because I run Linux. On Thu, Jun 25, 2015 at 6:33 PM, Warren Block wrote: > On Thu, 25 Jun 2015, wfdudley wrote: > > I've been running 8.4 STABLE for a while, but decided to try to use >> freebsd-update to move to 9.3 >> I have a pair of 2TB drives in a gmirror. Works fine. >> >> I used svn to pull the 8.4 RELEASE source, and built myself an 8.4 RELEASE >> system. >> >> Then, I followed the instructions here: >> https://www.freebsd.org/releases/9.3R/installation.html >> >> And after the first reboot in to the 9.3 kernel, my gmirror is GONE. >> This is ALL MY DATA, and the freebsd-update database >> (/var/db/freebsd-update). >> >> After discovering that the mirror was GONE, I did this: >> >> sysctl kern.geom.debugflags=17 >> gmirror label -vb round-robin gm0 /dev/ad14 >> > > That turns off the safety and creates (writes) a new mirror on one drive. > Please stop writing to those drives and check your backups. If you are > lucky, the data is still present on the second drive. > > Which is how I configured the mirror initially (from this >> >> http://www.iprobot.net/linux-tutorial/how-to-setup-sofware-raid-in-freebsd/ >> post). >> > > The Handbook has a full section on creating mirrors, but that is not what > is needed. Instead, the existing mirror just needs to be mounted. > > The problem might be this: > https://www.freebsd.org/releases/9.0R/relnotes-detailed.html#AEN1277 > > You do not mention what you mean by the mirror being "gone". Was there an > error message? It might be as simple as editing /etc/fstab. > From quartz at sneakertech.com Thu Jun 25 23:17:07 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 19:17:04 -0400 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C82C1.103@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> Message-ID: <558C8BF0.4050905@sneakertech.com> >> check your OS and browser version, they recently updated SSL. > > It doesn't matter what OS or browser I'm using, this happens on every > machine and even curl. Let me ask this a different way: did they update to something so new that it only works on very recent OSs? Like should I test with a windows 8 system or something? From wblock at wonkity.com Thu Jun 25 23:19:45 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 17:19:42 -0600 (MDT) Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C8BF0.4050905@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> Message-ID: On Thu, 25 Jun 2015, Quartz wrote: >>> check your OS and browser version, they recently updated SSL. >> >> It doesn't matter what OS or browser I'm using, this happens on every >> machine and even curl. > > Let me ask this a different way: did they update to something so new that it > only works on very recent OSs? Like should I test with a windows 8 system or > something? No. Firefox 38 on FreeBSD 10-STABLE here, works fine. It may be a problem with a router or proxy between you and the forum machine. From rwmaillists at googlemail.com Thu Jun 25 23:21:29 2015 From: rwmaillists at googlemail.com (RW) Date: Fri, 26 Jun 2015 00:21:23 +0100 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C87D2.5030104@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C87D2.5030104@sneakertech.com> Message-ID: <20150626002123.17f6b6da@gumby.homeunix.com> On Thu, 25 Jun 2015 18:59:30 -0400 Quartz wrote: > >> check your OS and browser version, they recently updated SSL. > > > > It doesn't matter what OS or browser I'm using, this happens on > > every machine and even curl. > > I should point out that I can ping them fine, and if I use curl to > connect to port 80 I get the standard: > > HTTP/1.1 301 Moved Permanently > Date: Thu, 25 Jun 2015 22:52:49 GMT > Server: Apache/2.4.12 (FreeBSD) OpenSSL/1.0.1l-freebsd PHP/5.4.40 > Location: https://forums.freebsd.org/ > Content-Length: 235 > Content-Type: text/html; charset=iso-8859-1 > > But connecting via 443 just gives me protocol and/or handshake errors. I couldn't connect with Opera, but could with Firefox and Chromium. From jd1008 at gmail.com Thu Jun 25 23:22:19 2015 From: jd1008 at gmail.com (jd1008) Date: Thu, 25 Jun 2015 17:22:16 -0600 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C8BF0.4050905@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> Message-ID: <558C8D28.6080207@gmail.com> On 06/25/2015 05:17 PM, Quartz wrote: >>> check your OS and browser version, they recently updated SSL. >> >> It doesn't matter what OS or browser I'm using, this happens on every >> machine and even curl. > > Let me ask this a different way: did they update to something so new > that it only works on very recent OSs? Like should I test with a > windows 8 system or something? My browser connects to it like ... immediately!!! Your browser should support https. From quartz at sneakertech.com Thu Jun 25 23:30:03 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 19:30:01 -0400 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> Message-ID: <558C8EF9.4080008@sneakertech.com> >> Let me ask this a different way: did they update to something so new >> that it only works on very recent OSs? Like should I test with a >> windows 8 system or something? > > No. Firefox 38 on FreeBSD 10-STABLE here, works fine. Well, given that 10.0 came out only a year and a half ago, that doesn't really give me any more info. I'm wondering where the cutoff is for "too old" in this case, assuming that's even the issue. From wfdudley at gmail.com Thu Jun 25 23:39:52 2015 From: wfdudley at gmail.com (William Dudley) Date: Thu, 25 Jun 2015 19:39:51 -0400 Subject: how to fix "CORRUPT" partition table in mirrored drive Message-ID: I have a mirrored drive: gpart show -l => 63 78156225 ad0 MBR (37G) 63 78156162 1 (null) [active] (37G) 78156225 63 - free - (31k) => 0 78156162 ad0s1 BSD (37G) 0 41943040 1 (null) (20G) 41943040 2097152 2 (null) (1.0G) 44040192 34115970 4 (null) (16G) => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] 63 3907029105 1 (null) [active] (1.8T) => 0 3907029105 mirror/gm0s1 BSD (1.8T) 0 335544320 4 (null) (160G) 335544320 209715200 5 (null) (100G) 545259520 209715200 6 (null) (100G) 754974720 3152054385 7 (null) (1.5T) I tried to fix the corrupt partition table like this: gpart recover mirror/gm0 gpart: recovering 'mirror/gm0' failed: Function not implemented So how do I fix the corrupt partition table? Can I un-mirror the two drives and then do the gpart recover and then re-mirror them? A google search of the above error message turns up nothing at all relevant. Thanks, Bill Dudley From wblock at wonkity.com Thu Jun 25 23:47:51 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 17:47:48 -0600 (MDT) Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C8EF9.4080008@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C8EF9.4080008@sneakertech.com> Message-ID: On Thu, 25 Jun 2015, Quartz wrote: >>> Let me ask this a different way: did they update to something so new >>> that it only works on very recent OSs? Like should I test with a >>> windows 8 system or something? >> >> No. Firefox 38 on FreeBSD 10-STABLE here, works fine. > > Well, given that 10.0 came out only a year and a half ago, that doesn't > really give me any more info. I'm wondering where the cutoff is for "too old" > in this case, assuming that's even the issue. It is the browser, not the operating system. Unless you have an unpatched openSSL, maybe. From wblock at wonkity.com Thu Jun 25 23:57:21 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 17:57:18 -0600 (MDT) Subject: how to fix "CORRUPT" partition table in mirrored drive In-Reply-To: References: Message-ID: On Thu, 25 Jun 2015, William Dudley wrote: > I have a mirrored drive: > > gpart show -l > => 63 78156225 ad0 MBR (37G) > 63 78156162 1 (null) [active] (37G) > 78156225 63 - free - (31k) > > => 0 78156162 ad0s1 BSD (37G) > 0 41943040 1 (null) (20G) > 41943040 2097152 2 (null) (1.0G) > 44040192 34115970 4 (null) (16G) > > => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] > 63 3907029105 1 (null) [active] (1.8T) > > => 0 3907029105 mirror/gm0s1 BSD (1.8T) > 0 335544320 4 (null) (160G) > 335544320 209715200 5 (null) (100G) > 545259520 209715200 6 (null) (100G) > 754974720 3152054385 7 (null) (1.5T) > > I tried to fix the corrupt partition table like this: > > gpart recover mirror/gm0 > gpart: recovering 'mirror/gm0' failed: Function not implemented > > So how do I fix the corrupt partition table? Can I un-mirror the two drives > and then do the gpart recover and then re-mirror them? gpart recover only works with some partitioning schemes. GPT has a backup copy of the partition table that can be used to recover the primary one. MBR and BSD partitioning schemes do not have redundant metadata for recover to use. From wfdudley at gmail.com Fri Jun 26 00:04:41 2015 From: wfdudley at gmail.com (William Dudley) Date: Thu, 25 Jun 2015 20:04:40 -0400 Subject: how to fix "CORRUPT" partition table in mirrored drive In-Reply-To: References: Message-ID: Warren, Again, thanks for the reply. Does the fact that gpart show -l reports this: => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] Mean that I'm screwed and must copy all the data to a new drive and create the mirror anew? Can I remove the second drive from the mirror and still have the data on it accessible? the gmirror man page doesn't say what the disks that are removed from the mirror "look like", i.e. are they in some wierd format or can they be read like a normal disk. Thanks, Bill Dudley This email is free of malware because I run Linux. On Thu, Jun 25, 2015 at 7:57 PM, Warren Block wrote: > On Thu, 25 Jun 2015, William Dudley wrote: > > I have a mirrored drive: >> >> gpart show -l >> => 63 78156225 ad0 MBR (37G) >> 63 78156162 1 (null) [active] (37G) >> 78156225 63 - free - (31k) >> >> => 0 78156162 ad0s1 BSD (37G) >> 0 41943040 1 (null) (20G) >> 41943040 2097152 2 (null) (1.0G) >> 44040192 34115970 4 (null) (16G) >> >> => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] >> 63 3907029105 1 (null) [active] (1.8T) >> >> => 0 3907029105 mirror/gm0s1 BSD (1.8T) >> 0 335544320 4 (null) (160G) >> 335544320 209715200 5 (null) (100G) >> 545259520 209715200 6 (null) (100G) >> 754974720 3152054385 7 (null) (1.5T) >> >> I tried to fix the corrupt partition table like this: >> >> gpart recover mirror/gm0 >> gpart: recovering 'mirror/gm0' failed: Function not implemented >> >> So how do I fix the corrupt partition table? Can I un-mirror the two >> drives >> and then do the gpart recover and then re-mirror them? >> > > gpart recover only works with some partitioning schemes. GPT has a backup > copy of the partition table that can be used to recover the primary one. > MBR and BSD partitioning schemes do not have redundant metadata for recover > to use. > From quartz at sneakertech.com Fri Jun 26 00:09:10 2015 From: quartz at sneakertech.com (Quartz) Date: Thu, 25 Jun 2015 20:09:02 -0400 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C8EF9.4080008@sneakertech.com> Message-ID: <558C981E.4090107@sneakertech.com> >>>> Let me ask this a different way: did they update to something so new >>>> that it only works on very recent OSs? Like should I test with a >>>> windows 8 system or something? >>> >>> No. Firefox 38 on FreeBSD 10-STABLE here, works fine. >> >> Well, given that 10.0 came out only a year and a half ago, that >> doesn't really give me any more info. I'm wondering where the cutoff >> is for "too old" in this case, assuming that's even the issue. > > It is the browser, not the operating system. Unless you have an > unpatched openSSL, maybe. OK, where does curl fit into that then? Presumably all the versions I have access to are too old I guess. From wam at hiwaay.net Fri Jun 26 00:16:43 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Thu, 25 Jun 2015 19:22:55 -0453 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C8BF0.4050905@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> Message-ID: <558C99E8.9000807@hiwaay.net> On 06/25/15 18:23, Quartz wrote: >>> check your OS and browser version, they recently updated SSL. >> >> It doesn't matter what OS or browser I'm using, this happens on every >> machine and even curl. > > Let me ask this a different way: did they update to something so new > that it only works on very recent OSs? Like should I test with a > windows 8 system or something? > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > Why would freebsd.org mangle its website so it only worked w/ Windoze ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From jungleboogie0 at gmail.com Fri Jun 26 00:30:35 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Thu, 25 Jun 2015 17:30:34 -0700 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C981E.4090107@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C8EF9.4080008@sneakertech.com> <558C981E.4090107@sneakertech.com> Message-ID: On Jun 25, 2015 5:09 PM, "Quartz" >> >> >> It is the browser, not the operating system. Unless you have an >> unpatched openSSL, maybe. > > > OK, where does curl fit into that then? Presumably all the versions I have access to are too old I guess. > > What's your version of curl? > >Mc > > From wblock at wonkity.com Fri Jun 26 00:43:31 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 18:43:28 -0600 (MDT) Subject: how to fix "CORRUPT" partition table in mirrored drive In-Reply-To: References: Message-ID: On Thu, 25 Jun 2015, William Dudley wrote: > Warren, > Again, thanks for the reply.? Does the fact that gpart show -l reports this: > > => ? ? ? ?63 ?3907029104 ?mirror/gm0 ?MBR ?(1.8T) [CORRUPT] > > Mean that I'm screwed and must copy all the data to a new drive and > create the mirror anew? Possibly. Years back, the Handbook showed the quick but wrong way to create a mirror out of an existing disk with a filesystem on it. The new integrity check does not like that, because the last block of a partition was reused. Here, if you add up the lengths of the partitions on gm0s1, you'll find that it is one block longer than the size of gm0. See the "4" versus "5" in the last digit of the sizes of gm0 and gm0s1? The contents of a partition cannot be larger than the partition itself. > =>? ? ? ? 63? 3907029104? mirror/gm0? MBR? (1.8T) [CORRUPT] ^^^^^^^^^^ > > =>? ? ? ? ?0? 3907029105? mirror/gm0s1? BSD? (1.8T) ^^^^^^^^^^ That could be fixed by shrinking the last partition by one block, but shrinking it will not resize the UFS filesystem on it, and possibly leave it unusable. If it were me, I'd back everything up, then follow the new procedures in the Handbook to create the mirror correctly. Those procedures were extensively tested. (Ask me how I know.) From wblock at wonkity.com Fri Jun 26 01:01:47 2015 From: wblock at wonkity.com (Warren Block) Date: Thu, 25 Jun 2015 19:01:44 -0600 (MDT) Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C981E.4090107@sneakertech.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C8EF9.4080008@sneakertech.com> <558C981E.4090107@sneakertech.com> Message-ID: On Thu, 25 Jun 2015, Quartz wrote: >>>>> Let me ask this a different way: did they update to something so new >>>>> that it only works on very recent OSs? Like should I test with a >>>>> windows 8 system or something? >>>> >>>> No. Firefox 38 on FreeBSD 10-STABLE here, works fine. >>> >>> Well, given that 10.0 came out only a year and a half ago, that >>> doesn't really give me any more info. I'm wondering where the cutoff >>> is for "too old" in this case, assuming that's even the issue. >> >> It is the browser, not the operating system. Unless you have an >> unpatched openSSL, maybe. > > OK, where does curl fit into that then? Presumably all the versions I have > access to are too old I guess. There was a problem curl linking to both the base and ports version of openssl not too long ago, and consequently breaking other applications. From stoa at gmx.us Fri Jun 26 01:14:30 2015 From: stoa at gmx.us (Dutch Ingraham) Date: Thu, 25 Jun 2015 20:14:07 -0500 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C99E8.9000807@hiwaay.net> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C99E8.9000807@hiwaay.net> Message-ID: <20150626011407.GA27125@puffyzz.attlocal.net> On Thu, Jun 25, 2015 at 07:22:55PM -0453, William A. Mahaffey III wrote: > On 06/25/15 18:23, Quartz wrote: > >>>check your OS and browser version, they recently updated SSL. > >> > >>It doesn't matter what OS or browser I'm using, this happens on every > >>machine and even curl. > > > >Let me ask this a different way: did they update to something so new that > >it only works on very recent OSs? Like should I test with a windows 8 > >system or something? > > For the record, I'm using the xombrero browser, v. 1.6.4, with no whitelisting for the FreeBSD forums (which means no cookies, no javascript, no plugins), and my latest certificate update was June 7, and I'm not having any trouble accessing the site. From jd1008 at gmail.com Fri Jun 26 02:21:50 2015 From: jd1008 at gmail.com (jd1008) Date: Thu, 25 Jun 2015 20:21:36 -0600 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558C99E8.9000807@hiwaay.net> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C99E8.9000807@hiwaay.net> Message-ID: <558CB730.9030205@gmail.com> On 06/25/2015 06:15 PM, William A. Mahaffey III wrote: > On 06/25/15 18:23, Quartz wrote: >>>> check your OS and browser version, they recently updated SSL. >>> >>> It doesn't matter what OS or browser I'm using, this happens on every >>> machine and even curl. >> >> Let me ask this a different way: did they update to something so new >> that it only works on very recent OSs? Like should I test with a >> windows 8 system or something? >> > Why would freebsd.org mangle its website so it only worked w/ Windoze ? > They did not! I just used Linux to access it with Firefox. No problems!! From freebsd at edvax.de Fri Jun 26 02:30:55 2015 From: freebsd at edvax.de (Polytropon) Date: Fri, 26 Jun 2015 04:30:45 +0200 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> <558BC62F.5090805@sneakertech.com> Message-ID: <20150626043045.7769cafa.freebsd@edvax.de> On Thu, 25 Jun 2015 11:31:53 -0700, Mehmet Erol Sanliturk wrote: > mc ( Midnight Commander ) may be useful in a server with its two panes . This excellent tool (!) can be used both directly on the server, as well as connected _to_ the server. But it does not require GUI - it simply runs in a terminal (regular text mode, virtual terminal on X, through SSH, and so on). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From FreeBSD at ShaneWare.Biz Fri Jun 26 03:58:58 2015 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Fri, 26 Jun 2015 13:28:44 +0930 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558BC62F.5090805@sneakertech.com> References: <558B3F60.7060809@sneakertech.com> <20150625014331.GB51828@neutralgood.org> <558BC62F.5090805@sneakertech.com> Message-ID: <558CCDF4.2080100@ShaneWare.Biz> On 25/06/2015 18:43, Quartz wrote: > >> Remember the X server runs on the box that you >> sit at that has the monitor connected to it, not the remote server. > > Oh that's right, I always forget X can do that. Good tip. > > Either way though, I'm still curious what's out there for programs. PC-BSD has created some gui software that they add to their software install which can also be installed from ports onto any freebsd system. The utilities in sysutils/pcbsd-utils-qt5 include Disk Manager, Warden, Control Panel, Firewall Manager, Life Preserver Also Lumina is a new lightweight desktop, it's filemanager incorporates support for zfs, easy access to snapshots of a file etc. Lumina is available in x11/lumina You can look over the PC-BSD docs to see features and screenshots http://download.pcbsd.org/iso/10.1-RELEASE/amd64/docs/html/pcbsd.html -- FreeBSD - the place to B...Software Developing Shane Ambler From kraduk at gmail.com Fri Jun 26 07:40:31 2015 From: kraduk at gmail.com (krad) Date: Fri, 26 Jun 2015 08:40:28 +0100 Subject: Any utils worth installing a GUI on a server for? In-Reply-To: <558C5F23.2070001@gmail.com> References: <558B3F60.7060809@sneakertech.com> <558B41A3.1050506@gmail.com> <558B45C1.3040101@sneakertech.com> <558B46D4.90505@gmail.com> <20150625065727.e728118a09a939f408ec8526@sohara.org> <558C4756.1030805@gmail.com> <20150625202835.62d37aed@gumby.homeunix.com> <558C5F23.2070001@gmail.com> Message-ID: zfsonlin is a kernel module these days so the speed differences in theory shouldnt be great. However I'm not sure what the reality is these days as the project isnt quite as mature as freebsd's yet On 25 June 2015 at 21:05, jd1008 wrote: > > > On 06/25/2015 01:28 PM, RW via freebsd-questions wrote: > >> On Thu, 25 Jun 2015 12:24:22 -0600 >> jd1008 wrote: >> >> I have not used Sun's ZFS, so was not familiar with it. >>> Found an interesting evaluation of it at >>> http://www.zfsbuild.com/2010/05/26/zfs-raid-levels/ >>> >> FWIW ZFS has been a mainstream FreeBSD feature for some time now. It's >> licence allowed the SUN code to run in the FreeBSD kernel whereas >> Linux had to recreate it, or adapt the original version to run in >> userland. >> > Yes - the 'fuse' land. > I would love to see io performance differences between the > FreeBSD implementation vs the linux implementation. > I gamble that running zfs in the kernel might provide faster i/o > but not sure how much faster. > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From mueller6724 at bellsouth.net Fri Jun 26 09:01:45 2015 From: mueller6724 at bellsouth.net (Thomas Mueller) Date: Fri, 26 Jun 2015 08:58:44 +0000 Subject: getting ports updated on an older FreeBSD (5.1) References: <86oak6p8w9.fsf@bsdstb.Belkin> <833145.91368.bm@smtp118.sbc.mail.ne1.yahoo.com> <558C6939.3070700@bluerosetech.com> Message-ID: <733165.387.bm@smtp120.sbc.mail.ne1.yahoo.com> On 2015-06-24 03:10, Thomas Mueller wrote: > I was thinking about the possibility of building/upgrading the base > FreeBSD from source by steps, such as 5.1 -> final 6-stable -> final > 8-stable -> 10.1 or possibly FreeBSD-current. Mel Pilgrim responded: > The introduction of KSE happened in 5.x and IIRC a related ABI break starting > with 5.4 means the only upgrade path from prior versions is a full reinstall > because you can't cross-run kernel and userland. I guess then, upgrading FreeBSD from source would require building and installing on a new partition, in this case a new, bigger, hard drive. There would be the logistic matter of how and where to switch from MBR to GPT. I don't recognize the acronym KSE, didn't know about that particular ABI break in 5.4. Back then, with FreeBSD <= 5.x, or maybe it was <= 4.x, the boot floppy always hung probing for devices, was never able to boot. I believe my first installation of FreeBSD was 7.x, probably 7.0. I could run Linux (Slackware), but FreeBSD could only run in safe mode, possibly because of a bug in the hard drive hardware. That hard drive subsequently went all the way bad. Tom From smithi at nimnet.asn.au Fri Jun 26 13:35:39 2015 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri, 26 Jun 2015 23:12:27 +1000 (EST) Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: References: Message-ID: <20150626224716.J14881@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 577, Issue 5, Message: 20 On Thu, 25 Jun 2015 19:01:44 -0600 (MDT) Warren Block wrote: > On Thu, 25 Jun 2015, Quartz wrote: > > >>>>> Let me ask this a different way: did they update to something so new > >>>>> that it only works on very recent OSs? Like should I test with a > >>>>> windows 8 system or something? > >>>> > >>>> No. Firefox 38 on FreeBSD 10-STABLE here, works fine. > >>> > >>> Well, given that 10.0 came out only a year and a half ago, that > >>> doesn't really give me any more info. I'm wondering where the cutoff > >>> is for "too old" in this case, assuming that's even the issue. > >> > >> It is the browser, not the operating system. Unless you have an > >> unpatched openSSL, maybe. > > > > OK, where does curl fit into that then? Presumably all the versions I have > > access to are too old I guess. > > There was a problem curl linking to both the base and ports version of > openssl not too long ago, and consequently breaking other applications. Sorry, been away, just catching up a bit .. This seems likely because Quartz' curl (or the way it's setup) doesn't support TLS 1.1 or 1.2 for https connections, which forums.freebsd.org now requires, to gain higher security rankings and favour from google. There was a long and probably considered off-topic thread during May on freebsd-security@ about it, in which I was silly enough to participate because my (ok, ancient) SeaMonkey can no longer connect to the forums. Skim thread 'Forums.FreeBSD.org - SSL Issue?' for the gory details: http://lists.freebsd.org/pipermail/freebsd-security/2015-May/008350.html cheers, Ian From galtsev at kicp.uchicago.edu Fri Jun 26 14:50:02 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Fri, 26 Jun 2015 09:49:55 -0500 (CDT) Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <558CB730.9030205@gmail.com> References: <558C7C37.6060505@sneakertech.com> <558C82C1.103@sneakertech.com> <558C8BF0.4050905@sneakertech.com> <558C99E8.9000807@hiwaay.net> <558CB730.9030205@gmail.com> Message-ID: <35572.128.135.70.2.1435330195.squirrel@cosmo.uchicago.edu> On Thu, June 25, 2015 9:21 pm, jd1008 wrote: > > > On 06/25/2015 06:15 PM, William A. Mahaffey III wrote: >> On 06/25/15 18:23, Quartz wrote: >>>>> check your OS and browser version, they recently updated SSL. >>>> >>>> It doesn't matter what OS or browser I'm using, this happens on every >>>> machine and even curl. >>> >>> Let me ask this a different way: did they update to something so new >>> that it only works on very recent OSs? Like should I test with a >>> windows 8 system or something? >>> >> Why would freebsd.org mangle its website so it only worked w/ Windoze ? >> > They did not! > I just used Linux to access it with Firefox. > No problems!! > Indeed. I can see it from FreeBSD (Firefox and midori) from macintosh (vivaldi browser). It is interesting how some people mind works: they never assume wrong on their own side... Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From galtsev at kicp.uchicago.edu Fri Jun 26 14:58:49 2015 From: galtsev at kicp.uchicago.edu (Valeri Galtsev) Date: Fri, 26 Jun 2015 09:58:48 -0500 (CDT) Subject: how to fix "CORRUPT" partition table in mirrored drive In-Reply-To: References: Message-ID: <20908.128.135.70.2.1435330728.squirrel@cosmo.uchicago.edu> On Thu, June 25, 2015 7:04 pm, William Dudley wrote: > Warren, > > Again, thanks for the reply. Does the fact that gpart show -l reports > this: > > => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] > > Mean that I'm screwed and must copy all the data to a new drive and > create the mirror anew? > > Can I remove the second drive from the mirror and still have the data on > it > accessible? > the gmirror man page doesn't say what the disks that are removed from the > mirror "look like", > i.e. are they in some wierd format or can they be read like a normal disk. > > Thanks, > Bill Dudley > > > This email is free of malware because I run Linux. I wouldn't say that this statement is strictly speaking correct. Valeri > > On Thu, Jun 25, 2015 at 7:57 PM, Warren Block wrote: > >> On Thu, 25 Jun 2015, William Dudley wrote: >> >> I have a mirrored drive: >>> >>> gpart show -l >>> => 63 78156225 ad0 MBR (37G) >>> 63 78156162 1 (null) [active] (37G) >>> 78156225 63 - free - (31k) >>> >>> => 0 78156162 ad0s1 BSD (37G) >>> 0 41943040 1 (null) (20G) >>> 41943040 2097152 2 (null) (1.0G) >>> 44040192 34115970 4 (null) (16G) >>> >>> => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] >>> 63 3907029105 1 (null) [active] (1.8T) >>> >>> => 0 3907029105 mirror/gm0s1 BSD (1.8T) >>> 0 335544320 4 (null) (160G) >>> 335544320 209715200 5 (null) (100G) >>> 545259520 209715200 6 (null) (100G) >>> 754974720 3152054385 7 (null) (1.5T) >>> >>> I tried to fix the corrupt partition table like this: >>> >>> gpart recover mirror/gm0 >>> gpart: recovering 'mirror/gm0' failed: Function not implemented >>> >>> So how do I fix the corrupt partition table? Can I un-mirror the two >>> drives >>> and then do the gpart recover and then re-mirror them? >>> >> >> gpart recover only works with some partitioning schemes. GPT has a >> backup >> copy of the partition table that can be used to recover the primary one. >> MBR and BSD partitioning schemes do not have redundant metadata for >> recover >> to use. >> > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From quartz at sneakertech.com Fri Jun 26 22:59:10 2015 From: quartz at sneakertech.com (Quartz) Date: Fri, 26 Jun 2015 18:59:07 -0400 Subject: Is there something wrong with forums.freebsd.org? In-Reply-To: <20150626224716.J14881@sola.nimnet.asn.au> References: <20150626224716.J14881@sola.nimnet.asn.au> Message-ID: <558DD93B.4030800@sneakertech.com> > This seems likely because Quartz' curl (or the way it's setup) doesn't > support TLS 1.1 or 1.2 for https connections, which forums.freebsd.org > now requires, Thank you! This is the info I was looking for. I think this explains it. Both curls and the Safari I was testing with are a couple years old and look to be versions just before the ones that support the newer TLSs. It never occurred to me that they wouldn't have support given that even 1.2 came out back in '08, but whatever. All the versions of IE I tried and the older FirefoxESR all technically support 1.1/1.2, but it's turned it off by default so you have to manually enable it (wtf?). Thanks again for your help. From bah at bananmonarki.se Sat Jun 27 03:56:09 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Sat, 27 Jun 2015 05:54:34 +0200 Subject: Working and Supported SCSI Controller In-Reply-To: References: Message-ID: <558E1E7A.5000105@bananmonarki.se> On 2012-05-24 01:02, vermaden wrote: > Hi, > > as HARDWARE NOTES are next to useless: > http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241164.html > > What *working* PCI/PCI-X SCSI controller do You guys suggest? > > Requirements: PCI/PCI-X Ultra160 or Ultra320 with one or more 68-pin internal connector > > Thanks in advance for Your suggestions, > vermaden Adaptech 2940 From josh at tcbug.org Sat Jun 27 04:05:49 2015 From: josh at tcbug.org (Josh Paetzel) Date: Fri, 26 Jun 2015 23:05:42 -0500 Subject: Working and Supported SCSI Controller In-Reply-To: <558E1E7A.5000105@bananmonarki.se> References: <558E1E7A.5000105@bananmonarki.se> Message-ID: An adaptec 2940 isn't a U160 controller. The adaptec 19160/29160/39160 are, but I haven't used them since FreeBSD 4.x. No idea if they still work. Thanks, Josh Paetzel > On Jun 26, 2015, at 10:54 PM, Bernt Hansson wrote: > >> On 2012-05-24 01:02, vermaden wrote: >> Hi, >> >> as HARDWARE NOTES are next to useless: >> http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241164.html >> >> What *working* PCI/PCI-X SCSI controller do You guys suggest? >> >> Requirements: PCI/PCI-X Ultra160 or Ultra320 with one or more 68-pin internal connector >> >> Thanks in advance for Your suggestions, >> vermaden > Adaptech 2940 > _______________________________________________ > freebsd-hardware at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe at freebsd.org" From ana5.bestschools at gmail.com Sat Jun 27 06:22:30 2015 From: ana5.bestschools at gmail.com (Ana Berjuega) Date: Thu, 25 Jun 2015 20:54:03 +0000 Subject: Following up on Wyoming Students and Parents Education Resources Message-ID: <56.2B.28447.B6C3E855@sl-mta03-4.smtp.com> Hi there, I was doing some research a few weeks ago and landed on this page: http://www.pl.freebsd.org/gallery/npgallery.html, and had sent you an email about it. I wanted to see if you are the person responsible for maintaining it because I have some questions about its content. If you are not the right contact, please forward me or let me know who I should contact. Hope to hear back from you soon. Thank you, Ana Berjuega ana5.bestschools at gmail.com BestSchools.com 244 5th Ave, Suite K267 New York, NY 10001 EMAIL DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. This email complies with the U.S. CAN-SPAM act of 2003. If you do not wish to receive future e-mails, please reply to this email with "UNSUBSCRIBE" in the subject line. Your email address will be removed from our database within 7-10 business days. From dbn at freebsd.org Sat Jun 27 11:17:02 2015 From: dbn at freebsd.org (David Naylor) Date: Sat, 27 Jun 2015 13:16:53 +0200 Subject: Simplifying lang/pypy(3) Message-ID: <1778458.ppUHDKsiRe@dragon.local> Hi, lang/pypy was originally set up to achieve: * building of multiple pypy instances based on different setting (i.e. with or without jit, sandboxing, etc). The port user could define any permutation she desires. * Install in a directory layout more similar to lang/python (i.e. libraries in lib/, include files in include/). I plan to simplify the port by removing the multi-instance support and using the default directory layout of the port. This will fix issues with virtualenv and reduce the learning curve of using/maintaining the port. To this end does anyone: a) use the multi-instance support? b) depend on the current directory layout? Based on feedback I will adapt my plans to simplify. Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 949 bytes Desc: This is a digitally signed message part. URL: From bah at bananmonarki.se Sat Jun 27 13:26:57 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Sat, 27 Jun 2015 15:26:49 +0200 Subject: Working and Supported SCSI Controller In-Reply-To: References: <558E1E7A.5000105@bananmonarki.se> Message-ID: <558EA499.7080207@bananmonarki.se> On 2015-06-27 06:05, Josh Paetzel wrote: > An adaptec 2940 isn't a U160 controller. > > The adaptec 19160/29160/39160 are, but I haven't used them since FreeBSD 4.x. No idea if they still work. > > Thanks, > > We have 19160 and 2940UW on freebsd 8.X On Jun 26, 2015, at 10:54 PM, Bernt Hansson wrote: >>> On 2012-05-24 01:02, vermaden wrote: >>> Hi, >>> >>> as HARDWARE NOTES are next to useless: >>> http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241164.html >>> >>> What *working* PCI/PCI-X SCSI controller do You guys suggest? >>> >>> Requirements: PCI/PCI-X Ultra160 or Ultra320 with one or more 68-pin internal connector >>> >>> Thanks in advance for Your suggestions, >>> vermaden >> Adaptech 2940 >> _______________________________________________ >> freebsd-hardware at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >> To unsubscribe, send any mail to "freebsd-hardware-unsubscribe at freebsd.org" > > From baho-utot at columbus.rr.com Sat Jun 27 14:02:49 2015 From: baho-utot at columbus.rr.com (Baho Utot) Date: Sat, 27 Jun 2015 10:01:30 -0400 Subject: AMD Radeon 290 Message-ID: <558EACBA.8050908@columbus.rr.com> I am looking to upgrade my graphics card from a Radeon HD6770 to an AMD 290. This work station dual boots FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 and win7. This will be for email, web browsing etc, no 3D rendering required. I have looked at https://wiki.freebsd.org/Graphics and it states that the card is not supported. Is any one currently using an AMD R9 series graphics card? If so can you give my some feedback on upgrading to an AMD R9? What works/doesn't work etc Thanks From vermaden at interia.pl Sat Jun 27 14:30:51 2015 From: vermaden at interia.pl (vermaden) Date: Sat, 27 Jun 2015 16:16:18 +0200 Subject: Working and Supported SCSI Controller In-Reply-To: <558EA499.7080207@bananmonarki.se> References: <558E1E7A.5000105@bananmonarki.se> <558EA499.7080207@bananmonarki.se> Message-ID: <558EB032.1020100@interia.pl> Hi. More then 3 years for a reply ... better late then never tho ;) I do not own that LTO3 tape drive any more ... and I do not even own that motherboard to which I needed that SCSI conreoller ;) Regards, vermaden On 06/27/2015 15:26, Bernt Hansson wrote: > On 2015-06-27 06:05, Josh Paetzel wrote: >> An adaptec 2940 isn't a U160 controller. >> >> The adaptec 19160/29160/39160 are, but I haven't used them since >> FreeBSD 4.x. No idea if they still work. >> >> Thanks, >> >> We have 19160 and 2940UW on freebsd 8.X > > On Jun 26, 2015, at 10:54 PM, Bernt Hansson wrote: >>>> On 2012-05-24 01:02, vermaden wrote: >>>> Hi, >>>> >>>> as HARDWARE NOTES are next to useless: >>>> http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241164.html >>>> >>>> >>>> What *working* PCI/PCI-X SCSI controller do You guys suggest? >>>> >>>> Requirements: PCI/PCI-X Ultra160 or Ultra320 with one or more >>>> 68-pin internal connector >>>> >>>> Thanks in advance for Your suggestions, >>>> vermaden >>> Adaptech 2940 >>> _______________________________________________ >>> freebsd-hardware at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >>> To unsubscribe, send any mail to >>> "freebsd-hardware-unsubscribe at freebsd.org" >> >> > From bah at bananmonarki.se Sat Jun 27 19:08:27 2015 From: bah at bananmonarki.se (Bernt Hansson) Date: Sat, 27 Jun 2015 21:08:10 +0200 Subject: Working and Supported SCSI Controller In-Reply-To: <558EB032.1020100@interia.pl> References: <558E1E7A.5000105@bananmonarki.se> <558EA499.7080207@bananmonarki.se> <558EB032.1020100@interia.pl> Message-ID: <558EF49A.5070901@bananmonarki.se> On 2015-06-27 16:16, vermaden wrote: > Hi. > > More then 3 years for a reply ... better late then never tho ;) > Do not know what future you live in... but nonte less it is 2015 where i live. > I do not own that LTO3 tape drive any more ... and I do not even own > that motherboard to which I needed that SCSI conreoller ;) > > Regards, > vermaden > > > > On 06/27/2015 15:26, Bernt Hansson wrote: >> On 2015-06-27 06:05, Josh Paetzel wrote: >>> An adaptec 2940 isn't a U160 controller. >>> >>> The adaptec 19160/29160/39160 are, but I haven't used them since >>> FreeBSD 4.x. No idea if they still work. >>> >>> Thanks, >>> >>> We have 19160 and 2940UW on freebsd 8.X >> >> On Jun 26, 2015, at 10:54 PM, Bernt Hansson wrote: >>>>> On 2012-05-24 01:02, vermaden wrote: >>>>> Hi, >>>>> >>>>> as HARDWARE NOTES are next to useless: >>>>> http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241164.html >>>>> >>>>> >>>>> What *working* PCI/PCI-X SCSI controller do You guys suggest? >>>>> >>>>> Requirements: PCI/PCI-X Ultra160 or Ultra320 with one or more >>>>> 68-pin internal connector >>>>> >>>>> Thanks in advance for Your suggestions, >>>>> vermaden >>>> Adaptech 2940 >>>> _______________________________________________ >>>> freebsd-hardware at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >>>> To unsubscribe, send any mail to >>>> "freebsd-hardware-unsubscribe at freebsd.org" >>> >>> >> > > From quartz at sneakertech.com Sat Jun 27 23:46:32 2015 From: quartz at sneakertech.com (Quartz) Date: Sat, 27 Jun 2015 19:46:24 -0400 Subject: Working and Supported SCSI Controller In-Reply-To: <558EF49A.5070901@bananmonarki.se> References: <558E1E7A.5000105@bananmonarki.se> <558EA499.7080207@bananmonarki.se> <558EB032.1020100@interia.pl> <558EF49A.5070901@bananmonarki.se> Message-ID: <558F35D0.4040601@sneakertech.com> >> More then 3 years for a reply ... better late then never tho ;) >> > Do not know what future you live in... but nonte less it is 2015 where i > live. FWIW, your own reply quotes that message as: "On 2012-05-24 01:02, vermaden wrote: " From zagazaw2004 at gmail.com Sun Jun 28 02:13:50 2015 From: zagazaw2004 at gmail.com (Yass Amed) Date: Sun, 28 Jun 2015 02:13:48 +0000 Subject: is something wrong with forums.freebsd.org? In-Reply-To: References: Message-ID: Iun 27, 2015 7:00 AM, wrote: > > Send freebsd-questions mailing list submissions to > freebsd-questions at freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > or, via email, send a message with subject or body 'help' to > freebsd-questions-request at freebsd.org > > You can reach the person managing the list at > freebsd-questions-owner at freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." > > > Today's Topics: > > 1. Re: Is there something wrong with forums.freebsd.org? (Ian Smith) > 2. Re: Is there something wrong with forums.freebsd.org? > (Valeri Galtsev) > 3. Re: how to fix "CORRUPT" partition table in mirrored drive > (Valeri Galtsev) > 4. Re: Is there something wrong with forums.freebsd.org? (Quartz) > 5. Re: Working and Supported SCSI Controller (Bernt Hansson) > 6. Re: Working and Supported SCSI Controller (Josh Paetzel) > 7. Following up on Wyoming Students and Parents Education > Resources (Ana Berjuega) > 8. Simplifying lang/pypy(3) (David Naylor) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 26 Jun 2015 23:12:27 +1000 (EST) > From: Ian Smith > To: Warren Block > Cc: Quartz , freebsd-questions at freebsd.org > Subject: Re: Is there something wrong with forums.freebsd.org? > Message-ID: <20150626224716.J14881 at sola.nimnet.asn.au> > Content-Type: TEXT/PLAIN; charset=US-ASCII > > In freebsd-questions Digest, Vol 577, Issue 5, Message: 20 > On Thu, 25 Jun 2015 19:01:44 -0600 (MDT) Warren Block wrote: > > On Thu, 25 Jun 2015, Quartz wrote: > > > > >>>>> Let me ask this a different way: did they update to something so new > > >>>>> that it only works on very recent OSs? Like should I test with a > > >>>>> windows 8 system or something? > > >>>> > > >>>> No. Firefox 38 on FreeBSD 10-STABLE here, works fine. > > >>> > > >>> Well, given that 10.0 came out only a year and a half ago, that > > >>> doesn't really give me any more info. I'm wondering where the cutoff > > >>> is for "too old" in this case, assuming that's even the issue. > > >> > > >> It is the browser, not the operating system. Unless you have an > > >> unpatched openSSL, maybe. > > > > > > OK, where does curl fit into that then? Presumably all the versions I have > > > access to are too old I guess. > > > > There was a problem curl linking to both the base and ports version of > > openssl not too long ago, and consequently breaking other applications. > > Sorry, been away, just catching up a bit .. > > This seems likely because Quartz' curl (or the way it's setup) doesn't > support TLS 1.1 or 1.2 for https connections, which forums.freebsd.org > now requires, to gain higher security rankings and favour from google. > > There was a long and probably considered off-topic thread during May on > freebsd-security@ about it, in which I was silly enough to participate > because my (ok, ancient) SeaMonkey can no longer connect to the forums. > > Skim thread 'Forums.FreeBSD.org - SSL Issue?' for the gory details: > > http://lists.freebsd.org/pipermail/freebsd-security/2015-May/008350.html > > cheers, Ian > > > ------------------------------ > > Message: 2 > Date: Fri, 26 Jun 2015 09:49:55 -0500 (CDT) > From: "Valeri Galtsev" > To: "jd1008" > Cc: freebsd-questions at freebsd.org > Subject: Re: Is there something wrong with forums.freebsd.org? > Message-ID: > <35572.128.135.70.2.1435330195.squirrel at cosmo.uchicago.edu> > Content-Type: text/plain;charset=iso-8859-1 > > > On Thu, June 25, 2015 9:21 pm, jd1008 wrote: > > > > > > On 06/25/2015 06:15 PM, William A. Mahaffey III wrote: > >> On 06/25/15 18:23, Quartz wrote: > >>>>> check your OS and browser version, they recently updated SSL. > >>>> > >>>> It doesn't matter what OS or browser I'm using, this happens on every > >>>> machine and even curl. > >>> > >>> Let me ask this a different way: did they update to something so new > >>> that it only works on very recent OSs? Like should I test with a > >>> windows 8 system or something? > >>> > >> Why would freebsd.org mangle its website so it only worked w/ Windoze ? > >> > > They did not! > > I just used Linux to access it with Firefox. > > No problems!! > > > Indeed. I can see it from FreeBSD (Firefox and midori) from macintosh > (vivaldi browser). It is interesting how some people mind works: they > never assume wrong on their own side... > > Valeri > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > > > ------------------------------ > I tried accessing the forums from Linux-based distro, BSD(Freebsd and OpenBSD), Windows, and Android successfully using Firefox. The only time I cannot access the forums is when using Tor browser. Hope that helps. From chrisstankevitz at gmail.com Sun Jun 28 04:34:36 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Sat, 27 Jun 2015 21:34:33 -0700 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT Message-ID: Hi, I have 11 drives in a zpools. The zpool is using the drives. i.e. I used "zpool create da1 da2 da3 ... daN". The zpools are running well. In a former life, each of these these drives held two gpart partitions. Apparently I did not "gpart destroy" these drives before creating a zpool out of them. Now when my computer boots, 1. the zpool comes up and is healthy 2. ls /dev/daX* does not show any of the "old" partitions. 3. dmesg reports "the primary GPT table is corrupt or invalid" and "using the secondary instead -- recovery strongly advised." Q: Am I in danger of GPT wrestling control of the drive away from ZFS Q: How can I remove the secondary GPT table from each of the drives that are participating in the zpool? I suppose I could offline and resilver each of them. I'm afraid to dd the secondary GPT header at the last 512 bytes of the drive. Perhaps there is a way I can ask ZFS to do that for me? Thank you, Chris From wblock at wonkity.com Sun Jun 28 06:26:06 2015 From: wblock at wonkity.com (Warren Block) Date: Sun, 28 Jun 2015 00:26:03 -0600 (MDT) Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: Message-ID: On Sat, 27 Jun 2015, Chris Stankevitz wrote: > I have 11 drives in a zpools. The zpool is using the drives. i.e. I > used "zpool create da1 da2 da3 ... daN". The zpools are running well. > > In a former life, each of these these drives held two gpart > partitions. Apparently I did not "gpart destroy" these drives before > creating a zpool out of them. > > Now when my computer boots, > > 1. the zpool comes up and is healthy > > 2. ls /dev/daX* does not show any of the "old" partitions. > > 3. dmesg reports "the primary GPT table is corrupt or invalid" and > "using the secondary instead -- recovery strongly advised." > > Q: Am I in danger of GPT wrestling control of the drive away from ZFS No, but I would want to fix it so it doesn't surprise me at some inopportune later date. > Q: How can I remove the secondary GPT table from each of the drives > that are participating in the zpool? I suppose I could offline and > resilver each of them. I'm afraid to dd the secondary GPT header at > the last 512 bytes of the drive. Erasing just the last block would probably be enough. Still, the only reason to be afraid of it is if you do not have a full backup. And if you don't have a full backup, that is the first thing to do. > Perhaps there is a way I can ask ZFS > to do that for me? Not that I know of. If the backup GPT were in an area that ZFS writes, it would have been overwritten when the ZFS label was installed. Here is the forum thread where I show the math about erasing the backup GPT: https://forums.freebsd.org/threads/gpt-table-corrupt.52102/#post-292341 From rbyrnes at gmail.com Sun Jun 28 06:31:14 2015 From: rbyrnes at gmail.com (Rob Byrnes) Date: Sun, 28 Jun 2015 16:31:13 +1000 Subject: AMD Radeon 290 In-Reply-To: <558EACBA.8050908@columbus.rr.com> References: <558EACBA.8050908@columbus.rr.com> Message-ID: If you aren't doing 3D anything then it s probably not worth spending money on a new card. Just my 2c Rob On 28/06/2015 12:03 am, "Baho Utot" wrote: > I am looking to upgrade my graphics card from a Radeon HD6770 to an AMD > 290. This work station dual boots > FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 > root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > and win7. This will be for email, web browsing etc, no 3D rendering > required. > > I have looked at https://wiki.freebsd.org/Graphics and it states that the > card is not supported. > > Is any one currently using an AMD R9 series graphics card? > > If so can you give my some feedback on upgrading to an AMD R9? > > What works/doesn't work etc > > Thanks > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From quartz at sneakertech.com Sun Jun 28 06:52:41 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 28 Jun 2015 02:52:38 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: Message-ID: <558F99B6.2080205@sneakertech.com> > 3. dmesg reports "the primary GPT table is corrupt or invalid" and > "using the secondary instead -- recovery strongly advised." > Q: How can I remove the secondary GPT table from each of the drives > that are participating in the zpool? First off, you should double check what's going on with your layout. You didn't mention what system you're running or how this array was created. In several cases even if you meant to use the whole disk you can accidentally or unknowingly end up making gpt headers anyway, either for labels, compatibility, or because you did something that ended up requiring partitions. Also, a lot of zfs-based front ends (eg; freenas) always create zfs-on-partitions, so if this array was ported from another system it's possible it's supposed to have a legit gpt layout. Additionally, some motherboards and expansion cards that offer raid services can cause problems that can screw with gpt. I have a motherboard where I have to set the sata ports as old style ide compatible, because turning on ahci mode automatically reserves/locks off a chunk of the end of the disk for raid metadata (even if I have the raid options disabled) causing dmesg to complain about corrupt gpt headers. So double check if you've changed anything related to that. Either way, before you go any further, explain the steps you did to create this pool and dump out everything that the gpt commands tell you about the disks. It would especially help to get a dump of either/both headers to see what's going on there. >I suppose I could offline and > resilver each of them. Simply resilvering is not guaranteed to fix the problem, depending on what's going on. If you're feeling adventurous you can always offline a drive and 'gpart destroy' it, then see what zfs says if you try to bring it back or reboot. > I'm afraid to dd the secondary GPT header at > the last 512 bytes of the drive. Perhaps there is a way I can ask ZFS > to do that for me? Zfs doesn't mess with gpt directly like that, so no. If you don't want to 'gpart destroy' it for some reason it's not hard to nuke it yourself though with dd; you just need the output from 'diskinfo' and a calculator. From koobs at FreeBSD.org Sun Jun 28 08:07:21 2015 From: koobs at FreeBSD.org (Kubilay Kocak) Date: Sun, 28 Jun 2015 18:07:12 +1000 Subject: Simplifying lang/pypy(3) In-Reply-To: <1778458.ppUHDKsiRe@dragon.local> References: <1778458.ppUHDKsiRe@dragon.local> Message-ID: <558FAB30.30802@FreeBSD.org> On 27/06/2015 9:16 PM, David Naylor wrote: > Hi, > > lang/pypy was originally set up to achieve: > > * building of multiple pypy instances based on different setting (i.e. with > or without jit, sandboxing, etc). The port user could define any permutation > she desires. > > * Install in a directory layout more similar to lang/python (i.e. libraries > in lib/, include files in include/). > > I plan to simplify the port by removing the multi-instance support and using > the default directory layout of the port. This will fix issues with > virtualenv and reduce the learning curve of using/maintaining the port. > > To this end does anyone: > > a) use the multi-instance support? > > b) depend on the current directory layout? > > Based on feedback I will adapt my plans to simplify. > > Regards > Thanks for opening up the question to the list David My vote (without my python hat on) would be for lang/pypy being as close to the upstream experience (freebsd improvements not withstanding) as the possibly by default as that would be my expectation as a user knowing nothing else. >From there work on additions or extensions, possibly as extra (slave) ports or something similar ./koobs From quartz at sneakertech.com Sun Jun 28 08:59:10 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 28 Jun 2015 04:59:07 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: <558F99B6.2080205@sneakertech.com> References: <558F99B6.2080205@sneakertech.com> Message-ID: <558FB75B.8020305@sneakertech.com> >Also, a lot of zfs-based front ends (eg; freenas) > always create zfs-on-partitions, so if this array was ported from > another system it's possible it's supposed to have a legit gpt layout. As an aside, I believe the linux implementation of zfs also requires partitions (or at least it used to). From baho-utot at columbus.rr.com Sun Jun 28 10:15:19 2015 From: baho-utot at columbus.rr.com (Baho Utot) Date: Sun, 28 Jun 2015 06:15:05 -0400 Subject: AMD Radeon 290 In-Reply-To: References: <558EACBA.8050908@columbus.rr.com> Message-ID: <558FC929.2060906@columbus.rr.com> On 06/28/15 02:31, Rob Byrnes wrote: > > If you aren't doing 3D anything then it s probably not worth spending > money on a new card. > > Just my 2c > Rob > I want to upgrade the card to run with win7 and I need it to work also with Freebsd > On 28/06/2015 12:03 am, "Baho Utot" > wrote: > > I am looking to upgrade my graphics card from a Radeon HD6770 to > an AMD 290. This work station dual boots > FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 > root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > and win7. This will be for email, web browsing etc, no 3D > rendering required. > > I have looked at https://wiki.freebsd.org/Graphics and it states > that the card is not supported. > > Is any one currently using an AMD R9 series graphics card? > > If so can you give my some feedback on upgrading to an AMD R9? > > What works/doesn't work etc > > Thanks > > _______________________________________________ > freebsd-questions at freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org > " > From yudi.tux at gmail.com Sun Jun 28 12:26:01 2015 From: yudi.tux at gmail.com (Yudi V) Date: Sun, 28 Jun 2015 22:25:57 +1000 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout Message-ID: Hi all, My system is a HP MicroServer N40L - more info at > n40l.wikia.com/wiki/HP_MicroServer_N40L_Wiki It has 4 internal HDD bays and an extra internal SATA port and an external eSATA port both of which run at 1.5Gbps SATA speed where as the internal 4 bays run at 3Gbps speed. There are 4 HDD in this server and only the two that are connected to the 1.5Gbps SATA ports throw the below errors. This is present in v9.3 and v10.1 but not in v11 (generally scrubbing throws up a lot of these errors but not in v11). I want to use this as a file server so I dont want to use v11 until it's production ready. The system hangs every few mins and then the following errors get logged. ==================================== ERROR from /var/log/messages ================================= Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): READ_DMA. ACB: c8 00 88 00 41 44 00 00 00 00 01 00 Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): CAM status: Command timeout Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): Retrying command Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 0d 30 c0 45 00 00 00 00 01 00 Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command timeout Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): Retrying command Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 51 30 70 45 00 00 00 00 01 00 Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command timeout Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): Retrying command ============================================== I tried the suggestion from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30 added hint.ahci.0.msi="1" to /boot/loader.conf but did not fix the issue I even tried rebuilding the kernel but looks like it did not fix the issue. Well, this was my first time building a custom kernel, so I am not sure I got is right. the steps I followed were: I used the LINT config instead of creating my own, # svn checkout svn-mirror/base/head /usr/src # cd /usr/src/sys/amd64/conf && make LINT # cd /usr/src # make buildkernel KERNCONF=LINT # make installkernel KERNCONF=LINT did I get the process right? As this issue disappeared in v11, I am guessing it should be possible to fix it in v10 as well. Any suggestions/pointers on how to fix this bug would be greatly appreciated. Thank you. -- Kind regards, Yudi From freebsd at edvax.de Sun Jun 28 12:40:32 2015 From: freebsd at edvax.de (Polytropon) Date: Sun, 28 Jun 2015 14:40:20 +0200 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: References: Message-ID: <20150628144020.e72e3f79.freebsd@edvax.de> On Sun, 28 Jun 2015 22:25:57 +1000, Yudi V wrote: > Hi all, > > My system is a HP MicroServer N40L - more info at > > n40l.wikia.com/wiki/HP_MicroServer_N40L_Wiki > > It has 4 internal HDD bays and an extra internal SATA port and an external > eSATA port both of which run at 1.5Gbps SATA speed where as the internal 4 > bays run at 3Gbps speed. > > There are 4 HDD in this server and only the two that are connected to the > 1.5Gbps SATA ports throw the below errors. This is present in v9.3 and > v10.1 but not in v11 (generally scrubbing throws up a lot of these errors > but not in v11). I want to use this as a file server so I dont want to use > v11 until it's production ready. > > > The system hangs every few mins and then the following errors get logged. > > ==================================== > ERROR from /var/log/messages > ================================= > > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): READ_DMA. ACB: c8 00 88 > 00 41 44 00 00 00 00 01 00 > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): CAM status: Command > timeout > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): Retrying command > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 0d > 30 c0 45 00 00 00 00 01 00 > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command > timeout > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): Retrying command > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 51 > 30 70 45 00 00 00 00 01 00 > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command > timeout > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): Retrying command Have you already verified that there are no hardware errors (bad cabling of the cages)? > ============================================== > I tried the suggestion from > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30 > > added hint.ahci.0.msi="1" to /boot/loader.conf but did not fix the issue This is only effective after a reboot. Have you done that? Have you verified that you applied the setting to the correct ahci device? Check "dmesg | grep ahci" to see if there are more than one controller in the system. > I even tried rebuilding the kernel but looks like it did not fix the issue. > Well, this was my first time building a custom kernel, so I am not sure I > got is right. > > the steps I followed were: > > I used the LINT config instead of creating my own, > > # svn checkout svn-mirror/base/head /usr/src > # cd /usr/src/sys/amd64/conf && make LINT > # cd /usr/src > # make buildkernel KERNCONF=LINT > # make installkernel KERNCONF=LINT > > did I get the process right? Check the documentation here: https://www.freebsd.org/doc/handbook/kernelconfig.html A short overview is also present in the comment header of the top level Makefile (/usr/src/Makefile); concentrate on the steps that involve the kernel only. > As this issue disappeared in v11, I am guessing it should be possible to > fix it in v10 as well. > Any suggestions/pointers on how to fix this bug would be greatly > appreciated. Building a custom kernel usually involves starting from a copy of GENERIC (the default kernel), or including it and making changes. However, just building and installing a GENERIC kernel of the non-v11 version probably won't help. The LINT kernel, on the other hand, contains all available options and is being used mostly as a reference of how to include things for a custom kernel. In order to build a custom kernel, you need to know _which difference_ it should implement compared to the GENERIC kernel. "Just building one", as I mentioned, probably will not be of great help. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wam at hiwaay.net Sun Jun 28 13:16:54 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sun, 28 Jun 2015 08:23:00 -0453 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: References: Message-ID: <558FF3BD.6040102@hiwaay.net> On 06/28/15 07:32, Yudi V wrote: > Hi all, > > My system is a HP MicroServer N40L - more info at > > n40l.wikia.com/wiki/HP_MicroServer_N40L_Wiki > > It has 4 internal HDD bays and an extra internal SATA port and an external > eSATA port both of which run at 1.5Gbps SATA speed where as the internal 4 > bays run at 3Gbps speed. > > There are 4 HDD in this server and only the two that are connected to the > 1.5Gbps SATA ports throw the below errors. This is present in v9.3 and > v10.1 but not in v11 (generally scrubbing throws up a lot of these errors > but not in v11). I want to use this as a file server so I dont want to use > v11 until it's production ready. > Sounds like a clue :-). Looks like your external ports are SATA1 & the internal ones are SATA2. I have heard people on other lists suggest *not* mixing different drive speeds (SATA1/2/3) in a RAID/LVM/whatever. If you are doing that, that might be a problem. If the 4 drives are supposed to be 'always there', I would put all 4 internally & use the external ports for backup drives & the like. $0.02, no more, no less .... > The system hangs every few mins and then the following errors get logged. > > ==================================== > ERROR from /var/log/messages > ================================= > > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): READ_DMA. ACB: c8 00 88 > 00 41 44 00 00 00 00 01 00 > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): CAM status: Command > timeout > Jun 28 21:22:47 10p1test kernel: (ada3:ata0:0:1:0): Retrying command > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 0d > 30 c0 45 00 00 00 00 01 00 > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command > timeout > Jun 28 21:23:21 10p1test kernel: (ada2:ata0:0:0:0): Retrying command > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): READ_DMA. ACB: c8 00 51 > 30 70 45 00 00 00 00 01 00 > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): CAM status: Command > timeout > Jun 28 21:40:33 10p1test kernel: (ada2:ata0:0:0:0): Retrying command > > ============================================== > I tried the suggestion from > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30 > > added hint.ahci.0.msi="1" to /boot/loader.conf but did not fix the issue > > I even tried rebuilding the kernel but looks like it did not fix the issue. > Well, this was my first time building a custom kernel, so I am not sure I > got is right. > > the steps I followed were: > > I used the LINT config instead of creating my own, > > # svn checkout svn-mirror/base/head /usr/src > # cd /usr/src/sys/amd64/conf && make LINT > # cd /usr/src > # make buildkernel KERNCONF=LINT > # make installkernel KERNCONF=LINT > > did I get the process right? > > As this issue disappeared in v11, I am guessing it should be possible to > fix it in v10 as well. > Any suggestions/pointers on how to fix this bug would be greatly > appreciated. > > > Thank you. > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From yudi.tux at gmail.com Sun Jun 28 14:05:33 2015 From: yudi.tux at gmail.com (Yudi V) Date: Mon, 29 Jun 2015 00:05:31 +1000 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: <20150628144020.e72e3f79.freebsd@edvax.de> References: <20150628144020.e72e3f79.freebsd@edvax.de> Message-ID: > Have you already verified that there are no hardware errors > (bad cabling of the cages) Given that v11 works without any errors, I assumed it has to be a software bug. > > > ============================================== > > I tried the suggestion from > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30 > > > > added hint.ahci.0.msi="1" to /boot/loader.conf but did not fix the issue > > This is only effective after a reboot. Have you done that? > Have you verified that you applied the setting to the correct > ahci device? Check "dmesg | grep ahci" to see if there are > more than one controller in the system. > > That's a good suggestion, based on the below output of "dmesg | grep ada" I added "hint.atapci.0.msi="0" (also 1) but did not resolve the issue. ============================ random: selecting highest priority adaptor random: selecting highest priority adaptor ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 3.x device ada0: Serial Number MK0301YHKT8A2A ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 ada1: ATA8-ACS SATA 3.x device ada1: Serial Number MK0301YHKV1JWD ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad8 ada2 at ata0 bus 0 scbus4 target 0 lun 0 ada2: ATA-7 SATA 1.x device ada2: Serial Number S0ZAJD0P700140 ada2: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) ada2: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad0 ada3 at ata0 bus 0 scbus4 target 1 lun 0 ada3: ATA-7 SATA 1.x device ada3: Serial Number S0ZAJD0P700102 ada3: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) ada3: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada3: Previously was known as ad1 =============================== > > > In order to build a custom kernel, you need to know _which > difference_ it should implement compared to the GENERIC > kernel. "Just building one", as I mentioned, probably will > not be of great help. > I thought downloading the latest source files with the patch should be enough to include the patch, I am guessing that was incorrect thinking. so how to make sure I include the patch? I will reread the docs and try rebuilding the kernel again. Thanks for the detailed response. Yudi From yudi.tux at gmail.com Sun Jun 28 14:08:01 2015 From: yudi.tux at gmail.com (Yudi V) Date: Mon, 29 Jun 2015 00:07:59 +1000 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: <558FF3BD.6040102@hiwaay.net> References: <558FF3BD.6040102@hiwaay.net> Message-ID: Sounds like a clue :-). Looks like your external ports are SATA1 & the internal ones are SATA2. I have heard people on other lists suggest *not* mixing different drive speeds (SATA1/2/3) in a RAID/LVM/whatever. If you are doing that, that might be a problem. If the 4 drives are supposed to be 'always there', I would put all 4 internally & use the external ports for backup drives & the like. $0.02, no more, no less .... I did not mix the drives/ports, the internal 4 bays are for data drives and the two sata1 ports are for the OS drives (2-way mirror). From freebsd at edvax.de Sun Jun 28 14:23:51 2015 From: freebsd at edvax.de (Polytropon) Date: Sun, 28 Jun 2015 16:23:41 +0200 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: References: <20150628144020.e72e3f79.freebsd@edvax.de> Message-ID: <20150628162341.13473f1b.freebsd@edvax.de> On Mon, 29 Jun 2015 00:05:31 +1000, Yudi V wrote: > > Have you already verified that there are no hardware errors > > (bad cabling of the cages) > > > Given that v11 works without any errors, I assumed it has to be a software > bug. I just mentioned it because SATA sometimes shows the "funniest" errors due to a minimally misaligned plug. :-) > > > ============================================== > > > I tried the suggestion from > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195349#c30 > > > > > > added hint.ahci.0.msi="1" to /boot/loader.conf but did not fix the issue > > > > This is only effective after a reboot. Have you done that? > > Have you verified that you applied the setting to the correct > > ahci device? Check "dmesg | grep ahci" to see if there are > > more than one controller in the system. > > > That's a good suggestion, based on the below output of "dmesg | grep ada" > I added "hint.atapci.0.msi="0" (also 1) but did not resolve the issue. The output of dmesg indicates that the drives are of different speed capabilities (2 x 300MB/s, 2 x 150MB/s). Are those the four ones that occupy the 4 cages (and are probably connected to the same controller)? If you check "dmesg | grep ahci" you can see which controllers are available. Using "camcontrol devlist" you can examine how the drives are connected to the available buses. > > In order to build a custom kernel, you need to know _which > > difference_ it should implement compared to the GENERIC > > kernel. "Just building one", as I mentioned, probably will > > not be of great help. > > > > I thought downloading the latest source files with the patch should be > enough to include the patch, I am guessing that was incorrect thinking. If you download the latest sources, you're trying to install a v11 kernel on a v10 system (which might or might not work). The patch, as far as I understand, applies to v11 (and might or might not work with v10). Kernel and world need to be in sync to work properly. > so how to make sure I include the patch? Download it and apply it using the "patch" command, for example "patch < /tmp/the-patch-file". > I will reread the docs and try rebuilding the kernel again. If you have confirmed that v11 works for you, why not use the current snapshot? It already seems quite stable... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From leventelist at gmail.com Sun Jun 28 14:24:01 2015 From: leventelist at gmail.com (Lev) Date: Sun, 28 Jun 2015 16:23:47 +0200 Subject: security patch vs. binary upgrade References: <20150621124345.1a09b8f6@jive> Message-ID: <20150628162347.354c348a@jive> Okay, another question on this topic. Take the situation that I upgrade my base system for the next major release. What is going to happen with all the other ports? Must I reinstall literally everything? This means I must recompile all the source ports, and reinstall all the binary packages? Is there any tool for this? Btw... how can I update the source port tree? Thanks, -- 73 de HA5OGL Op.: Levente From alexl at mellanox.com Sun Jun 28 13:36:27 2015 From: alexl at mellanox.com (Alex Liptsin) Date: Sun, 28 Jun 2015 13:36:17 +0000 Subject: Is it possible to set VLAN-QOS/Priority? Message-ID: Hi. Is it possible to configure VLAN priority on FreeBSD10-STABLE or FreeBSD11-CURRENT? Thanks. Alex Liptsin From wam at hiwaay.net Sun Jun 28 14:31:57 2015 From: wam at hiwaay.net (William A. Mahaffey III) Date: Sun, 28 Jun 2015 09:38:09 -0453 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: <20150628162341.13473f1b.freebsd@edvax.de> References: <20150628144020.e72e3f79.freebsd@edvax.de> <20150628162341.13473f1b.freebsd@edvax.de> Message-ID: <5590055A.7090701@hiwaay.net> On 06/28/15 09:29, Polytropon wrote: > On Mon, 29 Jun 2015 00:05:31 +1000, Yudi V wrote: >>> Have you already verified that there are no hardware errors >>> (bad cabling of the cages) >> >> Given that v11 works without any errors, I assumed it has to be a software >> bug. > I just mentioned it because SATA sometimes shows the > "funniest" errors due to a minimally misaligned plug. :-) *Especially* eSATA, & he mentioned he has 1 SATA1 eSATA drive & 1 SATA1 internal SATA drive mirrored in his other reply .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From freebsd at edvax.de Sun Jun 28 14:39:44 2015 From: freebsd at edvax.de (Polytropon) Date: Sun, 28 Jun 2015 16:39:41 +0200 Subject: security patch vs. binary upgrade In-Reply-To: <20150628162347.354c348a@jive> References: <20150621124345.1a09b8f6@jive> <20150628162347.354c348a@jive> Message-ID: <20150628163941.dbd85ae4.freebsd@edvax.de> On Sun, 28 Jun 2015 16:23:47 +0200, Lev wrote: > Take the situation that I upgrade my base system for the next major release. > What is going to happen with all the other ports? Must I reinstall literally > everything? This means I must recompile all the source ports, and reinstall > all the binary packages? No. Basically you can install the backwards compatibility port(s), for example compat9x-amd64 or compat8x-i386), depending on what version you come from. In this case, installed ports can be kept using. But pay attention: Adding new software to this construct may cause major problems (library mismatches are the typical ones). It's recommended to reinstall your ports when you change the FreeBSD major version (8 -> 9, 9 -> 10, 10 -> 11). You can do this with pkg if you want to use the precompiled binary packages, or the classic ports collection (with tools like portmaster or simple "make install"). If you're going to combine both methods, have a look at Poudriere. https://www.freebsd.org/doc/handbook/ports-poudriere.html > Is there any tool for this? Yes, portmaster can do this. See "man portmaster" and find an example for exactly this case in the EXAMPLES section. Some admins suggest making a list of your "main ports" and then use that list for reinstallation, instead of taking the risk of installing something (as a dependency) which is no longer needed just because it's on that list. Your "main ports" list should contain the software you're actually intending to use ("top level"), as the system will find out any needed (!) dependency on its own and install it. If you want to perform this task cleanly, there's also the suggestion to remove /usr/local entirely (after having copied any needed configuration of course!) and re-instantiate it using mtree, and removing the package database, then finally perform the reinstallation. However I don't know if pkg (in comparison to old pkg_* tools) likes that approach. :-) > Btw... how can I update the source port tree? With freebsd-update (make sure "Component src" is listed in /etc/freebsd-updarte.conf) or via SVN. https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html You can also use SVN for source checkout: https://www.freebsd.org/doc/handbook/svn.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From yudi.tux at gmail.com Sun Jun 28 14:46:06 2015 From: yudi.tux at gmail.com (Yudi V) Date: Mon, 29 Jun 2015 00:46:03 +1000 Subject: Help fixing a bug; HP MicroServer N40L; CAM status: Command timeout In-Reply-To: <20150628162341.13473f1b.freebsd@edvax.de> References: <20150628144020.e72e3f79.freebsd@edvax.de> <20150628162341.13473f1b.freebsd@edvax.de> Message-ID: > The output of dmesg indicates that the drives are of different > speed capabilities (2 x 300MB/s, 2 x 150MB/s). Are those the > four ones that occupy the 4 cages (and are probably connected > to the same controller)? > 4-bay cage has the 2 Hitachi drives (ada1 and ada0 holds just data in a 2-way mirror on a separate pool) that are on the 3Gbps link and once I sort out this issue I am going to add two more drives to this pool. and the Samsung drives (ada2 and ada3 are on the internal sata port and the eSata link @ 1.5Gbps link in IDE mode) have the OS (again 2-way mirror on a separate pool) > > If you check "dmesg | grep ahci" you can see which controllers > are available. Using "camcontrol devlist" you can examine how > the drives are connected to the available buses. > > output of "dmesg | grep ahci" > ============================= > ahci0: port > 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem > 0xfe6ffc00-0xfe6fffff irq 19 at device 17.0 on pci0 > ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported > ahcich0: at channel 0 on ahci0 > ahcich1: at channel 1 on ahci0 > ahcich2: at channel 2 on ahci0 > ahcich3: at channel 3 on ahci0 > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 > ====================================== output of "camcontrol devlist" =================================== at scbus0 target 0 lun 0 (ada0,pass0) at scbus2 target 0 lun 0 (ada1,pass1) at scbus4 target 0 lun 0 (ada2,pass2) at scbus4 target 1 lun 0 (ada3,pass3) ====================================================== > > > > so how to make sure I include the patch? > > Download it and apply it using the "patch" command, for > example "patch < /tmp/the-patch-file". > I will try this and post back later. > > > > I will reread the docs and try rebuilding the kernel again. > > If you have confirmed that v11 works for you, why not use the > current snapshot? It already seems quite stable... > confirmed v11 does not have this issue, I installed it on the same system in a different dataset and it works fine but I am not brave enough to run a developmental version on a file server. I am struggling to fix a single bug and imagine the grief I will have to face if I encounter an issue with v11. -- Kind regards, Yudi From matthew at FreeBSD.org Sun Jun 28 15:45:49 2015 From: matthew at FreeBSD.org (Matthew Seaman) Date: Sun, 28 Jun 2015 16:45:31 +0100 Subject: security patch vs. binary upgrade In-Reply-To: <20150628163941.dbd85ae4.freebsd@edvax.de> References: <20150621124345.1a09b8f6@jive> <20150628162347.354c348a@jive> <20150628163941.dbd85ae4.freebsd@edvax.de> Message-ID: <5590169B.2070805@FreeBSD.org> On 28/06/2015 15:39, Polytropon wrote: > there's also the suggestion > to remove /usr/local entirely (after having copied any needed > configuration of course!) and re-instantiate it using mtree, > and removing the package database, then finally perform the > reinstallation. However I don't know if pkg (in comparison > to old pkg_* tools) likes that approach. :-) Works fine with pkg(8) so long as you tell pkg that all the ports have been deleted when you nuke /usr/local. Which boils down to either: a) use pkg(8) to delete everything: pkg delete -a (which will actually delete everything except pkg(8) itself. You may need to 'pkg unlock' stuff beforehand though.) Do this before nuking /usr/local. b) move aside your old package database, and start again with a fresh one. You can do this before or after nuking /usr/local: cd /var/db/pkg mv local.sqlite local.sqlite.old Then after cleaning out /usr/local: pkg bootstrap -f and proceed with installing whatever ports you want. Oh, and make sure you keep a backup of /usr/local/etc somewhere, as you'll inevitably want to reinstate some of the config files from there. Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: From jrisom at gmail.com Sun Jun 28 20:33:29 2015 From: jrisom at gmail.com (Joshua Isom) Date: Sun, 28 Jun 2015 15:33:14 -0500 Subject: Dual booting plus Hyper-V Message-ID: <55905A0A.1070600@gmail.com> After many years, I'm thinking of turning my beastie into a gaming box plus home server. It's overpowered for my current use. I'm not sure wine's up to the task for hassle free gaming. I think the easiest thing would be running Windows on it's own hard drive with FreeBSD running in Hyper-V. I'd get a dedicated windows disk as well as the BSD disks. I'd like to dual boot(probably bios for simplicity), but have BSD work seamlessly between booting directly and working inside hyper-v with the integration tools. The system is all ZFS on GPT at the moment. Is this practical or is are there other alternatives to consider? From naddy at mips.inka.de Sun Jun 28 21:10:09 2015 From: naddy at mips.inka.de (Christian Weisgerber) Date: Sun, 28 Jun 2015 20:36:58 +0000 (UTC) Subject: Sendmail: SMTP auth and smart host? Message-ID: I'm trying to add a very standard piece of configuration to my sendmail setup: Send all mail to a smart host and use SMTP client authentication for talking to the smart host. There are many examples, howtos, tutorials, etc. about this all over the net, e.g. https://www.dnsexit.com/support/mailrelay/sendmail.html Define the smart host, set the authentication information in the access database, and sendmail will automagically use it for SMTP AUTH. Alas, the magic doesn't happen: ------------------------------------------------------------------------ naddy at unix-ag.uni-kl.de... Connecting to [127.0.0.1] via relay... 220 lorvorc.mips.inka.de ESMTP Sendmail 8.14.9/8.14.9; Sun, 28 Jun 2015 22:01:07 +0200 (CEST) >>> EHLO lorvorc.mips.inka.de 250-lorvorc.mips.inka.de Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> VERB 250 2.0.0 Verbose mode >>> MAIL From: SIZE=27 250 2.1.0 ... Sender ok >>> RCPT To: >>> DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 050 ... Connecting to mail.inka.de. via relay... 050 220 mail.inka.de ESMTP Exim - mail ready at Sun, 28 Jun 2015 22:01:07 +0200 050 >>> EHLO lorvorc.mips.inka.de 050 250-mail.inka.de Hello dslb-188-104-157-230.188.104.pools.vodafone-ip.de [188.104.157.230] 050 250-SIZE 67108864 050 250-8BITMIME 050 250-PIPELINING 050 250-STARTTLS 050 250 HELP 050 >>> STARTTLS 050 220 TLS go ahead 050 >>> EHLO lorvorc.mips.inka.de 050 250-mail.inka.de Hello dslb-188-104-157-230.188.104.pools.vodafone-ip.de [188.104.157.230] 050 250-SIZE 67108864 050 250-8BITMIME 050 250-PIPELINING 050 250-AUTH PLAIN LOGIN 050 250 HELP 050 >>> MAIL From: SIZE=382 050 250 OK 050 >>> RCPT To: 050 >>> DATA 050 550 relay not permitted 050 503-All RCPT commands were rejected with this error: 050 503-relay not permitted 050 503 Valid RCPT command must precede DATA 050 >>> RSET 050 250 Reset OK 050 ... Connecting to local... 050 ... Sent 250 2.0.0 t5SK17H8027901 Message accepted for delivery naddy at unix-ag.uni-kl.de... Sent (t5SK17H8027901 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 lorvorc.mips.inka.de closing connection ------------------------------------------------------------------------ As the -v output shows, sendmail simply never attempts to use client authentication. _Something_ must be wrong or missing, but I don't see it. sendmail.mc: ------------------------------------------------------------------------ OSTYPE(freebsd6) MASQUERADE_AS(`mips.inka.de') FEATURE(accept_unresolvable_domains) FEATURE(access_db) FEATURE(allmasquerade) FEATURE(masquerade_envelope) FEATURE(local_procmail) FEATURE(use_cw_file) define(`ALIAS_FILE', `/etc/mail/aliases,-o /etc/mail/aliases.newsgate') define(`LUSER_RELAY', `local:dev-null') define(`SMART_HOST', `[mail.inka.de]') define(`UUCP_MAILER_MAX', 0) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6') MAILER(local) MAILER(smtp) MAILER(../../../../local/share/sendmail/bsmtp) MAILER(uucp) ------------------------------------------------------------------------ access database: ------------------------------------------------------------------------ AuthInfo:mail.inka.de "U:xxxx" "I:xxxx" "P:yyyy" "M:PLAIN" ------------------------------------------------------------------------ (Meanwhile I'm sending this by UUCP... because it works.) -- Christian "naddy" Weisgerber naddy at mips.inka.de From chrisstankevitz at gmail.com Sun Jun 28 21:12:11 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Sun, 28 Jun 2015 14:12:08 -0700 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: <558F99B6.2080205@sneakertech.com> References: <558F99B6.2080205@sneakertech.com> Message-ID: On Sat, Jun 27, 2015 at 11:52 PM, Quartz wrote: > First off, you should double check what's going on with your layout. Thank you for your help. I have four 11-drive raidz3 pools that, in a prior life, lived in FreeNAS. Of course, being in FreeNAS, they were gpart-ed to have two parititons (one for zfs, one for swap). I took these 4 groups of 11-drives over to my FreeBSD box. For each group of 11 drives I: gpart destroy -F /dev/da0 gpart destroy -F /dev/da1 ... gpart destroy -F /dev/da10 zpool create poolname raidz3 /dev/da0 /dev/da1 ... /dev/da10 Unfortunately on one of the 11 groups I forgot to perform the "gpart destroy" step. I did perform the "zpool create" step. This is the group of drives that triggers the dmesg "the primary GPT table is corrupt or invalid" and "using the secondary instead -- recovery strongly advised." >> I suppose I could offline and >> resilver each of them. > > > Simply resilvering is not guaranteed to fix the problem I agree. What I means to say was "offline the drive, dd if=/dev/zero the drive, then resilver it. >> I'm afraid to dd the secondary GPT header at >> the last 512 bytes of the drive. Perhaps there is a way I can ask ZFS >> to do that for me? > > > Zfs doesn't mess with gpt directly like that, so no. If you don't want to What I meant here was to say "Perhaps I can politely ask ZFS 'hey if you are not using the last 512 bytes of these devices, would you mind just filling that with zeros?'". I would feel more comfortable if there was a command like that offered by ZFS rather than me just using dd and hoping it doesn't interfere with ZFS. Chris From chrisstankevitz at gmail.com Sun Jun 28 21:17:05 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Sun, 28 Jun 2015 14:17:02 -0700 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: Message-ID: On Sat, Jun 27, 2015 at 11:26 PM, Warren Block wrote: > Erasing just the last block would probably be enough. Still, the only > reason to be afraid of it is if you do not have a full backup. And if you > don't have a full backup, that is the first thing to do. Warren, Thank you. I do indeed have backups so perhaps I shouldn't be afraid to just experiment... especially if I experiment only on one of my raidz3 drives. Do I need to export the pool before using dd on the raw device? Chris From alfred at freebsd.org Sun Jun 28 22:07:56 2015 From: alfred at freebsd.org (Alfred Perlstein) Date: Sun, 28 Jun 2015 15:07:51 -0700 Subject: Simplifying lang/pypy(3) In-Reply-To: <558FAB30.30802@FreeBSD.org> References: <1778458.ppUHDKsiRe@dragon.local> <558FAB30.30802@FreeBSD.org> Message-ID: <55907037.30204@freebsd.org> On 6/28/15 1:07 AM, Kubilay Kocak wrote: > On 27/06/2015 9:16 PM, David Naylor wrote: >> Hi, >> >> lang/pypy was originally set up to achieve: >> >> * building of multiple pypy instances based on different setting (i.e. with >> or without jit, sandboxing, etc). The port user could define any permutation >> she desires. >> >> * Install in a directory layout more similar to lang/python (i.e. libraries >> in lib/, include files in include/). >> >> I plan to simplify the port by removing the multi-instance support and using >> the default directory layout of the port. This will fix issues with >> virtualenv and reduce the learning curve of using/maintaining the port. >> >> To this end does anyone: >> >> a) use the multi-instance support? >> >> b) depend on the current directory layout? >> >> Based on feedback I will adapt my plans to simplify. >> >> Regards >> > Thanks for opening up the question to the list David > > My vote (without my python hat on) would be for lang/pypy being as close > to the upstream experience (freebsd improvements not withstanding) as > the possibly by default as that would be my expectation as a user > knowing nothing else. > > From there work on additions or extensions, possibly as extra (slave) > ports or something similar > +1 Thanks Koobs & David! From quartz at sneakertech.com Sun Jun 28 22:10:22 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 28 Jun 2015 18:10:20 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: <558F99B6.2080205@sneakertech.com> Message-ID: <559070CC.8040105@sneakertech.com> > Unfortunately on one of the 11 groups I forgot to perform the "gpart > destroy" step. OK, well you should still get a readout of all the gpt stuff off the disks just to make sure you're not doing something elsewhere that actually needs gpt (like labels or something). In this case though you can compare the 'good' drives to the 'bad' drives. > What I means to say was "offline the drive, dd if=/dev/zero > the drive, then resilver it. > Do I need to export the pool before using dd on the > raw device? Given that this is a raidz3 and you're just going to dd nuke a single drive, then no. Just offline the drive first so the pool's not trying to use it. Exporting a pool completely shuts it down and packages everything up in a machine-independent way so it can be physically moved to a new box, but that's overkill for your situation. (Also, I'm not 100% sure what zfs does when you try to import a pool with one drive "missing"). > What I meant here was to say "Perhaps I can politely ask ZFS 'hey if > you are not using the last 512 bytes of these devices, would you mind > just filling that with zeros?'". I would feel more comfortable if > there was a command like that offered by ZFS rather than me just using > dd and hoping it doesn't interfere with ZFS. I *think* that zfs is like other file system partitioning schemes in that it just writes from the beginning of the drive and doesn't care about the end until it gets there... however don't quote me on it. Again though, you could always offline the drive, dd the end, then reattach it and do a scrub or something. If you end up blowing away something zfs needs, it won't stay silent about it. From wblock at wonkity.com Sun Jun 28 23:06:22 2015 From: wblock at wonkity.com (Warren Block) Date: Sun, 28 Jun 2015 17:06:20 -0600 (MDT) Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: Message-ID: On Sun, 28 Jun 2015, Chris Stankevitz wrote: > On Sat, Jun 27, 2015 at 11:26 PM, Warren Block wrote: >> Erasing just the last block would probably be enough. Still, the only >> reason to be afraid of it is if you do not have a full backup. And if you >> don't have a full backup, that is the first thing to do. > > Warren, > > Thank you. I do indeed have backups so perhaps I shouldn't be afraid > to just experiment... especially if I experiment only on one of my > raidz3 drives. Do I need to export the pool before using dd on the > raw device? It depends on how confident you are in those backups. Remember, ZFS leaves space unused at the end of a disk to allow for variations in nominal disk size. Overwriting even just the last block will destroy the backup GPT header without touching any ZFS data. In theory, anyway, which is why you have backups. ZFS ought to notice if there was any problem during the next zpool scrub. So do one drive, do a scrub, and if red lights don't start flashing and an urgent resilver does not start... it's good. But still, keep good backups. From chrisstankevitz at gmail.com Mon Jun 29 00:46:34 2015 From: chrisstankevitz at gmail.com (Chris Stankevitz) Date: Sun, 28 Jun 2015 17:46:31 -0700 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: <20150628232208.GA69625@neutralgood.org> References: <558F99B6.2080205@sneakertech.com> <559070CC.8040105@sneakertech.com> <20150628232208.GA69625@neutralgood.org> Message-ID: On Sun, Jun 28, 2015 at 4:22 PM, wrote: > I'm not sure if offlining the disk you are touching will make any difference. > It may just make recovery more complicated. If it was me I'd just zero the > last block without the offline/online dance. Kevin, Thank you. Can I use dd on a /dev/daX that is currently part of an imported, mounted, and online zpool? Also, if anyone can answer this question more generally, I'd appreciate it: are there times (other than r-x) when I do not have permission/ability to dd if=/dev/zero of=/dev/daX? Chris From quartz at sneakertech.com Mon Jun 29 02:04:37 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 28 Jun 2015 22:04:30 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: Message-ID: <5590A7AE.9040303@sneakertech.com> > Remember, ZFS > leaves space unused at the end of a disk to allow for variations in > nominal disk size. Holy what the heck, no it doesn't! One big issue with zfs is that you CANNOT shrink a pool's size once it's been created, for any reason. You can't remove vdevs, and any replacement disk must bigger or exactly equal in size; even a disk with one less sector and you're SOL. This is my biggest gripe with zfs by far and in fact I just asked freebsd-fs about this less than a week ago wondering if it had been addressed finally (it hasn't). From quartz at sneakertech.com Mon Jun 29 02:29:34 2015 From: quartz at sneakertech.com (Quartz) Date: Sun, 28 Jun 2015 22:29:32 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: <20150628232208.GA69625@neutralgood.org> References: <558F99B6.2080205@sneakertech.com> <559070CC.8040105@sneakertech.com> <20150628232208.GA69625@neutralgood.org> Message-ID: <5590AD8C.7030904@sneakertech.com> > When making changes like dd'ing the end of a disk be sure to do a scrub > after touching _only_ _one_ disk. I suggest doing scrubs until you get a > clean one. Then move on to the next disk, doing the write/scrub steps on > each disk in turn. This is good advice. > It may just make recovery more complicated. If it was me I'd just zero the > last block without the offline/online dance. ... but I'm not sure that is. >Can I use dd on a /dev/daX that is currently part of an > imported, mounted, and online zpool? There's nothing technically stopping you, but screwing with it "live" is not a great idea. At the least, if zfs IS using those blocks or otherwise notices, it will consider the drive to be throwing errors and mark it as failing, so you'll have to deal with the issue anyway. Honestly though, this whole thread is really better suited for freebsd-fs rather than freebsd-questions. You'll probably get better answers there. >Also, if anyone can answer this > question more generally, I'd appreciate it: are there times (other > than r-x) when I do not have permission/ability to dd if=/dev/zero > of=/dev/daX? It can happen. I've bumped into that once when a dvd was improperly cloned onto a usb drive and it got stuck in a weird read-only mode and I had to jump through a couple hoops to erase it (this wasn't freebsd though). From b.heidotting at web.de Mon Jun 29 06:50:36 2015 From: b.heidotting at web.de (=?iso-8859-1?Q?Bj=F6rn?= Heidotting) Date: Mon, 29 Jun 2015 08:25:40 +0200 Subject: Sendmail: SMTP auth and smart host? In-Reply-To: References: Message-ID: <20150629062540.GA1359@fbsdvm1.naber.dom> Do you have support for SMTP-AUTH compiled into sendmail? Check with: sendmail -d0.1 -bv postmaster | grep -i sasl I also have the following in my .mc file: FEATURE(`authinfo', `hash /etc/mail/auth/client-info')dnl Regards, Bj?rn Heidotting On Sun, 28. Jun 20:36, Christian Weisgerber wrote: > I'm trying to add a very standard piece of configuration to my sendmail > setup: Send all mail to a smart host and use SMTP client authentication > for talking to the smart host. > > There are many examples, howtos, tutorials, etc. about this all over the > net, e.g. > https://www.dnsexit.com/support/mailrelay/sendmail.html > > Define the smart host, set the authentication information in the > access database, and sendmail will automagically use it for SMTP > AUTH. > > Alas, the magic doesn't happen: > > ------------------------------------------------------------------------ > naddy at unix-ag.uni-kl.de... Connecting to [127.0.0.1] via relay... > 220 lorvorc.mips.inka.de ESMTP Sendmail 8.14.9/8.14.9; Sun, 28 Jun 2015 22:01:07 +0200 (CEST) > >>> EHLO lorvorc.mips.inka.de > 250-lorvorc.mips.inka.de Hello localhost [127.0.0.1], pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-EXPN > 250-VERB > 250-8BITMIME > 250-SIZE > 250-DSN > 250-ETRN > 250-DELIVERBY > 250 HELP > >>> VERB > 250 2.0.0 Verbose mode > >>> MAIL From: SIZE=27 > 250 2.1.0 ... Sender ok > >>> RCPT To: > >>> DATA > 250 2.1.5 ... Recipient ok > 354 Enter mail, end with "." on a line by itself > >>> . > 050 ... Connecting to mail.inka.de. via relay... > 050 220 mail.inka.de ESMTP Exim - mail ready at Sun, 28 Jun 2015 22:01:07 +0200 > 050 >>> EHLO lorvorc.mips.inka.de > 050 250-mail.inka.de Hello dslb-188-104-157-230.188.104.pools.vodafone-ip.de [188.104.157.230] > 050 250-SIZE 67108864 > 050 250-8BITMIME > 050 250-PIPELINING > 050 250-STARTTLS > 050 250 HELP > 050 >>> STARTTLS > 050 220 TLS go ahead > 050 >>> EHLO lorvorc.mips.inka.de > 050 250-mail.inka.de Hello dslb-188-104-157-230.188.104.pools.vodafone-ip.de [188.104.157.230] > 050 250-SIZE 67108864 > 050 250-8BITMIME > 050 250-PIPELINING > 050 250-AUTH PLAIN LOGIN > 050 250 HELP > 050 >>> MAIL From: SIZE=382 > 050 250 OK > 050 >>> RCPT To: > 050 >>> DATA > 050 550 relay not permitted > 050 503-All RCPT commands were rejected with this error: > 050 503-relay not permitted > 050 503 Valid RCPT command must precede DATA > 050 >>> RSET > 050 250 Reset OK > 050 ... Connecting to local... > 050 ... Sent > 250 2.0.0 t5SK17H8027901 Message accepted for delivery > naddy at unix-ag.uni-kl.de... Sent (t5SK17H8027901 Message accepted for delivery) > Closing connection to [127.0.0.1] > >>> QUIT > 221 2.0.0 lorvorc.mips.inka.de closing connection > ------------------------------------------------------------------------ > > As the -v output shows, sendmail simply never attempts to use client > authentication. _Something_ must be wrong or missing, but I don't > see it. > > sendmail.mc: > ------------------------------------------------------------------------ > OSTYPE(freebsd6) > MASQUERADE_AS(`mips.inka.de') > FEATURE(accept_unresolvable_domains) > FEATURE(access_db) > FEATURE(allmasquerade) > FEATURE(masquerade_envelope) > FEATURE(local_procmail) > FEATURE(use_cw_file) > define(`ALIAS_FILE', `/etc/mail/aliases,-o /etc/mail/aliases.newsgate') > define(`LUSER_RELAY', `local:dev-null') > define(`SMART_HOST', `[mail.inka.de]') > define(`UUCP_MAILER_MAX', 0) > DAEMON_OPTIONS(`Name=IPv4, Family=inet') > DAEMON_OPTIONS(`Name=IPv6, Family=inet6') > MAILER(local) > MAILER(smtp) > MAILER(../../../../local/share/sendmail/bsmtp) > MAILER(uucp) > ------------------------------------------------------------------------ > > access database: > ------------------------------------------------------------------------ > AuthInfo:mail.inka.de "U:xxxx" "I:xxxx" "P:yyyy" "M:PLAIN" > ------------------------------------------------------------------------ > > > (Meanwhile I'm sending this by UUCP... because it works.) > -- > Christian "naddy" Weisgerber naddy at mips.inka.de > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From freebsd at edvax.de Mon Jun 29 07:25:22 2015 From: freebsd at edvax.de (Polytropon) Date: Mon, 29 Jun 2015 09:25:17 +0200 Subject: Dual booting plus Hyper-V In-Reply-To: <55905A0A.1070600@gmail.com> References: <55905A0A.1070600@gmail.com> Message-ID: <20150629092517.afec2a3e.freebsd@edvax.de> On Sun, 28 Jun 2015 15:33:14 -0500, Joshua Isom wrote: > After many years, I'm thinking of turning my beastie into a gaming box > plus home server. It's overpowered for my current use. I'm not sure > wine's up to the task for hassle free gaming. Well, wine is pretty much advanced nowadays. If wine is not sufficient, there's winex which is a special variation of wine intended for gaming use. I'm running several "Windows" games myself with wine, as well as Linux games on FreeBSD. No problems. :-) > I think the easiest thing > would be running Windows on it's own hard drive with FreeBSD running in > Hyper-V. That sounds like overhead... > I'd get a dedicated windows disk as well as the BSD disks. The idea with dedicated disks is very good. It will allow you to replace OS installations easily (at least with FreeBSD). But why not simply dual-boot from one of the disks? Either you select the boot disk in the BIOS menu (if available), or you install the FreeBSD boot manager on the boot disk and let it boot normally (FreeBSD) or to the "Windows" disk. This gives you the full advantage of using FreeBSD without the overhead and possible problems with a hypervisor. Furthermore, today's boot processes are _fast_, so switching from one to the other OS can be a thing of less than a minute. The only situation where this does not work is when you need to run both FreeBSD and "Windows" at the same time. Is that one of your requirements? > The system is all ZFS on GPT at the moment. Is this > practical or is are there other alternatives to consider? Native (OS-controlled) ZFS use or through a hypervisor? Hmmmm... As I mentioned, I would go with real dual-boot instead... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From quartz at sneakertech.com Mon Jun 29 07:48:17 2015 From: quartz at sneakertech.com (Quartz) Date: Mon, 29 Jun 2015 03:48:14 -0400 Subject: A note about installing packages from the dvd In-Reply-To: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> References: <6213A983-300C-4175-A324-ACF91D210BA0@yahoo.com> Message-ID: <5590F83E.8040707@sneakertech.com> A quick note to John Drake and John Haraden who both asked questions about this recently- Nobody (including myself) ever remembers to read the errata notes it seems. Apparently there's a version mismatch in 10.1 that screws up installing packages from the dvd: https://www.freebsd.org/releases/10.1R/errata.html#open-issues From quartz at sneakertech.com Mon Jun 29 08:33:31 2015 From: quartz at sneakertech.com (Quartz) Date: Mon, 29 Jun 2015 04:33:29 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: Message-ID: <559102D9.8060404@sneakertech.com> >Do I need to export the pool before using dd on the > raw device? So I think my earlier comment saying export is overkill might have been wrong. The handbook page explaining how zfs checksums work has an example that explicitly uses export: [20.3.8. Self-Healing] "Data corruption is simulated by writing random data to the beginning of one of the disks in the mirror. To prevent ZFS from healing the data as soon as it is detected, the pool is exported before the corruption and imported again afterwards." https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/zfs-zpool.html From norman at khine.net Mon Jun 29 10:38:32 2015 From: norman at khine.net (Norman Khine) Date: Mon, 29 Jun 2015 11:38:25 +0100 Subject: edit sshd_config from freebsd8_rescue Message-ID: Hello, I have a server running FreebSD8 from OVH, this had a problem, and I had to restart it in rescue mode. This is what I did so far: rescue-bsd# df -aTh Filesystem Type Size Used Avail Capacity Mounted on XX.XX.XX.XX:/home/pub/bsd-rescue8_64 nfs 1.9T 223G 1.6T 12% / devfs devfs 1.0k 1.0k 0B 100% /dev /dev/md0 ufs 29M 2M 24M 7% /etc /dev/md1 ufs 4.4M 20k 4.0M 0% /root /dev/md2 ufs 4.4M 302k 3.8M 7% /var procfs procfs 4.0k 4.0k 0B 100% /proc devfs devfs 1.0k 1.0k 0B 100% /var/named/dev /dev/md3 ufs 19M 14k 17M 0% /tmp rescue-bsd# gpart show => 63 156301425 ad6 MBR (74G) 63 156296322 1 freebsd [active] (74G) 156296385 5103 - free - (2.5M) => 0 156296322 ad6s1 BSD (74G) 0 20480000 1 freebsd-ufs (9.8G) 20480000 1048576 2 freebsd-swap (512M) 21528576 53895168 4 freebsd-ufs (25G) 75423744 8388608 5 freebsd-ufs (4.0G) 83812352 30720000 6 freebsd-ufs (14G) 114532352 41763970 7 freebsd-ufs (19G) => 63 156301425 ad4 MBR (74G) 63 156296322 1 freebsd [active] (74G) 156296385 5103 - free - (2.5M) => 0 156296322 ad4s1 BSD (74G) 0 20480000 1 freebsd-ufs (9.8G) 20480000 1048576 2 freebsd-swap (512M) 21528576 53895168 4 freebsd-ufs (25G) 75423744 8388608 5 freebsd-ufs (4.0G) 83812352 30720000 6 freebsd-ufs (14G) 114532352 41763970 7 freebsd-ufs (19G) rescue-bsd# mount /dev/ad4s1 /mnt rescue-bsd# vi /mnt/etc/ssh/sshd_config rescue-bsd# umount /mnt/ rescue-bsd# mount /dev/ad6s1 /mnt rescue-bsd# vi /mnt/etc/ssh/sshd_config rescue-bsd# umount /mnt/ rescue-bsd# reboot I have opened the ssh port and saved the file Then I reboot the server in normal mode, but none of the settings seem to have been saved on reboot! Do i have to chroot in order for these to work? I tried to chroot, but there is no vi in order to edit the file? Any advise much appreciated. -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) From wblock at wonkity.com Mon Jun 29 14:19:36 2015 From: wblock at wonkity.com (Warren Block) Date: Mon, 29 Jun 2015 08:19:27 -0600 (MDT) Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: <5590A7AE.9040303@sneakertech.com> References: <5590A7AE.9040303@sneakertech.com> Message-ID: On Sun, 28 Jun 2015, Quartz wrote: >> Remember, ZFS >> leaves space unused at the end of a disk to allow for variations in >> nominal disk size. > > Holy what the heck, no it doesn't! One big issue with zfs is that you CANNOT > shrink a pool's size once it's been created, for any reason. You can't remove > vdevs, and any replacement disk must bigger or exactly equal in size; even a > disk with one less sector and you're SOL. This is my biggest gripe with zfs > by far and in fact I just asked freebsd-fs about this less than a week ago > wondering if it had been addressed finally (it hasn't). It's possible I've confused this with something else. The person who I thought told me about this now denies saying anything like that. However, there are copies of the ZFS label at the end of the drive that might explain the GPT backup not being overwritten. I have queries in. The fact that the backup GPT is still present indicates that ZFS has not written to that area, at least so far, and it should be safe to overwrite. From freebsd-questions-local at be-well.ilk.org Mon Jun 29 14:28:36 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 29 Jun 2015 10:28:23 -0400 Subject: edit sshd_config from freebsd8_rescue In-Reply-To: (Norman Khine's message of "Mon, 29 Jun 2015 11:38:25 +0100") References: Message-ID: <44mvzivbaw.fsf@lowell-desk.lan> Norman Khine writes: > Hello, > I have a server running FreebSD8 from OVH, this had a problem, and I had to > restart it in rescue mode. > > This is what I did so far: > > rescue-bsd# df -aTh > Filesystem Type Size Used Avail > Capacity Mounted on > XX.XX.XX.XX:/home/pub/bsd-rescue8_64 nfs 1.9T 223G 1.6T 12% / > devfs devfs 1.0k 1.0k 0B 100% /dev > /dev/md0 ufs 29M 2M 24M 7% /etc > /dev/md1 ufs 4.4M 20k 4.0M 0% /root > /dev/md2 ufs 4.4M 302k 3.8M 7% /var > procfs procfs 4.0k 4.0k 0B 100% /proc > devfs devfs 1.0k 1.0k 0B 100% /var/named/dev > /dev/md3 ufs 19M 14k 17M 0% /tmp > > > rescue-bsd# gpart show > => 63 156301425 ad6 MBR (74G) > 63 156296322 1 freebsd [active] (74G) > 156296385 5103 - free - (2.5M) > > => 0 156296322 ad6s1 BSD (74G) > 0 20480000 1 freebsd-ufs (9.8G) > 20480000 1048576 2 freebsd-swap (512M) > 21528576 53895168 4 freebsd-ufs (25G) > 75423744 8388608 5 freebsd-ufs (4.0G) > 83812352 30720000 6 freebsd-ufs (14G) > 114532352 41763970 7 freebsd-ufs (19G) > > => 63 156301425 ad4 MBR (74G) > 63 156296322 1 freebsd [active] (74G) > 156296385 5103 - free - (2.5M) > > => 0 156296322 ad4s1 BSD (74G) > 0 20480000 1 freebsd-ufs (9.8G) > 20480000 1048576 2 freebsd-swap (512M) > 21528576 53895168 4 freebsd-ufs (25G) > 75423744 8388608 5 freebsd-ufs (4.0G) > 83812352 30720000 6 freebsd-ufs (14G) > 114532352 41763970 7 freebsd-ufs (19G) > > rescue-bsd# mount /dev/ad4s1 /mnt > rescue-bsd# vi /mnt/etc/ssh/sshd_config > rescue-bsd# umount /mnt/ > > rescue-bsd# mount /dev/ad6s1 /mnt > rescue-bsd# vi /mnt/etc/ssh/sshd_config > rescue-bsd# umount /mnt/ > > rescue-bsd# reboot > > I have opened the ssh port and saved the file > > Then I reboot the server in normal mode, but none of the settings seem to > have been saved on reboot! Are you *sure* you saved the file? I suggest checking *before* rebooting -- I strongly suspect that you haven't. Maybe you forgot to "write" from vi, maybe you forgot to set the disk read-write, maybe something else, but before the reboot. > Do i have to chroot in order for these to work? I tried to chroot, but > there is no vi in order to edit the file? Um, no, that's not necessary (or helpful). Good luck. From paul at kraus-haus.org Mon Jun 29 14:35:38 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Mon, 29 Jun 2015 10:29:36 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: <5590A7AE.9040303@sneakertech.com> Message-ID: On Jun 29, 2015, at 10:19, Warren Block wrote: > On Sun, 28 Jun 2015, Quartz wrote: > >>> Remember, ZFS >>> leaves space unused at the end of a disk to allow for variations in >>> nominal disk size. >> >> Holy what the heck, no it doesn't! One big issue with zfs is that you CANNOT shrink a pool's size once it's been created, for any reason. You can't remove vdevs, and any replacement disk must bigger or exactly equal in size; even a disk with one less sector and you're SOL. This is my biggest gripe with zfs by far and in fact I just asked freebsd-fs about this less than a week ago wondering if it had been addressed finally (it hasn't). I do recall a change in ZFS behavior to leave a very small amount of space unused at the every end of the drive to account for the differences in real sizes between various vendors drives that were nominally the same size. This only applied if you used the entire disk and did not use any partitioning. This was in both the Solaris and OpenSolaris versions of ZFS, so it predates the fork of the ZFS code. I have had no issues using disks of different manufacturers and even models within manufacturers (which sometimes do vary in size by a few blocks) as long as they were all the same nominal size (1 TB or 500 GB in my case) and I had handed the entire disk to ZFS and not a partition. This is NOT an indication of any sort that you can shrink an existing zpool nor does it imply that any given zpool is not writing to certain blocks at the end of the disk, but that the space allocated by the zpool create, when using an entire disk, leaves a little bit of wiggle room at the end that is NOT part of the zpool. I will see if I can dig up the documentation on this. Note that it is a very small amount as drives of the same nominal capacity vary very little in real capacity. -- Paul Kraus paul at kraus-haus.org From jrisom at gmail.com Mon Jun 29 21:23:51 2015 From: jrisom at gmail.com (Joshua Isom) Date: Mon, 29 Jun 2015 16:23:34 -0500 Subject: Dual booting plus Hyper-V In-Reply-To: <20150629092517.afec2a3e.freebsd@edvax.de> References: <55905A0A.1070600@gmail.com> <20150629092517.afec2a3e.freebsd@edvax.de> Message-ID: <5591B756.2090702@gmail.com> On 6/29/2015 2:25 AM, Polytropon wrote: > On Sun, 28 Jun 2015 15:33:14 -0500, Joshua Isom wrote: >> After many years, I'm thinking of turning my beastie into a gaming box >> plus home server. It's overpowered for my current use. I'm not sure >> wine's up to the task for hassle free gaming. > > Well, wine is pretty much advanced nowadays. If wine is > not sufficient, there's winex which is a special variation > of wine intended for gaming use. > > I'm running several "Windows" games myself with wine, as > well as Linux games on FreeBSD. No problems. :-) I know it depends a lot on the game, some are perfect and some just fail due to insufficient support. Dual booting between Windows and FreeBSD solves that. >> I think the easiest thing >> would be running Windows on it's own hard drive with FreeBSD running in >> Hyper-V. > > That sounds like overhead... Running Windows and keeping the FreeBSD daemons running requires overhead. Overhead would be better than a dedicated second computer. >> I'd get a dedicated windows disk as well as the BSD disks. > > The idea with dedicated disks is very good. It will allow you > to replace OS installations easily (at least with FreeBSD). > But why not simply dual-boot from one of the disks? Either > you select the boot disk in the BIOS menu (if available), > or you install the FreeBSD boot manager on the boot disk > and let it boot normally (FreeBSD) or to the "Windows" disk. > This gives you the full advantage of using FreeBSD without > the overhead and possible problems with a hypervisor. > Furthermore, today's boot processes are _fast_, so switching > from one to the other OS can be a thing of less than a minute. > The only situation where this does not work is when you need > to run both FreeBSD and "Windows" at the same time. Is that > one of your requirements? Ideally I'd want the server processes to continue running. It operates as my IMAP and NAS server primarily so it's nothing intensive but I'd prefer to keep it running. >> The system is all ZFS on GPT at the moment. Is this >> practical or is are there other alternatives to consider? > > Native (OS-controlled) ZFS use or through a hypervisor? Hmmmm... > As I mentioned, I would go with real dual-boot instead... Maybe I worded the dual boot idea poorly. I want the computer to dual boot between Windows and FreeBSD. I want the FreeBSD drives to boot seamlessly between booting in Hyper-V and directly on the computer. From hsialinboy at yahoo.com Mon Jun 29 22:42:25 2015 From: hsialinboy at yahoo.com (robert jackson) Date: Mon, 29 Jun 2015 15:42:18 -0700 Subject: randi harper Message-ID: <1435617738.91104.YahooMailBasic@web161006.mail.bf1.yahoo.com> You are being watched. From chris at chrismaness.com Mon Jun 29 23:46:55 2015 From: chris at chrismaness.com (Chris Maness) Date: Mon, 29 Jun 2015 16:46:53 -0700 Subject: Changing TMPDIR for restore? Message-ID: I have tried changing the TMPDIR env variable for restore as I am using a livecd to restore my server from a dump. However, restore doesn't seem to be recognizing the new tmp directory I created for it. I did #set TMPDIR='/mnt/tmp' and #echo $TMPDIR shows the correct directory. I am stuck, and not finding any hints on the net. Any suggestions? Thanks, Chris Maness From quartz at sneakertech.com Mon Jun 29 23:54:25 2015 From: quartz at sneakertech.com (Quartz) Date: Mon, 29 Jun 2015 19:54:21 -0400 Subject: Corrupt GPT on ZFS full-disks that shouldn't be using GPT In-Reply-To: References: <5590A7AE.9040303@sneakertech.com> Message-ID: <5591DAAD.4080800@sneakertech.com> > I do recall a change in ZFS behavior to leave a very small amount of > space unused at the every end of the drive to account for the > differences in real sizes between various vendors drives that were > nominally the same size. This only applied if you used the entire > disk and did not use any partitioning. This was in both the Solaris > and OpenSolaris versions of ZFS, so it predates the fork of the ZFS > code. > > I have had no issues using disks of different manufacturers and even > models within manufacturers That runs counter to everything I've ever heard or read. Many people on all platforms have complained about this issue over the years and tried to come up with workarounds, there's no shortage of hits if you search for it. Here's a few random examples: https://www.mail-archive.com/zfs-discuss at opensolaris.org/msg23070.html https://lists.freebsd.org/pipermail/freebsd-stable/2010-July/057880.html http://blog.dest-unreach.be/2012/06/30/create-future-proof-zfs-pools http://www.freebsddiary.org/zfs-with-gpart.php > I will see if I can dig up the documentation on this. Please do, because if zfs does have this ability buried somewhere I'd love to see how and when you can activate it. >Note that it is > a very small amount as drives of the same nominal capacity vary very > little in real capacity. The second link of the ones I posted above is from a guy with two 1.5TB drives that vary by one MB. I'm not sure what you're considering "nominal capacity" in this context, but any margin smaller than that is probably not useful in practice. From cswiger at mac.com Tue Jun 30 02:41:27 2015 From: cswiger at mac.com (Charles Swiger) Date: Mon, 29 Jun 2015 18:41:02 -0700 Subject: Changing TMPDIR for restore? In-Reply-To: References: Message-ID: On Jun 29, 2015, at 4:46 PM, Chris Maness wrote: > I have tried changing the TMPDIR env variable for restore as I am > using a livecd to restore my server from a dump. However, restore > doesn't seem to be recognizing the new tmp directory I created for it. > I did #set TMPDIR='/mnt/tmp' and #echo $TMPDIR shows the correct > directory. I am stuck, and not finding any hints on the net. > > Any suggestions? Try "export TMPDIR" next. Or do it in one step via "export TMPDIR=/mnt/tmp". Only exported variables get inherited by subprocesses.... Regards, -- -Chuck From Olivier.Nicole at cs.ait.ac.th Tue Jun 30 03:41:36 2015 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Tue, 30 Jun 2015 10:32:31 +0700 Subject: kern.ipc.nmbclusters limit reached Message-ID: Hi, Since I updated my amanda server to 10.1, I cannot complete a back-up, the system will freeze in the middle of the dumps with bunches of error: Jun 30 09:37:16 amanda kernel: [zone: mbuf_cluster] kern.ipc.nmbclusters limit reached The kernel is: FreeBSD amanda.cs.ait.ac.th 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0 r282829: Wed May 13 14:31:30 ICT 2015 root at amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC amd64 and sysctl kern.ipc.nmbclusters kern.ipc.nmbclusters: 253064 This ipc.nmbcluster seems terribly high (like 0.5 GB memory), but that's the value set by the kernel by default! Something must be wrong there, but I don't know ehre to look. Thanks in advance for the help, olivier -- From jmc-freebsd2 at milibyte.co.uk Tue Jun 30 08:35:12 2015 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue, 30 Jun 2015 09:31:48 +0100 Subject: Changing TMPDIR for restore? In-Reply-To: References: Message-ID: <20150630093148.66210ff6@curlew.lan> n Mon, 29 Jun 2015 18:41:02 -0700 Charles Swiger wrote: > On Jun 29, 2015, at 4:46 PM, Chris Maness wrote: [snip] > > I did #set TMPDIR='/mnt/tmp' and #echo $TMPDIR shows the correct > > directory. I am stuck, and not finding any hints on the net. > > > > Any suggestions? > > Try "export TMPDIR" next. Or do it in one step via "export > TMPDIR=/mnt/tmp". Looks like the OP might have been using csh in which case it should be - setenv TMPDIR /mnt/tmp -- Mike Clarke From quartz at sneakertech.com Tue Jun 30 09:04:35 2015 From: quartz at sneakertech.com (Quartz) Date: Tue, 30 Jun 2015 05:04:27 -0400 Subject: Can't install freebsd inside virtualbox, glacially slow Message-ID: <55925B9B.2090503@sneakertech.com> I can't seem to get the 10.1 installer to work under virtualbox, everything is so slow it's completely unusable. The dvd image takes upwards of a minute to even draw the opening ascii menu, and attempting to boot the kernel just sits there forever. If I convert the memstick img into a vdi and boot from that, I just get the "spinning slash" forever (it doesn't even get to the menu). I've tried the 'set vfs.unmapped_buf_allowed=0' trick, tried changing vb's chipset from PIIX3 to ICH9, tried changing the number of CPUs and ram and everything, but no dice. Anyone have any ideas? From Trond.Endrestol at fagskolen.gjovik.no Tue Jun 30 09:15:32 2015 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Tue, 30 Jun 2015 11:15:21 +0200 (CEST) Subject: Can't install freebsd inside virtualbox, glacially slow In-Reply-To: <55925B9B.2090503@sneakertech.com> References: <55925B9B.2090503@sneakertech.com> Message-ID: On Tue, 30 Jun 2015 05:04-0400, Quartz wrote: > I can't seem to get the 10.1 installer to work under virtualbox, everything is > so slow it's completely unusable. The dvd image takes upwards of a minute to > even draw the opening ascii menu, and attempting to boot the kernel just sits > there forever. If I convert the memstick img into a vdi and boot from that, I > just get the "spinning slash" forever (it doesn't even get to the menu). I've > tried the 'set vfs.unmapped_buf_allowed=0' trick, tried changing vb's chipset > from PIIX3 to ICH9, tried changing the number of CPUs and ram and everything, > but no dice. Anyone have any ideas? Need. More. Input. ;-) Maybe you need to enable hardware virtualisation support in the host. My amd64 VMs are happy with the emulated PIIX3 chipset. Try removing the IDE controller in the guest and replace it with the SATA controller. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From woodsb02 at gmail.com Tue Jun 30 09:22:30 2015 From: woodsb02 at gmail.com (Ben Woods) Date: Tue, 30 Jun 2015 17:22:28 +0800 Subject: kern.ipc.nmbclusters limit reached In-Reply-To: References: Message-ID: On Tuesday, June 30, 2015, Olivier Nicole wrote: > Hi, > > Since I updated my amanda server to 10.1, I cannot complete a back-up, > the system will freeze in the middle of the dumps with bunches of error: > > Jun 30 09:37:16 amanda kernel: [zone: mbuf_cluster] kern.ipc.nmbclusters > limit reached > > > The kernel is: > > FreeBSD amanda.cs.ait.ac.th 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0 > r282829: Wed May 13 14:31:30 ICT 2015 root at amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC > amd64 > > and > > sysctl kern.ipc.nmbclusters > kern.ipc.nmbclusters: 253064 > > This ipc.nmbcluster seems terribly high (like 0.5 GB memory), but that's > the value set by the kernel by default! > > Something must be wrong there, but I don't know ehre to look. > > Thanks in advance for the help, > > olivier > -- > I guess you are using Intel igb(4) or em(4) network interface cards? This is a known issue, and the work around proposed by the pfsense project is to manually increased the nmbcluster limit: Add the following to /boot/loader.conf: kern.ipc.nmbclusters="1000000" https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards Regards, Ben -- -- From: Benjamin Woods woodsb02 at gmail.com From Olivier.Nicole at cs.ait.ac.th Tue Jun 30 09:31:44 2015 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Tue, 30 Jun 2015 16:29:51 +0700 Subject: kern.ipc.nmbclusters limit reached In-Reply-To: (message from Ben Woods on Tue, 30 Jun 2015 17:22:28 +0800) Message-ID: Thank you Ben, >> Since I updated my amanda server to 10.1, I cannot complete a back-up, >> the system will freeze in the middle of the dumps with bunches of error: >> >> Jun 30 09:37:16 amanda kernel: [zone: mbuf_cluster] kern.ipc.nmbclusters >> limit reached >> >> >> The kernel is: >> >> FreeBSD amanda.cs.ait.ac.th 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0 >> r282829: Wed May 13 14:31:30 ICT 2015 root at amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> and >> >> sysctl kern.ipc.nmbclusters >> kern.ipc.nmbclusters: 253064 >> >> This ipc.nmbcluster seems terribly high (like 0.5 GB memory), but that's >> the value set by the kernel by default! >> >> Something must be wrong there, but I don't know ehre to look. >> >> Thanks in advance for the help, >> >> olivier >> -- >> > > I guess you are using Intel igb(4) or em(4) network interface cards? No, that MB uses nfe(4). > This is a known issue, and the work around proposed by the pfsense project > is to manually increased the nmbcluster limit: > > Add the following to /boot/loader.conf: > > kern.ipc.nmbclusters="1000000" But I will try that anyway. My concern is that 2048 Bytes per nmbcluster, makes it 2,048,000,000 two giga bytes of memory? Best regards, Olivier > > > > https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards > > Regards, > Ben -- From quartz at sneakertech.com Tue Jun 30 09:56:28 2015 From: quartz at sneakertech.com (Quartz) Date: Tue, 30 Jun 2015 05:56:25 -0400 Subject: Can't install freebsd inside virtualbox, glacially slow In-Reply-To: References: <55925B9B.2090503@sneakertech.com> Message-ID: <559267C9.9010108@sneakertech.com> > Need. > More. > Input. ;-) Not sure what else to provide. I think I've flipped every switch vb gives me. > Maybe you need to enable hardware virtualisation support in the host. It's on by default and I don't have the option to disable it. I can however enable PAE or disable nested paging, but neither of those make a difference. > Try removing the IDE controller in the guest and replace it with the > SATA controller. Tried that, no dice. From quartz at sneakertech.com Tue Jun 30 10:04:05 2015 From: quartz at sneakertech.com (Quartz) Date: Tue, 30 Jun 2015 06:04:03 -0400 Subject: Can't install freebsd inside virtualbox, glacially slow In-Reply-To: <559267C9.9010108@sneakertech.com> References: <55925B9B.2090503@sneakertech.com> <559267C9.9010108@sneakertech.com> Message-ID: <55926993.9040800@sneakertech.com> >> Maybe you need to enable hardware virtualisation support in the host. > > It's on by default and I don't have the option to disable it. Or, rather, my version of virtualbox doesn't let me disable VT-x/AMD-V when using a 64bit guest OS. From quartz at sneakertech.com Tue Jun 30 10:24:52 2015 From: quartz at sneakertech.com (Quartz) Date: Tue, 30 Jun 2015 06:24:50 -0400 Subject: Can't install freebsd inside virtualbox, glacially slow In-Reply-To: <55925B9B.2090503@sneakertech.com> References: <55925B9B.2090503@sneakertech.com> Message-ID: <55926E72.5080706@sneakertech.com> > I can't seem to get the 10.1 installer to work under virtualbox, > everything is so slow it's completely unusable. The dvd image takes > upwards of a minute to even draw the opening ascii menu, and attempting > to boot the kernel just sits there forever. If I convert the memstick > img into a vdi and boot from that, I just get the "spinning slash" > forever (it doesn't even get to the menu). I've tried the 'set > vfs.unmapped_buf_allowed=0' trick, tried changing vb's chipset from > PIIX3 to ICH9, tried changing the number of CPUs and ram and everything, > but no dice. Anyone have any ideas? Nevermind, it's fixed. The virtualbox I was using claimed it was still the most recent version, but manually checking virtualbox.org revealed that this was a lie. Updating mostly fixed the slowness issue (It's still not as fast as my other guest OSs, but it's at least it's usable now). From fluca1978 at infinito.it Tue Jun 30 11:20:39 2015 From: fluca1978 at infinito.it (Luca Ferrari) Date: Tue, 30 Jun 2015 13:20:37 +0200 Subject: Can't install freebsd inside virtualbox, glacially slow In-Reply-To: <55926E72.5080706@sneakertech.com> References: <55925B9B.2090503@sneakertech.com> <55926E72.5080706@sneakertech.com> Message-ID: On Tue, Jun 30, 2015 at 12:24 PM, Quartz wrote: > Nevermind, it's fixed. The virtualbox I was using claimed it was still the > most recent version, but manually checking virtualbox.org revealed that this > was a lie. Updating mostly fixed the slowness issue (It's still not as fast > as my other guest OSs, but it's at least it's usable now). > Just for the record: I'm running a virtual box 4.3.26 on linux 64 bit, and have a FreeBSD machine with 512 MB of ram that is running fine. I think that we should compare some diagnostic data for a better understanding of where the problem lies. Luca From a at jenisch.at Tue Jun 30 11:54:10 2015 From: a at jenisch.at (Ewald Jenisch) Date: Tue, 30 Jun 2015 13:53:03 +0200 Subject: Mix'n'match between packages an ports? Message-ID: <20150630115303.GA1331@aurora.oekb.co.at> Hi, Having run FreeBSD for some years historically I used the "build from source"-method in order to install/upgrade ports - i.e. "make && make install" and "portupgrade" respectively. Since the package system has gotten much better of the years, I decided to go for the binary way of installing/upgrading on recent installations, i.e. "pkg ...". Now on one of these recent machines I've got to install a port that needs some configuration when building, so installing that particular program from source would be better. Here's my question: Is a "mix and match" between binary and source-installation (pkg.. vs. "make / portupgrade") possible on the same machine, or is it one or the other? Any experience with that? Caveats any? Thanks much in advance for your help, -ewald From freebsd at edvax.de Tue Jun 30 12:01:30 2015 From: freebsd at edvax.de (Polytropon) Date: Tue, 30 Jun 2015 14:01:18 +0200 Subject: Mix'n'match between packages an ports? In-Reply-To: <20150630115303.GA1331@aurora.oekb.co.at> References: <20150630115303.GA1331@aurora.oekb.co.at> Message-ID: <20150630140118.b6cb5381.freebsd@edvax.de> On Tue, 30 Jun 2015 13:53:03 +0200, Ewald Jenisch wrote: > Here's my question: Is a "mix and match" between binary and > source-installation (pkg.. vs. "make / portupgrade") possible on the > same machine, or is it one or the other? > > Any experience with that? Caveats any? I suggest you make yourself familiar with Poudriere. It's a convenient way to build your own packages (from source) and then installing them with pkg (i. e., having your own package repository where dealing with custom compile-time options is much easier). https://www.freebsd.org/doc/handbook/ports-poudriere.html https://www.freebsd.org/cgi/man.cgi?query=poudriere&apropos=0&sektion=0&manpath=FreeBSD+9.2-RELEASE+and+Ports&arch=default&format=html Of course if you just need very few packages to compile from source, using portmaster or portupgrade is still possible. However, it might be neccessary to do the "lock / unlock" action with pkg on the course of updating. It's important to pay attention here - a custom package might be updated with a binary one with different options (as the binary packages are being built with the default options set by the maintainer). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From steve at sohara.org Tue Jun 30 12:27:37 2015 From: steve at sohara.org (Steve O'Hara-Smith) Date: Tue, 30 Jun 2015 13:27:25 +0100 Subject: Mix'n'match between packages an ports? In-Reply-To: <20150630115303.GA1331@aurora.oekb.co.at> References: <20150630115303.GA1331@aurora.oekb.co.at> Message-ID: <20150630132725.e3ab60f2ac8b1d3e4662a535@sohara.org> On Tue, 30 Jun 2015 13:53:03 +0200 Ewald Jenisch wrote: > Hi, > > Having run FreeBSD for some years historically I used the "build from > source"-method in order to install/upgrade ports - i.e. "make && make > install" and "portupgrade" respectively. > > Since the package system has gotten much better of the years, I > decided to go for the binary way of installing/upgrading on recent > installations, i.e. "pkg ...". Now on one of these recent machines > I've got to install a port that needs some configuration when > building, so installing that particular program from source would be > better. > > Here's my question: Is a "mix and match" between binary and > source-installation (pkg.. vs. "make / portupgrade") possible on the > same machine, or is it one or the other? No it is perfectly possible (I have a few ports where I need different options to the pre-built packagess). It is important to use pkg lock to prevent pkg upgrade from replacing your carefully built version (yes I found this out the hard way). It is also useful to run make missing in the port and pkg install as many of the dependencies as possible to avoid building them. One catch is that a pkg upgrade may require you to rebuild the port if a dependency has changed shared lib version on you - so it helps to test your ports after a pkg upgrade. An alternative is to set up poudriere and a local web server and roll your own packages, but that involves you in building everything which is a pain if you use things like LibreOffice or even Firefox. I did this for a while before realising that I was doing all this build work for the sake of a handful of customisations. -- Steve O'Hara-Smith From aberg010 at my.hennepintech.edu Tue Jun 30 12:52:16 2015 From: aberg010 at my.hennepintech.edu (Andrew Berg) Date: Tue, 30 Jun 2015 07:51:58 -0500 Subject: Mix'n'match between packages an ports? In-Reply-To: <20150630115303.GA1331@aurora.oekb.co.at> References: <20150630115303.GA1331@aurora.oekb.co.at> Message-ID: <559290EE.8030305@my.hennepintech.edu> On 2015.06.30 06:53, Ewald Jenisch wrote: > Here's my question: Is a "mix and match" between binary and > source-installation (pkg.. vs. "make / portupgrade") possible on the > same machine, or is it one or the other? There is no difference at all between the two, especially since staging in ports became mandatory. Using ports directly builds a package and then installs it. Problems occur when packages are built from different ports trees, however. I highly recommend Poudriere (as others have mentioned) for creating your own repo, since this will give you full control and stability, and will allow a consistent, shareable set of packages for multiple machines that will all have the options you want. Of course, this will require building all your own packages, and Poudriere likes to be more conservative than the underlying ports tools, and will rebuild packages even if they may not strictly need to be rebuilt. If you feel that you must only build some packages yourself and use the official FreeBSD repo (or any other repo that you do not control) for others, you *must* keep your own tree in sync with it when upgrading. This is even more complicated now that the official repo is not updated on a schedule, but rather is updated as soon as the last build run is completed. This approach requires more care and work in order to be stable, so I do not recommend it. From wblock at wonkity.com Tue Jun 30 13:47:41 2015 From: wblock at wonkity.com (Warren Block) Date: Tue, 30 Jun 2015 07:47:36 -0600 (MDT) Subject: Can't install freebsd inside virtualbox, glacially slow In-Reply-To: <55926E72.5080706@sneakertech.com> References: <55925B9B.2090503@sneakertech.com> <55926E72.5080706@sneakertech.com> Message-ID: On Tue, 30 Jun 2015, Quartz wrote: > >> I can't seem to get the 10.1 installer to work under virtualbox, >> everything is so slow it's completely unusable. The dvd image takes >> upwards of a minute to even draw the opening ascii menu, and attempting >> to boot the kernel just sits there forever. If I convert the memstick >> img into a vdi and boot from that, I just get the "spinning slash" >> forever (it doesn't even get to the menu). I've tried the 'set >> vfs.unmapped_buf_allowed=0' trick, tried changing vb's chipset from >> PIIX3 to ICH9, tried changing the number of CPUs and ram and everything, >> but no dice. Anyone have any ideas? > > Nevermind, it's fixed. The virtualbox I was using claimed it was still the > most recent version, but manually checking virtualbox.org revealed that this > was a lie. Updating mostly fixed the slowness issue (It's still not as fast > as my other guest OSs, but it's at least it's usable now). Make sure virtualbox-ose-kmod has been rebuilt after the host OS has been updated. From ml at netfence.it Tue Jun 30 14:23:20 2015 From: ml at netfence.it (Andrea Venturoli) Date: Tue, 30 Jun 2015 16:23:02 +0200 Subject: KeySpan USB to Serial Message-ID: <5592A646.40905@netfence.it> Hello. I've already found a thread with a negative answer to my question, but it's years old and maybe some progress was made... Is it possible to use a Keyspan usb/serial adapter on FreeBSD? > # usbconfig > ... > ugen1.4: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) I tried every driver I could think of but it's always detected as ugen... bye & Thanks av. From mike at sentex.net Tue Jun 30 14:50:18 2015 From: mike at sentex.net (Mike Tancsa) Date: Tue, 30 Jun 2015 10:49:52 -0400 Subject: KeySpan USB to Serial In-Reply-To: <5592A646.40905@netfence.it> References: <5592A646.40905@netfence.it> Message-ID: <5592AC90.1090007@sentex.net> On 6/30/2015 10:23 AM, Andrea Venturoli wrote: > Hello. > > I've already found a thread with a negative answer to my question, but > it's years old and maybe some progress was made... > > Is it possible to use a Keyspan usb/serial adapter on FreeBSD? > >> # usbconfig >> ... >> ugen1.4: at usbus1, cfg=0 md=HOST >> spd=FULL (12Mbps) pwr=ON (100mA) > > I tried every driver I could think of but it's always detected as ugen... Looking through the source, usbdevs:vendor KEYSPAN 0x06cd Keyspan / InnoSys Inc. usbdevs:product KEYSPAN USA19QW_NF 0x0118 USA-19WQ serial Adapter (no firmware) there are definitions for them, but I dont see reference to them in the serial usb section of the source code :( So I am guessing no on RELENG_10 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike at sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From ml at netfence.it Tue Jun 30 15:14:26 2015 From: ml at netfence.it (Andrea Venturoli) Date: Tue, 30 Jun 2015 17:14:02 +0200 Subject: KeySpan USB to Serial In-Reply-To: <5592AC90.1090007@sentex.net> References: <5592A646.40905@netfence.it> <5592AC90.1090007@sentex.net> Message-ID: <5592B23A.9000100@netfence.it> On 06/30/15 16:49, Mike Tancsa wrote: > Looking through the source, > > usbdevs:vendor KEYSPAN 0x06cd Keyspan / InnoSys Inc. > usbdevs:product KEYSPAN USA19QW_NF 0x0118 USA-19WQ serial Adapter > (no firmware) > > there are definitions for them, but I dont see reference to them in the > serial usb section of the source code :( So I am guessing no on RELENG_10 Had seen this... I hoped for something not in src (i.e. port or something not imported yet). Thanks anyway av. From paul at kraus-haus.org Tue Jun 30 15:49:14 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Tue, 30 Jun 2015 11:49:03 -0400 Subject: Install OS from UDF for VBox Message-ID: <7EE5DEAF-9A83-4C13-BDA5-83910F195AEF@kraus-haus.org> Apologies if this is an answered question, but searching both online and my copies of this list have turned up nothing useful. I am running a number of VBox environments under FBSD and need to be able to install various OSes from ISO images that are UDF not 9660+extensions. The specific ones I am running up against right now include: Ubunutu 14.04 LTS Server Windows 8.1 Pro Windows Server 2012 R2 I am running FBSD 10.1 as current as possible for both OS and ports. VBox tosses an error when I try to add the ISO image to the ?CD? drive. The error is VERR_NOT_SUPPORTED and my research has led me to the conclusion that the problem is that these are UDF format ISO?s (so that they may contain files larger than 2 GB). I also cannot mount the ISO under FBSD using mount_udf, so they are a newer version of UDF than mount_udf supports. I assume this is the crux of the issue VBox is having, the underlying OS does not have support for this version of the UDF spec. Am I missing something obvious, like a port to add that support (I tried sysutils/udfclient with no luck as well), or is this just a feature that has not been added to FBSD (yet) ? -- Paul Kraus paul at kraus-haus.org From jmc-freebsd2 at milibyte.co.uk Tue Jun 30 17:01:34 2015 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue, 30 Jun 2015 18:01:27 +0100 Subject: Mix'n'match between packages an ports? In-Reply-To: <20150630115303.GA1331@aurora.oekb.co.at> References: <20150630115303.GA1331@aurora.oekb.co.at> Message-ID: <20150630180127.30b5c124@curlew.lan> On Tue, 30 Jun 2015 13:53:03 +0200 Ewald Jenisch wrote: > Here's my question: Is a "mix and match" between binary and > source-installation (pkg.. vs. "make / portupgrade") possible on the > same machine, or is it one or the other? It can be done, but with care. I currently have 2 ports which need building from source due to needing non-standard configuration and 2 more which aren't available as packages. As others have suggested poudriere is one way to go. I have tried this and it's certainly an excellent product but for my case, where only a very small number of ports required building from source, it was rather like using a sledgehammer to crack a nut. It's important that you keep your ports tree in step with the FreeBSD repositories and, as has already been said, it can be a bit more complicated now that the packages aren't built on a fixed schedule. The solution is to use Reed Cartwright's sync-ports script . This will obtain revision information from the relevant build server and use svnlite to update your ports tree to match the same version. My updating procedure is as follows: pkg lock -l # To check that the ports you build from source are # locked - lock them if not. sync-ports. make -C /usr/ports index pkg updating | less # To check for possible issues. pkg upgrade pkg version -vIL= # If any of your locally built ports need updating they will show up here # If one of your ports needs rebuilding run pkg unlock the_port_name portmaster the_port_name pkg lock the_port_name By upgrading packages before attempting to rebuild any ports you ensure that all dependencies will be up to date and you won't need to build any of them unless the new version has acquired any new dependencies since the last upgrade. The same procedure applies for ports which aren't available as packages, except that you don't need to bother about locking them. I've been using this procedure for over 3 months now and not had any problems. -- Mike Clarke From paul at kraus-haus.org Tue Jun 30 17:26:48 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Tue, 30 Jun 2015 13:21:04 -0400 Subject: Install OS from UDF for VBox In-Reply-To: <7EE5DEAF-9A83-4C13-BDA5-83910F195AEF@kraus-haus.org> References: <7EE5DEAF-9A83-4C13-BDA5-83910F195AEF@kraus-haus.org> Message-ID: <15549383-5FB0-4C7C-A041-84D1F2EE0C24@kraus-haus.org> An additional bit of info ? if I put the DVD in the drive and use the VBox passthrough driver I can install from the DVD. I do not have DVD drives on all the host systems though. On Jun 30, 2015, at 11:49, Paul Kraus wrote: > Apologies if this is an answered question, but searching both online and my copies of this list have turned up nothing useful. > > I am running a number of VBox environments under FBSD and need to be able to install various OSes from ISO images that are UDF not 9660+extensions. The specific ones I am running up against right now include: > > Ubunutu 14.04 LTS Server > Windows 8.1 Pro > Windows Server 2012 R2 > > I am running FBSD 10.1 as current as possible for both OS and ports. > > VBox tosses an error when I try to add the ISO image to the ?CD? drive. The error is VERR_NOT_SUPPORTED and my research has led me to the conclusion that the problem is that these are UDF format ISO?s (so that they may contain files larger than 2 GB). I also cannot mount the ISO under FBSD using mount_udf, so they are a newer version of UDF than mount_udf supports. I assume this is the crux of the issue VBox is having, the underlying OS does not have support for this version of the UDF spec. > > Am I missing something obvious, like a port to add that support (I tried sysutils/udfclient with no luck as well), or is this just a feature that has not been added to FBSD (yet) ? > > -- > Paul Kraus > paul at kraus-haus.org > -- Paul Kraus paul at kraus-haus.org From freebsd-questions-local at be-well.ilk.org Tue Jun 30 18:02:13 2015 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 30 Jun 2015 14:02:06 -0400 Subject: Install OS from UDF for VBox In-Reply-To: <15549383-5FB0-4C7C-A041-84D1F2EE0C24@kraus-haus.org> (Paul Kraus's message of "Tue, 30 Jun 2015 13:21:04 -0400") References: <7EE5DEAF-9A83-4C13-BDA5-83910F195AEF@kraus-haus.org> <15549383-5FB0-4C7C-A041-84D1F2EE0C24@kraus-haus.org> Message-ID: <441tgtjcrl.fsf@be-well.ilk.org> Paul Kraus writes: > An additional bit of info ? if I put the DVD in the drive and use the > VBox passthrough driver I can install from the DVD. I do not have DVD > drives on all the host systems though. Have you tried md(4)? Something like "mdconfig -a -t vnode -f udf-image-file" should do it. > On Jun 30, 2015, at 11:49, Paul Kraus wrote: > >> Apologies if this is an answered question, but searching both online and my copies of this list have turned up nothing useful. >> >> I am running a number of VBox environments under FBSD and need to be >> able to install various OSes from ISO images that are UDF not >> 9660+extensions. The specific ones I am running up against right now >> include: >> >> Ubunutu 14.04 LTS Server >> Windows 8.1 Pro >> Windows Server 2012 R2 >> >> I am running FBSD 10.1 as current as possible for both OS and ports. >> >> VBox tosses an error when I try to add the ISO image to the ?CD? >> drive. The error is VERR_NOT_SUPPORTED and my research has led me to >> the conclusion that the problem is that these are UDF format ISO?s >> (so that they may contain files larger than 2 GB). I also cannot >> mount the ISO under FBSD using mount_udf, so they are a newer >> version of UDF than mount_udf supports. I assume this is the crux of >> the issue VBox is having, the underlying OS does not have support >> for this version of the UDF spec. >> >> Am I missing something obvious, like a port to add that support (I >> tried sysutils/udfclient with no luck as well), or is this just a >> feature that has not been added to FBSD (yet) ? >> >> -- >> Paul Kraus >> paul at kraus-haus.org >> > > -- > Paul Kraus > paul at kraus-haus.org > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From paul at kraus-haus.org Tue Jun 30 18:42:31 2015 From: paul at kraus-haus.org (Paul Kraus) Date: Tue, 30 Jun 2015 14:42:20 -0400 Subject: Install OS from UDF for VBox In-Reply-To: <441tgtjcrl.fsf@be-well.ilk.org> References: <7EE5DEAF-9A83-4C13-BDA5-83910F195AEF@kraus-haus.org> <15549383-5FB0-4C7C-A041-84D1F2EE0C24@kraus-haus.org> <441tgtjcrl.fsf@be-well.ilk.org> Message-ID: On Jun 30, 2015, at 14:02, Lowell Gilbert wrote: > Paul Kraus writes: > >> An additional bit of info ? if I put the DVD in the drive and use the >> VBox passthrough driver I can install from the DVD. I do not have DVD >> drives on all the host systems though. > > Have you tried md(4)? > > Something like "mdconfig -a -t vnode -f udf-image-file" should do it. Yup, tried that. I found the forum thread that included this solution but it did not work. The VM did not find the boot block on the VMDK of the md of the ISO image. -- Paul Kraus paul at kraus-haus.org From naddy at mips.inka.de Tue Jun 30 19:05:09 2015 From: naddy at mips.inka.de (Christian Weisgerber) Date: Tue, 30 Jun 2015 19:00:17 +0000 (UTC) Subject: Sendmail: SMTP auth and smart host? References: <20150629062540.GA1359@fbsdvm1.naber.dom> Message-ID: On 2015-06-29, Bj?rn Heidotting wrote: > Do you have support for SMTP-AUTH compiled into sendmail? > > Check with: sendmail -d0.1 -bv postmaster | grep -i sasl No, I'm using the stock FreeBSD 10 sendmail, so I don't have SASL support compiled in. I was under the impression that SASL support was only required for server side SMTP authentication, but looking over src/contrib/sendmail/src/usersmtp.c I see that I was mistaken. Well, that explains it. Pity that this requires a port. > I also have the following in my .mc file: > > FEATURE(`authinfo', `hash /etc/mail/auth/client-info')dnl As far as I can tell, FEATURE(authinfo) only splits out the client side authentication information into a separate map. Otherwise, you can just put it into the access database, assuming you have FEATURE(access_db). -- Christian "naddy" Weisgerber naddy at mips.inka.de